Commit Graph

13670 Commits

Author SHA1 Message Date
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
Wes Kocher
10b0765a42 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 65e706214cf534170bf6cfe658eb394c0195cb81
2015-04-21 15:35:07 -07:00
Wes Kocher
b6e78e87bc Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
Ehsan Akhgari
3d21a05904 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 16:31:58 -04:00
Ehsan Akhgari
f9d798bcbd Bug 1156030 - Remove some obsolete static assertion macros from the tree; r=Waldo 2015-04-21 14:22:43 -04:00
Nathan Froyd
7fbbaf9fde Bug 1156407 - part 3 - get rid of NS_NewTimer; r=mccr8
It's never called.  We could replace a few do_CreateInstance/InitWithFuncCallback
pairs with NS_NewTimer, but I don't think it's worth doing that ahead of a "stop
using do_CreateInstance for all timer instances" effort.
2015-04-20 14:21:01 -04:00
Nathan Froyd
8af565d0f7 Bug 1156407 - part 2 - make CALLBACK_TYPE enum a private implementation detail of nsTimerImpl; r=mccr8
The CALLBACK_TYPE enum doesn't need to be exposed outside of
nsTimerImpl, so move it inside the class definition.  While we're doing
this, let's C++-ify the enum definition and give the members
non-shouting names.
2015-04-20 14:08:57 -04:00
Nathan Froyd
880dd42a14 Bug 1156407 - part 1 - use static_assert instead of PR_STATIC_ASSERT; r=mccr8
We have better, C++-ier ways of doing compile-time assertions now.  Fold in the
nsTSubstring.cpp change in passing, since mccr8 suggested it in his review.
2015-04-20 13:56:46 -04:00
Botond Ballo
a24a854eb7 Bug 1156538 - Make nsTArray's move constructor implicit. r=froydnj
--HG--
extra : rebase_source : bbb820eb9078be5602496839aabcf8d400c8c806
extra : source : 76e5eb202aa0e3680c19b84ccaf3a0eea83e41ef
2015-04-20 18:42:56 -04:00
Nathan Froyd
60776ece5a Bug 1095098 - followup - add back some static analysis attributes lost in a rebase; r=me 2015-04-20 16:17:00 -04:00
Ehsan Akhgari
9646e11caf Bug 1156028 - Teach clang-analyzer about XPCOM assertion macros; r=froydnj 2015-04-20 13:10:35 -04:00
Ehsan Akhgari
8d22829c76 Bug 1156109 - Make nsStorageInputStream::mStorageStream an nsRefPtr; r=froydnj 2015-04-20 13:10:30 -04:00
Denis Volk
32e981896d Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Aryeh Gregor
044c421f96 Bug 1153649 part 3 - More OwningNonNull improvements; r=bz 2015-04-19 15:28:50 +03:00
Ehsan Akhgari
946466ced9 Fix a missing check in TestStrings.cpp, no bug 2015-04-18 20:51:01 -04:00
Carsten "Tomcat" Book
a7ab8df169 Merge mozilla-central to b2g-inbound 2015-04-21 12:51:15 +02:00
Cervantes Yu
d827320379 Bug 1138620 - Part 1: Allow binary modules to create unmonitored threads that doesn't keep the Nuwa process from stabalization. r=nfroyd 2015-04-21 18:23:09 +08:00
Terrence Cole
5f83d02dfb Bug 1153959 - Use RAII to manage tracing details; r=jonco
--HG--
extra : rebase_source : 9b53b4106e369e62f6d7503a619da89559bd9c02
2015-04-10 13:33:56 -07:00
Ehsan Akhgari
46e47329c5 Back out bug 1149174 since it turns out that the nsTArray range iterators are not stable after all 2015-04-16 18:18:22 -04:00
Wes Kocher
e3210dc1de Backed out 1 changesets (bug 1040285) for windows xpcshell failures CLOSED TREE
Backed out changeset ffd1b16f058b (bug 1040285)
2015-04-16 15:17:15 -07:00
Valentin Gosu
68ac72d180 Bug 1040285 - Single Quotes should not be encoded in the path. r=mcmanus, r=annevk 2015-04-16 01:11:05 +03:00
Jim Blandy
6afdd6c96b Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Jim Blandy
a778e9f970 Bug 1145051: Replace uses of NS_ATTR_MALLOC with new MOZ_ALLOCATOR from mfbt/Attributes.h. r=glandium
--HG--
extra : rebase_source : 294215445f084687ed7fa51b88e7a22e586447a2
2015-03-18 23:56:08 -07:00
Andrew McCreight
e674d4f8f3 Bug 1154403 - Reduce incremental finalize slice time to 5ms. r=smaug
--HG--
extra : rebase_source : a7aba3cdad11a7e7e1ab4986a99eeaec5390d3a5
2015-04-15 08:04:00 +02:00
Kartikaya Gupta
d7702657e5 Bug 1152753 - Add a wrapper to be able to dispatch C++11 lambdas to nsIThread. r=froydnj 2015-04-10 08:13:00 -04:00
Kartikaya Gupta
f7dbd8ca43 Bug 1146349 - Allow NS_NewRunnableMethodWithArgs to take up to 8 arguments. r=froydnj 2015-04-14 11:36:35 -04:00
David Rajchenbach-Teller
b08ce98d2a Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
--HG--
extra : rebase_source : cba2fc37d263d431c3008739a89a4fe47d10b7da
2015-04-10 17:27:57 +02:00
Chris Peterson
46e1fddec4 Bug 1153373 - Move AppendStrongObservers() function definition behind #ifndef MOZILLA_XPCOMRT_API. r=froydnj 2015-04-10 11:54:40 -07:00
Ryan VanderMeulen
ddba70e696 Bug 1150916 - Non-unified bustage follow-up fix. 2015-04-10 21:25:58 -04:00
Andrew McCreight
0dc13cb4a3 Bug 1152505 - CCGraphBuilder::NoteChild should pass aEdgeName by reference. r=smaug 2015-04-09 13:56:00 -04:00
Andrew McCreight
315f9bb7d2 Bug 1144649 - Make CCGraph::AddNodeToMap fallible again. r=smaug
Crashing here is apparently fairly common. This restores the old behavior, so we at least
don't crash immediately, but instead enter a slow downward spiral of leaking.

This improves on the old behavior in that we only try and fail to grow the hash table once,
rather than on every add.  khuey I think reported that the browser got very slow, because
you are going through the very slowest path of the allocator over and over.
2015-04-09 16:00:00 -04:00
Kartikaya Gupta
0f4033d26f Back out cset 35cae02f1552 (bug 1152753) because it introduces a footgun. r=me 2015-04-10 12:13:55 -04:00
Kartikaya Gupta
1cc7ec6936 Bug 1152753 - Add a wrapper to be able to dispatch C++11 lambdas to nsIThread. r=froydnj 2015-04-10 08:13:00 -04:00
Ryan VanderMeulen
579da75a70 Backed out changeset e713ce8013eb (bug 1127618) for suspicion of causing semi-frequent B2G crashes.
CLOSED TREE
2015-04-09 20:05:49 -04:00
Randall Barker
3263a9649b Bug 1101651 - Part 2: Enable WebRTC unit tests to be built using standalone WebRTC library. r=jesup
--HG--
extra : rebase_source : 97215946f8152cc8df425449b7052b0b365ab0e9
2015-04-09 09:15:00 -04:00
Andrew McCreight
3bee6e09f9 Bug 1151541, part 3 - Fix leading tabs in xpcom/. r=froydnj 2015-04-09 10:25:05 -07:00
Andrew McCreight
1e0f87e27d Bug 1151541, part 2 - Fix mode lines in xpcom/. r=froydnj 2015-04-09 10:25:05 -07:00
Andrew McCreight
bc9d4b1de6 Bug 1151541, part 1 - Add MPL2 to StaticMutex.h and stub_test.cpp. r=froydnj 2015-04-09 10:25:05 -07:00
Nicholas Hurley
0b4c1de637 Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
--HG--
extra : rebase_source : 3da2229082ccd041a1ec47ba77d9f0940020f3c9
2015-04-08 14:42:00 +02:00
Andrew McCreight
0854423afa Bug 1150917 - Remove all values from nsIProgrammingLanguage except UNKNOWN and JAVASCRIPT. r=froydnj 2015-04-08 17:16:30 -07:00