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
Andrew McCreight
e3b6a8b033
Bug 1150916 - Be sure we aren't iterating over a hashtable while it is modified in nsObserverService::UnmarkGrayStrongObservers(). r=froydnj
...
The QI in xpc_TryUnmarkWrappedGrayObject() might somehow trigger a GC,
which in turn could destroy an observer, that would in turn call
RemoveObserver() which mutates the hash table that we're enumerating.
2015-04-08 17:16:30 -07:00
Ben Turner
81980e5108
Bug 1149888 - Make PLDHashTable::mRecursionLevel atomic, r=froydnj. Pushing on CLOSED TREE with a=ryanvm.
2015-04-07 11:51:35 -07:00
Randall Barker
b7e4e29621
Bug 1097804 - Part 1 - Create a library containing nsISocketTransportService and nsIDNS that can be used to support standalone WebRTC. r=mcmanus
...
--HG--
extra : rebase_source : 9a97f2622a0d7bd9f672aa652450af259792e059
2015-04-03 15:54:00 +02:00
Randall Barker
c236b48231
Bug 1093934 - Create a XPCOM library that can be used to support standalone WebRTC. r=nfroyd
...
--HG--
extra : rebase_source : 93f11457b16b344e148a6fcb924b286ef8a48051
2015-04-03 15:52:00 +02:00
Mark Finkle
e10472f6d0
Bug 1149094 r=blassey
2015-04-06 14:42:52 -04:00
Aaron Klotz
6d8475512b
Bug 1150684: Remove XPCOM.h from IOInterposer.h; r=froydnj
...
--HG--
extra : rebase_source : a714c7ca5836d5e3a2c1b9da740795e653477cf1
2015-04-02 14:51:18 -06:00
Jonathan Watt
ffd584f511
Bug 1147491, part 2 - Disable use of BaseTimeDuration::operator/ with floating point values. r=ehsan
2015-04-02 14:03:40 +01:00