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