Граф коммитов

485574 Коммитов

Автор SHA1 Сообщение Дата
Emilio Cobos Álvarez 5011eb626b Bug 1290335: stylo: Assert the snapshot is taken in ServoRestyleManager::AttributeChanged. r=heycam
Also fixes an embarrassing typo in the implementation of
ServoElementSnapshot::AddAttrs.

MozReview-Commit-ID: 7LHZVLo6j60
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez 7f36b64101 Bug 1290335: stylo: Allow processing change hints generated from Servo. r=heycam
MozReview-Commit-ID: Alc0wcXvHcD
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez 5f6238d913 Bug 1290335: Hoist GetNextContinuationWithSameStyle to RestyleManagerBase. r=heycam
MozReview-Commit-ID: 3Jz9Od5xav0
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez b2fc547e0a Bug 1290335: Improve error message of the anonymous box assertion. r=heycam
MozReview-Commit-ID: 6cJSBz03Yji
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez 95abaaa872 Bug 1290335: Hoist frame-construction logic in RestyleManager to static members in RestyleManagerBase. r=heycam
MozReview-Commit-ID: BqywJXZ0CYU
2016-08-03 15:11:15 -07:00
Emilio Cobos Álvarez 6973c87a4e Bug 1290335: stylo: Hoist OverflowChangedTracker to its own file. r=heycam
MozReview-Commit-ID: 8QZC1VgKiZs
2016-08-03 15:11:15 -07:00
Nathan Froyd 23038ea6e0 Bug 1291028 - add build script for custom Mac linker; r=mshal
DONTBUILD because NPOTB
2016-08-04 01:24:40 -04:00
Ben Kelly 2d111c3df8 Bug 1290116 P4 Verify that unregister waits for active worker to go idle. r=asuth 2016-08-03 07:14:33 -07:00
Ben Kelly 7a325c9d30 Bug 1290116 P3 Delay removing registration until active worker is idle. r=asuth 2016-08-03 07:14:33 -07:00
Ben Kelly 423e5f0f72 Bug 1290116 P2 Clean up ServiceWorkerManager::StopControllingADocument(). r=asuth 2016-08-03 07:14:33 -07:00
Ben Kelly a8f08a2715 Bug 1290116 P1 Expose a ServiceWorkerRegistrationInfo::IsIdle() method. r=asuth 2016-08-03 07:14:33 -07:00
Hiroyuki Ikezoe fa5c6d91c3 Bug 1275142 - Allow a defect of restyle when the target element of SMIL animation is associated with an nsIFrame. r=birtles
Actually the check of restyle count after associating with the nsIFrame is
not a problem in this test.  The purpose of this test is to check no restyles
when the target element has no associated nsIFrame.
We will fix the defect in bug 866411.

MozReview-Commit-ID: BFRJsbTGdkh
2016-08-04 06:18:48 +09:00
Kartikaya Gupta 88b991cf4a Bug 1291819 - Fix typo. r=me
MozReview-Commit-ID: 33jXEnB6RDJ
2016-08-03 16:56:37 -04:00
Kartikaya Gupta 30bfd9e7af Bug 1195722 - Follow-up to keep the accessible caret disabled on some reftests that require it. r=me on a CLOSED TREE
MozReview-Commit-ID: nugmHgzU1v
2016-08-03 15:59:04 -04:00
Jeff Gilbert 974f4e1ea8 Bug 1291083 - Explicitly make WEBGL_depth_texture formats filterable. - r=mtseng
MozReview-Commit-ID: DaVpIHZZ0cI
2016-08-03 12:24:47 -07:00
Jeff Gilbert 901ccc3aeb Bug 1291083 - Textures with depth-compare should be filterable. - r=mtseng
This also makes depth-textures follow filtering rules, whereas before we
allowed filtered depth textures for WEBGL_depth_texture.

MozReview-Commit-ID: LxepCb4WEkr
2016-08-03 12:24:39 -07:00
Emilio Cobos Álvarez ff065c3a99 Bug 1288938: Allow passing different reasons to dirty a non display SVG text frame. r=heycam
Otherwise, when a glyph changes, we might end up doing too much work, destroying
the text-run and the observer that dirtied the frame, causing an assertion when
trying to delete it from the observer set.

MozReview-Commit-ID: LMQVr6pYFVM
2016-08-03 10:53:37 -07:00
Emilio Cobos Álvarez e1e6b574d9 Bug 1288938: layout: Move the GlyphObserver to the text run instead of the frame. r=jfkthame
MozReview-Commit-ID: KphTCkcZeid
2016-08-03 10:53:37 -07:00
Sebastian Hengst 9a11ee24d8 Backed out changeset b531c8bff6e9 (bug 1201363) for timeout in GTest VP8VideoTrackEncoder.FrameEncode. r=backout 2016-08-03 19:33:55 +02:00
Sebastian Hengst 120f502e2a Backed out changeset 3851902daa94 (bug 1201363) 2016-08-03 19:33:25 +02:00
Sebastian Hengst 70a5dca1bd Backed out changeset 263cc3ad83c2 (bug 1201363) 2016-08-03 19:33:25 +02:00
Sebastian Hengst 1fe0a1cfb8 Backed out changeset 91e5ccbeef19 (bug 1201363) 2016-08-03 19:33:25 +02:00
Sebastian Hengst f0fd44f274 Backed out changeset 0744bfe6854f (bug 1201363) 2016-08-03 19:33:25 +02:00
Sebastian Hengst f4671c3b11 Backed out changeset 4111e388bd90 (bug 1201363) 2016-08-03 19:33:25 +02:00
Sebastian Hengst e7ab762e14 Backed out changeset 7c07c4aa3569 (bug 1201363) 2016-08-03 19:33:24 +02:00
Sebastian Hengst 253063065c Backed out changeset 64b256cf2807 (bug 1201363) 2016-08-03 19:33:24 +02:00
Sebastian Hengst a27be4decf Backed out changeset 0d2c395386ba (bug 1201363) 2016-08-03 19:33:24 +02:00
Sebastian Hengst 0c81148980 Backed out changeset ecee67ed1ddf (bug 1201363) 2016-08-03 19:33:24 +02:00
Bobby Holley 19f8c5faa5 Bug 1291390 - Make parsing mode an immutable property of the StyleSheet. r=heycam 2016-08-03 10:26:14 -07:00
Bobby Holley 9ee707ada1 Bug 1291390 - Use the parsing mode from the stylesheet when building preferences stylesheet. r=heycam
In practice this will be the 'agent' level rather than the 'author' level, given
the SetParsingMode call immediately after creating the stylesheet. This change
aligns behavior with CSSStyleSheet::ReparseSheet.
2016-08-03 10:26:14 -07:00
Bobby Holley 1dfd6a8070 Bug 1291390 - Hoist the ParsingMode getter to the superclass and give it a special binary name for WebIDL. r=bholley,r=heycam
In the next patch we want to introduce an accessor called ParsingMode, which conflicts with this one.
2016-08-03 10:26:14 -07:00
Michael Layzell 420156f40f Bug 1271819 - Rewrite browser_focus_steal_from_chrome to avoid race condition, r=enndeakin 2016-08-03 13:25:06 -04:00
Nils Ohlmeier [:drno] db340fd6d5 Bug 1278113: disabled audio stream analyzer debug canvas output r=padenot
MozReview-Commit-ID: CJTnzVyugMH
2016-07-20 12:22:23 -07:00
Neil Deakin 50df5bfcae Bug 1291188, remove unneeded cpow part of test as it was causing failures on some machines, r=felipe 2016-08-03 13:04:39 -04:00
Sebastian Hengst e2d982ae86 Merge mozilla-central to mozilla-inbound to fix eslint-failure. r=eslint-fix 2016-08-03 19:05:05 +02:00
Sebastian Hengst e920781618 Bug 1285863 - Improve UI / UX of devtools JSONView: Remove unused variable 'code'. r=jryans on IRC a=eslint-fix
MozReview-Commit-ID: CUoifugy7vA
2016-08-03 18:58:21 +02:00
Kartikaya Gupta 9d9124f381 Bug 1289435 - Support native event synthesization even for non-touch windows devices. r=jimm
MozReview-Commit-ID: IeHmDOiWOW2
2016-08-03 12:06:59 -04:00
Kartikaya Gupta 713c58caee Bug 1289435 - Extract a helper function to dispatch MultiTouchInput to APZ if applicable and then to Gecko. r=mstange
This also modifies the windows widget code to use this new helper function, as
it avoids an unnecessary round-trip where a MultiTouchInput gets converted to
a WidgetTouchEvent (in nsWindow.cpp) and then back to a MultiTouchInput (in
APZCTreeManager.cpp)

MozReview-Commit-ID: 1WGbfINTW6c
2016-08-03 12:06:58 -04:00
Kartikaya Gupta ebadfda552 Bug 1289435 - Ensure that the synthesized native touch events have sane timestamps. r=mstange
MozReview-Commit-ID: 6QxB7XBx7T7
2016-08-03 12:06:58 -04:00
Kartikaya Gupta 6d50a6b8e2 Bug 1195722 - Add a new pref to enable the accessible carets if touch events are supported, and enable the pref on nightly. r=tylin
MozReview-Commit-ID: 2eaVJ4fLqjt
2016-08-03 12:00:22 -04:00
Kartikaya Gupta ea0f7627b9 Bug 1195722 - On desktop, allow the context menu to pop up concurrently with text selection. r=tylin
On desktop, the context menu is shown when the user lifts their finger after
a long press, but only if the eMouseLongTap event is not cancelled. So by
not cancelling it, we allow both the text selection and the context menu.

On Android, the context menu takes priority over text selection, so this
has no effect (i.e. if the context menu is shown, then the AccessibleCaret
code never even gets the eMouseLongTap event). Also on Android nothing
else relies on the cancellation of the eMouseLongTap event, so this change
is a no-op.

MozReview-Commit-ID: peFzB2afha
2016-08-03 12:00:19 -04:00
Kartikaya Gupta 6962e151a2 Bug 1273356 - Remove the unused and incorrect ComputeRenderIntegrity codepath for computing checkerboard. r=rbarker
MozReview-Commit-ID: 4i1rmeqrkZ1
2016-08-03 11:59:08 -04:00
Sebastian Hengst 3885b04a2a Merge mozilla-central to mozilla-inbound to fix eslint-failure. r=eslint-fix 2016-08-03 17:47:16 +02:00
Nathan Froyd 6b2618fb44 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-03 19:40:41 -04:00
Nathan Froyd d66b8b184a Bug 1231764 - part 5 - add a Cargo.toml for the dom/media/gtest/ code; r=chmanchester
We are going to need a Cargo.toml for all Rust code in the tree, no
matter how trivial.
2016-08-03 19:40:41 -04:00
Nathan Froyd eb4063d257 Bug 1231764 - part 4 - add pytoml to the virtualenv; r=chmanchester
We need to parse Cargo.toml files from moz.build to determine crate
package names.
2016-08-03 19:40:41 -04:00
Nathan Froyd be1a17c817 Bug 1231764 - part 3 - rename RustRlibLibrary to RustCrate; r=chmanchester
rlibs are going to be less important once we start building with cargo:
the focus will move to crates instead, so that's what we should call the
moz.build object.
2016-08-03 19:40:41 -04:00
Nathan Froyd c94c59b23b Bug 1231764 - part 2 - pass the srcdir of an rlib in the moz.build object; r=chmanchester 2016-08-03 19:40:41 -04:00
Nathan Froyd 8aab949aa8 Bug 1231764 - part 1 - search for cargo when --enable-rust; r=chmanchester
We've going to use it, the location of it should be configurable.
2016-08-03 19:40:41 -04:00
Nathan Froyd a79d68b929 Bug 1231764 - part 0 - only link librul once; r=chmanchester
Through an oversight, we listed librul.a twice when linking libxul: once
as part of the "objects" we were linking, and once as a static library.
This duplication is unnecessary and would cause problems later when we
try to generate librul.a via cargo, as cargo will put it someplace
different from where we expect and the two names will conflict.  Let's
have rules.mk be the single source of truth for how librul.a is named,
and then the code to link libxul can simply refer to that name.
2016-08-03 19:40:41 -04:00