Commit Graph

6780 Commits

Author SHA1 Message Date
Justin Wood
4b233fe605 Bug 1559975 - Make python/mach lint with 'py2' and 'py3' r=catlee
Depends on D36096

Differential Revision: https://phabricator.services.mozilla.com/D36099

--HG--
extra : moz-landing-system : lando
2019-07-05 14:24:58 +00:00
Justin Wood
939e67a089 Bug 1559975 - Make python/mozbuild lint with 'py2' and 'py3' r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D36090

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:43 +00:00
Edwin Gao
ee1a9fb757 Bug 1559975 - remove modules/freetype2 from python3 linter blacklist r=ahal
Changes:
- nothing changed except removing `modules/freetype2` from the blacklist

Differential Revision: https://phabricator.services.mozilla.com/D35701

--HG--
extra : moz-landing-system : lando
2019-07-05 14:36:23 +00:00
Chris AtLee
8f13901785 Bug 1559975: Fix python2/3 compat in intl/ r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35342

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:18 +00:00
Edwin Gao
1c340c7633 Bug 1559975 - convert testing/tools/iceserver to python3 syntax r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35339

--HG--
extra : moz-landing-system : lando
2019-07-05 14:28:35 +00:00
Mihai Tabara
e6a44ee1a1 Bug 1559975 - Fix python2 lint issues on testing/firefox-ui r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35255

--HG--
extra : moz-landing-system : lando
2019-07-05 14:35:42 +00:00
Calixte Denizet
8cff6b528a Bug 1559975 - Fix python3 lint issues on servo r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35247

--HG--
extra : moz-landing-system : lando
2019-07-05 14:29:44 +00:00
Edwin Gao
e8ea0ad451 Bug 1559975 - Fix python3 lint issues on js/src, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35243

--HG--
extra : moz-landing-system : lando
2019-07-05 14:34:55 +00:00
Sylvestre Ledru
7c2772d318 Bug 1563718 - Add Zydis to the list of third party code r=andi
Differential Revision: https://phabricator.services.mozilla.com/D37052

--HG--
extra : moz-landing-system : lando
2019-07-05 13:03:13 +00:00
Victor Porof
726678d4e7 Bug 1563300 - Add a js-format git commit hook, r=sylvestre, CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36816

--HG--
extra : source : 53377e8c3200b2f25ec6f3471632353d7d5f7d88
extra : amend_source : c16d0b9dcced844fa50095e04bad9519713854b3
extra : intermediate-source : 01f1c9d343947743bfd033bcfbb344dcee4b76fc
2019-07-04 14:50:06 +02:00
Victor Porof
472d3c137a Bug 1561435 - Fix linting errors for tools/, r=standard8
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35941

--HG--
extra : source : 7082771b68989e7acb642a73d223fbe58f84def9
extra : intermediate-source : f2aff116f1d73052541a6095f3d8c8f0e7cf5340
2019-06-28 22:52:16 +02:00
Victor Porof
5c7cdbd4ba Bug 1561435 - Format tools/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D35940

--HG--
extra : source : d214f0c82813e5a8d3987debc490a2c11f1308ff
2019-07-05 11:18:19 +02:00
Victor Porof
10375c0418 Bug 1558517 - Pre 7: Bump eslint-plugin-mozilla version, r=standard8, CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D36989

--HG--
extra : source : 6d8fe93037b81be9112f6af2dbe1ca119faa059a
extra : amend_source : 22cbff1c11fa4ed7a0bce2b0f353ee02d1f14093
extra : intermediate-source : 700f28b61fa9701251b5f1e0e62be06e0688172c
2019-07-04 15:37:28 +02:00
Victor Porof
cda7f0dcb0 Bug 1558517 - Pre 3.2: Disable conflicting eslint:recommended rules by extending eslint-config-prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34536

--HG--
extra : source : d380852a85aeaa9c94a073babfb238976a2a92d6
extra : intermediate-source : 895bba67b824070da27360a49578b938636d72f5
2019-06-11 16:07:08 +02:00
Victor Porof
34da32ec3c Bug 1558517 - Pre 3.1: Change conflicting "camelcase" rule which would fail after running Prettier, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34695

--HG--
extra : source : 078747ad644246551a165a176a691e0440553c85
extra : intermediate-source : 3b39b237ae3c49eb6c9d56a2ef8bfb5134b878da
2019-06-12 11:43:25 +02:00
Victor Porof
b5a4cb3848 Bug 1558517 - Pre 3.0: Remove conflicting eslint rules, and turn on "curly: all" everywhere, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34535

--HG--
extra : source : 74ed7ee773393d305c4e948a57a1b1e32b1f12e8
extra : intermediate-source : 403d0757d61683e0a85d0bb07768eb39fbd0af72
2019-06-28 17:14:01 +02:00
Victor Porof
cb98e2f464 Bug 1558517 - Pre 2: Move the **/*.*html overrides to recommended.js, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34534

--HG--
extra : source : ed2cf27ca3ec535e1dbc634f3a603ad41678e646
extra : intermediate-source : 9b1f833b858f9bcdeed1fd7cd45d3fe051748712
2019-06-11 14:30:40 +02:00
Victor Porof
f64de7f91e Bug 1558517 - Pre 1: Add eslint-plugin-fetch-options as a peer dependency, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34533

--HG--
extra : source : 18abd00a8919909a5c51fdb906a18de21310ff28
extra : intermediate-source : b86586c6a5995f7ea2fbe07ebdf9db402d26f94b
2019-06-19 13:52:53 -07:00
Victor Porof
41fa633fdd Bug 1558517 - Pre 0: Prevent circular dependencies between the top-level .eslintrc and eslint-plugin-mozilla, r=standard8
Differential Revision: https://phabricator.services.mozilla.com/D34532

--HG--
extra : source : a5c75883cb8fd56f92d984a4323ee5b8f8bb8e76
extra : intermediate-source : 81d50b2acc5cb1dbd0b81fc89a90200890b4187f
2019-06-12 11:12:04 +02:00
Tom Prince
cc334f7f17 Bug 1562287: Add an option to mach try to disable 3-tier PGO; r=mshal,ahal
Often times, PGO builds aren't required for testing things (in particular,
testing release automation). However, at least when testing release automation,
we do need to use the shippable build type.

Add an option to mach try that will disable using the 3-tier PGO jobs.

Differential Revision: https://phabricator.services.mozilla.com/D36365

--HG--
extra : moz-landing-system : lando
2019-07-04 19:03:04 +00:00
Tom Prince
770166e1f5 Bug 1562287: Allow setting other try_task_config settings than templates; r=ahal
Templates invoke the `morph` logic, which is somewhat confusing and inflexible.
Update the machinery to support setting other `try_task_config` values.

Differential Revision: https://phabricator.services.mozilla.com/D36364

--HG--
extra : moz-landing-system : lando
2019-07-04 06:25:18 +00:00
Tom Prince
225b100443 Bug 1562287: Factor out generation of try_task_config; r=ahal
Factor out the logic for calculating `try_task_config` from `push_to_try`,
so it can be called only for those selectors that need it.

Differential Revision: https://phabricator.services.mozilla.com/D36363

--HG--
extra : moz-landing-system : lando
2019-07-04 06:25:11 +00:00
Tom Prince
a5001a64e1 Bug 1562287: Don't advertise chemspill-prio in try syntax, since it isn't supported; r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36362

--HG--
extra : moz-landing-system : lando
2019-07-04 06:24:58 +00:00
Brian Grinstead
5786770250 Bug 1562956 - eslint: allow dash in tag names in xul documents;r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D36808

--HG--
extra : moz-landing-system : lando
2019-07-04 11:18:47 +00:00
Gerald Squelart
84deee5fb4 Bug 1559000 - Enable/disable mozglue's AutoProfilerLabel when Gecko Profiler starts/stops - r=mstange
Instead of setting entry&exit function when Gecko Profiler is initialized, we
now set them when profiling actually starts, and reset them when profiling
stops. There may be edge cases (missing or unneeded labels at the very start or
end of a session) are not an issue.

Differential Revision: https://phabricator.services.mozilla.com/D34808

--HG--
extra : moz-landing-system : lando
2019-07-04 04:38:54 +00:00
Gerald Squelart
4d91208989 Bug 1559000 - mozglue's AutoProfilerLabel doesn't need to know about ProfilingStack - r=mstange
`ProfilingStack*` happens to be the information that the current Gecko Profiler
entry function wants to forward to the exit function, but AutoProfilerLabel does
not really need to know about that.
Changing it to `void*`, so that we can later use different entry/exit functions
that use different context types.

Differential Revision: https://phabricator.services.mozilla.com/D34806

--HG--
extra : moz-landing-system : lando
2019-07-04 04:38:16 +00:00
Ed Lee
c863d3c77b Bug 1555450 - Remove locale-specific behavior when fully fluent (no longer using properties/json) r=k88hudson
Depends on D36764

Differential Revision: https://phabricator.services.mozilla.com/D36769

--HG--
rename : browser/components/newtab/prerendered/static/activity-stream-debug.html => browser/components/newtab/prerendered/activity-stream-debug.html
rename : browser/components/newtab/prerendered/locales/en-US/activity-stream-noscripts.html => browser/components/newtab/prerendered/activity-stream-noscripts.html
rename : browser/components/newtab/prerendered/locales/en-US/activity-stream.html => browser/components/newtab/prerendered/activity-stream.html
extra : moz-landing-system : lando
2019-07-03 23:49:07 +00:00
Ehsan Akhgari
65bb83f0f6 Bug 1519636 - Mark the entire media/libdav1d directory as third-party; r=andi
Differential Revision: https://phabricator.services.mozilla.com/D35474

--HG--
extra : moz-landing-system : lando
2019-06-28 07:37:58 +00:00
Sean Feng
aed178a11b Bug 1563228 - Bump browsertime target hash r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D36758

--HG--
extra : moz-landing-system : lando
2019-07-03 16:01:52 +00:00
Markus Stange
053b6b369b Bug 1557789 - Expose subcategory information in the profile JSON. r=njn
This was reviewed before in bug 1500692.

Differential Revision: https://phabricator.services.mozilla.com/D11338

--HG--
extra : moz-landing-system : lando
2019-07-02 17:27:13 +00:00
Edwin Gao
6b9a6ec54c Bug 1559975 - convert testing/tps to python3 r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35328

--HG--
extra : moz-landing-system : lando
2019-07-02 18:04:40 +00:00
Edwin Gao
1fd0b4e594 Bug 1559975 - convert testing/awsy to python3 syntax r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35327

--HG--
extra : moz-landing-system : lando
2019-07-02 17:26:13 +00:00
Maliha Islam
2d69e323f1 Bug 1559975 - Make directories python3 compatible r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D35257

--HG--
extra : moz-landing-system : lando
2019-07-02 15:47:34 +00:00
Barret Rennie
f1d04044bd Bug 1560193 - Always specify the Python executable to use when running ./mach browsertime r=nalexander
If `./mach browsertime` runs browsertime with a globally-installed node, due to
an existing bug in [execa][1], the wrong Python will be executed. We now
specify the full path of the Python binary we wish to use (via the `PYTHON`
environment variable that our fork of browsertime supports) and avoid this
issue altogether.

[1]: https://github.com/sindresorhus/execa/issues/153

Differential Revision: https://phabricator.services.mozilla.com/D35374

--HG--
extra : moz-landing-system : lando
2019-07-02 17:29:33 +00:00
Greg Tatum
491216f7dd Bug 1545582 - Add tests for new JS allocations feature; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34544

--HG--
extra : moz-landing-system : lando
2019-07-01 21:53:28 +00:00
Greg Tatum
bbec67e8f2 Bug 1545582 - Integrate JavaScript memory allocation tracking to the profiler; r=canaltinova
Differential Revision: https://phabricator.services.mozilla.com/D34543

--HG--
extra : moz-landing-system : lando
2019-07-01 21:53:11 +00:00
Zibi Braniecki
b0ba25f8b9 Bug 1558602 - Allow DocumentL10n to use LocalizationSync. r=smaug,Pike
Differential Revision: https://phabricator.services.mozilla.com/D34584

--HG--
extra : moz-landing-system : lando
2019-07-01 17:56:57 +00:00
Simon Fraser
d0608d0c0a Bug 1559980 Remove python/safety from py3 linting r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D35242

--HG--
extra : moz-landing-system : lando
2019-06-26 20:57:21 +00:00
Adam Gashlin
2b3a91bf60 Bug 1508430 - Add option to list tasks in try again history r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D36145

--HG--
extra : moz-landing-system : lando
2019-06-28 19:17:11 +00:00
Armen Zambrano G.
53bd62e369 Bug 1559975 - Python3 linting changes for raptor r=Callek,rwood
Differential Revision: https://phabricator.services.mozilla.com/D35252

--HG--
extra : moz-landing-system : lando
2019-06-24 20:50:14 +00:00
Nick Thomas
1048178580 Bug 1559975 - enable py2 and py3 linting in memory r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35251

--HG--
extra : moz-landing-system : lando
2019-06-28 18:53:28 +00:00
Marco Castelluccio
52be340076 Bug 1559975 - Add future imports to testing/remotecppunittests.py and testing/runcppunittests.py and remove them from py2 exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35246

--HG--
extra : moz-landing-system : lando
2019-06-28 13:47:57 +00:00
Mark Banner
12326bcf8b Bug 1542246 - Add initial documentation for the new Search Engine configuration format. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D34144

--HG--
extra : moz-landing-system : lando
2019-06-28 15:23:00 +00:00
Julien Wajsberg
319394f539 Bug 1561881 - Always capture the memory counters when profiling r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D36186

--HG--
extra : moz-landing-system : lando
2019-06-27 14:02:30 +00:00
Gerald Squelart
b13eeec2e9 Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

Differential Revision: https://phabricator.services.mozilla.com/D36027

--HG--
extra : moz-landing-system : lando
2019-06-28 07:12:57 +00:00
Andreea Pavel
4d16b0896b Backed out 2 changesets (bug 1552063) for mingw build bustages on a CLOSED TREE
Backed out changeset 2975f3f76576 (bug 1552063)
Backed out changeset 6284bcd7304e (bug 1552063)
2019-06-28 02:09:41 +03:00
Gerald Squelart
475dbeee0a Bug 1552063 - Use PowerOfTwo and PowerOfTwoMask in profilers - r=gregtatum
PowerOfTwo makes for a cleaner and more expressive interface, showing that the
profiler will use a power-of-2 storage size.

Using PowerOfTwoMask in ProfilerBuffer also makes it more obvious that we want
cheap modulo operations.
And we don't need to keep the original capacity, as it's only used once and can
easily be recomputed from the mask.

Differential Revision: https://phabricator.services.mozilla.com/D36027

--HG--
extra : moz-landing-system : lando
2019-06-27 14:23:17 +00:00
Marco Castelluccio
41559f0e29 Bug 1559975 - Fix py3 lint issues in testing/firefox-ui and enable py3 linter r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35244

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:53 +00:00
Marco Castelluccio
1ca0405e1a Bug 1559975 - Remove tools/update-packaging from py3 exclude list. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35237

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:55 +00:00
Chris AtLee
edfd451e75 Bug 1559975: Don't require absolute import future if we don't have any imports r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35341

--HG--
extra : moz-landing-system : lando
2019-06-26 23:06:47 +00:00