Nicholas Nethercote
db496a806e
Bug 1160436 - Fix PLDHashTable::operator=. r=froydnj.
...
This fixes the following problems with PLDHashTable::operator=:
- It doesn't handle self-assigments.
- It leaks the memory used by the assigned-to table.
- It doesn't leave the assigned-from table in a safely destructable state.
--HG--
extra : rebase_source : 433ac3418c00e3bb6d376982e4c679d27e42a377
2015-05-03 17:04:07 -07:00
Ehsan Akhgari
d2b480a8db
Bug 1161240 - Make sure that NS_CloneInputStream correctly deals with null input; r=froydnj
2015-05-05 09:56:47 -04:00
David Major
6ac6e10e68
Bug 1159604 - Use fallible allocations in nsLinebreakConverter.cpp (as the code expects). r=smaug
2015-05-04 07:33:00 +02:00
Benjamin Smedberg
573f0e2266
Bug 1159737 Stop supporting binary XPCOM components except built into the application. r=froydnj sr=bz Some xpcshell tests of binary functionality need to register binary components. Expose a function "registerAppManifest" in the xpcshell environment to make this available to tests without exposing it to addons. r=bholley
...
--HG--
extra : rebase_source : 1bf47ad1cb8b662ff598c261dae872bc4710e170
2015-05-01 10:23:44 -04:00
Anton Myagkov
5c8a6334c3
Bug 1132558: Add Windows install year to telemetry; r=aklotz
...
--HG--
extra : rebase_source : 6184833bb9988426dbc9cf3aca9a5492c1b3eb40
extra : amend_source : a020b892b16d4a21845e6d94c3d6c5273017c67b
2015-04-22 21:28:43 +03:00
Boris Zbarsky
b8ba520783
Bug 1087330. Make the data structure we use for our promise microtask queue have O(1) first element removal, not O(N). r=khuey
2015-05-01 22:33:01 -04:00
Jean-Yves Avenard
341beecbae
Bug 1155500: Have nsAutoPtr transfers ownership when copying related objects. r=froydnj
...
This emulates auto_ptr behavior.
2015-05-01 14:55:05 +10:00
Mike Hommey
924c9eb636
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote
c8ff2d51c8
Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
...
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)
This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.
--HG--
extra : rebase_source : 4c6ab0c449bc18e8bace8bf036b5bd78d3a2f1c4
2015-04-29 16:38:29 -07:00
Jim Mathies
2ff558b0ac
Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde
2015-04-30 16:43:19 -05:00
Ryan VanderMeulen
8c2f9c9b09
Backed out changeset 31297813dd26 (bug 1159327) for bustage on a CLOSED TREE.
2015-04-30 16:08:29 -04:00
Nathan Froyd
a494081079
Bug 1159306 - explicitly initialize nsBaseHashtableET::mData; r=erahm
...
mData will get automatically constructed when DataType is a class or
struct with a default constructor, but a number of uses of
nsBaseHashtable use integer or pointer types as DataType. Explicitly
initialize mData so that it looks as though we're fully initializing the
class in such cases.
2015-04-28 12:12:36 -04:00
Nathan Froyd
73b20a0500
Bug 1159304 - silence Coverity warning about implicit conversion issues in ReadAheadLib; r=erahm
2015-04-28 12:10:37 -04:00
Nathan Froyd
265eedb594
Bug 1159302 - handle ftell errors in nsINIParser::InitFromFile; r=erahm
2015-04-28 12:09:31 -04:00
Jim Mathies
588accccdc
Bug 1159327 - Enable accessibility more broadly with e10s and add an e10s a11y blacklist for clients with known issues. r=tbsaunde
2015-04-30 14:42:43 -05:00
Wes Kocher
fb48025efb
Backed out changeset 88a77375f4df (bug 924187) for probably breaking PGO builds CLOSED TREE
2015-04-28 15:21:07 -07:00
Valentin Gosu
b6ae7d5d90
Bug 1040285 - Single Quotes should not be encoded in the path r=mcmanus,annevk
2015-04-28 18:29:22 +03:00
Brian O'Keefe
17e8110d7a
Bug 924187 - Deal with interfaces.manifest from the backend. r=mshal
2015-02-13 08:11:57 -05:00
Jed Davis
05e38d787e
Bug 1151597 - Step 2: Don't start child process memory reports until parent is finished. r=erahm
...
--HG--
extra : rebase_source : e271fd7997012d9f3eaff78c1dfff656347442be
2015-04-27 15:46:00 -04:00
Jed Davis
1b9d15f48d
Bug 1151597 - Step 1: Change memory reporting IPC to send one report per message. r=erahm
...
Also fixes bug 1005154 -- since there's now a method for "end of report",
we might as well call it from ActorDestroy instead of Recv__delete__.
--HG--
extra : rebase_source : 89f467fbc553a1a3a4d9b144fff747fa3447f21b
2015-04-27 15:45:00 -04:00
Matt Woodrow
18b4767b02
Bug 1156966 - Avoid writing 0's to mEmptyHdr in nsTArray since it triggers TSan warnings. r=nfroyd
...
--HG--
extra : rebase_source : b6e69723f378d73dc74c301b077618aaafda905a
2015-04-28 17:57:15 +12:00
David Major
ebde6b9f4f
Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
...
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Jed Davis
e7a9b7acc7
Bug 1154041 - Enable child process memory report logging by default on B2G. r=erahm
2015-04-24 14:53:00 -04:00
Nathan Froyd
44bbcc3afa
Bug 1158772 - fix non-idiomatic memset call in nsDeque.cpp; r=erahm
...
Coverty complains that we're using sizeof(mData) here instead of
sizeof(*mData). They're equivalent for all the architectures we care about,
but go ahead and tidy up the syntax to silence the static analyzer.
2015-04-27 07:55:32 -04:00
Nick Fitzgerald
b3ed721b3e
Bug 1158257 - Gecko should always provide SpiderMonkey with a debuggerMallocSizeOf; r=mccr8
2015-04-27 10:58:24 -07:00
Andrew McCreight
76843426d0
Bug 1157304 - Make the empty classname assertion in BloatEntry fatal. r=froydnj
2015-04-27 10:28:19 -04:00
Nathan Froyd
ddbb44d13f
Bug 1158320 - rename nsThread::mRunningEvent to mNestedEventLoopDepth; r=bsmedberg
...
The current name reads to me like a boolean variable, even though it's
actually a counter. Try to make that property more explicit at its uses
by renaming it to something more evocative of counter-ness.
2015-04-24 16:04:50 -04:00
Chih-Kai (Patrick) Wang ext:(%2C%20Cervantes%20Yu%20%3Ccyu%40mozilla.com%3E)
e4803e8cad
Bug 1138620: Allow external binary modules to ignore thread status monitoring for Nuwa process stabilization. r=nfroyd
2015-04-24 14:11:10 +08:00
Ginn Chen
8232df4203
Bug 1153707 jsval is wrongly passed to XPT Javascript method on ppc/32 and SPARC/32 r=bobbyholley
2015-04-27 13:47:17 +08:00
Kyle Huey
0f81e8288a
Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan
2015-04-25 07:23:54 -07:00
Brian Hackett
12ce37a8a6
Bug 1155033 - Handle cyclic or deep ObjectGroup tracing chains during cycle collection, r=terrence.
2015-04-24 18:22:15 -06:00
Wes Kocher
65b94d7a9d
Backed out changeset 022beda1707c (bug 1158366) for wError build bustage
2015-04-24 16:52:52 -07:00
Kyle Huey
cdd7af4cfa
Bug 1158366: Remove nsIDOMHTML[BR|Div|Heading|TableCaption|Table|Title]Element.idl. r=ehsan
2015-04-24 16:09:30 -07:00
Andrew McCreight
0c176ddcff
Bug 1062479 - Use static strings for WeakReference type names. r=ehsan
2015-04-24 09:43:01 -07:00
Cervantes Yu
4f02100ffd
Backed out 2 changesets (bug 1138620
)
...
Backed out changeset e60b4b01c05d (bug 1138620
)
Backed out changeset 52d49dd25d6d (bug 1138620
)
2015-04-24 15:05:44 +08:00
Andrew McCreight
6a3f08dba0
Bug 1116550 - Part 2: Print out negative values for leaks when there are more dtors than ctors. r=froydnj
...
--HG--
extra : rebase_source : 8aa1a8c1c562ae3a2277b9944852f1f7cc1aa18e
2015-04-22 17:20:00 -04:00
Andrew McCreight
cf5870400c
Bug 1116550 - Part 1: Turn HaveLeaks and Clear into methods. r=froydnj
...
--HG--
extra : rebase_source : f033cdf0c00b5fd6d9c7b50581cd1f3fc19795a0
2015-04-22 17:18:00 -04:00
Kartikaya Gupta
cd5b55f8d6
Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong
2015-04-23 15:10:30 -04:00
Jan de Mooij
103a223716
Bug 1155946 part 1 - Add a mayResolve class hook to optimize objects with resolve hooks better. r=bhackett
2015-04-23 15:51:28 +02:00
Carsten "Tomcat" Book
bab9dbe9c4
Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774
) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
...
Backed out changeset 53058615e7a3 (bug 1024774
)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774
)
Backed out changeset a31c514b59da (bug 1024774
)
Backed out changeset 0fcf8757f6c2 (bug 1024774
)
Backed out changeset 9a3c71b925d4 (bug 1024774
)
Backed out changeset 783acc92af04 (bug 1024774
)
Backed out changeset ad71c9a3446b (bug 1024774
)
Backed out changeset 4f37e72e70f6 (bug 1024774
)
Backed out changeset ec869578cc0a (bug 1024774
)
Backed out changeset 3c1d306c8a3d (bug 1024774
)
Backed out changeset b3a90f30892d (bug 1024774
)
Backed out changeset cf7bbb3774c0 (bug 1024774
)
Backed out changeset 2522eb4d3cf2 (bug 1024774
)
Backed out changeset 89a502d88f9c (bug 1024774
)
Backed out changeset 61046ad3161f (bug 1024774
)
Backed out changeset 36706aaa2f06 (bug 1024774
)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Nick Fitzgerald
5689b01c3a
Bug 1024774
- Part 9: Deserialize heap snapshots; r=jimb
2015-04-22 11:09:54 -07:00
Andrew McCreight
43a628f9e3
Bug 1156982 - Add separators to BloatView output. r=froydnj
...
This will ensure we properly parse class names containing spaces.
Note that if a class name somehow ends up containing operator| then this will end up again silently failing.
2015-04-22 11:06:50 -07:00
Nick Fitzgerald
d67ed8553a
Bug 1150253 - Part 2: Gecko should provide a callback for SpiderMonkey to
...
enqueue the onGarbageCollection hook runnable; r=mccr8
2015-04-22 09:43:02 -07:00
Andrew McCreight
a93ff220f9
Bug 1156977 - Assert when aClassName is empty in BloatEntry. r=froydnj
2015-04-22 08:56:30 -07:00
Ehsan Akhgari
ed554e64e3
Bug 1157212
- Teach clang-analyzer about XPT_ASSERT; r=froydnj
2015-04-22 11:40:17 -04:00
Nathan Froyd
ff82112704
Bug 1156790 - mark various nsCOMPtr_helper-esque classes as final; r=mccr8
2015-04-20 16:58:15 -04:00
Francois Marier
17b87281f2
Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
...
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ehsan Akhgari
399276d5fc
Bug 1153348 - Add an analysis to prohibit operator bools which aren't marked as either explicit or MOZ_IMPLICIT; r=jrmuizel
...
This is the counterpart to the existing analysis to catch
constructors which aren't marked as either explicit or
MOZ_IMPLICIT.
2015-04-21 21:40:49 -04:00
Wes Kocher
638b28b8e0
Backed out changeset 02e6a50741a9 (bug 1153348) to hopefully fix the static bustage CLOSED TREE
2015-04-21 15:47:40 -07:00