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

485582 Коммитов

Автор SHA1 Сообщение Дата
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
Matt Woodrow 52628b0bb3 Bug 1230641 - Make our NSOpenGLContext opaque when in fullscreen mode. r=mstange 2016-08-03 22:48:03 +12:00
Iris Hsiao 08f30bd9aa Backed out changeset 238564059ef3 (bug 1273356) for Android 4.3 debug failed to load manufest file 2016-08-03 11:55:35 +08:00
Carsten "Tomcat" Book 740bb4ed16 Backed out changeset eb7f310f128d (bug 1274626) for breaking unified builds 2016-08-02 17:47:47 +02:00
Carsten "Tomcat" Book 1ec9279c2a Backed out changeset a722438c2be6 (bug 1274626) 2016-08-02 17:47:31 +02:00
Carsten "Tomcat" Book 2bcc300cca Backed out changeset 12e3777de139 (bug 1274626)
--HG--
rename : dom/media/platforms/ReorderQueue.h => dom/media/platforms/apple/ReorderQueue.h
2016-08-02 17:47:29 +02:00
Carsten "Tomcat" Book c5f40500b4 Backed out changeset 222b4883bf79 (bug 1274626) 2016-08-02 17:47:27 +02:00
Carsten "Tomcat" Book d647d056e2 Backed out changeset c5b79d4a6913 (bug 1274626) 2016-08-02 17:47:26 +02:00
Carsten "Tomcat" Book 5a3c68ee72 Backed out changeset 221e8d2b180e (bug 1274626) 2016-08-02 17:47:24 +02:00
Carsten "Tomcat" Book bd81ddd0b0 merge mozilla-inbound to mozilla-central a=merge 2016-08-02 17:09:31 +02:00
Carsten "Tomcat" Book f470e82ee2 merge fx-team to mozilla-central a=merge 2016-08-02 17:04:48 +02:00
cku e5a7157308 Bug 652991 - Part 12. Correct pointer/refernce parameter convention. r=me
MozReview-Commit-ID: 2QTCJxnaAi2

--HG--
extra : rebase_source : e83d8d5afd9ecfbc5a685a3e5b7d4324f0333dce
extra : amend_source : c61aa20f453bdc9e76112d50beb7e07224709059
2016-08-02 19:06:14 +08:00
Carsten "Tomcat" Book 423bdfd2fd Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/media/platforms/apple/ReorderQueue.h => dom/media/platforms/ReorderQueue.h
2016-08-03 17:08:41 +02:00
Mason Chang 25944ce750 Bug 942688 - Draw Cocoa Widget without assuming DrawTargetCG. r=mstange 2016-08-03 07:53:12 -07:00
Carsten "Tomcat" Book 02adb43791 Backed out changeset 726ee2bcfdef (bug 1201363) for static build bustage 2016-08-02 12:54:13 +02:00
Carsten "Tomcat" Book 7e324b6cdb Backed out changeset b018ce9d1484 (bug 1201363) 2016-08-02 12:53:59 +02:00
Carsten "Tomcat" Book 72c34b88b3 Backed out changeset 488e4a5e859b (bug 1201363) 2016-08-02 12:53:57 +02:00
Carsten "Tomcat" Book 44057dc31a Backed out changeset cc59ebb35b26 (bug 1201363) 2016-08-02 12:53:56 +02:00
Carsten "Tomcat" Book f4f5b9bafc Backed out changeset a6bafaf6bbe6 (bug 1201363) 2016-08-02 12:53:54 +02:00
Carsten "Tomcat" Book 27cb7f4d79 Backed out changeset 06c0a7eb7bc6 (bug 1201363) 2016-08-02 12:53:53 +02:00
Carsten "Tomcat" Book 2854eb5e13 Backed out changeset 1c8af95cd440 (bug 1201363) 2016-08-02 12:53:51 +02:00