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
Cameron McCormack
a5b7829d71
Bug 1273838 - Part 0.9: Add Ptr{Holder,Handle} typedefs for nsMainThreadPtr{Holder,Handle}. r=bholley
...
--HG--
extra : rebase_source : 12d60b4f31c3aa9183bcd8455357be4179f9a954
2016-05-21 10:02:54 +10:00
Cameron McCormack
e0b47504da
Bug 1273838 - Part 0.8: Add nsMainThreadPtr{Handle,Holder} constructors that take already_AddRefed pointers. r=bholley
...
--HG--
extra : rebase_source : bbdd9945e4621a54510f0259fc01454cc8642b17
2016-05-21 10:02:54 +10:00
Boris Zbarsky
46fb203b06
Bug 1273661 part 2. Add a way to trace a RefPtr<T> or OwningNonNull<T> via a Rooted. r=terrence,smaug
2016-05-18 12:23:35 -04:00
Nicholas Nethercote
ebf2837e7e
Bug 1273712 (part 2) - Add a new overloading of Base64Encode(). r=erahm.
...
This will be used in bug 1273711 to avoid an OOM.
This also tweaks one of the existing overloadings of Base64Encode to return
NS_ERROR_OUT_OF_MEMORY on OOM instead of NS_ERROR_INVALID_ARG.
--HG--
extra : rebase_source : a2ad472b11ac2c858487bf5fdae84d183084773b
2016-05-19 08:55:46 +10:00
Nicholas Nethercote
47eac9822f
Bug 1273712 (part 1) - Rename arguments and variables in Base64.{h,cpp}. r=erahm.
...
The argument naming in Base64.{h,cpp} is horribly confused, with a lot of them
gotten backwards. This patch fixes that, and also introduces a more consistent
naming scheme for arguments and local variables: "binary" is used for binary
data, and "base64" is used for base64-encoded data.
This patch doesn't change any functionality.
--HG--
extra : rebase_source : 7d8a08762e291851bd117a0409fc8715b830fdbe
2016-05-19 08:53:50 +10:00
Boris Zbarsky
61b3aedfa3
Backed out changesets bdb5b50fd858, 74dbcb56456d, 8f319062be85, 9806d7a88802, c08f417d85fd (bug 1273661) for build bustage and CLOSED TREE.
2016-05-19 00:26:24 -04:00
Ting-Yu Lin
316b3d93b6
Bug 1272831 - Add AutoRestore::SavedValue() to retrieve the saved value. r=froydnj
...
MozReview-Commit-ID: eZCWmTpvXi
--HG--
extra : rebase_source : fc43e8b43edaad362971e7c7f91895759f47bf8f
2016-05-14 09:47:14 +08:00
Boris Zbarsky
8c3af4a958
Bug 1273661 part 2. Add a way to trace a RefPtr<T> or OwningNonNull<T> via a Rooted. r=terrence,smaug
2016-05-18 12:23:35 -04:00
Andrea Marchesini
98894192c9
Bug 1272781 - nsEscape should work with ns(C)Strings and not with char pointers, r=smaug
2016-05-18 18:21:56 +02:00
Aaron Klotz
4d218d003f
Bug 1258009
: Move nsLocalFile::Launch back to the main thread on Win32, but pass SEE_MASK_ASYNCOK and a parent HWND; r=jimm
...
This is as much a perf issue as it is a UX issue. We should be passing a HWND to
ShellExecuteEx because it can show UI, and that UI should have a proper
parent-child relationship with the Mozilla window. We should do that on the
main thread because of the GUI stuff. OTOH, we want the ShellExecuteEx call to
be a lightweight as possible, hence the SEE_MASK_ASYNCOK flag.
MozReview-Commit-ID: 7VLkWTRWPoe
--HG--
extra : rebase_source : ce16bc0c926a299d9b9103ad0697e3cd07b9157d
2016-05-05 16:52:18 -06:00
Bob Owen
e809e9f918
Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
...
MozReview-Commit-ID: 1vgDPjpcwz3
--HG--
extra : rebase_source : 40966d98ca6c37f30884639d648907b4760ae240
2016-05-15 16:41:40 +01:00
Bob Owen
c43bf02cda
Bug 1035125 Part 8: Pass sandboxing pointers through XRE_InitChildProcess instead of linking to more functions in xul. r=aklotz,glandium
...
MozReview-Commit-ID: 5AiktOArpfU
--HG--
extra : rebase_source : 1ba3be949e2bfeb3b67687ab05d43342852ab764
2016-05-15 16:35:22 +01:00
Ben Kelly
77ab8893ab
Bug 1093357 P4 Follow-on to nsPipe3.cpp to address review feedback missing in P0 patch. r=me
2016-05-16 03:31:48 -07:00
Ben Kelly
61c706ab56
Bug 1093357 P0 Explicitly advertise that nsPipeInputStream supports ReadSegments(). r=froydnj
2016-05-15 10:32:09 -07:00
Chris Peterson
8a9e2d2bd4
Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium
2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
Andrea Marchesini
6f820b5dd7
Bug 1272298 - nsFormSubmission should support "\0" input string, r=smaug
2016-05-13 22:48:03 +02:00
Kyle Huey
c85171ace9
Bug 1269056: Part 1 - Implement a rough PostDelayedTask equivalent on nsThread. r=froydnj
2016-05-12 15:15:43 -07:00
Kyle Huey
d3cc4b02b6
Bug 1268160: Assert that PostIdleTask is only used on the main thread. r=jld
2016-05-12 15:15:43 -07:00
Andrew McCreight
cf1d25b060
Bug 1271848, part 2 - Annotate invalid refcount crashes with CC participant information. r=smaug
2016-05-12 10:54:33 -07:00
Andrew McCreight
1dc278fe13
Bug 1271848, part 1 - Add ClassName() method to the CC participant. r=smaug
...
This will let us report better information about participants at runtime.
2016-05-12 10:54:33 -07:00
Randell Jesup
f02760cc79
Bug 1213050: clean up TaskQueue before dropping references to it r=cpearce
...
Also adds assertion TaskQueue isn't trying to kill itself
MozReview-Commit-ID: 1AVuYcfnBBA
2016-05-12 00:53:19 -04:00
Nicholas Nethercote
50166d7047
Bug 1266651 (part 2) - Give nsThreadShutdownContext a proper constructor. r=froydnj.
2016-04-20 11:49:48 +10:00
Nicholas Nethercote
3063dae9e2
Bug 1266651 (part 1) - Rename nsThreadShutdownContext members. r=froydnj.
...
--HG--
extra : rebase_source : c5c361a2f2f2fa2c1bced5d2a15d294cef01724c
2016-04-20 11:46:35 +10:00
Dan Glastonbury
526fdd85f6
Bug 1224973 - Part 5: Implement suspend decoding for background video. r=cpearce,jwwang,jya
...
Implemented by short-circuiting calls to RequestVideoData in MDSM so no
frames are decoded. Resuming playback when video moves to foreground by
using the SeekTask/SeekJob/Seek in MDSM with result of GetMediaTime().
Special consideration is made to only seek the video part of Seek() to
remove an audible glitch in the audio playback when the video becomes
visible again.
MozReview-Commit-ID: 7YFDTanslXu
2016-05-12 09:54:15 +10:00
Nathan Froyd
f780378910
Bug 1263197 - part 4 - disable logging on Android release builds; r=erahm
2016-05-06 09:11:17 -04:00
JW Wang
fd8704734d
Bug 1269963. Part 1 - Add a SyncRunnable::DispatchToThread() overload for AbstractThread. r=bobbyholley.
...
MozReview-Commit-ID: Jog4glNrUHw
2016-05-04 16:24:25 +08:00
Eric Rahm
c41c5394be
Bug 1268215 - Make CCGraphBuilder::AddNode fallible. r=mccr8
2016-05-05 13:54:18 -07:00
Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
44cee0989e
Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Kyle Huey
7c2af31504
Bug 1268313: Part 5 - Make NS_NewRunnableMethod able to call const functions. r=froydnj
2016-05-05 01:44:59 -07:00