Commit Graph

5381 Commits

Author SHA1 Message Date
Cosmin Sabou
2d8d0b4c2c Backed out 3 changesets (bug 1423425) for frequent browser chrome failures r=backout on a CLOSED TREE
Backed out changeset c3ac950b0b8a (bug 1423425)
Backed out changeset d64fd69a4b88 (bug 1423425)
Backed out changeset 04017639642a (bug 1423425)
2017-12-16 02:45:41 +02:00
Andrew Swan
8c271228b8 Bug 1423425 Initial draft of WebExtensions API documentation r=bsilverberg
MozReview-Commit-ID: EwcE881XGfp

--HG--
extra : rebase_source : 13ef6ba6ff73349c9fe5c25f16b305418b9804ff
2017-12-05 18:54:34 -08:00
Andrew Swan
02474d47f7 Bug 1423425 Let sphinx-js read .js files r=erik
MozReview-Commit-ID: LfL3CG6L4Ss

--HG--
extra : rebase_source : 5a53dac9891fc9233a8b380c4a52eb9154c564a9
2017-12-05 18:53:59 -08:00
Andrew Halberstadt
ee40e820d8 Bug 1336857 - [lint] Fix 'wpt' linter on Windows, r=jgraham
MozReview-Commit-ID: 3yIXWkinHDD

--HG--
extra : rebase_source : de0f8adac59a74b7b7f3f4515d246c35dc467b28
2017-12-14 12:37:01 -05:00
Andreea Pavel
88a00ab51b Backed out 5 changesets (bug 1418425) for Windows updater bustages and xpshell failures on toolkit/mozapps/update/tests/unit_base_updater/marSuccessPartial.js r=backout on a CLOSED TREE
Backed out changeset 228743018ded (bug 1418425)
Backed out changeset f29f7bb3059a (bug 1418425)
Backed out changeset 1d798e14223b (bug 1418425)
Backed out changeset fd4af65bf966 (bug 1418425)
Backed out changeset 656649ecfb11 (bug 1418425)

--HG--
extra : amend_source : 686bbebdb6f490496f9c69ccff4ac22bbb495ad5
2017-12-12 17:48:45 +02:00
Sylvestre Ledru
87099dcb69 Bug 1418425 - Remove libbz2 files as we were only using it for crc32 as the updater moved to lzma r=glandium
MozReview-Commit-ID: 8Sz8vtV0b5G

--HG--
extra : rebase_source : dfe12a9c531814ae5fd058f6def7a115d4fe7dac
2017-11-24 16:45:47 +01:00
Gurzau Raul
15f8898e50 Merge mozilla-central to autoland. r=merge a=merge CLOSED TREE 2017-12-09 00:56:50 +02:00
Gurzau Raul
91d3bc0100 Merge inbound to mozilla-central r=merge a=merge 2017-12-09 00:36:15 +02:00
Clément David
e315ae631a Bug 1419495 - Remove SelfSupport service r=dexter r=smaug 2017-12-02 21:52:30 +01:00
Cosmin Sabou
c191e25cf5 Merge mozilla-inbound to mozilla-central r=merge a=merge 2017-12-08 11:56:44 +02:00
Eric Rahm
07c97a5afe Bug 1423773 - Part 1: Remove usage of nsStringGlue.h. r=glandium
This removes an unnecessary level of indirection by replacing all
nsStringGlue.h instances with just nsString.h.

--HG--
extra : rebase_source : 340989240af4018f3ebfd92826ae11b0cb46d019
2017-12-06 16:52:51 -08:00
Andrew Halberstadt
d8a05f2775 Bug 1397433 - [tryselect] Create in-tree documentation for |mach try|, r=jmaher
This adds some basic documentation for |mach try| and its various subcommands.
This was a bit hastily made for the Austin all-hands, but at least provides a
place to link to and can be improved upon in the future.

MozReview-Commit-ID: 8N6LZO5kTlL

--HG--
extra : rebase_source : c7e215703426f6cfb03b044d188a53d1ba878a75
2017-11-07 16:26:14 -05:00
Sylvestre Ledru
84f063bdfa Bug 1424294 - Also manage spaces in filename in tools/update-packaging/common.sh r=bhearsum
MozReview-Commit-ID: 4hrr59gEeEM

--HG--
extra : rebase_source : de4731a04f794757a06cd782f85ab9993a7206a2
2017-12-08 15:21:07 +01:00
Sylvestre Ledru
4591d82b23 Bug 1394734 - Replace CONFIG['CLANG*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: HbF5oT5HW6f

--HG--
extra : rebase_source : eca479b6ae4bff7f600d1cdb39e11ac2057e4e79
2017-12-07 22:09:38 +01:00
Sylvestre Ledru
9bfe27d903 Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
MozReview-Commit-ID: 7duJk2gSd4m

--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Andrew Halberstadt
ab5fe4707a Bug 1423887 - [tryselect] Enable taskgraph.fast when generating tasks from |mach try|, r=catlee
This speeds up taskgraph generation by ~6 seconds on my machine. Future
improvements are also planned for 'fast' mode.

MozReview-Commit-ID: CLORvLXuV8y

--HG--
extra : rebase_source : a59dc5f166eff15e5031f5736eadac41dcd46ffe
2017-12-07 09:01:35 -05:00
Dorel Luca
ed8dc2034d Merge inbound to mozilla-central r=merge a=merge 2017-12-07 00:01:19 +02:00
Sylvestre Ledru
06be3310e3 Bug 1407285 - Support spaces in MOZ_MACBUNDLE_NAME and in various Makefile and tools r=glandium
MozReview-Commit-ID: Eda1qiPCTJ0

--HG--
extra : rebase_source : 1766fd1c1b78244161efce0b6db8b58dd2ec2009
2017-11-28 23:21:54 +01:00
David Major
ad7ff3a791 Bug 1423287 - Simplify NtCurrentTeb() handling. r=njn 2017-12-06 09:36:00 -05:00
Andrew Halberstadt
0e697ce235 Bug 1422302 - Create python/mozterm for sharing terminal blessings across modules r=gps
This is a new module that will provide a place to store some common
abstractions around the 'blessings' module. The main entrypoint is:

    from mozterm import Terminal
    term = Terminal()

If blessings is available, this will return a blessings.Terminal()
object. If it isn't available, or something went wrong on import,
this will return a NullTerminal() object, which is a drop-in
replacement that does no formatting.

MozReview-Commit-ID: 6c63svm4tM5

--HG--
extra : rebase_source : 9ab221774d92a418d9b098d79bb2c88f75d937f8
2017-12-04 09:38:24 -05:00
Mark Banner
499ca20f31 Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop
MozReview-Commit-ID: KOZWr7FiDQZ

--HG--
extra : rebase_source : 92c9bc236c9043f6ce25cc2ba45264918eb2ac15
2017-11-28 19:24:12 +00:00
Mark Banner
41c7322062 Bug 1421968 - Fix more instances of .getService to use Services.jsm where possible. r=mossop
MozReview-Commit-ID: 2EbsWq7VPrI

--HG--
extra : rebase_source : 4e751a74b641b99b01af0947bf2eeaafb3fe8c62
2017-11-30 12:04:16 +00:00
Tom Prince
615d82c39d Bug 1421162: Remove some dead mozharness mar code; r=jlund
MozReview-Commit-ID: JvkQ713z1eW

--HG--
extra : rebase_source : 25329f9d189cc1ca1c5823bfa0c15966417ff841
extra : source : d768123592505cb15bcb03f86b62e244c066626a
2017-11-27 22:50:31 -07:00
Sebastian Hengst
586a1914e3 merge mozilla-central to autoland. r=merge a=merge 2017-12-05 01:37:16 +02:00
Sebastian Hengst
8faace1526 Backed out changeset 9fff8b2fcf78 (bug 1407285) for L10n bustage. r=backout a=backout 2017-12-05 01:28:11 +02:00
Mark Banner
35c35f9fa8 Bug 1422724 - Remove items that are no longer in PlacesUtils.jsm from ESLint's module.json list. r=mak
MozReview-Commit-ID: IkbT2Vz65FJ

--HG--
extra : rebase_source : 196caa055821cd850c3b3c82c7e717c9b0c91e68
2017-12-04 12:09:44 +00:00
Sylvestre Ledru
96903a4e47 Bug 1422363 - Enable readability-static-accessed-through-instance in the static analysis r=andi
MozReview-Commit-ID: H65g81ZCSfp

--HG--
extra : rebase_source : 37797c334c55e3679026801e19d28ed8b49a3b4c
2017-12-01 19:12:49 +01:00
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