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

721240 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey 172e5c81ec Bug 1656141 - Remove redundant manifest references in rc include files. r=firefox-build-system-reviewers,rstewart
The build system will add these manifests whether they are referenced
explicitly in theses rc include files or not.

Differential Revision: https://phabricator.services.mozilla.com/D86157
2020-08-06 15:54:56 +00:00
Mike Hommey 9145b89e14 Bug 1656141 - Remove rc include files that only add a manifest. r=firefox-build-system-reviewers,rstewart
That was redundant with the manifest being added with MT (although useful
for mingw builds, that don't use MT), but is also now handled by the
automatic creation of rc files.

Differential Revision: https://phabricator.services.mozilla.com/D86156
2020-08-06 15:56:41 +00:00
Mike Hommey dc4ee999b0 Bug 1656141 - Stop using MT to insert manifests in binaries. r=firefox-build-system-reviewers,rstewart
We are currently relying on two different ways to insert side-by-side
manifests in binaries on Windows: through resource files, or through
the use of MT. The latter is not supported on mingw builds, which is
not great.

Link.exe has options to add a manifest at link time without relying on
either method above, but that's not supported on mingw either.

So the best we can do is to move everything to using resource files.
This also avoids using MT, which, on cross builds, requires using wine.

Ideally, the manifests would be declared in moz.build, but that
complicates things for cases like TestDllInterceptor, where there are
multiple binaries in the same directory, but only one of them needs the
manifest. This keeps the status quo of getting the manifest
automatically from the source directory.

Differential Revision: https://phabricator.services.mozilla.com/D85382
2020-08-06 16:00:40 +00:00
Mike Hommey b8f0039ca8 Bug 1656141 - Remove support for manifests on host programs. r=firefox-build-system-reviewers,rstewart
We're currently not using the feature, and host programs ought only
to be used during the build, so I don't expect the feature to ever
be necessary.

Differential Revision: https://phabricator.services.mozilla.com/D86167
2020-08-06 15:52:47 +00:00
Mike Hommey 63984026bb Bug 1656141 - Create res and rc files based on the name of the binary they are linked into. r=firefox-build-system-reviewers,rstewart
This will allow creating separate res files for e.g. SIMPLE_PROGRAMS.

Differential Revision: https://phabricator.services.mozilla.com/D86155
2020-08-06 15:57:42 +00:00
Mike Hommey afe0ac845a Bug 1656141 - Remove RESFILE. r=firefox-build-system-reviewers,rstewart
The resource file is always generated so being able to configure its name
is not useful. On the other hand, the way things are currently implemented,
the lack of RESFILE also makes RCFILE ignored, which we fix at the same
time.

And remove a spurious RESFILE in widget/windows/moz.build, where no binary
is produced, which means RESFILE had no meaning.

Differential Revision: https://phabricator.services.mozilla.com/D86154
2020-08-06 15:59:02 +00:00
Mike Hommey d6565296c3 Bug 1656141 - Rename version_win.py to create_rc.py. r=firefox-build-system-reviewers,mhentges,rstewart
Because while the original perl script was added to add version info
to Windows binaries, it does more and will do even more with upcoming
changes.

Differential Revision: https://phabricator.services.mozilla.com/D86153
2020-08-06 15:59:09 +00:00
Mike Hommey 3c6fc9c9e1 Bug 1656141 - Remove dav1d.rc. r=achronop
RCFILE is only actually used when the moz.build that contains it defines
a binary, which is not the case for dav1d, which ends up in gkmedias.dll.
Which also means that moving the definition to gkmedias would also not
make sense, since all dav1d.rc does is add descriptors to the dll that it
contains dav1d and what version, but gkmedias.dll contains other things
too.

Differential Revision: https://phabricator.services.mozilla.com/D86152
2020-08-06 20:51:37 +00:00
Mike Hommey afec638391 Bug 1656141 - Remove EMBED_MANIFEST_AT. r=froydnj
It was only ever set to the same value as its default, except in
comm-central, where it is unset, but in directories that now don't link
anything (they did back when binary components were a thing).

Differential Revision: https://phabricator.services.mozilla.com/D85381
2020-08-06 07:05:36 +00:00
David Major 00dbeabf9f Bug 1657502 - Disable new -Wpsabi warning in clang-11 r=firefox-build-system-reviewers,rstewart
clang-11 has a new warning that fires when you pass a 256-bit vector type as a parameter or return value, and your compilation doesn't enable AVX. The aim is to warn you that the ABI is different depending on whether you enable AVX, which could become a problem if AVX and non-AVX files communicate through such parameters.

While the intent is good, it's not really worth 1800 lines of log spam for us. We have only a tiny number of AVX compilations in media codecs, and the only things they interchange with other code are buffer pointers.

Differential Revision: https://phabricator.services.mozilla.com/D86107
2020-08-06 16:01:01 +00:00
David Major 7bdbf197ee Bug 1657455 - Give EnumSet an assignment operator r=sg
Newer clangs complain that we explicitly defined a copy constructor but not a copy assignment.

Differential Revision: https://phabricator.services.mozilla.com/D86061
2020-08-06 20:40:37 +00:00
Matt Woodrow 852a191d88 Bug 1657523 - Compute the scale from size for async image pipelines in the compositor process, so that we get the size matching the current texture. r=aosmond
Differential Revision: https://phabricator.services.mozilla.com/D86132
2020-08-06 21:09:55 +00:00
Mihai Alexandru Michis 4719cf3e7d Backed out changeset 06538f141210 (bug 1656034) for causing bustages in GLContextProviderEGL.cpp
CLOSED TREE
2020-08-07 00:19:32 +03:00
Kriyszig 916bc8b129 Bug 1649021 - Add tests for CSS Compatibility Tooltip r=mtigley,daisuke DONTBUILD
The CSS Compatibility Tooltip tests cover the following cases:
* Check if the contents of the tooltip match the rendered template
* Check compatible rules aren't falsely marked incompatible
* Check incompatible rules are marked correct with icon appearing next to it
* Check toggling rule disable hides the icon
* Check adding rules updates the compatibilility status
* Check the compatibility icon disappears if a fix is added

Differential Revision: https://phabricator.services.mozilla.com/D84218
2020-08-06 11:06:39 +00:00
Kriyszig d0b13329e8 Bug 1649021 - Add tooltip in rules panel to highlight CSS compatiblity issues for particular declaration r=mtigley,daisuke,flod,ckerschb DONTBUILD
Use CompatibilityActor to fetch the compatiblity information for
a particular CSS declaration and show a tooltip for the
incompatible CSS declaration that may cause issue on platform

Differential Revision: https://phabricator.services.mozilla.com/D81474
2020-08-06 04:41:34 +00:00
Kriyszig 943f84f64d Bug 1649020 - Add pref for inline CSS incompatibility warning in inspector ruleview r=mtigley DONTBUILD
This patch adds
`devtools.inspector.ruleview.inline-compatibility-warning.enabled`
that covers the development of the inline CSS compatiblity warning
tooltip

Differential Revision: https://phabricator.services.mozilla.com/D81473
2020-07-14 21:07:02 +00:00
Kriyszig 039a9c85b1 Bug 1649018 - Expose compatibility computation for CSS declaration block via CompatiblityActor and add browser dataset fetch r=daisuke,devtools-backward-compat-reviewers DONTBUILD
Previously CompatibilityActor could only compute the compatiblity
issues taking node actor. However with the implementation of
inline compatibility warning, it becomes necessary to compute
compatiblity issue from the CSS declaration block. This patch
exposes a getCssDeclarationBlockIssues and add browser dataset
fetch within the actor for inline warnings.

Differential Revision: https://phabricator.services.mozilla.com/D81472
2020-07-15 09:11:21 +00:00
Julian Descottes 599815e926 Bug 1571329 - Wait for 2 ruleview-changed events in browser_inspector_highlighter-cssshape_iframe_01.js r=rcaliman
Differential Revision: https://phabricator.services.mozilla.com/D86237
2020-08-06 20:46:25 +00:00
Andrew Halberstadt 31d5259a1a Bug 1657622 - [taskgraph] Revert to 'bugbug-reduced-fallback' optimization strategy on autoland, r=marco
Differential Revision: https://phabricator.services.mozilla.com/D86219
2020-08-06 19:52:05 +00:00
Jeff Gilbert 78c66237bb Bug 1656034 - Support multiple EglDisplays per GLLibraryEGL. r=lsalzman,sotaro,stransky
Have webrender use its own EGLDisplay, letting WebGL use a different
one.

Differential Revision: https://phabricator.services.mozilla.com/D85496
2020-08-06 19:56:43 +00:00
Jamie Nicol 16a9221376 Bug 1656554 - Enable webrender on Adreno 5xx GPUs excluding 505 and 506. r=ktaeleman,geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D85740
2020-08-06 20:35:09 +00:00
shravanrn@gmail.com 12c83a7c60 Bug 1649631 - Fix wasi issues in clang-11 builds r=froydnj,dmajor
Differential Revision: https://phabricator.services.mozilla.com/D85741
2020-08-06 19:22:24 +00:00
Martin Stransky b368bb8808 Bug 1657577 [Linux] Use atomic gNewSurfaceUID, r=jgilbert
Differential Revision: https://phabricator.services.mozilla.com/D86174
2020-08-06 19:38:31 +00:00
Chris H-C 05c469791b Bug 1654538 - Rename FOG crates to be more specific r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D85326
2020-08-06 19:18:35 +00:00
Iain Ireland 5c810c9543 Bug 1646378: Disable tests that loop infinitely with trial inlining r=jandem
Depends on D86103

Differential Revision: https://phabricator.services.mozilla.com/D86105
2020-08-06 14:39:46 +00:00
Iain Ireland e5dd665c91 Bug 1646378: Don't abort entire warp compilation when inlining snapshot aborts r=jandem
Prior to this patch, if we aborted with AbortReason::Disable (for example, because it contains an unsupported opcode), then we would abort the entire compilation. With this patch, we mark the script uninlineable, clean up, and continue as if we had not done trial inlining. This improves Octane by ~1.3%.

The CacheIR for the callsite still contains a CallInlinedFunction. The best approach I could come up with was to transpile CallInlinedFunction differently depending on whether we were actually inlining. If not, it is treated like a regular CallScriptedFunction.

An alternative approach would be to check all the conditions that could cause AbortReason::Disable beforehand (possibly in BytecodeAnalysis) and preemptively mark the script unlineable, with the downside of creating another piece of code that had to be kept in sync with WarpOracle, and there are just enough quirky cases to make that seem like a bad idea. In the future, we could combine the approaches by preemptively marking the easy cases and relying on this code for the rest.

Depends on D86102

Differential Revision: https://phabricator.services.mozilla.com/D86103
2020-08-06 19:17:08 +00:00
Iain Ireland a8dbb03ca8 Bug 1646378: Initial inlining heuristics r=jandem
With these conservative heuristics, trial inlining gives a performance improvement on Octane and does not regress Speedometer.

Depends on D86101

Differential Revision: https://phabricator.services.mozilla.com/D86102
2020-08-06 19:16:56 +00:00
Iain Ireland efc37f4177 Bug 1646378: Don't inline cross-realm r=jandem
This fixes a crash in Elm-TodoMVC.

Differential Revision: https://phabricator.services.mozilla.com/D86101
2020-08-06 14:22:11 +00:00
Kris Maglione 636561ac6f Bug 1650257: Add more diagnostic assertions. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D86085
2020-08-05 22:47:41 +00:00
Dave Townsend ba6b415906 Bug 1653384: Require MOZ_FORCE_DISABLE_E10S to be set to the current application version. r=froydnj
Depends on D86240

Differential Revision: https://phabricator.services.mozilla.com/D86241
2020-08-06 18:16:33 +00:00
Dave Townsend 2e11494093 Bug 1653384: mach run should set MOZ_FORCE_DISABLE_E10S to the current application version. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D86240
2020-08-06 18:19:19 +00:00
Brindusan Cristian d2c98f369f Backed out changeset 67cdcf5da6a6 (bug 1657554) for causing SM bustages at js/src/jit-test/tests/gc/bug-1657554.js. CLOSED TREE 2020-08-06 21:16:48 +03:00
Mihai Alexandru Michis b111833c4e Bug 1589517 - Remove unnecessary aSameProcessAsFrameLoader declaration from tabbrowser.js for causing lint failures. a=lint-fix
CLOSED TREE
2020-08-06 20:57:12 +03:00
Andrew McCreight 85e0be181d Bug 1657504, part 2 - Fix deprecation warning in ipdl.py. r=nika
This is unrelated to the main issue in the bug, but I noticed
a deprecation warning in the log spew.

Differential Revision: https://phabricator.services.mozilla.com/D86229
2020-08-06 17:36:45 +00:00
Andrew McCreight bd21b11225 Bug 1657504, part 1 - Don't allow a protocol to be defined in two different files. r=nika
This changes the duplicate checking/caching implemented by |parsed| to be
based on the name of the protocol etc. we're loading, not the file name.
This lets us detect when a protocol is being defined in two different
files.

This can happen if one file is included earlier in the resolve path than
a file explicitly specified on the command line. Any includes will resolve
to the former, and then we'll attempt to parse the latter. Before this
patch, this would result in weird errors, because there would be multiple
protocol types with the same name.

Differential Revision: https://phabricator.services.mozilla.com/D86113
2020-08-06 17:42:13 +00:00
Andrew Osmond 0afdee5817 Bug 1657600 - Fix how WebRender was not enabled on OSX by default for early beta. r=ktaeleman
Differential Revision: https://phabricator.services.mozilla.com/D86195
2020-08-06 17:12:05 +00:00
Erik Nordin dc5ce69107 Bug 1656587 - Retrieve Default Printer Name Using CUPS r=AlaskanEmily
Differential Revision: https://phabricator.services.mozilla.com/D85628
2020-08-06 17:26:04 +00:00
Nika Layzell c366c291b9 Bug 1589517 - Part 4: Remove sameProcessAsFrameLoader, r=zombie,mconley,farre,smacleod
The functionality has been fully subsumed by the new
initialBrowsingContextGroupId attribute, so it is no longer necessary.

Differential Revision: https://phabricator.services.mozilla.com/D85653
2020-08-06 17:01:13 +00:00
Nika Layzell 2f84ab8f50 Bug 1589517 - Part 3: Add initialBrowsingContextGroupId to extension browsers, r=zombie
This attribute can be used to force non-tab extension browsers to be loaded in
the correct BrowsingContextGroup, and also subsumes the existing
sameProcessAsFrameLoader uses in extension code.

Differential Revision: https://phabricator.services.mozilla.com/D85652
2020-08-06 17:01:10 +00:00
Nika Layzell 2f8013d4a9 Bug 1589517 - Part 2: Add initialBrowsingContextGroupId to sameProcessAsFrameLoader callers, r=mconley,smacleod
This attribute, when combined with the remoteType attribute, should subsume all
callers of sameProcessAsFrameLoader, and also support selecting the same process
as an out-of-process iframe.

Differential Revision: https://phabricator.services.mozilla.com/D85651
2020-08-06 17:01:08 +00:00
Nika Layzell 3759dc8c87 Bug 1589517 - Part 1: Add initialBrowsingContextGroupId attribute, r=farre
This attribute will subsume the existing sameProcessAsFrameLoader attribute. It
works by specifying the BrowsingContextGroup which the initial BrowsingContext
in a <browser> should be created within.

Due to bug 1652144, all documents within the same BrowsingContextGroup with the
same remote type will be loaded in the same process, meaning that specifying
both "initialBrowsingContextGroupId" and "remoteType" will cause the initial
about:blank document to be loaded in a specific content process.

Differential Revision: https://phabricator.services.mozilla.com/D85650
2020-08-06 17:01:06 +00:00
Ting-Yu Lin 250663c1f3 Bug 1657540 Part 6 - Remove WritingMode argument from FlexboxAxisTracker's constructor. r=dholbert
We already pass nsFlexContainerFrame into FlexboxAxisTracker, so we can
get WritingMode from the frame.

Differential Revision: https://phabricator.services.mozilla.com/D86140
2020-08-06 17:28:07 +00:00
Ting-Yu Lin 719adb5e2d Bug 1657540 Part 5 - Remove the default branch to handle StyleFlexDirection. r=dholbert
StyleFlexDirection() is a strong enum now. It cannot have other values.

Differential Revision: https://phabricator.services.mozilla.com/D86139
2020-08-06 17:24:25 +00:00
Ting-Yu Lin 64523a4b31 Bug 1657540 Part 4 - Remove FlexboxAxisTracker::mMainAxis. r=dholbert
We can compute MainAxis() and CrossAxis() by using IsRowOriented().

Differential Revision: https://phabricator.services.mozilla.com/D86138
2020-08-06 17:24:23 +00:00
Ting-Yu Lin db7e771c51 Bug 1657540 Part 3 - Use IsCrossAxisReversed() to implement other methods in FlexboxAxisTracker. r=dholbert
It will be easier to change IsCrossAxisReversed()'s implementation later.

Differential Revision: https://phabricator.services.mozilla.com/D86137
2020-08-06 17:24:20 +00:00
Ting-Yu Lin 722a5a12f7 Bug 1657540 Part 2 - Use IsMainAxisReversed() to implement other methods in FlexboxAxisTracker. r=dholbert
It will be easier to change IsMainAxisReversed()'s implementation later.

Differential Revision: https://phabricator.services.mozilla.com/D86136
2020-08-06 17:24:18 +00:00
Ting-Yu Lin 5acf6b6d8a Bug 1657540 Part 1 - Use IsRowOriented() to implement other methods in FlexboxAxisTracker. r=dholbert
It will be easier to change IsRowOriented()'s implementation later.

Differential Revision: https://phabricator.services.mozilla.com/D86135
2020-08-06 15:50:39 +00:00
Jon Coppeard 183f84c982 Bug 1657554 - Don't set WeakRef target until we know that construction has succeeded r=sfink
This seems like a nice assertion to have so arrange that the weakref target is not set if registration fails. Also I fixed places where we didn't report out of memory on failure.

Depends on D86185

Differential Revision: https://phabricator.services.mozilla.com/D86186
2020-08-06 14:51:56 +00:00
Jon Coppeard 5d67c0d412 Bug 1657585 - Use auto rather than repeating the type name in casts in the GC r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D86185
2020-08-06 14:50:01 +00:00
Erik Nordin 9cc3d1ef24 Bug 1656379 - Rename nsCUPSShim function pointers r=AlaskanEmily,jwatt
Differential Revision: https://phabricator.services.mozilla.com/D85491
2020-08-06 17:01:21 +00:00