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

5300 Коммитов

Автор SHA1 Сообщение Дата
Sebastian Hengst f0accc0bc5 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-11-04 11:01:09 +01:00
Chris Peterson 84d577e4a4 Bug 1412048 - Remove NS_RUNTIMEABORT. r=froydnj
Use MOZ_CRASH, MOZ_CRASH_UNSAFE_OOL, or MOZ_CRASH_UNSAFE_PRINTF instead.

MozReview-Commit-ID: 1kCCHMlgbGP

--HG--
extra : rebase_source : 2f07ced16bccebf30cd3b2b5fea35e9868d32dad
extra : source : 0bf2c8425b828e71de55dd175fd0dad635b4e67d
2017-10-24 23:41:15 -07:00
NARCIS BELEUZU 2e3654a915 Merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-11-03 12:04:55 +02:00
Chris Manchester e84068a5db Bug 1411712 - Move libfuzzer ldflags filtering to moz.build. r=mshal
MozReview-Commit-ID: 50aeTifZ1gT

--HG--
extra : rebase_source : b89709f4bb5027061ab8da0fee0e864d4f25bb97
2017-11-02 11:47:49 -07:00
Sebastian Hengst 4ff29d14f8 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: GSDYk9wLOAM

--HG--
rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
2017-11-01 22:55:12 +01:00
Jim Chen d19eceacd5 Bug 1406168 - 1. Remove JNI.jsm; r=sebastian
Remove JNI.jsm. Convert code that used JNI.jsm to the equivalent using
EventDispatcher.

MozReview-Commit-ID: JQdCubcTBAR
2017-11-01 14:48:48 -04:00
Mark Banner d7b2685724 Bug 1412890 - Enable ESLint rule mozilla/use-services for toolkit/components/passwordmgr. r=MattN
MozReview-Commit-ID: BNojtj1cAji

--HG--
extra : rebase_source : 8480740988f3d7f94358360926ae8957c06a0758
2017-10-30 16:28:39 +00:00
Andrew Halberstadt 22eb565843 Bug 1413374 - [tryselect] Fix |mach try empty| regression and add a test, r=armenzg
MozReview-Commit-ID: Iv2RDqqhL57

--HG--
extra : rebase_source : c609fea4ff27766027fb072bd7c778f3884a1d46
2017-11-01 08:12:42 -04:00
Attila Craciun 566b7a287d Backed out 1 changesets (bug 1412890) possible ESlint failure r=backout on a CLOSED TREE.
Backed out changeset cac71ff2481c (bug 1412890)
2017-11-01 10:32:50 +02:00
Mark Banner 7dcccb8252 Bug 1412890 - Enable ESLint rule mozilla/use-services for toolkit/components/passwordmgr. r=MattN
MozReview-Commit-ID: BNojtj1cAji

--HG--
extra : rebase_source : cfbe9b186e4be171674807a48d9e1accb67b34db
2017-10-30 16:28:39 +00:00
Sebastian Hengst 7a0f790c30 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4CDH6A5NT2U
2017-11-01 00:36:12 +01:00
Attila Craciun eaa25de8e4 Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-31 12:54:14 +02:00
Tristan Bourvon b15e4b2827 Bug 1412648 - Initialize some uninitialized fields in tools/profiler/. r=mstange 2017-10-31 11:20:12 +01:00
Sylvestre Ledru 8aad132e5c Bug 1411004 - ./mach clang-format: Better handling of relative paths r=mystor=mystor
For example, this is addressing the issue:
./mach clang-format -p ./mfbt/

MozReview-Commit-ID: Le8mPTOEfA7

--HG--
extra : rebase_source : ed196a2a86793d6601f590ce04744ebc7f3cd303
2017-10-30 18:36:28 +01:00
Sebastian Hengst 8d87f8dc5c Backed out changeset 31f259ee387b (bug 1411004) for failing flake8 at tools/mach_commands.py:307:14 | indentation is not a multiple of four. r=backout
--HG--
extra : rebase_source : 9aa7815837319af97673a17aae6096b297b9564d
2017-10-31 16:20:11 +01:00
Sylvestre Ledru 751ec47c7c Bug 1411004 - ./mach clang-format: Better handling of relative paths r=mystor=mystor
For example, this is addressing the issue:
./mach clang-format -p ./mfbt/

MozReview-Commit-ID: Le8mPTOEfA7

--HG--
extra : rebase_source : 87ca393854f1dfc4f3959e91677a4cbc6fb80287
2017-10-30 18:36:28 +01:00
Andrew Halberstadt 25bfeaa7a6 Bug 1412134 - [tryselect] Redirect stderr to a separate pipe, r=chmanchester
We parse the output of several version control commands in |mach try|, yet
redirect stderr to stdout. This is causing issues for people whenever the
vcs outputs some kind of warning.

MozReview-Commit-ID: F0L56at0MYS

--HG--
extra : rebase_source : 40be54cd1a9e2b87c4d2b3ed7adeeec40f937a39
2017-10-30 16:35:45 -04:00
Phil Ringnalda 046d7cd77a Backed out changeset 349b9517cb9b (bug 1403131) for wpt, talos, android, and marionette failures
CLOSED TREE

MozReview-Commit-ID: GEyvPM0mvkR
2017-10-30 20:55:37 -07:00
Valentin Gosu 1bd153659e Bug 1407720 - Merge nsICookieManager and nsICookieManager2 r=nwgh
MozReview-Commit-ID: HuzeeB43YZZ

--HG--
extra : rebase_source : 3924170ce50126dbbae7c97cae601b69d0ab95af
2017-10-31 13:02:28 +01:00
Steve Armand bb8ebfb3dd Bug 1403131 - Run linters against mozharness scripts and configs. r=rail
MozReview-Commit-ID: vCOGNkXdEB

--HG--
extra : rebase_source : ae13f1a7db351173a2ffebad5695706711bc0217
extra : amend_source : 17c34ccb9e603b5219ec898c5ef767ab541ca6f7
2017-10-28 22:43:19 -04:00
Andrew Halberstadt fed6622b29 Bug 1400503 - [tryselect] Add an option to open the presets file in an editor, r=armenzg
MozReview-Commit-ID: 2jwdAaNWHH7

--HG--
extra : rebase_source : 8b3d054ce7b6deae439ba657c9c7607043898b3d
2017-10-27 14:58:34 -04:00
Andrew Halberstadt d801a6a681 Bug 1400503 - [tryselect] Separate 'common_arguments' into groups sub-parsers can opt-in to, r=armenzg
This allows subparsers more control over which sets of arguments they need to
implement.  For example, it doesn't make sense for the 'empty' selector to
accept the preset arguments.  Now it can opt-out of those and only implement
the 'push' arguments.

MozReview-Commit-ID: GOfjcFtlfDD

--HG--
extra : rebase_source : 4542adc49e38ff8c450a16363706aba669ad6594
2017-10-27 11:06:24 -04:00
Mark Banner 01008c7d57 Bug 1412778 - Enable ESLint rule no-cpows-in-tests across the whole tree. r=florian
MozReview-Commit-ID: 8pidN7x6MYh

--HG--
extra : rebase_source : 6a0d6800091231fc1535223bd7fc6df0ba40d47b
2017-10-30 09:55:39 +00:00
Paul Bone ec83bd6518 Bug 1386511 - Part 1: Revise the format of the GC profiler markers. r=jonco, r=mstange
This change also updates the documentation to correct the semantics of GC
slice numbers.
2017-10-31 14:32:49 +11:00
Mark Banner 3b50478984 Bug 1246896 - Bump version number of eslint-plugin-mozilla, and update its dev dependencies. r=florian
MozReview-Commit-ID: 1rmbkvCeXfa

--HG--
extra : rebase_source : a79b9c1412914362bfd227478511c54729b801e7
2017-10-27 16:44:53 +01:00
Mark Banner 0f98aa8a05 Bug 1246896 - Improve detection for mozilla/no-cpows-in-tests.js 'content' - only notify when content is used as an identifier. r=florian
MozReview-Commit-ID: 1X38Wq4hUmZ

--HG--
extra : rebase_source : 6d7b0e8c9048045b47af02590455e060411953e3
2017-10-13 17:04:48 +01:00
Mark Banner 272b0102c2 Bug 1246896 - Add some basic tests for ESLint rule mozilla/no-cpows-in-tests.js. r=florian
MozReview-Commit-ID: 2tZS1GYUUbH

--HG--
extra : rebase_source : 9feff09ef0305e67b3580c6260740ccdbfa699c4
2017-10-13 16:10:36 +01:00
Mark Banner 4de6bf22b1 Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
MozReview-Commit-ID: H5YVp3rnzGo

--HG--
extra : rebase_source : 5b45b6c0df834131812d094e975047eaad374e06
2017-10-26 11:47:01 +01:00
Maja Frydrychowicz 1fe7490b20 Bug 1411430 - Support markdown in Sphinx docs; r=gps
MozReview-Commit-ID: IdRuC4AFarq

--HG--
extra : rebase_source : f0b6c72340920fad49ab06887cd25db436c82897
2017-10-23 09:59:31 -04:00
Sylvestre Ledru b470a9a929 Bug 1411960 - Enable modernize-avoid-bind to recommend using lambda instead of std::bind r=andi
MozReview-Commit-ID: C9bOP9SxFan

--HG--
extra : rebase_source : 352bf343efeb26593b451bee4863e08838a93a5b
2017-10-26 15:09:54 +02:00
Sebastian Hengst 443416f881 Merge mozilla-central to autoland. r=merge a=merge 2017-10-26 00:39:55 +02:00
Chris Manchester 8dc000aa60 Bug 1403346 - Move cxxflags filtering for libfuzzer from Makefile.in to moz.build r=glandium
MozReview-Commit-ID: LDHiMMRjqut
2017-10-25 15:12:10 -07:00
Andrew Halberstadt 59d606ead7 Bug 1411568 - Enable py3 linter on testing/xpcshell r=stevea1+601043
MozReview-Commit-ID: 722pub6TTuQ

--HG--
extra : rebase_source : 54571c07d49cdb01b3593c861fa708f51fd2f7bd
2017-10-25 08:51:16 -04:00
Sebastian Hengst 1ead0a96a9 Backed out changeset dab1c5badddb (bug 1407679) for failing server startup in mochitests on Android. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 3dc4cb2bbaf55f3f6329687ce64d4e862fc3800b
2017-10-24 21:18:26 +02:00
Valentin Gosu 9dd47ebf50 Bug 1407679 - Merge nsIIOService and nsIIOService2 r=nwgh
Removes deprecated nsIIOService2.newChannelFromURIWithProxyFlags

MozReview-Commit-ID: Gr3nA25kcre

--HG--
extra : rebase_source : 3407b5ed0f8f7067523abee28c137db3cac86b14
2017-10-20 16:41:07 +02:00
Gregory Szorc a56fef0fd4 Bug 1410969 - Consolidate code for resolving path metadata; r=ahal
find_paths_and_tags() can instantiate a BuildReader to read moz.build
metadata. We switch `mach test` to call this to avoid some redundant
code.

To facilitate `mach try`'s use case, we add test flavors to the
result of find_paths_and_metadata() and change the function name to
reflect its more generic purpose.

MozReview-Commit-ID: Lcz05W8g2dt

--HG--
extra : rebase_source : 17d6f23275f4eed1bd544a9b2cd991214625dabc
2017-10-23 10:42:41 -07:00
Gregory Szorc 9a4d779385 Bug 1410969 - Return dict from find_paths_and_tags(); r=ahal
This will make the return value more easily extensible and will help
consumers know what the data structures represent.

MozReview-Commit-ID: DaeYsqfMW37

--HG--
extra : rebase_source : 440d16f0604b21f0ec885e1bca5066c32b18f641
2017-10-23 10:36:38 -07:00
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Sylvestre Ledru e0bda6ceaf Bug 1410938 - Make mach_commands.py flake8/pep8 compatible and add it the list of flake8 files r=gps
MozReview-Commit-ID: HKWsDehR0vZ

--HG--
extra : rebase_source : 1e77f8aee5f909dd7b4cfaace6014015c51cf589
2017-10-23 18:40:22 +02:00
Sylvestre Ledru c879ade558 Bug 1410938 - Split the clang-format calls into batches of 200 files r=gps
MozReview-Commit-ID: 3cH295RBcv3

--HG--
extra : rebase_source : 68765af2185f73820963da052d3aec036358a2e5
2017-10-23 18:14:32 +02:00
Sebastian Hengst af53b8aad8 merge mozilla-central to autoland. r=merge a=merge 2017-10-23 23:52:54 +02:00
Tom Prince d360c9785d Bug 1410769: Use SHA-1 signing when MAR_OLD_FORMAT is set; r=nalexander,rstrong
MozReview-Commit-ID: DFjcozLqskI

--HG--
extra : rebase_source : c23b6578552c65dea6a4b3b7184e683702117a6f
extra : source : d021fb9c48dc615e5cc621f8f27181e2e5e63243
2017-10-22 21:46:41 -06:00
Sebastian Hengst 18f1987735 merge mozilla-central to mozilla-inbound. r=merge a=merge 2017-10-23 11:46:34 +02:00
Nicholas Nethercote 3842370ed8 Bug 1405541 (attempt 2) - Split AUTO_PROFILER_LABEL_DYNAMIC into three macros. r=mstange.
It's easy to mess up the scoping so that (a) the label is pushed and then
immediately popped, and/or (b) the string doesn't live long enough. It's also
easy to do a utf16-to-utf8 conversion unnecessarily when the profiler is
inactive. This patch splits that macro into three new ones that are harder to
mess up.

- AUTO_PROFILER_LABEL_DYNAMIC_CSTR: same as current.
- AUTO_PROFILER_LABEL_DYNAMIC_NSCSTRING: for nsCStrings.
- AUTO_PROFILER_LABEL_DYNAMIC_LOSSY_NSSTRING: for nsStrings.

--HG--
extra : rebase_source : 3e2bbec4737b696e1c86579ae54be4cb3186c100
2017-10-13 16:12:57 +11:00
Gerald Squelart d2ed3d6312 Bug 1410252 - Convert 'WrapNotNull(new T(...' to 'MakeNotNull<T*>(...' - r=njn
Most cases where the pointer is stored into an already-declared variable can
trivially be changed to MakeNotNull<T*>, as the NotNull raw pointer will end
up in a smart pointer.

In RAII cases, the target type can be specified (e.g.:
`MakeNotNull<RefPtr<imgFrame>>)`), in which case the variable type may just be
`auto`, similar to the common use of MakeUnique.
Except when the target type is a base pointer, in which case it must be
specified in the declaration.

MozReview-Commit-ID: BYaSsvMhiDi

--HG--
extra : rebase_source : 8fe6f2aeaff5f515b7af2276c439004fa3a1f3ab
2017-10-20 18:25:33 +11:00
Phil Ringnalda 86e513ba69 Backed out changeset 3159df8aca1a (bug 1386511) for browser_TelemetryGC.js timeouts
MozReview-Commit-ID: 9OFS7FTjVis
2017-10-19 20:40:31 -07:00
Attila Craciun a323e78c2b Merge mozilla-central to mozilla-inbound. r=merge a=merge CLOSED TREE 2017-10-25 12:36:59 +03:00
Steve Armand df510b4622 Bug 1403131 - Run linters against mozharness scripts and configs. r=rail
MozReview-Commit-ID: 3dkx1SQiIns

--HG--
extra : rebase_source : 45f049032243b8bbae7d052a89cefcdb2b7e1f60
2017-10-24 20:21:41 -04:00
Paul Bone 7746cd0200 Bug 1386511 - Revise the format of the GC profiler markers. r=jonco 2017-08-23 14:58:44 +10:00
Nicholas Nethercote b66a653de9 Bug 1407458 - Use nsString for Observation filenames. r=erahm.
This avoids some unnecessary string copying.

--HG--
extra : rebase_source : a81a5e1612be2897a4285f5f395e7cb3ed006bc8
2017-10-17 08:22:12 +11:00