Mike Hommey
a60a839fe4
Bug 780562 - Remove support for the chrome "platform" flag. r=bsmedberg
...
Now that the sole use of the flag was removed, remove support for it.
2017-04-14 20:48:53 +09:00
Carsten "Tomcat" Book
360fef9352
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2017-05-16 15:08:58 +02:00
Carsten "Tomcat" Book
d4006b93b2
merge mozilla-inbound to mozilla-central a=merge
2017-05-16 15:04:38 +02:00
Marco Castelluccio
c156e15842
Bug 1353882 - Disable TestArenaAllocator.AllocationsPerChunk and TestArenaAllocator.MemoryIsValid tests in code coverage builds. r=jmaher
2017-05-16 10:39:22 +02:00
Eric Rahm
742a7ee73c
Bug 1356025 - Add Capacity checks to nsTSubstring constructor. r=froydnj
...
MozReview-Commit-ID: 6RIwuvalcRz
2017-05-15 16:52:43 -07:00
Mike Hommey
1f354dbf2a
Bug 1363992 - Remove support for making jemalloc4 the default. r=njn
2017-05-11 13:16:00 +09:00
Steve Fink
0d33348c00
Bug 1364161 - Emit a major GC marker for the end of a major GC, and a slice marker for the end of a slice, instead of the other way around, r=mstange
...
MozReview-Commit-ID: 337I7TeN8tQ
2017-05-12 17:42:43 -07:00
Nathan Froyd
3b526b2200
Bug 1359490 - add an event loop spinning abstraction function; r=gerald
...
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Sebastian Hengst
cbc8bca709
merge mozilla-inbound to mozilla-central. r=merge a=merge
...
MozReview-Commit-ID: Jduo3F6TzgF
2017-05-14 18:04:29 +02:00
Kris Maglione
97dff8870c
Bug 1361900: Part 4 - Use a separate script cache for scripts loaded in the child process. r=erahm,gabor
...
MozReview-Commit-ID: EIdwmuTOl90
2017-05-09 19:52:17 -07:00
Sebastian Hengst
21c66afcab
Backed out changeset ad243db647c7 (bug 1361900)
2017-05-13 18:53:40 +02:00
Patrick McManus
943a320a50
Bug 1362388 - dont let File backed http requests find size on main thread r=nwgh
...
MozReview-Commit-ID: AFM4R0M7dmj
2017-05-05 17:51:13 -04:00
Andrew McCreight
0de06cdb28
Bug 1364528 - Don't synchronously finalize native objects if an exception is pending. r=smaug
...
MozReview-Commit-ID: 6OY3ftH1aWu
2017-05-12 11:16:16 -07:00
Wes Kocher
bfcdda8f89
Backed out 2 changesets (bug 1362388) for android build bustage in nsHttpChannel.cpp a=backout
...
Backed out changeset f5b4fbe31c01 (bug 1362388)
Backed out changeset 446ecc3f5715 (bug 1362388)
MozReview-Commit-ID: DI01cDPrgM7
2017-05-12 13:58:28 -07:00
Kris Maglione
12df64d482
Bug 1361900: Part 4 - Use a separate script cache for scripts loaded in the child process. r=erahm,gabor
...
MozReview-Commit-ID: EIdwmuTOl90
2017-05-09 19:52:17 -07:00
Patrick McManus
f3e2c282bd
Bug 1362388 - dont let File backed http requests find size on main thread r=nwgh
...
MozReview-Commit-ID: AFM4R0M7dmj
2017-05-05 17:51:13 -04:00
Ehsan Akhgari
ee496dbb18
Bug 1362814 - Part 2: Move GeckoProfilerReporter to its own header; r=mstange
...
This allows us to get rid of the nsIMemoryReporter.h inclusion in GeckoProfiler.h.
That brings XPCOM string headers with it.
2017-05-12 02:35:09 -04:00
Wes Kocher
cc93c3ff89
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: HCapLqbD816
2017-05-11 17:30:41 -07:00
Wes Kocher
43521a550d
Merge autoland to central, a=merge
...
MozReview-Commit-ID: 4Po5DGPupTx
2017-05-11 16:43:57 -07:00
Ehsan Akhgari
6cc969475e
Bug 1364243 - Bring down the number of native stacks submitted through BHR temporarily in the hopes of not blowing up the telemetry ping sizes on Nightly for Windows x86; r=mystor a=kwierso
2017-05-11 19:00:22 -04:00
Sebastian Hengst
d4427ce280
Backed out changeset a418e4a81c02 (bug 1362388) for build bustage from netwerk/protocol/http/nsHttpChannel.cpp:597 not being declared. r=backout
2017-05-11 18:01:01 +02:00
Patrick McManus
1dd7fb6b13
Bug 1362388 - dont let File backed http requests find size on main thread r=nwgh
...
MozReview-Commit-ID: AFM4R0M7dmj
2017-05-05 17:51:13 -04:00
Patrick McManus
2162f6b405
Bug 1362498 - cache some networking mozilla::services r=bagder
...
MozReview-Commit-ID: G61lDIOKcm
2017-05-05 14:32:19 -04:00
JW Wang
af151b8cf3
Bug 1363676. P1 - use Variant as the internal storage of ResolveOrRejectValue. r=gerald
...
MozReview-Commit-ID: 4B3M3hvfvyz
2017-05-09 18:24:18 +08:00
Wes Kocher
d91c335fa3
Merge inbound to central, a=merge
...
MozReview-Commit-ID: DfRZi0gKjit
2017-05-10 16:48:03 -07:00
JW Wang
06ced1b283
Bug 1362910. P1 - enable move when IsExclusive is true. r=gerald
...
When IsExclusive is true, there is at most only one consumer.
So it is safe to move the ResolveOrRejectValue stored in the promise.
MozReview-Commit-ID: ED9fFr7TkvN
2017-05-11 01:30:12 +08:00
Milan Sreckovic
6dd3801c9c
Bug 1358297: Part 4. Optimize Strip/CompressWhitespace as a special case using ASCIIMask. r=froydnj
...
MozReview-Commit-ID: 2RVV3rPqOhl
2017-05-10 13:12:42 -04:00
Milan Sreckovic
381c32b166
Bug 1358297: Part 3. Create special case for stripping CR and LF on TSubstring, and use it in all the places that it is called. Use ASCIIMask to make it fast. r=froydnj
...
MozReview-Commit-ID: 5ugh3Ma0OtH
2017-05-10 13:12:36 -04:00
Milan Sreckovic
e97cb20a93
Bug 1358297: Part 2. Helper class to mask ascii characters, letting us do a faster test for membership in a string/character set. r=froydnj
...
MozReview-Commit-ID: 1s3mYNVThoD
2017-05-10 13:12:30 -04:00
Milan Sreckovic
4fd9c00564
Bug 1358297: Part 1. Unit test, including performance, for Strip/CompressWhitespace. Also using AssignLiteral in other tests where appropriate. r=froydnj
...
MozReview-Commit-ID: 658BVB7TIRz
2017-05-10 13:12:24 -04:00
Ralph Giles
5d3db1aabc
Bug 1336153 - Remove MOZ_RUST. r=ted
...
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.
MozReview-Commit-ID: EK6FBnAbR
2017-05-09 11:36:13 -07:00
Carsten "Tomcat" Book
c807d58426
merge mozilla-inbound to mozilla-central a=merge
2017-05-10 15:07:28 +02:00
Bill McCloskey
c402a046c2
Bug 1363560 - Name more runnables (r=mccr8)
...
MozReview-Commit-ID: 3hxZDA4JlTV
2017-05-09 21:53:25 -07:00
Bill McCloskey
1e3f60887c
Bug 1361561 - Add GetCurrentVirtualThread function (r=froydnj)
...
This change adds some functions that should be used instead of PR_GetCurrentThread. They both return a PRThread. GetCurrentPhysicalThread does exactly the same thing as PR_GetCurrentThread, but it makes it clearer what you're getting when there are cooperatively scheduled threads running.
GetCurrentVirtualThread returns the same value for all threads in a cooperative thread pool. The actual value it returns is somewhat immaterial.
MozReview-Commit-ID: 4lFwsF2NuzC
2017-05-09 21:53:23 -07:00
JW Wang
2e0cddf589
Bug 1362912. P1 - disallow promise chaining when any of the Then callbacks doesn't return a promise. r=gerald
...
A template won't be instatiated until used. We make it a compile error
to call Then() on ThenCommand<false> to disallow promise chaining.
MozReview-Commit-ID: BUCFgfX4FTJ
2017-05-09 23:11:42 +08:00
Xidorn Quan
6bdcd189bc
Bug 1330235 - Remove NS_STDCALL_FUNCPROTO and replace its usage with decltype. r=froydnj
...
MozReview-Commit-ID: 5jrTqTfDzSk
2017-05-09 23:00:37 +10:00
Byron Campen [:bwc]
c3957680f9
Bug 1361100: Perform all timer init after removal from TimerThread. r=froydnj
2017-05-01 14:50:37 -05:00
Carsten "Tomcat" Book
687bb63b46
Merge mozilla-central to mozilla-inbound
2017-05-09 14:40:11 +02:00
Andrea Marchesini
07b259abe7
Bug 1361654 - Initializing all the member variables in SlicedInputStream, r=qdot
2017-05-04 08:36:35 +02:00
Franziskus Kiefer
2e39fbd6ca
Bug 1359335 - collect telemetry on aes-ni support, r=gfritzsche
...
MozReview-Commit-ID: 23YbAcCls1H
2017-03-31 19:03:03 +02:00
Carsten "Tomcat" Book
fea0928f1b
Merge mozilla-central to mozilla-inbound
2017-05-10 15:30:44 +02:00
[email protected]
af7965b07d
Bug 1359436 - Add leak checking to CycleCollectedJSContext and related classes. r=mccr8
2017-05-09 13:59:00 +02:00
Jonathan Watt
0b23bd5df0
Bug 1362891, part 1 - Add an XRE_IsE10sParentProcess function. r=froydnj
...
MozReview-Commit-ID: 6neyZj71i3r
2017-04-24 09:38:10 +01:00
Wes Kocher
e453090438
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 9QuGHXqdxTb
2017-05-08 16:14:34 -07:00
Wes Kocher
0eff4bba2b
Merge inbound to central, a=merge CLOSED TREE
...
MozReview-Commit-ID: 5kxOZZxjMEl
2017-05-08 16:07:25 -07:00
Tom Tromey
4bb94c4294
Bug 1334279 - mark vsprintf-likes with MOZ_FORMAT_PRINTF; r=froydnj
...
This annotates vsprintf-like functions with MOZ_FORMAT_PRINTF. This may
provide some minimal checking of such calls (the GCC docs say that it
checks for the string for "consistency"); but in any case shouldn't
hurt.
MozReview-Commit-ID: HgnAK1LiorE
2017-05-04 12:10:19 -06:00
Byron Campen [:bwc]
04b0c62914
Bug 1361098: Simplify TimerThread::Init some. r=froydnj
2017-05-01 13:42:11 -05:00
Ehsan Akhgari
9b41664775
Bug 1360971 - Part 1: Add the nsCategoryCache<T>::GetCachedEntries() API; r=froydnj
...
This provides a more efficient way to read the entries out of an
XPCOM category cache.
2017-05-08 10:31:13 -04:00
Ehsan Akhgari
daf9ae5f4b
Bug 1361745 - Part 1: Improve the nsClassHashtable::LookupForAdd() API; r=froydnj
...
The OrInsert() method adds the new entry to the hashtable if needed, and
returns the newly added entry or the pre-existing one. It allows for a
more concise syntax at the call site.
2017-05-08 10:02:04 -04:00
Steve Fink
7c0c4ef112
Bug 1322560 - Record minor GC timings in profiles, r=jonco, mccr8, mstange
2017-04-25 13:24:34 -07:00