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

553896 Коммитов

Автор SHA1 Сообщение Дата
Andrew Halberstadt dd95aa68cc Bug 1391675 - [tryselect] Move --no-push into common arguments, r=armenzg
The main motivation behind this change is to make testing easier, so e.g:
./mach try fuzzy --no-push
and
./mach try syntax --no-push

both work the same way.

MozReview-Commit-ID: LmjA3Kq7xKN

--HG--
extra : rebase_source : 49beb7e1ae0f7502966ebadc4d9c37cae4357df4
2017-08-21 13:14:31 -04:00
Andrew Halberstadt 60a3f8a31c Bug 1391675 - [tryselect] Make main command and all subcommands use the same argument parser, r=armenzg
This will give us a good way to share arguments between subcommands.

MozReview-Commit-ID: KmXRj8TBvYK

--HG--
extra : rebase_source : 9ff275af226cfe65697b980d1b19f9ca9e1dad5f
2017-08-17 11:13:50 -04:00
Andrew Halberstadt b8511feb50 Bug 1391675 - [mach] Allow commands to have both a parser and subcommands, r=gps
We currently raise if we detect a command has both the `parser` attribute and a subcommand
at the same time, but as far as I can tell, there's no good reason to do this. Handling a
parser + subcommands seems to work exactly how you would expect. Furthermore, it isn't an
error to have subcommands + @CommandArgument, so it doesn't make sense that we're allowing
one but not the other.

This change solves an (admittedly unique) use case I'm trying to build into |mach try|. There
are N subcommands that all support a --save and --load style argument. So, e.g, we might have:

./mach try syntax --save foo
./mach try fuzzy --save bar

The main command will have the ability to detect which subcommand a saved value was generated
from and automatically dispatch to it. So this will work:

./mach try --load foo  # dispatches to the syntax subcommand
./mach try --load bar  # dispatches to the fuzzy subcommand

In order to share the --save/--load arguments across the main command + subcommands, we need
to set the parser attribute.



MozReview-Commit-ID: KmXRj8TBvYK

--HG--
extra : rebase_source : cbf1e402a080913709a34430274ae3191821dd72
2017-08-17 11:10:48 -04:00
Kartikaya Gupta fda8ec623e Bug 1358771 - Don't set the resolution on the main-thread from an APZ repaint request that was triggered by a main-thread update. r=tnikkel
Conceptually, a repaint request that arrives in APZCCallbackHelper with
!GetScrollOffsetUpdated() is a repaint request that the APZ is sending in
response to a main-thread update it received. The purpose of the repaint
request is mainly to update the displayport margins; the scroll position
and resolution should not have changed. Therefore actively trying to set
the scroll position or resolution as a result of these repaint requests
should at best be a no-op but often triggers unnecessary clobbering of things
that are in-flight, or extra reflows. This can result in buggy behaviour.
Bug 1286179 avoided doing this for the scroll position, and this patch does
the equivalent thing for zooming.

MozReview-Commit-ID: 91RbRP0ZHBe

--HG--
extra : rebase_source : 7bb97075619f5435705d369a695d37aa1c972278
2017-08-21 12:51:43 -04:00
Jonathan Jayet b5d5c3a9d9 servo: Merge #18189 - First step toward iOS Support (from JJayet:ios_support); r=larsbergstrom
This mostly prevents Gaol/sandboxing to be used during compilation.
There are a number of issues with : `expat-sys`, `servo-freetype-sys`, `fontsan`, `heartbeats-simple-sys`, `mozjs_sys`.

Also modified `components/script/dom/navigatorinfo.rs` in order to add iOS.

```rust
#[cfg(target_os = "ios")]
pub fn Platform() -> DOMString {
    DOMString::from("iOS")
}
```

See here for more informations : https://github.com/servo/servo/issues/18154

---

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes partially work on #18154

- [X] These changes do not require tests because it deals with the compile toolchain

Source-Repo: https://github.com/servo/servo
Source-Revision: e61a043a567f2d8766b9bbecb88b3a9bfb7808d8

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : a2c0b7ec260e7fb45156d5d278abcd0a6b701e4c
2017-08-23 10:59:39 -05:00
Julian Descottes 024a25f592 Bug 1386616 - dt-addon: move key-shortcuts.properties to devtools/shim/locales;r=ochameau
MozReview-Commit-ID: 9zUqnuYIdWS

--HG--
rename : devtools/client/locales/en-US/key-shortcuts.properties => devtools/shim/locales/en-US/key-shortcuts.properties
extra : rebase_source : 806a6baa5886fbad2b50df80a7560b5300bd25b5
2017-08-02 16:20:58 +02:00
Julian Descottes 1e72d11d7b Bug 1386616 - dt-addon: create new devtools/shim locale;r=Pike
MozReview-Commit-ID: JVnBlBSPpw1

--HG--
extra : rebase_source : 1a8239167f5bfc98a170907e1337ac19b27e0799
2017-08-03 16:57:19 +02:00
Emilio Cobos Álvarez f1d7bf0054 Bug 1341102: Revendor rust dependencies. r=me
On a CLOSED TREE

MozReview-Commit-ID: BoEbixf4mIK
2017-08-23 18:51:30 +02:00
Emilio Cobos Álvarez 646d99aebd Bug 1341102: Update quote crate. r=me
On a CLOSED TREE

MozReview-Commit-ID: ILUnDCyDBem
2017-08-23 18:51:29 +02:00
Michael Comella 2007b1926f Bug 1390685: Replace InvalidHighlightCandidateException with boolean return. r=sebastian
In the event that many of these exceptions are thrown (which I witnessed
locally after importing a large number of desktop bookmarks), it could have a
negative impact on performance so we're making a fix. Note: we don't know how
much it happens in practice.

MozReview-Commit-ID: 1hQo7B704LV

--HG--
extra : rebase_source : b4dd1921b9886b8c403b6676fa9e49de5402b316
2017-08-22 14:57:30 -07:00
Andreas Tolfsen b65f30cdab Bug 1393097 - Relicense test_execute_async_script.py to public domain. r=automatedtester
DONTBUILD

MozReview-Commit-ID: AMrcfZyfEQM

--HG--
extra : rebase_source : 5632343813bb45edab99e30d8aba32ef48a34bda
2017-08-23 17:12:11 +01:00
Andreas Tolfsen 3f7148fec0 Bug 1393094 - Relicense test_execute_script.py to public domain. r=automatedtester
DONTBUILD

MozReview-Commit-ID: 2195jqRYoQN

--HG--
extra : rebase_source : f214dfac96a7d40d38e2e21823aa3fe7afaaa14b
2017-08-23 17:08:14 +01:00
Dão Gottwald 43540e2da6 Bug 1391743 - Polish tabstrip overflow indicators some more. r=daleharvey
MozReview-Commit-ID: EKz6l9uV2Ge

--HG--
extra : rebase_source : 9d2e8ad4158205d0cdca20e2139ac89e130a5bbc
2017-08-23 10:32:58 +02:00
Anthony Ramine c5d45b3509 servo: Merge #18200 - Introduce style_derive::cg (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e629f8da7ba373f6575c2e9ccc6259b7f2c4e3e4

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 2cd81b8fc16a4fc3c3928a61645355a71e9440d9
2017-08-23 10:01:15 -05:00
Gregory Szorc 9a361b3df7 Bug 1392886 - Vendor robustcheckout with sparse support; r=mshal
From version-control-tools revision
0451f128550d8c9dcf83d6628dea5a8030d5cc08. Vendored without
modifications.

This should be a rubber stamp review since the changes to
robustcheckout were already reviewed.

MozReview-Commit-ID: 3J0db7Cja1D

--HG--
extra : rebase_source : 4e36dc83a486841d253cd365ce7a6ceeb50a8ccc
2017-08-22 22:54:06 -07:00
Gregory Szorc 0ef27f30cd Bug 1392886 - Enable sparse extension in Docker images; r=mshal
This needs to be globally enabled to support sparse checkouts
and accessing repos using sparse checkouts.

Having the extension enabled should no-op unless sparse checkouts
are being used. i.e. it should be harmless to globally enable.

MozReview-Commit-ID: AKNUOXfYQPx

--HG--
extra : rebase_source : d32b8a89c56c39923d7b0cd61583c2828a29a872
2017-08-22 20:44:57 -07:00
Gregory Szorc c024875c88 Bug 1392886 - Ignore missing mach_commands.py when checkout is sparse; r=mshal
Sparse checkouts may not have all mach_commands.py files.

mach raises an error when a mach_commands.py file is missing.

So, we teach the mach driver to ignore missing file errors when
a sparse checkout is present.

The added code is optimized to avoid an import of mozversioncontrol
and some I/O as part of resolving the repo and VCS binaries because
this file is in the critical path of all mach commands and avoiding
I/O is worthwhile. Since we aren't using sparse checkouts in the
common case, this effectively makes the new code 0 cost.

MozReview-Commit-ID: C6itJga31t5

--HG--
extra : rebase_source : 4b2c18d30ff8b923a940c80ac81372a4076b8fdc
2017-08-23 08:41:01 -07:00
Gregory Szorc 3088419b32 Bug 1392886 - Explicit error type when a mach command file doesn't exist; r=mshal
This will facilitate handling this error condition specially.

Some unused imports were also removed.

MozReview-Commit-ID: 4zxVDgE7NxU

--HG--
extra : rebase_source : c4d0dd96629e028ce8a83215564a8d865e4b4b3d
2017-08-22 20:29:01 -07:00
Gregory Szorc a1d02ea1fb Bug 1392886 - Defer import reftestcommandline; r=mshal
This shouldn't be at module level.

This isn't technically needed for this series. I caught it during
an earlier attempt at teasing out all Python import dependencies
to run `mach`. Why let a good patch go to waste.

MozReview-Commit-ID: FwwdZqcKtpq

--HG--
extra : rebase_source : a8ce2cf452dc8c03371dc384ea4f1be9195b5d30
2017-07-19 11:27:10 -07:00
Gregory Szorc 197ad2c585 Bug 1392886 - Don't destroy reference to "mach" module; r=mshal
"mach" in this scope is both the mach module and the driver instance.
Let's change the latter's variable name so we can access the mach
module.

MozReview-Commit-ID: Db6sxDFl2oo

--HG--
extra : rebase_source : 0a51c7514cfdba40483b3b9b361cd03b8000c2c9
2017-08-22 20:29:37 -07:00
Gregory Szorc 5ce1624c85 Bug 1392886 - Determine if sparse checkout is being used; r=mshal
The Repository interface gains a new method to determine if a sparse
checkout is present. Mercurial's implementation is somewhat crude,
but it should work (Mercurial's sparse support is still experimental
and I only intend to support sparse checkout in Firefox CI until it
is less experimental). Git's always returns False (for now).

To prove it works and to expose the information more widely, we hook
it up to moz.configure. We do this by first implementing a function
that returns a Repository instance. Then we simply call a function on
it to resolve the sparse checkout flag.

MozReview-Commit-ID: AlsT5LdSPdZ

--HG--
extra : rebase_source : f1e9aaa7d15f11c7c5e8d268d4ad82468732103b
2017-08-22 20:26:46 -07:00
Gregory Szorc ad141eef1b Bug 1392886 - Expose repository type as an instance property; r=mshal
This will remove the need to sniff class types. The 1 in-tree
consumer doing this has been converted.

MozReview-Commit-ID: I8cUa8J54VE

--HG--
extra : rebase_source : 4c24adaf7eb9d62678ac78604e819a7376d4073b
2017-08-22 20:04:55 -07:00
Gregory Szorc f9bdc9486a Bug 1392886 - Use abstract base class for Repository; r=mshal
This makes the interface more formalized.

MozReview-Commit-ID: JOjgJjR5MZk

--HG--
extra : rebase_source : 20d015dbd6861ea0738828cf6da89723e2afb4e8
2017-08-23 08:33:56 -07:00
Dustin J. Mitchell 7d502f2abb Bug 1335353: remove refs to /tools/buildbot; r=aki
On Taskcluster machines, /tools/buildbot doesn't exist.  It turns out, nothing
refers to exes['python'] anyway, so we can just remove that (the preference is
to use sys.executable instead).

The references to exes['buildbot'] were all for sendchanges from builds to
tests, and those too are all gone now.

Lines like

   'virtualenv': ['/tools/buildbot/bin/python', '/tools/misc-python/virtualenv.py'],

Were committing two sins: first, using a python executable from a random
virtualenv; and second, using a virtualenv.py from another random directory (in
this case, it's a utility script for a PuppetAgain module). Such lines are
replaced with a reference to /tools/virtualenv/bin/virtualenv, which is
installed for the express purpose of providing a virtualenv binary on testers
(for builds, we use the vendored copy).

MozReview-Commit-ID: 4iHX3B3MLyK

--HG--
extra : rebase_source : e4b4902a19d688b148c136bd10c706fc127cbf2d
2017-08-10 17:05:11 +00:00
Cykesiopka 8d84ab1d10 Bug 1391703 - Introduce common JSM for security/manager/tools/ scripts. r=keeler
PSM has various xpcshell scripts under the security/manager/tools/ folder. At
the moment, these scripts:
  1. Duplicate code.
  2. Aren't testable.

This patch introduces a common, unit tested JSM that these scripts can use.

MozReview-Commit-ID: 5NKRUeJgG8f

--HG--
extra : rebase_source : 5cfdf7fb72f3c0880bcaaf2060c7fcc6645f296a
2017-08-23 14:46:37 +08:00
Mike Hommey 615061e5be Bug 1392868 - Completely remove AutoCollectVsyncTelemetry on late beta. r=froydnj
The class, in practice, was already doing nothing in that case, but with
it being half #ifdef'ed on EARLY_BETA_OR_EARLIER, that led to build
failures for unused code on late beta. Just remove the class completely
on late beta.

--HG--
extra : rebase_source : 801b0b9bb9faf41270f72f616e720d5725e8b25c
2017-08-23 11:52:12 +09:00
Blake Winton ad9fe7889e Bug 1392332 - Set the viewtype attribute correctly when going back to the main view. r=Gijs.
MozReview-Commit-ID: KMK4fQn5DwZ

--HG--
extra : rebase_source : bc06a9659112b6a74099c85e88c1cc636a625884
2017-08-21 13:09:37 -04:00
Martin Stransky 657926a056 Bug 1392582 - Use arrowpanel-dimmed/panel-separator-color colors for awesome bar cursor,r=dao
MozReview-Commit-ID: HdF1to70seD

--HG--
extra : rebase_source : 119beed9d443024d64ffe4122cc8d58a17c5965d
2017-08-23 16:43:19 +02:00
Simon Sapin ec3548f064 servo: Merge #18201 - Update cssparser to 0.19.2 (from servo:cssparserup); r=upsuper
Pull in https://github.com/servo/rust-cssparser/pull/173, which together with #18159 fixes #17205.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2e775abfa4563fc5db467c5c79f9d2507f6bb2e7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 77c9f3763f12450066f6695a98f7267c1c3f7d2a
2017-08-23 08:52:20 -05:00
Emilio Cobos Álvarez aa24347a26 servo: Merge #18191 - style: Implement finer-grained stylist rebuilds (from emilio:incremental-rebuilds); r=SimonSapin,heycam
This is on top of #18170, and aims to resolve https://bugzilla.mozilla.org/show_bug.cgi?id=1386045.

Source-Repo: https://github.com/servo/servo
Source-Revision: c5cf6dc9658c8b90d3cb17f0dbd53e32fd2efd0d

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 4de211284e9b577f5f6e6df2cb31690bcc1d8df4
2017-08-23 07:40:03 -05:00
Mike Conley 55bc28be99 Bug 1387088 - Add a reflow test for when the user is typing a search into the AwesomeBar. r=florian
MozReview-Commit-ID: BP0zlLU9Ltp

--HG--
extra : rebase_source : 4841e0420b16bf60ea767274d77eeeda79569dec
2017-08-17 16:50:30 -04:00
James Cheng 5a887baca6 Bug 1392885 -Add debug message when misusing the guard object. r=froydnj
MozReview-Commit-ID: 78iFX5qUcTC

--HG--
extra : rebase_source : 320b23d8d6a1fcff7fe6573243f10393f1bf56cf
2017-08-23 11:59:21 +08:00
Jared Wein 6c68f6b603 Bug 1387313 - Allow dragging non-removable items (url bar, back/forward buttons) within their toolbar. r=Gijs
MozReview-Commit-ID: 1EQxMcLJn9J

--HG--
extra : rebase_source : 884ddb84896bec96b4cc05d2d067e8e3a69603c7
2017-08-21 14:20:40 -04:00
Kevin Chen 9fa0238d13 Bug 1362321 - Do not crash in gfxPlatform:Init if there is a TDR happening; r=bas
MozReview-Commit-ID: 9gJCErHosg1

--HG--
extra : rebase_source : 6fc0e95b18ee795f2571d82ca81f3a72970142b3
2017-08-09 18:00:01 +08:00
Sebastian Hengst c5b98b786f merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE
--HG--
extra : amend_source : 138539eda803df4aa7fa2d161e78ad36cf3f55ef
2017-08-23 16:31:21 +02:00
Sebastian Hengst 99e5cb9c14 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSKVB94r7Kk
2017-08-23 16:29:51 +02:00
Sebastian Hengst 4582459a55 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-08-23 12:51:32 +02:00
Nicolas Silva 9f6f1a7d88 Bug 1390840 - Add prefs to display the debugging view of webrender's texture cache and intermediate targets. r=jrmuizel 2017-08-23 12:00:37 +02:00
Jon Coppeard 97ccdf1de8 Bug 1358882 - Add a circular module import test r=smaug 2017-08-23 10:51:40 +01:00
Sebastian Hengst 5ec1be5fca Backed out changeset 049ef1d4eb26 (bug 900784) on suspicion of letting devtools' browser_dbg_blackboxing-05.js frequently fail. r=backout
MozReview-Commit-ID: J4ZRfyu0AAf
2017-08-23 11:40:52 +02:00
Stephen Horlander ddf19ad008 Bug 1392724 - Improve Nightly Branding iteration 06. r=mconley, a=RyanVM 2017-08-22 20:46:40 -04:00
Wes Kocher 6dd42e2664 Merge inbound to central, a=merge
MozReview-Commit-ID: BMWuqvmTljV
2017-08-22 17:07:23 -07:00
Wes Kocher 7c8f449d41 Merge autoland to central, a=merge
MozReview-Commit-ID: EGoWUCpbeu6
2017-08-22 15:40:16 -07:00
Sebastian Hengst 1fe4fe07fa Backed out changeset 9e64af6b5158 (bug 1290858) for unexpectedly passing in wpt's /resource-timing/resource-timing.html. r=backout 2017-08-23 00:14:13 +02:00
Rob Wood e229a35db0 Bug 1366071 - Add check in talos tp6 to ensure mitmproxy certificate was installed successfully; r=jmaher
MozReview-Commit-ID: 8wRtSSQ5SEp

--HG--
extra : rebase_source : eaca0fc6d1e1bbaee313e84ab787039b45b5da63
2017-08-22 16:15:37 -04:00
steveck-chung 96e2314506 Bug 1389413 - Part 2: Refactor getRecords unit test after getByFilter API removed. r=lchang
MozReview-Commit-ID: J74ntHV8VLG

--HG--
extra : rebase_source : d7a676268e4aa55c4b64b8098a463789a5048c53
2017-08-23 14:47:14 +08:00
Chris Manchester 10e54911ca Bug 1388012 - Ensure a debug artifact build is done when 'debug_build' is present in the mozharness config. r=armenzg
MozReview-Commit-ID: Dr029B4jxPH

--HG--
extra : rebase_source : caca35f27027e0c046974f02139ab3cc406c5b2b
2017-08-22 10:55:16 -07:00
ffxbld a5363edfb5 No bug, Automated HPKP preload list update from host bld-linux64-spot-305 - a=hpkp-update 2017-08-22 10:07:25 -07:00
ffxbld 3d0753d911 No bug, Automated HSTS preload list update from host bld-linux64-spot-305 - a=hsts-update 2017-08-22 10:07:21 -07:00
Gregory Szorc 16532f718e Bug 1392700 - Vendor robustcheckout with capabilities detection; r=glob
The robustcheckout extension from revision
134574b64ddfa4d7c31977d792761cceca67665a of the version-control-tools
repo is vendored without modifications.

Changes since last time include printing of the Mercurial version and
more robust handling repositories not using modern storage
requirements.

This patch was not explicitly reviewed by glob. But glob reviewed all
the robustcheckout changes since the last vendor. So by the transitive
property of code review...

MozReview-Commit-ID: CejuVVGpaEy

--HG--
extra : rebase_source : d24dd19357c44f50f7605e974d91434bac3c47f8
extra : source : 68cdc2d1184dec80455ba0ea1ebbcab232b8c119
2017-08-22 08:53:51 -07:00