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

5354 Коммитов

Автор SHA1 Сообщение Дата
Sylvestre Ledru b1ad4c3c99 Bug 1422628 - enable bugprone-forward-declaration-namespace in the static analysis r=andi
MozReview-Commit-ID: LHvTVoyy81A

--HG--
extra : rebase_source : bc9a03323ef635a55b2b38297a8d61ca3d8e8320
2017-12-03 22:54:04 +01:00
Sylvestre Ledru 250a624c2a Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : c85c5e8bfb5a0f0dc673ea0b6fce1ac1162d9497
2017-11-28 23:21:54 +01:00
Tom Prince 98988ab6fc Bug 1421002: Get tasks for `mach try fuzzy` from the root of the repository; r=ahal
`mach try` pushes the repository containing the current directory. When this is
a comm-central checkout, the taskcluster configuration should also come from that
repository.

MozReview-Commit-ID: KWbNAe4jrHT

--HG--
extra : rebase_source : e40f5038bdd190fb4cb801ba817c31a3e4031354
extra : source : 7164b051c965280aeb3083e47a93c6d4ac44e2ed
2017-11-21 13:39:21 -07:00
Edouard Oger 0095a12f6f Bug 1420266 - Regenerate constants.js exports in modules.json. r=tcsc
MozReview-Commit-ID: BvBZLLOk6oZ

--HG--
extra : rebase_source : 0c4dba8e8c9e95a071250a49c8a43cdc5da6fd96
2017-11-23 15:22:29 -05:00
Mark Banner e4262540c6 Bug 1417944 - Enable ESLint rule mozilla/use-services for toolkit/. r=mossop
MozReview-Commit-ID: JhHXYma5Adp

--HG--
extra : rebase_source : 79d9876a82b39070d5d3cd1e9464e23d113c88a8
2017-11-22 13:36:34 +00:00
Andi-Bogdan Postelnicu e213dce5f0 Bug 1420366 - remove modernize-use-override from clang-bot config. r=sylvestre
MozReview-Commit-ID: IEZ7NxP9pXe

--HG--
extra : rebase_source : e15d67bba37ddb54c20f6ad37ce99469eb9fe742
2017-11-24 12:26:32 +02:00
Mark Banner 4da30e3721 Bug 1386351 - Let the Lint hook default to pre-push (for git) if being called directly. r=glandium
MozReview-Commit-ID: 9TnLu8w92oN
2017-11-23 09:09:33 +00:00
hrdktg cfc465ea00 Bug 1419986 - Fix ./mach clang-format when run without path argument. r=sylvestre
MozReview-Commit-ID: EdYpYzFHXeM

--HG--
extra : amend_source : 29ce6eddc34d1bfdef856cd0b2286bbf4f67e5ed
2017-11-22 13:06:14 +05:30
shindli 82254ca1cf Merge inbound to mozilla-central r=merge a=merge 2017-11-22 23:29:44 +02:00
Andrew Halberstadt 07b162ff59 Bug 1419772 - [docs] Enable the sphinx.ext.napoleon extension, r=gps
This enables sphinx to parse both the google and numpy style docstring
formats which tend to be more human readable than the default sphinx
format.

See:
http://www.sphinx-doc.org/en/stable/ext/napoleon.html

MozReview-Commit-ID: REmZ4IoUG8

--HG--
extra : rebase_source : 4e3e788d09a7fcc3d3e84bb94744019583e1ee5e
2017-11-22 10:17:12 -05:00
steveck-chung 45ecb2c0e5 Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
MozReview-Commit-ID: 4rFagXU5iit

--HG--
extra : rebase_source : af0f34250fd0f92c84aa3d9b648e72d5e08ca828
2017-11-10 18:36:22 +08:00
Ed Lee 2791b99bc9 Bug 1417017 - Check for content. usage at global and within add_task for no-cpows-in-tests. r=standard8
MozReview-Commit-ID: Asz6dM29uRJ

--HG--
extra : rebase_source : 4f5b67cc5ff48cbdb9afddc24f5842ecaeff0b15
2017-11-14 02:17:57 -08:00
Ciure Andrei c7cf019289 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-11-22 12:20:25 +02:00
Julian Seward 8e4cb88b72 Bug 1415782 - [clang 5 ASAN] LulIntegration.unwind_consistency | Value of: nTestsPassed == nTests (part 2 of 2). r=glandium.
Fixes the LUL unwind test cases (viz, gtest LulIntegration.unwind_consistency)
when built with Clang 5.

* Increases the test stack size, LUL_UNIT_TEST_STACK_SIZE, from 16KB to
  32KB, since 16KB is gives inadequate margin for the test cases used, and
  is actually too small when with building with ASan enabled.

* In the generated test functions, uses write() calls that do nothing to
  ensure that Clang cannot optimise away the space[] array that is used to
  give different frame sizes to the different test functions.  Without
  these, Clang 5 optimises out this array and that causes all the unwind
  tests to fail.

--HG--
extra : rebase_source : 9d91ea9b08e6771facf7a788163d67f1871f5948
2017-11-21 18:11:46 +01:00
Julian Seward d9619fa122 Bug 1415782 - [clang 5 ASAN] LulIntegration.unwind_consistency | Value of: nTestsPassed == nTests (part 1 of 2). r=njn.
Adds minimal support for reading DWARF CFI pertaining to version 4 of the
standard.  Dwarf 4 CFI appears to have become the default used by Clang
version 5.  There are two changes:

* Accepts cie->version == 4.

* For version 4 CIEs, skips over the two new fields address_size and
  segment_size, but ensures that segment_size is zero.  Adds comments in
  ReadFDEFields about what to do if we ever find a case where segment_size
  is nonzero.

This is in no way full or complete Dwarf 4 support, but it is enough to get
LUL working again with Clang 5 compiled code.

--HG--
extra : rebase_source : f4e21ae5b8d0f219a360d14cc242b2aa812056a0
2017-11-21 18:10:16 +01:00
Coroiu Cristina 8f9440611e Merge mozilla-central to autoland. r=merge a=merge on a CLOSED TREE 2017-11-22 01:46:49 +02:00
hrdktg 08472314bf Bug 1413612 - Allow running ./mach clang-format outside of topsrcdir. r=sylvestre
MozReview-Commit-ID: G6F6cFZab3d
2017-11-21 18:22:11 +05:30
Tiberius Oros 797c93d81f Merge inbound to mozilla-central r=merge a=merge 2017-11-21 11:55:23 +02:00
Nika Layzell a7666fd8fe Bug 1418048 - Add a callback-based Send API to async returning IPDL methods, r=billm
Currently if you write an async IPDL method which has a return value, we expose
a SendXXX method which returns a MozPromise. This MozPromise can then be
->Then-ed to run code when it is resolved or rejected.

Unfortunately, using this API loses ordering guarantees which IPDL provides.
MozPromise::Then takes an event target, which the resolve runnable is dispatched
to. This means that the resolve callback's code doesn't have any ordering
guarantees relative to the processing of other IPC messages coming over the same
protocol.

This adds a new overload to SendXXX with two additional arguments, a lambda
callback which is called if the call succeeds, and a lambda callback which is
called if the call fails. These will be called in order with other IPC messages
sent over the same protocol.

MozReview-Commit-ID: FZHJJaSDoZy
2017-11-20 17:55:32 -05:00
Andrew Halberstadt e3109289c8 Bug 1419512 - [tryselect] Consolidate subcommand parser retrieval in mach_commands.py, r=armenzg
This is a minor cleanup around finding and importing subcommand parser in |mach try|.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 6b05b6f3fafed607992b9427225fd43165c4102f
2017-11-02 16:02:35 -04:00
Tom Prince c26f79ab2a Bug 1402154: Allow specifying an absolute path to mount sphinx docs. r=gps
MozReview-Commit-ID: 8OLCtwg8zXc

--HG--
extra : rebase_source : ad2ab3272d8f326f80287b190e779366872d95fc
2017-11-20 11:56:52 -07:00
Csoregi Natalia 2bccdfa7a0 Backed out 2 changesets (bug 1022925) for failing browser/base/content/test/static/browser_all_files_referenced.js r=backout on a CLOSED TREE
Backed out changeset edbf6d586c9a (bug 1022925)
Backed out changeset 44f9fc2f03bb (bug 1022925)

--HG--
rename : browser/extensions/formautofill/addressmetadata/addressReferences.js => browser/extensions/formautofill/content/addressReferences.js
2017-11-21 17:00:09 +02:00
steveck-chung 172ad9bbb9 Bug 1022925 - Part 2: Move alternative name to extension file. r=lchang,scottwu
MozReview-Commit-ID: 4rFagXU5iit

--HG--
extra : rebase_source : c80881a1154583494af6c8b560a2ed70e2f0af8c
2017-11-10 18:36:22 +08:00
Robert Helmer 56ca69de9d Bug 1389341 - start generating jsdoc for AddonManager API r=kmag
MozReview-Commit-ID: IpREaXBIMbq

--HG--
extra : rebase_source : 83fa1b40a52f890b25bbf477bef2aaf146f77098
2017-09-14 13:18:11 -07:00
Robert Helmer 42315c18f8 Bug 1389341 - add basic support for sphinx-js to mach doc r=gps
MozReview-Commit-ID: FIzWD8tnjYi

--HG--
extra : rebase_source : 655ea46cffefda77f0908924fdbbb8d17212654a
2017-09-14 13:17:09 -07:00
Axel Hecht fcebba4388 bug 1385227, generate full update from l10n-stage directly, r=rail
For regular builds, we build the mar from an unpackaged exe on windows.
For repacks, we just built that from our l10n-stage directory,
don't unpack again.

MozReview-Commit-ID: 8gQ9G23RgzB

--HG--
extra : rebase_source : b3eb944a0cf423a4b0e22d8884fc90780a3bb109
extra : source : 84091f931dff9e1253b0cfa96b4197255a94ddb2
2017-08-22 15:27:51 +02:00
Dan Banner b2e847755c Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
MozReview-Commit-ID: GrlcOI9K2hJ

--HG--
extra : rebase_source : 6574cf3c67eb11733ffd9999c260f71c8551abc4
2017-05-28 19:57:46 +01:00
Andrew Halberstadt c10125cefb Bug 1405588 - [lint] Stop forwarding 'args' in the git pre-push hook, r=standard8
The args passed in from the git pre-push hook aren't necessarily a valid ref,
so can result in failure. By default, the git implementation should be smart
enough to automatically determine which ref to compare against, so passing this
in from the hook shouldn't be necessary.

MozReview-Commit-ID: ESMQqbeGOHd

--HG--
extra : rebase_source : 3c363b6c531f278d7c5b3ddf41fb0f16e79966dc
2017-11-01 17:07:18 -04:00
Noemi Erli 550148ab69 Merge inbound to mozilla-central r=merge a=merge 2017-11-15 11:57:12 +02:00
Mark Banner 7f5c3c3582 Bug 1375689 - Turn on experimentalObjectRestSpread in ESlint options. r=mossop
MozReview-Commit-ID: BLZp3HskBji

--HG--
extra : rebase_source : 721d0586deb572a5e989547d592d741cc9d15950
2017-11-14 13:21:16 +00:00
qiaopengcheng-hf@loongson.cn 5ff18c936d Bug 1403438 - Amend profiler-lul code on mips64-linux. r=njn 2017-11-13 14:23:50 +08:00
Mark Banner 2cb6019eeb Bug 1371293 - Automatically clobber node_modules when upgrading from ESLint 3 to 4. r=ahal
This is intended to help with ensuring that developer's profiles cleanup and upgrade correctly, as we've seen issues in the past.

MozReview-Commit-ID: CqCRDN0y64I

--HG--
extra : rebase_source : a4668cd40bfaf1dc031e02713de78767305d4728
2017-11-07 14:30:56 +00:00
Mark Banner c62d0c64f8 Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
MozReview-Commit-ID: 2YHYOLTtqxu

--HG--
extra : rebase_source : 7bbc673bb72d546e1fca63227d54b6607a4ab33e
2017-10-09 10:54:16 +01:00
Marco Castelluccio 0590afed91 Bug 1416199 - Don't try to set signal handlers in Windows coverage build. r=froydnj
--HG--
extra : rebase_source : f74f90bf0e146d674044eeef2c2e9b546335a564
2017-11-10 12:50:14 +01:00
qiaopengcheng be9033b5a9 Bug 1403438 - Add profiler-lul on mips64-linux. r=sewardj
--HG--
extra : rebase_source : 9f507b59a77785d60a0944baf4dad27ec7d2e1c7
2017-09-28 02:04:00 -04:00
Geoff Brown cbb956e0c3 Bug 1407679 - Merge nsIIOService and nsIIOService2; r=nwgh 2017-11-10 07:03:36 -07:00
Margareta Eliza Balazs 7e070192d7 Merge inbound to mozilla-central r=merge a=merge 2017-11-10 11:55:43 +02:00
Nicholas Nethercote f4dd5e2636 Bug 1414096 (attempt 2) - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : b885ee784704819e181430200af5ef762e269d14
2017-11-10 09:07:48 +11:00
Andreea Pavel e1c8aba28f Merge mozilla-central to mozilla-inbound r=merge a=merge on a CLOSED TREE 2017-11-09 22:17:00 +02:00
Sylvestre Ledru 90533210dc Bug 1415845 - Enable two more clang-tidy checkers: misc-unused-using-decls & misc-argument-comment r=andi
MozReview-Commit-ID: CXjGaqIdHan

--HG--
extra : rebase_source : 21dc4763d0a2f183d3946911dfaf5d68c834729c
2017-11-09 12:03:27 +01:00
Edouard Oger 1873a289f7 Bug 1415957 - Remove MozMill from TPS. r=tcsc
MozReview-Commit-ID: HyBXrNqhzIf

--HG--
extra : rebase_source : da197fa045f70621d5549e961876cfc6ce15264b
2017-11-09 15:34:06 -05:00
Andrew Halberstadt 28d07aeea3 Bug 1414919 - [tryselect] Add --rebuild support to |mach try fuzzy|, r=jmaher
This allows rebuilding all selected tasks. This defines an upper limit of
20 rebuilds per push. If more are needed, developers can either change it
in code or push multiple times.

MozReview-Commit-ID: I0XtMP5yEEq

--HG--
extra : rebase_source : 2583bed5dd33df72a4d7f1cd0ce012e412418c5e
2017-11-07 10:27:44 -05:00
Sebastian Hengst a353221537 merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-09 00:00:16 +02:00
Narcis Beleuzu 57d9eb5fb1 Backed out 1 changesets (bug 1414096) for dt1 failures "devtools/client/commandline/test/browser_cmd_pref3.js" r=backout on a CLOSED TREE
Backed out changeset e843de356b7e (bug 1414096)
2017-11-08 18:04:01 +02:00
Sylvestre Ledru 514cedaafc Bug 1414636 - Rename the 'register' variable to silent a warning r=jseward
MozReview-Commit-ID: 7gUn991qRzI

--HG--
extra : rebase_source : 1298b4c6c4f2e99be0e114aa19a70b2d9725cc61
2017-11-05 17:31:09 +01:00
Andrew Halberstadt 52dad304bf Bug 1414399 - [moztest] Refactor |mach test|'s resolving logic into moztest.resolve r=gps
The code in |mach test| for test resolving, should get merged with the TestResolver
class in moztest.resolve. This way it can be shared with other modules and we'll
have a single canonical place for all our test resolving logic.

MozReview-Commit-ID: IHRXXi5mB4G

--HG--
extra : rebase_source : 6f96d06412ab8fa152ac5d9bdd15acbcdc9695c4
2017-11-08 09:59:51 -05:00
Andrew Halberstadt a69182174e Bug 1414399 - [mozbuild/moztest] Move mozbuild.testing.TestResolver to moztest.resolve r=gps
The TestMetadata and TestResolver classes aren't technically part of the build
system. The only connection is that they consume some build system output.

The next patch in this series is going to be merging in a bunch of other test
resolving logic from other parts of the tree. Moving this out first allows us
to keep that extra logic out of mozbuild.

MozReview-Commit-ID: 1eq4SjFVCyW

--HG--
rename : python/mozbuild/mozbuild/test/test_testing.py => testing/mozbase/moztest/tests/test_resolve.py
extra : rebase_source : 7ff11f9ec455547533082d20cb5371845f7a4f21
2017-11-06 08:41:42 -05:00
Narcis Beleuzu 218e1676cb Merge inbound to mozilla-central r=merge a=merge 2017-11-08 12:51:09 +02:00
Nicholas Nethercote 8b3d03c666 Bug 1414096 - Remove support for nsISupportsString values in nsPrefBranch::{get,set}ComplexValue(). r=florian.
Bug 1345294 introduced nsPrefBranch::{get,set}StringPref(), which allowed the
getting of utf8 strings from prefs, which previously required using
nsISupportsString with {get,set}ComplexValue. That bug also converted most
uses.

This patch finishes the job.

- It removes the nsISupportsString support.

- It converts existing code that relied on the nsISupportsString.

- It removes the lint that was set up to detect such uses of nsISupportsString.

--HG--
extra : rebase_source : fb7af066adfa0491a79fae6282a62b08661553c8
2017-10-31 16:34:35 +11:00
Andrew Halberstadt 8f49c97d69 Bug 1414894 - [tryselect] Don't install shell extensions when bootstrapping fzf for |mach try fuzzy|, r=armenzg
Currently the prompts don't make it clear enough that running fzf will mess with your
shell settings. This means users could install it without realizing, forget and get
confused later on.

Rather than try to address this, it's simpler to always skip the shell extensions as
|mach try fuzzy| doesn't need them anyway. The extensions are useful, but are better
installed via something like |mach bootstrap| which can be tackled in a separate bug.

MozReview-Commit-ID: 2kx7UGO5LJ0

--HG--
extra : rebase_source : 64474626aeab9f2f04f491afc65ca7cadd717296
2017-11-06 20:29:25 -05:00