Commit Graph

285246 Commits

Author SHA1 Message Date
Cameron McCormack
ede3244b3b Bug 1244068 - Part 3: Factor out nsStyleSet getting in RestyleManager/ElementRestyler. r=dholbert 2016-02-24 18:01:10 +11:00
Cameron McCormack
a5d537e824 Bug 1244068 - Part 2: Add skeleton ServoStyleSet and a StyleSetHandle smart pointer. r=dholbert 2016-02-24 18:01:10 +11:00
Cameron McCormack
797e7df468 Bug 1244068 - Part 1: Add enum to represent the style system backend type. r=dholbert 2016-02-24 18:01:10 +11:00
Gregory Szorc
12006761c8 Bug 1250748 - Remove the 20s countdown timer from mach first run; r=chmanchester
Previously on first `mach` run on a system, we'd display a prompt with a
20s countdown timer after which the default state directory
(~/.mozbuild) was created. Users had to wait 20s or ctrl+c and
make the directory by hand. Either way, they'd have to re-invoke
mach to run whatever command they were trying to run.

This was annoying.

This commit makes the following changes:

1) The countdown timer is replaced with "press RETURN/ENTER to continue"
2) The requirement to re-invoke mach has been removed

On first run, people now see a message telling them to press
RETURN/ENTER. Then the directory is created and whatever mach command
they requested to run is run.

While I was here, I also changed the permissions on the newly created
directory to match what it was a few lines above. Without, we're relying
on umask, which may be permissive. UNIX convention is to use a more
restrictive umask insider user directories. So this feels like the right
behavior.

MozReview-Commit-ID: IodN13xAJ8P
2016-02-23 17:29:38 -08:00
Phil Ringnalda
9e91451e1a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten
80d9d72061 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Steve Fink
6be29bfe0b Bug 1250287 - Upgrade gcc and sixgill for all legacy hazard jobs, r=terrence 2016-02-18 13:17:59 -08:00
Shu-yu Guo
fd86962da8 Bug 1225041 - Implement ES6 Annex B.3.5 for direct eval. (r=jorendorff) 2016-02-23 17:19:18 -08:00
Makoto Kato
3bef2a10a8 Bug 1240282 - Don't use NS_LossyConvertUTF16toASCII for URI. r=jimm
We should use GetAsciiSpec for idn and non-ASCII path

MozReview-Commit-ID: EjldSMJYUDg
2016-02-17 20:44:41 +09:00
Xidorn Quan
55f8f5e189 Bug 1248505 - Remove nsDocument::IsFullScreenDoc and its uses. r=smaug
MozReview-Commit-ID: DfPI5U531ad
2016-02-24 08:40:08 +08:00
Blake Kaplan
532bad3e91 Bug 1183915 - Put images dragged from content processes in the drag data in the parent. r=smaug 2016-02-23 16:31:29 -08:00
Andrew McCreight
fd787ba449 Bug 1249685 - Use more nsCOMPtrs for stack variables in DOM code. r=smaug 2016-02-23 16:23:43 -08:00
Blake Kaplan
45ecbb97fc Bug 1193093 - Tighten up these checks a little. r=Gijs 2016-02-23 16:11:53 -08:00
Alexander Surkov
749b04b187 Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen 2016-02-23 18:45:34 -05:00
Alexander Surkov
e0dd40d367 Bug 1249489 - covert css to device pixels in scroll/test_zoom.html and test_nsIAccessibleImage.html, r=yzen 2016-02-23 18:43:37 -05:00
Alexander Surkov
f2f1ca9884 Bug 1249489 - covert css to device pixels in hittest/test_canvas_hitregion.html, r=yzen 2016-02-23 18:43:31 -05:00
Alexander Surkov
51dd9b98ee Bug 1249489 - covert css to device pixels in elm/test_canvas.html, r=yzen 2016-02-23 18:43:25 -05:00
Alexander Surkov
738cb3c659 Bug 1249400 - add a test for missed hide events in case of accessible stealing, r=yzen 2016-02-23 18:40:20 -05:00
Dave Townsend
e372eb6efb Bug 1250639: Remove the nsIPrincipal shim for the older API style. r=rhelmer
MozReview-Commit-ID: DyX66KlOLCC
2016-02-23 12:11:37 -08:00
Andrea Marchesini
e110f13887 Bug 1250148 - FormData should treat empty input type=file as empty string in FormData and as unnamed Blob in HTML submission, r=smaug 2016-02-24 00:01:01 +01:00
Chris Pearce
6117b70e36 Bug 1249424 - Remove use of nsAutoArrayPtr from librlz. r=gerald
MozReview-Commit-ID: 2eXvcgbSQM0
2016-02-24 10:53:10 +13:00
Jordan Lund
be20987342 Bug 1250585 - beetmover - add push to mirrors, r=rail
* this also fixes bug where we take build/0 from tc artifacts regardless if
  there was a retry

MozReview-Commit-ID: KKJCGF6Hc7k
2016-02-23 13:12:06 -08:00
Gregory Szorc
97791119bf Bug 1249858 - Stop processing IPDL and WebIDL files during artifact builds; r=glandium
We don't process IPDL and WebIDL files during artifact builds. The
backend shouldn't need to care about them.

Before: 2001 total backend files; 2001 created; 0 updated; 0 unchanged; 0 deleted
After:  1945 total backend files; 1945 created; 0 updated; 0 unchanged; 0 deleted

After this change, we no longer write any .cpp files to the objdir
during config.status for artifact builds.

As part of this, we stopped generated webidlsrcs.mk and the build broke
because of an unguarded use in a Makefile.

After this change, only 102/3366 files in the objdir after
`mach configure` are not a) in _virtualenv b) named backend.mk
c) named Makefile (~950 each of backend.mk and Makefile).

MozReview-Commit-ID: 11AIn1i4x4f
2016-02-19 21:46:29 -08:00
Gregory Szorc
e2c908066d Bug 1249858 - Do not generate unified C++ files during artifact builds; r=glandium
I can't think of a good reason why unified C++ files need to exist
during artifact builds. Let's not write them in this build config.

Before: 2517 total backend files; 2517 created; 0 updated; 0 unchanged; 0 deleted
After:  2001 total backend files; 2001 created; 0 updated; 0 unchanged; 0 deleted

No measureable change in performance on Linux. But on Windows where file
creation is in the ~1ms range, this will surely result in a speedup of
several hundred milliseconds.

We are still generating some .cpp files during artifact builds. This will be
addressed in subsequent commits.

MozReview-Commit-ID: Lqx36YE8qZZ
2016-02-19 21:41:24 -08:00
Gregory Szorc
fece790a96 Bug 1249858 - Add property exposing whether performing an artifact build; r=glandium
Future commits will add a number of consumers. This will cut down on
boilerplate.

MozReview-Commit-ID: 8h4VWBXXd8O
2016-02-19 21:40:09 -08:00
Nicholas Nethercote
687a6f5be1 Bug 1249503 - Make WindowsAddressSpaceReporter bloat memory reports less. r=erahm.
The WindowsAddressSpaceReporter generates one memory report per segment, and
there can be 10,000+ segments.

This patch changes things so that one memory report is generated per segment
*kind* -- at most a couple of dozen -- rather than one per *segment*.
2016-02-23 18:39:24 +11:00
Benjamin Bouvier
b6e7cbf7ba Bug 1250556: Require Store value expression to have the opcode's type; r=sunfish
MozReview-Commit-ID: 3O5O0t1M5SN
2016-02-23 19:45:38 +01:00
aleth
556e7a70f4 Bug 1093012 - Ensure plugins and extensions are placed in Contents/Resources on OSX for mozmill tests. r=jlund 2016-02-20 23:17:55 +01:00
Nicholas Nethercote
498dfa5d63 Bug 1249550 (part 2) - Add a test. r=tn. 2016-02-23 10:58:05 +11:00
Nicholas Nethercote
0494c4820e Bug 1249550 (part 1) - Flip BMPs with negative height when downscaling. r=tn. 2016-02-22 13:38:58 +11:00
Wes Kocher
18cead6ef6 Backed out 3 changesets (bug 1250342) for reftest failures in text-align-true.html CLOSED TREE
Backed out changeset 0eae0890ee11 (bug 1250342)
Backed out changeset e82e430d0eda (bug 1250342)
Backed out changeset 866f8a7337df (bug 1250342)
2016-02-23 13:10:40 -08:00
Eugen Sawin
eb51f3519d Bug 1116473 - [3.2] Use RefPtr for AndroidSurfaceTexture references. r=snorp 2016-02-23 21:04:25 +01:00
Eugen Sawin
b40f55b915 Bug 1116473 - [2.1] Const-correctness fixes. r=snorp 2016-02-23 21:04:24 +01:00
Eugen Sawin
ef9f2a2e58 Bug 1116473 - [1.1] Handle AndroidSurfaceTexture mapping in thread-safe class. r=snorp 2016-02-23 21:04:23 +01:00
Boris Zbarsky
7e66099590 Bug 1250291 part 3. Stop pretending to report exceptions in WorkerDebuggerRunnable::PostDispatch. r=khuey 2016-02-23 15:02:43 -05:00
Boris Zbarsky
307a76a0c0 Bug 1250291 part 2. Stop pretending to report exceptions in MainThreadWorkerSyncRunnable::PostDispatch. r=khuey 2016-02-23 15:02:42 -05:00
Boris Zbarsky
aeed64f72a Bug 1250291 part 1. Stop pretending to report exceptions in MainThreadStopSyncLoopRunnable::PostDispatch. r=khuey 2016-02-23 15:02:41 -05:00
Boris Zbarsky
b795137508 Bug 1250185 part 2. Remove some JSContext stuff that's no longer needed in Notification code. r=khuey 2016-02-23 15:02:35 -05:00
Boris Zbarsky
23ea13ef9c Bug 1250185 part 1. nsIStructuredCloneContainer.initFromBase64 doesn't need a JSContext argument. r=khuey 2016-02-23 15:02:32 -05:00
Boris Zbarsky
757e995722 Bug 1250234. Make WebSocket::CreateAndDispatchMessageEvent properly report JS exceptions it might be producing. r=khuey 2016-02-23 15:02:28 -05:00
Kyle Huey
1a7d37176f Bug 1085575: Account for another potential race when asserting metadata is consistent. r=bent 2016-02-23 11:56:16 -08:00
Armen Zambrano Gasparnian
cc101f7840 Bug 1246019 - Disable test_alerts.html on Linux until bug 1227730 is fixed. r=kits
MozReview-Commit-ID: xvWxQg3vco
2016-02-23 14:45:23 -05:00
Armen Zambrano Gasparnian
fe98397283 Bug 1244720 - Enable mochitest plain and mochitest browser-chrome for e10s. tier-2 jobs. r=jmaher
MozReview-Commit-ID: BbbAPZy0OFy
2016-02-17 09:27:44 -05:00
Bogdan Postelnicu
50bbc8e987 Bug 1021151 - avoid memory leak in NS_GENERIC_AGGREGATED_CONSTRUCTOR_INIT, use nsAutoPtr instead of naked ptr. r=Ehsan
MozReview-Commit-ID: 6iU7ikbgjEn
2016-02-23 14:12:22 +02:00
Gregory Szorc
1a29056508 Bug 1249210 - Install files using multiple threads on Windows; r=glandium
As previous measurements have shown, creating/appending files
on Windows/NTFS is slow because the CloseHandle() Win32 API takes
1-3ms to complete. This is apparently due to a fundamental issue
with NTFS extents. A way to work around this slowness is to use
multiple threads for I/O so file closing doesn't block execution
as much.

This commit updates the file copier to use a thread pool of 4
threads when processing file copies. Additional threads appear
to have diminishing returns.

On my i7-6700K, this reduces the time for processing the tests install
manifest (24,572 files) on Windows from ~22.0s to ~12.5s in the best
case.

Using the thread pool globally resulted in a performance regression
on Linux. Given the performance sensitivity of manifest copying,
I thought it best to implement a slightly redundant non-Windows
branch to preserve performance. For the record, that same machine
running Linux is capable of processing nearly the same install
manifest (24,616 files) in ~2.2s in the best case.

MozReview-Commit-ID: B9LbKaOoO1u
2016-02-19 18:28:26 -08:00
Jonathan Watt
3de4b9b539 Bug 1110460, part 5 - Factor out a nsStyleBasicShape::GetShapeTypeName method. r=dholbert 2016-02-17 00:19:27 +00:00
Jonathan Watt
b43dec4e5b Bug 1110460, part 4 - Fix MOZ_ASSERT bug in nsComputedDOMStyle.cpp. r=dholbert 2016-02-17 00:19:26 +00:00
Jonathan Watt
6a4b386eac Bug 1110460, part 3 - Factor out a AddCSSValuePair helper in StyleAnimationValue.cpp. r=dholbert 2016-02-17 00:19:26 +00:00
Jonathan Watt
3a805a3f1a Bug 1110460, part 2 - Move AddPositions() further up StyleAnimationValue.cpp and add asserts. r=dholbert 2016-02-17 00:19:26 +00:00
Jonathan Watt
72d0b7796b Bug 1110460, part 1 - Add operator= to nsCSSValuePair. r=dholbert 2016-02-17 00:19:26 +00:00