Commit Graph

3741 Commits

Author SHA1 Message Date
Justin Lebar
9f17f68669 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
Bobby Holley
91448a9dac Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Aryeh Gregor
99703ffbe7 Bug 859817 - Eliminate implicit conversion from raw pointer to already_AddRefed; r=bz sr=bsmedberg 2013-04-10 17:22:53 +03:00
Aryeh Gregor
18866d81dc Bug 867101 - Fix more implicit conversion to already_AddRefed; r=Ms2ger 2013-04-28 14:52:10 +03:00
Chris Peterson
81b2f45d57 Bug 873960 - Avoid unnecessary idle thread notifications when changing thread limits. r=bsmedberg 2013-05-16 09:02:46 -07:00
David Zbarsky
36c8cfe5b7 Bug 872678: Mark nsStaticNameTable immutable after initialization to fix assertions r=dbaron 2013-05-21 18:22:45 +08:00
Andrew McCreight
45b08b78f1 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
e6bc675453 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
1ef2e7271f Bug 873664 - remove two unused fields from nsCycleCollector.cpp r=smaug 2013-05-17 16:59:34 -07:00
Gregory Szorc
14c4938355 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ryan VanderMeulen
9a0ba8199c Merge m-c to inbound on a CLOSED TREE. 2013-05-17 17:34:54 -04:00
Ryan VanderMeulen
0b28853762 Backed out changesets 073791f33ab7 and 7ac5779a426c (bug 859756) for causing intermittent Windows build failures.
CLOSED TREE
2013-05-17 17:30:20 -04:00
Mihai Sucan
e9c7f9a4ce Bug 859756 - [browserconsole] Add timestamp, category and window IDs to nsIConsoleMessages; r=bz 2013-05-16 20:23:46 +03:00
Ryan VanderMeulen
94b76c580d Merge m-c to inbound. 2013-05-17 15:40:53 -04:00
Andrew McCreight
fc3b6fc07a Bug 866429 - Simplify shutdown cycle collections. r=smaug 2013-04-27 11:45:46 -07:00
Andrew McCreight
b13ef63428 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
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Maria Grazia Alastra
d645d2e812 Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg 2013-05-16 08:26:55 -04:00
Trevor Saunders
6fe37fab39 bug 860027 - rename xptiInterfaceInfoEntry::GetInterfaceInfo() to InterfaceInfo() since it can't return null and make it return an already_AddRefed r=bsmedberg 2013-05-03 21:54:31 -04:00
Trevor Saunders
43181cfc4d bug 860027 - use entry->GetScriptableFlag() directly instead of sillyness through the nsIInterfaceInfo r=bsmedberg 2013-05-03 18:33:30 -04:00
Trevor Saunders
b53dcf2bff bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley r=bsmedberg 2013-04-09 16:00:21 -04:00
Joey Armstrong
2dbf79e9a4 bug 869143: phase2 cleanup for XPCSHELL_TEST conversion. r=mshal 2013-05-13 16:24:07 -04:00
Lukas Blakk
83d112ae3d Merging in version bump NO BUG 2013-05-13 09:09:39 -07:00
Andrew McCreight
2722beb5e2 Bug 867974 - fail more gently when purple buffer count isn't zero. r=smaug 2013-05-09 13:19:00 -07:00
Vasil Dimov
0074878a79 Bug 860827 - Move TEMP_FAILURE_RETRY to FileUtils.h and rename it. r=tbsaunde 2013-05-09 13:42:12 -04:00
Makoto Kato
8dd6291821 Bug 800220 - Part 2. Fix warning error. r=ehsan 2013-05-08 12:47:22 +09:00
Makoto Kato
80436162a3 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Mats Palmgren
40741f4bf9 Bug 867530 - Initialize the poison value in XPCOM startup and annotate the values in crash reporter. r=bsmedberg 2013-05-07 20:48:59 +02:00
Sumedh Shekhar
427e7549ee Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Iivari Äikäs
18ecd9248b Bug 617897 - Replace calls to AppendASCII('*') with Append('*'). r=dougt 2013-05-07 10:25:21 -04:00
Aaron Klotz
12f63ed080 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
Gabriele Svelto
c5cb74f8ec Bug 793735 - Make XRE_StartupTimelineRecord() generate TimeStamps and modify its callers to use the appropriate timers, r=nfroyd 2013-03-26 11:31:20 +01:00
Gabriele Svelto
8d6ecdb6a0 Bug 793735 - Add functionality to create TimeStamp instances representing the process creation time, r=nfroyd 2013-03-28 11:28:09 +01:00
Andrew McCreight
f1139f8185 Bug 868761 - Remove trailing whitespace from nsCycleCollector.cpp. r=smaug 2013-05-04 08:39:44 -07:00
Matt Brubeck
6a478c802f Back out changeset e7e44c2d6d72 (bug 860027) because of Ts and MaxHeap regressions 2013-05-03 11:00:24 -07:00
Gregor Wagner
3230f13de0 Bug 852429 - Disable TestSettingsAPI test until bug 862355 is fixed. r=bent 2013-05-03 09:40:10 -07:00
Trevor Saunders
e4d4cce51d bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bholley, bsmedberg 2013-04-09 16:00:21 -04:00
Dave Hylands
49beeaa79d 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
Aryeh Gregor
d183f6f9bc Bug 859817 - Make nsStringBuffer::Alloc return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Andrew McCreight
7353c18515 Bug 863085, part 2 - remove NS_CycleCollectorForget2 from some XPCOM glue. r=bsmedberg 2013-05-01 15:36:03 -07:00
Andrew McCreight
5519d031ac Bug 863085, part 1 - Gut NS_CycleCollectorForget2 and rename CC::Suspect2. r=smaug 2013-05-01 15:35:13 -07:00
Jeff Walden
d349e7c9e0 Bug 866988 - Remove the HAVE_CPP_PARTIAL_SPECIALIZATION autoconf define, and the test for template specialization working at all. Any compiler not supporting either of these is so incredibly doomed it's not worth the pain of testing them. Plus we use both features liberally without testing these defines first, so they're basically pointless. r=ted 2013-04-13 19:04:38 -07:00
Stephen Kraemer
7b93b707c5 Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander 2013-05-01 15:45:05 -04:00
Honza Bambas
d6c90a7f32 Bug 836869 - Make QueryPerformanceCounter bad leap detection heuristic smarter, r=tellrob, sr=benjamin 2013-05-01 18:57:58 +02:00
Honza Bambas
4577ebe29d Bug 865459 - Fix localization issue in how visual event tracer stores its timestamps, r=ehsan 2013-05-01 18:57:57 +02:00
Vladan Djeric
09e2368b6a Bug 867313: 'crash on hang' doesn't always trigger. r=ehsan 2013-04-30 18:39:16 -04:00
Geoff Brown
5931069e78 Bug 865006 - Enable more xpcshell tests on Android; r=jmaher DONTBUILD 2013-04-30 12:38:18 -06:00
Andrew McCreight
fb7e9aeb76 Bug 798165 - Make nsTimeout more of a real cycle collected class. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
a3b48ea542 Bug 864344 - Remove unused code for NS_Alloc failures in the cycle collector. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
3a1c8cd8d3 Bug 716716 - Add templated way to iterate over purple buffer entries. r=smaug 2013-04-30 10:41:23 -07:00
Andrew McCreight
fd769e05e8 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
Joey Armstrong
8e99512c32 bug 844655: Port XPCSHELL_TESTS to moz.build as XPCSHELL_TESTS_MANIFESTS 2013-04-29 14:49:00 -04:00
Bobby Holley
67dfb66e7a Bug 865729 - Use XPConnect directly in C++ unit tests. r=gabor 2013-04-29 11:16:22 -07:00
Andreas Gal
943c3039a9 Bug 862970 - Don't lock images on the active page on B2G. r=jlebar,joe 2013-04-25 18:36:53 -07:00
Ryan VanderMeulen
7c02acfe11 Merge m-c to inbound. 2013-04-26 08:00:50 -04:00
Ryan VanderMeulen
79db1c6ba4 Merge birch to m-c. 2013-04-26 08:00:07 -04:00
Justin Lebar
2815b2958d Bug 844323 - Prelude part 2: Switch xpcom/base/StaticPtr from NULL to nullptr, and add a necessary include. r=khuey
This is necessary to make this header compile in one of the places I use it.  Anyway it's the right change.
2013-04-25 20:53:26 -04:00
Andrew McCreight
cbcfef43dc Bug 865317 - Allow a useful NodePool::Enumerator to be constructed for an empty CC graph. r=smaug 2013-04-25 08:42:44 -07:00
Andrew McCreight
6654ca9f77 Bug 865306 - Add assertions for the initialization of the cycle collector's EdgePool::Iterators. r=smaug 2013-04-25 08:42:44 -07:00
Andrew McCreight
bf5fad0a2d Bug 837197 - Don't write poison shutdown CC logging. r=smaug 2013-04-25 08:42:44 -07:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Aryeh Gregor
e0a4cd5848 Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Aryeh Gregor
eecc44edc5 Bug 859817 - Introduce already_AddRefed.downcast(); r=ehsan 2013-04-21 14:56:06 +03:00
Makoto Kato
d75d999182 Bug 857957 - Use Endian.h for byte swap. f=nfroyd, r=jfkthame, r/sr=bsmedberg 2013-04-24 16:40:33 +09:00
Ben Turner
0514a30d13 Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey. 2013-03-15 23:58:50 -07:00
Ben Turner
d2d94d205c Backout bug 861287 for gcc build failures. 2013-04-25 08:30:28 -04:00
Ben Turner
19f1c29c69 Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey. 2013-03-15 23:58:50 -07:00
Ehsan Akhgari
537ebfa2f3 Bug 865550 - Unlink AudioBufferSourceNode members before AudioNode; r=mccr8 2013-04-25 16:52:52 -04:00
Vasil Dimov
d9d0b75034 Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-23 13:55:46 -04:00
Aaron Klotz
1fa45885ed Bug 744836: Adds null checks for mEventTarget in nsTimerImpl. r=bsmedberg 2013-04-23 11:24:20 -06:00
Wes Kocher
1007eed73a Merge m-c to m-c 2013-04-22 19:00:15 -07:00
Josh Matthews
a34db39ba0 Bug 863770 - Pass in an ArrayBuffer object for nsBinaryInputStream::ReadAsArrayBuffer to use, for cases when the compartment in which it resides matters. r=vlad 2013-04-22 23:33:55 +02:00
Bobby Holley
5b9ec81bba Bug 864363 - Force layout initialization in XPCOM initialization. r=bsmedberg 2013-04-22 16:49:52 -04:00
Bobby Holley
b7874c2438 Back out bug 863646 for make check orange (TestStartupCache). 2013-04-19 18:28:53 -04:00
Bobby Holley
b22709b82b Bug 863646 - Force layout initialization in XPCOM initialization. r=bsmedberg 2013-04-19 16:03:24 -04:00
David Rajchenbach-Teller
a463ed5806 Bug 724368 - Expose the maximum number of threads. r=dougt 2013-04-19 07:54:18 -04:00
Ryan VanderMeulen
90308081de Merge m-c to inbound. 2013-04-19 07:46:11 -04:00
Josh Matthews
e5feb55a95 Bug 831107 - Part 1: Allow TCPSocket consumers to receive typed array data without converting it to a byte string first. r=vlad 2013-04-19 11:25:33 +02:00
Benoit Girard
d80aabf5bc Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 22eeccdcee83e3fd03687e6b969b143502a9c5fc
2013-04-18 11:34:49 -04:00
Ryan VanderMeulen
7975ea6c19 Backed out changeset a945d76d4e4e (bug 860827) for Windows bustage on a CLOSED TREE. 2013-04-18 09:09:00 -04:00
Vasil Dimov
b2011b7017 Bug 860827 - Add unit tests for ReadSysFile(). r=dhylands, r=BenWa 2013-04-18 08:20:01 -04:00
Ryan VanderMeulen
5f40d14478 Backed out 3 changesets (bug 734691, bug 862500) for leaks.
Backed out changeset 4444510d672f (bug 862500)
Backed out changeset 5c321bc4dc63 (bug 734691)
Backed out changeset e045934f78be (bug 734691)
2013-04-18 08:15:09 -04:00
Sudheera Palihakkara
e0263217d5 Bug 327598 - Set the return value of RemoveElementAt to void instead of bool. r=Neil 2013-04-18 07:40:09 -04:00
Benoit Girard
3a0e478b51 Bug 862500 - Properly shutdown profiler in xpcshell, shutdown and error cases. r=snorp
--HG--
extra : rebase_source : 8b887475b97e3562ca5fd73e93eaa9edab8ef1fb
2013-04-17 12:53:15 -04:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Matt Brubeck
229ef006b5 Back out e1549b50183f (bug 860027), suspected of regressing Trace Malloc and/or Ts Paint 2013-04-18 15:34:48 -07:00
Gavin Sharp
a4c3308b1b bug 862152: remove obsolete xpcom/tests/utils code, r=bsmedberg
--HG--
extra : transplant_source : ytT%C26%9B%27d%AB%A4%EA%5E%F3%21%7F%0AV%B9%86%00
2013-04-16 08:27:42 -07:00
Nicholas Nethercote
ba2695f44e Bug 859657 (follow-up) - Bustage fix for opt builds on a CLOSED TREE. r=me. 2013-04-15 20:45:48 -07:00
Nicholas Nethercote
f5378cec64 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Trevor Saunders
2c43164c3c bug 860027 - remove XPTIInterfaceInfoManager::EnumerateInterfaces() r=bsmedberg, bholley 2013-04-09 16:00:21 -04:00
Trevor Saunders
b7ddf4f798 bug 860027 - export a header declaring XPTInterfaceInfoManager r=bsmedberg 2013-03-08 21:54:10 -05:00
Trevor Saunders
961abcf513 bug 860027 - nuke the interface info super manager r=bsmedberg 2013-03-08 15:23:31 -05:00
Honza Bambas
bf6ac747cf Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Colby Russell
e50eed3a9f Bug 861557 - nsIClassInfo.idl references non-existent nsIClassInfo.h. r=jlebar 2013-04-14 21:32:07 -04:00
Mike Hommey
b9ca04c0c4 Bug 860894 - Fix typelib.py after bug 462463. r=ted 2013-04-14 10:11:06 +02:00
Nathan Froyd
2de8456c06 Bug 859367 - make xpt.py use unpack_from instead of unpack; r=ted 2013-04-08 12:32:22 -04:00
Joshua Cranmer
a0488f07c4 Bug 856108 - Port static analyses to clang, part 3: Remove NS_STACK_CLASS. r=bsmedberg 2013-04-11 22:22:44 -05:00
Joshua Cranmer
a74766f285 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
Ehsan Akhgari
2aa1808f52 Bug 860886 - Make MOZ_CC_LOG_DIRECTORY work again; r=mccr8 2013-04-11 15:39:20 -04:00
Ryan VanderMeulen
b880048f4e Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00