Ms2ger
45a72b59e3
Bug 896385 - Use nsInterfaceHashtable for nsXBLPrototypeBinding::mInterfaceTable; r=mrbkap
2013-07-24 09:39:56 +02:00
Ryan VanderMeulen
9a1a3a0658
Merge m-c to inbound on a CLOSED TREE.
2013-07-23 16:14:26 -04:00
Viral Wang
3ef8873243
Bug 890144 - Add copedCloseFile to reduce memory leak. r=jlebar
2013-07-23 08:30:55 -04:00
Arnaud Sourioux
38d6c0d455
Bug 883360 - Remove bool operator and nsMainThreadPtrHolder conversion. r=bsmedberg
2013-07-19 12:53:12 -04:00
Ryan VanderMeulen
d2482ea688
Backed out 5 changesets (bug 882543) for crashtest orange on a CLOSED TREE.
...
Backed out changeset b36516aab389 (bug 882543)
Backed out changeset 07550003a24a (bug 882543)
Backed out changeset f4045c40afb4 (bug 882543)
Backed out changeset 1b87e0bd2858 (bug 882543)
Backed out changeset 8d76a3440800 (bug 882543)
2013-07-19 12:00:48 -04:00
Paul Adenot
63bc0bcbc6
Bug 882543 - Retain storage for media streams accross iterations instead of reallocating. r=jlebar,roc
2013-07-19 16:40:56 +02:00
Ehsan Akhgari
192bc42d5e
Bug 895141 - Remove useless prlong.h inclusions from the tree; r=jcranmer
2013-07-18 12:06:38 -04:00
Benoit Girard
41b1df67ba
Bug 838803 - Remove HAVE_STDCALL to work around clang bug. r=glandium
...
--HG--
extra : rebase_source : e1cdb524a4f7f0742f2051e5915e5e21db4c0423
2013-07-16 22:01:50 -04:00
Joshua Cranmer
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Joshua Cranmer
1a6dffc73f
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
...
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
2013-07-18 21:31:26 -05:00
Joshua Cranmer
c0c97c389f
Bug 884061 - Part 2: Add NS_DECL_THREADSAFE_ISUPPORTS, r=jlebar.
...
--HG--
extra : rebase_source : 70514a7fc7760cadf8608e038d686ad5b2542571
2013-07-13 20:28:54 -05:00
Joshua Cranmer
96bb0c3a50
Bug 884061 - Part 1: Use mozilla::Atomic in NS_DECL_INLINE_THREADSAFE_REFCOUNTING, r=jlebar
...
--HG--
extra : rebase_source : a3a987a2a4a52603e0461f40396cca06b6cbe989
2013-07-13 20:18:03 -05:00
Mike Hommey
d01870f66f
Bug 892401 - Remove NEW_H. r=ted
2013-07-12 09:16:41 +09:00
Ryan VanderMeulen
d806e1e244
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Olli Pettay
b002b30b2a
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Ms2ger
1a40020bdd
Bug 213324 - Remove getter_AddRefs(T*); r=ehsan
2013-07-10 11:56:21 +02:00
Steve Workman
881c09835a
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-07-08 18:45:26 -07:00
Emanuel Hoogeveen
e32590ca0d
Bug 890714 - Fix mixed line endings. r=joe, r=jesup
2013-07-08 16:33:15 -04:00
Trevor Saunders
4fda35a773
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Masatoshi Kimura
1a9e38cc24
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Kyle Huey
ab927a2cc9
Bug 885866: Separate deferred finalization from XPConnect so we can use it off the main thread. r=mccr8, peterv, bsmedberg, jorendorff
2013-07-09 07:28:15 -07:00
Ryan VanderMeulen
1d99822149
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
c9b73ddb89
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
Joey Armstrong
250777fa49
bug 883350: move SDK_HEADERS to mozbuild (file batch #1 ) r=mshal
2013-07-01 17:24:53 -04:00
Catalin Iacob
8f3a2a0c69
Bug 798914 (part 6) - Followup: move MemoryReporting.h include after the cpp's own header include. r=njn.
2013-06-30 18:26:39 +02:00
Justin Lebar
3e059c7221
Bug 820686 - Remove code after MOZ_CRASH or MOZ_ASSUME_NOT_REACHED. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=waldo for js
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
2013-06-28 18:38:32 -07:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
David Zbarsky
14195d6497
Remove some null-checks due to infallible new, no bug, r=me
2013-06-26 14:04:13 -07:00
Catalin Iacob
6f4758d23e
Bug 798914 (part 5) - Use newly introduced mozilla::MallocSizeOf instead of nsMallocSizeOfFun. r=njn.
...
--HG--
extra : rebase_source : fc472490dd978d165f02f77ed37f07aed6e5bb61
2013-06-23 14:03:39 +02:00
Nicholas Nethercote
7ee9d34222
Bug 884649 (part 2) - Remove jsdhash.{h,cpp}. r=luke.
2013-06-19 16:57:11 -07:00
Brian O'Keefe
11bcc1cd9e
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Chris Peterson
febd752e5f
Bug 883729 - Fix -Wnull-conversion warnings in xpcom. r=bsmedberg
2013-06-13 20:57:47 -07:00
Kyle Huey
66fb46a26e
Bug 882162: Part 9 - Kill nsCycleCollectionJSRuntime. r=mccr8
2013-06-18 12:02:16 -07:00
Kyle Huey
a57dbb3230
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-18 12:01:26 -07:00
Jon Coppeard
a30b14261f
Bug 877762 - GC: Post-barrier cycle collector participants - 7 Convert most JSObect to use Heap<T> (ex. XBL) r=bz
2013-06-18 11:00:38 +01:00
Jon Coppeard
b028ce34ad
Bug 877762 - GC: Post-barrier cycle collector participants - 6 Convert jsid and JS::String to use Heap<T> r=smaug
2013-06-18 11:00:38 +01:00
Jon Coppeard
5b896f6665
Bug 877762 - GC: Post-barrier cycle collector participants - 5 Convert JS::Value to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Jon Coppeard
76fb4b825c
Bug 877762 - GC: Post-barrier cycle collector participants - 4 Convert JSScript* to use Heap<T> r=smaug
2013-06-18 11:00:37 +01:00
Jon Coppeard
ee376bf1fa
Bug 877762 - GC: Post-barrier cycle collector participants - 3 Add hashtable type that stores Heap<T> values r=jlebar
2013-06-18 11:00:37 +01:00
Jon Coppeard
82a8b49403
Bug 877762 - GC: Post-barrier cycle collector participants - 2 Stop nsTArray memmoving Heap<T>s r=jlebar r=bz
2013-06-18 11:00:37 +01:00
Ryan VanderMeulen
adb213ed89
Backed out 4 changesets (bug 497003) for intermittent OSX crashes.
...
Backed out changeset 43223a927976 (bug 497003)
Backed out changeset 26c1d80edf1f (bug 497003)
Backed out changeset 841ed173ba2b (bug 497003)
Backed out changeset f70770fc6dce (bug 497003)
2013-06-17 15:44:07 -04:00
Mike Shal
7fd6f5b4f1
Bug 882738 - Remove SRCS_IN_OBJDIR from Makefile.in; r=joey
...
From a071ba8cffdd4584b3cd31eae207e5b76b9e9c95 Mon Sep 17 00:00:00 2001
2013-06-13 13:49:01 -04:00
Steve Workman
895826d5ed
Bug 497003 - Support delivery of OnDataAvailable on the HTML5 parser thread r=hsivonen r=bholley r=bz
2013-06-13 10:42:48 -07:00
Benoit Girard
0d44f34246
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 862c39b9145328c8e9f85ae9d1963af374af76f1
2013-03-11 14:47:40 -04:00
Ed Morley
3bf60a9f11
Backed out changeset 2864e2610800 (bug 877584) for causing bug 881266
2013-06-11 16:11:14 +01:00
Kyle Huey
bbf045f825
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-09 16:02:02 -07:00
Kyle Huey
3c18bb93bd
Back out bug 877584 on this CLOSED TREE.
2013-06-06 10:49:09 -07:00
Kyle Huey
a983f728ac
Bug 877584: Route JS holding through the cycle collection runtime so it can do different things on different threads. r=mccr8
2013-06-06 10:23:45 -07:00
Trevor Saunders
0dc1f9fb7f
bug 877850 - fix static constructors in xpcom/ r=jlebar
2013-05-30 17:20:02 -04:00
Andrew McCreight
41063b6447
Bug 875557 - Make nsDeque infallible by default. r=bsmedberg
...
Also remove some unused return values.
2013-05-28 16:57:54 -07:00
Phil Ringnalda
4aec020413
Back out dc76402b8471 (bug 844288) on suspicion of breaking dep builds
...
CLOSED TREE
2013-05-31 07:39:56 -07:00
Benoit Girard
908b9e495b
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 5b9be0892323195d4e24f11ae785f0663ff38fd0
2013-03-11 14:47:40 -04:00
Phil Ringnalda
ad4c150cb3
Back out 816311e43409 (bug 844288) on suspicion of causing dep OS X universal builds to fail in packaging
...
CLOSED TREE
2013-05-29 23:42:20 -07:00
Benoit Girard
397d220ef5
Bug 844288 - Dual link libxul.so and libxul-unit.so and replace enable-gtest by enable-test r=ted,glandium
...
- Remove enable GTest
- Add a general target to create gtestxul
- Update mach target
- Run GTest from make check
--HG--
rename : gfx/2d/unittest/GTestMain.cpp => gfx/tests/gtest/TestMoz2D.cpp
rename : gfx/layers/TestTiledLayerBuffer.cpp => gfx/tests/gtest/TestTiledLayerBuffer.cpp
extra : rebase_source : 04c9c2efbc7db1c04c121cf3022612b488f83eb4
2013-03-11 14:47:40 -04:00
Andrew McCreight
60ea412b96
Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug
2013-05-21 16:23:53 -07:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Jon Coppeard
a07d2309af
Bug 874691 - Make CC participant tracing indirect r=mccr8 r=smaug r=bz
2013-05-27 12:50:49 +01:00
Phil Ringnalda
24157c7636
Merge m-c to a CLOSED TREE m-i
2013-05-25 20:44:02 -07:00
Phil Ringnalda
ffb2b400a4
Bug 876159 - Remove warnings that overflow maximum log size in CC-during-OOM cases, r=mccr8 CLOSED TREE
2013-05-25 14:40:09 -07:00
Justin Lebar
8d14a63fba
Bug 832609 - Add mozilla::OffTheBooksMutex, which is just like mozilla::Mutex, except it's not leak-checked. r=khuey
...
--HG--
extra : rebase_source : 2c06334a5db4c8b57c9a3480a83e543dd98a9b20
2013-05-24 13:10:47 -04:00
Aryeh Gregor
52b3c9c146
Bug 859817 - Eliminate implicit conversion from raw pointer to already_AddRefed; r=bz sr=bsmedberg
2013-04-10 17:22:53 +03:00
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
Gregory Szorc
0c8ee65118
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Gregory Szorc
8958bacc6e
Bug 784841 - Part 18ν: Convert /xpcom; f=Ms2ger rs=ted
2013-02-25 13:20:02 -08:00
Trevor Saunders
a0b7e3dddf
bug 842078 - fix iteration of mChildrenList r=smaug
2013-02-20 16:33:44 -05:00
Cykesiopka
a6f26d5dad
Bug 267598 - Fix some comments and arg names in nsISupportsUtils.h. r=bsmedberg
2013-02-27 09:23:54 -05:00
Peter Van der Beken
c1b3c1ac36
Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
...
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Kyle Huey
8db92146c6
Bug 845441: Remove DEBUG_CC. r=mccr8
2013-02-26 13:34:32 -08:00
Justin Lebar
c84199fbeb
Bug 844820 - Fix two benign races in nsTArray around sEmptyHdr. a=bz
2013-02-26 11:24:41 -05:00
Trevor Saunders
b4afc9c2a4
bug 834894 - remove NS_IMPL_CYCLE_COLLECTION_NATIVE_x macros r=mccr8
2013-01-16 23:36:02 -05:00
Boris Zbarsky
e4fca1d362
Bug 618479 part 1. Clean up the nsTArray binary-insert code a little bit. r=jlebar,kinetik
2013-02-13 10:11:53 -05:00
Chris Peterson
cbe66ccea3
Bug 839962 - Part 1: Replace some XPCOM refcount NS_ASSERTIONs with MOZ_ASSERTs. r=bsmedberg
2013-02-07 20:50:05 -08:00
Jeff Walden
39b56d89e1
Rename the |static const bool result| member of IsSame, IsPod, and IsPointer to |value| to be consistent with every other type trait. I have no idea how I managed to consistently not notice this during review. Followup to bug 723228, r=typo
2013-02-08 22:59:54 -08:00
Razvan Cojocaru
c8372e3fae
Bug 723228 - nsTArray::AssignRange should use memcpy when possible. r=jlebar for the XPCOM changes, r=jwalden for js/mfbt changes
...
--HG--
extra : rebase_source : 2442a0d29ae0fa7edd0312d980cbc270a4f33134
2013-02-08 13:18:49 -08:00
Trevor Saunders
f2693fa74a
bug 838565 - cc taf and nsFind r=smaug
2013-01-31 18:46:24 -05:00
Neil Rashbrook
72e7888f8b
Bug 493711 Provide an nsTArray-like API for nsCOMArray r=sicking
2013-02-04 22:05:40 +00:00
Benoit Jacob
1c56f62bda
Bug 832831 - Make NS_ASSERT_OWNINGTHREAD_AND_NOT_CCTHREAD fatal - r=khuey
2013-01-25 13:40:38 -05:00
Trevor Saunders
83bcbe0d6b
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
5f5d30eb5b
Bug 786533 - Replace NS_MIN/NS_MAX in xpcom/ with XPCOM_MIN/XPCOM_MAX to prevent accidental use. r=ehsan
2013-01-15 13:22:03 +01:00
Trevor Saunders
0f94b545d6
bug 829288 - fix a bunch of mingw warnings in xpcom/ r=ehsan
2013-01-10 03:39:40 -05:00
Benoit Girard
cd64937ac7
Bug 761135 - Remove XPCOMGlueShutdown. r=benjamin
2013-01-07 16:19:39 -05:00
Mike Habicher
ce7b34cf68
Bug 827841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar
2013-01-08 13:40:18 -05:00
Mike Habicher
3692f83bae
backing out bug 827841 patch to fix comment
2013-01-10 01:44:18 +01:00
Mike Habicher
4d67018cf9
Bug 828502 - let nsMainThreadPtrHandle::get() handle nullptrs; r=bholley
2013-01-09 18:58:29 -05:00
Mike Habicher
f1f068a595
Bug 872841 - don't proxy-release null pointers in nsMainThreadPtrHolder; r=jlebar
...
--HG--
extra : rebase_source : 508d22c611725379192a90d8381f61aaa3d3ba97
2013-01-08 13:40:18 -05:00
Mike Habicher
d8fab14395
Bug 827857 - make NS_ProxyRelease() handle null pointers properly; r=jlebar
2013-01-08 13:34:49 -05:00
Boris Zbarsky
c6fbb501b4
Bug 827654. Actually QI to interfaces we implement in nsCancelableRunnable. r=smaug
2013-01-08 09:01:30 -05:00
Mike Habicher
0dc7293229
Bug 827679 - add return value to nsMainThreadPtrHandle::operator=; r=bholley
2013-01-07 23:09:19 -05:00
Mohit Gahlot
f1333eedc8
Bug 818106 Fix: ScopedClose now considers errno EINTR.r=dhylands
2013-01-04 08:16:47 +05:30
Trevor Saunders
801c9b79ba
bug 822717 - remove checks for old gcc r=glandium
2012-12-18 13:22:28 -05:00
Mark Banner
0527db678b
Bug 823940 Remove unused nsAutoVoidArray, and cleanup nsVoidArray's support for it. r=bsmedberg.
2012-12-22 09:00:15 +00:00
Neil Rashbrook
4b6c2be10c
Bug 493711 Part 1b: remove transitive nsVoidArray dependence through nsCOMArray r=sicking
2012-12-21 10:09:50 +00:00
Neil Rashbrook
6ced98692d
Bug 493711 Part 1: switch nsCOMArray from nsVoidArray to nsTArray r=sicking
2012-12-19 21:33:54 +00:00
Justin Lebar
be3b9d9bca
Bug 819791 - Part 11: Make nsTArray and friends' copy constructors explicit. r=bz
2012-12-18 20:16:07 -05:00
Justin Lebar
e73a12f35f
Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
...
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Justin Lebar
3ff706b49a
Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz
2012-12-18 20:16:06 -05:00
Boris Zbarsky
6efc316628
Bug 819523 part 1. Make it possible to use the various-allocator nsTArrays interchangeably as long as you're working with const objects. r=jlebar
2012-12-18 20:16:05 -05:00
Trevor Saunders
0179193261
bug 819215 - make NS_IMPL_CYCLE_COLLECTION_XXXCLASS unnecessary r=smaug, mccr8
2012-12-08 00:08:37 -05:00
Gabriele Svelto
ba62bce29e
Bug 814771 - Add a cancelable runnable and use it to cancel a pending memory minimization procedure when an application is brought to the foreground r=jlebar
2012-12-11 19:13:29 +01:00
Boris Zbarsky
3adcd6d60f
Bug 815671 part 10. Make nsTArray constructors explicit. r=jlebar
2012-11-29 11:14:14 -05:00
Boris Zbarsky
7d463ea49d
Bug 815671 part 9. Fix hashtables to take a UserDataType reference on put, so that putting an array works. r=bsmedberg
2012-11-29 11:14:14 -05:00
Andrew McCreight
9a4a704d26
Bug 815397 - Clean up Accessibility cycle collector definitions. r=smaug
2012-11-28 16:05:04 -08:00
Mats Palmgren
d2cf571387
Bug 816162 - Add newline at end of file to fix compile warning. r=mccr8
2012-11-28 19:55:36 +01:00
Andrew McCreight
ead425b3e0
Bug 814453 - Eliminate NS_IMPL_CYCLE_COLLECTION_UNLINK_NATIVE_0 and NS_IMPL_CYCLE_COLLECTION_TRACE_NATIVE_BEGIN. r=smaug
2012-11-23 11:27:06 -08:00
Andrew McCreight
ed24acb94f
Bug 814738 - Modernize Traverse for nsTObserverArray. r=smaug
2012-11-23 11:13:39 -08:00
Andrew McCreight
d4c5256e4c
Bug 807713 - add warning comment for nsTObserverArray::ElementAt. r=sicking
2012-11-23 10:50:05 -08:00
Ehsan Akhgari
ff815b3cdc
Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky
2012-11-20 19:19:53 -05:00
Ed Morley
5aec97aa38
Backout 231cce402e46, 383b6031c417, 8a518d6c8b60 & 4f55f76e34ee (bug 813438) for bustage
2012-11-22 17:49:58 +00:00
Benoit Jacob
3d8cbb81ad
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Ehsan Akhgari
e5022e988f
Bug 813438 - Part 1: Implement NS_SniffContent; r=bzbarsky
2012-11-20 19:19:53 -05:00
Benoit Jacob
f5eae0f15f
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 2: handmade fixups - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
986ee1a065
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Benoit Jacob
10ffb47d44
Bug 811212 - Make most cycle collector assertions fatal - r=mccr8
2012-11-15 02:32:39 -05:00
Benoit Jacob
46600b2a31
Bug 806279 - CC macros refactoring: part 4: update CC helper macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
7cc7c472e5
Bug 806279 - CC macros refactoring: part 3: fold the TRAVERSE_NATIVE and AMBIGUOUS cases - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
06bfb63973
Bug 806279 - CC macros refactoring: part 2: generic BEGIN_ macros folding in the NATIVE case - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Benoit Jacob
6d7beedec6
Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug
2012-11-15 02:32:39 -05:00
Daniel Holbert
29cceb7819
Bug 808146: Declare nsMainThreadPtrHolder as MOZ_FINAL, to fix -Wdelete-non-virtual-dtor build-warning-spam. r=bholley
2012-11-02 21:07:19 -07:00
Andrew McCreight
2b4ddeae6f
Bug 807713 - add operator[] for nsTObserverArray. r=bsmedberg
2012-11-02 17:57:05 -07:00
Andrew Quartey
d21a5d8004
Bug 792581 - part 23: Replace LL_INIT and LL_UDIVMOD macros. r=ehsan
2012-11-01 20:57:25 -04:00
Jacek Szpot
761b11160f
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Magnus Melin
b6a685870c
Bug 804664 - remove typedef nsAutoCString nsCAutoString. r=benjamin
2012-10-23 20:53:15 +03:00
Abhishek Potnis
ad50b9e765
Bug 795511: Removed usages of PR_BIT and PR_BITMASK from the tree; r=ehsan
2012-10-20 07:31:43 +05:30
Brian Smith
9a21ea4912
Bug 794510: Part 6 - Fixups needed to build on Windows and Android and Mac OS X debug, plus shorten comment to be less than 80 columns; r=ehsan
2012-10-18 15:55:48 -04:00
Bill McCloskey
151b2aba2f
Bug 798678 - Add weakmap key preservation support to cycle collector (r=mccr8)
2012-10-17 18:22:46 -07:00
Andrew Quartey
00edc52f9c
Bug 792581 - part 19: Replace LL_I2L macro with int64_t cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
8191e9c8c1
Bug 792581 - part 18: Replace LL_L2D macro with double cast. r=ehsan
2012-10-12 13:29:11 -04:00
Andrew Quartey
ea5e17dc9c
Bug 792581 - part 15: Replace LL_L2I macro with int32_t cast. r=ehsan
2012-10-12 13:29:10 -04:00
William Chen
1e6c1fa4b2
Bug 798065 - Fix integer underflow in nsTArray::LastIndexOf. r=cjones
2012-10-04 15:23:41 -07:00
Andrew Quartey
b95bb9276c
Bug 792581 - part 8: Replace LL_NEG macro with negation. r=ehsan
2012-10-05 01:05:27 -04:00
Jeff Muizelaar
ac8fdf1333
Bug 792954. Add a WeakPtr implementation to use instead of nsISupportsWeakReference. r=joe,ehsan,Waldo
...
This patch also replaces the usage of nsISupportsWeakReference in RasterImage as an example.
--HG--
extra : rebase_source : ac6a039dcc3227a04ac4c2221f38856bb308c695
2012-10-04 15:45:07 -04:00
Andrew Quartey
dbfbcb197b
Bug 792581 - part 4: Replace LL_GE_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:19 -04:00
Andrew Quartey
816b3752e7
Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan
2012-10-03 10:13:18 -04:00
Nathan Froyd
2a14d9b274
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Nathan Froyd
413535eb4a
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Nathan Froyd
d84d3e02dd
Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan
2012-10-01 17:04:37 -04:00
Mounir Lamouri
30cf3fce2c
Bug 795703 - Do not assert when calling do_GetWeakReference() on a nsISupport not capable of that. r=smaug,dougt
2012-10-03 10:38:46 +01:00
Ehsan Akhgari
a7ce3ce7ca
Bug 792649 - Make the simplest of Web Audio tests work without audio playback for now; r=bzbarsky
2012-09-24 23:31:58 -04:00
Ehsan Akhgari
bd2885b68c
Backout changeset 9e38c5518605, fc59bd8d49ba, d0ba1abde985, and acf91f25f228 (bugs 796119, 796279, and 797106) because of broken reftests on 64-bit platforms
2012-10-02 23:16:36 -04:00
Nathan Froyd
c2fddb8f07
Bug 796119 - part 2: don't #include prtypes.h in xpcom/ unless absolutely necessary; r=ehsan
...
"absolutely necessary" in this context means "needs PRUnichar", which is
the reason that nsString.h now #includes prtypes.h.
2012-10-01 17:01:01 -04:00
Nathan Froyd
d229c75d1c
Bug 796279 - remove remaining PR_MAX instances from the tree; r=ehsan
...
We can't use NS_MAX or std::max because we lack uniform constexpr
support across our supported compilers. But we can do a simple inline
max ourselves.
2012-10-01 20:38:21 -04:00
Nathan Froyd
8559ddb87a
Bug 796119 - part 1: don't use PR_BIT in pldhash.h; r=ehsan
2012-10-01 17:04:37 -04:00
Ms2ger
b138fe0e97
Bug 792379 - Don't include prtypes.h in base/basictypes.h; r=cjones
2012-10-02 10:24:12 +02:00
Isaac Aggrey
00ccc3bc2e
Bug 795507: Remove usage of PR_BEGIN_EXTERN_C and PR_END_EXTERN_C; r=ehsan
2012-09-30 21:10:22 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
35bc9a72e8
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Makoto Kato
3acf1dcf48
Bug 786579 - Remove old MSVC (<=2003) support. r=khuey
2012-09-28 16:02:40 +09:00
Boris Zbarsky
96e28c8dd5
Bug 793253. Infallible TArrays should really be infallible. r=jlebar
2012-09-22 22:04:54 -04:00
Kyle Huey
0482dbb617
Bug 753659: Make refcounting threadsafety assertions fatal. r=bsmedberg
2012-09-22 12:45:44 -07:00
Daniel Holbert
43cce6d052
Bug 792634: Give nsDequeFunctor a virtual destructor. r=bsmedberg
2012-09-21 11:27:27 -07:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00