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