Commit Graph

1612 Commits

Author SHA1 Message Date
Andrew McCreight
199fcfca97 Bug 873111 - Statically enforce root/child phase separation in cycle collector graph building. r=smaug 2013-05-20 13:08:11 -07:00
Derrick Moser
e63f66826d Bug 872497 - Remove problematic "optimization" in NS_QuickSort. r=jlebar
This change allows us to avoid O(n^2) performance when partially sorted data
is given to NS_QuickSort.  We no longer attempt an insertion sort if the input
appears pre-sorted.  This brings the expected performance back to O(n*log(n))
but also eliminates the possibility of O(n) best case performance.  Attempts
to achieve O(n) performance should be the responsibility of callers as they
are in a better position to evaluate the costs/benefit trade-off of looking
for special cases that can be sorted quicker.
2013-05-18 15:16:02 -04:00
Andrew McCreight
8765722e58 Bug 865320 - Move the logic for deciding when to doing a merging CC into the cycle collector. r=smaug 2013-04-29 16:41:41 -07:00
Vasil Dimov
793356fe8f Bug 860827 - Move TEMP_FAILURE_RETRY to FileUtils.h and rename it. r=tbsaunde 2013-05-09 13:42:12 -04:00
Aaron Klotz
389f03a05c Bug 857830: Part 1 - Ensure that ReadAheadFile's aOutFd is always set when provided. r=glandium
--HG--
extra : rebase_source : 8961f16a817a65325b356bd700b29665969f391c
2013-05-07 00:06:14 -06:00
Dave Hylands
a6b2e561da Bug 867769 - NS_MakeRandomString generates the same string when called twice within the same second. r=bsmedberg 2013-05-02 14:50:11 -07:00
Andrew McCreight
f8f443ed5c Bug 798165 - Make nsTimeout more of a real cycle collected class. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
3c9c388be6 Bug 866151 - Clean up usage of nsCycleCollector.h and nsCycleCollectorUtils.h. r=smaug,bsmedberg
--HG--
rename : xpcom/base/nsCycleCollector.h => xpcom/glue/nsCycleCollectionJSRuntime.h
2013-04-30 10:41:22 -07:00
Aryeh Gregor
f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
2223e977f2 Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan 2013-04-21 14:56:06 +03:00
Ehsan Akhgari
a254b1fcac Bug 865550 - Unlink AudioBufferSourceNode members before AudioNode; r=mccr8 2013-04-25 16:52:52 -04:00
Vasil Dimov
4636e9c5d7 Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-23 13:55:46 -04:00
Ryan VanderMeulen
1ca44fd0f1 Backed out changeset a945d76d4e4e (bug 860827) for Windows bustage on a CLOSED TREE. 2013-04-18 09:09:00 -04:00
Vasil Dimov
be88bc3e9f Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-18 08:20:01 -04:00
Sudheera Palihakkara
4704d8b6c1 Bug 327598 - Set the return value of RemoveElementAt to void instead of bool. r=Neil 2013-04-18 07:40:09 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Joshua Cranmer
c8f20f3eb1 Bug 856108 - Port static analyses to clang, part 2f: use MOZ_STACK_CLASS in xpcom. r=bsmedberg 2013-04-11 22:21:40 -05:00
Trevor Saunders
369e88fcc0 bug 856790 - make nsTArray::EnsureLengthAtleast() return void r=jlebar 2013-04-01 16:42:54 -04:00
Boris Zbarsky
94ecd538e8 Bug 857645. Make it possible to copy-initialize an nsCOMPtr<T> from an already_AddRefed<U> as long as U inherits from T. r=ehsan 2013-04-03 22:33:34 -04:00
ISHIKAWA, Chiaki
c792f58f70 Bug 857640 - Fix to IntentionalCrash.h when getenv(XPCOM_MEM_BLOAT_LOG) returns NULL. r=bsmedberg 2013-04-08 14:35:31 -04:00
Ehsan Akhgari
b0d7171a54 Bug 856455 - Make nsCOMArray::SetCapacity return void; r=bsmedberg
--HG--
extra : rebase_source : 38cdef904f9b7fc33bd3f41bd19b1778dfbd7990
2013-03-31 16:06:18 -04:00
Andrew McCreight
5afce95861 Bug 856313 - Clean up some Traverse/Unlink declarations. r=smaug 2013-04-02 09:48:59 -07:00
Phil Ringnalda
f827800026 Back out 8396d7543197 (bug 857645) for build bustage
CLOSED TREE
2013-04-04 22:27:19 -07:00
Boris Zbarsky
0611604263 Bug 857645. Make it possible to copy-initialize an nsCOMPtr<T> from an already_AddRefed<U> as long as U inherits from T. r=ehsan 2013-04-05 00:57:39 -04:00
Kyle Huey
315c8e8757 Bug 849654: Kill nsRefPtrHashtableMT. r=bsmedberg 2013-04-03 09:54:35 -07:00
Kyle Huey
ba85fa63ae Bug 855804: Add hashtable helpers for cycle collection. r=bz 2013-04-03 09:49:17 -07:00
Trevor Saunders
b81241eb2d bug 856696 - make nsTArray::SwapElements() return void r=jlebar 2013-04-01 13:43:34 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Ehsan Akhgari
bc5d923a5a Bug 853548 - Make nsTArray::SetCapacity and InfallibleTArray::SetCapacity return void; r=jlebar 2013-03-21 15:02:20 -04:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Vasil Dimov
02a2ed38cd Bug 819016 - Create some helper functions for reading /sys files. r=bsmedberg 2013-03-27 11:19:09 -04:00
Mike Hommey
347a7c2d09 Bug 852950 - Kill libxpcom. r=bsmedberg
Also refactored the xpcom standalone glue to reside in a single file and
removed its use of realpath().

--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Hommey
8cf8cff7ce Backout changeset f12e5c87adf6 (bug 852950) because it breaks running from dist/bin 2013-03-20 23:59:45 +01:00
Mike Hommey
fa1c295631 Bug 852950 - Kill libxpcom. r=bsmedberg
--HG--
rename : xpcom/stub/dependentlibs.py => toolkit/library/dependentlibs.py
rename : xpcom/stub/nsXPComStub.cpp => xpcom/build/FrozenFunctions.cpp
2013-03-20 14:56:41 +01:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Trevor Saunders
37866632e6 bug 852379 - remove unneeded prlock.h includes r=Ms2ger 2013-03-16 22:46:40 -04:00
Ms2ger
669cc4360c Bug 845374 - Part r: Stop including nsTArray.h in nsReadableUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Ms2ger
232bc31859 Bug 845374 - Part a: Sort includes and forward declarations in nsContentUtils.{h,cpp}; r=khuey 2013-03-17 08:55:08 +01:00
Daniel Holbert
aa087f4637 Bug 849086: Remove unused *_CLASSNAME defines. r=bsmedberg 2013-03-15 10:52:10 -07:00
Bobby Holley
3f63f9be43 Bug 850054 - Add opt-out for strict checking in nsMainThreadPtrHolder. r=bsmedberg 2013-03-15 10:41:48 -07:00
Bobby Holley
92cb5f0f8b Bug 850054 - Do some more work on nsMainThreadPtrHandle. r=bsmedberg 2013-03-15 10:41:48 -07:00
Kyle Huey
1489f79285 Bug 714453: Make pldhash assertions fatal. r=dbaron 2013-03-14 09:24:52 -07:00
Kyle Huey
00a79ec7f1 Bug 849654: Kill nsDataHashtableMT. r=bsmedberg 2013-03-12 14:26:57 -07:00
Kyle Huey
c969fba3bb Bug 849654: Kill nsClassHashtableMT. r=bsmedberg 2013-03-12 13:33:40 -07:00
Trevor Saunders
8a25067bd3 bug 846619 - add some static checking for use of _INHERITED cc class macros r=smaug 2013-02-28 18:11:18 -05:00
Aaron Klotz
04680280aa Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-03 18:56:03 -07:00
Aaron Klotz
f698145c72 Backed out a40244b87c7a (bug 845907) 2013-03-02 17:08:05 -07:00
Aaron Klotz
87b5759171 Bug 845907: Adds generic ReadAhead functions r=glandium 2013-03-02 16:13:38 -07:00
Gregory Szorc
e1b210ddf6 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00