Commit graph

711296 commits

Author SHA1 Message Date
Nick Alexander
d813d2e019 Bug 1643098 - Ignore Emacs project sentinel .projectile files. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D78123
2020-06-03 19:46:16 +00:00
Michael Cooper
8191ee17a1 Bug 1643079 - Normandy initialize should be idempotent r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D78121
2020-06-03 19:39:06 +00:00
Emilio Cobos Álvarez
e64af3d86d Bug 1643049 - Fix string usage in ClonedErrorHolder::Init. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D78131
2020-06-03 19:16:51 +00:00
Sylvestre Ledru
47b6e279cf Bug 1643034 - Improve the top left presentation of the doc r=championshuttler
* shorter title
* remove versions display (with 4 weeks cycle, less relevant)
* display the firefox wordmark https://searchfox.org/mozilla-central/source/browser/branding/nightly/content/firefox-wordmark.svg

Differential Revision: https://phabricator.services.mozilla.com/D78074
2020-06-03 19:29:11 +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
Greg Tatum
a6e8254a01 Bug 1639144 - Fix the dropdown arrow in the profiler popup; r=julienw
Differential Revision: https://phabricator.services.mozilla.com/D77479
2020-06-03 19:28:43 +00:00
emcminn
de56c3d325 Bug 1637617 - Adjusted message margins to prevent panel closing; added panel header to main view panel & updated fluent strings r=andreio,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D76162
2020-06-03 18:25:02 +00:00
John Paul Adrian Glaubitz
319d3205ce Bug 1325771 - mfbt: Reorder parameters for MOZ_ALIGNED_DECL r=jwalden
Currently, MOZ_ALIGNED_DECL uses the order (_type, _align) for its
parameters. However, this order makes the code less readable when
_type is a larger object like a struct because the value for _align
would be at the end of the struct definition. By swapping the order
of _type and _align, the alignment value will always be next to
the type name, regardless how far the definition of _type extends.

Differential Revision: https://phabricator.services.mozilla.com/D77288
2020-06-03 18:31:06 +00:00
John Paul Adrian Glaubitz
0d3f9839aa Bug 1325771 - js:jit: Enable AtomicOperations-feeling-lucky.h on m68k r=lth
This allows the build on m68k to use the atomic operations provided by GCC.

Differential Revision: https://phabricator.services.mozilla.com/D77287
2020-06-03 18:30:58 +00:00
John Paul Adrian Glaubitz
e1b5790f4d Bug 1325771 - build: Add m68k as target architecture to mozbuild r=glandium
Adds the basic definitions for m68k to mozbuild, allowing to build Spidermonkey.

Differential Revision: https://phabricator.services.mozilla.com/D77285
2020-06-03 18:30:50 +00:00
Kevin Jacobs
e11c127de7 Bug 1643087 - Extend TSAN false-positive suppression to BadCertAndPinningServer. r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D78116
2020-06-03 18:16:36 +00:00
Coroiu Cristina
3cce853af2 Backed out 4 changesets (bug 1641291) for build bustages and SM failures on a CLOSED TREE
Backed out changeset 9c0a44614576 (bug 1641291)
Backed out changeset 0dcf604b880e (bug 1641291)
Backed out changeset d830bee40b5c (bug 1641291)
Backed out changeset fe38c82c2dad (bug 1641291)
2020-06-03 22:09:52 +03:00
Botond Ballo
93fd46b292 Bug 1611660 - Adjust WR test expectations. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D61333
2020-06-03 19:03:17 +00:00
Botond Ballo
5eb0a67a4d Bug 1611660 - Accept layout viewport updates from the main thread right away. r=tnikkel
Previously, we would wait until the following frame (for uncertain reasons
that date back to B2G), but this meant the layout and visual viewports would
be out of sync for a frame, causing APZ to misbehave.

Differential Revision: https://phabricator.services.mozilla.com/D61286
2020-06-03 19:03:17 +00:00
Nick Alexander
e3368880ab Bug 1641291 - Part 3: Ensure that paths are considered paths when compiling. r=glandium
Extremely common file paths on macOS like `/Users/...` are interpreted
as `/U...` flags by `clang-cl`.  This is so common that there's a
`-Wslash-u-filename` warning.  Ensure that file paths are considered
paths when compiling by terminating options with `--`.

This commit handles everything except assembler invocations, because
at least `nasm` doesn't handle `--`.

Differential Revision: https://phabricator.services.mozilla.com/D77119
2020-06-03 18:18:32 +00:00
Nick Alexander
26518d1bde Bug 1641291 - Part 2: Make NSDISTMODE=copy impact install manifests. r=glandium
This is strictly a quality of life improvement when cross-compiling to
Windows targets.  A common scenario is mounting an object directory
into a Windows VM, which requires additional VM configuration to
handle (absolute) symlinks.  With this patch, `export NSDISTMODE=copy`
in a mozconfig sidesteps any such symlink issues.

Differential Revision: https://phabricator.services.mozilla.com/D77118
2020-06-03 18:18:23 +00:00
Nick Alexander
916d838f9c Bug 1641291 - Part 1: Allow cross-compiling from host macOS -> Windows target. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D77117
2020-06-03 18:18:15 +00:00
Nick Alexander
77c491766c Bug 1641291 - Pre: Work around logging not handling '\x' in old-configure output. r=froydnj
Windows accepts both paths, so let's just avoid the issue for now.

Differential Revision: https://phabricator.services.mozilla.com/D77116
2020-06-03 18:17:58 +00:00
sefeng
22ba034ce8 Bug 1642364 - Add a temporary solution for modal dialog centered alignment r=emilio
Spec: https://html.spec.whatwg.org/multipage/#centered-alignment

The spec is opaque about the centered alignment mode and we couldn't
come up a satisfied solution by using the current version of the
spec. There will be discussion in CSSWG to talk about better solutions.
In the meantime, we are adding this patch as a temporary solution with
basic centered alignment support to allow us enabling the feature
in Nightly for more testing.

Differential Revision: https://phabricator.services.mozilla.com/D77678
2020-06-03 08:52:46 +00:00
Jeff Walden
5104a36433 Bug 1642505 - Add an ICU README file describing what ICU does, how to use it, and how to use and update Gecko's imported copy of it. r=anba
Differential Revision: https://phabricator.services.mozilla.com/D77719
2020-06-03 17:49:26 +00:00
Ricky Stewart
1914a51fc8 Bug 1643026 - Squash stray reference to deleted global variable in virtualenv.py r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D78069
2020-06-03 17:23:30 +00:00
Ryan VanderMeulen
d4df232197 Bug 1643005 - Update HarfBuzz to 2.6.7. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D78056
2020-06-03 17:38:40 +00:00
Mitchell Hentges
651dec64b7 Bug 1632429: Makes mozrelease compatible with python 3 r=aki
Differential Revision: https://phabricator.services.mozilla.com/D77962
2020-06-03 18:16:09 +00:00
Mitchell Hentges
c34c289c27 Bug 1632429: Improves python 3 compatibility of mozharness r=aki
Differential Revision: https://phabricator.services.mozilla.com/D77961
2020-06-03 18:16:01 +00:00
Mitchell Hentges
291e3e141e Bug 1632429: "enum34" and "enum" virtualenv packages are now only available to the python2 env r=rstewart
When running |mach python| with python 3, it was failing when importing "enum", since it would get the python 2 backport. By making these packages only
available to python 2, we allow python 3 to import standard library packages properly.

Differential Revision: https://phabricator.services.mozilla.com/D77960
2020-06-03 18:15:38 +00:00
Ed Lee
96ed60b4bd Bug 1641863 - Upgrade Node 10.x (in preparation for ESR 78) r=Standard8. CLOSED TREE
Node v10.21.0 (LTS) just released https://nodejs.org/en/blog/release/v10.21.0/

Differential Revision: https://phabricator.services.mozilla.com/D77904
2020-06-03 18:00:52 +00:00
Calixte Denizet
2f9403d63b Bug 1637377 - Avoid dead lock on user-requested ccov dumps r=marco
Gcc and Clang dumps gcda files just before an exec** or fork functions.
With ccov enabled, we can dump using a SIGUSR1 but if we're in the middle of dump (because of exec** or fork)
then a gcda file can stay locked and then another process can try to get a lock on it for ever.
So to avoid such a situation, we remove the SIGUSR1 handler just before the fork an set it back just after.

Differential Revision: https://phabricator.services.mozilla.com/D78051
2020-06-03 15:06:58 +00:00
Tom Schuster
e0bacdb606 Bug 1642593 - Fix non unified
Depends on D77793

Differential Revision: https://phabricator.services.mozilla.com/D78111
2020-06-03 17:36:27 +00:00
Jeff Muizelaar
6bd11ae538 Bug 1643052 - Turn on WebRender on Stoney Ridge. r=aosmond
Let's let it ride to early beta for now.

Differential Revision: https://phabricator.services.mozilla.com/D78081
2020-06-03 17:20:21 +00:00
Tom Prince
9eac413f54 Bug 1642446: Add an attribute to annotate toolchain tasks used by mach bootstrap; r=firefox-build-system-reviewers,rstewart
Toolchains that are used for local development need to be built on a level-3
branch to installable via `mach bootstrap`. Add an attribute to track the fact
that a toolchain is used that way, and:
- ensure that everything installed via `mach boostrap` has that attribute set
- ensure that everything with that attribute set is built on trunk projects

We could additionally verify that attribute is only set on things used by
bootstrap, but bootstrap doesn't currently have an exhaustive list of things
that it might install, making that difficult.

Differential Revision: https://phabricator.services.mozilla.com/D77706
2020-06-03 15:55:26 +00:00
Tom Schuster
39bda07ab6 Bug 1642593 - Transpile GuardAnyClass. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D77793
2020-06-03 17:23:46 +00:00
Tom Schuster
5f288e50bd Bug 1642593 - Support GuardToClass in CacheIR. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D77792
2020-06-03 17:23:38 +00:00
Tom Schuster
802279165d Bug 1642593 - Create a InlinableNativeGuardToClass function to allow for more code sharing. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D77791
2020-06-03 17:23:23 +00:00
Rob Wu
8162b376d4 Bug 1642671 - Add tests for falsey result from runtime.onMessage r=zombie,geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D77895
2020-06-03 17:26:43 +00:00
Dorel Luca
0154691eae Backed out 5 changesets (bug 1325771) for Spidermonkey failures and build bustage in build/src/mfbt/tests/TestCompactPair.cpp. CLOSED TREE
Backed out changeset ace40545b46c (bug 1325771)
Backed out changeset b3e0fb410a1c (bug 1325771)
Backed out changeset d69ac62c063f (bug 1325771)
Backed out changeset 24e6299e112d (bug 1325771)
Backed out changeset 393a6ff847ce (bug 1325771)
2020-06-03 20:23:08 +03:00
Paul Adenot
8c5e904065 Bug 1642712 - Only use the microphone when authorized on macOS when gathering roundtrip latency. r=chunmin
Differential Revision: https://phabricator.services.mozilla.com/D78034
2020-06-03 16:43:32 +00:00
John Paul Adrian Glaubitz
196d2e2764 Bug 1325771 - mfbt:tests: Define RETURN_INSTR for m68k in TestPoisonArea r=glandium
Define RETURN_INSTR for m68k in TestPoisonArea, i.e. the m68k assembly
opcodes for "rts ; rts".

Depends on D77289

Differential Revision: https://phabricator.services.mozilla.com/D77290
2020-06-02 07:01:56 +00:00
John Paul Adrian Glaubitz
5e52229a75 Bug 1325771 - mfbt:tests: Handle targets with less strict alignment in TestCompactPair r=jesup
Previously, the tests assumed that the alignment of int and long equals
their size. This commit fixes the tests for targets like m68k that have
sizeof(int) == 4 and alignof(int) == 2. A static helper function sizemax
was introduced as the offset of the second element in Pair<int,long>
might be either determined by its alignment requirement or the size of
the preceding int element and we use the helper function to pick the
larger of the two values.

Depends on D77288

Differential Revision: https://phabricator.services.mozilla.com/D77289
2020-06-01 22:48:50 +00:00
John Paul Adrian Glaubitz
ea002ac55c Bug 1325771 - mfbt: Reorder parameters for MOZ_ALIGNED_DECL r=jwalden
Currently, MOZ_ALIGNED_DECL uses the order (_type, _align) for its
parameters. However, this order makes the code less readable when
_type is a larger object like a struct because the value for _align
would be at the end of the struct definition. By swapping the order
of _type and _align, the alignment value will always be next to
the type name, regardless how far the definition of _type extends.

Depends on D77287

Differential Revision: https://phabricator.services.mozilla.com/D77288
2020-06-03 16:51:08 +00:00
John Paul Adrian Glaubitz
35416068d7 Bug 1325771 - js:jit: Enable AtomicOperations-feeling-lucky.h on m68k r=lth
This allows the build on m68k to use the atomic operations provided by GCC.

Depends on D77285

Differential Revision: https://phabricator.services.mozilla.com/D77287
2020-05-28 15:49:48 +00:00
John Paul Adrian Glaubitz
25481ca65b Bug 1325771 - build: Add m68k as target architecture to mozbuild r=glandium
Adds the basic definitions for m68k to mozbuild, allowing to build Spidermonkey.

Differential Revision: https://phabricator.services.mozilla.com/D77285
2020-06-02 07:00:48 +00:00
Botond Ballo
4a07cb3fec Bug 1642884 - Ensure calls to Axis::CancelGesture() are protected by the APZC lock. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D78086
2020-06-03 16:56:45 +00:00
Emilio Cobos Álvarez
a5473b1df6 Bug 1599160 - Fix a racy constructable stylesheets test. r=nordzilla
This test is using async_test, while the others are using promise_test,
which are not synchronized with each other.

This test loads a <link> element with the import url stylesheet, which
sets the `color` property. Color is inherited, so it can affect the
shadow descendants of the trees in the other tests.

Only the following test checks the computed value of the color property,
so in practice the race doesn't happen right now because the url is
never cached.

But with the stylesheet caching improvements, if you hit the cache for
the link, it is fast enough in a way in which you might be running the
following test after the link has loaded, but before the load event
has been dispatched.

Use promise_test to properly synchronize between this test and the
following ones, to avoid flaky failures with cross-document stylesheet
caching.

Differential Revision: https://phabricator.services.mozilla.com/D78052
2020-06-03 16:55:10 +00:00
Nathan Froyd
40348063b3 Bug 1643029 - remove build-.*-aarch64 from being hidden behind --full; r=ahal
It's not good to hide Android AArch64 builds, a tier 1 platform, behind `--full`.

Differential Revision: https://phabricator.services.mozilla.com/D78070
2020-06-03 16:15:43 +00:00
Jonathan Kew
1cd6eafa23 Bug 1640408 - Check Unicode general category to identify punctuation marks in word-breaker. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D77655
2020-06-03 15:24:29 +00:00
Botond Ballo
58f4d468c7 Bug 1642788 - Ensure APZ gtests set mTimeStamp correctly on events where needed. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D77981
2020-06-03 16:39:01 +00:00
Botond Ballo
1d59a8121e Bug 1642788 - Call StartTouch() when pinch locking is activated. r=kats
Activating pinch locking means we are locked into a two-finger pan
(no scaling), which can trigger a fling animation at the end. We
track velocity via UpdateWithTouchAtDevicePoint() while pinch locked.
We need to call StartTouch() when we start tracking velocity.

Differential Revision: https://phabricator.services.mozilla.com/D77980
2020-06-03 16:38:53 +00:00
Botond Ballo
a864440a96 Bug 1642788 - Use mTimeStamp rather than mTime for APZ velocity computations. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D77979
2020-06-03 16:38:38 +00:00
Simon Giesecke
47b44d078e Bug 1642666 - Remove obsolete test for removed nsIAppShell::RunBeforeNextEvent function. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D78013
2020-06-03 16:16:09 +00:00