Commit Graph

4886 Commits

Author SHA1 Message Date
Andrew McCreight
1dffbd4c37 Bug 975223, part 2 - Add nsRefPtrHashtable::Remove that also does a Get. r=froydnj 2014-02-24 17:16:10 -08:00
Andrew McCreight
53553af24f Bug 975223, part 1 - Make braces less weird in nsRefPtrHashtable. r=froydnj 2014-02-24 17:16:10 -08:00
L. David Baron
f6e4eec730 Bug 975295 patch 2: Remove the nsITraceRefcnt interface and any instantiation of the nsTraceRefcntImpl object. r=bsmedberg 2014-02-24 15:27:53 -08:00
L. David Baron
de799e0b4f Bug 975295 patch 1: Remove class nsTraceRefcnt, which is unused. r=bsmedberg 2014-02-24 15:27:53 -08:00
L. David Baron
6f9a5e5e60 Bug 939610: Return to printing stack walk addresses in uppercase hexidecimal rather than lowercase, since we have scripts depending on it. r=ted 2014-02-24 15:27:52 -08:00
Terrence Cole
cedc05a6bc Bug 956081 - Fix the CC's GC-has-been-run detection in the presence of GGC; r=mccr8
--HG--
extra : rebase_source : de945b8e2f4972cb8b563f17a95c66cbba86a902
2014-02-20 13:38:32 -08:00
Ehsan Akhgari
f4ddde0564 Bug 935778 - Part 1: Add RefCountType, a type compatible with nsrefcnt, to MFBT; r=dbaron,froydnj 2014-02-21 14:45:50 -05:00
Chris Peterson
62f1c3dc89 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=BenWa r=bsmedberg r=mccr8 2014-02-17 22:10:50 -08:00
Ehsan Akhgari
0f5851acbd Bug 935778 - Part 0.3: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 23:07:24 -05:00
Ehsan Akhgari
8212be10db Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Andrew McCreight
abda47e08d Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug 2014-02-20 14:27:04 -08:00
Andrew McCreight
3764cf8b93 Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug 2014-02-20 14:27:03 -08:00
Andrew McCreight
1327a45957 Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug,njn 2014-02-20 14:27:03 -08:00
Trevor Saunders
89a85e0a36 bug 826481 - mark PrepareAndDispatch() as __attribute__((used)) when building with gcc or clang r=froydnj 2014-01-17 16:17:20 -05:00
Andrew McCreight
57d072a733 Back out bug 712939 for not getting fully reviewed. 2014-02-20 06:40:56 -08:00
Emanuel Hoogeveen
eb4db46127 Bug 971094 - Part 1: During shutdown, tell the profiler that the main thread JSRuntime is gone even if we leak. r=BenWa, r=bholley 2014-02-20 08:43:55 -05:00
Chris Peterson
065c214bf6 Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Andrew McCreight
9ff86c6b97 Backout bug 972940 for valgrind leaks on this CLOSED TREE 2014-02-19 17:20:48 -08:00
Andrew McCreight
1ee530c7ef Backout bug 901597 for valgrind leaks 2014-02-19 17:19:17 -08:00
Andrew McCreight
607b39da48 Backout bug 901597 for valgrind leaks 2014-02-19 17:18:59 -08:00
Andrew McCreight
957e5efc44 Bug 901597, part 2 - Add environment var to CC log only main or worker threads. r=smaug 2014-02-19 13:27:15 -08:00
Andrew McCreight
907bd71895 Bug 901597, part 1 - Move CC logging logic into nsCCParams. r=smaug 2014-02-19 13:27:14 -08:00
Andrew McCreight
f14269e5fc Bug 972940 - Rename XPCOM_CC_ env vars to MOZ_CC_. r=smaug 2014-02-19 13:27:14 -08:00
Sebastian Hengst
82795d3f96 Bug 974486 - Remove unused OS/2 special directories. r=jimm 2014-02-19 20:24:55 +01:00
Ulrich Weigand
8233aa73ca Bug 973977 - Mark SharedStub hidden to fix ppc64 build failure. r=froydnj 2014-02-19 15:55:28 -05:00
Eric Rahm
ac835c5e28 Bug 972170 - Add zram reporting to about:memory. r=njn 2014-02-19 11:08:38 -08:00
Daniel Holbert
f006e77f71 Bug 974300: Mark /xpcom/threads as FAIL_ON_WARNINGS. r=froydnj 2014-02-19 08:36:37 -08:00
Brian Hackett
cae987d2a2 Bug 964059 - Share atoms compartment/zone between multiple runtimes, r=billm,bent. 2014-02-19 09:02:13 -07:00
Ehsan Akhgari
df7ee3d481 Bug 969864 - Make nsTArray::SetLength return void; r=froydnj 2014-02-19 08:27:15 -05:00
Daniel Holbert
84283bddce back out 3a8893b28489 (bug 712939) and 39adab158c17,16add78c43e3,37193db7e15b (bug 712873), for build bustage. 2014-02-19 00:15:51 -08:00
Chris Peterson
12d33949d5 Bug 973795 - Fix -Wreorder and -Wsign-compare warnings in nsThreadPool.cpp. r=bsmedberg 2014-02-17 23:11:56 -08:00
Chris Peterson
ae4ab82a1d Bug 712939 - Replace JS_STATIC_ASSERT with static_assert outside js/ directory. r=mccr8 2014-02-17 23:56:19 -08:00
Phil Ringnalda
c5b3dd9f40 Back out f59bb340e3e6 (bug 826481) for Android build bustage
CLOSED TREE
2014-02-18 20:34:10 -08:00
Trevor Saunders
d10e07e915 bug 826481 - mark PrepareAndDispatch() as __attribute__((used)) when building with gcc or clang r=froydnj 2014-01-17 16:17:20 -05:00
Nathan Froyd
03e91b653f Backout 14dc29b1586b (bug 963024) for landing only part of the patch; DONTBUILD because NPOTB 2014-02-18 16:43:12 -05:00
Marcin Juszkiewicz
0b9164f4cd Bug 963024 - AArch64 support for XPCOM. r=froydnj 2014-02-18 15:41:22 -05:00
James Kitchener
faf522b628 Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg 2014-02-03 22:57:56 +10:30
Justin Shrake
cbce9ed07f Bug 972038 - Replace calls to GetMessageMoz with ToString to save callers from having to convert to UTF-8. r=jimm 2014-02-18 09:47:54 -05:00
Ehsan Akhgari
741e1ab301 Bug 973388 - Move the LOCAL_INCLUDES in xpcom to moz.build; r=glandium 2014-02-18 09:01:06 -05:00
Ehsan Akhgari
7b16802ce4 Bug 973142 - Get rid of the MOZILLA_INTERNAL_API makefile variable; r=glandium
It's just as easy to directly set the preprocessor macro in the moz.build
files.  Using this variable doesn't really buy us anything.

This patch also removes unused code from rdf/tests/dsds.
2014-02-18 01:56:51 -05:00
Chris Pearce
b7ed5c7bc7 Bug 968016 - Add threadStackSize attribute to nsIThreadPool. r=bsmedberg 2014-02-18 11:53:53 +13:00
Chris Pearce
fbe22075af Bug 968016 - Implement nsThreadPool::IsOnCurrentThread() to return true when the current thread is in the thread pool. r=bsmedberg
This is so that we can assert that media decode threads are in the decode thread pool.
2014-02-18 11:53:52 +13:00
Neil Rashbrook
581a903d05 Bug 966911 Part 4: Recreate the underlying nsAString when an an external string is passed back to C++ r=bholley 2014-02-14 19:44:55 +00:00
Luke Wagner
4625ba957c Bug 971845 - Don't uninline in JS_GetArrayBufferData, add JS_GetStableArrayBufferData and use that when necessary (r=sfink) 2014-02-13 11:17:41 -06:00
Nicholas Nethercote
e66386ee26 Bug 956199 - Fix style of xpcom/base/nsMemoryReporterManager.{h,cpp}. r=bsmedberg.
--HG--
extra : rebase_source : 79a8053c97ecb0786f0a722838f66fc85c5e1368
2014-01-02 19:19:32 -08:00
Neil Rashbrook
f5bb0dc0b6 Bug 972167 Followup to make the code compile now that it's actually being used
a=KWierso for checkin to a CLOSED TREE
2014-02-13 21:07:46 +00:00
Neil Rashbrook
fb1eb5b28d Bug 972167 Really give nsAutoArrayBase a copy constructor so that nsAutoTArray's implicit copy constructor will use it r=froydnj 2014-02-13 20:47:32 +00:00
Jacek Caban
90a4336ee8 Bug 971646 - FileUtilsWin.h fails to compile on GCC. r=bsmedberg 2014-02-13 11:25:26 +01:00
Neil Rashbrook
42055a8e06 Bug 966911 Part 1: Improve DOMString and AString conversion code paths r=bholley 2014-02-12 21:22:07 +00:00
Jim Chen
d5b0e8fd9d Bug 970358 - Disable BackgroundHangMonitor on release builds. r=froydnj 2014-02-12 10:24:21 -05:00
Yuan Xulei
32704c6cd1 Bug 956646 - xpcshell test for nsIFile#renameTo. r=bsmedberg 2014-01-06 20:32:57 +08:00
Yuan Xulei
5895d12d1e Bug 956646 - Implement nsIFile#renameTo on Windows. r=bsmedberg 2014-01-06 19:27:11 +08:00
Yuan Xulei
6de5c9f2fd Bug 956646 - Implement nsIFile#renameTo on Unix. r=bsmedberg 2014-01-06 17:39:03 +08:00
Yuan Xulei
30cb28ce42 Bug 956646 - Add renameTo to nsIFile interface. r=bsmedberg 2014-01-06 16:51:39 +08:00
Masatoshi Kimura
e5fc47840c Bug 970483 - Fix the logic to determine the pre-RTM Windows 7. r=bbondy 2014-02-12 23:49:06 +09:00
Andrew McCreight
6e0dc8af13 Bug 968012, part 3 - Remove nsVoidKey which was only used by nsWindowDataSource. r=froydnj 2014-02-11 14:56:45 -08:00
Andrew McCreight
f3bf111fef Bug 966359 - Prevent FreeSnowWhite reentrance. r=smaug 2014-02-11 14:56:44 -08:00
Andrew McCreight
a516cc5d48 Bug 970527 - Remove extern C from pldhash.h r=froydnj 2014-02-11 14:56:44 -08:00
Masatoshi Kimura
7638c93a95 Bug 970483 - Part 1: Introduce IsWindowsBuildOrLater() and IsWin7RTMOrLater(). r=bbondy 2014-02-12 06:01:29 +09:00
Masatoshi Kimura
9306836991 Backed out changeset d7d447cac91b (bug 969762) for tp5 regression. 2014-02-12 06:01:29 +09:00
Brian O'Keefe
ce139cc580 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Peiyong Lin
7ab1deb19e Bug 613472 - Use the fallible allocator and propagate errors in AppendASCIItoUTF16. r=bsmedberg 2014-02-11 09:22:45 -05:00
Ehsan Akhgari
fbe321aed6 Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Jacek Caban
ba27d5b5ce Bug 970421 - Fix PoisonIOInterposerWin.cpp compilation on mingw. r=aklotz 2014-02-11 13:43:59 +01:00
Oleg Romashin
0f88d2662e Bug 969498 - [Qt] ICU usage conflict, ABORT: JS_SetICUMemoryFunctions failed. r=n.nethercote,nfroyd 2014-02-10 22:35:32 -08:00
Oleg Romashin
b964464c9d Bug 967796 - Implement Pointer Enter/Leave events support. refactor OutOver element helpers. r=smaug 2014-02-10 22:33:35 -08:00
Mike Hommey
9ff8bb64aa Bug 969800 - Fix nsMemoryReporterManager::GetVsize for !HAVE_VSIZE_AND_RESIDENT_REPORTERS and add GNU/kFreeBSD support to nsMemoryReporterManager. r=njn 2014-02-11 10:43:41 +09:00
Jeff Walden
f66c97b3c4 Bug 969165 - Convert Atomic<T> where T != bool but is used as a bool over to Atomic<bool>, now that it's supported, in xpcom/. r=froydnj
--HG--
extra : rebase_source : 4b4e47e4246c3764f1b8d50a308b7a717c53a865
2014-02-06 22:05:24 -08:00
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Masatoshi Kimura
84b0ee5c63 Bug 969762 - Support non-ASCII dump() messages on Windows. r=jimm 2014-02-11 05:50:16 +09:00
Neil Rashbrook
c8132dbb0b Bug 969324 Remove unnecessary ReporterEnumerator r=njn 2014-02-10 19:26:08 +00:00
Jan Beich
7798ea7595 Bug 970031 - Re-apply bug 761077 to unbreak xptcall build on FreeBSD sparc64. r=froydnj 2014-02-10 08:58:57 -05:00
Jacek Caban
867f117090 Bug 969330 - Fix -Werror=int-to-pointer-cast in windows-only code. r=ehsan 2014-02-10 12:05:22 +01:00
Bill McCloskey
f457e42df0 Bug 966467 - Allow static modules to choose whether to be loaded in content process (r=bsmedberg) 2014-02-09 16:11:37 -08:00
Ms2ger
191c86706d Bug 968766 - Part i: Move the document.all NodeLists into a separate hashtable; r=jst 2014-02-09 09:04:36 +01:00
Ryan VanderMeulen
4fb42adba3 Merge m-c to inbound on a CLOSED TREE. 2014-02-06 16:29:41 -05:00
Thomas Zimmermann
0b22d9d966 Bug 968849: Fix GCC warnings about uninitialized variables, r=froydnj 2014-02-06 17:57:38 +01:00
Jacek Caban
5d29b8239e Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg
--HG--
extra : rebase_source : 2f81dd18df59e0498a577c437954c5b1f52f8e28
2014-02-06 17:42:58 +01:00
Nathan Froyd
50339d72dd Bug 965783 - part 2 - remove {Min,Max}Int; r=ehsan 2014-01-30 09:56:12 -05:00
Lukas Blakk
bb6781d1b1 Merging in version bump NO BUG CLOSED TREE 2014-02-03 15:03:10 -08:00
Nicholas Nethercote
90b8a00e9d Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
--HG--
extra : rebase_source : 56af9b89675394b5a219f699b96c1d26c00adc38
2014-01-31 14:43:08 -08:00
Olli Pettay
60ccc6d835 Backout Bug 953435 to fix bug 959281, a=backout 2014-02-02 20:12:27 +02:00
Phil Ringnalda
808b00705b Back out ea871fc76f16 (bug 903131) for test_aboutmemory6.xul crashes 2014-02-01 01:43:38 -08:00
Eric Rahm
1f07d87838 Bug 903131 - Add save GC/CC logs buttons to about:memory. r=njn,mccr8.
- Added buttons, JS to trigger logs to be generated.
- Added out params to return log paths.
- Added attributes to cycle collector interface to export log paths.

--HG--
extra : rebase_source : cbce2c62b577c820fd099706d72ab7b20992a00a
2014-01-31 14:43:08 -08:00
Aaron Klotz
c1123e2926 Bug 902587 - Part 2C: Interpose NtCreateFile, NtReadFile, NtReadFileScatter, NtFlushBuffersFile, and NtQueryFullAttributesFile; r=ehsan 2013-12-09 21:17:03 -02:00
Aaron Klotz
ab8ff46d04 Bug 902587 - Part 2B: filename method for PoisonIOInterposer; r=BenWa,ehsan 2014-01-31 20:14:03 -07:00
Robert O'Callahan
3aa8836857 Bug 966231. Add comment. 2014-02-01 14:14:00 +13:00
Robert O'Callahan
63c78cdafc Bug 966231. Allow blocking in a nested event loop even if the thread is being shut down. r=bsmedberg
--HG--
extra : rebase_source : 45654f14cb9a47b285b8491304de71a762132ac8
2014-02-01 13:42:24 +13:00
Blake Kaplan
2145fc46e8 Bug 966102 - Squelch a bunch of warnings starting child processes. r=bsmedberg
--HG--
extra : rebase_source : 82a0f7349df90a36dc4580fcaa121d80d0aa94a1
2014-01-31 15:02:30 -08:00
Chris Peterson
91f7b1bbc7 Bug 965693 - Remove annoying "Printing XUL documents is not supported" error dialog. r=roc 2014-01-29 20:40:34 -08:00
Masatoshi Kimura
8b80deb529 Bug 965952 - Remove GetVersionEx call from TestWinFileAttribs.cpp. r=froydnj 2014-01-31 05:44:04 +09:00
Birunthan Mohanathas
0114ade811 Bug 828300 - Remove NS_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Birunthan Mohanathas
e81a8f702d Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Projjol Banerji
06258b976a Bug 956857 - Fix busted semantics for subject parameter in "xpcom-category-entry-removed" notification. r=bsmedberg 2014-01-29 17:07:35 -05:00
Masatoshi Kimura
30b43288e5 Bug 965008 - Suppress warning C4996 for VC12+. r=froydnj 2014-01-29 08:37:47 +09:00
Nathan Froyd
35cde1421e Bug 964415 - add include guards to nsMemoryReporterManager.h; r=njn 2014-01-27 14:54:37 -05:00
Vladan Djeric
82975cbb38 Bug 863122 - Add time since launch and time since system startup to chromehang report. r=nfroyd 2014-01-27 13:47:00 -08:00
Daniel Holbert
ffcae68447 Bug 964077: Mark xpcom/components as FAIL_ON_WARNINGS. r=froydnj 2014-01-27 11:46:25 -08:00
Daniel Holbert
d84ffd9d9f Bug 964075: Remove unused const variables from nsComponentManager.cpp, to fix clang warnings. r=froydnj 2014-01-27 11:46:17 -08:00
Andrew McCreight
7a2f03c349 Bug 968234 - Remove trailing whitespace from nsHashtable.{h,cpp} rs=bsmedberg 2014-02-06 07:54:53 -08:00
Johnny Stenback
4c155af3b4 Bug 960694. Support writing out classes with JS implementations of classinfo. r=bsmedberg
--HG--
extra : rebase_source : 6eb91d99f710b366fc2ffab5defea0969834633f
2014-01-24 13:47:50 -08:00
Joshua Cranmer
5b8a66840a Bug 450881: Add helpers for XPIDL arrays to nsCOMArray, r=froydnj 2014-01-22 16:19:00 -06:00
Wes Kocher
184bddbbd2 Backed out changeset 4c4e95457c87 (bug 961712) for crashing b2g tests on a CLOSED TREE 2014-01-22 15:50:04 -08:00
Chris Lord
ce48ae821d Bug 961712 - Buffer (f)printf_stderr on Android. r=gal
Android logging functions append newlines to all output. Layout debugging
(and perhaps other areas) relies on being able to print partial lines, making
its output almost unreadable. This change adds manual buffering between
newlines, making the output readable again.
2014-01-22 20:20:20 +00:00
Wes Kocher
7f6b621b78 Backed out changeset 03bdec48d0ac (bug 450881) for Windows build bustage 2014-01-21 18:13:21 -08:00
Joshua Cranmer
add787d329 Bug 450881: Add helpers for XPIDL arrays to nsCOMArray, r=froydnj
--HG--
extra : rebase_source : d87f6cbdd2bab54f5923821409c9197f98b372f4
2014-01-21 18:01:36 -06:00
Bobby Holley
1fc0abe0bc Bug 958324 - Remove same-compartment security wrappers for WNs. r=peterv,r=mrbkap
We've fixed Components, and SOWs are new-binding only. Youpie!
2014-01-21 08:26:40 -08:00
Phil Ringnalda
00ac6ca943 Back out 171c124a1402 (bug 961712) for debug b2g mochitest crashes after timeouts 2014-01-20 13:03:26 -08:00
Andrea Marchesini
06f3df72fa Bug 958816 - UUIDs updated to make strings in nsIStackFrame API sane CLOSED TREE 2014-01-20 18:47:35 +01:00
Chris Lord
88f1cb4f9b Bug 961712 - Buffer (f)printf_stderr on Android. r=gal
Android logging functions append newlines to all output. Layout debugging
(and perhaps other areas) relies on being able to print partial lines, making
its output almost unreadable. This change adds manual buffering between
newlines, making the output readable again.
2014-01-20 17:11:39 +00:00
Andrea Marchesini
db2fa96fac Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-20 17:51:41 +01:00
Nathan Froyd
200e32e48e Bug 960700 - delete incorrect comment from nsStackWalk.cpp; r=ehsan 2014-01-16 14:53:04 -05:00
Benoit Jacob
b0bd861da8 Bug 960591 - Prevent implicitly constructing nsTArray<E> elements from E* pointers - r=ehsan 2014-01-17 11:54:19 -05:00
Ryan VanderMeulen
4e06172283 Backed out changeset 965cf4cbedc8 (bug 958816) for mochitest crashes.
CLOSED TREE
2014-01-17 10:20:05 -05:00
Andrea Marchesini
ab79c85864 Bug 958816 - Make strings in nsIStackFrame API sane, r=bz 2014-01-17 15:24:03 +01:00
Terrence Cole
f017da90d9 Bug 959787 - Handlify several JSAPI interfaces that can GC, Part 3; r=sfink
--HG--
extra : rebase_source : ace7b0fa6ba93acbf0ec8ecaeb68ffa287a33665
2014-01-16 09:48:58 -08:00
ZappaMan
85d643bdb6 Bug 956095 - Fix compiler warnings in TestCOMArray by initializing pointers. r=dougt 2014-01-16 08:26:00 -05:00
Tom Schuster
e64b35e141 Bug 939294 - Change xpidl jsval to handles. r=gabor,bz,khuey,bsmedberg,terrence 2014-01-09 18:39:36 +01:00
Nathan Froyd
fdc7c86804 Bug 901022 - write to MOZ_TRACE_FILE when the visual event tracer is stopped; r=honzab
DONTBUILD because NPOTB
2013-07-25 12:21:58 -04:00
Wes Kocher
04440648e9 Merge m-c to inbound 2014-01-14 16:13:50 -08:00
Wes Kocher
2b6b5c7c0f Merge inbound to m-c 2014-01-14 15:24:45 -08:00
Blair McBride
2b04e94dcc Bug 897735 - Bustage fix for nsIBlocklistService.idl 2014-01-15 09:30:26 +13:00
Olli Pettay
a090c1f030 Bug 958315 - Suspect JS things released by dying C++ objects in the next CC, r=mccr8 2014-01-14 22:23:59 +02:00
Ryan VanderMeulen
f61a1b7fc5 Bug 897735 - Bump the nsIBlocklistService IID.
DONTBUILD CLOSED TREE
2014-01-14 11:54:30 -05:00
Jim Chen
376d257027 Bug 951431 - Don't get stacks during profiler runs on Linux; r=BenWa 2014-01-14 10:33:32 -06:00
Jim Chen
8be67b8498 Bug 951431 - Report permanent hangs as transient hangs for now; r=froydnj 2014-01-14 10:33:31 -06:00
Jim Chen
c5594369ca Bug 951431 - Monitor main thread hangs using BackgroundHangMonitor; r=vladan 2014-01-14 10:33:31 -06:00
Sachin Hosmani
069b0b1b39 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen
bde0b0ec9d Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani
300046eb15 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Jed Davis
9b8946ab38 Bug 948204 - Add pmem regions to the system memory report. r=njn 2014-01-14 10:03:31 -05:00
Landry Breuil
cb67a56ae4 Bug 958234: Rename xptc{invoke,stubs}_asm_ppc_openbsd.s to .S to fix build on OpenBSD/powerpc after bug 932178 r=froydnj
--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_openbsd.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_openbsd.S
2014-01-10 19:08:57 +01:00
Steven Michaud
7e5b4408b4 Bug 956310 - DMD builds fail on Mac OS X. r=bgirard 2014-01-08 17:06:22 -06:00
Olli Pettay
ca3cda3676 Bug 953435 - Browser hang on Mac if an AfterProcessNextEvent callback tries to spin the event loop, r=nfroyd+smichaud
--HG--
extra : rebase_source : e999d852f5f73b18f37ff6a5488cc171c95d9e61
2014-01-09 00:10:06 +02:00
Guilherme Gonçalves
67b4cef738 Bug 732923 - Make watchPosition timeouts adhere to spec. r=jdm
This also disables a couple of tests that depend on the network
provider on Android. These tests were passing by accident before
this patch (and started failing afterwards), and were never meant
to run on Android anyway.
2014-01-08 16:04:37 -05:00
Neil Rashbrook
34dcf4918b Bug 514173 Make literal string buffers shareable r=dbaron,ehsan,bholley 2014-01-08 20:51:38 +00:00
Marina Samuel
035f74946d Bug 950986: Use ToDouble() to convert version to a double independent of locale. r=doug.turner 2014-01-08 12:22:24 -05:00
Andrew McCreight
1aa561ef0f Bug 956080 - Rename BeginCycleCollection to TraverseRoots. r=smaug 2014-01-07 17:33:47 -08:00
Boris Zbarsky
dd2f4ef162 Bug 932837 part 2. Create a refcounted object to manage the lifetime of a JS::StackDescription. r=mccr8, terrence 2014-01-07 19:53:17 -05:00
Alessio Placitelli
7fe5243d6e Bug 950762 - Add fallible AppendUTF16toUTF8 and make DOMParser::ParseFromString fallible. r=jst, r=bsmedberg 2014-01-07 10:18:30 -05:00
Carsten "Tomcat" Book
f98dd49b0f Backed out changeset 06f381426af1 (bug 944905) for windows bustage on a CLOSED TREE 2014-01-07 15:18:43 +01:00
Jacek Caban
bfec77ac34 Bug 944905 - Fix char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2014-01-07 14:54:52 +01:00
Patrick McManus
e3e7849089 bug 751465 - websockets dns and proxies r=jduell r=bsmedberg
--HG--
extra : rebase_source : ad2046a95f1ec9000577cc0f67aedc0766a51ed2
2014-01-06 13:52:42 -05:00
Birunthan Mohanathas
c293ca84b8 Bug 784739 - Switch from NULL to nullptr in remaining directories; r=ehsan
--HG--
extra : rebase_source : 1ff19b2c8fd0e77fa8e822f5007a9fa3a6b6d474
2014-01-06 10:06:04 -05:00
Jeff Walden
b01c238639 Bug 953296 - Implement mozilla::NullptrT as a typedef to use to accept nullptr values. Also add mozilla::IsNullPointer<T>, a trait for detecting *only* true nullptr (emulated nullptr [__null] used by gcc 4.4/4.5 isn't true nullptr). r=ehsan
Generally, if you want a decltype(nullptr)-based overload, you should use SFINAE and IsNullPointer.  (Examples are provided in NullPtr.h comments.)  The problem is NullptrT matches far more than just __null as emulated nullptr for gcc 4.4/4.5 overloading purposes.  This problem is unavoidable without true nullptr.  Currently, the only valid use for NullptrT is believed to be in operator overloads.  All existing nullptr-overloading code has been rewritten to use the appropriate technique for the situation, and MOZ_HAVE_CXX11_NULLPTR is no longer an API.

--HG--
extra : rebase_source : 01abfcb66ae569db7b04a7b53f5cd5fd8151bffd
2014-01-02 17:27:41 -06:00
Ehsan Akhgari
73dc4b008e Bug 884368 - Part 1: Add a memory reporter for AudioContexts; r=roc,njn 2014-01-04 13:15:41 -05:00
Ehsan Akhgari
dadc3abc1b Bug 927728 - Part 2: Stop using PRUnichar in our code generators; r=roc,bzbarsky 2014-01-04 10:02:43 -05:00
Ehsan Akhgari
ebd358dfd7 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
6d52f7f2e0 Bug 758992 follow-up - Mark DoNothingCallback final to avoid compiler warnings; blanket-r=bzbarsky 2014-01-03 09:54:32 -05:00
Nicholas Nethercote
1f49ef8fa9 Bug 955942 (part 3) - Merge the heap reporters. r=mccr8.
--HG--
extra : rebase_source : f836b1b2de9c850fa3d956bf6ef92a7c6c504fce
2014-01-02 15:19:08 -08:00
Nicholas Nethercote
82b05b710d Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Nicholas Nethercote
9505172caf Bug 955942 (part 1) - Remove unnecessary nsIMemoryReporter qualifiers from UNITS_* and KIND_* constants. r=mccr8.
--HG--
extra : rebase_source : f760568c08af03d9fec316bf95e7d4388078a03d
2013-12-11 11:59:39 -08:00
Andrew McCreight
b6ece55812 Bug 950959 - Rename scheduled cycle collector stuff to slice. r=smaug 2014-01-01 11:00:35 -08:00
Andrew McCreight
5b5e6a9500 Bug 950949 - Run forgetSkippable per CC not per slice. r=smaug 2014-01-01 11:00:35 -08:00
Ms2ger
fe059e78f7 Bug 950130 - Move more INCLUDES / LOCAL_INCLUDES to moz.build; r=mshal 2013-12-31 10:06:11 +01:00
Nomis101
41159be669 Bug 909914 - Add a missing include to avoid error: "Use of undeclared identifier 'getpid'" when building with enable-macos-target=10.9; r=smichaud 2013-12-20 13:06:42 +01:00
Andrew McCreight
f83384339e Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug 2013-12-22 09:58:19 -05:00
Nathan Froyd
6182f5bef4 Bug 950882 - micro-optimize NS_TableDrivenQI calling sequence by reordering argument list; r=bsmedberg
For register-rich ABIs (e.g. x86-64 and ARM), QueryInterface's incoming
registers are going to look like:

arg register 1: |this|
arg register 2: the IID of interest
arg register 3: the outparam instance pointer

Most of our QI implementations call NS_TableDrivenQI, which expects
arguments like so:

arg register 1: |this|
arg register 2: the QITableEntry table
arg register 3: the IID of interest
arg register 4: the outparam instance pointer

So we're going to have to do a register shuffle of the IID and the
outparam to be able to load the QITableEntry pointer before calling into
NS_TableDrivenQI.

This patch reorders the argument list of NS_TableDrivenQI so that the
first three arguments match the order that QueryInterface receives them
in.  Then your typical QueryInterface implementation becomes:

- load local |table|
- tail-call NS_TableDrivenQI

Eliminating the register shuffling reduces text size by 12K on an
Android ARM build.
2013-12-13 19:50:02 -05:00
Ted Mielczarek
6ce69a9951 bug 918389 - move XPCOM abort messages into separate crash annotations. r=bsmedberg
--HG--
extra : rebase_source : d1762cb08c795020e2ca7612b903cd1f3d5ade50
2013-12-20 10:11:16 -05:00
Ryan VanderMeulen
383add0e97 Backed out changesets ccdc3d4f4571, 4dcc91e771e3, 0ae14946314b, and 94d22ab0b17f (bug 937960) for Windows 7 debug xpcshell failures. 2013-12-19 16:57:55 -05:00
Ehsan Akhgari
fedbdf04d7 Bug 950856 - Fail the build if you attempt to use NS_StackWalk on Windows where it won't work; r=froydnj,BenWa 2013-12-18 15:03:11 -05:00
Isura Edirisinghe
1542439ab5 Bug 676907 - Refactor (replace) calls to Gestalt because it is deprecated in OS X 10.8 and will not work in after 10.9. r=BenWa 2013-12-19 11:42:19 -05:00
Henri Sivonen
624dc18f8f Bug 951110 - Make AssertValidDepedentString() more informative. r=bsmedberg. 2013-12-19 10:15:34 +02:00
Andrew McCreight
380df2f061 Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug 2013-12-18 21:22:55 -08:00
Ryan VanderMeulen
75c2b59eb5 Backed out changesets b03bd1170d1c, 419615a1195d, a1b699b80442, and 524c573fd8a6 (bug 937960) for Win7 debug xpcshell orange. 2013-12-18 19:04:11 -05:00
Ryan VanderMeulen
b9f37d8887 Backed out changeset fc0610680d3b (bug 950856) for Windows bustage.
CLOSED TREE
2013-12-18 16:01:44 -05:00
Ehsan Akhgari
f41d2856cd Bug 950856 - Fail the build if you attempt to use NS_StackWalk on Windows where it won't work; r=froydnj,BenWa
--HG--
extra : rebase_source : 914250c939e4666f4a8630f7e9e57e466b669259
2013-12-18 15:03:11 -05:00
Andrew McCreight
c6cd1b5b90 Bug 937960, part 3 - Pass in a small time budget with ICC. r=smaug 2013-12-18 11:42:16 -08:00
Andy Wingo
41ba9c9473 Bug 951483 - Add back nsCycleCollector::ShutdownCollect assertion that was mistakenly removed in bug 945813. r=mccr8 2013-12-18 11:01:32 +01:00
Nils Maier
bf1452f63e Bug 950391 - Add nsIMemoryReporterManager.unregisterStrongReporter. r=njn
Also do not allow to register non-native components as weak reporters.
2013-12-18 13:00:03 -05:00
Andrew McCreight
a8a41fffec Bug 937818, part 4 - Exceeded refcount nodes should already be black. r=smaug
Due to graph mutation during an incremental cycle collection, objects in the CC graph
may end up with more things pointing to them than they have a ref count. However, these
objects should never become garbage.
2013-12-17 19:29:57 -08:00
Andrew McCreight
d8b513724e Bug 937818, part 3 - Add ScanIncrementalRoots(). r=smaug
Any object that has been stored away somewhere in the middle of incremental graph
building must be treated as live, because we can't trust that the CC graph has
accurate information about it. If such an object is truly garbage, we'll unlink it
in the next cycle collection instead.
2013-12-17 19:29:57 -08:00
Andrew McCreight
5bbea5ab96 Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-17 19:29:57 -08:00
Carsten "Tomcat" Book
72465c7d55 Backed out changeset 261091719842 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE 2013-12-17 09:20:51 +01:00
Carsten "Tomcat" Book
94d78eb137 Backed out changeset a9715a3b0e13 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE 2013-12-17 09:20:31 +01:00
Carsten "Tomcat" Book
c0f42c8fcf Backed out changeset ae01d2862600 (bug 937818) for static rooting hazard analysis bustage on a CLOSED TREE 2013-12-17 09:20:10 +01:00
Andrew McCreight
1793c5a978 Bug 937818, part 4 - Exceeded refcount nodes should already be black. r=smaug
Due to graph mutation during an incremental cycle collection, objects in the CC graph
may end up with more things pointing to them than they have a ref count. However, these
objects should never become garbage.
2013-12-16 21:30:54 -08:00
Andrew McCreight
d4062e027d Bug 937818, part 3 - Add ScanIncrementalRoots(). r=smaug
Any object that has been stored away somewhere in the middle of incremental graph
building must be treated as live, because we can't trust that the CC graph has
accurate information about it. If such an object is truly garbage, we'll unlink it
in the next cycle collection instead.
2013-12-16 21:30:53 -08:00
Andrew McCreight
4b4868e59c Bug 937818, part 1 - Add objects to the purple buffer on AddRef. r=smaug
ICC uses this to track objects that have been AddRef'd during ICC graph building.
For those objects, we may not have the proper information for them, so treat them
as live.
2013-12-16 21:30:53 -08:00
Nicholas Nethercote
af95c9e20c Bug 945973 (part 4) - Add SystemMemoryReporter, which presents Linux-specific, system-wide memory measurements taken from the OS. r=glandium.
--HG--
extra : rebase_source : 032d1d2944b790ac9e9e4d7f18c8ac9d79858ef3
2013-12-04 19:32:50 -08:00
Nicholas Nethercote
1b4f5fb9ca Bug 945973 (part 2) - Don't complain if there aren't any "explicit" reports for a process. r=mccr8.
--HG--
extra : rebase_source : 05129260b8a3e7cfbdadcecffe4c18715254323c
2013-12-03 20:19:41 -08:00
Nicholas Nethercote
7ab82a59e3 Bug 945973 (part 1) - Remove about:memory's is-a-sentence description check. r=mccr8.
--HG--
extra : rebase_source : bf47145a953a23b73fa1e7c441b695ffeceafbb8
2013-12-03 20:10:59 -08:00
Wes Kocher
a8ec671341 Backed out changeset ef0eeaec74a8 (bug 949183) on the theory that it somehow broke every single b2g test on a CLOSED TREE 2013-12-16 18:27:43 -08:00
Ben Turner
cacd7aa212 Bug 914762 - Allow nsThread to be subclassed, r=bsmedberg.
--HG--
extra : transplant_source : %BD%C5%CB%7Fx%82q%FC%B6%AA%8B%8E%9Fo%BE%82%DE%09h%FF
2013-11-14 10:06:21 -08:00
Sean Stangl
0a79faf943 Bug 949183 - Fix jsid static constructor explosion. r=Waldo 2013-12-16 14:40:05 -08:00
Nathan Froyd
cef4749188 Bug 950281 - micro-optimize NS_TableDrivenQI by ensuring the table has at least 1 non-null entry; r=bsmedberg 2013-12-13 19:17:18 -05:00
Trevor Saunders
907dfc4528 bug 949821 - use MOZ_UTF16 more and NS_LITERAL_STRING less r=froydnj 2013-12-12 20:50:01 -05:00
Byron Campen [:bwc]
7959d8557c Bug 949749 - Fix up include guard in SyncRunnable.h. r=froydnj 2013-12-12 16:30:59 -08:00
Bill McCloskey
c4c1d8233a Bug 948238 - Read browser.tabs.remote once at startup and never again (r=bsmedberg) 2013-12-12 14:13:20 -08:00
Mike Hommey
3325256d97 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Bobby Holley
f9aa149cb5 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-11 17:51:57 -08:00
Alessio Placitelli
92adedf291 Bug 943511 - Remove allocator parameters from methods using nsSegmentedBuffer. r=bsmedberg 2013-12-11 14:14:56 -05:00
Alessio Placitelli
9f52de8940 Bug 943511 - Use fallible allocations in nsSegmentedBuffer::AppendNewSegment. r=bsmedberg 2013-12-11 14:14:28 -05:00
Ryan VanderMeulen
9a5a3e3614 Merge m-c to inbound. 2013-12-11 13:38:14 -05:00
Ryan VanderMeulen
106d512427 Merge b2g-inbound to m-c. 2013-12-11 13:24:26 -05:00
Jan Beich
2727a2615b Bug 948833 - Explicitly include <algorithm> for std::max on FreeBSD. r=njn 2013-12-11 10:35:33 -05:00
Andrew McCreight
74b0e52065 Bug 948686 - Remove unused variable declaration. r=njn 2013-12-11 10:35:13 -05:00
Wes Kocher
b7e717b615 Merge m-c to b2g-inbound 2013-12-10 17:14:14 -08:00
Ryan VanderMeulen
6fb3114a62 Merge m-c to inbound. 2013-12-10 15:48:16 -05:00
Ryan VanderMeulen
e6e2bad3d0 Merge fx-team to m-c. 2013-12-10 15:39:40 -05:00
Marina Samuel
25f5738d76 Bug 945842: Show Metro bookmarks folder in Windows 8 only. r=bbondy 2013-12-10 13:42:16 -05:00
Ryan VanderMeulen
ca386608b9 Merge b2g-inbound to m-c. 2013-12-09 17:26:11 -05:00
Ryan VanderMeulen
3083eba130 Merge inbound to m-c. 2013-12-09 16:45:25 -05:00
Alex Keybl
b260957292 Merging in version bump NO BUG 2013-12-09 13:38:06 -05:00
Carsten "Tomcat" Book
d1456b8d0e Backed out changeset 85196889c598 (bug 945042) PGO Test Bustage 2013-12-09 13:00:59 +01:00
Carsten "Tomcat" Book
488d65b1a9 merge mozilla-inbound to mozilla-central 2013-12-09 09:02:29 +01:00
Mike Hommey
eaa22cd1f1 Bug 945042 - Move NO_PROFILE_GUIDED_OPTIMIZE to moz.build. r=gps,r=njn 2013-12-09 13:39:26 +09:00
Phil Ringnalda
5d8f74916d Merge m-i to m-c 2013-12-08 18:53:55 -08:00
Phil Ringnalda
f676c9d65c Backed out 5 changesets (bug 944665, bug 922465, bug 930282) for b2g xpcshell crashes
CLOSED TREE

Backed out changeset c4f970dd2a4f (bug 930282)
Backed out changeset 625f5303fc68 (bug 930282)
Backed out changeset bf8e90edd152 (bug 922465)
Backed out changeset a21b57c78253 (bug 944665)
Backed out changeset 9275a2efc9e3 (bug 944665)

--HG--
extra : rebase_source : bfbe3786e0db2073e26dc383b89525d22be0b3bd
2013-12-08 15:32:15 -08:00
Andrew McCreight
6e48581b17 Bug 947626 - Fix index types in nsCOMArray CC helpers and remove whitespace. r=froydnj 2013-12-08 08:56:00 -08:00
Carsten "Tomcat" Book
753b3497e1 merge b2g-inbound to m-c 2013-12-08 12:23:13 +01:00
Phil Ringnalda
be814322b0 Merge m-c to b-i 2013-12-07 15:15:53 -08:00
Phil Ringnalda
f251c5eb20 Merge m-c to m-i 2013-12-07 11:21:52 -08:00
Phil Ringnalda
6a951967dc Merge m-c to b-i 2013-12-07 11:21:04 -08:00
Phil Ringnalda
e2e1627d17 Back out 35371620801a:bf2019278b77 (bug 937317) for gaia-ui-test bustage and frequent timeouts in its own test 2013-12-07 11:08:56 -08:00
Jon Coppeard
fd24fa430f Bug 939206 - Fix build error in test code on B2G r=me 2013-12-07 16:09:12 +00:00
Jon Coppeard
8b5902f0f2 Bug 942928 - Add tests for nsTArray postbarriers r=sfink 2013-12-07 12:50:44 +00:00
Jon Coppeard
1001d2a7ba Bug 939206 - Fix nsTArray post barriers for JS::Heap<T> elements r=bsmedberg 2013-12-07 12:50:28 +00:00
Wes Kocher
ea7a42ee9b merge m-c to b2g-inbound 2013-12-06 20:49:02 -06:00
Cervantes Yu
abb1abafe9 Bug 930282: Part 2: Mark PACMan thread and BackgroundHangMonitor thread. r=khuey 2013-12-07 10:28:42 +08:00
Benjamin Smedberg
cef6a4d1df Bustage followup to bug 767343 in non-unified builds
On a CLOSED TREE.

--HG--
extra : amend_source : 509032affaebf78b8a0430f2ba8e214639cdcdd1
2013-12-06 16:59:35 -05:00
Ryan VanderMeulen
1d91fde607 Merge b2g-inbound to m-c. 2013-12-06 15:56:46 -05:00
Benjamin Smedberg
549bf9b283 Bug 767343 - Use fallible allocation in nsSupportsString::SetData because people are putting arbitrarily-large data in it, perhaps session-restore data but I'm not sure, r=froydnj
--HG--
extra : rebase_source : 2ca78473213f43537886e0108af6f88227278a72
2013-12-06 12:03:47 -05:00
Jim Chen
3f9c471ac7 Bug 946817 - Don't assert mPseudoStack on B2G. r=BenWa 2013-12-06 09:50:21 -05:00
Cameron McCormack
1e7916058d Bug 947578 - Expose Contains on nsBaseHashtable. r=froydnj 2013-12-08 11:08:58 +11:00
Birunthan Mohanathas
759ab69b0a Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Birunthan Mohanathas
2a97f4dc0d Bug 713082 - Part 1: Remove unnecessary Util.h includes. r=Waldo 2013-12-08 21:52:33 -05:00
Phil Ringnalda
cce5e27704 Merge m-c to m-i 2013-12-08 17:32:55 -08:00
Nicholas Nethercote
492fe05fb7 Bug 948201 - Use a StaticRefPtr for gInterfaceInfoManager. r=bz.
--HG--
extra : rebase_source : be06bb4b77914dd1a5ae2a7e1cced40fcd5850f5
2013-12-07 21:41:32 -08:00
Ehsan Akhgari
d4490ee3c7 Bug 947736 - Build modules/libpref/ in unified mode; r=bsmedberg 2013-12-10 18:10:01 -05:00
Andy Wingo
37b518d477 Bug 945813 - Paper over cycle collection problem in IndexedDB. r=mccr8, r=khuey 2013-12-04 14:53:25 +01:00
Nicholas Nethercote
1e79a74289 Bug 947802 (part 2) - Replace enumerateReporters() with getReportsForThisProcess(). r=mccr8.
--HG--
extra : rebase_source : 1c70e838e3600745f69c5772a084398f78d4c477
2013-12-01 16:29:37 -08:00
Nicholas Nethercote
7b9f6814c3 Bug 947802 (part 1) - Inline DumpReport(). r=mccr8.
--HG--
extra : rebase_source : f5c8a655e88dc7641c2a9971d1174b0d689bf3b4
2013-12-01 16:14:26 -08:00
Nicholas Nethercote
bdfbbf7bcd Bug 947798 (part 2) - Remove MemoryMultiReporter, because it's no longer helpful. r=mccr8.
--HG--
extra : rebase_source : f6f74de69d8c1d79d38b84b19dff5439efc41075
2013-12-07 21:39:47 -08:00
Nicholas Nethercote
0b9a804eb0 Bug 947798 (part 1) - Rename NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN as MOZ_DEFINE_MALLOC_SIZE_OF. r=mccr8.
--HG--
extra : rebase_source : ec09d4c31264c15befb020375bf001a1ad1df6b8
2013-12-07 21:38:32 -08:00
Makoto Kato
7f101313f8 Bug 943203 - Remove QNX/NTO from xptcall. r=bsmedberg 2013-12-09 14:26:43 +09:00
Benjamin Smedberg
df726932bc Bug 946877 followup - move nsDebugImpl.cpp out of unified sources so that it relaly isn't part of PGO, r=ted 2013-12-10 12:26:53 -05:00
Andrew McCreight
f2438191d3 Bug 947719 - Call Checkpoint on every slice in nsCycleCollector::MarkRoots. r=smaug 2013-12-10 08:07:20 -08:00
Benjamin Smedberg
81e6facd1d Bug 946877 - Don't PGO nsDebugImpl.cpp, to see if that aids stackwalking around NS_OOM_ABORT, r=ted 2013-12-06 09:00:07 -05:00
Carsten "Tomcat" Book
8eed12cc2f Backed out changeset 004fa11e352a (bug 937317) WinXP Build Bustage on a CLOSED TREE 2013-12-06 08:42:40 +01:00
Bobby Holley
95ee5b5404 Bug 937317 - Implement basic script settings stack machinery. r=bz 2013-12-05 21:34:16 -08:00
Anthony Jones
f9b34b9e32 Bug 839911 - Add a convenient forever() time period constructor; r=roc 2013-12-06 16:21:39 +13:00
Ben Turner
6eb088d3a1 Bug 939196 - Allow nsThread to have nested event queues, r=bsmedberg.
--HG--
extra : transplant_source : %DE%AF%BF%7E%94%5E%07%CDL%9C%01%28%9F6%8D%90%12%95%06s
2013-11-14 10:06:17 -08:00
Jon Coppeard
dc68689837 Bug 946732 - Reinstate xpcom/glue gtests r=BenWa 2013-12-05 16:48:48 +00:00
Mike Shal
94d19c46f2 Bug 875013 - Remove VPATH; r=glandium 2013-11-21 14:57:06 -05:00
Jan Beich
54fe9a1901 Bug 946560 - Dump about:memory upon receiving a signal on FreeBSD as well. r=njn 2013-12-05 09:38:46 -05:00
Ben Turner
f8558e4665 Bug 939182 - Integrate the chromium MessageLoop into nsThread, r=bsmedberg.
--HG--
extra : transplant_source : %82%D3%C5%E1%A4%E5%00%1C%C3%82%97v%7F%BA%20Ja%AA%C7%E5
2013-10-23 05:01:24 -07:00
Ben Turner
5e46d041d5 Bug 939182 - Add 'eventWasProcessed' argument to nsIThreadObserver::afterProcessNextEvent(), r=bsmedberg.
--HG--
extra : transplant_source : %5E%80p%D6%C6A%23%0AZ%06%23%16%155%DB%CE%F5%5CEx
2013-10-23 05:01:20 -07:00
Cervantes Yu
d713ee4776 Bug 930282: Part 2: Mark PACMan thread and BackgroundHangMonitor thread. r=khuey 2013-10-15 17:43:08 +08:00
Honza Bambas
c2f0adc9a2 Bug 899620 - Remove FORCE_PR_LOG from Windows implementation of TimeStamp, r=ehsan 2013-12-05 13:09:10 +01:00
Nicholas Nethercote
803d8a5bcc Bug 943660 (part 2) - Remove remnants of Remove nsIMemoryReporter::name.
--HG--
extra : rebase_source : 900bd1c641b26623cccf14d952b5387223b489eb
2013-12-03 20:01:24 -08:00
Jim Chen
456545fdc7 Bug 940737 - Monitor Compositor thread hangs using BackgroundHangMonitor; r=bsmedberg r=BenWa 2013-12-04 21:24:28 -05:00
Jacek Caban
843b3659fc Bug 944905 - Fixed char16_t/wchar_t mismatch in xpcom/ r=bsmedberg 2013-12-04 13:19:09 +01:00
Chris Peterson
0c2c02102c Bug 945613 - Part 2: Mark xpcom/ds as FAIL_ON_WARNINGS. r=ehsan 2013-12-01 12:07:07 -08:00
Chris Peterson
53aeb5d833 Bug 945613 - Part 1: Suppress -Wdelete-non-virtual-dtor warning in nsAtomTable.cpp. r=ehsan 2013-12-01 12:06:29 -08:00
Ryan VanderMeulen
6294317fb8 Backed out changeset 2572592c326d (bug 945813) for Linux64 debug xpcshell crashes.
CLOSED TREE
2013-12-03 20:35:03 -05:00
Seth Fowler
6d3953bff9 Bug 940142 - Add a lightweight generic hash key class to nsHashKeys.h. r=bsmedberg 2013-12-03 16:23:32 -08:00
Ehsan Akhgari
a1e350edad Bug 945592 - Convert the type macros in nsTextFormatter.cpp to enum values; r=froydnj 2013-12-03 15:41:25 -05:00
Andy Wingo
c0c5e99d51 Bug 945813 - Paper over cycle collection problem in IndexedDB. r=mccr8, r=khuey 2013-12-03 18:35:04 +01:00
Andrew McCreight
dc0b895a45 Bug 937751, part 7 - Incrementalize nsCycleCollector::MarkRoots. r=smaug
Now that all of MarkRoots's state is stored on the heap, it can be run
incrementally. Like with Collect, it takes a budget to determine how
long it can run. Any residual budget will be available to the caller.

One difference is that Collect calls checkOverBudget() which always checks
the time, but MarkRoots uses isOverBudget() to determine if there is
any time remaining. This only checks the current time every
kNumNodesBetweenTimeChecks nodes, to reduce the overhead of checking.
2013-12-03 10:47:47 -08:00
Andrew McCreight
145f83b008 Bug 937751, part 6 - Allocate the current MarkRoots node on the heap rather than the stack. r=smaug
To make nsCycleCollector::MarkRoots incremental, we have to store all of its state on
the heap, so we can resume it.  The only remaining state to convert is the NodePool
enumerator.
2013-12-03 10:47:47 -08:00
Andrew McCreight
04314bee87 Bug 937751, part 5 - Add optional phase logging. r=smaug
For debugging purposes, it can be useful to see what ICC is currently
being run.
2013-12-03 10:47:47 -08:00
Andrew McCreight
994059dfef Bug 937751, part 4 - Incrementalize nsCycleCollector::Collect. r=smaug
This patch makes it so that Collect takes a time budget that describes
how much longer the collection can be run for. Then we run the current phase.
Once this is done, we check whether we have exceeded our time budget or
if we have finished a collection. If neither of those have happened, we
run the cycle collector some more.

If we're a manually triggered CC, and we were in the middle of an ICC when
the CC started, then once the current CC is complete, we start a new CC
immediately. This is needed to ensure that a manually specified listener
is used, and to ensure that any garbage objects the caller expects to be
collected are in fact collected.

Note that in this patch we are always passing in an unlimited budget to
Collect, so cycle collections will always be run to completion.
2013-12-03 10:47:47 -08:00
Andrew McCreight
5076bf4519 Bug 937751, part 3 - Protect against reentrancy with when incrementally CCing. r=smaug
Cycle collection protects against reentrancy by setting a flag to indicate a collection
is in progress. With synchronous CC, it is okay to set this in BeginCollection, and
clear it in CleanupAfterCollection. With ICC, this must be set and cleared in every
slice, so I moved the fixing of it to Collect.  I also changed the name of the variable,
because we can be in the middle of an ICC without the CC being actively running,
and it is only the latter we are worried about here.
2013-12-03 10:47:47 -08:00
Andrew McCreight
4411a6d49f Bug 937751, part 1 - Add and set incremental cycle collection phases. r=smaug 2013-12-03 10:47:46 -08:00
Mike Hommey
bf60896454 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Andrew McCreight
744b82250b Bug 938407 - Null check FinishReportingCallback::mFinishDumping. r=froydnj 2013-12-02 13:11:43 -08:00
Jan Beich
235cf51f70 Bug 945046 - Implement private and vsize-max-contiguous reporters on FreeBSD. r=njn, r=glandium 2013-12-02 12:51:27 -05:00
Jan Beich
55c4f8b847 Bug 945046 - Move private, vsize-max-contiguous class implementation under their own ifdef. r=njn 2013-12-02 12:51:26 -05:00
Aaron Klotz
17bcff457a Bug 944529: Obtain HDD info for GRE path and Windows directory; r=froydnj 2013-12-02 10:41:44 -07:00
Ryan VanderMeulen
2866421e0f Merge m-c to inbound. 2013-12-02 10:34:41 -05:00
Carsten "Tomcat" Book
eaab8af805 merge mozilla-inbound to mozilla-central 2013-12-02 12:41:55 +01:00
Ehsan Akhgari
76f23ad063 Bug 945118 - Build more of XPCOM in unified mode; r=glandium 2013-12-01 10:47:52 -05:00
Brian R. Bondy
47095a68bd Bug 944434 - Updates from Desktop launch Metro to perform the update. r=emtwo 2013-11-29 07:24:55 -05:00
Carsten "Tomcat" Book
caa77e8a92 merge fx-team to mozilla-central 2013-11-29 10:13:09 +01:00
Makoto Kato
ed24a20324 Bug 942645 - Remove old OS_RELEAE reference. r=glandium 2013-11-29 13:52:22 +09:00
Masatoshi Kimura
563353ee8f Bug 942402 - Add version test functions for Thunderbird. r=jimm 2013-12-03 00:01:48 +09:00
Landry Breuil
e9ae7af602 Bug 944410 - add missing #include <stdarg.h> for va_list on OpenBSD after bug 942483 r=bgirard 2013-11-30 13:48:34 +01:00
Marina Samuel
4d00f56497 Bug 934032 - Add View on Metro feature to Desktop Firefox in Australis. r=bbondy 2013-11-19 13:06:58 -05:00
Catalin Iacob
e961122fe2 Bug 819839 - Part 1 - Allow NS_StackWalk to be called during static initialization on Windows. r=ehsan 2013-11-29 16:08:43 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Nicholas Nethercote
d27c541046 Bug 936964 (part 3, attempt 2) - Make nsCycleCollector ref-counted. r=mccr8.
--HG--
extra : rebase_source : ebda496b8cba0464280eb0dc7bae9aca137e2e25
2013-11-25 15:57:53 -08:00
Nicholas Nethercote
b467b2a1c4 Bug 943660 (attempt 2) - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
--HG--
extra : rebase_source : 4381c3c424e34198b83c45fa0ac0d9a670bab2b8
2013-11-26 18:38:50 -08:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Nicholas Nethercote
77419f6a47 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ehsan Akhgari
c3970a73fb Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Nethercote
78e4d6490d Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Nicholas Nethercote
34fc4ee486 Bug 936964 (part 3) - Make nsCycleCollector ref-counted. r=mccr8.
--HG--
extra : rebase_source : f781c197b20354eda4622d436d5ef3429ce2481b
2013-11-25 15:57:53 -08:00
Nicholas Nethercote
e5c372ab44 Bug 943660 - Remove nsIMemoryReporter::name, because it's (a) unused and (b) a bad idea. r=mccr8.
--HG--
extra : rebase_source : f2ccff7972d7161e2290fd3db70463524c55f230
2013-11-26 18:38:50 -08:00
Dan Minor
69e7d3a78d Bug 943390 - Unit test TestTArray.cpp fails on Windows XP opt builds; r=froydnj 2013-11-29 12:48:08 -05:00
Bobby Holley
7a71089e5d Bug 911303 - Remove manual Destroy() routine from CycleCollectedJSRuntime. r=billm 2013-11-27 10:10:25 -08:00
Jacek Caban
db001e45e0 Bug 928351 - Char16.h and xpcom/strings/public parts r=ehsan,Waldo 2013-11-27 14:40:54 +01:00
Markus Stange
f0c633ccf9 Bug 924103 - Add a FilterDescription data structure and code that can create FilterNodes from it. r=roc 2013-11-27 12:25:28 +01:00
Mike Hommey
c35f2d3106 Bug 943197 - Remove useless -DIMPL_LIBXUL. r=mshal 2013-11-27 17:13:05 +09:00
Andrew McCreight
82aff86f1c Bug 937966 - Clean up scan safe assertion in Suspect. r=smaug 2013-11-26 17:30:46 -05:00
Andrew McCreight
a1a437b34d Bug 931738 - Remove nsPurpleBufferEntry from nsISupportsImpl.h. r=smaug 2013-11-26 14:29:59 -05:00
Daniel Holbert
621989b424 Bug 943238: Mark xpcom/io as FAIL_ON_WARNINGS. r=froydnj 2013-11-26 09:53:54 -08:00
Daniel Holbert
09205b59c4 Bug 943391: Use MOZ_THIS_IN_INITIALIZER_LIST to silence MSVC warning C4355 in nsPipe3.cpp. r=froydnj 2013-11-26 09:42:59 -08:00
Daniel Holbert
388f79a1c8 Bug 943235: undef LOG at the end of nsStorageStream.cpp, to prevent it from polluting other .cpp files and triggering "redefined" build warnings when we build in unified mode. r=froydnj 2013-11-26 09:42:58 -08:00