Commit Graph

875068 Commits

Author SHA1 Message Date
Mike Hommey
ee9ce3017a Bug 1882693 - Fix build failures in gfx/thebes when targeting iOS. r=gfx-reviewers,lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D203078
2024-03-01 00:02:57 +00:00
Mike Hommey
4ae76f7588 Bug 1882680 - Limit mac-only sources to mac builds. r=firefox-build-system-reviewers,necko-reviewers,media-playback-reviewers,valentin,padenot
Differential Revision: https://phabricator.services.mozilla.com/D203073
2024-03-01 00:01:59 +00:00
Alexandre Poirot
9fe319f440 Bug 1880809 - [devtools] Use binary search when adding sources in the source tree. r=devtools-reviewers,nchevobbe
This helps address a performance issue when a bulk or sources are registered.
We could have use findIndexLast, given that the sources are often coming sorted,
but this is not always the case. For example when a new arbitrary source is created by the page.

Also, while the sources look sorted, there is no actual sort being done from the Source Map Worker,
nor by the SOURCE server resource watcher. We would need to add sorting there to be reliable.

In this patch, I'm also avoiding unecessary array in the actor codebase, and, simplifying the load source map actions.

Differential Revision: https://phabricator.services.mozilla.com/D202149
2024-03-01 00:01:45 +00:00
Alexandre Poirot
c759c489b6 Bug 1880809 - [devtools] Decode source url encoded characters early and cache it. r=devtools-reviewers,bomsy
This will prevent re-decoding the characters on each react update.
This will also allow other component to manipulate decoded characters.

Differential Revision: https://phabricator.services.mozilla.com/D202445
2024-03-01 00:01:44 +00:00
Alexandre Poirot
ae6e844fe2 Bug 1880809 - [devtools] Remove unused method from source utils. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D202444
2024-03-01 00:01:44 +00:00
Alexandre Poirot
c3c8916423 Bug 1880809 - [devtools] Use an explicit cached attribute on source for label displayed in SourceTree. r=devtools-reviewers,bomsy
This help ensure that we are sorting the reducer on the same string displayed in the UI.

Differential Revision: https://phabricator.services.mozilla.com/D202443
2024-03-01 00:01:44 +00:00
Alexandre Poirot
760c4d82ff Bug 1880809 - [devtools] Compute each source displayed name only once. r=devtools-reviewers,bomsy
We were calling this getFilename many times from many callsites.
Cache it once for all on the source object.

Also clarify what we typically display in the UI:
  * we display internal ID for source without a URL,
  * we strip query/search parameters,
  * we decode the URI string for special characters,
  * index files, i.e. files loaded without a file name, are named "(index)",
  * we omit the internal ":formatted" URL prefix used for pretty printed sources.

Differential Revision: https://phabricator.services.mozilla.com/D202442
2024-03-01 00:01:43 +00:00
Alexandre Poirot
407def7395 Bug 1880809 - [devtools] Remove useless argument on getFilename helper. r=devtools-reviewers,nchevobbe
This was always refering to first argument's source in all callsites using it.
Also, at the end we don't need to call getRawSourceURL, we only need to know if this source has a URL or not.

Differential Revision: https://phabricator.services.mozilla.com/D202441
2024-03-01 00:01:42 +00:00
Alexandre Poirot
8a75cbd395 Bug 1880809 - [devtools] Remove getSourceQueryString in favor of displayURL.search. r=devtools-reviewers,nchevobbe
We were recomputing the query string many times from many places whereas
it was already available off hand on displayURL object.

Differential Revision: https://phabricator.services.mozilla.com/D202440
2024-03-01 00:01:42 +00:00
Michael Froman
e5ac4993b9 Bug 1882824 - pt2 - updated libwebrtc patch stack. r=dbaker,webrtc-reviewers
1.'Bug 1864008 - Move libvpx to libgkcodecs' changed webrtc.gni and then
  'Bug 1875201 - Add method for conditionally including "media/libvpx/libvpx"'
  reverted the change. These two patches result in a no-op on the stack and can
  be removed.
2.'Bug 1810949 - cherry-pick upstream libwebrtc commit 91d5fc2ed6' and
  'Bug 1847074 - Vendor libwebrtc from 91d5fc2ed6' both added the same code in
  slightly different locations because Bug 1810949 did not include a no-op commit
  file. We can remove the duplicate code and remove a patch from the stack in git.
3.During the libwebrtc update for v121, we ran into a fairly rare situation where
  we'd cherry-picked an upstream commit 6a992129fb, and then during the update,
  upstream cherry-picked the same commit in their release branch. This patch should
  removed from the stack to avoid errors during restore or prep_repo.
4.Rollup 2 patches:
    Bug 1876843 - (fix-082cb56ee7) remove mozilla dependency on pc:media_factory.
    Bug 1876843 - (fix-b29ff000da) remove mozilla dependency on api:enable_media
  into our:
    Bug 1654112 - Tweak upstream gn files for Firefox build.

Differential Revision: https://phabricator.services.mozilla.com/D203202
2024-02-29 23:56:57 +00:00
Michael Froman
0e2b0576f6 Bug 1882824 - pt1 - remove duplicate defines in device_info_v4l2.cc. r=dbaker,webrtc-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203201
2024-02-29 23:56:57 +00:00
Michael Froman
2f67ecee57 Bug 1878798 - pt2 - prep_repo.sh should handle previous release branch patches better. r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D203200
2024-02-29 23:56:56 +00:00
Michael Froman
7bd4898fc3 Bug 1878798 - pt1 - verify_vendoring.sh - use current commit to create extract guidance info. r=dbaker
Differential Revision: https://phabricator.services.mozilla.com/D203199
2024-02-29 23:56:56 +00:00
Haik Aftandilian
bac222e41f Bug 1876902 - Provide a way to sign macOS builds locally r=mach-reviewers,hneiva r!#mach-reviewers
Introduce a `./mach macos-sign` command that can be used to sign local packaged builds for manual testing.

Differential Revision: https://phabricator.services.mozilla.com/D199804
2024-02-29 22:58:17 +00:00
Mike Hommey
917cd1f7f1 Bug 1882441 - Enable libxml2 support in windows clang. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D202902
2024-02-29 22:53:01 +00:00
Mike Hommey
8ece1d0381 Bug 1882441 - Add a toolchain artifact for a static libxml2 for Windows. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D202901
2024-02-29 22:53:01 +00:00
Mike Hommey
5f2cda5292 Bug 1881381 - Switch build to VS 2022. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202364
2024-02-29 22:24:57 +00:00
Jonathan Kew
37b43afcc5 Bug 1837146 - Create an IOSPlatformFontList concrete implementation of CoreTextFontList. r=gfx-reviewers,lsalzman
This builds and should come close to working, I hope, but is currently untested.

Differential Revision: https://phabricator.services.mozilla.com/D180192
2024-02-29 22:22:15 +00:00
Karl Tomlinson
43567d05a0 Bug 1882685 test both panning models in test_pannerNode_maxDistance.html r=padenot
Depends on D203083

Differential Revision: https://phabricator.services.mozilla.com/D203084
2024-02-29 22:12:04 +00:00
Mike Conley
018b08199c Bug 1882874 - Fix JSDoc warnings for browser/components/backup. r=kpatenio
Differential Revision: https://phabricator.services.mozilla.com/D203189
2024-02-29 22:06:02 +00:00
Mike Hommey
6c8a61b218 Bug 1882652 - Apply the same filter to vs2022 as we did for vs2019. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D203071
2024-02-29 21:46:02 +00:00
Cristian Tuns
633ccd1c45 Backed out changeset 4099afcff2be (bug 1881925) for causing gecko decision task failures in browser.toml CLOSED TREE 2024-02-29 16:49:46 -05:00
Joel Maher
63ecc826a4 Bug 1881925 - standardize on more manifest conditions. r=aryx,credential-management-reviewers,devtools-reviewers,dom-storage-reviewers,omc-reviewers,nchevobbe,janv,issammani
Differential Revision: https://phabricator.services.mozilla.com/D202663
2024-02-29 21:25:17 +00:00
Connor Sheehan
48093e83dd Bug 1871425: re-enable autoformatting after disabling WPT linter r=zeid DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D203191
2024-02-29 21:22:27 +00:00
Valentin Gosu
05f6750807 Bug 1878765 - Copy purpose to TRR request following CNAME r=necko-reviewers,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D203137
2024-02-29 21:11:51 +00:00
stransky
de3474c44a Bug 1882021 [Linux] Make sure GtkCompositorWidget::mWidget reference is released on nsWindow::Destroy() to avoid nsWindow leak r=emilio
Depends on D203104

Differential Revision: https://phabricator.services.mozilla.com/D203177
2024-02-29 21:10:16 +00:00
stransky
bc432c06b4 Bug 1882021 [Linux/X11] Clean up XWindow from GtkCompositorWidget and disable rendering if nsWindow is unmapped r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D203104
2024-02-29 21:10:15 +00:00
stransky
59f283c3cc Bug 1882255 [Linux] Quit early if there isn't any display connection and we need it r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202807
2024-02-29 21:07:05 +00:00
stransky
7fd26424b8 Bug 1882255 [Linux] Wayland-Proxy: check Wayland compositor is here before we run proxy r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202806
2024-02-29 21:07:04 +00:00
stransky
f76aefd29e Bug 1882255 [Linux] Wayland-Proxy: quit if Wayland display is empty r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D202805
2024-02-29 21:07:04 +00:00
Noemi Erli
02ac792b19 Backed out changeset 9b4da905ce36 (bug 1789727) for causing failures in browser_asrouter_toolbarbadge.js CLOSED TREE 2024-02-29 22:43:51 +02:00
Noemi Erli
f02f8a1f6d Backed out changeset fab1526875d3 (bug 1880108) for causing failures in browser_caching_attributes.js 2024-02-29 22:40:18 +02:00
Cristian Tuns
08a71b5d1d Backed out changeset e8d20bbb8f68 (bug 1876902) for causing rst lint failures in signing_macos_build.rst CLOSED TREE 2024-02-29 15:11:00 -05:00
Haik Aftandilian
dc95368b38 Bug 1876902 - Provide a way to sign macOS builds locally r=mach-reviewers,hneiva r!#mach-reviewers
Introduce a `./mach macos-sign` command that can be used to sign local packaged builds for manual testing.

Differential Revision: https://phabricator.services.mozilla.com/D199804
2024-02-29 19:53:53 +00:00
Karl Tomlinson
8a163574a0 Bug 1882685 use async/await to manage asynchronicity in some PannerNode tests r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D203083
2024-02-29 19:36:21 +00:00
Drew Willcoxon
9bc3553854 Bug 1880865 - Properly align the urlbar feedback acknowledgment message. r=dao,desktop-theme-reviewers
This introduces two new variables for 16px icon inline margins. We can use these
any time we need to align something with the "standard" 16px icons and text, no
matter whether rich suggestions are enabled or not.

Differential Revision: https://phabricator.services.mozilla.com/D202784
2024-02-29 19:15:03 +00:00
Mozilla Releng Treescript
3a52a93e6c no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
de -> 79deb1760d07082925c67ea76a4015b440396652
fr -> 74e29e2913a99df05dfe23f160b5adf4c7b9e5c8
is -> d63a75e29b8693b7aed21e484423490c88257f3b
nn-NO -> b2058804e0594a27359df1c455487f0e1e12f1e5
pt-BR -> c65cb627d452059deff32d18140cadad565faa90
th -> 53fa907ba3c9395dcdf7c0281514933e2f9c8cfa
tr -> a8d3d70737b7290a4dcef697c47c3bebf62793fe
2024-02-29 19:36:45 +00:00
Michael Hughes
09024f2525 Bug 1880368 - change firefox and firefox-private protocols to firefox-bridge and firefox-private-bridge protocols r=nshukla,mossop
Differential Revision: https://phabricator.services.mozilla.com/D201879
2024-02-29 19:03:17 +00:00
Emilio Cobos Álvarez
98aecb3ad4 Bug 1882802 - Add viewport meta tag to event-propagate-disabled.tentative.html. r=saschanaz
I haven't been able to debug why my change exactly causes this, because
both before and after my patch the test is blank on the emulator's
runner, and you can't just run the test on GVE...

My best guess is that a subtle layout change (the select is now 0.5px
taller) causes the radio button to end up in a subpixel position, and
the origin of 0, 0 just happens to get rounded down... Or an interaction
with our pointer event retargetting (the fat finger stuff), which is
only enabled on Android.

In any case I'm pretty sure my change is not the root cause of this
intermittent, this fixes it and is a reasonable thing to do.

Differential Revision: https://phabricator.services.mozilla.com/D203150
2024-02-29 18:38:26 +00:00
Connor Sheehan
92d48baabe Bug 1881295: remove isort from formatters list r=linter-reviewers,marco,ahal
Using `isort` for import sorting in Python has been replaced by
`ruff`. Update the formatters list to remove `isort`. We will add
`ruff` at a later date once we have asserted it is appropriate to
add to this formatters list.

Differential Revision: https://phabricator.services.mozilla.com/D203127
2024-02-29 18:31:49 +00:00
Sam Foster
24d2e39f9d Bug 1789727 - Default to the component implementation of Screenshots for nightly builds. r=extension-reviewers,sfoster,robwu,chutten
* Flip the component pref to true by default for nightly builds only
* Move the pref check and initialization to a startup idle task
* And be a bit smarter about when we get and disable the addon
* Fix a bug where we try to communicate with the overlay after the window actor is destroyed when
  the component pref gets flipped off during use

Differential Revision: https://phabricator.services.mozilla.com/D196888
2024-02-29 18:27:46 +00:00
Pier Angelo Vendrame
1b2a8187b7 Bug 1880108 - Pass the locale list when constructing l10n in datetimebox. r=reusable-components-reviewers,tgiles
The datetime input is inconsistent with other inputs when using spoof
English: its placeholder is not translated, unlike the default values
and texts of all the other inputs.

Differential Revision: https://phabricator.services.mozilla.com/D201726
2024-02-29 18:02:12 +00:00
Cristian Tuns
6bc0f370cc Backed out 2 changesets (bug 1755033) for causing mochitest failures in test_formautofill_preview_highlight.html CLOSED TREE
Backed out changeset 4fde36e8266a (bug 1755033)
Backed out changeset 5e26aac6ca16 (bug 1755033)
2024-02-29 13:09:49 -05:00
Thomas Wisniewski
b671d9ecd4 Bug 1882562 - disable system addon updates while running webcompat intervention tests; r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D203128
2024-02-29 17:51:26 +00:00
Chun-Min Chang
e6e522e587 Bug 1872871 - Move codec-specific settings to a function r=media-playback-reviewers,padenot
This patch addresses an earlier review comment [1] in the code.

Shortening the init function, by moving the codec-specific settings to a
helper function, improves the readability.

[1] https://phabricator.services.mozilla.com/D196534?id=805071#inline-1096610

Differential Revision: https://phabricator.services.mozilla.com/D202607
2024-02-29 17:33:46 +00:00
Chun-Min Chang
3dd3f954b9 Bug 1872871 - Move SVC settings to a function r=media-playback-reviewers,padenot
This patch addresses an earlier review comment [1] in the code.

Shortening the init function, by moving the SVC settings to a helper
function, improves the readability.

[1] https://phabricator.services.mozilla.com/D196534?id=805071#inline-1096610

Differential Revision: https://phabricator.services.mozilla.com/D202606
2024-02-29 17:33:45 +00:00
Chun-Min Chang
56d5792c22 Bug 1882410 - Set temporal layers based on scalability mode r=media-playback-reviewers,padenot
This patch makes the `mNumTemporalLayers` in `VP9Specific` generated in
`VideoEncoderConfigInternal::ToEncoderConfig` match the number of
temporal layers in the given scalability mode.

Differential Revision: https://phabricator.services.mozilla.com/D202885
2024-02-29 17:33:45 +00:00
Chun-Min Chang
749a334a09 Bug 1882410 - clang-format VideoEncoder.cpp r=media-playback-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D203140
2024-02-29 17:33:44 +00:00
Jules Simplicio
a10c268da4 Bug 1882122 - Add remaining space design tokens r=desktop-theme-reviewers,reusable-components-reviewers,settings-reviewers,mstriemer,emilio
Added
- `--space-medium`
- `--space-large`

Changed
- `--space-xlarge` has a new value and the old one is now `--space-xxlarge`

Differential Revision: https://phabricator.services.mozilla.com/D202739
2024-02-29 17:28:22 +00:00
Matthew Gaudet
bd034cf789 Bug 1881969 - Add tests r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D202878
2024-02-29 16:39:32 +00:00