Nathan Froyd
c95fe0687f
Bug 996061 - part 3 - try to shim param information in xptiInterfaceEntry when possible; r=bholley
...
This patch does all the interesting work: we check for shims whenever we get
asked about parameter information for methods. If there's a shim for what we
want, we ask the shim to provide the information. If not, we fail as usual.
2014-05-16 17:19:26 -04:00
Nathan Froyd
1dacc16e2c
Bug 996061 - part 2 - split out a method for getting an interface's typelib index; r=bholley
...
The code that looks up |xptiInterfaceEntry|s starts by figuring out where in
the typelib the desired entry lives. We want to do the same thing for the
purpose of getting shims, so we can ask the typelib for the name of the thing
at that index. Split out a method to do this for us.
2014-05-16 16:49:34 -04:00
Nathan Froyd
c788fadd6d
Bug 996061 - part 1 - add GetEntryNameAt method for typelibs; r=bholley
...
xpt linking works with two different currencies: UUIDs of interfaces, and names
of interfaces. Names are how we support linking in unknown-at-compile-time
interfaces at runtime. Since we need to know names to decide whether we have
shims for interfaces or not, we need a method for exposing the names.
2014-05-16 16:48:29 -04:00
Nathan Froyd
94bb6d69ae
Bug 996061 - part 0 - make tests use [scriptable] interfaces; r=ted
...
Smart xpt linking will keep around [scriptable] interfaces and anything
those interfaces depend on. Modify the tests that deal with xpt linking
so they use [scriptable] interfaces, ensuring that the tests continue to
work in the face of smarter linkers.
2014-05-19 12:35:21 -04:00
Kyle Huey
a87647dfb2
Bug 1019248: Convert ProgressEvent to WebIDL codegen. r=smaug
2014-06-03 15:52:36 -07:00
Jeff Muizelaar
d5bf7b7a57
Bug 1017132. Don't call printf in FramePointerStackWalk. r=dbaron
...
This avoids hangs while profiling.
--HG--
extra : rebase_source : 1f6dd552ed3f26017107f41283ca667a246765c0
2014-06-03 15:42:10 -04:00
Ehsan Akhgari
223b879989
Typo fix, no bug, DONTBUILD, CLOSED TREE
2014-06-03 12:44:48 -04:00
Ehsan Akhgari
a9e75d81de
Add some documentation for ShimInterfaceInfo, no bug, DONTBUILD, CLOSED TREE
2014-06-03 12:37:08 -04:00
David Major
9ca8db2932
Bug 1018477: Fix R/M check in x86 detour code. r=m_kato
2014-06-03 16:47:43 +12:00
Robert O'Callahan
44a3b169a7
Bug 1015664. Part 4: Remove NS_HIDDEN in a few miscellaneous places. r=bsmedberg
2014-06-03 00:08:29 +12:00
Robert O'Callahan
cadd97f2f1
Bug 1015664. Part 3: Remove NS_HIDDEN_VISIBILITY from NS_IMETHOD_VISIBILITY. r=bsmedberg
2014-06-03 00:08:27 +12:00
Robert O'Callahan
a8bbe633b9
Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg
2014-06-03 00:08:24 +12:00
Robert O'Callahan
9170085906
Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg
2014-06-03 00:08:21 +12:00
Carsten "Tomcat" Book
7628fd5821
Backed out changeset 1f5266cae802 (bug 1017418) for B2G ICS Emulator Opt Reftest Failures & Crashes on a CLOSED TREE
2014-06-02 11:27:29 +02:00
Carsten "Tomcat" Book
504e9fdc9d
Backed out changeset 1b81b771aee6 (bug 1017418)
2014-06-02 11:26:12 +02:00
Nicholas Nethercote
1f6501ee8c
Bug 1017418 (part 2) - Avoid more slop in nsTArray. r=froydnj.
2014-06-01 16:08:50 -07:00
Nicholas Nethercote
7c04dbe0fe
Bug 1017418 (part 1) - Don't assume that nsTArray::SetCapacity() will result in exactly the requested capacity. r=froydnj.
2014-06-01 15:54:46 -07:00
Phil Ringnalda
61966eed95
Merge f-t to m-c
2014-05-31 20:31:07 -07:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Jan Beich
72cc1b277a
Bug 1015497 - Enable FifoWatcher and its consumers on every Unix. r=froydn,jld
2014-05-29 05:24:00 +02:00
Brian Birtles
314e088ee3
Bug 1016757 - Add TimeDuration::operator* (const uint64_t) const, i.e. accept an unsigned 64-bit integer as a multiplier; r=froydnj
2014-05-30 09:45:39 +09:00
Brian Hackett
6fe0a1d95d
Bug 941805 - Use helper thread pool in all runtimes in a process, r=billm.
2014-05-29 13:06:23 -06:00
Jason Orendorff
c91d8fd048
Follow-up to bug 987995, rev ca1f7ae987ee, to fix builds without MOZ_CRASHREPORTER. r=red on a CLOSED TREE.
2014-05-29 13:41:54 -05:00
Ryan VanderMeulen
d5bf14a0a5
Backed out changeset 16e5c41a0893 (bug 1015547) for bustage.
2014-05-30 17:09:39 -04:00
Ryan VanderMeulen
bf4e3240c0
Backed out changeset 7b6b2d8dd79b (bug 1015547) for bustage.
2014-05-30 17:09:34 -04:00
Jan Beich
310f73d1b4
Bug 1015547 - Fill |struct nsID| via arc4random_buf if available on Android and BSDs. r=vlad, r=glandium
2014-05-29 23:09:00 -04:00
Jan Beich
abb1e56e84
Bug 1015547 - Prefer arc4random to generate UUIDs on BSDs. r=vlad, r=glandium
2014-05-28 21:43:00 -04:00
Brian Smith
669c77bb7e
Bug 1010634, Part 2: Fix compiler warnings in MFBT and XPCOM, r=ehsan
...
--HG--
extra : rebase_source : 8839297479ce2ade7a7e6cb5099178e799a0e516
2014-05-29 20:18:29 -07:00
Jason Orendorff
cb0fa693b1
Bug 987995, part 4 - Add new crash reporter annotations for JS out-of-memory conditions. r=mccr8,r=bsmedberg.
2014-05-22 08:18:02 -05:00
Benoit Jacob
2f3ef505c0
Bug 852393 - Specialize nsAutoTArray<T, 0> to be an nsTArray - r=froydnj
2014-05-29 11:59:37 -04:00
Jan Beich
560c6554f4
Bug 1016631 - Cosmetic fix to use correct type for sysctl()'s 2nd argument. Also s/NULL/nullptr/ style fix in my code. r=gcp, r=vladan
2014-05-28 18:11:00 -04:00
Jan Beich
c6e5e670dc
Bug 1013675- Implement nsDebugImpl::GetIsDebuggerAttached() on BSDs. r=vladan
2014-05-20 17:20:00 -04:00
David Major
f4fa67e2d0
Bug 1014288: Fix the OOM check in nsTArrayInfallibleAllocator::Realloc. r=bsmedberg
2014-05-28 14:45:15 +12:00
Jeff Walden
2155f1cf29
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff
2014-05-27 14:32:41 -07:00
Ryan VanderMeulen
b46128affc
Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
...
CLOSED TREE
2014-05-27 14:08:30 -04:00
Jeff Walden
8978c3f50f
Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent
2014-05-27 09:56:43 -07:00
Neil Rashbrook
9cfd58c16f
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
f3421c776b
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
e7d1484cb7
Bug 995730 - Convert xpcom/threads/ to Gecko style. r=froydnj
...
--HG--
extra : rebase_source : 1f6f179f44db87f55ebfe5d855192adfad7d1b74
2014-05-27 10:15:35 +03:00
Birunthan Mohanathas
4a7f8c92a2
Bug 995730 - Convert xpcom/string/ to Gecko style. r=froydnj
...
--HG--
extra : rebase_source : ca62984a1bad49505dd8fd480dc3d525c85cc210
2014-05-27 10:15:35 +03:00
Birunthan Mohanathas
f9b1b35c3e
Bug 869836 - Part 11: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
...
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Neil Rashbrook
12b4869c02
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Landry Breuil
2c8120fb04
Bug 961488: fix crash in mozJSComponentLoader::Import on 32-bits powerpc/sparc unix-but-non-mac oses. r=bz,glandium f=stevesn,spectre
2014-05-27 07:56:54 +02:00
Ehsan Akhgari
ad3b490e96
Bug 1013663 - Fix some bad implicit conversion constructors in the JS engine; r=jorendorff,jandem
2014-05-25 21:46:24 -04:00
Will Hawkins
8adbbdb8f0
Bug 996310 - nsIBinaryOutputStream should return number of bytes read. r=bsmedberg
2014-05-22 13:56:56 -07:00
Ehsan Akhgari
a9b1426983
Bug 1015430 - Fix more XPCOM constructors to clarify whether they should be explicit; r=froydnj
2014-05-25 21:16:01 -04:00
Sotaro Ikeda
cb17692178
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
ea69951aea
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Boris Zbarsky
72c13f6d06
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Sotaro Ikeda
e66ebd661d
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Wes Kocher
b1b2b3a291
Backed out 5 changesets (bug 1007878) for b2g build bustage r=khuey
...
Backed out changeset ee3bb06075f7 (bug 1007878)
Backed out changeset ab3dd51be3cd (bug 1007878)
Backed out changeset aa53ba4e64b8 (bug 1007878)
Backed out changeset ff6fd8187ff3 (bug 1007878)
Backed out changeset d631378463ac (bug 1007878)
2014-05-23 15:10:51 -07:00
Boris Zbarsky
aea41c8d2e
Bug 1007878 part 2. Add a C++ type to represent MozMap. r=khuey
2014-05-23 17:32:38 -04:00
Eric Rahm
fd5aaf36e7
Bug 1006769 - Part 1: Improve heap-overhead memory reporting. r=njn
2014-05-21 17:34:06 -07:00
Kyle Huey
8a1ded0d50
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Kyle Huey
291b9fd9d6
Bug 996132: Make allocations in the event queue infallible. r=bsmedberg
2014-05-23 12:53:14 -07:00
Nicolas Silva
68b4a5e659
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Andrea Marchesini
29df09f67c
Bug 1014657 - Port DOMStorageEvent to WebIDL and remove nsIDOMStorageEvent, r=smaug, f=ms2ger
2014-05-23 08:33:24 +01:00
Nicholas Nethercote
b8e23eaf85
Bug 1014249 - Beef up the "is DMD enabled?" and "is DMD running?" checks. r=mccr8.
...
--HG--
extra : rebase_source : 868ce1a1e470e45f51447f5126982aaeb51905f1
2014-05-22 19:45:14 -07:00
Carsten "Tomcat" Book
939b646157
Backed out changeset 2f6f548cd175 (bug 987995) for bustage on a CLOSED TREE
2014-05-22 15:57:30 +02:00
Jason Orendorff
676caaff07
Bug 987995, part 4 - Add new crash reporter annotations. r=mccr8,r=bsmedberg.
2014-05-22 08:18:02 -05:00
Jason Orendorff
e77930726a
Bug 987995, part 3 - Move memory pressure callbacks from nsJSEnvironment/XPCJSRuntime to CycleCollectedJSRuntime. r=mccr8.
2014-05-22 08:18:02 -05:00
Birunthan Mohanathas
7c52695765
Bug 869836 - Fix bustage on Windows due to rebases. r=me
2014-05-22 07:25:28 +03:00
Ehsan Akhgari
897e351e52
Bug 1013664 - Fix bad implicit conversion constructors in XPCOM; r=froydnj
...
--HG--
extra : rebase_source : e3260a536292175cb1ad23a53dfe9e3f4bb8ff10
2014-05-21 21:33:28 -04:00
Birunthan Mohanathas
6f68094e30
Bug 869836 - Part 9: Use AssignLiteral instead of Assign(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
2deaba6d91
Bug 869836 - Part 8: Use Append('c')
instead of Append("c")
. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
76ca8ec617
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
c4568a7085
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
807e72372f
Bug 869836 - Part 4: Use EqualsLiteral instead of Equals(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
411a8639b4
Bug 869836 - Part 3: Use Append('c')
instead of AppendLiteral("c")
. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
62570a8716
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
5d51a7d58f
Bug 869836 - Part 1: Use EqualsLiteral instead of == NS_LITERAL_STRING(...)
. r=ehsan
2014-05-22 06:48:50 +03:00
Wes Kocher
fa6b843889
Backed out changesets 8c23781bad3c,16418be9d4dd (bug 996310) for dt1 bustage on a CLOSED TREE
2014-05-21 16:21:17 -07:00
Ryan VanderMeulen
bcbeeaf810
Bug 996310 - Remove stray + that crept in when rebasing to fix a CLOSED TREE.
2014-05-21 18:20:10 -04:00
Will Hawkins
80f1a9a9f3
Bug 996310 - Change readArrayBuffer to return the number of bytes read. r=bsmedberg
2014-04-29 12:36:00 -04:00
Birunthan Mohanathas
51bb570c80
Bug 798033 - Remove 'using namespace' from remaining headers. r=froydnj
2014-05-18 19:34:00 -04:00
Richard Barnes
84b4f71b33
Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler
2014-05-15 06:20:00 -04:00
Nicholas Nethercote
03023e2bf9
Bug 1013078 (part 1) - Remove some dead code left over from the removal of the Leaky tool. r=dbaron.
...
--HG--
extra : rebase_source : 2382c476375c0f51c14800c1e8f363363737807e
2014-05-20 18:03:27 -07:00
Terrence Cole
550d6b3006
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
...
--HG--
extra : rebase_source : 18c195a3a5897529275deb210bfa7f57f8e29bd8
2014-05-14 19:48:09 -07:00
Trevor Saunders
4abce4092c
bug 1004746
- part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj
2014-05-07 18:05:37 -04:00
Josh Aas
3675b7efa2
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 22:05:46 -05:00
Phil Ringnalda
3b63909530
Back out a4b51aff4b3c (bug 957928) for build bustage
...
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
792dc0a797
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 18:53:03 -05:00
Mats Palmgren
b06c67b2b3
Bug 1009263 - Add nsCheapSets::Clear() method that removes all entries and return it to minimal size in terms of memory use. r=bsmedberg
2014-05-17 23:10:53 +00:00
Ryan VanderMeulen
582b987a26
Backed out changeset 36bfb1d8b8fe (bug 1010655) for Cpp test crashes.
2014-05-16 14:52:13 -04:00
Terrence Cole
65e68dba5c
Bug 1010655 - Always use the faster version of IsInsideNursery when possible; r=jonco
...
--HG--
extra : rebase_source : 474ef235d747f9008f79b2ad0328ec1566b8c641
2014-05-14 19:48:09 -07:00
Ryan VanderMeulen
96ed00e142
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Nicolas Silva
42a451f0bb
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Andrew McCreight
b18fc65773
Bug 1008420, part 2 - Split out a refcountless nsArray base class. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
8970c069d5
Bug 1008420, part 1 - Delete trailing whitespace from nsArray. r=bsmedberg
2014-05-15 09:52:58 -07:00
Andrew McCreight
95687fc060
Bug 971264 - Remove nsHashtable. r=bsmedberg
2014-05-15 09:52:57 -07:00
Birunthan Mohanathas
99b3ba82ab
Bug 995730 - Fix style violations in xpcom/io/. r=froydnj
2014-05-14 23:15:46 +03:00
Birunthan Mohanathas
497a0d9d6f
Bug 995730 - Fix style violations in xpcom/base/ (part 2). r=froydnj
2014-05-14 23:14:58 +03:00
Andrew McCreight
b46d6ba3b7
Bug 1007722 - Add helper methods for gray and black JS in the CC. r=smaug
2014-05-14 09:45:50 -07:00
Andrew McCreight
8948c072d8
Bug 1005396 - Finish a long ICC early after graph building has finished. r=smaug
2014-05-14 09:45:50 -07:00
Nicholas Nethercote
411cb9c980
Bug 1005836 - Avoid slop NodePool::Block allocations. r=mccr8.
...
--HG--
extra : rebase_source : 2297b22e7a5d6679d8b25679d338f001c7427b60
2014-05-13 20:42:27 -07:00
Jed Davis
eb69e55005
Bug 973090 - IPC remoting for child GC/CC logging. r=mccr8, r=bent
...
This has a few semi-interdependent pieces:
* Factoring out the file opening/closing/renaming from the GC/CC logging.
* Using IPC to have the child log to files that the parent opened.
* Changing nsIMemoryInfoDumper.dumpGCAndCCLogsToFile to report completion
of child process logging (which was impossible before this, and which is
needed to have a meaningful test case).
* Changing about:memory to dump logs for child processes, matching the
behavior of the "Measure" button, because it can tell the user where
they are now.
* Add a test for multiprocess GC/CC log dumping (only of the XPCOM
interface, not by clicking buttons and scraping the about:memory page,
but done as a chrome mochitest to start remote browsers); based on
test_memoryReporters2.xul in the same directory.
2014-05-13 13:13:00 -04:00
Andrew McCreight
9e9b401d1d
Bug 958353, part 2 - Always check if an ICC is in progress in FixWeakMappingGrayBits(). r=smaug
...
This makes it easier to test against invalid interleavings of IGC and ICC.
2014-05-13 11:58:39 -07:00
Birunthan Mohanathas
861e6d5ffe
Bug 995730 - Fix style violations in xpcom/base/. r=froydnj,continuation
2014-05-13 20:41:38 +03:00
Aaron Klotz
cdfc458acb
Bug 1005748: Add basic UNC support to NtPathToDosPath; r=ehsan
...
--HG--
extra : rebase_source : 78c56f036a705c624721c705c51b1c4a0aefcdc0
2014-05-12 13:32:28 -06:00
Neil Rashbrook
0b29793db8
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-11 10:47:11 +01:00
Andrew McCreight
7ee0fd7bbf
Bug 972605, part 3 - Make nsErrorService use a modern hash table. r=froydnj
2014-05-09 13:47:37 -07:00
Andrew McCreight
a3ef5307d4
Bug 972605, part 2 - Inline nsInt2StrHashtable. r=froydnj
...
Also clean up the style a little.
2014-05-09 13:47:36 -07:00
Andrew McCreight
60e975c286
Bug 972605, part 1 - Rename nsErrorService arguments to aFoo form. r=froydnj
2014-05-09 13:47:36 -07:00
Daniel Holbert
7c8f2daa82
Bug 1008322: Guard webspeech-specific parts of ShimInterfaceInfo.cpp to fix --disable-webspeech builds. r=ehsan
2014-05-09 11:34:36 -07:00
Daniel Holbert
1ff656a3a7
Bug 1008083: Guard variable 'kTelemetryPrefName' with the same ifdef that its usages are guarded by. r=ehsan
2014-05-09 10:55:29 -07:00
Benoit Girard
e1b1c6e83a
Bug 1004899 - Add stderr to profile output. r=ehsan
...
--HG--
extra : rebase_source : e21a60c60521bcd0471c36645378ef9231c9e243
2014-05-01 22:05:49 -04:00
Andrew McCreight
a9b7f36e0f
Bug 999575 - Add an already_AddRefed<> Put method for nsRefPtrHashtable. r=froydnj
2014-05-09 09:49:52 -07:00
Chris Peterson
92df38d44e
Bug 1007525 - Mark xpcom/typelib/xpt/ as FAIL_ON_WARNINGS. r=bholley
2014-05-07 19:53:49 -07:00
Benoit Jacob
2e1ef0025a
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04:00
Ehsan Akhgari
cfdece92b0
Bug 994964 follow-up: fix --disable-webrtc builds; rs=jesup
2014-05-08 18:39:12 -04:00
Igor Kolupaev
7bdea89913
Bug 997141 - Remove the recur parameter from nsIFile::Contains(). r=bsmedberg
2014-05-07 23:03:41 +03:00
Ehsan Akhgari
958ae15e31
Bug 994964 - Make DOM XPIDL interfaces non-scriptable, and add shim Components.interfaces entries for them; r=bzbarsky,bholley
2014-05-08 16:45:36 -04:00
Neil Rashbrook
a998ae77f6
Backout of bug 514280 changeset c738f7348dea for build failure on a CLOSED TREE
2014-05-08 20:35:09 +01:00
Neil Rashbrook
f9520ae677
Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg
2014-05-08 20:08:38 +01:00
Andrew McCreight
e62951375f
Bug 1005500 - Use a separate linear scan pass to mark nodes white in ScanRoots. r=smaug
...
The existing code for ScanRoots looks at all traversal roots in the graph,
and floods white or black from them. This can take up a large chunk of the
Scan/Unlink slice of ICC, maybe because graph traversal has poor locality.
Outside of a leak, the cycle collector graph is usually only large when
there is a lot of garbage (95% or more of the graph), so we want to
speed up white marking.
To do this, I add a new pass that scans every node and directly sets the
color of any node that should be white, without flooding. This is very
fast. Then a second pass floods black from any remaining grey nodes.
On the page close CC for a real page, I measured a 10x improvement in
ScanRoots() time with this algorithm, from 3ms to 0.3ms.
2014-05-08 11:28:03 -07:00
Jonathan Watt
3b52ee43ad
Bug 590790 part 2 - Add memory reporter for VectorImage's SVGDocumentWrapper's document. r=dholbert, r=njn, r=seth
2014-05-08 10:53:00 +01:00
Chris Peterson
c7e6ac0c67
Bug 1006998 - Fix -Wdeprecated-writable-strings warnings by const-correcting typelib/xpt code. r=bholley
2014-05-05 21:40:06 -07:00
Ryan VanderMeulen
446c9509db
Backed out changeset 86f9003c1251 (bug 924622) for causing bug 1007284 (frequent mochitest-e10s-2 shutdown hangs).
2014-05-07 17:03:03 -04:00
Nicolas Silva
a6863f0e23
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
d4400ed747
Backed out changeset d7d7cc47bcc6 (bug 924622) for bustage.
...
CLOSED TREE
2014-05-07 10:22:21 -04:00
Nicolas Silva
204e86d14e
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, r=sotaro
2014-05-07 11:06:19 +02:00
Andrew McCreight
48337cf849
Bug 1005975 - Define FloodBlackNode as a convenience function. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
09dabdad5b
Bug 1006635, part 2 - Add more Checkpoints to the cycle collector. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
d574e71a90
Bug 1006635, part 1 - Make TimeLog use doubles and reduce the threshold. r=smaug
2014-05-06 17:25:27 -07:00
Andrew McCreight
72fc10903d
Bug 1005232 - Log number of incremental cycle collector slices. r=smaug
2014-05-06 17:25:26 -07:00
Andrew McCreight
bdea2bfd58
Bug 1004017 - Rename CycleCollectedJSRuntime::NeedCollect() and Collect(). r=smaug
2014-05-06 17:25:26 -07:00
Andrew McCreight
67aeb89cc4
Bug 958353 - Add finishCC() and ccSlice() methods for testing incremental cycle collection. r=smaug
2014-05-06 17:25:26 -07:00
Carsten "Tomcat" Book
1037ec50fc
merge b2g-inbound to mozilla-central
2014-05-06 14:33:21 +02:00
Ed Morley
b83255e4e2
Fix incorrect resolution of merge conflicts between bug 995730 and bug 1001542 (no bug; CLOSED TREE)
...
--HG--
extra : amend_source : 5b90e13f8f3a7419e26acee6e483855bdd8c3558
2014-05-06 09:00:06 +01:00
Wes Kocher
51b4f13fac
Merge m-c to b2g-inbound
2014-05-05 21:19:59 -07:00
Ehsan Akhgari
4b2590958a
Bug 1005321 follow-up: fix the link error on Windows
2014-05-05 20:39:46 -04:00
Ehsan Akhgari
960e39897a
Bug 1005321 - Convert the xpt code to C++; r=bholley
...
--HG--
rename : xpcom/typelib/xpt/src/xpt_arena.c => xpcom/typelib/xpt/src/xpt_arena.cpp
rename : xpcom/typelib/xpt/src/xpt_struct.c => xpcom/typelib/xpt/src/xpt_struct.cpp
rename : xpcom/typelib/xpt/src/xpt_xdr.c => xpcom/typelib/xpt/src/xpt_xdr.cpp
rename : xpcom/typelib/xpt/tests/PrimitiveTest.c => xpcom/typelib/xpt/tests/PrimitiveTest.cpp
rename : xpcom/typelib/xpt/tests/SimpleTypeLib.c => xpcom/typelib/xpt/tests/SimpleTypeLib.cpp
2014-05-05 19:52:09 -04:00
Eric Rahm
9b5d3eccc6
Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
...
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Dave Hylands
cbc0a4b450
Bug 1001542 - Make OS_VERSION use b2g version info rather than Linux version info.
2014-05-05 15:24:58 -07:00
Bruce Sun
a78f90258e
Bug 990957 - Seek again in Tell(), Available(), Seek() of nsMultiplexInputStream. r=mcmanus
2014-05-05 12:22:16 +08:00
Jim Blandy
af64a62438
Bug 1004313: Handle partial flushes correctly in nsBufferedOutputStream::WriteSegments. r=mcmanus
2014-05-02 11:32:23 -07:00
Eric Rahm
33ef4a9017
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00
Ryan VanderMeulen
a4f9513be6
Backed out changeset 83d914c3431d (bug 999473) for Linux mochitest-other failures.
2014-05-01 16:45:21 -04:00
Birunthan Mohanathas
3bdf6e645e
Bug 995730 - Change xpcom/string/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:46 +03:00
Birunthan Mohanathas
04c14a71bf
Bug 995730 - Change xpcom/io/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:43 +03:00
Birunthan Mohanathas
cf3e12c35a
Bug 995730 - Change xpcom/base/ to use 2 space indentation
...
This also removes trailing whitespace in reindented files.
2014-05-05 20:30:39 +03:00
Eric Rahm
57fc0ea6ef
Bug 999473 - report number of open file descriptions (fd) in about:memory. r=njn
2014-04-25 13:00:15 -07:00
Nathan Froyd
e616ea9a4c
Bug 1003306 - part 1 - add PermissionManager/nsIPermissionManager to ServicesList.h; r=bsmedberg
2014-04-29 13:27:02 -04:00
Nathan Froyd
98d4e9240c
Bug 1003297 - part 2 - tidy up refcount management in mozilla::services::Get*; r=bsmedberg
2014-04-29 11:59:45 -04:00
Nathan Froyd
59c84adaad
Bug 1003297 - part 1 - don't try to return XPCOM services from mozilla::services getters post-XPCOM shutdown; r=bsmedberg
2014-04-29 11:51:14 -04:00
Ryan VanderMeulen
568d01e29e
Backed out changesets 74ef5120ae2f and d26dfd37031a (bug 924622) for frequent Android and OSX crashes.
...
CLOSED TREE
2014-04-30 13:21:07 -04:00
Nicolas Silva
5656eb9940
Bug 924622 - Change the #include order of ImageBridge headers in nsXPCOMInit.cpp to avoid macro name collision on some platforms.
2014-04-30 17:43:09 +02:00
Nicolas Silva
79c0192464
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-30 17:39:59 +02:00
Ehsan Akhgari
e04a4fd6c3
Bug 999888: Make ObserverLists not use mozilla::AtomicRefCounted; r=froydnj
...
--HG--
extra : rebase_source : a1a29242b9a8d6e265d20352d9f24d743f20a47c
2014-04-29 11:32:03 -06:00
Aaron Klotz
6e588eb232
Bug 999888: Make IOInterposer leakcheck-friendly; f=ehsan, r=froydnj
...
--HG--
extra : rebase_source : ff65dd0f8ab4f28bf53b52f71cda1793df9a108a
2014-04-29 11:29:43 -06:00
Alphan Chen
f2b3623c0f
Bug 1000755 - [about:service] Refine the format of output reports. r=dhylands
2014-04-28 14:20:41 +08:00
Wes Kocher
41a6c8af88
Merge inbound to m-c
2014-04-28 15:54:30 -07:00
ffxbld
8714c49598
Version bump. CLOSED TREE NO BUG a=release
2014-04-28 14:18:37 -04:00
Nicolas Silva
e654487c2a
Bug 924622 - Backout because of e10s mochitest regression on linux on a CLOSED TREE
2014-04-28 19:32:32 +02:00
Nicolas Silva
a5e3e709e3
Bug 924622 - Move some #includes around to fix the build on a CLOSED TREE
2014-04-28 19:11:56 +02:00
Nicolas Silva
57653a79d1
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-28 16:03:12 +02:00
Birunthan Mohanathas
688711cb03
Bug 900908 - Part 4: Remove numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h. r=froydnj
2014-04-27 03:07:00 -04:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Randell Jesup
86cd5daff6
Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan
2014-04-27 00:29:18 -04:00
Zack Weinberg
d5fc5cb4a1
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg
2014-04-26 10:56:54 -04:00
Chris Peterson
4b2389ff01
Backed out changeset 18034a2d0732 (bug 940329) for build bustage
2014-04-26 23:11:47 -07:00
Nathan Froyd
07e80e3605
Bug 940329: fix spammy implicit type-conversion warnings in nsTSubstring.h r=ehsan
2014-04-27 00:29:25 -04:00
Randell Jesup
000c46808d
Bug 940329: avoid warnings from using size_t in ImplCycleCollectionTraverse() r=ehsan
2014-04-27 00:29:18 -04:00
James Kitchener
687b04b1d8
Bug 1000030 - Don't let Windows overwrite length 0 strings. r=dmajor
2014-04-26 04:03:00 -04:00
Birunthan Mohanathas
c625b46091
Bug 900903 - Part 3: Remove numbered macros in nsCycleCollectionParticipant.h. r=smaug
2014-04-25 12:50:00 -04:00
Nathan Froyd
7301de13be
Backout 2629257557ff:284be1609a50 (bug 1001842) for debug xpcshell bustage
2014-04-26 13:18:32 -04:00
Nathan Froyd
5e810ecabe
Backout f615a0532971:154fb9a9e0bc (bug 493701) for Cpp bustage
2014-04-26 13:12:10 -04:00
Zack Weinberg
0ebd4af1d3
Bug 1001842 part 1: record the umask in NS_InitXPCOM2 and expose it to JS via nsSystemInfo. r=bsmedberg
2014-04-26 10:56:54 -04:00
Arpad Borsos
11f28b0265
Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
...
--HG--
extra : rebase_source : cb875dcd70b76b819abb1d516db74e55a3babd54
2013-12-10 13:28:31 +01:00
Arpad Borsos
8bb9ef822b
Bug 493701 - part 1: add nsTObserverArray::BackwardIterator; r=bzbarsky
...
--HG--
extra : rebase_source : cf37f9cf8ee8a4198741eea69d0fcedef64053fc
2013-12-10 13:28:31 +01:00
Benoit Jacob
4172458bd1
Bug 989320 - Add cycle collection support for MFBT EnumeratedArray - r=mccr8
2014-04-25 22:34:03 -04:00
Eric Rahm
73af1e6314
Bug 1001137 - Use proper pref for configuring fifo directory. r=froydnj
...
--HG--
extra : rebase_source : 6d45f4b6b9d86ab6718d07a4a7bfe83454d095fd
2014-04-25 13:53:01 -07:00
Eric Rahm
18f7073ce7
Bug 1000461 - Enable triggering memory report via fifo device on OS X. r=froydnj
2014-04-24 17:35:59 -07:00
Eric Rahm
4277a8d2df
Bug 1001137 - Enabling FifoWatcher via user pref does not work. r=froydnj
2014-04-24 15:58:57 -07:00
Ed Morley
551fcae876
Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE
2014-04-25 17:51:42 +01:00
Trevor Saunders
3f904cfc43
bug 980753 - make nsRefPtr movable r=froydnj
2014-02-26 18:11:14 -05:00
Nicolas Silva
96601efc35
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-25 13:55:36 +02:00
Birunthan Mohanathas
55e230eaba
Bug 900908 - Part 2: Add variadic variants of numbered macros in nsIClassInfoImpl.h. r=froydnj
...
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:21:00 +02:00
Birunthan Mohanathas
0983aefecd
Bug 900908 - Part 1: Add variadic variants of numbered macros in nsISupportsImpl.h. r=froydnj
...
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:20:00 +02:00
Birunthan Mohanathas
a5ddfe2311
Bug 900903 - Add variadic variants of numbered macros in nsCycleCollectionParticipant.h. r=smaug
...
The old numbered macros are still present, but simply forward to the variadic
macro. They will be removed after all instances of the numbered macros have
been converted.
2014-04-24 11:13:00 +02:00
Aaron Klotz
dfa2de3ba5
Bug 998795: Use nsAutoPtr to initialize MainThreadIOLoggerImpl(); r=froydnj
2014-04-24 20:06:12 -06:00
Eric Faust
a41d6a1508
Bug 1001126 - Allow AllTraces CC logging other than at shutdown. (r=mccr8)
2014-04-24 14:28:49 -07:00
Eric Rahm
78fb9239ae
Bug 1000621 - Check if DMD is enabled before dumping. r=njn. DONTBUILD
2014-04-24 12:43:11 -07:00
Steven Michaud
4bae9fb75a
Bug 997908 - Add null check to ReleaseSliceNow() as bandaid for Mac topcrasher. r=smaug
2014-04-24 11:46:39 -05:00
Shelly Lin
af4ca54a0d
Bug 908995 - Part 2: Track runnables, tasks and timer events with TaskTracer. r=khuey.
2014-03-27 16:49:06 +08:00
Ehsan Akhgari
f414f56cb2
Bug 999883 - Make BackgroundHangMonitor not use mozilla::RefCounted; r=froydnj
2014-04-23 09:45:56 -04:00
Randell Jesup
04488d3bb4
Bug 998880: don't busy-wait in nsThread waiting for shutdown or DISPATCH_SYNC r=bsmedberg
2014-04-22 15:34:24 -04:00
Jan Beich
ac960a4665
Bug 983953 - Don't try to use vpx_mem if --with-system-libvpx doesn't provide. r=glandium
2014-04-22 08:44:04 -04:00
Jim Chen
683ad4682a
Bug 985155 - Add signal trampoline on ARM Linux to work around kernel bug. r=snorp
2014-04-21 17:15:44 -04:00
Aaron Klotz
460566bab5
Bug 935482: New IOInterposer observer for recording main thread I/O to file; r=froydnj
2014-04-19 14:28:02 -06:00
Terrence Cole
4ab31f28b9
Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
...
--HG--
rename : js/public/Tracer.h => js/public/TracingAPI.h
2014-04-11 15:19:05 -07:00
Ryan VanderMeulen
620d0f57eb
Merge inbound to m-c.
2014-04-18 09:08:59 -04:00
Ryan VanderMeulen
5346758a03
Merge m-c to b2g-inbound.
2014-04-17 22:37:10 -04:00
Dave Hylands
775a6c8685
Bug 990230 - Fix heap use-after-free in memory reporter. r=n.nethercote
2014-04-17 16:57:30 -07:00
Randell Jesup
627f6cdcb0
Bug 997286: bustage fix on a CLOSED TREE rs=dholbert
2014-04-17 15:32:34 -04:00
Randell Jesup
7164e62f23
Bug 997286: Don't depend on NewThread event timing; add test for suicidal initial events r=bsmedberg
2014-04-17 15:13:44 -04:00
Daniel Holbert
1d864c60b8
Bug 997982: Mark xpcom/glue/tests/gtest/ as FAIL_ON_WARNINGS. r=froydnj
2014-04-17 15:10:43 -07:00
Chris Peterson
0c23b19f12
Bug 997026 - Part 1: Fix clang -Wunused-const-variable warnings in xpcom. r=froydnj
2014-04-15 00:24:13 -07:00
Nathan Froyd
6ca1704821
Bug 682216 - add a memory reporter for libnestegg's memory; r=njn,kinetik
2014-04-08 10:36:30 -04:00
Daniel Holbert
5b811ca103
Bug 997306: Use size_t loop iterators in TestGCPostBarriers.cpp to fix signed/unsigned comparison build warnings. r=jonco
2014-04-17 09:00:34 -07:00