Commit Graph

12550 Commits

Author SHA1 Message Date
Aaron Klotz
cd70c9eed0 Bug 1005748: Add basic UNC support to NtPathToDosPath; r=ehsan
--HG--
extra : rebase_source : 78c56f036a705c624721c705c51b1c4a0aefcdc0
2014-05-12 13:32:28 -06:00
Neil Rashbrook
5b3f3e053a Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-11 10:47:11 +01:00
Andrew McCreight
904bc7080b Bug 972605, part 3 - Make nsErrorService use a modern hash table. r=froydnj 2014-05-09 13:47:37 -07:00
Andrew McCreight
067ab8c161 Bug 972605, part 2 - Inline nsInt2StrHashtable. r=froydnj
Also clean up the style a little.
2014-05-09 13:47:36 -07:00
Andrew McCreight
a0a5973239 Bug 972605, part 1 - Rename nsErrorService arguments to aFoo form. r=froydnj 2014-05-09 13:47:36 -07:00
Daniel Holbert
e0b68d72ad Bug 1008322: Guard webspeech-specific parts of ShimInterfaceInfo.cpp to fix --disable-webspeech builds. r=ehsan 2014-05-09 11:34:36 -07:00
Daniel Holbert
2ae93a0154 Bug 1008083: Guard variable 'kTelemetryPrefName' with the same ifdef that its usages are guarded by. r=ehsan 2014-05-09 10:55:29 -07:00
Benoit Girard
7e6ec54552 Bug 1004899 - Add stderr to profile output. r=ehsan
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Andrew McCreight
ab3dbb5a7a Bug 999575 - Add an already_AddRefed<> Put method for nsRefPtrHashtable. r=froydnj 2014-05-09 09:49:52 -07:00
Chris Peterson
a490f2c4db Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley 2014-05-07 19:53:49 -07:00
Benoit Jacob
60d536773a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Ehsan Akhgari
2a17f4a547 Bug 994964 follow-up: fix --disable-webrtc builds; rs=jesup 2014-05-08 18:39:12 -04:00
Igor Kolupaev
89db128641 Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg 2014-05-07 23:03:41 +03:00
Ehsan Akhgari
903bfdef6e Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley 2014-05-08 16:45:36 -04:00
Neil Rashbrook
fac8c73779 Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE 2014-05-08 20:35:09 +01:00
Neil Rashbrook
5b1f7b4a77 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Andrew McCreight
cb5234676d Bug 1005500 - Use a separate linear scan pass to mark nodes white in ScanRoots. r=smaug
The existing code for ScanRoots looks at all traversal roots in the graph,
and floods white or black from them. This can take up a large chunk of the
Scan/Unlink slice of ICC, maybe because graph traversal has poor locality.

Outside of a leak, the cycle collector graph is usually only large when
there is a lot of garbage (95% or more of the graph), so we want to
speed up white marking.

To do this, I add a new pass that scans every node and directly sets the
color of any node that should be white, without flooding. This is very
fast. Then a second pass floods black from any remaining grey nodes.

On the page close CC for a real page, I measured a 10x improvement in
ScanRoots() time with this algorithm, from 3ms to 0.3ms.
2014-05-08 11:28:03 -07:00
Jonathan Watt
932496b546 Bug 590790 part 2 - Add memory reporter for VectorImage's SVGDocumentWrapper's document. r=dholbert, r=njn, r=seth 2014-05-08 10:53:00 +01:00
Chris Peterson
857a5028db Bug 1006998 - Fix -Wdeprecated-writable-strings warnings by const-correcting typelib/xpt code. r=bholley 2014-05-05 21:40:06 -07:00
Ryan VanderMeulen
54c1cb7bbc Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs). 2014-05-07 17:03:03 -04:00
Nicolas Silva
c69668e0fa Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
b3c3ae76f7 Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
bce5cf3347 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro 2014-05-07 11:06:19 +02:00
Andrew McCreight
7076cd497f Bug 1005975 - Define FloodBlackNode as a convenience function. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
d72a4c8977 Bug 1006635, part 2 - Add more Checkpoints to the cycle collector. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
b65df16afa Bug 1006635, part 1 - Make TimeLog use doubles and reduce the threshold. r=smaug 2014-05-06 17:25:27 -07:00
Andrew McCreight
f5a7b92cdc Bug 1005232 - Log number of incremental cycle collector slices. r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
0b5a958dcb Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug 2014-05-06 17:25:26 -07:00
Andrew McCreight
b89c24ee20 Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug 2014-05-06 17:25:26 -07:00
Carsten "Tomcat" Book
5f4008d9b9 merge b2g-inbound to mozilla-central 2014-05-06 14:33:21 +02:00
Ed Morley
cf9791d39b Fix incorrect resolution of merge conflicts between bug 995730 and bug 1001542 (no bug; CLOSED TREE)
--HG--
extra : amend_source : 5b90e13f8f3a7419e26acee6e483855bdd8c3558
2014-05-06 09:00:06 +01:00
Wes Kocher
f0482d7b52 Merge m-c to b2g-inbound 2014-05-05 21:19:59 -07:00
Ehsan Akhgari
a43f82250d Bug 1005321 follow-up: fix the link error on Windows 2014-05-05 20:39:46 -04:00
Ehsan Akhgari
a418e24ebc Bug 1005321 - Convert the xpt code to C++; r=bholley
--HG--
rename : xpcom/typelib/xpt/src/xpt_arena.c => xpcom/typelib/xpt/src/xpt_arena.cpp
rename : xpcom/typelib/xpt/src/xpt_struct.c => xpcom/typelib/xpt/src/xpt_struct.cpp
rename : xpcom/typelib/xpt/src/xpt_xdr.c => xpcom/typelib/xpt/src/xpt_xdr.cpp
rename : xpcom/typelib/xpt/tests/PrimitiveTest.c => xpcom/typelib/xpt/tests/PrimitiveTest.cpp
rename : xpcom/typelib/xpt/tests/SimpleTypeLib.c => xpcom/typelib/xpt/tests/SimpleTypeLib.cpp
2014-05-05 19:52:09 -04:00
Eric Rahm
047f25416e Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Dave Hylands
6957a858ae Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info. 2014-05-05 15:24:58 -07:00
Bruce Sun
3e7ae5a454 Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus 2014-05-05 12:22:16 +08:00
Jim Blandy
bc756c3da1 Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus 2014-05-02 11:32:23 -07:00
Eric Rahm
41bcb2678a Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn 2014-04-25 13:00:15 -07:00
Ryan VanderMeulen
2825c84a5b Backed out changeset 83d914c3431d (bug 999473) for Linux mochitest-other failures. 2014-05-01 16:45:21 -04:00
Birunthan Mohanathas
bb0fa6ae4c Bug 995730 - Change xpcom/string/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:46 +03:00
Birunthan Mohanathas
51bcf8d525 Bug 995730 - Change xpcom/io/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Birunthan Mohanathas
8f4f3e6fea Bug 995730 - Change xpcom/base/ to use 2 space indentation
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Eric Rahm
7659250728 Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn 2014-04-25 13:00:15 -07:00
Nathan Froyd
0039ca477f Bug 1003306 - part 1 - add PermissionManager/nsIPermissionManager to ServicesList.h; r=bsmedberg 2014-04-29 13:27:02 -04:00
Nathan Froyd
211a1492ea Bug 1003297 - part 2 - tidy up refcount management in mozilla::services::Get*; r=bsmedberg 2014-04-29 11:59:45 -04:00
Nathan Froyd
0f1bab5974 Bug 1003297 - part 1 - don't try to return XPCOM services from mozilla::services getters post-XPCOM shutdown; r=bsmedberg 2014-04-29 11:51:14 -04:00
Ryan VanderMeulen
f95958fce0 Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
CLOSED TREE
2014-04-30 13:21:07 -04:00
Nicolas Silva
9eb41cadc6 Bug 924622 - Change the #include order of ImageBridge headers in nsXPCOMInit.cpp to avoid macro name collision on some platforms. 2014-04-30 17:43:09 +02:00
Nicolas Silva
2e2e95a471 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-30 17:39:59 +02:00