Commit Graph

485552 Commits

Author SHA1 Message Date
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
Sebastian Hengst
fd2da2e37e Bug 1180944 - Implement one-off searches from Awesomebar: Fix eslint warning about inconsistent return usage. r=eslint-fix a=eslint-fix
MozReview-Commit-ID: 9Mh7gVyvJ3a
2016-08-03 17:45:29 +02:00
aselagea@mozilla.com
85e0b07fa8 Bug 1275555 - Disable proxxy for queue.taskcluster.net r=catlee 2016-08-03 11:32:17 -04:00
Carsten "Tomcat" Book
eeacfbeff0 merge mozilla-inbound to mozilla-central a=merge 2016-08-03 17:03:41 +02:00
Nathan Froyd
e53dd1c5f7 Bug 1290160 - followup to fix static analysis bustage on a CLOSED TREE; r=me 2016-08-03 17:17:22 -04:00
Carsten "Tomcat" Book
57bfee62b0 merge fx-team to mozilla-central a=merge 2016-08-03 17:01:16 +02:00
Carsten "Tomcat" Book
7d334fcb50 merge autoland to mozilla-central a=merge 2016-08-03 16:59:18 +02:00
Carsten "Tomcat" Book
10f9f468e4 Backed out changeset 3f6f0dc1663c (bug 1290598) for xpcshell timeouts in test_ext_native_messaging.js
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_native_messaging_perf.js => toolkit/components/extensions/test/xpcshell/test_ext_native_messaging.js
2016-08-03 15:12:57 +02:00
Carsten "Tomcat" Book
92e652598d Backed out changeset 3242411d3294 (bug 1290598) 2016-08-03 15:12:32 +02:00
Carsten "Tomcat" Book
4e7abad957 Backed out changeset 486639a0f3ca (bug 1290598) 2016-08-03 15:12:31 +02:00
Carsten "Tomcat" Book
f8a2c19083 Backed out changeset 577158be08e8 (bug 1290598) 2016-08-03 15:12:29 +02:00
Nathan Froyd
6a26598a10 Bug 1290160 - reduce codesize required by gfxPrefs; r=milan
Every gfxPrefs::PrefTemplate template declares its own virtual function
overrides for functions declared in gfxPrefs::Pref.  The compiler must
therefore create separate copies of each of these virtual functions when
it instantiates PrefTemplate.  Since several of these virtual functions
only depend on the template parameter T, the type of the pref, many
instantiations of the functions are identical.  The duplicate functions
would normally be merged by identical code folding performed in the
linker, but since these are virtual functions and therefore have their
addresses taken (to be stored in the class's vtable), the linker (at
least for the settings we use for identical code folding) cannot fold
duplicated functions together.

Therefore, we have to do the de-duplication ourselves, by creating an
intermediate templated base class that only depends on the type of the
pref.  With this class, only three copies of each virtual function will
be created (one each for bools, floats, and ints).  We sneak in
GetLiveValue() into this base class for another small codesize win, even
though it's not a virtual function.
2016-08-03 17:02:33 -04:00
Tom Schuster
473d3dc22d Bug 1197324 - Fix new warnings. r=froydnj 2016-08-03 14:37:31 +02:00
Tom Schuster
42824df666 Bug 1197324 - add format-string checking attribute to snprintf_literal. r=froydnj 2016-08-03 14:37:31 +02:00
Tom Schuster
0a0e3b7174 Bug 1251364 - Use more snprintf_literal in the JS engine. r=terrence 2016-08-03 14:37:31 +02:00
Nicolas B. Pierron
b4fb936f80 Bug 1289926 - Ensure enough ballast space while allocating each constant under inlineConstantStringSplitString. r=h4writer 2016-08-03 12:27:16 +00:00
Henrik Skupin
2429007a45 Bug 1291658 - Marionette should not assume that there is always a processId in the capabilities available. r=automatedtester, a=tomcat
Before Firefox 49.0 there is no processId property available. Given that Firefox ui update tests
have to use the Marionette version from the post build also for the pre build, we currently fail
during in_app restarts for Firefox 48.0 and below.

MozReview-Commit-ID: ILG7JLg0dcS
2016-08-03 14:10:53 +02:00
Neil Deakin
2d46e97dbd Bug 1284914, add support in html for the ondragexit attribute, r=smaug 2016-08-03 07:45:46 -04:00
Neil Deakin
147caccc2c Bug 1194027, add a flag to select elements to indicate if the parent process has the popup open, r=mrbkap 2016-08-03 07:45:46 -04:00
Neil Deakin
16acfd6d48 Bug 1289528, add tests for keyboard and mouse selection of options, r=mconley 2016-08-03 07:45:45 -04:00
Neil Deakin
a59eab8dbf Bug 1289528, don't fire click event when option selected with keyboard, r=mconley 2016-08-03 07:45:45 -04:00
Neil Deakin
165602e28b Bug 1289528, fire click event at option, not at select, r=mconley 2016-08-03 07:45:45 -04:00
Neil Deakin
e375813b04 Bug 1159301, clear the mouse capture whenever a menu is opened, r=tn 2016-08-03 07:45:45 -04:00