Commit Graph

4994 Commits

Author SHA1 Message Date
Wes Kocher
4eb745567e Merge autoland to central, a=merge
MozReview-Commit-ID: 1vnfzrwONu9
2017-07-31 16:43:19 -07:00
Robert Strong
32892aa50e Bug 1385780 - New mar convertor script to convert a mar file from bzip2 to lzma and from lzma to bzip2. r=bhearsum, a=app_update_lzma 2017-07-31 10:34:37 -07:00
Robert Strong
77e64d46e5 Bug 1385780 - Update mar file generation scripts for lzma. r=bhearsum
Adds support to unwrap_full_update.pl to detect if the mar file's contents were compressed using bzip2 and if not to default to lzma, a=app_update_lzma
2017-07-31 10:34:30 -07:00
Robert Strong
8644543020 Bug 1385780 - Update mar file generation scripts for lzma. r=bhearsum, r=rail, a=app_update_lzma
Update scripts to support both lzma and bzip2
Update unused python script to support lzma. This also adds python 3.0 support to the script while still supporting pythin 2.7
Update test scripts to support lzma
2017-07-31 10:34:22 -07:00
Dustin J. Mitchell
7e333c01b5 Backed out changeset 19f92c04608c for breaking try pushes a=bustage
MozReview-Commit-ID: FowbO5T9aUl

--HG--
extra : amend_source : a450b54d4daf355966f0b7b5bfe432316ce98364
2017-07-31 16:04:01 +00:00
Sebastian Hengst
bbe32b6bed merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 44WBcWjnVo
2017-07-30 11:19:17 +02:00
Dustin J. Mitchell
31ffb087d5 Bug 1382729: Upload documentation to S3 automatically; r=gps
This uses credentials stored in the Taskcluster secret service. The task should
only run on mozilla-central to avoid confusion between branches.

MozReview-Commit-ID: 31XfTg0sCht

--HG--
extra : rebase_source : d2881d6ee093d0f0c87880ba63b451fb0e54415e
extra : amend_source : 6a34a633daab264863a668aca801ce4a4ffb782b
2017-07-28 18:32:04 +00:00
Andrew Halberstadt
a98a4718e6 Bug 1384593 - Add an fzf based fuzzy try selector, r=armenzg
This try selector works as follows:

1. Generate target tasks (similar to ./mach taskgraph target)
2. Pipe all tasks to fzf (a fuzzy finding binary, this will be bootstrapped if necessary)
3. Allow user to make selection
4. Save selected tasks to 'try_task_config.json'. This is a new try scheduling
   mechanism built into taskcluster (see bug 1380306).
5. Use `hg push-to-try` (or git-cinnabar) to push the added file to try. This
   will use a temporary commit, so no trace of 'try_task_config.json' should be
   left over after use.


If you get messages like STOP! No try syntax found, you need to update version-control-tools:
./mach mercurial-setup --update



MozReview-Commit-ID: 4xHwZ9fATLv

--HG--
extra : rebase_source : e22ccb44d5e99e1556bf7315b096b5d6ac96c918
2017-07-27 11:48:53 -04:00
Andrew Halberstadt
e659d18525 Bug 1384593 - Abstract version control functionality out of syntax.py to vcs.py, r=armenzg
This copies the vcs abstraction from python/mozlint/mozlint/vcs.py. Consumers can call:

    VCSHelper.create()

and that will automatically detect whether we're in hg or git and return the appropriate
abstraction class.

MozReview-Commit-ID: 4xHwZ9fATLv

--HG--
extra : rebase_source : f89a0884a58c5057e7edebf85e7cdfca4c5b58bd
2017-07-27 11:39:27 -04:00
Andrew Halberstadt
4b43c164a0 Bug 1385916 - Get wpt mozlint integration to forward files to be linted, r=jgraham
MozReview-Commit-ID: I2PYtsef9Y3

--HG--
extra : rebase_source : 30edc9479f6c599b3f18b3f5a0a2dc11fa9c48a0
2017-07-31 11:40:27 -04:00
Luciano Italiani
dd592719c1 Bug 1374671 - Enable the ESLint no-whitespace-before-property rule across mozilla-central. r=standard8
MozReview-Commit-ID: 4WkNg0YrgHx

--HG--
extra : rebase_source : 2c32028e81c388406455004c2adcdb4a01942b95
2017-07-27 23:01:13 -03:00
Carsten "Tomcat" Book
139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book
6aa98d7df0 Merge mozilla-central to autoland 2017-07-28 09:50:36 +02:00
Carsten "Tomcat" Book
bd7b184c91 Backed out changeset e3e924da5d5f (bug 1383328) 2017-07-28 09:20:05 +02:00
Carsten "Tomcat" Book
d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Markus Stange
c7ea693fd8 Bug 1384693 - Cull exit profiles that don't have any overlap with the parent process profile. r=njn
This avoids large gaps in the profiler output.

Sometimes we hold on to exit profiles for a long time before a profile is
gathered. During that time, the parent process's profile buffer might have
looped around several times. At that point, profiles from processes that have
exited long ago are no longer interesting.

MozReview-Commit-ID: 5C47vb69DfK

--HG--
extra : rebase_source : 57f0df2f21ab778ec689a08d0bbf010b10f18ed9
2017-07-25 20:29:17 -04:00
Markus Stange
4036fdd6b0 Bug 1384693 - Let callers of profiler_stream_json_for_this_process obtain the time of the first sample in the buffer. r=njn
MozReview-Commit-ID: IRFq1F3dWIk

--HG--
extra : rebase_source : d4454baf4b4eaf8f185b96a59e40ace5f6702bcc
2017-07-27 15:04:59 -04:00
Kershaw Chang
fc3aa4a532 Bug 1366822 - Part1: Modify NetworkPrioritizer to only update selected tab's window ID, r=dao
The original NetworkPrioritizer tracks each browser window and give the high priority to the selected tab.
This patch is based on the NetworkPrioritizer, but only send a notification of the current selected tab's content outer window ID to network module.
2017-07-27 23:41:00 +02:00
Wes Kocher
ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Tom Prince
030f21782c Bug 1383318 - get rid of a dead global in eslint configuration. r=ahal
MozReview-Commit-ID: 2SZyO8KSVD5

--HG--
extra : rebase_source : 79299e663005413bdc593ba7376bc48dde4293f9
2017-07-21 16:56:09 -06:00
Carsten "Tomcat" Book
198430bca2 merge mozilla-inbound to mozilla-central a=merge 2017-07-26 11:11:40 +02:00
Wes Kocher
f19f28adfd Merge m-c to autoland, a=merge
MozReview-Commit-ID: F1X8wKqbkg
2017-07-25 19:16:09 -07:00
Nathan Froyd
66c5fc1c12 Bug 1378975 - label the profiler's ThreadResponsiveness runnables; r=billm 2017-07-25 11:17:32 -04:00
Carsten "Tomcat" Book
bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Nicholas Nethercote
d80dca9e65 Bug 1380286 (follow-up) - Fix hazard bustage. r=bustage.
--HG--
extra : rebase_source : 56b7f9c562568d848b7a240ed1f8e10ccb973ed6
2017-07-25 20:16:02 +10:00
Nicholas Nethercote
37c96fc477 Bug 1380286 (attempt 2) - Introduce ProfilerStackCollector. r=mstange.
--HG--
extra : rebase_source : 7eac82fa5f01f48f239a804ff9d8d662cd1c44aa
2017-07-25 16:47:14 +10:00
Kan-Ru Chen
5454b4c576 Bug 1382990 - Change the DOMEventMarkerPayload field name 'type' to 'eventType' to avoid conflicts. r=mstange
MozReview-Commit-ID: BX9nLoCybbG

--HG--
extra : rebase_source : 996326a32fdb58ff6f13b9532e73710851899627
2017-07-21 17:41:51 +08:00
Bill McCloskey
fff3f0890c Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-25 19:52:36 -07:00
Alex Gaynor
837b88dc9c Bug 1384224 - Add support for hardlinks to InstallManifest; r=gps
Also removes InstallManifestNoSymlinks which can be more simply expressed by
passing link_policy='copy' to InstallManifest.populate_registry.

MozReview-Commit-ID: Bkjc2hIub4A

--HG--
extra : rebase_source : df05080fef3baf7e6c60ff9a468e71f0b2c67462
2017-07-25 14:06:15 -04:00
Bill McCloskey
55f153be76 Bug 1383328 - Use TabGroup as event target for browser-status-filter (r=smaug)
MozReview-Commit-ID: HOSmqr5Vpwh
2017-07-28 13:11:59 -07:00
Sebastian Hengst
1a67078fdf Backed out changeset ed86b892433b (bug 1384688) for bustage at tools/profiler/gecko/nsProfiler.cpp:573: the address of 'thisProcessFirstSampleTime' will always evaluate as 'true'. r=backout 2017-07-31 20:10:32 +02:00
Sebastian Hengst
c4e0fbd639 Backed out changeset e9d92bc3be81 (bug 1384688) 2017-07-31 20:09:57 +02:00
Sebastian Hengst
38fbb8e007 Backed out changeset 3ad8f1ba9de6 (bug 1384688) 2017-07-31 20:09:52 +02:00
Sebastian Hengst
5447aa09bb Backed out changeset 399d40cb5c1c (bug 1384688) 2017-07-31 20:09:47 +02:00
Sebastian Hengst
8df015cb1c Backed out changeset 802c36bf1b27 (bug 1384688) 2017-07-31 20:09:41 +02:00
Markus Stange
4827b962f9 Bug 1384688 - Update profile version to 8. r=njn
MozReview-Commit-ID: K8IGUZ3NTRY

--HG--
extra : rebase_source : c9c2f5d2a88310bc4090a853a56c3314a3529252
2017-07-27 19:11:53 -04:00
Markus Stange
c7c66c1a29 Bug 1384688 - Add a pausedRanges field to the profile JSON of each process which lists time ranges during which the profiler was paused or collecting a profile. r=njn
MozReview-Commit-ID: 6nzt7uHTLVm

--HG--
extra : rebase_source : a7e7a3fe3ddacb6d03ba3349ce0193dee328ed80
2017-07-28 16:40:37 -04:00
Markus Stange
e7f6342e36 Bug 1384688 - Pass aIsShuttingDown == true when obtaining shutdown profiles. r=njn
MozReview-Commit-ID: Aw79gYQgkqy

--HG--
extra : rebase_source : 9da690a660db226779011a61181e4cdad6219757
2017-07-28 16:16:54 -04:00
Markus Stange
607fc637d3 Bug 1384688 - Add an aIsShuttingDown argument to profiler_get_profile() and to profiler_stream_json_for_this_process(). r=njn
When set to true, the resulting profile will have a non-null meta.shutdownTime
field which is set to current time.
Non-shutdown profiles also get that field, but it's null for them.

MozReview-Commit-ID: 1vpmhBR8rC6

--HG--
extra : rebase_source : 38573ff847ee7e2ac5df9c82564dd6495cc1636f
2017-07-31 13:11:19 -04:00
Markus Stange
23d29459f0 Bug 1384688 - Add thread register and unregister time. r=njn
MozReview-Commit-ID: JDRP8m7QrE1

--HG--
extra : rebase_source : c5d09aeeae52dac63bc2cd31e76414ff7050afa1
extra : source : e5bfaac22eedecebc581e930c93512852e6884f8
2017-07-28 15:43:19 -04:00
Bevis Tseng
a7505864a8 Bug 1378930 - Part 2: Remove the aName parameter from SchedulerGroup/DocGroup/DispatcherTrait. r=billm
--HG--
extra : rebase_source : 11319e568a51d16754a6a9990f76c35c86c2bda7
2017-07-26 16:13:35 +08:00
Sebastian Hengst
804a36e668 Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout 2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
22dfa54ef4 Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
MozReview-Commit-ID: FadrI2li43G

--HG--
extra : rebase_source : 5992bdde34bcc2421350433bc8c1e498a6bba848
2017-07-25 23:45:41 +05:30
Tom Prince
9761c4f2bf Bug 1384273 - Get lint root dir from mach; r=ahal
MozReview-Commit-ID: I6L6a9Sim49

--HG--
extra : rebase_source : 5ee0fe805c417b192f7408ea5cbcee73c902c593
2017-07-22 01:28:34 -06:00
Andrew Halberstadt
21a03ad73c Bug 1383120 - Enable no-arbitrary-setTimeout eslint rule on xpcshell tests, r=mossop
MozReview-Commit-ID: 6DqLaZ9n5EM

--HG--
extra : rebase_source : 5f1264bb3ea23005c91557e5db4ce5f9e167ce9a
2017-07-26 09:08:07 -04:00
Andrew Halberstadt
3f3b2c7507 Bug 1383120 - [eslint-plugin-mozilla] Add no-arbitrary-setTimeout eslint rule, r=mossop
MozReview-Commit-ID: D7y3uALzVQx

--HG--
extra : rebase_source : ed7c5d3a2b43884fff3f967903fd3cfaf3567de7
2017-07-21 12:42:05 -04:00
Andrew Halberstadt
baddb0a4e7 Bug 1383120 - [eslint-plugin-mozilla] Fix getTestType() helper so mochitests aren't treated as xpcshell tests, r=mossop
This also adds a11y as a test type.

MozReview-Commit-ID: D7y3uALzVQx

--HG--
extra : rebase_source : 6e3c886e28af2c406e86288d99482d59cf6d1852
2017-07-21 12:41:27 -04:00
Andrew Halberstadt
fea81eb80e Bug 1382140 - Call 'mach' with python from tools/lint/hooks.py so it works on Windows, r=mak
MozReview-Commit-ID: 7Iac4wqX9RG

--HG--
extra : rebase_source : 9dc9a4801808c9639ca4e930d1c601ec18171f72
2017-07-24 12:25:53 -04:00
Andrew Halberstadt
2a6c9e6348 Bug 1382775 - Move autotry logic from |mach try| into autotry proper, r=chmanchester
This is a straightforward copy of code from the mach_commands.py to autotry.py

MozReview-Commit-ID: 7TkbTff0Tv8

--HG--
extra : rebase_source : 7996131427217d9f0213af920d0d4ef0d2e7d0ac
extra : source : f0693a73539265f74f79db9d1e136e7f1c16a1f0
2017-07-18 08:52:42 -04:00
Andrew Halberstadt
7b130edcb5 Bug 1382775 - Add tools/tryselect to flake8 linter, r=chmanchester
This also fixes a handful of lint errors in the mach_commands.py and syntax.py files.

MozReview-Commit-ID: 6nXz87ch3z4

--HG--
extra : rebase_source : f4dd8e19066a28793a941112a39243429a234969
2017-07-17 21:40:15 -04:00