Commit Graph

8015 Commits

Author SHA1 Message Date
Narcis Beleuzu
b894acb874 Backed out 4 changesets (bug 1646582) for mochitest failures on test_ext_tabs_create.html . CLOSED TREE
Backed out changeset ce5cdfc5d7cf (bug 1646582)
Backed out changeset 2ac69a2b6708 (bug 1646582)
Backed out changeset 74d89cb24414 (bug 1646582)
Backed out changeset 7de0ff1af560 (bug 1646582)
2020-06-23 06:30:03 +03:00
Matt Woodrow
f851c6be5b Bug 1646582 - Remove RemoteWebProgressManager. r=nika,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D80129
2020-06-23 01:23:59 +00:00
Narcis Beleuzu
1f50773a6e Backed out 8 changesets (bug 1647225) for xpcshell failures on test_gfxBlacklist_Version.js CLOSED TREE
Backed out changeset b6f88195da61 (bug 1647225)
Backed out changeset a5b3f54cb5f2 (bug 1647225)
Backed out changeset 6a1025189b0e (bug 1647225)
Backed out changeset b95de94b444e (bug 1647225)
Backed out changeset ed2c7dfd8373 (bug 1647225)
Backed out changeset 1adc99494bcb (bug 1647225)
Backed out changeset 5d0cf22c335a (bug 1647225)
Backed out changeset 956b43a8636f (bug 1647225)
2020-06-23 04:34:12 +03:00
Gerald Squelart
8b62df9f8d Bug 1642726 - Abort profiler_add_native_allocation_marker if profiler mutex is already locked - r=gregtatum
To avoid deadlocks between the profiler mutex and another mutex that may be locked when an allocation is intercepted, we now abort this interception if the profiler mutex is already locked.

Differential Revision: https://phabricator.services.mozilla.com/D79413
2020-06-22 21:30:10 +00:00
Gerald Squelart
8c64fc6990 Bug 1642726 - maybelocked_profiler_add_marker_for_thread - r=gregtatum
This function can be called whether the profiler mutex is locked or not. If locked, the provided pointer to the profiler mutex is used internally, otherwise the mutex will be locked as needed.

Differential Revision: https://phabricator.services.mozilla.com/D79412
2020-06-22 14:36:18 +00:00
Gerald Squelart
b834db3337 Bug 1642726 - locked_profiler_get_backtrace - r=gregtatum
`locked_profiler_get_backtrace` can be used internally from places that already hold the profiler lock.

Differential Revision: https://phabricator.services.mozilla.com/D79411
2020-06-22 14:36:16 +00:00
Gerald Squelart
ddbeeb188c Bug 1642726 - PSAutoTryLock - r=gregtatum
PSAutoTryLock attempts to lock the mutex, but gives up immediately if it's already locked.
This can be used in profiler functions that may be called from unknown code, to avoid deadlocks involving the profiler mutex and another mutex that could be indirectly used by the profiler itself.

Differential Revision: https://phabricator.services.mozilla.com/D79410
2020-06-22 21:30:06 +00:00
Kartikaya Gupta
7bf3988124 Bug 1647225 - Update exclude list in rejected-words filter. r=jrmuizel
Depends on D80452

Differential Revision: https://phabricator.services.mozilla.com/D80453
2020-06-22 14:06:33 +00:00
Sylvestre Ledru
46af48052b Bug 1646421 - flake8 Fix a bunch of actual errors r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D80078
2020-06-20 09:46:45 +00:00
Sylvestre Ledru
3ff66789b4 Bug 1646421 - Update to flake8 3.8.3 (requires toml now) r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D80076
2020-06-20 10:24:29 +00:00
Sylvestre Ledru
45c363c275 Bug 1646421 - mozlint/flake8 remove the force-removal of the exclude list r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D80075
2020-06-20 09:45:59 +00:00
Matthew Gregan
943cc5de15 Bug 1646579 - media/audioipc/client/src/ missing from rustfmt exclude list. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D80126
2020-06-19 06:22:28 +00:00
Ricky Stewart
09750d5dab Bug 1646190 - Remove pymake from tree r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D79920
2020-06-18 21:06:32 +00:00
Sylvestre Ledru
f47f1968a4 Bug 1623024 - mozlint: Add pylint as new linter r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D79076
2020-06-18 20:04:50 +00:00
Simon Sapin
7c14e4e23e Bug 1633410 - Back out bug 1631721.
Rebased and squashed.

Differential Revision: https://phabricator.services.mozilla.com/D78174
2020-06-18 15:25:33 +00:00
Gijs Kruitbosch
272fe15123 Bug 1644863 - include CSS, HTML and localization (ftl, properties, dtd) files in the whitespace linter, r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D79204
2020-06-17 22:46:42 +00:00
Chris AtLee
212d6bc5f7 Bug 1643810: Use -T1 -7e for update generation r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D78808
2020-06-16 13:58:47 +00:00
Sylvestre Ledru
d4f3e2487a Bug 1646299 - Display the yamllint version in verbose mode r=Callek
Depends on D79992

Differential Revision: https://phabricator.services.mozilla.com/D79993
2020-06-17 13:32:47 +00:00
Ricky Stewart
ce17cf368b Bug 1645179 - Squash remaining dead code after removal of IMPACTED_TESTS r=ahal,froydnj
There is some remaining code in central originating from bug 1184405, which sought to associate source files with their "affected" test files. That ended up not panning out, and bug 1644228 removed a lot of that code, but left some remnants in the `Files` object which are still referenced in a couple different places. I'm deleting all of that code in `context.py` plus everything that references it for the following reasons:

1. Right now, `Files.{test_files,test_tags,test_flavors}` do get populated, but only ever with "default" values -- namely `moz.build` files that are above the files in question in the directory hierarchy. This is a heuristic that doesn't actually have anything to do with mapping source files to their corresponding test files, which is misleading.

2. Those attributes are accessed in two places. The first is in the `mach file-info dep-tests` command. This command isn't referenced anywhere else in tree and I don't have any evidence anyone ever uses it. Even if they do, I would claim that doing so is a mistake (because the results of the command aren't meaningful and are just populated by the "defaults" described above), and that person's workflow should be migrated to something else that *is* meaningful.

3. The second place where this metadata is accessed is in `testing/mozbase/moztest/moztest/resolve.py`; that method is invoked in `tools/tryselect/selectors/syntax.py`, but only if you pass `--detect-paths` to `mach try syntax`. This is [entirely broken](https://bugzilla.mozilla.org/show_bug.cgi?id=1614614), and even if we made an effort to fix it, it wouldn't do anything resembling what the documentation of `--detect-paths` suggests it would do (again, because the data isn't populated meaningfully). So I'm deleting the command line option entirely.

Differential Revision: https://phabricator.services.mozilla.com/D79711
2020-06-17 13:30:49 +00:00
Ted Campbell
4b5638af5a Bug 1642708 - Remove BinAST Rust modules r=arai,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77947
2020-06-17 13:57:07 +00:00
Csoregi Natalia
e722c196bc Backed out 5 changesets (bug 1642708) for build bustages. CLOSED TREE
Backed out changeset d307b00c7e1b (bug 1642708)
Backed out changeset d210a60ad435 (bug 1642708)
Backed out changeset bcc2728b5ca5 (bug 1642708)
Backed out changeset 1c245d4e8244 (bug 1642708)
Backed out changeset ad613fa94a83 (bug 1642708)
2020-06-17 16:51:16 +03:00
Ted Campbell
b08256508e Bug 1642708 - Remove BinAST Rust modules r=arai,emilio
Differential Revision: https://phabricator.services.mozilla.com/D77947
2020-06-17 13:22:41 +00:00
Sylvestre Ledru
fc28509901 Bug 1645869 - mozlint/rustfmt: make the check relevant r=undef1nd
The version check is done above. So, it will fail there.
Move the binary check earlier to have a better error message

+ simplify the code

Differential Revision: https://phabricator.services.mozilla.com/D79725
2020-06-17 07:16:09 +00:00
Sylvestre Ledru
67acf10354 Bug 1646162 - gfx/wgpu/player/ can be removed from the clippy exclude list r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D79887
2020-06-16 21:50:11 +00:00
Sylvestre Ledru
1f78f06a5c Bug 1645829 - Add a check for the clippy version r=linter-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D79726
2020-06-16 18:54:54 +00:00
Sylvestre Ledru
a2cbf5b473 Bug 1645066 - mozlint/clippy: update of the test to reflect the new output r=marco
Differential Revision: https://phabricator.services.mozilla.com/D79436
2020-06-16 18:54:54 +00:00
Sylvestre Ledru
47b3629cd9 Bug 1642825 - mozlint: Add a linter to prevent further use of black/whitelist r=Gijs,linter-reviewers,mossop,ahal
Note that I cannot do unit test because of it doesn't support regex payload
''Failed: could not resolve a lint function from''

Differential Revision: https://phabricator.services.mozilla.com/D78158
2020-06-16 17:02:59 +00:00
Henri Sivonen
d5b9be12ce Bug 1603712 - Remove intl.charset.detector.ng.enabled pref and resulting dead code. r=Gijs,fluent-reviewers,valentin,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D79101
2020-06-15 15:32:21 +00:00
Ted Campbell
5f98fae13b Bug 1645469 - Add profiler subcategories for SpiderMonkey JITs. r=jandem,gerald
In the JIT frame sampler, we apply the appropriate category in addition to
the "implementation" field. For JS frames (IS_JS_FRAME), we identify as
either BaselineInterpreter or Interpreter. Note that JS_Other still applies
to various places we enter SpiderMonkey outside of RunScript.

Differential Revision: https://phabricator.services.mozilla.com/D79524
2020-06-15 14:56:50 +00:00
Ted Campbell
6aa5132146 Bug 1645464 - Use a shared ProfilingCategoryList.h r=gerald,froydnj
Replace the duplicate lists in mozglue/baseprofiler/public and js/public with
a shared list. Add this list to both moz.build files so it is published twice
which simplifies supporting different standalone configurations.

Differential Revision: https://phabricator.services.mozilla.com/D79520
2020-06-15 13:59:55 +00:00
Paul Adenot
ff3fa11620 Bug 1626918 - Start and stop audio callback tracing when the profiler starts and stops. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D78508
2020-06-12 13:13:35 +00:00
Paul Adenot
1bb1ffcde3 Bug 1626918 - Add two missing constructors to TracingMarkerPayload. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D78507
2020-06-12 13:13:28 +00:00
Simon Fraser
65cbd9e05b Bug 1643625 Clear up references to MAR_OLD_FORMAT in packaging tools r=nthomas
I think we don't need these checks any more.

Differential Revision: https://phabricator.services.mozilla.com/D78480
2020-06-11 22:23:10 +00:00
Sylvestre Ledru
74abdddf45 no bug - mozlint/clippy - Add smoosh to the clippy list r=arai
Differential Revision: https://phabricator.services.mozilla.com/D79297
2020-06-11 17:02:34 +00:00
Sylvestre Ledru
2ad15eb452 Bug 1644809 - mozlint/clippy handle the summary r=marco
Differential Revision: https://phabricator.services.mozilla.com/D79166
2020-06-11 12:29:10 +00:00
Sylvestre Ledru
1a628a1b02 Bug 1644799 - mozlint/clippy Add a debug message containing the clippy version r=marco
Differential Revision: https://phabricator.services.mozilla.com/D79161
2020-06-11 12:27:57 +00:00
Myeongjun Go
70a902e23f Bug 1641933 - [pefrdocs] add desciptions to perfdocs using single letter r=sparky,perftest-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D78614
2020-06-10 20:40:31 +00:00
Razvan Maries
ef73a88351 Backed out changeset 37a5223eda5f (bug 1643625) for Rpk bustages. CLOSED TREE 2020-06-09 18:30:01 +03:00
Ted Campbell
b3e185db5d Bug 1644218 - Add blinterp implementation tracking to profiler r=jandem,gerald
Introduce an IS_BLINTERP_FRAME flag to ProfilingStackFrame to distinguish C++
and Baseline interpreter frames. In the profile data this sets the
"implementation" to "blinterp".

Differential Revision: https://phabricator.services.mozilla.com/D78725
2020-06-09 12:27:15 +00:00
Simon Fraser
1422db5e20 Bug 1643625 Clear up references to MAR_OLD_FORMAT in packaging tools r=nthomas
I think we don't need these checks any more.

Differential Revision: https://phabricator.services.mozilla.com/D78480
2020-06-09 11:53:26 +00:00
Mitchell Hentges
300422099b Bug 1632429: Improves update-verify compatibility with python 3 r=nthomas
Depends on D77962

Differential Revision: https://phabricator.services.mozilla.com/D77964
2020-06-08 21:07:07 +00:00
Adam Gashlin
e34730166a Bug 1643188 - Require MOZ_PRODUCT_VERSION and MAR_CHANNEL_ID for update scripts. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D78209
2020-06-05 08:58:53 +00:00
Adam Gashlin
c0a419ebb4 Bug 1643211 - Don't use BCJ on patches. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D78213
2020-06-07 23:15:45 +00:00
Simon Giesecke
13502cf27c Bug 1642991 - Use RemoveElementsBy where easily possible. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78055
2020-06-08 09:01:48 +00:00
Andrew Halberstadt
4c9338072f Bug 1633866 - [tryselect] Use 'bugbug' loader with |mach try auto|, r=marco
Enables manifest-scheduling with |mach try auto| pushes.

Differential Revision: https://phabricator.services.mozilla.com/D76525
2020-06-03 21:00:43 +00:00
Nazım Can Altınova
e3ea64b9cb Bug 1642677 - Remove the unneeded java sampler pause/unpause during the serialization. r=gerald
Now we are pausing the profiler just before capturing the profile data. Android
sampler will never be running when this code is being run

Depends on D78037

Differential Revision: https://phabricator.services.mozilla.com/D78038
2020-06-04 09:34:32 +00:00
Nazım Can Altınova
7409a37a20 Bug 1642677 - Make the profiler_{pause,resume} control android sampler as well. r=gerald
Depends on D78036

Differential Revision: https://phabricator.services.mozilla.com/D78037
2020-06-03 12:48:26 +00:00
championshuttler
b8d9ae4413 Bug 1643074 - Add a copy button to firefox docs to copy commands. r=firefox-source-docs-reviewers,ahal
Differential Revision: https://phabricator.services.mozilla.com/D78110
2020-06-03 19:22:03 +00:00
Tom Ritter
e86495e2a0 Bug 1642704 - Make ./mach try fuzzy --update install if fzf is not present r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D77856
2020-06-03 19:14:48 +00:00
Gregory Mierzwinski
cf5ee680a4 Bug 1642964 - Add small README file to tools/browsertime. r=tarek
This patch adds a small README file to the tools/browsertime folder to give people more information about its purpose and provides a link to the perftest wiki.

Depends on D78044

Differential Revision: https://phabricator.services.mozilla.com/D78045
2020-06-03 12:51:41 +00:00