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

7190 Коммитов

Автор SHA1 Сообщение Дата
Gerald Squelart f41e95f095 Bug 1540340 - PSMutex can more accurately determine if the current thread owns the lock - r=njn,gregtatum
PSMutex can store the id of the thread owning the lock, and it's safe to check
whether the current thread owns that lock (either it does and no-one else can
change it, or it's another id).

Comments related to memory hooks have been moved to memory_hooks.cpp, because
`profiler_is_locked_on_current_thread()` could be used for other things.

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

--HG--
extra : moz-landing-system : lando
2019-10-25 03:13:50 +00:00
Simon Fraser 9543684c8f Bug 1590820 Improve preview pane performance in 'mach try fuzzy -s' r=ahal
Refactored the recursion to improve its reliability, and added a caching layer.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 18:34:52 +00:00
Sylvestre Ledru ba7c03e388 Bug 1590310 - Hide the copyright section by default r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D50028

--HG--
extra : moz-landing-system : lando
2019-10-22 17:37:38 +00:00
Julian Seward 15bcf2d929 Bug 1584976 - LUL on x86_64-{android, linux}: accept .eh_frame with type as either SHT_PROGBITS or SHT_X86_64_UNWIND. r=mstange.
The LUL unwinder on x86_64-android and x86_64-linux tries to read Dwarf unwind
information from the ELF section named ".eh_frame", and expects the section to
have type SHT_PROGBITS.  It appears that that section might instead have the
type SHT_X86_64_UNWIND, possibly as a result of recent toolchain (linker?)
changes.  This patch tracks that change.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 16:26:09 +00:00
Mihai Alexandru Michis 9fe7c34350 Backed out 2 changesets (bug 1540340) for causing bustages in shared-libraries-linux.cc and profiler/core/platform.cpp CLOSED TREE
Backed out changeset 4ee4cde55851 (bug 1540340)
Backed out changeset be6a82fd75e9 (bug 1540340)
2019-10-24 09:24:15 +03:00
Gerald Squelart 638c8cdc32 Bug 1540340 - Prevent logging when mainthredio is enabled - r=gregtatum
Logging could be intercepted by the I/O interposer, which takes the lock, this
could deadlock if the mutex had already been taken in the same thread (e.g., by
a "locked" profiler function that wants to log something).

Now, functions that hold the lock must use `LOG_LOCKED(lock, ...)`, which will
skip logging when the I/O interposer is running.
In DEBUG builds, `LOG()` checks that the lock is not owned, to find possible
misuses.

`LOG()`s outside of platform.cpp were changed to `NS_WARNING`s, because they
could not access `gPSMutex` that's defined in platform.cpp; and they're really
warnings anyway.

Some interposer pauses/resumes have been relocated to more appropriate spots:
- Not needed around `locked_profiler_stream_json_for_this_process` anymore,
  thanks to `LOG_LOCKED` inside.
- Definitely needed around `std::ofstream` operations in
  `locked_profiler_save_profile_to_file`.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 05:55:02 +00:00
Gerald Squelart 574e6bc487 Bug 1540340 - PSMutex can more accurately determine if the current thread owns the lock - r=njn,gregtatum
PSMutex can store the id of the thread owning the lock, and it's safe to check
whether the current thread owns that lock (either it does and no-one else can
change it, or it's another id).

Comments related to memory hooks have been moved to memory_hooks.cpp, because
`profiler_is_locked_on_current_thread()` could be used for other things.

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

--HG--
extra : moz-landing-system : lando
2019-10-24 05:54:49 +00:00
Simon Fraser 13db391fa4 Bug 1590410 mach try fuzzy --show-estimates, add percentile r=ahal
A requested addition to the estimates in the preview pane, showing how large the requested set of tasks is compared to everyone else's set.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 19:46:33 +00:00
Andi-Bogdan Postelnicu 336c0275ee Bug 1590415 - Remove deprecated code from the Coverity model file. r=sylvestre
Depends on D50065

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

--HG--
extra : moz-landing-system : lando
2019-10-22 16:38:50 +00:00
Sylvestre Ledru 7b84f5581b Bug 1590314 - treeherder: document 'Attach new jobs from the review' r=marco
Differential Revision: https://phabricator.services.mozilla.com/D50029

--HG--
extra : moz-landing-system : lando
2019-10-22 16:41:11 +00:00
Stephen Donner 1ac49dc296 Bug 1589203: Browsertime's --setup ImageMagick binary link for macOS is 404/outdated/broken. r=perftest-reviewers,sparky
Differential Revision: https://phabricator.services.mozilla.com/D49491

--HG--
extra : moz-landing-system : lando
2019-10-22 14:37:07 +00:00
Nazım Can Altınova 809db7ead1 Bug 1587907 - Move test content inside the BrowserTestUtils.withNewTab function callback r=gregtatum
In Bug 1587907 we got some contentPid not found errors. It seemed like we were
failing intermittently at getting content pid. After moving test content inside
the BrowserTestUtils.withNewTab callback, we won't get the same error anymore.
Also from my testing, it looks like it makes the test execution faster. We were
getting some intermittents before because of the timeouts, these will be fixed
if my testing is correct.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 16:43:31 +00:00
Gerald Squelart 0e19d51a0a Bug 1583431 - Test "No Stack Sampling" feature - r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D49234

--HG--
extra : moz-landing-system : lando
2019-10-22 05:37:14 +00:00
Gerald Squelart edd497462f Bug 1583431 - Don't wait for samples in marker-only tests - r=gregtatum,julienw
Since markers are stored directly into the buffer:
- We don't need to wait for a sampling run to collect them,
- No markers are left uncollected between the last sampling and the time we stop
  the profiler.

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

--HG--
extra : moz-landing-system : lando
2019-10-22 05:37:07 +00:00
Gerald Squelart d57761d32e Bug 1583431 - stopProfilerNowAndGetThreads doesn't wait for samples - r=julienw
`stopProfilerAndGetThreads()` waits until at least one sample appears in the
main thread, before capturing a profile and stopping the profiler.

`stopProfilerNowAndGetThreads()` does not wait; this should be useful in tests
that may not generate any samples (e.g., using the nostacksampling feature).

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

--HG--
extra : moz-landing-system : lando
2019-10-22 05:37:00 +00:00
Jim Porter 9354dfda4a Bug 1557447 - Profiler support for IPC information; r=nika,smaug
This adds the ability to add profile markers for both the sender and recipient
sides of IPC messages. These can then be correlated with one another in the
profile visualization. For the UI component of this patch, see
<https://github.com/firefox-devtools/profiler/pull/2172>.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 20:51:07 +00:00
Mihai Alexandru Michis c59792871c Bug 1587180 - Fix linting issue regarding tools/lint/libpref/__init__.py a=lint-fix 2019-10-21 23:47:26 +03:00
Kristen Wright 5eac06f458 Bug 1587180 - 4. Write a test for Lintpref r=ahal
Adds a test for Lintpref and two test files. Also makes some adjustments to `lintpref.yml` to improve support file loading.

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

--HG--
extra : moz-landing-system : lando
2019-10-21 19:23:08 +00:00
Kristen Wright e1a7b2036e Bug 1585421 - Expand the usage of Lintpref into more pref files r=ahal
Adds the filepaths of more pref files to Lintpref as well as to its TaskCluster entry. All of the pref files added are noted in bug 1585421.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 22:31:38 +00:00
Kristen Wright a3b1f5c4f4 Bug 1587180 - 3. Have lintpref understand the value field r=glandium
Teaches Lintpref to look at `value` matches when considering possible duplicates.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 22:31:38 +00:00
Kristen Wright d816dae614 Bug 1587180 - 2. Improve Lintpref's pattern-matching r=glandium
Replaces the basic pattern-matching in the linter with a more robust regexp. This regexp can strip `name` and `value` from the pref, which will be useful in part 3 of bug 1587180.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 23:26:36 +00:00
Kristen Wright 4f72d58f26 Bug 1587180 - 1. Have Lintpref look for the files included in Lintpref.yml. r=ahal
Rather than statically loading the path to `all.js`, Lintpref should look at any file paths in `lintpref.yml`. Also added the `path` field to each error to accommodate multiple files, and a few other code tidiness cleanups.

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

--HG--
extra : moz-landing-system : lando
2019-10-16 00:06:25 +00:00
Tom Tung a55521f246 Bug 1587394 - Bypass the lint check for the pref; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D49745

--HG--
extra : moz-landing-system : lando
2019-10-21 14:48:04 +00:00
Nicolas Chevobbe 02cfc079ff Bug 1588999 - Rename ObjectClient to ObjectFront. r=ochameau.
The object-client.js file is now a proper protocol.js front,
but is still named after a client.
This is confusing, so we rename and move the file next to other
fronts, and update all consumers to the new terminology.

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

--HG--
rename : devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/__mocks__/object-client.js => devtools/client/debugger/packages/devtools-reps/src/object-inspector/tests/__mocks__/object-front.js
rename : devtools/shared/client/object-client.js => devtools/shared/fronts/object.js
extra : moz-landing-system : lando
2019-10-21 12:07:10 +00:00
Kristen Wright 3d06abd056 Bug 1588650 - Remove duplicate prefs from mobile.js r=njn
Removes all of the duplicate prefs from mobile.js and StaticPrefList.yaml where the `value` field is the same. Carries over comments from mobile.js where needed.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 23:24:14 +00:00
Andrew Halberstadt 0912d6c960 Bug 1583360 - [mozbuild] Make reader.find_sphinx_variables a little more generic, r=nalexander
The BuildReader's 'find_sphinx_variables' function is hardcoded to look for the
SPHINX_TREES and SPHINX_PYTHON_PACKAGE_DIRS variables. But it's otherwise
implemented to find any arbitrary variable (as long as they are a simple list
or dict).

This change simply moves the variable name(s) to the function call. The comment
about possibly wanted to use a higher level AST library to parse other kinds of
variables still applies, but for now this change is good enough to suit my
needs.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 14:05:49 +00:00
Daniel Varga 8fdca46bc7 Backed out changeset 2923afce519a (bug 1557447) for browser chrome failure at tools/profiler/tests/browser/browser_test_feature_preferencereads.js. On a CLOSED TREE 2019-10-18 07:54:09 +03:00
Jim Porter 80bfcd6e57 Bug 1557447 - Profiler support for IPC information; r=nika
This adds the ability to add profile markers for both the sender and recipient
sides of IPC messages. These can then be correlated with one another in the
profile visualization. For the UI component of this patch, see
<https://github.com/firefox-devtools/profiler/pull/2172>.

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

--HG--
extra : moz-landing-system : lando
2019-10-18 02:56:02 +00:00
Dorel Luca efd52379da Backed out changeset cd4dc0ae3364 (bug 1557447) for Browser-chrome failures in build/src/obj-firefox/dist/include/mozilla/BlocksRingBuffer.h 2019-10-18 03:59:06 +03:00
Jim Porter db91ad6767 Bug 1557447 part 2 - Remove unnecessary declarations from bug 1575448; r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D46389

--HG--
extra : moz-landing-system : lando
2019-10-17 23:39:44 +00:00
Jim Porter 641b95fb72 Bug 1557447 - Profiler support for IPC information; r=nika
This adds the ability to add profile markers for both the sender and recipient
sides of IPC messages. These can then be correlated with one another in the
profile visualization. For the UI component of this patch, see
<https://github.com/firefox-devtools/profiler/pull/2172>.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 23:39:42 +00:00
Simon Fraser 9739fcee53 Bug 1589358 Force update of older fzf versions r=jlorenzo
If 'fzf' was installed by mach, then check it's up to date and force update if needed.

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

--HG--
extra : moz-landing-system : lando
2019-10-17 13:17:29 +00:00
Mark Banner dcfbcb56d7 Bug 1588872 - Enable ESLint rule mozilla/prefer-boolean-length-check by default, disable for failing locations. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D49437

--HG--
extra : moz-landing-system : lando
2019-10-16 20:11:31 +00:00
Andi-Bogdan Postelnicu a907930749 Bug 1558359 - clang-tidy - For `performance-move-const-arg` disable detection of trivially copyable types that do not have a move constructor. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D49415

--HG--
extra : moz-landing-system : lando
2019-10-16 12:59:33 +00:00
Sylvestre Ledru 0c43e713ef Bug 1588523 - add links to the sources everywhere r=ahal
Depends on D49162

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:51:59 +00:00
Sylvestre Ledru 75b3cfde64 Bug 1588523 - Document the autofix when existing r=ahal
Depends on D49161

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:50:52 +00:00
Sylvestre Ledru 0e8bbb9060 Bug 1588523 - Provide doc for the codespell, file-perm, file-whitespace, etc linters r=ahal
Depends on D49160

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

--HG--
extra : moz-landing-system : lando
2019-10-16 07:49:47 +00:00
Sylvestre Ledru 7491daaf08 Bug 1588523 - Improve the mozlint doc (various changes) r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49160

--HG--
extra : moz-landing-system : lando
2019-10-16 07:49:22 +00:00
Edwin Takahashi af0fda47bc Bug 1559977 - Remove tools/rb from py3/py2 linter exclusion list r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D35238

--HG--
extra : moz-landing-system : lando
2019-10-15 20:58:35 +00:00
Nick Thomas 6ab6ebcdf4 Bug 1588649 - release update verify secondary failing for 70.0, r=jlund
The fix in Bug 1577634 only worked for the beta channel as it didn't consider the RC case.

There's several situations:
* beta without comments --> beta with comments: handled by bug 1577634, but with fallout
* beta with comments    --> beta with comments: `channel-prefs.js` is identical so we never need to apply any transforms
* beta with comments    --> rc with comments: the channel changes in `channel-prefs.js` (by design) so we apply transforms
* rc with comments      --> beta with comments: the channel changes in `channel-prefs.js` (by design) so we apply transforms

By moving the channel fixing transforms forward the file will become identical before we need to try the comment transform. The code breaks early in this case.

The release/esr case is simpler:
* release without comments --> release with comments: handled by comment transform, channel transforms only used for beta tests
* release with comments    --> release with comments: `channel-prefs.js` already identical, no transforms applied

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

--HG--
extra : moz-landing-system : lando
2019-10-15 22:36:25 +00:00
Brian Grinstead eab92c4995 Bug 1588855 - Remove browser-instrumentation job r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D49326

--HG--
extra : moz-landing-system : lando
2019-10-15 17:47:12 +00:00
Dorel Luca b6eeb7d5d3 Backed out changeset 35d4451f348d (bug 1588458) as requested by the dev 2019-10-15 19:04:22 +03:00
Sylvestre Ledru 0f71aeba53 Bug 1588458 - Replace dxr by searchfox in the doc r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D49140

--HG--
extra : moz-landing-system : lando
2019-10-15 15:27:13 +00:00
Andi-Bogdan Postelnicu bdf27fe3bd Bug 1588482 - For Coverity analysis add a modeling file when dealing with json_cpp. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D49133

--HG--
extra : moz-landing-system : lando
2019-10-14 13:15:46 +00:00
Jan de Mooij 6febd292ea Bug 1586683 - Remove flat strings from JSAPI. r=jwalden,bzbarsky
We want to remove flat strings (JSFlatString). With this patch we only expose
linear strings (JSLinearString) to API consumers.

This is very mechanical for the most part, because code typically only cares
about linear strings and not the null-termination aspect.

CTypes's Library.cpp has some Windows-specific code where we relied on null-terminated
strings. This patch adds JS_CopyStringCharsZ for that use case.

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

--HG--
extra : moz-landing-system : lando
2019-10-14 09:32:07 +00:00
Greg Tatum 03cd55fe37 Bug 1587503 - Provide a mechanism to inspect the current profiler configuration; r=gerald
This patch creates a new API to the nsIProfiler interface, through the activeConfiguration
property. It exposes the internal configuration of the profiler. In addition, this information
is serialized into the profile meta object.

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

--HG--
extra : moz-landing-system : lando
2019-10-11 18:22:42 +00:00
Simon Fraser 791c9d7928 Bug 1588111 Fix mach try fuzzy --s --full r=catlee
Differential Revision: https://phabricator.services.mozilla.com/D48974

--HG--
extra : moz-landing-system : lando
2019-10-11 14:45:08 +00:00
Andrew Halberstadt 2b0d90e3ad Bug 1587206 - [lint.flake8] Enable F632 across the tree, r=sylvestre
This ensures we use ==/!= to strings and ints (instead of is/is not).

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

--HG--
extra : moz-landing-system : lando
2019-10-10 18:50:33 +00:00
Coroiu Cristina 0b018a8d21 Merge inbound to mozilla-central a=merge 2019-10-10 19:24:55 +03:00
Coroiu Cristina a35c47f71d Merge mozilla-central to inbound a=merge 2019-10-10 12:55:45 +03:00
Nazım Can Altınova 2e832289ac Bug 1512500 - Record parent page information in profiler r=gerald,nika
Differential Revision: https://phabricator.services.mozilla.com/D47426

--HG--
extra : moz-landing-system : lando
2019-10-09 21:25:19 +00:00
Nazım Can Altınova 265874ce7d Bug 1583271 - Part 4: Update profiler page information tests r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D47268

--HG--
extra : moz-landing-system : lando
2019-10-09 20:58:21 +00:00
Nazım Can Altınova 6379b166c1 Bug 1583271 - Part 3: Remove the disabled assertion and add a mechanism to capture the first non-auto:blank frame r=nika
We are not simply excluding all about:blanks because there might be some
about:blank that user really visits. But for others we don't want to include
the first about:blank because when a BrowsingContext is loaded, and if the
principal matches, the first document loaded in it will share the inner window.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 20:58:06 +00:00
Nazım Can Altınova 20fc64e558 Bug 1583271 - Part 1: Change profiler page information IDs to BrowsingContextID and InnerWindowID r=gerald,nika
We were keeping nsDocShell::mHistoryId and nsDocShell::mOSHE as keys. They
weren't quite good because:
1. While loading an iframe, they were being registered twice with the same
ids(for about:blank and the real URL) sometimes.
2. It wasn't possible to access to the parent mHistoryId and mOSHE from a child
processes if the parent is in a different process. That may not be the case for
now, but it will be after fission.
So we had to find other IDs to:
1. Determine the Tab of the frames.
2. Determine the URLs of the frames.
For the first use case, we were using nsDocShell::mHistoryId for that purpose
but that was wrong. The closest thing that we can get to a tab ID is
BrowsingContext ID because they don't change after a navigation. But iframes
have different BrowsingContext's, so we still need to create a tree to
construct a tab content. That can be either in the front-end or capture time.
For the second use case, we were using a key pair of mHistoryId and mOSHE. We
now chose to keep inner window IDs for that purpose. Inner window IDs are
unique for each navigation loads because inner window correspond to each JS
window global objects. That's why we can use that without any problem. But one
problem is that we cannot handle `history.pushState` and `history.replaceState`
changes with that change since window global objects won't change during those.
But that was the best thing we can do after fission. So this will be a small
sacrifice for us to keep that functionality working after fission.
In that patch we also remove the registration/unregistration calls. We are
going to add those calls in the next patch.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 21:25:11 +00:00
Gerald Squelart d24177fe2a Bug 1587332 - Encapsulate ActivePS::mProfileBuffer as a ProfileBuffer value - r=canaltinova
Having `mProfileBuffer` be a pointer is not really helpful:
- The pointer is never null (It's allocated on ActivePS construction, and
  implicitly deleted on ActivePS destruction); it's never moved-from.
- It requires an extra `new` and an extra `delete`.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:52:09 +00:00
Gerald Squelart dff1750481 Bug 1587329 - MOZ_ASSERT(sInstance) in all functions that dereference sInstance - r=canaltinova
Add assertions that all `sInstance` pointers (from both `CorePS` and `ActivePS`)
are not null before being dereferenced.

This is probably more than needed, but it's only `MOZ_ASSERT`s limited to
Nightly, and it should give better feedback in case something goes wrong.

Eventually, I think it would be better to make most methods non-static, and have
a checked reference-to-instance getter.

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

--HG--
extra : moz-landing-system : lando
2019-10-10 10:51:50 +00:00
Emilio Cobos Álvarez 99a0148a26 Bug 1587486 - Update object in the rust profiler. r=mstange
This removes a failure and old target-lexicon dependencies.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 18:05:54 +00:00
Simon Fraser abbd58c38b Bug 1585998 mach try fuzzy estimates, ensure cache exists r=jlorenzo
The duration file downloader uses the cache directory created by taskgraph generation.

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

--HG--
extra : moz-landing-system : lando
2019-10-09 13:44:34 +00:00
Greg Tatum b4b444658c Bug 1586757 - Rename .jsm files to .jsm.js to allow type checking; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D47911

--HG--
rename : devtools/client/performance-new/popup/background.jsm => devtools/client/performance-new/popup/background.jsm.js
rename : devtools/client/performance-new/popup/menu-button.jsm => devtools/client/performance-new/popup/menu-button.jsm.js
extra : moz-landing-system : lando
2019-10-08 20:48:04 +00:00
Erik Rose 8b0b68e6a9 Bug 1232403 - Upgrade to sphinx-js 2.8. r=ahal
This should fix the doc builds on Windows, as sphinx-js added Windows support in 2.3.1 and 2.4. We also now get support for variadic args, @deprecated, and @see, along with other features.

sphinx-js 2.7.1 changed the default cwd to be the one containing conf.py, so I also had to twiddle `jsdoc_config_path`.

Let some other pipenv pinnings update themselves as well, as, if I don't, they'll just update themselves the next time somebody runs `mach doc`, dirtying their tree.

I suspect this also fixes bug 1556460, whose equivalent bug in sphinx-js is https://github.com/mozilla/sphinx-js/issues/106. IOW, it should no longer break with versions of jsdoc >= 3.6.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 22:02:31 +00:00
Edouard Oger da3f0d0753 Bug 1581709 - Use sessionTokens for OAuth requests. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46517

--HG--
extra : moz-landing-system : lando
2019-10-08 15:45:06 +00:00
Razvan Maries 9c27546918 Backed out changeset 6852bdb8d8c5 (bug 1581709) for Linting failures. CLOSED TREE 2019-10-08 18:42:11 +03:00
Edouard Oger 1093781abc Bug 1581709 - Use sessionTokens for OAuth requests. r=vladikoff
Differential Revision: https://phabricator.services.mozilla.com/D46517

--HG--
extra : moz-landing-system : lando
2019-10-08 14:19:11 +00:00
Simon Fraser bef1f805b3 Bug 1585998 Add task duration estimates to 'mach try fuzzy' r=jlorenzo
Try with: mach try fuzzy --show-estimates

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

--HG--
extra : moz-landing-system : lando
2019-10-08 11:04:24 +00:00
Sylvestre Ledru 21aca79eb1 Bug 1562642 - Cleanup the js exclude list + add a new string in the list of valid license r=andi
Differential Revision: https://phabricator.services.mozilla.com/D48308

--HG--
extra : moz-landing-system : lando
2019-10-08 08:36:33 +00:00
Gerald Squelart 41f4178d9a Bug 1586132 - Add tests for more ProfilerMarkerPayload.h payloads - r=gregtatum
Test more of the ProfilerMarkerPayload's, all those from ProfilerMarkerPayload.h
that did not require external structures. (More to be added in the future.)

These tests focus on the profiler, by simulating markers as we expect them, and
verifying that the corresponding output is correct JSON as expected by the
frontend.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 01:59:31 +00:00
Gerald Squelart 8c14c7f000 Bug 1586132 - Use jsoncpp to test profiler output in Profiler.Markers gtest - r=gregtatum
This does not test more markers than before. But instead of searching for
strings in the raw json, expected values are checked in the parsed output
profile.

Also some `ASSERT_...` tests could be changed to `EXPECT_...`, because their
failures would not prevent running more of the test.

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

--HG--
extra : moz-landing-system : lando
2019-10-08 02:16:00 +00:00
Sylvestre Ledru 2e9f376728 Bug 1586678 - Remove media/audioipc from the license exclude list r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D48305

--HG--
extra : moz-landing-system : lando
2019-10-07 14:44:12 +00:00
Nick Alexander c46ec74815 Bug 1580356 - Remove Fennec (Firefox for Android). r=snorp,mshal
This does many things:

1) stops producing (and consuming) `FennecJNI*` JNI wrappers
2) removes the :app and :thirdparty Gradle projects
3) removes relevant pieces of the Gradle target configuration
4) updates lints
5) purges old configurations

After this commit, the `mobile/android` project/application builds
only GeckoView.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 20:55:11 +00:00
Doug Thayer 534ac9e360 Bug 1550108 - Pull in secondary lz4 libraries r=glandium
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.

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

--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-10-04 20:44:08 +00:00
Andrew Halberstadt f80662b1b5 Bug 1585702 - [lint] Remove temporary hacks now that 'null character' issue is fixed, r=gbrown
Depends on D48113

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

--HG--
extra : moz-landing-system : lando
2019-10-04 19:13:04 +00:00
Ed Lee 6272276bf4 Bug 1585734 - [lint] Make sure codespell, rst and yaml run with virtualenv python r=ahal
Use mozfile.which to get the correct python for this environment.

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

--HG--
extra : moz-landing-system : lando
2019-10-04 17:45:39 +00:00
shindli aa2d84960f Backed out changeset e206bc685749 (bug 1232403) for causing a linting failure CLOSED TREE 2019-10-04 19:28:59 +03:00
Erik Rose 0c37cdf48a Bug 1232403 - Upgrade to sphinx-js 2.8. r=ahal
This should fix the doc builds on Windows, as sphinx-js added Windows support in 2.3.1 and 2.4. We also now get support for variadic args, @deprecated, and @see, along with other features.

sphinx-js 2.7.1 changed the default cwd to be the one containing conf.py, so I also had to twiddle `jsdoc_config_path`.

Let some other pipenv pinnings update themselves as well, as, if I don't, they'll just update themselves the next time somebody runs `mach doc`, dirtying their tree.

I suspect this also fixes bug 1556460, whose equivalent bug in sphinx-js is https://github.com/mozilla/sphinx-js/issues/106. IOW, it should no longer break with versions of jsdoc >= 3.6.

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

--HG--
extra : moz-landing-system : lando
2019-10-03 21:21:29 +00:00
Andrew Halberstadt cf49e5a898 Bug 1585751 - [lint.wpt] Work around mozprocess Windows + Python 3 bug, r=jgraham
Depends on D47975

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

--HG--
extra : moz-landing-system : lando
2019-10-03 13:17:34 +00:00
Andrew Halberstadt 522d192cd4 Bug 1585751 - [lint.wpt] Fix Python 3 error processing 'wpt' output, r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D47975

--HG--
extra : moz-landing-system : lando
2019-10-03 08:33:15 +00:00
Victor Porof 48062bb200 Bug 1584446 - Add an rkv fuzzing test for bug mdb_cursor_put, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D47396

--HG--
extra : moz-landing-system : lando
2019-10-02 15:17:13 +00:00
Andrew Halberstadt a26feaed9e Bug 1585385 - [lint] Make sure hooks run |mach lint| with Python 3, r=mars
Differential Revision: https://phabricator.services.mozilla.com/D47807

--HG--
extra : moz-landing-system : lando
2019-10-02 16:23:59 +00:00
Andrew Halberstadt d919d558a3 Bug 1585565 - [lint.eslint] Work around mozprocess Windows + Python 3 bug, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D47925

--HG--
extra : moz-landing-system : lando
2019-10-02 15:45:34 +00:00
Gijs Kruitbosch 438b65574e Bug 1585565 - fix package.json loading in eslint setup to always use utf-8 instead of system encoding, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D47883

--HG--
extra : moz-landing-system : lando
2019-10-02 13:07:37 +00:00
Gerald Squelart 499b5db10f Bug 1583868 - New profiler feature "nostacksampling" - r=gregtatum
Previously, the absence of "stackwalk", "leaf", and "javascript" implied that
the test/user didn't want any sampling, but this caused issues in some tests
that enabled "stackwalk" on platforms that didn't support stack-walking, which
ended up suppressing label-only stacks that the test expected.

we now have an explicit feature "nostacksampling" that disables backtraces from
the samplers in both profilers. This effectively cancels "stackwalk", "leaf",
and "javascript" if present.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 22:49:13 +00:00
Brindusan Cristian 79e9f1a034 Backed out changeset 8989d1a83de8 (bug 1583868) for xpcshell failures at test_ext_geckoProfiler_schema.js. CLOSED TREE 2019-10-01 22:27:11 +03:00
Gerald Squelart fa7dc1a809 Bug 1583868 - New profiler feature "nostacksampling" - r=gregtatum
Previously, the absence of "stackwalk", "leaf", and "javascript" implied that
the test/user didn't want any sampling, but this caused issues in some tests
that enabled "stackwalk" on platforms that didn't support stack-walking, which
ended up suppressing label-only stacks that the test expected.

we now have an explicit feature "nostacksampling" that disables backtraces from
the samplers in both profilers. This effectively cancels "stackwalk", "leaf",
and "javascript" if present.

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

--HG--
extra : moz-landing-system : lando
2019-10-01 14:00:21 +00:00
Nick Thomas dfd9f2dd17 Bug 1578497 - Overwrite notarization ticket on each partial update instead of patching, so pkgs can be updated, r=bhearsum
Differential Revision: https://phabricator.services.mozilla.com/D47576

--HG--
extra : moz-landing-system : lando
2019-10-01 02:42:10 +00:00
Andrew Halberstadt d3eae4b83c Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-30 15:09:41 +00:00
David Major 103a1cbba6 Bug 1573211 - Update to clang 9.0.0 r=glandium
Updates all clang 8.0.1 to version 9.0.0, except for the mingw builds
which suffer from bug 1548624 and will be handled separately later.

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

MANUAL PUSH: Rebuild clang toolchains without stalling autoland

--HG--
rename : build/build-clang/clang-8-android.json => build/build-clang/clang-android.json
rename : build/build-clang/clang-8-linux64-aarch64-cross.json => build/build-clang/clang-linux64-aarch64-cross.json
rename : build/build-clang/clang-8-linux64.json => build/build-clang/clang-linux64.json
rename : build/build-clang/clang-8-macosx64.json => build/build-clang/clang-macosx64.json
rename : taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh
2019-09-21 16:26:53 +02:00
Sylvestre Ledru bae04a811a Bug 1579845 - Add a test to the mozlint check: license r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45873

--HG--
extra : moz-landing-system : lando
2019-09-30 14:56:12 +00:00
Chris AtLee 4a7ce514be Bug 1540276: Migrate authenticode signing to autograph r=Callek,mshal
Differential Revision: https://phabricator.services.mozilla.com/D47114

--HG--
extra : moz-landing-system : lando
2019-09-30 13:57:32 +00:00
Sylvestre Ledru 1b9161eb05 Bug 1579845 - ride along: codespell Add support of exclude: r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D45489

--HG--
extra : moz-landing-system : lando
2019-09-30 13:44:55 +00:00
Cosmin Sabou 14938bad3b Backed out 10 changesets (bug 1550108) for causing build bustages on StartupCache.cpp.
Backed out changeset cbadfa2bbd7e (bug 1550108)
Backed out changeset 2560f0ab6ebf (bug 1550108)
Backed out changeset 0a1fa8d8bb3c (bug 1550108)
Backed out changeset 62416909cf67 (bug 1550108)
Backed out changeset 60991713b1e2 (bug 1550108)
Backed out changeset f950e30afd90 (bug 1550108)
Backed out changeset e63d0a1fec38 (bug 1550108)
Backed out changeset 7a009d42e7e7 (bug 1550108)
Backed out changeset 395affa4c205 (bug 1550108)
Backed out changeset 0fd41e9dbd2a (bug 1550108)

--HG--
rename : mfbt/lz4/lz4.c => mfbt/lz4.c
rename : mfbt/lz4/lz4.h => mfbt/lz4.h
2019-09-29 01:14:31 +03:00
Doug Thayer fdbddfa996 Bug 1550108 - Pull in secondary lz4 libraries r=glandium
I opted to go with what I perceived as the more expedient route
of leaving lz4 roughly where it is and just adding to that. The
biggest complication was xxhash, which is included elsewhere.
I'm not generally proficient with build-related things though so
my solution may be wrong and not just ugly.

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

--HG--
rename : mfbt/lz4.c => mfbt/lz4/lz4.c
rename : mfbt/lz4.h => mfbt/lz4/lz4.h
extra : moz-landing-system : lando
2019-09-27 22:15:01 +00:00
Brindusan Cristian e2348a18ee Backed out 2 changesets (bug 1573211) as requested by dmajor on irc. CLOSED TREE
Backed out changeset 587463567434 (bug 1573211)
Backed out changeset de0fe40466cb (bug 1573211)

--HG--
rename : build/build-clang/clang-android.json => build/build-clang/clang-8-android.json
rename : build/build-clang/clang-linux64-aarch64-cross.json => build/build-clang/clang-8-linux64-aarch64-cross.json
rename : build/build-clang/clang-linux64.json => build/build-clang/clang-8-linux64.json
rename : build/build-clang/clang-macosx64.json => build/build-clang/clang-8-macosx64.json
rename : taskcluster/scripts/misc/build-clang-linux-macosx-cross.sh => taskcluster/scripts/misc/build-clang-8-linux-macosx-cross.sh
extra : histedit_source : 3f9570ab67fd42186265b1dbb6e93c8342bc60e2
2019-09-26 20:12:51 +03:00
Victor Porof 71a08e56c3 Bug 1583440 - Enable fuzzer-no-link on the rkv crate when fuzzing, r=truber
Differential Revision: https://phabricator.services.mozilla.com/D46901

--HG--
extra : moz-landing-system : lando
2019-09-26 16:24:50 +00:00
Victor Porof b0783dc7ee Bug 1583439 - Update lmdb-rkv-sys, lmdb-rkv and rkv crates to their latest versions, r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46899

--HG--
extra : moz-landing-system : lando
2019-09-26 11:52:13 +00:00
Mike Hommey 998851dbba Bug 1582574 - Make minidump_stackwalk toolchain binary compatible with both older and newer Debian/Ubuntu. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D46538

--HG--
extra : moz-landing-system : lando
2019-09-25 22:03:16 +00:00
Andreea Pavel 9fd779e03f Merge mozilla-central to autoland on a CLOSED TREE 2019-09-26 01:00:14 +03:00
Andreea Pavel aacd9754e9 Merge mozilla-inbound to mozilla-central a=merge 2019-09-26 00:53:01 +03:00
Nick Alexander 3bf9f51b30 Bug 1575014 - Fix `./mach try --gecko-profile ...`. r=tomprince,ahal
An error crept in, resulting in:
```
[task ...] InterpreterError: InterpreterError: infix: [..] expects integer [..] integer
```

At some point, `suite` became a string name and not an object with a
string `name` member.  However, in the interim, the diversity of
`command` structures has made the template approach untenable.
Therefore, this commit converts `GeckoProfile` to a `TryConfig`.  The
existing test clearly wasn't helpful, and it doesn't really map to a
`TryConfig` test, so it was removed.

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

--HG--
extra : moz-landing-system : lando
2019-09-25 20:18:17 +00:00
Oana Pop Rus 4b9792db7c Backed out changeset 371641b1010b (bug 1580280) for lints failure on a CLOSED TREE 2019-09-26 00:18:33 +03:00
Andrew Halberstadt fdc7d0afac Bug 1580280 - [mozlint] Run |mach lint| with Python 3 and drop support for Python 2 r=mars
Differential Revision: https://phabricator.services.mozilla.com/D45441

--HG--
extra : moz-landing-system : lando
2019-09-25 20:03:14 +00:00