Koosha Khajeh Moogahi
8d39310f18
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Gian-Carlo Pascutto
1f28a937d6
Bug 791301 - Generic fallocate code is broken for files smaller than system block size. r=taras
2012-09-17 13:27:24 +02:00
SADINENI RAVI CHANDRA
fceb849816
Bug 720804: Remove unused variables dolPt and fmt from nsTextFormatter.cpp. r=bsmedberg
2012-09-10 23:52:52 -07:00
Ryan VanderMeulen
7e47e6b4fd
Merge inbound to m-c.
2012-09-08 21:10:36 -04:00
Ehsan Akhgari
a3cd30e16e
Bug 789711 - #include mozilla/StandardInteger.h instead of stdint.h to fix building with MSVC9 and lower; r=me
2012-09-08 14:44:33 -04:00
Olli Pettay
6e4f7ab3ea
Bug 784563 - Investigate being lazier about removing things from the purple buffer, r=mccr8
2012-09-08 13:46:48 +03:00
Ehsan Akhgari
c87c3701f1
Bug 788014 - Part 2: Reduce the inclusion of prtypes.h in the tree to help using stdint types; r=jrmuizel
...
--HG--
extra : rebase_source : 66b3b6b9858fb032bebcc070347f781bdf61770c
2012-09-06 17:54:59 -04:00
Ehsan Akhgari
1a43a4f098
Backout changeset f18c63c99be6 (bug 789257) for breaking the builds
2012-09-06 18:47:19 -04:00
Ehsan Akhgari
c30bfea585
Bug 789257 - Remove some unneeded includes on Windows; r=bbondy
2012-09-06 18:12:45 -04:00
Edwin Flores
dc41f19ddc
Bug 719286 - Add float hash key type r=roc
2012-09-06 16:58:46 +12:00
Randell Jesup
e9226b67de
Bug 773151: provide back-compatibility for external API code using nsCAutoString CLOSED TREE r=bsmedberg
2012-07-14 00:01:09 -04:00
Randell Jesup
eedf93a21d
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Luqman Aden
cbf3f0b1fd
Bug 786008 - Add a debug check to make sure that QueryInterface implementations always handle nsISupports; r=ehsan
2012-08-28 12:33:47 -04:00
Andrew McCreight
3f6c58c43d
Bug 749366 - Remove mostly bogus size arg from CC callbacks. r=smaug
2012-08-27 10:41:04 -07:00
Andrew McCreight
62325fa9f3
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Andrew McCreight
8a3dddeebf
Bug 750570, part 3 - Remove unused stabilizeForDeletion argument. r=smaug
...
This argument isn't used, and would have to have its type changed
to support native purple buffer participants, so we just remove it.
2012-08-24 09:50:06 -07:00
Andrew McCreight
018c2b4d42
Bug 750570, part 2 - Add purple buffer support for non-nsISupports classes. r=smaug
...
We add a new field to purple buffer entries, to store the participant for
non-nsISupports classes. For nsISupports, we store NULL instead. The participant
has to be passed into Suspect2.
In the cycle collector itself, we generalize canonicalization to handle the
possibility that we can just grab the participant directly from a field,
rather than needing to QI something.
Most of the patch is just routing around this extra pointer.
2012-08-24 09:50:06 -07:00
Andrew McCreight
49d8c9be16
Bug 750570, part 1 - lift UnmarkIfPurple to the root CC participant. r=glandium,smaug
...
All CC classes are potentially cycle collectable, so we need
to implement this function on the participant for all CC classes.
2012-08-24 09:50:06 -07:00
Ehsan Akhgari
0fd9123eac
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Gian-Carlo Pascutto
bb1c70d0fd
Bug 779687 - Add detection for ARMv7 CPUs. r=dougt
2012-08-21 13:20:46 +02:00
Aryeh Gregor
0923bf00ef
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Ms2ger
a10183dff5
Bug 780387 - Part e: Stop using PRSize; r=bsmedberg
2012-08-09 09:10:11 +02:00
Ms2ger
3f950b5744
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Ms2ger
5a4f28eb7b
Bug 780387 - Part a: Stop using PRPtrdiff; r=bsmedberg
2012-08-09 09:09:31 +02:00
Mike Hommey
6173fa297f
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Nathan Froyd
997e90b432
Bug 778220 - remove $(wildcard *.$(OBJ_SUFFIX)) calls from xpcom Makefiles; r=glandium
2012-07-27 14:15:01 -04:00
Aryeh Gregor
e806eeab4f
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Brian R. Bondy
15bce0f2b8
Bug 773518 - Platform code for lowering IO prioritization. r=bsmedberg
2012-07-25 10:25:08 -04:00
Joshua Cranmer
4b8f318e78
Bug 773637 - Kill NS_SCRIPTABLE annotations, Part 1: Remove NS_*PARAM annotations. r=ehsan
...
--HG--
extra : rebase_source : a0b4bc50fece36d9a90fed61431635948bfa33b5
2012-07-06 15:14:07 -05:00
Aryeh Gregor
e57dd159b2
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Mike Hommey
112c562b7e
Bug 775424 - Make cycle collection vtables rodata. r=smaug
2012-07-23 07:42:23 +02:00
Bobby Holley
adf15fef3a
Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg
2012-07-13 16:47:14 +02:00
Bobby Holley
c7179fd232
Backed out changeset 784d3448dfe3 (Bug 771074) for windows bustage. a=me
2012-07-13 15:10:40 +02:00
Bobby Holley
1faf926668
Bug 771074 - Introduce pointer wrapping mechanism for hold references to pointers off-main-thread. r=bsmedberg
2012-07-13 14:54:45 +02:00
Bobby Holley
1a88142535
Bug 763343 - Handle classinfo singletons in cross-compartment wrapping. r=peterv
2012-07-13 14:33:25 +02:00
Aryeh Gregor
fd7f652fe8
Bug 771873 part 2 - Assert on addition overflow in nsTArray::RemoveElementsAt; r=bsmedberg
2012-07-09 11:13:23 +03:00
Ehsan Akhgari
b3a3876f4b
Bug 772738 - Avoid "unused variable 'tmp'" warnings for empty CC traverse method implementations; r=smaug
2012-07-11 00:26:56 -04:00
Ehsan Akhgari
04e53539b4
Backout changeset 34c8a2369cbc (bug 771266) because the fastcall annotation actually matters
2012-07-05 18:19:07 -04:00
Ehsan Akhgari
910d251f2f
Bug 771266 - Part 2: Remove the fastcall annotation from ~nsCOMPtr_base, because it doesn't mean anything now that it's inline; irc-r=Neil
2012-07-05 16:26:59 -04:00
Ehsan Akhgari
32a035f454
Bug 771266 - Inline nsCOMPtr_base's destructor; r=jlebar
2012-07-05 15:12:13 -04:00
Benoit Jacob
b8d40b05f7
Bug 754572 - add option to use fatal assertions in NS_CheckThreadSafe, use it in nsBaseScreen and nsScreenManagerAndroid - r=bsmedberg
2012-07-05 10:32:10 -04:00
Benoit Jacob
9288ac49a4
Bug 754572 - let NS_CheckThreadSafe(x,y) be empty in XPCOM_GLUE case, as opposed to letting it evaluate to (x,y) - r=bz
2012-07-05 10:14:09 -04:00
Ms2ger
9f56b60843
Merge m-c to m-i.
2012-06-30 14:50:23 +02:00
L. David Baron
9e9f3a474a
Back out half of the previous patch for bug 709747, since the nsCOMPtr<nsISupports>::forget(nsISupports**) specialization is substantially different from nsCOMPtr<T>::forget(I**), and uses swap which already does the needed logging.
2012-06-29 22:50:45 -07:00
Kyle Huey
08ad5220dd
Bug 709747: Fix COMPtr logging for .forget(). r=dbaron
2012-06-29 10:10:31 -07:00
Bonnie Surender
e360fa128a
Fixing bug 715041. Add support for Idle API. r=bent, jst
2012-06-29 01:32:21 -07:00
Jonathan Watt
6380335603
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Nathan Froyd
88be55d049
Bug 765326 - atom-table numbers should include the static atom table; r=njn
2012-06-15 15:51:42 -04:00
Oleg Romashin
17448d799e
Bug 767034 - xpcom/glue/arm.cpp:165: error: expected declaration before '}' token. r=derf
2012-06-21 13:01:22 -07:00
Mike Hommey
90d687d851
Merge last PGO green changeset from mozilla-inbound to mozilla-central
2012-06-20 10:53:31 +02:00
Benjamin Smedberg
ea4315c1ff
Bug 755724 Part C - Move ScopedAppData into the XPCOM glue, r=glandium
...
--HG--
rename : toolkit/xre/nsAppData.cpp => toolkit/xre/CreateAppData.cpp
rename : toolkit/xre/nsAppData.cpp => xpcom/glue/AppData.cpp
extra : rebase_source : 6223397345e77b00f14d93a1f188c042fc5f89ea
2012-06-08 08:41:30 -04:00
Mike Hommey
c533a83b6c
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Makoto Kato
f57c383e1f
Bug 763378 - arm detection should have correct define when -mfpu=neon on gcc or on MSVC. r=tterribe
2012-06-19 12:17:43 +09:00
Mike Hommey
311cae060f
Backout changeset a81526647059 and 560c492f81ad (bug 616262) because of Windows Moth perma-orange
2012-06-15 15:50:24 +02:00
Ed Morley
6c0104928c
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-06-15 13:32:55 +01:00
Mike Hommey
988d722ae2
Fixup for bug 616262 to avoid Windows PGO bustage. r=me
2012-06-15 10:49:53 +02:00
Mike Hommey
88257ed076
Bug 616262 - Avoid cycle collection participant global variables adding static initializers. r=smaug,r=mccr8,r=Waldo
2012-06-04 08:30:26 +02:00
Jim Mathies
e13dc80985
Bug 761279 - Temporary work around for a VS 2012 RC compiler crash in nsTArray's Init. r=bsmedberg
2012-06-13 08:37:24 -05:00
Ehsan Akhgari
12418857f6
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (remaining XPCOM parts); r=bsmedberg
...
--HG--
extra : rebase_source : 578d3ab1fefa2f2268069790a6a75db4580991b2
2012-06-12 23:08:53 -04:00
Ehsan Akhgari
ddcea4e3b7
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (XPCOM parts); r=bsmedberg
2012-06-05 19:51:58 -04:00
Honza Bambas
41779e1714
Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium
2012-06-12 19:06:20 +02:00
Andrew McCreight
f4f0e1a935
Bug 754478 - clean up cycle collector JS tracing callbacks. r=bent
2012-05-15 09:56:39 -07:00
Ehsan Akhgari
584af877ce
Bug 737056 - Add some documentation on the mozilla::Version API; r=sparky
...
DONTBUILD
2012-06-07 17:55:46 -04:00
Geoff Lankow
00f3a215c9
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Jacek Caban
d644a5f4a9
Bug 759061 - nsINIParser.cpp fails to compile on mingw r=tabraldes
2012-05-31 16:09:36 +02:00
Cameron McCormack
dc816782b7
Fix a couple of typos in comments. No bug, no review.
2012-05-31 10:32:17 +10:00
Josh Matthews
af8add48b2
Bug 722845 - Part 2: Generalize channel private browsing information to a PB consumer interface. r=jduell
2012-05-24 16:31:54 +01:00
Tim Abraldes
6a9acb3da8
bug 752756. Read UTF-16le and UTF-8 BOMs in nsINIParser on Windows. Add parameter to nsIINIParserWriter::writeFile() specifying the charset of the file (BOM will be written). r=bsmedberg
2012-05-23 10:09:10 -07:00
Jim Mathies
b02ab82aae
Bug 732124 - Fix for crt link errors with VC11 - build glue using both the static and the dynamic runtime lib, and link accordingly for various components. r=ted
2012-05-21 16:31:03 -05:00
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
4f91700da9
Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
...
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Benjamin Smedberg
e663265090
Bug 734847 - Make nsTHashtable and its derivatives be infallible to OOM by default; code which is prepared to handle OOM conditions must use the explicit fallible_t() methods, r=jlebar
...
--HG--
extra : rebase_source : 4acfaa41aa572c570e4627250f2d3ec2e1817e93
2012-05-18 12:42:01 -04:00
Ms2ger
3d92167c95
Bug 754643 - Enable FAIL_ON_WARNINGS in content/media; r=cpearce f=roc
2012-05-18 10:29:38 +02:00
Doug Turner
13bd86f4fd
Bug 742179 - Move MakeRandomString to xpcom/ds. r=bsmedberg
2012-04-05 09:50:55 -07:00
Andrew McCreight
a6b24a3344
Bug 744103, part 3 - Change NoteRoot to NoteJSRoot and NoteNativeRoot. r=smaug
2012-05-03 12:28:11 -07:00
Andrew McCreight
3ac11cfc5b
Bug 744103, part 2 - Change NoteScriptChild to NoteJSChild. r=smaug
2012-05-03 12:28:10 -07:00
Andrew McCreight
a5af270e47
Bug 678615 - remove ExplainLiveExpectedGarbage. r=smaug sr=peterv
2012-04-25 08:10:09 -07:00
Peng Kang
98d1b53def
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 23:22:29 -04:00
Ehsan Akhgari
816e9ddd2e
Backout changeset c3d4c0bdd4bf (bug 737056) for build bustage
2012-04-18 17:05:06 -04:00
Peng Kang
ebc77567f8
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 16:31:59 -04:00
Myk Melez
0e8cb8852d
bug 725408 - implement WebappRT launcher/shell; r=bsmedberg
2012-04-17 07:11:53 -07:00
Mark Capella
1a44f1208f
Bug 740688 - Use uintptr_t instead of PRUword, and intptr_t instead of PRWord. r=jwalden
...
--HG--
extra : rebase_source : 648a581323d2c2893df780f71fe34dadcc4bbaab
2012-04-11 17:17:44 -07:00
David Rajchenbach-Teller
457f40baba
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-12 12:21:24 +02:00
Richard Newman
a89cec83c5
Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage
2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller
5a08b70435
Bug 728171 - Use Scoped.h throughout the code. r=cjones
2012-04-11 18:59:10 +02:00
Mark Capella
38934b4912
Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden
2012-04-02 17:21:24 -07:00
Cameron McCormack
4d99616f04
Bug 739129 - Add LastElement and SafeLastElement functions to nsTArray. r=dbaron
2012-03-27 09:48:25 +11:00
Andrew McCreight
e462a99306
Bug 738769 - only unmark purple if purple. r=smaug
2012-03-26 09:57:29 -07:00
Jonathan Kew
9cc265b3cf
bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn
2012-03-23 12:13:56 +00:00
Nicholas Nethercote
4f8b8a75a5
bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame
2012-03-23 12:13:44 +00:00
Ryan VanderMeulen
68314a3f20
Backout 1152d14294df, 18c70ab50559, dbd51616925a, 730c2e84247f, and 7beb8fd46629 due to perma-hangs on WinXP debug moth. (test_memoryReporters.xul | application timed out after 330 seconds with no output)
2012-03-23 17:04:28 -04:00
Chris Lord
3b90179676
Bug 738740 - Fix handling of parameters in nsTArray::ReplaceElementAt. r=bz
...
Handle the parameters given to ReplaceElementAt the same way as those given to
other methods in the class. This allows removal of the & in GLContext.cpp that
was taking the address of a temporary, and causing a build error when using
clang, or when using GCC with particular parameters.
2012-03-23 19:27:25 +00:00
Jonathan Kew
eeb9fe61aa
bug 737863 - nsBaseHashtable::SizeOfExcludingThis should be declared const. r=njn
2012-03-23 12:13:56 +00:00
Nicholas Nethercote
92e1e95d71
bug 737412 - handle null sizeOfEntryExcludingThis pointer within ns{T,Base}Hashtable SizeOfExcludingThis functions. r=jfkthame
2012-03-23 12:13:44 +00:00
Matias Juntunen
4147eeb698
Bug 617947 - Merge 'class nsQuickSortComparator' into 'nsTArray'. r=bsmedberg
2012-03-21 19:52:24 -04:00
Mounir Lamouri
e1a1b3e2af
Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar
2012-03-19 16:49:39 +01:00
Mark Finkle
c5c1e891ea
Backout 7e28d1a2c648, 330b210f503d, 2421d39e0ab3, aa978ffa44bc, 38a71ae7e06d, b94319584a7a, 7e8278f5e814, 0b4e3c7608ab, 329c07609ca8, 0d61a0d8dba4, Due to Ts regression on Android
2012-03-17 21:51:39 -04:00
Ehsan Akhgari
e6fee3a547
Merge from mozilla-central
2012-03-17 12:32:28 -04:00
Mounir Lamouri
ac0d9d477a
Bug 735778 - Call MOZ_ASSERT if RemoveObserver is called with an observer that is not present. r=jlebar
2012-03-16 19:32:11 +01:00
Kyle Huey
f7749577c7
No Bug: Shut pldhash up for the 'probably' case. rs=bz
2012-03-16 10:09:14 -07:00
Mike Hommey
fa35ae1119
Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron
2012-03-13 09:47:02 +01:00
Mike Hommey
7bf6b46bc7
Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red
2012-03-13 10:29:26 +01:00
Mike Hommey
c6b970eced
Bug 716544 - Fix comparison between signed and unsigned integer expressions in nsStringAPI.h. r=dbaron
2012-03-13 09:47:02 +01:00
Justin Lebar
0dbaf73150
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
...
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Ms2ger
78cef75441
No bug - Remove unused variables origStr from HashString; r=themaid
2012-03-11 09:48:18 +01:00
Nicholas Nethercote
4177b594d3
Bug 729008 - Add memory reporter for FramePropertyTable. r=bz.
...
--HG--
extra : rebase_source : e366cd84d50b5277f9949b340d44190371e753f8
2012-02-20 21:02:24 -08:00
Ed Morley
d27ab2302c
Backout afeafc02c1de, dfae37833c9b & f9f51c726fa7 (bug 729940 parts 1-3) for talos regressions
2012-03-05 15:22:28 +00:00
Justin Lebar
e1a9198917
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 15:58:06 -05:00
Justin Lebar
8f94cc1764
Back out bug 729940 (a108aee:d75775d) due to 32-bit red.
2012-03-04 14:20:34 -05:00
Justin Lebar
169d0f30f5
Bug 729940 - Part 3: Stop using crappy hash functions in Gecko. r=bz
2012-03-04 13:49:42 -05:00
Jesse Ruderman
2fba78bac9
Bug 732607 - make nsTArray assertions fatal. r=bz
2012-03-03 13:16:13 -08:00
Justin Lebar
5816447226
Bug 729952 - Part 2: Use a better hash function in nsCRT, nsTHashtable, and pldhash. r=bz
2012-03-02 17:20:44 -05:00
Nicholas Nethercote
726ecd352b
Bug 723799 - Use mallocSizeOf in the DOM memory reporters. r=mounir.
...
--HG--
extra : rebase_source : 2eb96d2f901bbe4cc1ff6dbccdec4dc4099b08fc
2012-02-01 13:58:01 -08:00
Bas Schouten
eef9d5e504
Bug 725552 - Part 1: Turn MutexAutoLock into a template with specializations. r=cjones
2012-02-16 04:11:34 +01:00
Nathan Froyd
1d38f407e4
Bug 700659 - add a Contains method to nsTHashtable; r=bsmedberg
2012-02-22 06:32:13 -08:00
Brian R. Bondy
fa2a4a39bd
Bug 708690 - Updater enhancements for product information blocks. r=rstrong
2012-02-24 16:29:41 -05:00
Justin Lebar
ab034bbc7b
Bug 729453 - Decrease stack allocation in nsTArray::SwapArrayElements from 8KB to 64B. r=roc
2012-02-22 12:26:21 +01:00
Mike Hommey
097a0cdeaa
Bug 686805 part 7 - Display linker stats on each Startup Timeline event. r=tglek,r=khuey
2012-02-22 08:12:15 +01:00
Andrew McCreight
b6dc584bd7
Bug 727313 - avoid warnings, add case for skippable CC macros. r=smaug
2012-02-15 15:28:42 -08:00
Olli Pettay
49ff9c7a84
Bug 725768 - BBP for ObjectHolders, additional patch 2, r=mccr8
2012-02-13 22:59:14 +02:00
Raúl Porcel
716d1a3a04
Bug 724615 - Fix TARGET_CPU usage on ARM. r=benjamin
2012-02-06 22:44:52 +01:00
Nicholas Nethercote
94884a4fc8
Bug 671299 (part 1) - Add ns{Void,COM}Array::SizeOfExcludingThis(). r=bz.
...
--HG--
extra : rebase_source : 170c6943e985a8bafc4c441918a0e23fd52e15f2
2012-01-02 18:18:26 -08:00
Justin Lebar
71326e2f8d
Bug 719531 - Part 2: Make FallibleTArray use moz_malloc rather than NS_Alloc, because only the former is fallible. r=bsmedberg
...
--HG--
extra : rebase_source : 9259871f86b6fcaa805b0e042c52e10b751acdf5
2012-01-26 12:51:45 -05:00
Nicholas Nethercote
a7ad4ef70e
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
Makoto Kato
612333266f
Bug 717526 - fix warning of nsStringAPI.h on Win64. r=dbaron
2012-01-25 15:43:27 +09:00
Marco Bonardo
13014e7f1c
Bug 718999 - make "You can't dereference a NULL nsCOMPtr" assertions fatal.
...
r=bsmedberg
2012-01-24 20:37:48 +01:00
Olli Pettay
28a7fd7259
Bug 720423 - Add NS_DECL_CYCLE_COLLECTION_SKIPPABLE_SCRIPT_HOLDER_CLASS_INHERITED, r=mccr8
...
--HG--
extra : rebase_source : 91df46f35d3cc2c24462e0373c69e207f65a8bc3
2012-01-23 23:06:58 +01:00
Mike Hommey
b14c077717
Bug 683127 part 6 - Use wrapped dl* functions in the XPCOM standalone glue when building with MOZ_LINKER on Linux. r=bsmedberg
2012-01-20 09:48:44 +01:00
Chris Pearce
c8c9d291eb
Bug 713381 - Add nsDeque::RemoveObjectAt(index). r=bsmedberg
2012-01-20 07:29:38 +13:00
Ted Mielczarek
97af1334dc
bug 706554 - Add nsRefPtrHashKey. r=bsmedberg
2011-11-30 16:30:55 -05:00
Chris Pearce
841966d0b2
Bug Bug 713381 - backout 38271572005b,d5ebbc25b4b8,6435f51dd10d. r=backout
2012-01-19 11:56:54 +13:00
Chris Pearce
ec49433a68
Bug 713381 - Add nsDeque::RemoveObjectAt(index). r=bsmedberg
2012-01-19 09:15:56 +13:00
Olli Pettay
b691b9467a
Bug 718634 - Move CanSkip* to nsCycleCollectionParticipant, r=mccr8
...
--HG--
extra : rebase_source : 7eb8cadf14e2d38d689e74a354d6edee6f7f9d20
2012-01-17 18:32:19 +02:00
Olli Pettay
a194588f7c
Bug 716518 - Add skip* phases to cycle collector, r=mccr8
...
--HG--
extra : rebase_source : c53a42bbbc430384df37d0aeb0d882c09665f672
2012-01-14 18:58:05 +02:00
Vladan Djeric
d6246c346b
Bug 714450 - Mark the DB whitelist in Telemetry immutable after it is initialized. r=benjmain
2012-01-10 15:31:34 -05:00
Michael Kohler
51e15f5815
Bug 711818 - MOZILLA_GUARD_OBJECT_NOTIFIER* should use a MOZ_ prefix to follow MFBT style
2012-01-10 00:29:30 -05:00
Mounir Lamouri
e66f29953f
Bug 716338 - Use FAIL_ON_WARNINGS in content/html/content/src. r=bz
2012-01-09 18:58:30 +01:00
Ed Morley
562d844eab
Backout b02402b95e5c (bug 708277) for build failures on all platforms
2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
168dd4330b
Bug 708277 - Replace PR_MAX with NS_MAX. r=roc
2011-12-22 11:47:59 +01:00
Jeff Walden
9110dc5c3b
Bug 712129 - Implement MOZ_STATIC_ASSERT and MOZ_STATIC_ASSERT_IF. r=luke
2011-12-19 16:58:30 -05:00
Jeff Walden
841701c767
Bug 711647 - Add MOZ_DELETE to a bunch of deliberately-not-implemented methods across the tree. r=dbaron
...
--HG--
extra : rebase_source : 507006c0f099da6851b585d2062267d285978ad7
2011-12-16 14:42:07 -05:00
Jeff Walden
d58b48ade0
Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
...
--HG--
extra : rebase_source : e87978380d0821746e7df78dfacc7e381aefccb3
2011-12-17 22:47:45 -05:00
Matt Brubeck
62cc037b2e
Back out bcf9ce858829 and a3bade82ac92 (bug 711799) for build failures
2011-12-19 10:43:08 -08:00
Jeff Walden
17fa340376
Bug 711799 - Add MOZ_FINAL a bunch of places to silence Clang warnings. r=dbaron
...
--HG--
extra : rebase_source : 8ca811fe7427626e39f677a672986a27829b0feb
2011-12-17 22:47:45 -05:00
Nicholas Nethercote
2e0e818c9a
Bug 697335 - Another memory reporter for the startup cache. r=taras.
2011-12-18 16:20:36 -08:00
Nicholas Nethercote
aa537a9801
Bug 697335 - Add nsBaseHashtable::SizeOfExcludingThis(). r=bz.
2011-12-18 14:39:47 -08:00
Nicholas Nethercote
8f335f567c
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
...
--HG--
extra : rebase_source : d802d58bc7dedda2490878793923adc0ab55f779
2011-12-15 14:59:53 -08:00
Ms2ger
87dae851e7
Bug 709747 - Support nsCOMPtr<T>::forget(I**); r=bsmedberg
2011-12-18 10:39:22 +01:00
Nathan Froyd
79815ed55a
Bug 709205 - use GetObserverService in xpcom; r=dougt
2011-12-09 14:36:17 -05:00
Kyle Huey
9468451f00
Backout Bug 709657 because it doesn't help our problem.
2011-12-14 08:01:49 -05:00
Ehsan Akhgari
a544dace2d
Bug 710473 - Backout the nsDerivedSafe part from bug 666414 to make PGO builds on Windows work again; r=roc (cause he volunteered) a=xul-diet
2011-12-13 20:03:24 -05:00
Kyle Huey
13ed1dd9cb
Bug 709657: Split uconv out of libxul. r=me a=me CLOSED TREE
...
--HG--
rename : intl/uconv/src/Makefile.in => intl/uconv/datamodule/Makefile.in
rename : intl/uconv/src/nsUConvModule.cpp => intl/uconv/datamodule/nsUConvDataModule.cpp
2011-12-13 10:48:16 -05:00
Andrew Quartey
faa8be8d82
Bug 706010 - Remove NS_SPECIALIZE_TEMPLATE and HAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX; r=khuey a=cleanup/removal
2011-12-13 14:17:59 +00:00
Nicholas Nethercote
587382cea2
Bug 705987 - Use mallocSizeOf in the layout memory reporters. r=khuey,bzbarsky
2011-12-08 21:01:52 -08:00
Jeff Walden
3d8e7a0d23
Bug 707352 - Remove NS_FINAL_CLASS completely. r=cjones
2011-12-05 17:10:05 -05:00
Nicholas Nethercote
6c8107ba0c
Bug 704723 - Add memory reporter for XPConnect. r=mrbkap.
2011-12-05 14:24:28 -08:00
Rafael Ávila de Espíndola
c864603bb4
Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
...
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Nicholas Nethercote
f102556f32
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Atul Aggarwal
d0148db44a
Bug 686775 - Matching external API version of StripWhitespace with internal version by adding stripping of \b. r=bsmedberg
2011-11-06 20:22:02 +05:30
Andrew McCreight
46b5e713df
Bug 668855, part 2: add nsCycleCollectionTraversalCallback hook for weak mappings. r=peterv
2011-11-24 07:35:56 -05:00
Jeff Walden
19f38bafe5
Bug 704127 - Implement MOZ_FINAL as a modifier for classes and virtual member functions. r=cjones
...
--HG--
extra : rebase_source : d95a3b3e726f810f299314358ba8c5e23557698e
2011-11-20 22:21:16 -08:00
Kyle Huey
8c6df8a8e6
Fix Bug 700512. r=sicking,bsmedberg
2011-11-18 10:19:44 -05:00
Ms2ger
d2ea6246bf
Bug 672796 - Move MOZILLA_GUARD_OBJECT_NOTIFIER_* out of AutoRestore.h; r=khuey
2011-11-16 08:50:19 +01:00
Gregory Szorc
dd260c7514
Merge b-s to m-c
2011-11-10 15:15:29 -08:00
Justin Lebar
adfe8317b6
Bug 701210 - nsTArray::SizeOf() should use malloc_usable_size. r=roc
2011-11-09 20:40:09 -05:00
Ed Morley
24695badf6
Merge m-c to b-s.
2011-11-08 23:18:09 +00:00
Gregory Szorc
f9737cefa1
Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey
2011-11-01 15:45:23 -07:00
Boris Zbarsky
2872bb50f3
Bug 697917. Avoid atomizing the token for nsDOMTokenList containment tests. r=smaug
2011-10-28 13:06:39 -04:00
Mark Banner
cbd25443a2
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Justin Lebar
0fff20bc7c
Bug 164580 - Back out fix. It's not much (if at all) faster and may cause problems on some architectures. r=glandium
2011-10-16 15:28:36 -04:00
Boris Zbarsky
d9a272bc06
Bug 696195. Add single-argument SafeElementAt specializations for nsTArrays of smart pointers. r=jlebar
2011-10-25 12:58:01 -04:00
Mounir Lamouri
46a1a75dac
Bug 678694 - (5/7) Add a non-XPCOM observer system. sr=cjones
...
This adding an Observer<T> class and an ObserverList<T> class. The former can
get notifications. The later have an array if Observer<T>s and can Broadcast
notifications to them.
2011-11-02 14:47:32 +01:00
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jonathan Kew
36c1dc9fbe
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Justin Lebar
72783f7f69
Bug 682437 - Add memory reporter for History::mObservers. r=bz
...
--HG--
extra : rebase_source : f280a6beefd32319816ff8720f7bf65c04343b1e
2011-09-14 17:37:45 -07:00
Ehsan Akhgari
7e4b277a75
Bug 689397 - Work around the broken-ness of gcc4.2 on Mac which causes the protection implemented in bug 666414 not take effect; r=bsmedberg
2011-09-26 20:45:25 -04:00
Ehsan Akhgari
a1ace9621b
Bug 692782 - Bug 690670 broke clang builds; r=cjones
2011-10-07 15:31:12 -04:00
Justin Lebar
83e3821db7
Bug 689433 - Align nsAutoTArray<E> to E's natural alignment. r=roc
...
--HG--
extra : rebase_source : f7062f251f6905a58145ed6d94680f076dabbef7
2011-10-05 09:11:17 -04:00
Chris Jones
9928eba1eb
Bug 690670, part 0: Add helpers for copy-constructing auto arrays from regular arrays. r=roc
...
--HG--
extra : rebase_source : e586553e4a2cf344f72347e195f42762f0183c99
2011-10-05 15:15:45 -07:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Aditya Bhatt
126fa835f9
Bug 689301 - Compile error in nsTimerImpl.cpp with gcc 4.6.0 on Fedora core 15 x64; r=espindola
2011-09-27 17:11:03 -04:00
Ehsan Akhgari
b542efd4e6
Bug 666414 - Prevent AddRef and Release from being called on the pointers wrapped in nsCOMPtr and nsRefPtr; r=bsmedberg
2011-09-16 16:22:44 -04:00
Justin Lebar
a55182fa93
Bug 687722 - Make swapping two nsAutoTArrays preserve their auto-ness when possible. r=roc
2011-09-22 11:22:20 -04:00
Justin Lebar
75d358b0cd
Bug 685438 - Avoid wasted space in nsTArray_base due to jemalloc rounding up. r=roc
...
--HG--
extra : rebase_source : a7248bd865ffdc8932ee6dcc796cd4e48a5498ab
2011-09-21 00:46:56 -04:00
Atul Aggarwal
89e9702d5f
Bug 685905 - Adding ReplaceElementAt to nsTArray. r=sicking
2011-09-20 21:04:35 +05:30
Ed Morley
dfbe5b23ad
Bug 687342 - Move arm.cpp to ARM ifeq block in xpcom/glue/objs.mk to stop MSVC arm.obj LNK4221 warning; r=khuey
2011-09-20 02:13:08 +01:00
Justin Lebar
087ea9e1a0
Bug 686597 - Add a copy constructor to nsAutoTArray and friends. r=bz
2011-09-15 22:16:14 -07:00
Jacek Caban
6f8d9b5235
Bug 680868 - pldhash.cpp fails to compile on mingw-w64 r=benjamin
2011-09-09 15:07:22 +02:00
Atul Aggarwal
01f1da4a4a
Bug 661962: Remove mostly-unused variable 'rv' from nsINIParser::Init (moving it inside the #ifdef block where it's used). r=bsmedberg
2011-09-01 03:06:26 +05:30
Ed Morley
19a1226d22
Merge last green changeset on m-i to m-c
2011-09-01 08:41:18 +01:00
Oleg Romashin
994208d9c8
Bug 682767 - Warning nsISupportsImpl.h: unused owner; r=bsmedberg
2011-08-31 13:16:13 +01:00
Matheus Kerschbaum
3bcb2143b6
Bug 680625 part 0b: Remove more workarounds for past century compilers. r=ted
2011-08-26 00:35:13 +01:00
Matheus Kerschbaum
887ff1b97a
Bug 678155 - Remove NS_COM. r=bsmedberg
2011-08-18 15:46:39 +02:00
Ehsan Akhgari
e48161b8ff
Bug 677661 - Remove nsTPtrArray and add a SafeElementAt(index_type) API to nsTArray when it's instantiated with a pointer type; r=sicking
2011-08-10 01:36:00 -04:00
Mike Hommey
c06a2320b0
Bug 675618 - Compile pldhash as C++. r=bsmedberg
...
--HG--
rename : xpcom/glue/pldhash.c => xpcom/glue/pldhash.cpp
2011-08-09 09:06:37 +02:00
Rafael Ávila de Espíndola
072904f4bf
Bug 674446 - Add a bit of logging to nsGlueLinkingOSX.cpp; r=glandium
2011-08-08 23:16:23 -04:00
Kyle Huey
ea6fb77663
Bug 674284: Add nsTArray::SizeOf. r=bsmedberg
2011-08-01 14:37:00 -04:00
Kyle Huey
edfd32c652
Backed out changeset 030c419226ed
2011-08-01 08:26:15 -04:00
Kyle Huey
812161b9e1
Bug 674284: Add nsTArray::SizeOf. r=bsmedberg
2011-08-01 08:11:26 -04:00
Chris Pearce
3683db2819
Bug 664341 - Provide API to specify thread stack size. r=bsmedberg
2011-07-27 15:26:47 +12:00