Nicholas Nethercote
829225e78d
Bug 1278452 - Remove a redundant null check in xpcom/glue/. r=froydnj.
...
There's another null check just a little earlier.
--HG--
extra : rebase_source : 24968e6bc5f12c3aa5d53711ebbb7f849c4501c3
2016-06-07 16:13:17 +10:00
Jan de Mooij
dad997a833
Bug 1277278 part 3 - Rename error reporter callback to warning reporter, assert it's only used for warnings. r=luke
...
--HG--
extra : rebase_source : ac1febc5220d649853f35c29de89a5e9ffb4fe98
2016-06-07 20:30:48 +02:00
Nathan Froyd
27e75b365b
Bug 1276540 - remove dead instrumentation in xptiInterfaceInfo.cpp; r=erahm
...
Doubt anybody has compiled with the appropriate #define in a while, and
there's no evidence of the associated DEBUG_* constants being used.
2016-06-07 17:09:41 -04:00
Wes Kocher
807cf956d8
Merge m-c to inbound, a=merge
2016-06-06 17:14:49 -07:00
Nathan Froyd
2be85aa542
Bug 1277890 - part 0 - add "append already_AddRefed element" API to nsCOMArray; r=erahm
2016-06-07 04:10:25 -04:00
Nicholas Nethercote
f0f5072443
Bug 1278156 - Remove useless null check in xp_iconv(). r=froydnj.
...
aOutputLeft is null checked and then dereferenced twice more in this function,
and all callers pass a non-null pointer. So just remove the null check.
--HG--
extra : rebase_source : 8190a51fde8434ac346a4e23db5ed4703762778c
2016-06-03 14:59:16 +10:00
ffxbld
219956a13e
Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release
2016-06-06 15:18:13 -04:00
Nicholas Nethercote
4f1d56df39
Backout 0ed86240bc77 for bustage.
2016-06-06 11:51:44 +10:00
Nicholas Nethercote
8bc7cd881e
Bug 1274148 (part 1) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
...
--HG--
extra : rebase_source : b468df852789a22e3d50a9580515bb6aa46784d5
2016-06-06 09:21:00 +10:00
Jed Davis
78e49e2efb
Bug 1114647 - Use firefox for child processes instead of plugin-container. r=ted
...
Disabled on Mac (content processes need to use plugin-container.app for
UI reasons) and on Linux unless --disable-sandboxing (build issues).
Based on work by George Wright <george@mozilla.com>.
--HG--
extra : amend_source : 43986e25743de21e3ddfb7893e3ed550fe6eef76
2016-06-03 12:49:39 -07:00
Andrew Swan
1b1d9f5e45
Bug 1270356 Part 1: Add native messaging paths to XRE directory provider r=kmag
...
MozReview-Commit-ID: 2tjR3r9YySy
--HG--
extra : rebase_source : 1c8da185fd653e91f40cebc5e27ae560a787ef8e
extra : source : 77a30c81f8e830676a23da91b87ab78cda93a4d0
2016-05-12 11:39:27 -07:00
Jan de Mooij
b0f9749010
Bug 1278223 part 1 - Stop using multiple contexts per runtime in gtests. r=fitzgen
2016-06-06 19:45:06 +02:00
Kyle Huey
b42f297a3a
Bug 1273683: Purge any evidence that dougt could write code. r=dougt
2016-06-06 06:51:16 -07:00
Nicholas Nethercote
ec7a660ceb
Bug 1274148 (part 1, attempt 2) - Use MOZ_MUST_USE more in xpcom/io/Base64.h. r=erahm,bagder,mattwoodrow.
...
--HG--
extra : rebase_source : 3e4a861f4f9c4151ffbad110159ad541119278fa
2016-06-06 12:22:14 +10:00
Xidorn Quan
5c01d7c3ee
Bug 1276549 - Remove rvalue reference mark for already_AddRefed params of nsIEventTarget::Dispatch and related methods. r=froydnj
...
MozReview-Commit-ID: J5RAfGW3X7T
--HG--
extra : source : e1ff4b0d5d9d2599ac00bac376597357ffd58ce0
2016-06-01 10:04:54 +10:00
Nicholas Nethercote
a6bf1a62c2
Bug 1276837 (part 2) - Rename the CC Block structs. r=mccr8.
...
nsCycleCollector.cpp has three different structs named "Block", which makes it
hard to read. This patch renames them as EdgeBlock, NodeBlock, and PurpleBlock.
--HG--
extra : rebase_source : cae17ba925559b625f65a4741ae0bb4bee99d078
2016-06-01 09:18:33 +10:00
Nicholas Nethercote
9fe123f601
Bug 1276837 (part 1) - Shrink NodePool::Block. r=mccr8.
...
15% of our "small" OOM crashes are allocations of this struct. Halving its size
will hopefully help reduce that.
--HG--
extra : rebase_source : 5480a540a9584899def045c1401a5aa9a271d72c
2016-06-01 09:13:21 +10:00
Wes Kocher
a181d1f7a0
Backed out 2 changesets (bug 1271593) for GTest failures
...
Backed out changeset 0839aaf88283 (bug 1271593)
Backed out changeset bf90268fe339 (bug 1271593)
2016-05-31 16:47:44 -07:00
Gerald Squelart
7912b3c534
Bug 1271593 - Unit test for NS_NewRunnableFunction - r=froydnj
...
MozReview-Commit-ID: ArwIG9BEhDX
--HG--
extra : rebase_source : fa6fda2379fa563cd2ecaaaef1f66b164d7b5712
2016-05-27 19:20:03 +02:00
Gerald Squelart
52e7064618
Bug 1271593 - NS_NewRunnableFunction should forward its arg - r=froydnj
...
By perfect-forwarding its argument, we can automatically gain move semantics
optimization when storing the given function object into nsRunnableFunction.
Also it allows movable-only function objects.
MozReview-Commit-ID: 9EZK84ZhMvR
--HG--
extra : rebase_source : 9ec11f728d69d4b032d9ba4263241832030b383a
2016-05-10 18:13:14 +10:00
Boris Zbarsky
89b93668b8
Bug 1276112. Stop using GetScriptContextFromJSContext in CycleCollectedJSRuntime::UsefulToMergeZones. r=mccr8
2016-05-27 13:28:26 -04:00
Jarda Snajdr
a8fa0feb87
Bug 1269765
- Notify http-on-opening-request in content process. r=valentin
2016-05-30 01:24:00 +02:00
Carsten "Tomcat" Book
81eb193787
Backed out changeset e8af287d0d10 (bug 1276112) for causing windows gl crashes
2016-05-30 10:29:44 +02:00
Makoto Kato
5fb3b6c9fa
Bug 1275719 - GetShimForParam should traverse parent objects. r=froydnj
...
When using GetIIDForParamNoAlloc to get return paramter type, if param is nsIDOM*, it should get it by GetShimForParam.
When this situation, GetEntryFor Param tries to get nsIDOMDocument, so GetEntryForParam doesn't get entry. Then, GetShimForParam tries to get entry. But since it doesn't traverse parent objects, it will try to get nsIDocShell instead.
So it might not get correct entry.
MozReview-Commit-ID: LaOVymgFMgi
--HG--
extra : rebase_source : 9ce3b38872dd6bcabd473296cc5bda25c7d5ceab
extra : histedit_source : 385797913a2d76e2981b4106d572edd784145126
2016-05-26 23:09:06 +09:00
Nicholas Nethercote
34313286ee
Bug 1272203 (part 4) - Use NotNull for XPTCursor. r=froydnj.
...
This is a nice example of using NotNull for a single non-null pointer that gets
passed around lots of different functions.
2016-05-27 09:49:26 +10:00
Nicholas Nethercote
19c16a645a
Bug 1272203 (part 2) - Use NotNull in nsThread. r=froydnj.
2016-05-27 09:49:23 +10:00
Bobby Holley
70200c80e9
Bug 1275755 - Remove main-thread restrictions on atoms. r=froydnj
2016-05-28 17:08:10 +01:00
Bobby Holley
2c597c5a3d
Bug 1275755 - Use a GC scheme to free unused atoms. r=froydnj
2016-05-28 17:08:08 +01:00
Bobby Holley
95caf3be29
Bug 1275755 - Protect gAtomTable with a lock. r=froydnj
2016-05-28 17:08:07 +01:00
Bobby Holley
3eec1c3284
Bug 1275755 - Use an explicit init routine for the atom table. r=froydnj
2016-05-28 17:08:05 +01:00
Bobby Holley
60591b7a86
Bug 1275755 - Remove MOZ_DUMP_ATOM_LEAKS. r=froydnj
...
I don't think anyone is using this anymore. It would be good to assert that there
are no leaks, but that doesn't pass for me in a local build, and I don't have time
to chase it.
2016-05-28 17:08:03 +01:00
Chris Peterson
11ef78ae89
Bug 1275016 - Rename Endian.h to EndianUtils.h to avoid #include confusion with Android's endian.h stdlib header. r=froydnj
...
--HG--
rename : mfbt/Endian.h => mfbt/EndianUtils.h
2016-05-22 13:31:11 -07:00
Boris Zbarsky
74ebb7940f
Bug 1276112. Stop using GetScriptContextFromJSContext in CycleCollectedJSRuntime::UsefulToMergeZones. r=mccr8
2016-05-27 13:28:26 -04:00
Till Schneidereit
5e6b8217c4
Bug 911216 - Part 13: Set Promise allocation stack as async stack for Promise callback jobs. r=efaust,bz
2016-03-22 16:22:23 +01:00
Wes Kocher
8249ffcbd2
Backed out 4 changesets (bug 1270310
) for mass mochitest bustage CLOSED TREE
...
Backed out changeset ff9ace379d78 (bug 1270310
)
Backed out changeset 605790e5e611 (bug 1270310
)
Backed out changeset 4c302e1119e1 (bug 1270310
)
Backed out changeset 3e2d76bd1f08 (bug 1270310
)
2016-05-26 00:04:04 -07:00
Eric Rahm
99b5f4dce2
Bug 1270310
- Part 2: Pass buffer length to Assign call in ConvertStringLineBreaks. r=froydnj
...
The length of the new buffer being assigned in ConvertStringLineBreaks has
already been calculated, so we can pass that in.
2016-05-05 15:52:16 -07:00
Eric Rahm
288aaa8d36
Bug 1270310
- Part 1: Make allocation in ConvertStringLineBreaks fallible. r=froydnj, r=peterv
...
ConvertStringLineBreaks calls ConvertUnicharLineBreaksInSitu which uses
fallible allocation. We should make the potential allocation in |BeginWriting|
fallible as well and handle the failure. This also updates the callers to
|ConvertStringLineBreaks| to handle the error properly in release builds.
2016-05-05 15:50:35 -07:00
L. David Baron
af57a43c72
Bug 1271182 - Remove MOZ_COUNT_[CD]TOR from nsTimerEvent, since it uses XPCOM reference counting macros. r=khuey
...
I suspect this will fix the odd behavior we're seeing, although I
haven't really thought through how very closely.
MozReview-Commit-ID: qHgBRAc1PE
2016-05-25 18:04:36 -07:00
L. David Baron
fc6592bdbc
Bug 1271182 - Add some deleted assignment operators and copy constructors. r=khuey
...
These are generally good practice for reference-counted objects; they
catch cases where these operations are used by accident, breaking
reference-counting.
This doesn't show any existing problems, though.
MozReview-Commit-ID: EvRkNCymOqT
2016-05-25 18:04:35 -07:00
Ralph Giles
c8210f43ce
Bug 1275439 - Switch debugging to MOZ_LOG. r=erahm
...
This is shorter than MOZ_LOG_MODULES and equally clear.
Add a deprecation warning to encourge folks to migrate,
and update references in the test runner.
MozReview-Commit-ID: HYY3Q9tSu13
--HG--
extra : rebase_source : 83dfe510a34fa82681d6bf7b628bcca075122544
2016-05-16 15:49:20 -07:00
Stephen Pohl
ffe0bf3496
Bug 1027651: Fix comment for XRE_UPDATE_ROOT_DIR. r=rstrong
2016-05-24 22:26:09 -04:00
Andrew McCreight
35eaf64b42
Bug 1273190, part 3 - Fix some modelines in xpcom/. r=froydnj
...
Autogenerated by modeline.py.
2016-05-24 14:45:44 -07:00
Andrew McCreight
1ab7f7f2be
Bug 1273190, part 2 - Add some missing licenses and mode lines to XPCOM gtests. r=froydnj
2016-05-24 14:45:44 -07:00
Andrew McCreight
21bb33df87
Bug 1273190, part 1 - Fix indentation and mode lines for various xpcom/ files. r=froydnj
2016-05-24 14:45:44 -07:00
Jeff Muizelaar
ddb635bc77
Bug 1272359. Report support for AVX and AVX2 in telemetry. r=gfritzsche
2016-05-24 14:25:00 -04:00
Eric Rahm
3e3b6c7f4d
Bug 1270938 - Add stack traces for blocking resource base warnings. r=froydnj
2016-05-23 14:59:30 -07:00
Mantaroh Yoshinaga
15ce3c0751
Bug 1096776 part 2 - Modify animation in order to support null timeline. r=birtles
...
MozReview-Commit-ID: 5iKUtNuqKeX
--HG--
extra : rebase_source : 1c228c136140e1b08355a467578ba6d2ea9c850e
2016-05-23 08:23:14 +09:00
Honza Bambas
bd3a9d8a05
Bug 1274583 - Add SkipUntil method to mozilla::Tokenizer, r=froydnj
...
MozReview-Commit-ID: HndyF0L0pdx
--HG--
extra : rebase_source : ffac585c1ed47eebe6e5e9f0ae8c4d566c7cd317
2016-05-22 07:33:00 -07:00
Kyle Huey
eacb809d5f
Bug 1274114: Factor out main thread specific parts of event processing. r=froydnj
2016-05-22 08:30:03 -04:00
Cameron McCormack
2af45ab23d
Bug 1273838 - Part 2: Add stylo bindings glue for refcounting nsIPrincipals and nsIURIs. r=bholley
...
--HG--
extra : rebase_source : 3feef1315c4c8716952f630a38a4802e118b44ed
2016-05-21 10:02:54 +10:00