Commit Graph

462782 Commits

Author SHA1 Message Date
Cameron McCormack
4385370753 Bug 1250377 - Part 2: Stub out enough ServoStyleSet methods to be able to create one for a document. r=bholley 2016-02-24 18:01:12 +11:00
Cameron McCormack
9de96733e9 Bug 1250377 - Part 1: Use MOZ_STYLO environment variable to switch on Servo-backed style system. r=bholley 2016-02-24 18:01:12 +11:00
Cameron McCormack
89cac5abd1 Bug 1248864 - Part 3: Use RestyleManagerHandle instead of concrete restyle manager class. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack
60253e6183 Bug 1248864 - Part 2: Add skeleton ServoRestyleManager and a RestyleManagerHandle smart pointer. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack
736a5f47e7 Bug 1248864 - Part 1: Move RestyleManager.h to EXPORTS.mozilla. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack
0ecd5593cc Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert 2016-02-24 18:01:12 +11:00
Cameron McCormack
8b44372832 Bug 1244074 - Part 3: Add skeleton ServoStyleSheet and a StyleSheetHandle smart pointer. r=dholbert 2016-02-24 18:01:11 +11:00
Cameron McCormack
c30825ac6f Bug 1244074 - Part 2: Add HandleRefPtr for refcounting StyleSheetHandles. r=dholbert r=waldo 2016-02-24 18:01:11 +11:00
Cameron McCormack
919e1a53c7 Bug 1244074 - Part 1: Move SheetParsingMode to a separate file. r=dholbert 2016-02-24 18:01:11 +11:00
Cameron McCormack
7c95c39734 Bug 1244068 - Part 4: Use StyleSetHandle instead of concrete style set class in most places. r=dholbert 2016-02-24 18:01:11 +11:00
Cameron McCormack
2d34f1889d Bug 1244068 - Part 3: Factor out nsStyleSet getting in RestyleManager/ElementRestyler. r=dholbert 2016-02-24 18:01:10 +11:00
Cameron McCormack
c7df59c911 Bug 1244068 - Part 2: Add skeleton ServoStyleSet and a StyleSetHandle smart pointer. r=dholbert 2016-02-24 18:01:10 +11:00
Cameron McCormack
33e2e009b1 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
ce58df9563 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

--HG--
extra : rebase_source : 7da66e2f03aaf4e6807c54ac20854a4f41092f2a
2016-02-23 17:29:38 -08:00
Phil Ringnalda
a5861fc16a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten
fd04611c7c 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
2a3efadfd3 Bug 1250287 - Upgrade gcc and sixgill for all legacy hazard jobs, r=terrence
--HG--
extra : rebase_source : f70f94f8f18ec7131dc872ac37733f6acc3d0ef6
2016-02-18 13:17:59 -08:00
Shu-yu Guo
6164ec0d5c Bug 1225041 - Implement ES6 Annex B.3.5 for direct eval. (r=jorendorff) 2016-02-23 17:19:18 -08:00
Makoto Kato
46428da1ac 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

--HG--
extra : rebase_source : 87b9680d4ed6268b0779d8603e824625c7b6f98c
2016-02-17 20:44:41 +09:00
Xidorn Quan
cf344838d0 Bug 1248505 - Remove nsDocument::IsFullScreenDoc and its uses. r=smaug
MozReview-Commit-ID: DfPI5U531ad

--HG--
extra : source : bcfb7b8155c7460b861ef3e11d92900ecb6c5029
2016-02-24 08:40:08 +08:00
Blake Kaplan
89b19e3239 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
1837d54fa7 Bug 1249685 - Use more nsCOMPtrs for stack variables in DOM code. r=smaug 2016-02-23 16:23:43 -08:00
Blake Kaplan
f92eca37c1 Bug 1193093 - Tighten up these checks a little. r=Gijs 2016-02-23 16:11:53 -08:00
Alexander Surkov
2d15c87cb3 Bug 845176 - Intermittent relations/test_embeds.xul, r=yzen 2016-02-23 18:45:34 -05:00
Alexander Surkov
eea0bcec45 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
cfcd886fbe 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
a5c89bc409 Bug 1249489 - covert css to device pixels in elm/test_canvas.html, r=yzen 2016-02-23 18:43:25 -05:00
Alexander Surkov
7f92893842 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
5732b53ed9 Bug 1250639: Remove the nsIPrincipal shim for the older API style. r=rhelmer
MozReview-Commit-ID: DyX66KlOLCC

--HG--
extra : rebase_source : 4097d74a428dda7919cc30ad2500bcb48c4427af
2016-02-23 12:11:37 -08:00
Andrea Marchesini
2dd57b41c0 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
173de1feeb Bug 1249424 - Remove use of nsAutoArrayPtr from librlz. r=gerald
MozReview-Commit-ID: 2eXvcgbSQM0

--HG--
extra : rebase_source : 0397373e89a73972512d6d8178105c5ce57100a6
2016-02-24 10:53:10 +13:00
Jordan Lund
26975fb64d 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

--HG--
extra : source : 23f241eec2af1ce07728a69ef53351371a43a85b
2016-02-23 13:12:06 -08:00
Gregory Szorc
503851935a 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

--HG--
extra : rebase_source : ac90bb9f6be8b7b986aa0a61b3ccc203a18346a6
2016-02-19 21:46:29 -08:00
Gregory Szorc
aac8926faf 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

--HG--
extra : rebase_source : 8af5a9915e78af7aee2aa335552689fe33975400
2016-02-19 21:41:24 -08:00
Gregory Szorc
eccb5d39c1 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

--HG--
extra : rebase_source : 3376f015f1766eedcef60e9393b6d68474ffb634
2016-02-19 21:40:09 -08:00
Nicholas Nethercote
334f3c9213 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*.

--HG--
extra : rebase_source : bbe86562ee486fd5fbb5d48ff2cc59a6f4c7b4c9
2016-02-23 18:39:24 +11:00
Benjamin Bouvier
c42132da60 Bug 1250556: Require Store value expression to have the opcode's type; r=sunfish
MozReview-Commit-ID: 3O5O0t1M5SN

--HG--
extra : rebase_source : d819b3780b34f3f2a50bcf83af09c82e9e028b2d
2016-02-23 19:45:38 +01:00
aleth
4bb65f0458 Bug 1093012 - Ensure plugins and extensions are placed in Contents/Resources on OSX for mozmill tests. r=jlund
--HG--
extra : rebase_source : 3d92d98899b7408e422080590cef9e02cf894ced
2016-02-20 23:17:55 +01:00
Nicholas Nethercote
b295b3e288 Bug 1249550 (part 2) - Add a test. r=tn.
--HG--
rename : image/test/reftest/downscaling/downscale-ff.html => image/test/reftest/downscaling/downscale-16px.html
extra : rebase_source : 930c391d986d92bc78eb9f97e44b16aa5198beaa
2016-02-23 10:58:05 +11:00
Nicholas Nethercote
034cfd65bb Bug 1249550 (part 1) - Flip BMPs with negative height when downscaling. r=tn.
--HG--
extra : rebase_source : f0eef7233b52ec8e1e368d96b5776ca70e5eb328
2016-02-22 13:38:58 +11:00
Wes Kocher
42c013e034 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)

--HG--
extra : commitid : Gme2p6OagcA
2016-02-23 13:10:40 -08:00
Eugen Sawin
9f4a3136f9 Bug 1116473 - [3.2] Use RefPtr for AndroidSurfaceTexture references. r=snorp 2016-02-23 21:04:25 +01:00
Eugen Sawin
d5f668aef8 Bug 1116473 - [2.1] Const-correctness fixes. r=snorp 2016-02-23 21:04:24 +01:00
Eugen Sawin
e8dc51ceee Bug 1116473 - [1.1] Handle AndroidSurfaceTexture mapping in thread-safe class. r=snorp 2016-02-23 21:04:23 +01:00
Boris Zbarsky
5c76831b32 Bug 1250291 part 3. Stop pretending to report exceptions in WorkerDebuggerRunnable::PostDispatch. r=khuey 2016-02-23 15:02:43 -05:00
Boris Zbarsky
446267bf04 Bug 1250291 part 2. Stop pretending to report exceptions in MainThreadWorkerSyncRunnable::PostDispatch. r=khuey 2016-02-23 15:02:42 -05:00
Boris Zbarsky
27b59f54f7 Bug 1250291 part 1. Stop pretending to report exceptions in MainThreadStopSyncLoopRunnable::PostDispatch. r=khuey 2016-02-23 15:02:41 -05:00
Boris Zbarsky
015f8c141f 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
e715be26bd Bug 1250185 part 1. nsIStructuredCloneContainer.initFromBase64 doesn't need a JSContext argument. r=khuey 2016-02-23 15:02:32 -05:00
Boris Zbarsky
df912accb2 Bug 1250234. Make WebSocket::CreateAndDispatchMessageEvent properly report JS exceptions it might be producing. r=khuey 2016-02-23 15:02:28 -05:00