tbb-commits
Threads by month
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- 1 participants
- 19730 discussions
[Git][tpo/applications/tor-browser-build] Pushed new tag tbb-16.0a1-build1
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed new tag tbb-16.0a1-build1 at The Tor Project / Applications / tor-browser-build
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/tree/tbb…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser-build][main] Bug 41512&41513: Prepare Tor&Mullvad Browser 16.0a1.
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
7be0ea5c by Pier Angelo Vendrame at 2025-12-11T16:00:27+01:00
Bug 41512&41513: Prepare Tor&Mullvad Browser 16.0a1.
- - - - -
9 changed files:
- projects/browser/Bundle-Data/Docs-MB/ChangeLog.txt
- projects/browser/Bundle-Data/Docs-TBB/ChangeLog.txt
- projects/browser/config
- projects/firefox/config
- projects/geckoview/config
- projects/go/config
- projects/moat-settings/config
- projects/translation/config
- rbm.conf
Changes:
=====================================
projects/browser/Bundle-Data/Docs-MB/ChangeLog.txt
=====================================
@@ -1,3 +1,40 @@
+Mullvad Browser 16.0a1 - December 11 2025
+ * All Platforms
+ * Updated Firefox to 146.0a1esr
+ * Updated NoScript to 13.5.1.90101984
+ * Updated Mullvad Browser Extension to 0.9.7
+ * Updated uBlock Origin to 1.68.0
+ * Bug 483: Add the "No AI" version of DuckDuckGo to available search engines [mullvad-browser]
+ * Bug 487: Search engines are sorted alphabetically rather than the desired order [mullvad-browser]
+ * Bug 496: Rebase Mullvad Browser Alpha onto 146.0a1 [mullvad-browser]
+ * Bug 22974: Self-host NoScript Updates [tor-browser]
+ * Bug 44118: Decide how to deal with upstream feature gates in a RR world [tor-browser]
+ * Bug 44302: Fix the flags of some about pages [tor-browser]
+ * Bug 44310: Default zoom always resets to 100% [tor-browser]
+ * Bug 44333: Add the "No AI" version of DuckDuckGo to available search engines [tor-browser]
+ * Bug 44365: Fix CSS linting errors introduced for firefox 145 [tor-browser]
+ * Bug 44391: Restrictions cascade blocks every capability in subframes (e.g. captchas) [tor-browser]
+ * Windows
+ * Bug 479: Fix WebRTC on mingw after the 144 rebase [mullvad-browser]
+ * Bug 500: Restore NSIS plugin Makefiles [mullvad-browser]
+ * Linux
+ * Bug 434: Make Linux aarch64 builds available through the Alpha channel [mullvad-browser]
+ * Bug 44273: Restore Noto CJK as Jigmo has a too low readability [tor-browser]
+ * Bug 44315: Font/text issue with self-upgrade window [tor-browser]
+ * Build System
+ * All Platforms
+ * Bug 493: Automatically check whether the signed build is avaliable on dist.torproject.org before notifying Mullvad for QA [mullvad-browser]
+ * Bug 40903: Make xz multi-threaded [tor-browser-build]
+ * Bug 41643: Update toolchains for Firefox 146 [tor-browser-build]
+ * Bug 41644: Self-hosted browser extensions support in relprep.py [tor-browser-build]
+ * Bug 41647: Add a XZ_DEFAULTS to set_default_env [tor-browser-build]
+ * Bug 41662: Add python-zstandard to desktop containers [tor-browser-build]
+ * Linux
+ * Bug 41627: Firefox build system needs a more recent version of OpenSSL on Linux [tor-browser-build]
+ * Bug 41632: Ship Linux aarch64 builds in Alpha Release Channel [tor-browser-build]
+ * Bug 41639: Remove linux-arm target [tor-browser-build]
+ * Bug 41640: Clean the GCC config file [tor-browser-build]
+
Mullvad Browser 15.0a4 - October 16 2025
* All Platforms
* Updated Firefox to 140.4.0esr
=====================================
projects/browser/Bundle-Data/Docs-TBB/ChangeLog.txt
=====================================
@@ -1,3 +1,66 @@
+Tor Browser 16.0a1 - December 11 2025
+ * All Platforms
+ * Updated NoScript to 13.5.1.90101984
+ * Bug 43792: Determine whether noscript_persist users need to have their NoScript settings migrated [tor-browser]
+ * Bug 43998: Rebase Tor Browser Alpha onto 141.0 [tor-browser]
+ * Bug 44118: Decide how to deal with upstream feature gates in a RR world [tor-browser]
+ * Bug 44280: Test stream isolation [tor-browser]
+ * Bug 44333: Add the "No AI" version of DuckDuckGo to available search engines [tor-browser]
+ * Bug 44365: Fix CSS linting errors introduced for firefox 145 [tor-browser]
+ * Bug 44391: Restrictions cascade blocks every capability in subframes (e.g. captchas) [tor-browser]
+ * Bug 44408: Fix TorDomainIsolator in 146 [tor-browser]
+ * Bug 44418: Update built-in obfs4 bridges [tor-browser]
+ * Bug 41609: Move back to CDN77 for default snowflake bridge [tor-browser-build]
+ * Bug 41646: Update lyrebird version to v0.7.0 [tor-browser-build]
+ * Bug 483: Add the "No AI" version of DuckDuckGo to available search engines [mullvad-browser]
+ * Bug 487: Search engines are sorted alphabetically rather than the desired order [mullvad-browser]
+ * Windows + macOS + Linux
+ * Updated Firefox to 146.0a1esr
+ * Bug 44302: Fix the flags of some about pages [tor-browser]
+ * Bug 44310: Default zoom always resets to 100% [tor-browser]
+ * Bug 44411: DownloadsTorWarning.sys.mjs fails to load [tor-browser]
+ * Bug 44419: Re-add the moz-toggle title attribute patch [tor-browser]
+ * Linux
+ * Bug 44273: Restore Noto CJK as Jigmo has a too low readability [tor-browser]
+ * Bug 44315: Font/text issue with self-upgrade window [tor-browser]
+ * Android
+ * Updated GeckoView to 146.0a1esr
+ * Bug 44303: Extension update job might never work on Android [tor-browser]
+ * Bug 44324: Refactor the NSS no proxy-bypass patch on A-S to avoid -Wunreachable-code [tor-browser]
+ * Build System
+ * All Platforms
+ * Bug 43951: Include product with the component in triage CSVs [tor-browser]
+ * Bug 40903: Make xz multi-threaded [tor-browser-build]
+ * Bug 41445: Better handle bugzilla "Web Compatibility" issues in generate-bugzilla-triage-csv [tor-browser-build]
+ * Bug 41607: Fix regression from #41373 in tools/count-mar-downloads [tor-browser-build]
+ * Bug 41608: Add per-platform numbers for incrementals in count-mar-downloads [tor-browser-build]
+ * Bug 41643: Update toolchains for Firefox 146 [tor-browser-build]
+ * Bug 41644: Self-hosted browser extensions support in relprep.py [tor-browser-build]
+ * Bug 41647: Add a XZ_DEFAULTS to set_default_env [tor-browser-build]
+ * Bug 41648: Add a mozconfig to projects/geckoview [tor-browser-build]
+ * Bug 41654: Make relprep.py update Moat settings [tor-browser-build]
+ * Windows + macOS + Linux
+ * Bug 41662: Add python-zstandard to desktop containers [tor-browser-build]
+ * Windows + Linux + Android
+ * Bug 41580: Update Go major to 1.25.x [tor-browser-build]
+ * Updated Go to 1.25.5
+ * Linux
+ * Bug 41601: Upstream droppped Linux i686 support [tor-browser-build]
+ * Bug 41627: Firefox build system needs a more recent version of OpenSSL on Linux [tor-browser-build]
+ * Bug 41632: Ship Linux aarch64 builds in Alpha Release Channel [tor-browser-build]
+ * Bug 41639: Remove linux-arm target [tor-browser-build]
+ * Bug 41640: Clean the GCC config file [tor-browser-build]
+ * Android
+ * Bug 44360: Patch the vendored Gradle Nimbus plugin [tor-browser]
+ * Bug 44370: Always produce target.maven.zip [tor-browser]
+ * Bug 41485: Retire get_gradle_dependencies_list and create a simple way to update gradle deps [tor-browser-build]
+ * Bug 41573: Remove Android x86 support [tor-browser-build]
+ * Bug 41617: Pass page size to zipalign [tor-browser-build]
+ * Bug 41620: Do not rerun zipalign when signing [tor-browser-build]
+ * Bug 41621: Remove support using older android build tools when signing 14.5 releases in tools/signing/wrappers/sign-apk [tor-browser-build]
+ * Bug 41628: android_ndk_version and revision can be grouped together [tor-browser-build]
+ * Bug 41636: Update the scripts to manage Gradle dependencies [tor-browser-build]
+
Tor Browser 15.0a4 - October 16 2025
* All Platforms
* Updated NoScript to 13.2.1
=====================================
projects/browser/config
=====================================
@@ -108,16 +108,16 @@ input_files:
enable: '[% ! c("var/android") %]'
- filename: dmg-root
enable: '[% ! c("var/android") %]'
- - URL: https://addons.mozilla.org/firefox/downloads/file/4593796/noscript-13.2.1.x…
+ - URL: https://dist.torproject.org/torbrowser/noscript/noscript-13.5.1.90101984.xpi
name: noscript
- sha256sum: 190297f3d1e55db0c65f9bc00460bea9b753939d428ea593d6cef27fde1ce69a
- - URL: https://addons.mozilla.org/firefox/downloads/file/4578681/ublock_origin-1.6…
+ sha256sum: 4731db06df1e433f843cd0d3d449241c9f143ff9d5bbf787c8162bfa63c8ab6c
+ - URL: https://addons.mozilla.org/firefox/downloads/file/4629131/ublock_origin-1.6…
name: ublock-origin
- sha256sum: bc62cd930601212f1568964389352bbd4b1808466f2c9ac1198c754338077fb0
+ sha256sum: 5caf4abda494018841222a12156919bbdd8cad82a783c38c36b22dd642704315
enable: '[% c("var/mullvad-browser") %]'
- - URL: https://cdn.mullvad.net/browser-extension/0.9.5/mullvad-browser-extension-0…
+ - URL: https://cdn.mullvad.net/browser-extension/0.9.7/mullvad-browser-extension-0…
name: mullvad-extension
- sha256sum: c36f8d5447300621579f7f1408a25f25dac3929c867e7ae5db9fc8b82e80a4e9
+ sha256sum: 4597ee6fff6a2f19cbf78a6149d38d12ad8a9d6029b7e36f6c639dc3e07dd2c3
enable: '[% c("var/mullvad-browser") %]'
- filename: 'gtk3-settings.ini'
enable: '[% c("var/linux") %]'
=====================================
projects/firefox/config
=====================================
@@ -19,9 +19,9 @@ var:
firefox_platform_version: '146.0a1'
firefox_version: '[% c("var/firefox_platform_version") %]'
browser_series: '16.0'
- browser_rebase: 1
+ browser_rebase: 2
browser_branch: '[% c("var/browser_series") %]-[% c("var/browser_rebase") %]'
- browser_build: 1
+ browser_build: 2
copyright_year: '[% exec("git show -s --format=%ci " _ c("git_hash") _ "^{commit}", { exec_noco => 1 }).remove("-.*") %]'
nightly_updates_publish_dir: '[% c("var/nightly_updates_publish_dir_prefix") %]nightly-[% c("var/osname") %]'
gitlab_project: https://gitlab.torproject.org/tpo/applications/tor-browser
=====================================
projects/geckoview/config
=====================================
@@ -21,9 +21,9 @@ var:
firefox_platform_version: '146.0a1'
geckoview_version: '[% c("var/firefox_platform_version") %]'
browser_series: '16.0'
- browser_rebase: 1
+ browser_rebase: 2
browser_branch: '[% c("var/browser_series") %]-[% c("var/browser_rebase") %]'
- browser_build: 1
+ browser_build: 2
gitlab_project: https://gitlab.torproject.org/tpo/applications/tor-browser
git_commit: '[% exec("git rev-parse " _ c("git_hash") _ "^{commit}", { exec_noco => 1 }) %]'
deps:
=====================================
projects/go/config
=====================================
@@ -1,11 +1,11 @@
# vim: filetype=yaml sw=2
-version: '1.25.3'
+version: '1.25.5'
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
container:
use_container: 1
var:
- source_sha256: a81a4ba593d0015e10c51e267de3ff07c7ac914dfca037d9517d029517097795
+ source_sha256: 22a5fd0a91efcd28a1b0537106b9959b2804b61f59c3758b51e8e5429c1a954f
no_crosscompile: 1
setup: |
mkdir -p /var/tmp/dist
=====================================
projects/moat-settings/config
=====================================
@@ -1,7 +1,7 @@
# vim: filetype=yaml sw=2
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
git_url: https://gitlab.torproject.org/tpo/anti-censorship/rdsys-admin.git
-git_hash: 810fb24bd5fe36c8c0a67ecf8f8ec47b479eee31
+git_hash: c13a8e5909d78abbabf5b853e20e63e38fcc4808
version: '[% c("abbrev") %]'
# Use gz for now, since we do not support Zstandard on Linux containers.
compress_tar: 'gz'
=====================================
projects/translation/config
=====================================
@@ -12,13 +12,13 @@ compress_tar: 'gz'
steps:
base-browser:
base-browser: '[% INCLUDE build %]'
- git_hash: dff70d135408cfc24931c170efa91fbaded19914
+ git_hash: d366318349af0977ff23b492fa87e436e8672fdd
targets:
nightly:
git_hash: 'base-browser'
tor-browser:
tor-browser: '[% INCLUDE build %]'
- git_hash: ca310e42296a7085ea59fc323592f3dc702123ac
+ git_hash: 45b67d3be52f79e8a4b361fd04ab12f342ab0016
targets:
nightly:
git_hash: 'tor-browser'
@@ -32,7 +32,7 @@ steps:
fenix: '[% INCLUDE build %]'
# We need to bump the commit before releasing but just pointing to a branch
# might cause too much rebuidling of the Firefox part.
- git_hash: 0efa38c746df88feeb4daa7150e394e87e6d4d18
+ git_hash: 4690b13484b82453db1482af32953ee2c9398568
compress_tar: 'zst'
targets:
nightly:
=====================================
rbm.conf
=====================================
@@ -81,11 +81,11 @@ buildconf:
git_signtag_opt: '-s'
var:
- torbrowser_version: '15.0a4'
+ torbrowser_version: '16.0a1'
torbrowser_build: 'build1'
# This should be the date of when the build is started. For the build
# to be reproducible, browser_release_date should always be in the past.
- browser_release_date: '2025/10/15 18:00:00'
+ browser_release_date: '2025/12/11 14:20:12'
browser_release_date_timestamp: '[% USE date; date.format(c("var/browser_release_date"), "%s") %]'
browser_default_channel: alpha
browser_platforms:
@@ -131,9 +131,9 @@ var:
updater_enabled: 1
build_mar: 1
torbrowser_incremental_from:
+ - 15.0a4
- 15.0a3
- 15.0a2
- - 15.0a1
mar_channel_id: '[% c("var/projectname") %]-torproject-[% c("var/channel") %]'
# torbrowser_legacy_version: 13.5.22
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/7…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/7…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-2] 7 commits: fixup! BB 41803: Add some developer tools for working on tor-browser.
by henry (@henry) 11 Dec '25
by henry (@henry) 11 Dec '25
11 Dec '25
henry pushed to branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
afe3ec76 by Henry Wilkes at 2025-12-11T14:51:14+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Make git_get return the stdout string, rather than a list.
Add git_lines to generate lines.
- - - - -
e7ee2c3c by Henry Wilkes at 2025-12-11T14:51:15+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Use raw diff to get list of file changes.
- - - - -
e33552a3 by Henry Wilkes at 2025-12-11T14:51:16+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Add type annotations and parameter documentation.
- - - - -
d2f95e32 by Henry Wilkes at 2025-12-11T14:51:17+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Make the argcomplete module optional.
- - - - -
d40254c1 by Henry Wilkes at 2025-12-11T14:51:18+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Use function caching instead of global variables.
- - - - -
984a9ef9 by Henry Wilkes at 2025-12-11T14:51:19+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Fetch FIREFOX_ tags from the remote if they are missing.
- - - - -
07370c67 by Henry Wilkes at 2025-12-11T14:51:20+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Improve the auto-fixup/auto-commit command.
The auto-fixup command was renamed to auto-commit. It now also handles:
1. Already staged changes.
2. Untracked/added files.
3. Removed files.
4. Renamed files.
5. Allowing the user to create a new commit.
- - - - -
1 changed file:
- tools/base_browser/tb-dev
Changes:
=====================================
tools/base_browser/tb-dev
=====================================
@@ -6,6 +6,7 @@ Useful tools for working on tor-browser repository.
import argparse
import atexit
+import functools
import json
import os
import re
@@ -14,8 +15,15 @@ import sys
import tempfile
import termios
import urllib.request
+from collections.abc import Callable, Iterable, Iterator
+from types import ModuleType
+from typing import Any, NotRequired, TypedDict, TypeVar
-import argcomplete
+argcomplete: None | ModuleType = None
+try:
+ import argcomplete
+except ImportError:
+ pass
GIT_PATH = "/usr/bin/git"
UPSTREAM_URLS = {
@@ -36,9 +44,14 @@ class TbDevException(Exception):
pass
-def git_run(args, check=True, env=None):
+def git_run(
+ args: list[str], check: bool = True, env: None | dict[str, str] = None
+) -> None:
"""
Run a git command with output sent to stdout.
+ :param args: The arguments to pass to git.
+ :param check: Whether to check for success.
+ :param env: Optional environment to set.
"""
if env is not None:
tmp_env = dict(os.environ)
@@ -51,46 +64,122 @@ def git_run(args, check=True, env=None):
raise TbDevException(str(err)) from err
-def git_get(args):
+def git_run_pager(
+ args: list[str] | None = None,
+ arg_sequence: Iterable[list[str]] | None = None,
+ pager_prefix: None | str = None,
+) -> None:
"""
- Run a git command with each non-empty line returned in a list.
+ Run a sequence of git commands with the output concatenated and sent to the
+ git pager.
+ :param args: The arguments to pass to git, or `None` if a sequence is desired.
+ :param arg_sequence: A sequence representing several git commands.
+ :param pager_prefix: An optional text to send to the pager first.
+ """
+ if arg_sequence is None:
+ if args is not None:
+ arg_sequence = (args,)
+ else:
+ raise ValueError("Missing `arg_sequence` or `args`")
+ elif args is not None:
+ raise ValueError("Unexpected both args and arg_sequence")
+
+ pager = git_get(["var", "GIT_PAGER"])
+ if not pager:
+ raise TbDevException("Missing a GIT_PAGER")
+ command = [pager]
+ if os.path.basename(pager) == "less":
+ # Show colours.
+ command.append("-R")
+
+ pager_process = subprocess.Popen(command, stdin=subprocess.PIPE, text=True)
+ assert pager_process.stdin is not None
+
+ if pager_prefix is not None:
+ pager_process.stdin.write(pager_prefix)
+ pager_process.stdin.flush()
+
+ for git_args in arg_sequence:
+ subprocess.run(
+ [GIT_PATH, "--no-pager", *git_args], check=False, stdout=pager_process.stdin
+ )
+
+ pager_process.stdin.close()
+
+ status = pager_process.wait()
+ if status != 0:
+ raise TbDevException(f"git pager {pager} exited with status {status}")
+
+
+def git_get(args: list[str], strip: bool = True, check: bool = True) -> str:
+ """
+ Return the output from a git command.
+ :param args: The arguments to send to git.
+ :param strip: Whether to strip the whitespace from the output.
+ :param check: Whether to check for success.
+ :returns: The stdout.
"""
try:
git_process = subprocess.run(
- [GIT_PATH, *args], text=True, stdout=subprocess.PIPE, check=True
+ [GIT_PATH, *args], text=True, stdout=subprocess.PIPE, check=check
)
except subprocess.CalledProcessError as err:
raise TbDevException(str(err)) from err
- return [line for line in git_process.stdout.split("\n") if line]
+ ret = git_process.stdout
+ if strip:
+ ret = ret.strip()
+ return ret
-local_root = None
+def git_lines(args: list[str]) -> Iterator[str]:
+ """
+ Yields the non-empty lines returned by the git command.
+ :param args: The arguments to send to git.
+ :yield: The lines.
+ """
+ for line in git_get(args, strip=False).split("\n"):
+ if not line:
+ continue
+ yield line
+
+
+def git_path_args(path_iter: Iterable[str]) -> Iterator[str]:
+ """
+ Generate the trailing arguments to specify paths in git commands, includes
+ the "--" separator just before the paths.
+ :param path_iter: The paths that should be passed in.
+ :yields: The git arguments.
+ """
+ yield "--"
+ for path in path_iter:
+ yield f":(literal){path}"
-def get_local_root():
+(a)functools.cache
+def get_local_root() -> str:
"""
Get the path for the tor-browser root directory.
+ :returns: The local root.
"""
- global local_root
- if local_root is None:
- try:
- # Make sure we have a matching remote in this git repository.
- if get_upstream_details()["is-browser-repo"]:
- local_root = git_get(["rev-parse", "--show-toplevel"])[0]
- else:
- local_root = ""
- except TbDevException:
- local_root = ""
- return local_root
+ try:
+ # Make sure we have a matching remote in this git repository.
+ if get_upstream_details()["is-browser-repo"] == "True":
+ return git_get(["rev-parse", "--show-toplevel"])
+ else:
+ return ""
+ except TbDevException:
+ return ""
-def determine_upstream_details():
+(a)functools.cache
+def get_upstream_details() -> dict[str, str]:
"""
- Determine details about the upstream.
+ Get details about the upstream repository.
+ :returns: The details.
"""
remote_urls = {
- remote: git_get(["remote", "get-url", remote])[0]
- for remote in git_get(["remote"])
+ remote: git_get(["remote", "get-url", remote])
+ for remote in git_lines(["remote"])
}
matches = {
@@ -102,7 +191,7 @@ def determine_upstream_details():
}
is_browser_repo = len(matches) > 0
- details = {"is-browser-repo": is_browser_repo}
+ details = {"is-browser-repo": str(is_browser_repo)}
origin_remote_repo = matches.get("origin", None)
upstream_remote_repo = matches.get("upstream", None)
@@ -125,31 +214,30 @@ def determine_upstream_details():
return details
-cached_upstream_details = None
-
-
-def get_upstream_details():
- """
- Get details about the upstream repository.
- """
- global cached_upstream_details
- if cached_upstream_details is None:
- cached_upstream_details = determine_upstream_details()
- return cached_upstream_details
-
-
class Reference:
"""Represents a git reference to a commit."""
- def __init__(self, name, commit):
- self.name = name
+ _REFS_REGEX = re.compile(r"refs/[a-z]+/")
+
+ def __init__(self, full_name: str, commit: str) -> None:
+ """
+ :param full_name: The full reference name. E.g. "refs/tags/MyTag".
+ :param commit: The commit hash for the commit this reference points to.
+ """
+ match = self.__class__._REFS_REGEX.match(full_name)
+ if not match:
+ raise ValueError(f"Invalid reference name {full_name}")
+ self.full_name = full_name
+ self.name = full_name[match.end() :]
self.commit = commit
-def get_refs(ref_type, name_start):
+def get_refs(ref_type: str, name_start: str) -> Iterator[Reference]:
"""
- Get a list of references that match the given 'ref_type' ("tag" or "remote"
- or "head") that starts with the given 'name_start'.
+ Get a list of references that match the given conditions.
+ :param ref_type: The ref type to search for ("tag" or "remote" or "head").
+ :param name_start: The ref name start to match against.
+ :yield: The matching references.
"""
if ref_type == "tag":
ref_start = "refs/tags/"
@@ -163,56 +251,83 @@ def get_refs(ref_type, name_start):
fstring = "%(*objectname),%(objectname),%(refname)"
pattern = f"{ref_start}{name_start}**"
- def line_to_ref(line):
+ def line_to_ref(line: str) -> Reference:
[objectname_reference, objectname, ref_name] = line.split(",", 2)
# For annotated tags, the objectname_reference is non-empty and points
# to an actual commit.
# For remotes, heads and lightweight tags, the objectname_reference will
# be empty and objectname will point directly to the commit.
- return Reference(
- ref_name.replace(ref_start, "", 1), objectname_reference or objectname
- )
+ return Reference(ref_name, objectname_reference or objectname)
- return [
+ return (
line_to_ref(line)
- for line in git_get(["for-each-ref", f"--format={fstring}", pattern])
- ]
+ for line in git_lines(["for-each-ref", f"--format={fstring}", pattern])
+ )
-def get_nearest_ref(ref_type, name_start, search_from):
+def get_firefox_ref(search_from: str) -> Reference:
"""
- Search backwards from the 'search_from' commit to find the first commit
- that matches the given 'ref_type' that starts with the given 'name_start'.
+ Search for the commit that comes from firefox.
+ :param search_from: The commit to search backwards from.
+ :returns: The firefox reference.
"""
- ref_list = get_refs(ref_type, name_start)
+ # Only search a limited history that should include the FIREFOX_ tag.
+ search_commits = [c for c in git_lines(["rev-list", "-1000", search_from])]
+
+ firefox_tag_prefix = "FIREFOX_"
- for commit in git_get(["rev-list", "-1000", search_from]):
- for ref in ref_list:
+ existing_tags = list(get_refs("tag", firefox_tag_prefix))
+ for commit in search_commits:
+ for ref in existing_tags:
if commit == ref.commit:
return ref
- raise TbDevException(f"No {name_start} commit found in the last 1000 commits")
-
-
-def get_firefox_ref(search_from):
+ # Might just need to fetch tags from the remote.
+ upstream = get_upstream_details().get("remote", None)
+ if upstream:
+ remote_ref: None | Reference = None
+ search_index = len(search_commits)
+ # Search the remote for a tag that is in our history.
+ # We want to avoid triggering a long fetch, so we just want to grab the
+ # tag that already points to a commit in our history.
+ for line in git_lines(
+ ["ls-remote", upstream, f"refs/tags/{firefox_tag_prefix}*"]
+ ):
+ objectname, name = line.split("\t", 1)
+ for index in range(search_index):
+ if search_commits[index] == objectname:
+ # Remove trailing "^{}" for commits pointed to by
+ # annotated tags.
+ remote_ref = Reference(re.sub(r"\^\{\}$", "", name), objectname)
+ # Only continue to search for references that are even
+ # closer to `search_from`.
+ search_index = index
+ break
+ if remote_ref is not None:
+ # Get a local copy of just this tag.
+ git_run(["fetch", "--no-tags", upstream, "tag", remote_ref.name])
+ return ref
+
+ raise TbDevException("Unable to find FIREFOX_ tag")
+
+
+def get_upstream_tracking_branch(search_from: str) -> str:
"""
- Search backwards from the 'search_from' commit to find the commit that comes
- from firefox.
+ :param search_from: The commit reference.
+ :returns: The upstream branch reference name.
"""
- return get_nearest_ref("tag", "FIREFOX_", search_from)
-
-
-def get_upstream_tracking_branch(search_from):
- return git_get(["rev-parse", "--abbrev-ref", f"{search_from}@{{upstream}}"])[0]
+ return git_get(["rev-parse", "--abbrev-ref", f"{search_from}@{{upstream}}"])
-def get_upstream_basis_commit(search_from):
+def get_upstream_basis_commit(search_from: str) -> str:
"""
Get the first common ancestor of search_from that is also in its upstream
branch.
+ :param search_from: The commit reference.
+ :returns: The upstream commit hash.
"""
upstream_branch = get_upstream_tracking_branch(search_from)
- commit = git_get(["merge-base", search_from, upstream_branch])[0]
+ commit = git_get(["merge-base", search_from, upstream_branch])
# Verify that the upstream commit shares the same firefox basis. Otherwise,
# this would indicate that the upstream is on an early or later FIREFOX
# base.
@@ -226,26 +341,82 @@ def get_upstream_basis_commit(search_from):
return commit
-def get_changed_files(from_commit, staged=False):
+class FileChange:
+ """Represents a git change to a commit."""
+
+ def __init__(self, status: str, path: str, new_path: str) -> None:
+ """
+ :param status: The file change status used within git diff. E.g. "M" for
+ modified, or "D" for deleted.
+ :param path: The source file path.
+ :param new_path: The file path after the change.
+ """
+ self.status = status
+ self.path = path
+ self.new_path = new_path
+
+
+RAW_DIFF_PATH_PATTERN = r"(?P<path>[^\0]*)\0"
+RAW_DIFF_LINE_REGEX = re.compile(
+ r":[0-7]+ [0-7]+ [0-9a-f]+ [0-9a-f]+ (?P<status>[ADMTUXRC])[0-9]*\0"
+ + RAW_DIFF_PATH_PATTERN
+)
+RAW_DIFF_PATH_REGEX = re.compile(RAW_DIFF_PATH_PATTERN)
+
+
+def parse_raw_diff_line(raw_output: str) -> tuple[FileChange, int]:
"""
- Get a list of filenames relative to the current working directory that have
+ Parse the --raw diff output from git.
+ :param raw_output: The raw output.
+ :returns: The change for this line, and the offset for the end of the raw
+ diff line.
+ """
+ match = RAW_DIFF_LINE_REGEX.match(raw_output)
+ if not match:
+ raise ValueError(f"Invalid raw output: {raw_output[:50]}...")
+ path = os.path.relpath(os.path.join(get_local_root(), match.group("path")))
+ status = match.group("status")
+ if status in ("R", "C"):
+ match = RAW_DIFF_PATH_REGEX.match(raw_output, pos=match.end())
+ if not match:
+ raise ValueError(f"Invalid raw output for rename: {raw_output[:50]}...")
+ new_path = os.path.relpath(os.path.join(get_local_root(), match.group("path")))
+ else:
+ new_path = path
+
+ return FileChange(status, path, new_path), match.end()
+
+
+def get_changed_files(
+ from_commit: None | str = None, staged: bool = False
+) -> Iterator[FileChange]:
+ """
+ Get a list of file changes relative to the current working directory that have
been changed since 'from_commit' (non-inclusive).
+ :param from_commit: The commit to compare against, otherwise use the git
+ diff default.
+ :param staged: Whether to limit the diff to staged changes.
+ :yield: The file changes.
"""
- args = ["diff"]
+ args = ["diff", "-z", "--raw"]
if staged:
args.append("--staged")
- args.append("--name-only")
- args.append(from_commit)
- return [
- os.path.relpath(os.path.join(get_local_root(), filename))
- for filename in git_get(args)
- ]
+ if from_commit:
+ args.append(from_commit)
+ raw_output = git_get(args, strip=False)
+ while raw_output:
+ file_change, end = parse_raw_diff_line(raw_output)
+ yield file_change
+ raw_output = raw_output[end:]
-def file_contains(filename, regex):
+def file_contains(filename: str, regex: re.Pattern[str]) -> bool:
"""
Return whether the file is a utf-8 text file containing the regular
expression given by 'regex'.
+ :param filename: The file path.
+ :param regex: The pattern to search for.
+ :returns: Whether the pattern was matched.
"""
with open(filename, encoding="utf-8") as file:
try:
@@ -258,9 +429,10 @@ def file_contains(filename, regex):
return False
-def get_gitlab_default():
+def get_gitlab_default() -> str:
"""
Get the name of the default branch on gitlab.
+ :returns: The branch name.
"""
repo_name = get_upstream_details().get("repo-name", None)
if repo_name is None:
@@ -283,12 +455,14 @@ def get_gitlab_default():
)
with urllib.request.urlopen(gitlab_request, timeout=20) as response:
- return json.load(response)["data"]["project"]["repository"]["rootRef"]
+ default = json.load(response)["data"]["project"]["repository"]["rootRef"]
+ assert isinstance(default, str)
+ return default
-def within_browser_root():
+def within_browser_root() -> bool:
"""
- Whether we are with the tor browser root.
+ :returns: Whether we are with the tor browser root.
"""
root = get_local_root()
if not root:
@@ -301,24 +475,24 @@ def within_browser_root():
# * -------------------- *
-def show_firefox_commit(_args):
+def show_firefox_commit(_args: argparse.Namespace) -> None:
"""
Print the tag name and commit for the last firefox commit below the current
HEAD.
"""
ref = get_firefox_ref("HEAD")
- print(ref.name)
+ print(ref.full_name)
print(ref.commit)
-def show_upstream_basis_commit(_args):
+def show_upstream_basis_commit(_args: argparse.Namespace) -> None:
"""
Print the last upstream commit for the current HEAD.
"""
print(get_upstream_basis_commit("HEAD"))
-def show_log(args):
+def show_log(args: argparse.Namespace) -> None:
"""
Show the git log between the current HEAD and the last firefox commit.
"""
@@ -326,7 +500,7 @@ def show_log(args):
git_run(["log", f"{commit}..HEAD", *args.gitargs], check=False)
-def show_files_containing(args):
+def show_files_containing(args: argparse.Namespace) -> None:
"""
List all the files that that have been modified for tor browser, that also
contain a regular expression.
@@ -336,33 +510,32 @@ def show_files_containing(args):
except re.error as err:
raise TbDevException(f"{args.regex} is not a valid python regex") from err
- file_list = get_changed_files(get_firefox_ref("HEAD").commit)
-
- for filename in file_list:
- if not os.path.isfile(filename):
+ for file_change in get_changed_files(get_firefox_ref("HEAD").commit):
+ path = file_change.new_path
+ if not os.path.isfile(path):
# deleted ofile
continue
- if file_contains(filename, regex):
- print(filename)
+ if file_contains(path, regex):
+ print(path)
-def show_changed_files(_args):
+def show_changed_files(_args: argparse.Namespace) -> None:
"""
List all the files that have been modified relative to upstream.
"""
- for filename in get_changed_files(get_upstream_basis_commit("HEAD")):
- print(filename)
+ for file_change in get_changed_files(get_upstream_basis_commit("HEAD")):
+ print(file_change.new_path)
-def lint_changed_files(args):
+def lint_changed_files(args: argparse.Namespace) -> None:
"""
Lint all the files that have been modified relative to upstream.
"""
os.chdir(get_local_root())
file_list = [
- f
+ f.new_path
for f in get_changed_files(get_upstream_basis_commit("HEAD"))
- if os.path.isfile(f) # Not deleted
+ if os.path.isfile(f.new_path) # Not deleted
]
# We add --warnings since clang only reports whitespace issues as warnings.
subprocess.run(
@@ -371,10 +544,18 @@ def lint_changed_files(args):
)
-def prompt_user(prompt, convert):
+# TODO: replace with "prompt_user[T](..., T]) -> T" after python 3.12 is the
+# minimum mach version.
+T = TypeVar("T")
+
+
+def prompt_user(prompt: str, convert: Callable[[str], T]) -> T:
"""
- Ask the user for some input until the given converter returns without
- throwing a ValueError.
+ Ask the user for some input.
+ :param prompt: The prompt to show the user.
+ :param convert: A method to convert the response into a type. Should
+ throw `ValueError` if the user should be re-prompted for a valid input.
+ :returns: The first valid user response.
"""
while True:
# Flush out stdin.
@@ -388,8 +569,12 @@ def prompt_user(prompt, convert):
pass
-def binary_reply_default_no(value):
- """Process a 'y' or 'n' reply, defaulting to 'n' if empty."""
+def binary_reply_default_no(value: str) -> bool:
+ """
+ Process a 'y' or 'n' reply, defaulting to 'n' if empty.
+ :param value: The user input.
+ :returns: Whether the answer is yes.
+ """
if value == "":
return False
if value.lower() == "y":
@@ -399,121 +584,737 @@ def binary_reply_default_no(value):
raise ValueError()
-def get_fixup_for_file(filename, firefox_commit):
- """Find the commit the given file should fix up."""
+class FixupTarget:
+ """Represents a commit that can be targeted by a fixup."""
+
+ def __init__(self, commit: str, short_ref: str, title: str) -> None:
+ """
+ :param commit: The commit hash for the commit.
+ :param short_ref: The shortened commit hash for display.
+ :param title: The first line of the commit message.
+ """
+ self.commit = commit
+ self.short_ref = short_ref
+ self.title = title
+ self.changes: list[FileChange] = []
+ self.fixups: list[FixupTarget] = []
+ self.target: None | FixupTarget = None
+
+ _FIXUP_REGEX = re.compile(r"^fixup! +")
+
+ def trim_fixup(self) -> tuple[str, int]:
+ """
+ Trim the "fixup!" prefixes.
+ :returns: The stripped commit title and the fixup depth (how many fixups
+ prefixes there were).
+ """
+ title = self.title
+ depth = 0
+ while True:
+ match = self.__class__._FIXUP_REGEX.match(title)
+ if not match:
+ return title, depth
+ title = title[match.end() :]
+ depth += 1
+
+ def touches_path(
+ self, path: str, filter_status: None | str = None, check_dir: bool = False
+ ) -> bool:
+ """
+ Whether this target, or one of its fixups or target, touches the given
+ path.
+ :param path: The path to check.
+ :param filter_status: Limit the detected changes to the given status(es).
+ :param check_dir: Whether we should treat `path` as a directory and check for
+ files within it.
+ :returns: Whether this target matches.
+ """
+ # NOTE: In the case of renames, we generally assume that renames occur
+ # in the fixup targets. E.g. "Commit 1" creates the file "file.txt", and
+ # "fixup! Commit 1" renames it to "new.txt". In this case, if the
+ # FixupTarget for "Commit 1" is passed in "file.txt" it will match. And
+ # if it is passed in "new.txt" it will also match via the self.fixups
+ # field, which will include the "fixup! Commit 1" rename.
+ # But the "fixup ! Commit 1" FixupTargets will only match with
+ # "file.txt" if they occurred before the rename fixup, and will only
+ # match with "new.txt" if they occur after the rename fixup. With the
+ # exception of the rename fixup itself, which will match both.
+ #
+ # In principle, we could identify a file across renames (have a mapping
+ # from each commit to what the file is called at that stage) and match
+ # using this file identifier. Similar to the "--follow" git diff
+ # argument. This would then cover cases where a rename occurs between
+ # the commit and its fixups, and allow fixups before the rename to also
+ # match. However, the former case is unexpected and the latter case
+ # would not be that useful.
+ if self._touches_path_basis(path, filter_status, check_dir):
+ return True
+ # Mark this as a valid target for the path if one of our fixups changes
+ # this path.
+ # NOTE: We use _touch_path_basis to prevent recursion. This means we
+ # will only check one layer up or down, but we only expect fixups of
+ # up to depth 1.
+ for fixup_target in self.fixups:
+ if fixup_target._touches_path_basis(path, filter_status, check_dir):
+ return True
+ # Mark this as a valid target if our target changes this path.
+ if self.target is not None and self.target._touches_path_basis(
+ path, filter_status, check_dir
+ ):
+ return True
+ return False
+
+ def _touches_path_basis(
+ self, path: str, filter_status: None | str, check_dir: bool
+ ) -> bool:
+ """
+ Whether this target touches the given path.
+ :param path: The path to check.
+ :param filter_status: Limit the detected changes to the given status.
+ :param check_dir: Whether we should treat `path` as a directory and check for
+ files within it.
+ :returns: Whether this target matches.
+ """
+ for file_change in self.changes:
+ if filter_status is not None and file_change.status not in filter_status:
+ continue
+ for test_path in (file_change.path, file_change.new_path):
+ if check_dir:
+ if os.path.commonpath((os.path.dirname(test_path), path)) == path:
+ # test_path's directory matches the path or is within it.
+ return True
+ elif test_path == path:
+ return True
+ return False
+
+
+def get_fixup_targets(
+ target_list: list[FixupTarget],
+ from_commit: str,
+ to_commit: str,
+ fixup_depth: int = 0,
+) -> None:
+ """
+ Find all the commits that can be targeted by a fixup between the given
+ commits.
+ :param target_list: The list to fill with targets. Appended in the order of
+ `from_commit` to `to_commit`.
+ :param from_commit: The commit to start from (non-inclusive).
+ :param to_commit: The commit to end on (inclusive).
+ :param fixup_depth: The maximum "depth" of fixups. I.e. how many "fixup!"
+ prefixes to allow.
+ """
+ raw_output = git_get(
+ [
+ "log",
+ "--pretty=format:%H,%h,%s",
+ "--reverse",
+ "--raw",
+ "-z",
+ f"{from_commit}..{to_commit}",
+ ],
+ strip=False,
+ )
+ pretty_regex = re.compile(
+ r"(?P<commit>[0-9a-f]+),(?P<short_ref>[0-9a-f]+),(?P<title>[^\n\0]*)\n"
+ )
+ excluded_regex_list = [
+ re.compile(r"^Bug [0-9]+.*r="), # Backported Mozilla bug.
+ re.compile(r"^dropme! "),
+ ]
+
+ while raw_output:
+ match = pretty_regex.match(raw_output)
+ if not match:
+ raise ValueError(f"Invalid pretty format: {raw_output[:100]}...")
+ fixup_target = FixupTarget(
+ match.group("commit"), match.group("short_ref"), match.group("title")
+ )
+ raw_output = raw_output[match.end() :]
+ while raw_output and raw_output[0] != "\0":
+ file_change, end = parse_raw_diff_line(raw_output)
+ fixup_target.changes.append(file_change)
+ raw_output = raw_output[end:]
+ if raw_output:
+ # Skip over the "\0".
+ raw_output = raw_output[1:]
+
+ for regex in excluded_regex_list:
+ if regex.match(fixup_target.title):
+ # Exclude from the list.
+ continue
+
+ trimmed_title, depth = fixup_target.trim_fixup()
+ if depth:
+ original_target = None
+ for target in target_list:
+ if target.title == trimmed_title:
+ original_target = target
+ break
+
+ if original_target:
+ original_target.fixups.append(fixup_target)
+ fixup_target.target = original_target
+ if depth > fixup_depth:
+ # Exclude from the list.
+ continue
+
+ target_list.append(fixup_target)
+
+
+class NewCommitBasis:
+ def __init__(self) -> None:
+ self.staged_paths: set[str] = set()
+ self.adding_paths: set[str] = set()
+
+ def add(self, paths: Iterable[str], staged: bool) -> None:
+ """
+ Add a path to include in this commit.
+ :param paths: The paths to add.
+ :param staged: Whether we are adding already staged changes.
+ """
+ if staged:
+ self.staged_paths.update(paths)
+ return
+
+ self.adding_paths.update(paths)
+
+
+class NewCommit(NewCommitBasis):
+ """Represents a new commit that we want to create."""
- def parse_log_line(line):
- [commit, short_ref, title] = line.split(",", 2)
- return {"commit": commit, "short-ref": short_ref, "title": title}
+ def __init__(self, alias: str) -> None:
+ """
+ :param alias: The alias name for the commit.
+ """
+ super().__init__()
+ self.alias = alias
- options = [
- parse_log_line(line)
- for line in git_get(
- [
- "log",
- "--pretty=format:%H,%h,%s",
- f"{firefox_commit}..HEAD",
- "--",
- filename,
- ]
+
+class NewFixup(NewCommitBasis):
+ """Represents a new fixup commit that we want to create."""
+
+ def __init__(self, target: FixupTarget) -> None:
+ """
+ :param target: The commit to target with the fixup.
+ """
+ super().__init__()
+ self.target = target
+
+
+def get_suggested_fixup_targets_for_change(
+ file_change: FileChange,
+ fixup_target_list: list[FixupTarget],
+ firefox_directories_lazy: Callable[[], set[str]],
+) -> Iterator[FixupTarget]:
+ """
+ Find the suggested fixup targets for the given file change.
+ :param file_change: The file change to get a suggestion for.
+ :param fixup_target_list: The list to choose from.
+ :param firefox_directories_lazy: Lazy method to return the firefox
+ directories.
+ :yield: The suggested fixup targets.
+ """
+
+ def filter_list(
+ path: str, filter_status: None | str = None, check_dir: bool = False
+ ) -> Iterator[FixupTarget]:
+ return (
+ t
+ for t in fixup_target_list
+ if t.touches_path(path, filter_status=filter_status, check_dir=check_dir)
)
+
+ if file_change.status == "D":
+ # Deleted.
+ # Find the commit that introduced this file or previously deleted it.
+ # I.e. added the file ("A"), renamed it ("R"), or deleted it ("D").
+ yield from filter_list(file_change.path, filter_status="ARD")
+ return
+
+ if file_change.status == "A":
+ # First check to see if this file name was actually touched before.
+ yielded_target = False
+ for target in filter_list(file_change.path):
+ yielded_target = True
+ yield target
+ if yielded_target:
+ return
+ # Else, find commits that introduced files in the same directory, or
+ # deleted in them, if they are not firefox directories.
+ dir_path = file_change.path
+ while True:
+ dir_path = os.path.dirname(dir_path)
+ if not dir_path or dir_path in firefox_directories_lazy():
+ return
+
+ yielded_target = False
+ for target in filter_list(dir_path, filter_status="ARD", check_dir=True):
+ yielded_target = True
+ yield target
+
+ if yielded_target:
+ return
+ # Else, search one directory higher.
+
+ if file_change.status == "R":
+ # Renamed.
+ # Find the commit that introduced the original name for this file.
+ yield from filter_list(file_change.path, filter_status="AR")
+ return
+
+ # Modified.
+ yield from filter_list(file_change.path)
+
+
+def ask_for_target(
+ file_change_list: list[FileChange],
+ new_commits_list: list[NewCommit | NewFixup],
+ suggested_fixup_target_list: list[FixupTarget],
+ full_fixup_target_list: list[FixupTarget],
+ staged: bool = False,
+) -> bool:
+ """
+ Ask the user to choose a target.
+ :param file_change_list: The file changes to ask for.
+ :param new_commits_list: The list of pending new commits, may be added to.
+ :param suggested_fixup_target_list: The list of suggested target fixups
+ to choose from.
+ :param staged: Whether this is for staged changes.
+ :returns: `True` if the operation should be aborted.
+ """
+
+ new_paths = [c.new_path for c in file_change_list]
+ all_paths = set(new_paths).union(c.path for c in file_change_list)
+ non_fixup_commits: list[NewCommit] = [
+ n for n in new_commits_list if isinstance(n, NewCommit)
]
- if not options:
- print(f"No commit found for {filename}")
- return None
- def valid_index(val):
+ shown_list: list[NewCommit | FixupTarget] = (
+ non_fixup_commits + suggested_fixup_target_list
+ )
+
+ can_skip = not staged
+ shown_full = False
+
+ index_offset = 2
+
+ def valid_response(val: str) -> tuple[str, None | NewCommit | FixupTarget]:
+ val = val.strip()
+
+ if val == "h":
+ return "help", None
+
+ if val == "a":
+ return "abort", None
+
if val == "d":
- return val
+ return "diff", None
+
+ if val == "f":
+ if shown_full:
+ # Already done once.
+ raise ValueError()
+ return "full-list", None
+ is_patch_full = val.startswith("P")
is_patch = val.startswith("p")
- if is_patch:
- val = val[1:]
+ if is_patch or is_patch_full:
+ index = int(val[1:], base=10) # Raises ValueError if not integer.
+ else:
+ index = int(val, base=10) # Raises ValueError if not integer.
+ if index == 0:
+ if not can_skip:
+ raise ValueError()
+ return "skip", None
+
+ if index == 1:
+ return "new", None
- # May raise a ValueError.
- as_index = int(val)
- if as_index < 0 or as_index > len(options):
+ index -= index_offset
+
+ if index < 0 or index >= len(shown_list):
raise ValueError()
- if as_index == 0:
- if is_patch:
+ selected = shown_list[index]
+
+ if is_patch_full:
+ return "patch-full", selected
+ if is_patch:
+ return "patch", selected
+ return "target", selected
+
+ def alias_response(val: str) -> str:
+ # Choose a default alias name if none is given.
+ val = val.strip() or f"New commit {len(non_fixup_commits)}"
+ for new_commit in non_fixup_commits:
+ if new_commit.alias == val:
+ # Already in use.
raise ValueError()
- return None
+ return val
+
+ def print_index_option(index: int, description: str) -> None:
+ print(f" \x1b[1m{index}\x1b[0m: {description}")
- return (is_patch, options[as_index - 1]["commit"])
+ def in_pink(text: str) -> str:
+ return f"\x1b[1;38;5;212m{text}\x1b[0m"
+ prefix_str = "For " + (in_pink("staged") if staged else "unstaged") + " changes to"
+ if len(new_paths) == 1:
+ print(f"{prefix_str} {in_pink(new_paths[0])}:")
+ else:
+ print(f"{prefix_str}:")
+ for path in new_paths:
+ print(f" {in_pink(path)}")
+ print("")
+
+ show_help = True
+ reshow_list = True
while True:
- print(f"For {filename}:\n")
- print(" \x1b[1m0\x1b[0m: None")
- for index, opt in enumerate(options):
- print(
- f" \x1b[1m{index + 1}\x1b[0m: "
- + f"\x1b[1;38;5;212m{opt['short-ref']}\x1b[0m "
- + opt["title"]
- )
+ if reshow_list:
+ if can_skip:
+ print_index_option(0, "Skip")
+ print_index_option(1, "New commit")
+ for index, target in enumerate(shown_list, start=index_offset):
+ if isinstance(target, NewCommit):
+ print_index_option(index, f"Add to new commit: {target.alias}")
+ else:
+ print_index_option(
+ index, f"Fixup: {in_pink(target.short_ref)} {target.title}"
+ )
+ reshow_list = False
print("")
- response = prompt_user(
- "Choose an <index> to fixup, or '0' to skip this file, "
- "or 'd' to view the pending diff, "
- "or 'p<index>' to view the patch for the index: ",
- valid_index,
+
+ response, selected = prompt_user(
+ (
+ "Choose an <index> to target. Type 'h' for additional options: "
+ if show_help
+ else "Choose an <index> to target or an option: "
+ ),
+ valid_response,
)
- if response is None:
- # Skip this file.
- return None
- if response == "d":
- git_run(["diff", "--", filename])
+ if response == "help":
+ print("Options:")
+ for option, desc in (
+ ("h", "show the available options."),
+ ("a", "abort this commit operation and all pending commits."),
+ (
+ ("", "")
+ if shown_full
+ else (
+ "f",
+ "show the full list of fixup targets, rather than just the suggested ones.",
+ )
+ ),
+ ("d", "view the diff for the pending file changes."),
+ (
+ "P<index>",
+ "view the patch for the index (including its relevant fixups).",
+ ),
+ (
+ "p<index>",
+ "view the patch for the index (including its relevant fixups), "
+ "limited to the current files.",
+ ),
+ ):
+ if not option:
+ # Skip this option.
+ continue
+ print(f" \x1b[1m{option[0]}\x1b[0m{option[1:].ljust(7)}: {desc}")
+ # Do not show the help option again.
+ show_help = False
+ continue
+
+ if response == "abort":
+ return True
+
+ if response == "skip":
+ return False
+
+ if response == "new":
+ new_alias = prompt_user(
+ "Enter an optional temporary alias for this new commit: ",
+ alias_response,
+ )
+ new_commit = NewCommit(new_alias)
+ new_commit.add(all_paths, staged)
+ new_commits_list.append(new_commit)
+ return False
+
+ if response == "target":
+ assert selected is not None
+
+ if isinstance(selected, NewCommit):
+ # Adding to a new commit.
+ selected.add(all_paths, staged)
+ return False
+
+ for new_fixup in new_commits_list:
+ if not isinstance(new_fixup, NewFixup):
+ continue
+ if new_fixup.target == selected:
+ # We already have a pending fixup commit that targets this
+ # selected target. Add this path to the same commit.
+ new_fixup.add(all_paths, staged)
+ return False
+
+ new_fixup = NewFixup(selected)
+ new_fixup.add(all_paths, staged)
+ new_commits_list.append(new_fixup)
+ return False
+
+ if response == "full-list":
+ shown_list = non_fixup_commits + full_fixup_target_list
+ shown_full = True
+ reshow_list = True
continue
- view_patch, commit = response
- if view_patch:
- git_run(["log", "-p", "-1", commit, "--", filename])
+ if response == "diff":
+ git_args = ["diff", "--color"]
+ if staged:
+ git_args.append("--staged")
+ git_args.extend(git_path_args(all_paths))
+ git_run_pager(git_args)
continue
- return commit
+ if response in ("patch", "patch-full"):
+ assert selected is not None
+
+ filter_paths = response == "patch"
+
+ if isinstance(selected, NewCommit):
+ git_sequence = [
+ ["diff", "--color", "--staged", *git_path_args((path,))]
+ for path in selected.staged_paths
+ if not filter_paths or path in all_paths
+ ]
+ git_sequence.extend(
+ ["diff", "--color", *git_path_args((path,))]
+ for path in selected.adding_paths
+ if not filter_paths or path in all_paths
+ )
+
+ # Show what the expected patch will be for the new commit.
+ git_run_pager(
+ arg_sequence=git_sequence, pager_prefix=f"{selected.alias}\n\n"
+ )
+ else:
+ # Show the log entry for the FixupTarget and each of its fixups.
+ # Order with the commmit closest to HEAD first. We expect
+ # selected.fixups to match this order.
+ git_sequence = []
+ # If `filter_paths` is set, we want to limit the log to the
+ # paths, and try to track any renames in the commit history.
+ prev_log_paths: None | set[str] = None
+ # For the first commit in the sequence, we use the old path
+ # names (rather than `c.new_path`) since we expect the commit
+ # which is closest to us to use the older names.
+ log_paths: None | set[str] = (
+ {c.path for c in file_change_list} if filter_paths else None
+ )
+ for target in (*selected.fixups, selected):
+ git_args = [
+ "log",
+ "--color",
+ "-p",
+ f"{target.commit}~1..{target.commit}",
+ ]
+ if filter_paths:
+ assert log_paths is not None
+ # Track the renamed paths.
+ prev_log_paths = log_paths.copy()
+ for file_change in target.changes:
+ if (
+ file_change.status == "R"
+ and file_change.new_path in log_paths
+ ):
+ # file was renamed in this change.
+ # Update log_paths to the new name.
+ # NOTE: This should have a similar effect to the
+ # --follow option for git log for a single file
+ # NOTE: File renames will not be properly
+ # tracked if a rename occurs outside of
+ # `selected.changes` or
+ # `selected.fixups[].changes`, but this is
+ # unexpected.
+ log_paths.remove(file_change.new_path)
+ log_paths.add(file_change.path)
+
+ # NOTE: This log entry may be empty if none of the paths
+ # match.
+ # NOTE: We include both log_paths and prev_log_paths to
+ # show renames in the diff output.
+ git_args.extend(git_path_args(log_paths | prev_log_paths))
+ git_sequence.append(git_args)
+ # Combine all the logs into one.
+ git_run_pager(arg_sequence=git_sequence)
+ continue
+
+ raise ValueError(f"Unexpected response: {response}")
-def auto_fixup(_args):
+def auto_commit(_args: argparse.Namespace) -> None:
"""
- Automatically find and fix up commits using the current unstaged changes.
+ Automatically find and fix up commits for any pending changes.
"""
+ # Want git log and add to be run from the root.
+ os.chdir(get_local_root())
# Only want to search as far back as the firefox commit.
firefox_commit = get_firefox_ref("HEAD").commit
- staged_files = get_changed_files("HEAD", staged=True)
- if staged_files:
- raise TbDevException(f"Have already staged files: {staged_files}")
+ staged_changes = [f for f in get_changed_files(staged=True)]
+ if staged_changes:
+ print("Existing staged changes for:")
+ for file_change in staged_changes:
+ print(f" {file_change.new_path}")
+ if not prompt_user(
+ "Include staged changes? (y/\x1b[4mn\x1b[0m)", binary_reply_default_no
+ ):
+ raise TbDevException("Cannot continue with pending staged changes")
+ print("")
- fixups = {}
- for filename in get_changed_files("HEAD"):
- commit = get_fixup_for_file(filename, firefox_commit)
- if commit is None:
+ full_target_list: list[FixupTarget] = []
+ # Determine if HEAD points to a branch or not and has an upstream commit.
+ # We choose check=False since the exit status is non-zero when we are in a
+ # detached state.
+ head_symbolic_ref = git_get(["symbolic-ref", "-q", "HEAD"], check=False)
+ if not head_symbolic_ref or not bool(
+ git_get(["for-each-ref", "--format=%(upstream)", head_symbolic_ref])
+ ):
+ # Unexpected, but not fatal.
+ print("HEAD has no upstream tracking!")
+ # Just include all commits since firefox_commit with no fixup depth
+ get_fixup_targets(full_target_list, firefox_commit, "HEAD", fixup_depth=0)
+ else:
+ upstream_commit = get_upstream_basis_commit("HEAD")
+ # Only include "fixup!" commits that are between here and the upstream
+ # tracking commit.
+ get_fixup_targets(
+ full_target_list, firefox_commit, upstream_commit, fixup_depth=0
+ )
+ get_fixup_targets(full_target_list, upstream_commit, "HEAD", fixup_depth=1)
+
+ # full_target_list is ordered with the earlier commits first. Reverse this.
+ full_target_list.reverse()
+ # Also reverse the fixups order to follow the same order.
+ for target in full_target_list:
+ target.fixups.reverse()
+
+ # Lazy load the list of firefox directories since they are unlikely to be
+ # needed.
+ @functools.cache
+ def firefox_directories_lazy() -> set[str]:
+ return {
+ dir_name
+ for dir_name in git_get(
+ [
+ "ls-tree",
+ "-r",
+ "-d",
+ "--name-only",
+ "--full-tree",
+ "-z",
+ firefox_commit,
+ ],
+ strip=False,
+ ).split("\0")
+ if dir_name
+ }
+
+ # Check untracked files to be added.
+ for path in git_get(
+ ["ls-files", "--other", "--exclude-standard", "-z"], strip=False
+ ).split("\0"):
+ if not path:
continue
- if commit not in fixups:
- fixups[commit] = [filename]
- else:
- fixups[commit].append(filename)
+ if prompt_user(
+ f"Start tracking file `{path}`? (y/\x1b[4mn\x1b[0m)",
+ binary_reply_default_no,
+ ):
+ # Include in the git diff output, but do not stage.
+ git_run(["add", "--intent-to-add", path])
print("")
- for commit, files in fixups.items():
- print("")
- git_run(["add", *files])
- git_run(["commit", f"--fixup={commit}"])
+ aborted = False
+ new_commits_list: list[NewCommit | NewFixup] = []
+ # First go through staged changes.
+ if staged_changes:
+ common_fixup_targets = None
+ for change in staged_changes:
+ target_iter = get_suggested_fixup_targets_for_change(
+ change, full_target_list, firefox_directories_lazy
+ )
+ if common_fixup_targets is None:
+ common_fixup_targets = set(target_iter)
+ else:
+ common_fixup_targets.intersection_update(target_iter)
+
+ assert common_fixup_targets is not None
+
+ aborted = ask_for_target(
+ staged_changes,
+ new_commits_list,
+ # Sort in the same order as full_target_list.
+ [target for target in full_target_list if target in common_fixup_targets],
+ full_target_list,
+ staged=True,
+ )
print("")
- if prompt_user(
- "Edit fixup commit message? (y/\x1b[4mn\x1b[0m)", binary_reply_default_no
- ):
+ if not aborted:
+ for file_change in get_changed_files():
+ target_list = list(
+ get_suggested_fixup_targets_for_change(
+ file_change, full_target_list, firefox_directories_lazy
+ )
+ )
+ aborted = ask_for_target(
+ [file_change],
+ new_commits_list,
+ target_list,
+ full_target_list,
+ staged=False,
+ )
+ print("")
+ if aborted:
+ break
+
+ if aborted:
+ return
+
+ # NOTE: Only the first commit can include staged changes.
+ # This should already be the case, but we want to double check.
+ for commit_index in range(1, len(new_commits_list)):
+ if new_commits_list[commit_index].staged_paths:
+ raise ValueError(f"Staged changes for commit {commit_index}")
+
+ for new_commit in new_commits_list:
+ print("")
+ if new_commit.adding_paths:
+ git_run(["add", *git_path_args(new_commit.adding_paths)])
+ if isinstance(new_commit, NewFixup):
+ git_run(["commit", f"--fixup={new_commit.target.commit}"])
+ print("")
+ is_double_fixup = bool(new_commit.target.target)
+ if not is_double_fixup and prompt_user(
+ "Edit fixup commit message? (y/\x1b[4mn\x1b[0m)",
+ binary_reply_default_no,
+ ):
+ git_run(["commit", "--amend"])
+ print("")
+ else:
+ git_run(["commit", "-m", new_commit.alias])
git_run(["commit", "--amend"])
+ print("")
-def clean_fixups(_args):
+def clean_fixups(_args: argparse.Namespace) -> None:
"""
Perform an interactive rebase that automatically applies fixups, similar to
--autosquash but also works on fixups of fixups.
"""
- user_editor = git_get(["var", "GIT_SEQUENCE_EDITOR"])[0]
+ user_editor = git_get(["var", "GIT_SEQUENCE_EDITOR"])
sub_editor = os.path.join(
os.path.dirname(os.path.realpath(__file__)), FIXUP_PREPROCESSOR_EDITOR
)
@@ -525,7 +1326,7 @@ def clean_fixups(_args):
)
-def show_default(_args):
+def show_default(_args: argparse.Namespace) -> None:
"""
Print the default branch name from gitlab.
"""
@@ -536,7 +1337,7 @@ def show_default(_args):
print(f"{upstream}/{default_branch}")
-def branch_from_default(args):
+def branch_from_default(args: argparse.Namespace) -> None:
"""
Fetch the default gitlab branch from upstream and create a new local branch.
"""
@@ -557,7 +1358,7 @@ def branch_from_default(args):
)
-def move_to_default(args):
+def move_to_default(args: argparse.Namespace) -> None:
"""
Fetch the default gitlab branch from upstream and move the specified
branch's commits on top. A new branch will be created tracking the default
@@ -569,7 +1370,7 @@ def move_to_default(args):
if branch_name is None:
# Use current branch as default.
try:
- branch_name = git_get(["branch", "--show-current"])[0]
+ branch_name = git_get(["branch", "--show-current"])
except IndexError:
raise TbDevException("No current branch")
@@ -608,7 +1409,7 @@ def move_to_default(args):
git_run(["cherry-pick", f"{current_basis}..{old_branch_name}"], check=False)
-def show_range_diff(args):
+def show_range_diff(args: argparse.Namespace) -> None:
"""
Show the range diff between two branches, from their firefox bases.
"""
@@ -624,21 +1425,21 @@ def show_range_diff(args):
)
-def show_diff_diff(args):
+def show_diff_diff(args: argparse.Namespace) -> None:
"""
Show the diff between the diffs of two branches, relative to their firefox
bases.
"""
- config_res = git_get(["config", "--get", "diff.tool"])
- if not config_res:
+ try:
+ diff_tool = next(git_lines(["config", "--get", "diff.tool"]))
+ except StopIteration:
raise TbDevException("No diff.tool configured for git")
- diff_tool = config_res[0]
# Filter out parts of the diff we expect to be different.
index_regex = re.compile(r"index [0-9a-f]{12}\.\.[0-9a-f]{12}")
lines_regex = re.compile(r"@@ -[0-9]+,[0-9]+ \+[0-9]+,[0-9]+ @@(?P<rest>.*)")
- def save_diff(branch):
+ def save_diff(branch: str) -> str:
firefox_commit = get_firefox_ref(branch).commit
file_desc, file_name = tempfile.mkstemp(
text=True, prefix=f'{branch.split("/")[-1]}-'
@@ -653,6 +1454,7 @@ def show_diff_diff(args):
)
with os.fdopen(file_desc, "w") as file:
+ assert diff_process.stdout is not None
for line in diff_process.stdout:
if index_regex.match(line):
# Fake data that will match.
@@ -665,7 +1467,7 @@ def show_diff_diff(args):
continue
file.write(line)
- status = diff_process.poll()
+ status = diff_process.wait()
if status != 0:
raise TbDevException(f"git diff exited with status {status}")
@@ -681,7 +1483,7 @@ def show_diff_diff(args):
# * -------------------- *
-def branch_complete(prefix, parsed_args, **kwargs):
+def branch_complete(prefix: str, **_kwargs: Any) -> list[str]:
"""
Complete the argument with a branch name.
"""
@@ -689,7 +1491,7 @@ def branch_complete(prefix, parsed_args, **kwargs):
return []
try:
branches = [ref.name for ref in get_refs("head", "")]
- branches.extend([ref.name for ref in get_refs("remote", "")])
+ branches.extend(ref.name for ref in get_refs("remote", ""))
branches.append("HEAD")
except Exception:
return []
@@ -699,7 +1501,20 @@ def branch_complete(prefix, parsed_args, **kwargs):
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(required=True)
-for name, details in {
+
+class ArgConfig(TypedDict):
+ help: str
+ metavar: NotRequired[str]
+ nargs: NotRequired[str]
+ completer: NotRequired[Callable[[str], list[str]]]
+
+
+class CommandConfig(TypedDict):
+ func: Callable[[argparse.Namespace], None]
+ args: NotRequired[dict[str, ArgConfig]]
+
+
+all_commands: dict[str, CommandConfig] = {
"show-upstream-basis-commit": {
"func": show_upstream_basis_commit,
},
@@ -716,8 +1531,8 @@ for name, details in {
},
},
},
- "auto-fixup": {
- "func": auto_fixup,
+ "auto-commit": {
+ "func": auto_commit,
},
"clean-fixups": {
"func": clean_fixups,
@@ -794,20 +1609,25 @@ for name, details in {
"regex": {"help": "the regex that the files must contain"},
},
},
-}.items():
- help_message = re.sub(r"\s+", " ", details["func"].__doc__).strip()
+}
+
+for name, command_config in all_commands.items():
+ help_message = command_config["func"].__doc__
+ assert isinstance(help_message, str)
+ help_message = re.sub(r"\s+", " ", help_message).strip()
sub = subparsers.add_parser(name, help=help_message)
- sub.set_defaults(func=details["func"])
- for arg, keywords in details.get("args", {}).items():
+ sub.set_defaults(func=command_config["func"])
+ for arg, keywords in command_config.get("args", {}).items():
completer = None
if "completer" in keywords:
completer = keywords["completer"]
del keywords["completer"]
sub_arg = sub.add_argument(arg, **keywords)
- if completer is not None:
- sub_arg.completer = completer
+ if completer is not None and argcomplete is not None:
+ sub_arg.completer = completer # type: ignore
-argcomplete.autocomplete(parser)
+if argcomplete is not None:
+ argcomplete.autocomplete(parser)
try:
if not within_browser_root():
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/08…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/08…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][base-browser-146.0a1-16.0-2] 7 commits: fixup! BB 41803: Add some developer tools for working on tor-browser.
by henry (@henry) 11 Dec '25
by henry (@henry) 11 Dec '25
11 Dec '25
henry pushed to branch base-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
5138b860 by Henry Wilkes at 2025-12-11T14:43:50+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Make git_get return the stdout string, rather than a list.
Add git_lines to generate lines.
- - - - -
3aff7d98 by Henry Wilkes at 2025-12-11T14:43:51+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Use raw diff to get list of file changes.
- - - - -
5ba0688d by Henry Wilkes at 2025-12-11T14:43:52+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Add type annotations and parameter documentation.
- - - - -
08c1d176 by Henry Wilkes at 2025-12-11T14:43:53+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Make the argcomplete module optional.
- - - - -
ebac78a8 by Henry Wilkes at 2025-12-11T14:43:54+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Use function caching instead of global variables.
- - - - -
12776f40 by Henry Wilkes at 2025-12-11T14:43:55+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Fetch FIREFOX_ tags from the remote if they are missing.
- - - - -
18b3272d by Henry Wilkes at 2025-12-11T14:43:56+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Improve the auto-fixup/auto-commit command.
The auto-fixup command was renamed to auto-commit. It now also handles:
1. Already staged changes.
2. Untracked/added files.
3. Removed files.
4. Renamed files.
5. Allowing the user to create a new commit.
- - - - -
1 changed file:
- tools/base_browser/tb-dev
Changes:
=====================================
tools/base_browser/tb-dev
=====================================
@@ -6,6 +6,7 @@ Useful tools for working on tor-browser repository.
import argparse
import atexit
+import functools
import json
import os
import re
@@ -14,8 +15,15 @@ import sys
import tempfile
import termios
import urllib.request
+from collections.abc import Callable, Iterable, Iterator
+from types import ModuleType
+from typing import Any, NotRequired, TypedDict, TypeVar
-import argcomplete
+argcomplete: None | ModuleType = None
+try:
+ import argcomplete
+except ImportError:
+ pass
GIT_PATH = "/usr/bin/git"
UPSTREAM_URLS = {
@@ -36,9 +44,14 @@ class TbDevException(Exception):
pass
-def git_run(args, check=True, env=None):
+def git_run(
+ args: list[str], check: bool = True, env: None | dict[str, str] = None
+) -> None:
"""
Run a git command with output sent to stdout.
+ :param args: The arguments to pass to git.
+ :param check: Whether to check for success.
+ :param env: Optional environment to set.
"""
if env is not None:
tmp_env = dict(os.environ)
@@ -51,46 +64,122 @@ def git_run(args, check=True, env=None):
raise TbDevException(str(err)) from err
-def git_get(args):
+def git_run_pager(
+ args: list[str] | None = None,
+ arg_sequence: Iterable[list[str]] | None = None,
+ pager_prefix: None | str = None,
+) -> None:
"""
- Run a git command with each non-empty line returned in a list.
+ Run a sequence of git commands with the output concatenated and sent to the
+ git pager.
+ :param args: The arguments to pass to git, or `None` if a sequence is desired.
+ :param arg_sequence: A sequence representing several git commands.
+ :param pager_prefix: An optional text to send to the pager first.
+ """
+ if arg_sequence is None:
+ if args is not None:
+ arg_sequence = (args,)
+ else:
+ raise ValueError("Missing `arg_sequence` or `args`")
+ elif args is not None:
+ raise ValueError("Unexpected both args and arg_sequence")
+
+ pager = git_get(["var", "GIT_PAGER"])
+ if not pager:
+ raise TbDevException("Missing a GIT_PAGER")
+ command = [pager]
+ if os.path.basename(pager) == "less":
+ # Show colours.
+ command.append("-R")
+
+ pager_process = subprocess.Popen(command, stdin=subprocess.PIPE, text=True)
+ assert pager_process.stdin is not None
+
+ if pager_prefix is not None:
+ pager_process.stdin.write(pager_prefix)
+ pager_process.stdin.flush()
+
+ for git_args in arg_sequence:
+ subprocess.run(
+ [GIT_PATH, "--no-pager", *git_args], check=False, stdout=pager_process.stdin
+ )
+
+ pager_process.stdin.close()
+
+ status = pager_process.wait()
+ if status != 0:
+ raise TbDevException(f"git pager {pager} exited with status {status}")
+
+
+def git_get(args: list[str], strip: bool = True, check: bool = True) -> str:
+ """
+ Return the output from a git command.
+ :param args: The arguments to send to git.
+ :param strip: Whether to strip the whitespace from the output.
+ :param check: Whether to check for success.
+ :returns: The stdout.
"""
try:
git_process = subprocess.run(
- [GIT_PATH, *args], text=True, stdout=subprocess.PIPE, check=True
+ [GIT_PATH, *args], text=True, stdout=subprocess.PIPE, check=check
)
except subprocess.CalledProcessError as err:
raise TbDevException(str(err)) from err
- return [line for line in git_process.stdout.split("\n") if line]
+ ret = git_process.stdout
+ if strip:
+ ret = ret.strip()
+ return ret
-local_root = None
+def git_lines(args: list[str]) -> Iterator[str]:
+ """
+ Yields the non-empty lines returned by the git command.
+ :param args: The arguments to send to git.
+ :yield: The lines.
+ """
+ for line in git_get(args, strip=False).split("\n"):
+ if not line:
+ continue
+ yield line
+
+
+def git_path_args(path_iter: Iterable[str]) -> Iterator[str]:
+ """
+ Generate the trailing arguments to specify paths in git commands, includes
+ the "--" separator just before the paths.
+ :param path_iter: The paths that should be passed in.
+ :yields: The git arguments.
+ """
+ yield "--"
+ for path in path_iter:
+ yield f":(literal){path}"
-def get_local_root():
+(a)functools.cache
+def get_local_root() -> str:
"""
Get the path for the tor-browser root directory.
+ :returns: The local root.
"""
- global local_root
- if local_root is None:
- try:
- # Make sure we have a matching remote in this git repository.
- if get_upstream_details()["is-browser-repo"]:
- local_root = git_get(["rev-parse", "--show-toplevel"])[0]
- else:
- local_root = ""
- except TbDevException:
- local_root = ""
- return local_root
+ try:
+ # Make sure we have a matching remote in this git repository.
+ if get_upstream_details()["is-browser-repo"] == "True":
+ return git_get(["rev-parse", "--show-toplevel"])
+ else:
+ return ""
+ except TbDevException:
+ return ""
-def determine_upstream_details():
+(a)functools.cache
+def get_upstream_details() -> dict[str, str]:
"""
- Determine details about the upstream.
+ Get details about the upstream repository.
+ :returns: The details.
"""
remote_urls = {
- remote: git_get(["remote", "get-url", remote])[0]
- for remote in git_get(["remote"])
+ remote: git_get(["remote", "get-url", remote])
+ for remote in git_lines(["remote"])
}
matches = {
@@ -102,7 +191,7 @@ def determine_upstream_details():
}
is_browser_repo = len(matches) > 0
- details = {"is-browser-repo": is_browser_repo}
+ details = {"is-browser-repo": str(is_browser_repo)}
origin_remote_repo = matches.get("origin", None)
upstream_remote_repo = matches.get("upstream", None)
@@ -125,31 +214,30 @@ def determine_upstream_details():
return details
-cached_upstream_details = None
-
-
-def get_upstream_details():
- """
- Get details about the upstream repository.
- """
- global cached_upstream_details
- if cached_upstream_details is None:
- cached_upstream_details = determine_upstream_details()
- return cached_upstream_details
-
-
class Reference:
"""Represents a git reference to a commit."""
- def __init__(self, name, commit):
- self.name = name
+ _REFS_REGEX = re.compile(r"refs/[a-z]+/")
+
+ def __init__(self, full_name: str, commit: str) -> None:
+ """
+ :param full_name: The full reference name. E.g. "refs/tags/MyTag".
+ :param commit: The commit hash for the commit this reference points to.
+ """
+ match = self.__class__._REFS_REGEX.match(full_name)
+ if not match:
+ raise ValueError(f"Invalid reference name {full_name}")
+ self.full_name = full_name
+ self.name = full_name[match.end() :]
self.commit = commit
-def get_refs(ref_type, name_start):
+def get_refs(ref_type: str, name_start: str) -> Iterator[Reference]:
"""
- Get a list of references that match the given 'ref_type' ("tag" or "remote"
- or "head") that starts with the given 'name_start'.
+ Get a list of references that match the given conditions.
+ :param ref_type: The ref type to search for ("tag" or "remote" or "head").
+ :param name_start: The ref name start to match against.
+ :yield: The matching references.
"""
if ref_type == "tag":
ref_start = "refs/tags/"
@@ -163,56 +251,83 @@ def get_refs(ref_type, name_start):
fstring = "%(*objectname),%(objectname),%(refname)"
pattern = f"{ref_start}{name_start}**"
- def line_to_ref(line):
+ def line_to_ref(line: str) -> Reference:
[objectname_reference, objectname, ref_name] = line.split(",", 2)
# For annotated tags, the objectname_reference is non-empty and points
# to an actual commit.
# For remotes, heads and lightweight tags, the objectname_reference will
# be empty and objectname will point directly to the commit.
- return Reference(
- ref_name.replace(ref_start, "", 1), objectname_reference or objectname
- )
+ return Reference(ref_name, objectname_reference or objectname)
- return [
+ return (
line_to_ref(line)
- for line in git_get(["for-each-ref", f"--format={fstring}", pattern])
- ]
+ for line in git_lines(["for-each-ref", f"--format={fstring}", pattern])
+ )
-def get_nearest_ref(ref_type, name_start, search_from):
+def get_firefox_ref(search_from: str) -> Reference:
"""
- Search backwards from the 'search_from' commit to find the first commit
- that matches the given 'ref_type' that starts with the given 'name_start'.
+ Search for the commit that comes from firefox.
+ :param search_from: The commit to search backwards from.
+ :returns: The firefox reference.
"""
- ref_list = get_refs(ref_type, name_start)
+ # Only search a limited history that should include the FIREFOX_ tag.
+ search_commits = [c for c in git_lines(["rev-list", "-1000", search_from])]
+
+ firefox_tag_prefix = "FIREFOX_"
- for commit in git_get(["rev-list", "-1000", search_from]):
- for ref in ref_list:
+ existing_tags = list(get_refs("tag", firefox_tag_prefix))
+ for commit in search_commits:
+ for ref in existing_tags:
if commit == ref.commit:
return ref
- raise TbDevException(f"No {name_start} commit found in the last 1000 commits")
-
-
-def get_firefox_ref(search_from):
+ # Might just need to fetch tags from the remote.
+ upstream = get_upstream_details().get("remote", None)
+ if upstream:
+ remote_ref: None | Reference = None
+ search_index = len(search_commits)
+ # Search the remote for a tag that is in our history.
+ # We want to avoid triggering a long fetch, so we just want to grab the
+ # tag that already points to a commit in our history.
+ for line in git_lines(
+ ["ls-remote", upstream, f"refs/tags/{firefox_tag_prefix}*"]
+ ):
+ objectname, name = line.split("\t", 1)
+ for index in range(search_index):
+ if search_commits[index] == objectname:
+ # Remove trailing "^{}" for commits pointed to by
+ # annotated tags.
+ remote_ref = Reference(re.sub(r"\^\{\}$", "", name), objectname)
+ # Only continue to search for references that are even
+ # closer to `search_from`.
+ search_index = index
+ break
+ if remote_ref is not None:
+ # Get a local copy of just this tag.
+ git_run(["fetch", "--no-tags", upstream, "tag", remote_ref.name])
+ return ref
+
+ raise TbDevException("Unable to find FIREFOX_ tag")
+
+
+def get_upstream_tracking_branch(search_from: str) -> str:
"""
- Search backwards from the 'search_from' commit to find the commit that comes
- from firefox.
+ :param search_from: The commit reference.
+ :returns: The upstream branch reference name.
"""
- return get_nearest_ref("tag", "FIREFOX_", search_from)
-
-
-def get_upstream_tracking_branch(search_from):
- return git_get(["rev-parse", "--abbrev-ref", f"{search_from}@{{upstream}}"])[0]
+ return git_get(["rev-parse", "--abbrev-ref", f"{search_from}@{{upstream}}"])
-def get_upstream_basis_commit(search_from):
+def get_upstream_basis_commit(search_from: str) -> str:
"""
Get the first common ancestor of search_from that is also in its upstream
branch.
+ :param search_from: The commit reference.
+ :returns: The upstream commit hash.
"""
upstream_branch = get_upstream_tracking_branch(search_from)
- commit = git_get(["merge-base", search_from, upstream_branch])[0]
+ commit = git_get(["merge-base", search_from, upstream_branch])
# Verify that the upstream commit shares the same firefox basis. Otherwise,
# this would indicate that the upstream is on an early or later FIREFOX
# base.
@@ -226,26 +341,82 @@ def get_upstream_basis_commit(search_from):
return commit
-def get_changed_files(from_commit, staged=False):
+class FileChange:
+ """Represents a git change to a commit."""
+
+ def __init__(self, status: str, path: str, new_path: str) -> None:
+ """
+ :param status: The file change status used within git diff. E.g. "M" for
+ modified, or "D" for deleted.
+ :param path: The source file path.
+ :param new_path: The file path after the change.
+ """
+ self.status = status
+ self.path = path
+ self.new_path = new_path
+
+
+RAW_DIFF_PATH_PATTERN = r"(?P<path>[^\0]*)\0"
+RAW_DIFF_LINE_REGEX = re.compile(
+ r":[0-7]+ [0-7]+ [0-9a-f]+ [0-9a-f]+ (?P<status>[ADMTUXRC])[0-9]*\0"
+ + RAW_DIFF_PATH_PATTERN
+)
+RAW_DIFF_PATH_REGEX = re.compile(RAW_DIFF_PATH_PATTERN)
+
+
+def parse_raw_diff_line(raw_output: str) -> tuple[FileChange, int]:
"""
- Get a list of filenames relative to the current working directory that have
+ Parse the --raw diff output from git.
+ :param raw_output: The raw output.
+ :returns: The change for this line, and the offset for the end of the raw
+ diff line.
+ """
+ match = RAW_DIFF_LINE_REGEX.match(raw_output)
+ if not match:
+ raise ValueError(f"Invalid raw output: {raw_output[:50]}...")
+ path = os.path.relpath(os.path.join(get_local_root(), match.group("path")))
+ status = match.group("status")
+ if status in ("R", "C"):
+ match = RAW_DIFF_PATH_REGEX.match(raw_output, pos=match.end())
+ if not match:
+ raise ValueError(f"Invalid raw output for rename: {raw_output[:50]}...")
+ new_path = os.path.relpath(os.path.join(get_local_root(), match.group("path")))
+ else:
+ new_path = path
+
+ return FileChange(status, path, new_path), match.end()
+
+
+def get_changed_files(
+ from_commit: None | str = None, staged: bool = False
+) -> Iterator[FileChange]:
+ """
+ Get a list of file changes relative to the current working directory that have
been changed since 'from_commit' (non-inclusive).
+ :param from_commit: The commit to compare against, otherwise use the git
+ diff default.
+ :param staged: Whether to limit the diff to staged changes.
+ :yield: The file changes.
"""
- args = ["diff"]
+ args = ["diff", "-z", "--raw"]
if staged:
args.append("--staged")
- args.append("--name-only")
- args.append(from_commit)
- return [
- os.path.relpath(os.path.join(get_local_root(), filename))
- for filename in git_get(args)
- ]
+ if from_commit:
+ args.append(from_commit)
+ raw_output = git_get(args, strip=False)
+ while raw_output:
+ file_change, end = parse_raw_diff_line(raw_output)
+ yield file_change
+ raw_output = raw_output[end:]
-def file_contains(filename, regex):
+def file_contains(filename: str, regex: re.Pattern[str]) -> bool:
"""
Return whether the file is a utf-8 text file containing the regular
expression given by 'regex'.
+ :param filename: The file path.
+ :param regex: The pattern to search for.
+ :returns: Whether the pattern was matched.
"""
with open(filename, encoding="utf-8") as file:
try:
@@ -258,9 +429,10 @@ def file_contains(filename, regex):
return False
-def get_gitlab_default():
+def get_gitlab_default() -> str:
"""
Get the name of the default branch on gitlab.
+ :returns: The branch name.
"""
repo_name = get_upstream_details().get("repo-name", None)
if repo_name is None:
@@ -283,12 +455,14 @@ def get_gitlab_default():
)
with urllib.request.urlopen(gitlab_request, timeout=20) as response:
- return json.load(response)["data"]["project"]["repository"]["rootRef"]
+ default = json.load(response)["data"]["project"]["repository"]["rootRef"]
+ assert isinstance(default, str)
+ return default
-def within_browser_root():
+def within_browser_root() -> bool:
"""
- Whether we are with the tor browser root.
+ :returns: Whether we are with the tor browser root.
"""
root = get_local_root()
if not root:
@@ -301,24 +475,24 @@ def within_browser_root():
# * -------------------- *
-def show_firefox_commit(_args):
+def show_firefox_commit(_args: argparse.Namespace) -> None:
"""
Print the tag name and commit for the last firefox commit below the current
HEAD.
"""
ref = get_firefox_ref("HEAD")
- print(ref.name)
+ print(ref.full_name)
print(ref.commit)
-def show_upstream_basis_commit(_args):
+def show_upstream_basis_commit(_args: argparse.Namespace) -> None:
"""
Print the last upstream commit for the current HEAD.
"""
print(get_upstream_basis_commit("HEAD"))
-def show_log(args):
+def show_log(args: argparse.Namespace) -> None:
"""
Show the git log between the current HEAD and the last firefox commit.
"""
@@ -326,7 +500,7 @@ def show_log(args):
git_run(["log", f"{commit}..HEAD", *args.gitargs], check=False)
-def show_files_containing(args):
+def show_files_containing(args: argparse.Namespace) -> None:
"""
List all the files that that have been modified for tor browser, that also
contain a regular expression.
@@ -336,33 +510,32 @@ def show_files_containing(args):
except re.error as err:
raise TbDevException(f"{args.regex} is not a valid python regex") from err
- file_list = get_changed_files(get_firefox_ref("HEAD").commit)
-
- for filename in file_list:
- if not os.path.isfile(filename):
+ for file_change in get_changed_files(get_firefox_ref("HEAD").commit):
+ path = file_change.new_path
+ if not os.path.isfile(path):
# deleted ofile
continue
- if file_contains(filename, regex):
- print(filename)
+ if file_contains(path, regex):
+ print(path)
-def show_changed_files(_args):
+def show_changed_files(_args: argparse.Namespace) -> None:
"""
List all the files that have been modified relative to upstream.
"""
- for filename in get_changed_files(get_upstream_basis_commit("HEAD")):
- print(filename)
+ for file_change in get_changed_files(get_upstream_basis_commit("HEAD")):
+ print(file_change.new_path)
-def lint_changed_files(args):
+def lint_changed_files(args: argparse.Namespace) -> None:
"""
Lint all the files that have been modified relative to upstream.
"""
os.chdir(get_local_root())
file_list = [
- f
+ f.new_path
for f in get_changed_files(get_upstream_basis_commit("HEAD"))
- if os.path.isfile(f) # Not deleted
+ if os.path.isfile(f.new_path) # Not deleted
]
# We add --warnings since clang only reports whitespace issues as warnings.
subprocess.run(
@@ -371,10 +544,18 @@ def lint_changed_files(args):
)
-def prompt_user(prompt, convert):
+# TODO: replace with "prompt_user[T](..., T]) -> T" after python 3.12 is the
+# minimum mach version.
+T = TypeVar("T")
+
+
+def prompt_user(prompt: str, convert: Callable[[str], T]) -> T:
"""
- Ask the user for some input until the given converter returns without
- throwing a ValueError.
+ Ask the user for some input.
+ :param prompt: The prompt to show the user.
+ :param convert: A method to convert the response into a type. Should
+ throw `ValueError` if the user should be re-prompted for a valid input.
+ :returns: The first valid user response.
"""
while True:
# Flush out stdin.
@@ -388,8 +569,12 @@ def prompt_user(prompt, convert):
pass
-def binary_reply_default_no(value):
- """Process a 'y' or 'n' reply, defaulting to 'n' if empty."""
+def binary_reply_default_no(value: str) -> bool:
+ """
+ Process a 'y' or 'n' reply, defaulting to 'n' if empty.
+ :param value: The user input.
+ :returns: Whether the answer is yes.
+ """
if value == "":
return False
if value.lower() == "y":
@@ -399,121 +584,737 @@ def binary_reply_default_no(value):
raise ValueError()
-def get_fixup_for_file(filename, firefox_commit):
- """Find the commit the given file should fix up."""
+class FixupTarget:
+ """Represents a commit that can be targeted by a fixup."""
+
+ def __init__(self, commit: str, short_ref: str, title: str) -> None:
+ """
+ :param commit: The commit hash for the commit.
+ :param short_ref: The shortened commit hash for display.
+ :param title: The first line of the commit message.
+ """
+ self.commit = commit
+ self.short_ref = short_ref
+ self.title = title
+ self.changes: list[FileChange] = []
+ self.fixups: list[FixupTarget] = []
+ self.target: None | FixupTarget = None
+
+ _FIXUP_REGEX = re.compile(r"^fixup! +")
+
+ def trim_fixup(self) -> tuple[str, int]:
+ """
+ Trim the "fixup!" prefixes.
+ :returns: The stripped commit title and the fixup depth (how many fixups
+ prefixes there were).
+ """
+ title = self.title
+ depth = 0
+ while True:
+ match = self.__class__._FIXUP_REGEX.match(title)
+ if not match:
+ return title, depth
+ title = title[match.end() :]
+ depth += 1
+
+ def touches_path(
+ self, path: str, filter_status: None | str = None, check_dir: bool = False
+ ) -> bool:
+ """
+ Whether this target, or one of its fixups or target, touches the given
+ path.
+ :param path: The path to check.
+ :param filter_status: Limit the detected changes to the given status(es).
+ :param check_dir: Whether we should treat `path` as a directory and check for
+ files within it.
+ :returns: Whether this target matches.
+ """
+ # NOTE: In the case of renames, we generally assume that renames occur
+ # in the fixup targets. E.g. "Commit 1" creates the file "file.txt", and
+ # "fixup! Commit 1" renames it to "new.txt". In this case, if the
+ # FixupTarget for "Commit 1" is passed in "file.txt" it will match. And
+ # if it is passed in "new.txt" it will also match via the self.fixups
+ # field, which will include the "fixup! Commit 1" rename.
+ # But the "fixup ! Commit 1" FixupTargets will only match with
+ # "file.txt" if they occurred before the rename fixup, and will only
+ # match with "new.txt" if they occur after the rename fixup. With the
+ # exception of the rename fixup itself, which will match both.
+ #
+ # In principle, we could identify a file across renames (have a mapping
+ # from each commit to what the file is called at that stage) and match
+ # using this file identifier. Similar to the "--follow" git diff
+ # argument. This would then cover cases where a rename occurs between
+ # the commit and its fixups, and allow fixups before the rename to also
+ # match. However, the former case is unexpected and the latter case
+ # would not be that useful.
+ if self._touches_path_basis(path, filter_status, check_dir):
+ return True
+ # Mark this as a valid target for the path if one of our fixups changes
+ # this path.
+ # NOTE: We use _touch_path_basis to prevent recursion. This means we
+ # will only check one layer up or down, but we only expect fixups of
+ # up to depth 1.
+ for fixup_target in self.fixups:
+ if fixup_target._touches_path_basis(path, filter_status, check_dir):
+ return True
+ # Mark this as a valid target if our target changes this path.
+ if self.target is not None and self.target._touches_path_basis(
+ path, filter_status, check_dir
+ ):
+ return True
+ return False
+
+ def _touches_path_basis(
+ self, path: str, filter_status: None | str, check_dir: bool
+ ) -> bool:
+ """
+ Whether this target touches the given path.
+ :param path: The path to check.
+ :param filter_status: Limit the detected changes to the given status.
+ :param check_dir: Whether we should treat `path` as a directory and check for
+ files within it.
+ :returns: Whether this target matches.
+ """
+ for file_change in self.changes:
+ if filter_status is not None and file_change.status not in filter_status:
+ continue
+ for test_path in (file_change.path, file_change.new_path):
+ if check_dir:
+ if os.path.commonpath((os.path.dirname(test_path), path)) == path:
+ # test_path's directory matches the path or is within it.
+ return True
+ elif test_path == path:
+ return True
+ return False
+
+
+def get_fixup_targets(
+ target_list: list[FixupTarget],
+ from_commit: str,
+ to_commit: str,
+ fixup_depth: int = 0,
+) -> None:
+ """
+ Find all the commits that can be targeted by a fixup between the given
+ commits.
+ :param target_list: The list to fill with targets. Appended in the order of
+ `from_commit` to `to_commit`.
+ :param from_commit: The commit to start from (non-inclusive).
+ :param to_commit: The commit to end on (inclusive).
+ :param fixup_depth: The maximum "depth" of fixups. I.e. how many "fixup!"
+ prefixes to allow.
+ """
+ raw_output = git_get(
+ [
+ "log",
+ "--pretty=format:%H,%h,%s",
+ "--reverse",
+ "--raw",
+ "-z",
+ f"{from_commit}..{to_commit}",
+ ],
+ strip=False,
+ )
+ pretty_regex = re.compile(
+ r"(?P<commit>[0-9a-f]+),(?P<short_ref>[0-9a-f]+),(?P<title>[^\n\0]*)\n"
+ )
+ excluded_regex_list = [
+ re.compile(r"^Bug [0-9]+.*r="), # Backported Mozilla bug.
+ re.compile(r"^dropme! "),
+ ]
+
+ while raw_output:
+ match = pretty_regex.match(raw_output)
+ if not match:
+ raise ValueError(f"Invalid pretty format: {raw_output[:100]}...")
+ fixup_target = FixupTarget(
+ match.group("commit"), match.group("short_ref"), match.group("title")
+ )
+ raw_output = raw_output[match.end() :]
+ while raw_output and raw_output[0] != "\0":
+ file_change, end = parse_raw_diff_line(raw_output)
+ fixup_target.changes.append(file_change)
+ raw_output = raw_output[end:]
+ if raw_output:
+ # Skip over the "\0".
+ raw_output = raw_output[1:]
+
+ for regex in excluded_regex_list:
+ if regex.match(fixup_target.title):
+ # Exclude from the list.
+ continue
+
+ trimmed_title, depth = fixup_target.trim_fixup()
+ if depth:
+ original_target = None
+ for target in target_list:
+ if target.title == trimmed_title:
+ original_target = target
+ break
+
+ if original_target:
+ original_target.fixups.append(fixup_target)
+ fixup_target.target = original_target
+ if depth > fixup_depth:
+ # Exclude from the list.
+ continue
+
+ target_list.append(fixup_target)
+
+
+class NewCommitBasis:
+ def __init__(self) -> None:
+ self.staged_paths: set[str] = set()
+ self.adding_paths: set[str] = set()
+
+ def add(self, paths: Iterable[str], staged: bool) -> None:
+ """
+ Add a path to include in this commit.
+ :param paths: The paths to add.
+ :param staged: Whether we are adding already staged changes.
+ """
+ if staged:
+ self.staged_paths.update(paths)
+ return
+
+ self.adding_paths.update(paths)
+
+
+class NewCommit(NewCommitBasis):
+ """Represents a new commit that we want to create."""
- def parse_log_line(line):
- [commit, short_ref, title] = line.split(",", 2)
- return {"commit": commit, "short-ref": short_ref, "title": title}
+ def __init__(self, alias: str) -> None:
+ """
+ :param alias: The alias name for the commit.
+ """
+ super().__init__()
+ self.alias = alias
- options = [
- parse_log_line(line)
- for line in git_get(
- [
- "log",
- "--pretty=format:%H,%h,%s",
- f"{firefox_commit}..HEAD",
- "--",
- filename,
- ]
+
+class NewFixup(NewCommitBasis):
+ """Represents a new fixup commit that we want to create."""
+
+ def __init__(self, target: FixupTarget) -> None:
+ """
+ :param target: The commit to target with the fixup.
+ """
+ super().__init__()
+ self.target = target
+
+
+def get_suggested_fixup_targets_for_change(
+ file_change: FileChange,
+ fixup_target_list: list[FixupTarget],
+ firefox_directories_lazy: Callable[[], set[str]],
+) -> Iterator[FixupTarget]:
+ """
+ Find the suggested fixup targets for the given file change.
+ :param file_change: The file change to get a suggestion for.
+ :param fixup_target_list: The list to choose from.
+ :param firefox_directories_lazy: Lazy method to return the firefox
+ directories.
+ :yield: The suggested fixup targets.
+ """
+
+ def filter_list(
+ path: str, filter_status: None | str = None, check_dir: bool = False
+ ) -> Iterator[FixupTarget]:
+ return (
+ t
+ for t in fixup_target_list
+ if t.touches_path(path, filter_status=filter_status, check_dir=check_dir)
)
+
+ if file_change.status == "D":
+ # Deleted.
+ # Find the commit that introduced this file or previously deleted it.
+ # I.e. added the file ("A"), renamed it ("R"), or deleted it ("D").
+ yield from filter_list(file_change.path, filter_status="ARD")
+ return
+
+ if file_change.status == "A":
+ # First check to see if this file name was actually touched before.
+ yielded_target = False
+ for target in filter_list(file_change.path):
+ yielded_target = True
+ yield target
+ if yielded_target:
+ return
+ # Else, find commits that introduced files in the same directory, or
+ # deleted in them, if they are not firefox directories.
+ dir_path = file_change.path
+ while True:
+ dir_path = os.path.dirname(dir_path)
+ if not dir_path or dir_path in firefox_directories_lazy():
+ return
+
+ yielded_target = False
+ for target in filter_list(dir_path, filter_status="ARD", check_dir=True):
+ yielded_target = True
+ yield target
+
+ if yielded_target:
+ return
+ # Else, search one directory higher.
+
+ if file_change.status == "R":
+ # Renamed.
+ # Find the commit that introduced the original name for this file.
+ yield from filter_list(file_change.path, filter_status="AR")
+ return
+
+ # Modified.
+ yield from filter_list(file_change.path)
+
+
+def ask_for_target(
+ file_change_list: list[FileChange],
+ new_commits_list: list[NewCommit | NewFixup],
+ suggested_fixup_target_list: list[FixupTarget],
+ full_fixup_target_list: list[FixupTarget],
+ staged: bool = False,
+) -> bool:
+ """
+ Ask the user to choose a target.
+ :param file_change_list: The file changes to ask for.
+ :param new_commits_list: The list of pending new commits, may be added to.
+ :param suggested_fixup_target_list: The list of suggested target fixups
+ to choose from.
+ :param staged: Whether this is for staged changes.
+ :returns: `True` if the operation should be aborted.
+ """
+
+ new_paths = [c.new_path for c in file_change_list]
+ all_paths = set(new_paths).union(c.path for c in file_change_list)
+ non_fixup_commits: list[NewCommit] = [
+ n for n in new_commits_list if isinstance(n, NewCommit)
]
- if not options:
- print(f"No commit found for {filename}")
- return None
- def valid_index(val):
+ shown_list: list[NewCommit | FixupTarget] = (
+ non_fixup_commits + suggested_fixup_target_list
+ )
+
+ can_skip = not staged
+ shown_full = False
+
+ index_offset = 2
+
+ def valid_response(val: str) -> tuple[str, None | NewCommit | FixupTarget]:
+ val = val.strip()
+
+ if val == "h":
+ return "help", None
+
+ if val == "a":
+ return "abort", None
+
if val == "d":
- return val
+ return "diff", None
+
+ if val == "f":
+ if shown_full:
+ # Already done once.
+ raise ValueError()
+ return "full-list", None
+ is_patch_full = val.startswith("P")
is_patch = val.startswith("p")
- if is_patch:
- val = val[1:]
+ if is_patch or is_patch_full:
+ index = int(val[1:], base=10) # Raises ValueError if not integer.
+ else:
+ index = int(val, base=10) # Raises ValueError if not integer.
+ if index == 0:
+ if not can_skip:
+ raise ValueError()
+ return "skip", None
+
+ if index == 1:
+ return "new", None
- # May raise a ValueError.
- as_index = int(val)
- if as_index < 0 or as_index > len(options):
+ index -= index_offset
+
+ if index < 0 or index >= len(shown_list):
raise ValueError()
- if as_index == 0:
- if is_patch:
+ selected = shown_list[index]
+
+ if is_patch_full:
+ return "patch-full", selected
+ if is_patch:
+ return "patch", selected
+ return "target", selected
+
+ def alias_response(val: str) -> str:
+ # Choose a default alias name if none is given.
+ val = val.strip() or f"New commit {len(non_fixup_commits)}"
+ for new_commit in non_fixup_commits:
+ if new_commit.alias == val:
+ # Already in use.
raise ValueError()
- return None
+ return val
+
+ def print_index_option(index: int, description: str) -> None:
+ print(f" \x1b[1m{index}\x1b[0m: {description}")
- return (is_patch, options[as_index - 1]["commit"])
+ def in_pink(text: str) -> str:
+ return f"\x1b[1;38;5;212m{text}\x1b[0m"
+ prefix_str = "For " + (in_pink("staged") if staged else "unstaged") + " changes to"
+ if len(new_paths) == 1:
+ print(f"{prefix_str} {in_pink(new_paths[0])}:")
+ else:
+ print(f"{prefix_str}:")
+ for path in new_paths:
+ print(f" {in_pink(path)}")
+ print("")
+
+ show_help = True
+ reshow_list = True
while True:
- print(f"For {filename}:\n")
- print(" \x1b[1m0\x1b[0m: None")
- for index, opt in enumerate(options):
- print(
- f" \x1b[1m{index + 1}\x1b[0m: "
- + f"\x1b[1;38;5;212m{opt['short-ref']}\x1b[0m "
- + opt["title"]
- )
+ if reshow_list:
+ if can_skip:
+ print_index_option(0, "Skip")
+ print_index_option(1, "New commit")
+ for index, target in enumerate(shown_list, start=index_offset):
+ if isinstance(target, NewCommit):
+ print_index_option(index, f"Add to new commit: {target.alias}")
+ else:
+ print_index_option(
+ index, f"Fixup: {in_pink(target.short_ref)} {target.title}"
+ )
+ reshow_list = False
print("")
- response = prompt_user(
- "Choose an <index> to fixup, or '0' to skip this file, "
- "or 'd' to view the pending diff, "
- "or 'p<index>' to view the patch for the index: ",
- valid_index,
+
+ response, selected = prompt_user(
+ (
+ "Choose an <index> to target. Type 'h' for additional options: "
+ if show_help
+ else "Choose an <index> to target or an option: "
+ ),
+ valid_response,
)
- if response is None:
- # Skip this file.
- return None
- if response == "d":
- git_run(["diff", "--", filename])
+ if response == "help":
+ print("Options:")
+ for option, desc in (
+ ("h", "show the available options."),
+ ("a", "abort this commit operation and all pending commits."),
+ (
+ ("", "")
+ if shown_full
+ else (
+ "f",
+ "show the full list of fixup targets, rather than just the suggested ones.",
+ )
+ ),
+ ("d", "view the diff for the pending file changes."),
+ (
+ "P<index>",
+ "view the patch for the index (including its relevant fixups).",
+ ),
+ (
+ "p<index>",
+ "view the patch for the index (including its relevant fixups), "
+ "limited to the current files.",
+ ),
+ ):
+ if not option:
+ # Skip this option.
+ continue
+ print(f" \x1b[1m{option[0]}\x1b[0m{option[1:].ljust(7)}: {desc}")
+ # Do not show the help option again.
+ show_help = False
+ continue
+
+ if response == "abort":
+ return True
+
+ if response == "skip":
+ return False
+
+ if response == "new":
+ new_alias = prompt_user(
+ "Enter an optional temporary alias for this new commit: ",
+ alias_response,
+ )
+ new_commit = NewCommit(new_alias)
+ new_commit.add(all_paths, staged)
+ new_commits_list.append(new_commit)
+ return False
+
+ if response == "target":
+ assert selected is not None
+
+ if isinstance(selected, NewCommit):
+ # Adding to a new commit.
+ selected.add(all_paths, staged)
+ return False
+
+ for new_fixup in new_commits_list:
+ if not isinstance(new_fixup, NewFixup):
+ continue
+ if new_fixup.target == selected:
+ # We already have a pending fixup commit that targets this
+ # selected target. Add this path to the same commit.
+ new_fixup.add(all_paths, staged)
+ return False
+
+ new_fixup = NewFixup(selected)
+ new_fixup.add(all_paths, staged)
+ new_commits_list.append(new_fixup)
+ return False
+
+ if response == "full-list":
+ shown_list = non_fixup_commits + full_fixup_target_list
+ shown_full = True
+ reshow_list = True
continue
- view_patch, commit = response
- if view_patch:
- git_run(["log", "-p", "-1", commit, "--", filename])
+ if response == "diff":
+ git_args = ["diff", "--color"]
+ if staged:
+ git_args.append("--staged")
+ git_args.extend(git_path_args(all_paths))
+ git_run_pager(git_args)
continue
- return commit
+ if response in ("patch", "patch-full"):
+ assert selected is not None
+
+ filter_paths = response == "patch"
+
+ if isinstance(selected, NewCommit):
+ git_sequence = [
+ ["diff", "--color", "--staged", *git_path_args((path,))]
+ for path in selected.staged_paths
+ if not filter_paths or path in all_paths
+ ]
+ git_sequence.extend(
+ ["diff", "--color", *git_path_args((path,))]
+ for path in selected.adding_paths
+ if not filter_paths or path in all_paths
+ )
+
+ # Show what the expected patch will be for the new commit.
+ git_run_pager(
+ arg_sequence=git_sequence, pager_prefix=f"{selected.alias}\n\n"
+ )
+ else:
+ # Show the log entry for the FixupTarget and each of its fixups.
+ # Order with the commmit closest to HEAD first. We expect
+ # selected.fixups to match this order.
+ git_sequence = []
+ # If `filter_paths` is set, we want to limit the log to the
+ # paths, and try to track any renames in the commit history.
+ prev_log_paths: None | set[str] = None
+ # For the first commit in the sequence, we use the old path
+ # names (rather than `c.new_path`) since we expect the commit
+ # which is closest to us to use the older names.
+ log_paths: None | set[str] = (
+ {c.path for c in file_change_list} if filter_paths else None
+ )
+ for target in (*selected.fixups, selected):
+ git_args = [
+ "log",
+ "--color",
+ "-p",
+ f"{target.commit}~1..{target.commit}",
+ ]
+ if filter_paths:
+ assert log_paths is not None
+ # Track the renamed paths.
+ prev_log_paths = log_paths.copy()
+ for file_change in target.changes:
+ if (
+ file_change.status == "R"
+ and file_change.new_path in log_paths
+ ):
+ # file was renamed in this change.
+ # Update log_paths to the new name.
+ # NOTE: This should have a similar effect to the
+ # --follow option for git log for a single file
+ # NOTE: File renames will not be properly
+ # tracked if a rename occurs outside of
+ # `selected.changes` or
+ # `selected.fixups[].changes`, but this is
+ # unexpected.
+ log_paths.remove(file_change.new_path)
+ log_paths.add(file_change.path)
+
+ # NOTE: This log entry may be empty if none of the paths
+ # match.
+ # NOTE: We include both log_paths and prev_log_paths to
+ # show renames in the diff output.
+ git_args.extend(git_path_args(log_paths | prev_log_paths))
+ git_sequence.append(git_args)
+ # Combine all the logs into one.
+ git_run_pager(arg_sequence=git_sequence)
+ continue
+
+ raise ValueError(f"Unexpected response: {response}")
-def auto_fixup(_args):
+def auto_commit(_args: argparse.Namespace) -> None:
"""
- Automatically find and fix up commits using the current unstaged changes.
+ Automatically find and fix up commits for any pending changes.
"""
+ # Want git log and add to be run from the root.
+ os.chdir(get_local_root())
# Only want to search as far back as the firefox commit.
firefox_commit = get_firefox_ref("HEAD").commit
- staged_files = get_changed_files("HEAD", staged=True)
- if staged_files:
- raise TbDevException(f"Have already staged files: {staged_files}")
+ staged_changes = [f for f in get_changed_files(staged=True)]
+ if staged_changes:
+ print("Existing staged changes for:")
+ for file_change in staged_changes:
+ print(f" {file_change.new_path}")
+ if not prompt_user(
+ "Include staged changes? (y/\x1b[4mn\x1b[0m)", binary_reply_default_no
+ ):
+ raise TbDevException("Cannot continue with pending staged changes")
+ print("")
- fixups = {}
- for filename in get_changed_files("HEAD"):
- commit = get_fixup_for_file(filename, firefox_commit)
- if commit is None:
+ full_target_list: list[FixupTarget] = []
+ # Determine if HEAD points to a branch or not and has an upstream commit.
+ # We choose check=False since the exit status is non-zero when we are in a
+ # detached state.
+ head_symbolic_ref = git_get(["symbolic-ref", "-q", "HEAD"], check=False)
+ if not head_symbolic_ref or not bool(
+ git_get(["for-each-ref", "--format=%(upstream)", head_symbolic_ref])
+ ):
+ # Unexpected, but not fatal.
+ print("HEAD has no upstream tracking!")
+ # Just include all commits since firefox_commit with no fixup depth
+ get_fixup_targets(full_target_list, firefox_commit, "HEAD", fixup_depth=0)
+ else:
+ upstream_commit = get_upstream_basis_commit("HEAD")
+ # Only include "fixup!" commits that are between here and the upstream
+ # tracking commit.
+ get_fixup_targets(
+ full_target_list, firefox_commit, upstream_commit, fixup_depth=0
+ )
+ get_fixup_targets(full_target_list, upstream_commit, "HEAD", fixup_depth=1)
+
+ # full_target_list is ordered with the earlier commits first. Reverse this.
+ full_target_list.reverse()
+ # Also reverse the fixups order to follow the same order.
+ for target in full_target_list:
+ target.fixups.reverse()
+
+ # Lazy load the list of firefox directories since they are unlikely to be
+ # needed.
+ @functools.cache
+ def firefox_directories_lazy() -> set[str]:
+ return {
+ dir_name
+ for dir_name in git_get(
+ [
+ "ls-tree",
+ "-r",
+ "-d",
+ "--name-only",
+ "--full-tree",
+ "-z",
+ firefox_commit,
+ ],
+ strip=False,
+ ).split("\0")
+ if dir_name
+ }
+
+ # Check untracked files to be added.
+ for path in git_get(
+ ["ls-files", "--other", "--exclude-standard", "-z"], strip=False
+ ).split("\0"):
+ if not path:
continue
- if commit not in fixups:
- fixups[commit] = [filename]
- else:
- fixups[commit].append(filename)
+ if prompt_user(
+ f"Start tracking file `{path}`? (y/\x1b[4mn\x1b[0m)",
+ binary_reply_default_no,
+ ):
+ # Include in the git diff output, but do not stage.
+ git_run(["add", "--intent-to-add", path])
print("")
- for commit, files in fixups.items():
- print("")
- git_run(["add", *files])
- git_run(["commit", f"--fixup={commit}"])
+ aborted = False
+ new_commits_list: list[NewCommit | NewFixup] = []
+ # First go through staged changes.
+ if staged_changes:
+ common_fixup_targets = None
+ for change in staged_changes:
+ target_iter = get_suggested_fixup_targets_for_change(
+ change, full_target_list, firefox_directories_lazy
+ )
+ if common_fixup_targets is None:
+ common_fixup_targets = set(target_iter)
+ else:
+ common_fixup_targets.intersection_update(target_iter)
+
+ assert common_fixup_targets is not None
+
+ aborted = ask_for_target(
+ staged_changes,
+ new_commits_list,
+ # Sort in the same order as full_target_list.
+ [target for target in full_target_list if target in common_fixup_targets],
+ full_target_list,
+ staged=True,
+ )
print("")
- if prompt_user(
- "Edit fixup commit message? (y/\x1b[4mn\x1b[0m)", binary_reply_default_no
- ):
+ if not aborted:
+ for file_change in get_changed_files():
+ target_list = list(
+ get_suggested_fixup_targets_for_change(
+ file_change, full_target_list, firefox_directories_lazy
+ )
+ )
+ aborted = ask_for_target(
+ [file_change],
+ new_commits_list,
+ target_list,
+ full_target_list,
+ staged=False,
+ )
+ print("")
+ if aborted:
+ break
+
+ if aborted:
+ return
+
+ # NOTE: Only the first commit can include staged changes.
+ # This should already be the case, but we want to double check.
+ for commit_index in range(1, len(new_commits_list)):
+ if new_commits_list[commit_index].staged_paths:
+ raise ValueError(f"Staged changes for commit {commit_index}")
+
+ for new_commit in new_commits_list:
+ print("")
+ if new_commit.adding_paths:
+ git_run(["add", *git_path_args(new_commit.adding_paths)])
+ if isinstance(new_commit, NewFixup):
+ git_run(["commit", f"--fixup={new_commit.target.commit}"])
+ print("")
+ is_double_fixup = bool(new_commit.target.target)
+ if not is_double_fixup and prompt_user(
+ "Edit fixup commit message? (y/\x1b[4mn\x1b[0m)",
+ binary_reply_default_no,
+ ):
+ git_run(["commit", "--amend"])
+ print("")
+ else:
+ git_run(["commit", "-m", new_commit.alias])
git_run(["commit", "--amend"])
+ print("")
-def clean_fixups(_args):
+def clean_fixups(_args: argparse.Namespace) -> None:
"""
Perform an interactive rebase that automatically applies fixups, similar to
--autosquash but also works on fixups of fixups.
"""
- user_editor = git_get(["var", "GIT_SEQUENCE_EDITOR"])[0]
+ user_editor = git_get(["var", "GIT_SEQUENCE_EDITOR"])
sub_editor = os.path.join(
os.path.dirname(os.path.realpath(__file__)), FIXUP_PREPROCESSOR_EDITOR
)
@@ -525,7 +1326,7 @@ def clean_fixups(_args):
)
-def show_default(_args):
+def show_default(_args: argparse.Namespace) -> None:
"""
Print the default branch name from gitlab.
"""
@@ -536,7 +1337,7 @@ def show_default(_args):
print(f"{upstream}/{default_branch}")
-def branch_from_default(args):
+def branch_from_default(args: argparse.Namespace) -> None:
"""
Fetch the default gitlab branch from upstream and create a new local branch.
"""
@@ -557,7 +1358,7 @@ def branch_from_default(args):
)
-def move_to_default(args):
+def move_to_default(args: argparse.Namespace) -> None:
"""
Fetch the default gitlab branch from upstream and move the specified
branch's commits on top. A new branch will be created tracking the default
@@ -569,7 +1370,7 @@ def move_to_default(args):
if branch_name is None:
# Use current branch as default.
try:
- branch_name = git_get(["branch", "--show-current"])[0]
+ branch_name = git_get(["branch", "--show-current"])
except IndexError:
raise TbDevException("No current branch")
@@ -608,7 +1409,7 @@ def move_to_default(args):
git_run(["cherry-pick", f"{current_basis}..{old_branch_name}"], check=False)
-def show_range_diff(args):
+def show_range_diff(args: argparse.Namespace) -> None:
"""
Show the range diff between two branches, from their firefox bases.
"""
@@ -624,21 +1425,21 @@ def show_range_diff(args):
)
-def show_diff_diff(args):
+def show_diff_diff(args: argparse.Namespace) -> None:
"""
Show the diff between the diffs of two branches, relative to their firefox
bases.
"""
- config_res = git_get(["config", "--get", "diff.tool"])
- if not config_res:
+ try:
+ diff_tool = next(git_lines(["config", "--get", "diff.tool"]))
+ except StopIteration:
raise TbDevException("No diff.tool configured for git")
- diff_tool = config_res[0]
# Filter out parts of the diff we expect to be different.
index_regex = re.compile(r"index [0-9a-f]{12}\.\.[0-9a-f]{12}")
lines_regex = re.compile(r"@@ -[0-9]+,[0-9]+ \+[0-9]+,[0-9]+ @@(?P<rest>.*)")
- def save_diff(branch):
+ def save_diff(branch: str) -> str:
firefox_commit = get_firefox_ref(branch).commit
file_desc, file_name = tempfile.mkstemp(
text=True, prefix=f'{branch.split("/")[-1]}-'
@@ -653,6 +1454,7 @@ def show_diff_diff(args):
)
with os.fdopen(file_desc, "w") as file:
+ assert diff_process.stdout is not None
for line in diff_process.stdout:
if index_regex.match(line):
# Fake data that will match.
@@ -665,7 +1467,7 @@ def show_diff_diff(args):
continue
file.write(line)
- status = diff_process.poll()
+ status = diff_process.wait()
if status != 0:
raise TbDevException(f"git diff exited with status {status}")
@@ -681,7 +1483,7 @@ def show_diff_diff(args):
# * -------------------- *
-def branch_complete(prefix, parsed_args, **kwargs):
+def branch_complete(prefix: str, **_kwargs: Any) -> list[str]:
"""
Complete the argument with a branch name.
"""
@@ -689,7 +1491,7 @@ def branch_complete(prefix, parsed_args, **kwargs):
return []
try:
branches = [ref.name for ref in get_refs("head", "")]
- branches.extend([ref.name for ref in get_refs("remote", "")])
+ branches.extend(ref.name for ref in get_refs("remote", ""))
branches.append("HEAD")
except Exception:
return []
@@ -699,7 +1501,20 @@ def branch_complete(prefix, parsed_args, **kwargs):
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(required=True)
-for name, details in {
+
+class ArgConfig(TypedDict):
+ help: str
+ metavar: NotRequired[str]
+ nargs: NotRequired[str]
+ completer: NotRequired[Callable[[str], list[str]]]
+
+
+class CommandConfig(TypedDict):
+ func: Callable[[argparse.Namespace], None]
+ args: NotRequired[dict[str, ArgConfig]]
+
+
+all_commands: dict[str, CommandConfig] = {
"show-upstream-basis-commit": {
"func": show_upstream_basis_commit,
},
@@ -716,8 +1531,8 @@ for name, details in {
},
},
},
- "auto-fixup": {
- "func": auto_fixup,
+ "auto-commit": {
+ "func": auto_commit,
},
"clean-fixups": {
"func": clean_fixups,
@@ -794,20 +1609,25 @@ for name, details in {
"regex": {"help": "the regex that the files must contain"},
},
},
-}.items():
- help_message = re.sub(r"\s+", " ", details["func"].__doc__).strip()
+}
+
+for name, command_config in all_commands.items():
+ help_message = command_config["func"].__doc__
+ assert isinstance(help_message, str)
+ help_message = re.sub(r"\s+", " ", help_message).strip()
sub = subparsers.add_parser(name, help=help_message)
- sub.set_defaults(func=details["func"])
- for arg, keywords in details.get("args", {}).items():
+ sub.set_defaults(func=command_config["func"])
+ for arg, keywords in command_config.get("args", {}).items():
completer = None
if "completer" in keywords:
completer = keywords["completer"]
del keywords["completer"]
sub_arg = sub.add_argument(arg, **keywords)
- if completer is not None:
- sub_arg.completer = completer
+ if completer is not None and argcomplete is not None:
+ sub_arg.completer = completer # type: ignore
-argcomplete.autocomplete(parser)
+if argcomplete is not None:
+ argcomplete.autocomplete(parser)
try:
if not within_browser_root():
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/f12904…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/f12904…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][tor-browser-146.0a1-16.0-2] 7 commits: fixup! BB 41803: Add some developer tools for working on tor-browser.
by henry (@henry) 11 Dec '25
by henry (@henry) 11 Dec '25
11 Dec '25
henry pushed to branch tor-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
25553432 by Henry Wilkes at 2025-12-11T13:53:13+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Make git_get return the stdout string, rather than a list.
Add git_lines to generate lines.
- - - - -
523bc569 by Henry Wilkes at 2025-12-11T13:53:15+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Use raw diff to get list of file changes.
- - - - -
20c68b54 by Henry Wilkes at 2025-12-11T13:53:16+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Add type annotations and parameter documentation.
- - - - -
a0bff3f5 by Henry Wilkes at 2025-12-11T13:53:17+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Make the argcomplete module optional.
- - - - -
a64f9e20 by Henry Wilkes at 2025-12-11T13:53:18+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Use function caching instead of global variables.
- - - - -
80acc6a0 by Henry Wilkes at 2025-12-11T13:53:19+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Fetch FIREFOX_ tags from the remote if they are missing.
- - - - -
1b34bbe4 by Henry Wilkes at 2025-12-11T13:53:21+00:00
fixup! BB 41803: Add some developer tools for working on tor-browser.
TB 44367: Improve the auto-fixup/auto-commit command.
The auto-fixup command was renamed to auto-commit. It now also handles:
1. Already staged changes.
2. Untracked/added files.
3. Removed files.
4. Renamed files.
5. Allowing the user to create a new commit.
- - - - -
1 changed file:
- tools/base_browser/tb-dev
Changes:
=====================================
tools/base_browser/tb-dev
=====================================
@@ -6,6 +6,7 @@ Useful tools for working on tor-browser repository.
import argparse
import atexit
+import functools
import json
import os
import re
@@ -14,8 +15,15 @@ import sys
import tempfile
import termios
import urllib.request
+from collections.abc import Callable, Iterable, Iterator
+from types import ModuleType
+from typing import Any, NotRequired, TypedDict, TypeVar
-import argcomplete
+argcomplete: None | ModuleType = None
+try:
+ import argcomplete
+except ImportError:
+ pass
GIT_PATH = "/usr/bin/git"
UPSTREAM_URLS = {
@@ -36,9 +44,14 @@ class TbDevException(Exception):
pass
-def git_run(args, check=True, env=None):
+def git_run(
+ args: list[str], check: bool = True, env: None | dict[str, str] = None
+) -> None:
"""
Run a git command with output sent to stdout.
+ :param args: The arguments to pass to git.
+ :param check: Whether to check for success.
+ :param env: Optional environment to set.
"""
if env is not None:
tmp_env = dict(os.environ)
@@ -51,46 +64,122 @@ def git_run(args, check=True, env=None):
raise TbDevException(str(err)) from err
-def git_get(args):
+def git_run_pager(
+ args: list[str] | None = None,
+ arg_sequence: Iterable[list[str]] | None = None,
+ pager_prefix: None | str = None,
+) -> None:
"""
- Run a git command with each non-empty line returned in a list.
+ Run a sequence of git commands with the output concatenated and sent to the
+ git pager.
+ :param args: The arguments to pass to git, or `None` if a sequence is desired.
+ :param arg_sequence: A sequence representing several git commands.
+ :param pager_prefix: An optional text to send to the pager first.
+ """
+ if arg_sequence is None:
+ if args is not None:
+ arg_sequence = (args,)
+ else:
+ raise ValueError("Missing `arg_sequence` or `args`")
+ elif args is not None:
+ raise ValueError("Unexpected both args and arg_sequence")
+
+ pager = git_get(["var", "GIT_PAGER"])
+ if not pager:
+ raise TbDevException("Missing a GIT_PAGER")
+ command = [pager]
+ if os.path.basename(pager) == "less":
+ # Show colours.
+ command.append("-R")
+
+ pager_process = subprocess.Popen(command, stdin=subprocess.PIPE, text=True)
+ assert pager_process.stdin is not None
+
+ if pager_prefix is not None:
+ pager_process.stdin.write(pager_prefix)
+ pager_process.stdin.flush()
+
+ for git_args in arg_sequence:
+ subprocess.run(
+ [GIT_PATH, "--no-pager", *git_args], check=False, stdout=pager_process.stdin
+ )
+
+ pager_process.stdin.close()
+
+ status = pager_process.wait()
+ if status != 0:
+ raise TbDevException(f"git pager {pager} exited with status {status}")
+
+
+def git_get(args: list[str], strip: bool = True, check: bool = True) -> str:
+ """
+ Return the output from a git command.
+ :param args: The arguments to send to git.
+ :param strip: Whether to strip the whitespace from the output.
+ :param check: Whether to check for success.
+ :returns: The stdout.
"""
try:
git_process = subprocess.run(
- [GIT_PATH, *args], text=True, stdout=subprocess.PIPE, check=True
+ [GIT_PATH, *args], text=True, stdout=subprocess.PIPE, check=check
)
except subprocess.CalledProcessError as err:
raise TbDevException(str(err)) from err
- return [line for line in git_process.stdout.split("\n") if line]
+ ret = git_process.stdout
+ if strip:
+ ret = ret.strip()
+ return ret
-local_root = None
+def git_lines(args: list[str]) -> Iterator[str]:
+ """
+ Yields the non-empty lines returned by the git command.
+ :param args: The arguments to send to git.
+ :yield: The lines.
+ """
+ for line in git_get(args, strip=False).split("\n"):
+ if not line:
+ continue
+ yield line
+
+
+def git_path_args(path_iter: Iterable[str]) -> Iterator[str]:
+ """
+ Generate the trailing arguments to specify paths in git commands, includes
+ the "--" separator just before the paths.
+ :param path_iter: The paths that should be passed in.
+ :yields: The git arguments.
+ """
+ yield "--"
+ for path in path_iter:
+ yield f":(literal){path}"
-def get_local_root():
+(a)functools.cache
+def get_local_root() -> str:
"""
Get the path for the tor-browser root directory.
+ :returns: The local root.
"""
- global local_root
- if local_root is None:
- try:
- # Make sure we have a matching remote in this git repository.
- if get_upstream_details()["is-browser-repo"]:
- local_root = git_get(["rev-parse", "--show-toplevel"])[0]
- else:
- local_root = ""
- except TbDevException:
- local_root = ""
- return local_root
+ try:
+ # Make sure we have a matching remote in this git repository.
+ if get_upstream_details()["is-browser-repo"] == "True":
+ return git_get(["rev-parse", "--show-toplevel"])
+ else:
+ return ""
+ except TbDevException:
+ return ""
-def determine_upstream_details():
+(a)functools.cache
+def get_upstream_details() -> dict[str, str]:
"""
- Determine details about the upstream.
+ Get details about the upstream repository.
+ :returns: The details.
"""
remote_urls = {
- remote: git_get(["remote", "get-url", remote])[0]
- for remote in git_get(["remote"])
+ remote: git_get(["remote", "get-url", remote])
+ for remote in git_lines(["remote"])
}
matches = {
@@ -102,7 +191,7 @@ def determine_upstream_details():
}
is_browser_repo = len(matches) > 0
- details = {"is-browser-repo": is_browser_repo}
+ details = {"is-browser-repo": str(is_browser_repo)}
origin_remote_repo = matches.get("origin", None)
upstream_remote_repo = matches.get("upstream", None)
@@ -125,31 +214,30 @@ def determine_upstream_details():
return details
-cached_upstream_details = None
-
-
-def get_upstream_details():
- """
- Get details about the upstream repository.
- """
- global cached_upstream_details
- if cached_upstream_details is None:
- cached_upstream_details = determine_upstream_details()
- return cached_upstream_details
-
-
class Reference:
"""Represents a git reference to a commit."""
- def __init__(self, name, commit):
- self.name = name
+ _REFS_REGEX = re.compile(r"refs/[a-z]+/")
+
+ def __init__(self, full_name: str, commit: str) -> None:
+ """
+ :param full_name: The full reference name. E.g. "refs/tags/MyTag".
+ :param commit: The commit hash for the commit this reference points to.
+ """
+ match = self.__class__._REFS_REGEX.match(full_name)
+ if not match:
+ raise ValueError(f"Invalid reference name {full_name}")
+ self.full_name = full_name
+ self.name = full_name[match.end() :]
self.commit = commit
-def get_refs(ref_type, name_start):
+def get_refs(ref_type: str, name_start: str) -> Iterator[Reference]:
"""
- Get a list of references that match the given 'ref_type' ("tag" or "remote"
- or "head") that starts with the given 'name_start'.
+ Get a list of references that match the given conditions.
+ :param ref_type: The ref type to search for ("tag" or "remote" or "head").
+ :param name_start: The ref name start to match against.
+ :yield: The matching references.
"""
if ref_type == "tag":
ref_start = "refs/tags/"
@@ -163,56 +251,83 @@ def get_refs(ref_type, name_start):
fstring = "%(*objectname),%(objectname),%(refname)"
pattern = f"{ref_start}{name_start}**"
- def line_to_ref(line):
+ def line_to_ref(line: str) -> Reference:
[objectname_reference, objectname, ref_name] = line.split(",", 2)
# For annotated tags, the objectname_reference is non-empty and points
# to an actual commit.
# For remotes, heads and lightweight tags, the objectname_reference will
# be empty and objectname will point directly to the commit.
- return Reference(
- ref_name.replace(ref_start, "", 1), objectname_reference or objectname
- )
+ return Reference(ref_name, objectname_reference or objectname)
- return [
+ return (
line_to_ref(line)
- for line in git_get(["for-each-ref", f"--format={fstring}", pattern])
- ]
+ for line in git_lines(["for-each-ref", f"--format={fstring}", pattern])
+ )
-def get_nearest_ref(ref_type, name_start, search_from):
+def get_firefox_ref(search_from: str) -> Reference:
"""
- Search backwards from the 'search_from' commit to find the first commit
- that matches the given 'ref_type' that starts with the given 'name_start'.
+ Search for the commit that comes from firefox.
+ :param search_from: The commit to search backwards from.
+ :returns: The firefox reference.
"""
- ref_list = get_refs(ref_type, name_start)
+ # Only search a limited history that should include the FIREFOX_ tag.
+ search_commits = [c for c in git_lines(["rev-list", "-1000", search_from])]
+
+ firefox_tag_prefix = "FIREFOX_"
- for commit in git_get(["rev-list", "-1000", search_from]):
- for ref in ref_list:
+ existing_tags = list(get_refs("tag", firefox_tag_prefix))
+ for commit in search_commits:
+ for ref in existing_tags:
if commit == ref.commit:
return ref
- raise TbDevException(f"No {name_start} commit found in the last 1000 commits")
-
-
-def get_firefox_ref(search_from):
+ # Might just need to fetch tags from the remote.
+ upstream = get_upstream_details().get("remote", None)
+ if upstream:
+ remote_ref: None | Reference = None
+ search_index = len(search_commits)
+ # Search the remote for a tag that is in our history.
+ # We want to avoid triggering a long fetch, so we just want to grab the
+ # tag that already points to a commit in our history.
+ for line in git_lines(
+ ["ls-remote", upstream, f"refs/tags/{firefox_tag_prefix}*"]
+ ):
+ objectname, name = line.split("\t", 1)
+ for index in range(search_index):
+ if search_commits[index] == objectname:
+ # Remove trailing "^{}" for commits pointed to by
+ # annotated tags.
+ remote_ref = Reference(re.sub(r"\^\{\}$", "", name), objectname)
+ # Only continue to search for references that are even
+ # closer to `search_from`.
+ search_index = index
+ break
+ if remote_ref is not None:
+ # Get a local copy of just this tag.
+ git_run(["fetch", "--no-tags", upstream, "tag", remote_ref.name])
+ return ref
+
+ raise TbDevException("Unable to find FIREFOX_ tag")
+
+
+def get_upstream_tracking_branch(search_from: str) -> str:
"""
- Search backwards from the 'search_from' commit to find the commit that comes
- from firefox.
+ :param search_from: The commit reference.
+ :returns: The upstream branch reference name.
"""
- return get_nearest_ref("tag", "FIREFOX_", search_from)
-
-
-def get_upstream_tracking_branch(search_from):
- return git_get(["rev-parse", "--abbrev-ref", f"{search_from}@{{upstream}}"])[0]
+ return git_get(["rev-parse", "--abbrev-ref", f"{search_from}@{{upstream}}"])
-def get_upstream_basis_commit(search_from):
+def get_upstream_basis_commit(search_from: str) -> str:
"""
Get the first common ancestor of search_from that is also in its upstream
branch.
+ :param search_from: The commit reference.
+ :returns: The upstream commit hash.
"""
upstream_branch = get_upstream_tracking_branch(search_from)
- commit = git_get(["merge-base", search_from, upstream_branch])[0]
+ commit = git_get(["merge-base", search_from, upstream_branch])
# Verify that the upstream commit shares the same firefox basis. Otherwise,
# this would indicate that the upstream is on an early or later FIREFOX
# base.
@@ -226,26 +341,82 @@ def get_upstream_basis_commit(search_from):
return commit
-def get_changed_files(from_commit, staged=False):
+class FileChange:
+ """Represents a git change to a commit."""
+
+ def __init__(self, status: str, path: str, new_path: str) -> None:
+ """
+ :param status: The file change status used within git diff. E.g. "M" for
+ modified, or "D" for deleted.
+ :param path: The source file path.
+ :param new_path: The file path after the change.
+ """
+ self.status = status
+ self.path = path
+ self.new_path = new_path
+
+
+RAW_DIFF_PATH_PATTERN = r"(?P<path>[^\0]*)\0"
+RAW_DIFF_LINE_REGEX = re.compile(
+ r":[0-7]+ [0-7]+ [0-9a-f]+ [0-9a-f]+ (?P<status>[ADMTUXRC])[0-9]*\0"
+ + RAW_DIFF_PATH_PATTERN
+)
+RAW_DIFF_PATH_REGEX = re.compile(RAW_DIFF_PATH_PATTERN)
+
+
+def parse_raw_diff_line(raw_output: str) -> tuple[FileChange, int]:
"""
- Get a list of filenames relative to the current working directory that have
+ Parse the --raw diff output from git.
+ :param raw_output: The raw output.
+ :returns: The change for this line, and the offset for the end of the raw
+ diff line.
+ """
+ match = RAW_DIFF_LINE_REGEX.match(raw_output)
+ if not match:
+ raise ValueError(f"Invalid raw output: {raw_output[:50]}...")
+ path = os.path.relpath(os.path.join(get_local_root(), match.group("path")))
+ status = match.group("status")
+ if status in ("R", "C"):
+ match = RAW_DIFF_PATH_REGEX.match(raw_output, pos=match.end())
+ if not match:
+ raise ValueError(f"Invalid raw output for rename: {raw_output[:50]}...")
+ new_path = os.path.relpath(os.path.join(get_local_root(), match.group("path")))
+ else:
+ new_path = path
+
+ return FileChange(status, path, new_path), match.end()
+
+
+def get_changed_files(
+ from_commit: None | str = None, staged: bool = False
+) -> Iterator[FileChange]:
+ """
+ Get a list of file changes relative to the current working directory that have
been changed since 'from_commit' (non-inclusive).
+ :param from_commit: The commit to compare against, otherwise use the git
+ diff default.
+ :param staged: Whether to limit the diff to staged changes.
+ :yield: The file changes.
"""
- args = ["diff"]
+ args = ["diff", "-z", "--raw"]
if staged:
args.append("--staged")
- args.append("--name-only")
- args.append(from_commit)
- return [
- os.path.relpath(os.path.join(get_local_root(), filename))
- for filename in git_get(args)
- ]
+ if from_commit:
+ args.append(from_commit)
+ raw_output = git_get(args, strip=False)
+ while raw_output:
+ file_change, end = parse_raw_diff_line(raw_output)
+ yield file_change
+ raw_output = raw_output[end:]
-def file_contains(filename, regex):
+def file_contains(filename: str, regex: re.Pattern[str]) -> bool:
"""
Return whether the file is a utf-8 text file containing the regular
expression given by 'regex'.
+ :param filename: The file path.
+ :param regex: The pattern to search for.
+ :returns: Whether the pattern was matched.
"""
with open(filename, encoding="utf-8") as file:
try:
@@ -258,9 +429,10 @@ def file_contains(filename, regex):
return False
-def get_gitlab_default():
+def get_gitlab_default() -> str:
"""
Get the name of the default branch on gitlab.
+ :returns: The branch name.
"""
repo_name = get_upstream_details().get("repo-name", None)
if repo_name is None:
@@ -283,12 +455,14 @@ def get_gitlab_default():
)
with urllib.request.urlopen(gitlab_request, timeout=20) as response:
- return json.load(response)["data"]["project"]["repository"]["rootRef"]
+ default = json.load(response)["data"]["project"]["repository"]["rootRef"]
+ assert isinstance(default, str)
+ return default
-def within_browser_root():
+def within_browser_root() -> bool:
"""
- Whether we are with the tor browser root.
+ :returns: Whether we are with the tor browser root.
"""
root = get_local_root()
if not root:
@@ -301,24 +475,24 @@ def within_browser_root():
# * -------------------- *
-def show_firefox_commit(_args):
+def show_firefox_commit(_args: argparse.Namespace) -> None:
"""
Print the tag name and commit for the last firefox commit below the current
HEAD.
"""
ref = get_firefox_ref("HEAD")
- print(ref.name)
+ print(ref.full_name)
print(ref.commit)
-def show_upstream_basis_commit(_args):
+def show_upstream_basis_commit(_args: argparse.Namespace) -> None:
"""
Print the last upstream commit for the current HEAD.
"""
print(get_upstream_basis_commit("HEAD"))
-def show_log(args):
+def show_log(args: argparse.Namespace) -> None:
"""
Show the git log between the current HEAD and the last firefox commit.
"""
@@ -326,7 +500,7 @@ def show_log(args):
git_run(["log", f"{commit}..HEAD", *args.gitargs], check=False)
-def show_files_containing(args):
+def show_files_containing(args: argparse.Namespace) -> None:
"""
List all the files that that have been modified for tor browser, that also
contain a regular expression.
@@ -336,33 +510,32 @@ def show_files_containing(args):
except re.error as err:
raise TbDevException(f"{args.regex} is not a valid python regex") from err
- file_list = get_changed_files(get_firefox_ref("HEAD").commit)
-
- for filename in file_list:
- if not os.path.isfile(filename):
+ for file_change in get_changed_files(get_firefox_ref("HEAD").commit):
+ path = file_change.new_path
+ if not os.path.isfile(path):
# deleted ofile
continue
- if file_contains(filename, regex):
- print(filename)
+ if file_contains(path, regex):
+ print(path)
-def show_changed_files(_args):
+def show_changed_files(_args: argparse.Namespace) -> None:
"""
List all the files that have been modified relative to upstream.
"""
- for filename in get_changed_files(get_upstream_basis_commit("HEAD")):
- print(filename)
+ for file_change in get_changed_files(get_upstream_basis_commit("HEAD")):
+ print(file_change.new_path)
-def lint_changed_files(args):
+def lint_changed_files(args: argparse.Namespace) -> None:
"""
Lint all the files that have been modified relative to upstream.
"""
os.chdir(get_local_root())
file_list = [
- f
+ f.new_path
for f in get_changed_files(get_upstream_basis_commit("HEAD"))
- if os.path.isfile(f) # Not deleted
+ if os.path.isfile(f.new_path) # Not deleted
]
# We add --warnings since clang only reports whitespace issues as warnings.
subprocess.run(
@@ -371,10 +544,18 @@ def lint_changed_files(args):
)
-def prompt_user(prompt, convert):
+# TODO: replace with "prompt_user[T](..., T]) -> T" after python 3.12 is the
+# minimum mach version.
+T = TypeVar("T")
+
+
+def prompt_user(prompt: str, convert: Callable[[str], T]) -> T:
"""
- Ask the user for some input until the given converter returns without
- throwing a ValueError.
+ Ask the user for some input.
+ :param prompt: The prompt to show the user.
+ :param convert: A method to convert the response into a type. Should
+ throw `ValueError` if the user should be re-prompted for a valid input.
+ :returns: The first valid user response.
"""
while True:
# Flush out stdin.
@@ -388,8 +569,12 @@ def prompt_user(prompt, convert):
pass
-def binary_reply_default_no(value):
- """Process a 'y' or 'n' reply, defaulting to 'n' if empty."""
+def binary_reply_default_no(value: str) -> bool:
+ """
+ Process a 'y' or 'n' reply, defaulting to 'n' if empty.
+ :param value: The user input.
+ :returns: Whether the answer is yes.
+ """
if value == "":
return False
if value.lower() == "y":
@@ -399,121 +584,737 @@ def binary_reply_default_no(value):
raise ValueError()
-def get_fixup_for_file(filename, firefox_commit):
- """Find the commit the given file should fix up."""
+class FixupTarget:
+ """Represents a commit that can be targeted by a fixup."""
+
+ def __init__(self, commit: str, short_ref: str, title: str) -> None:
+ """
+ :param commit: The commit hash for the commit.
+ :param short_ref: The shortened commit hash for display.
+ :param title: The first line of the commit message.
+ """
+ self.commit = commit
+ self.short_ref = short_ref
+ self.title = title
+ self.changes: list[FileChange] = []
+ self.fixups: list[FixupTarget] = []
+ self.target: None | FixupTarget = None
+
+ _FIXUP_REGEX = re.compile(r"^fixup! +")
+
+ def trim_fixup(self) -> tuple[str, int]:
+ """
+ Trim the "fixup!" prefixes.
+ :returns: The stripped commit title and the fixup depth (how many fixups
+ prefixes there were).
+ """
+ title = self.title
+ depth = 0
+ while True:
+ match = self.__class__._FIXUP_REGEX.match(title)
+ if not match:
+ return title, depth
+ title = title[match.end() :]
+ depth += 1
+
+ def touches_path(
+ self, path: str, filter_status: None | str = None, check_dir: bool = False
+ ) -> bool:
+ """
+ Whether this target, or one of its fixups or target, touches the given
+ path.
+ :param path: The path to check.
+ :param filter_status: Limit the detected changes to the given status(es).
+ :param check_dir: Whether we should treat `path` as a directory and check for
+ files within it.
+ :returns: Whether this target matches.
+ """
+ # NOTE: In the case of renames, we generally assume that renames occur
+ # in the fixup targets. E.g. "Commit 1" creates the file "file.txt", and
+ # "fixup! Commit 1" renames it to "new.txt". In this case, if the
+ # FixupTarget for "Commit 1" is passed in "file.txt" it will match. And
+ # if it is passed in "new.txt" it will also match via the self.fixups
+ # field, which will include the "fixup! Commit 1" rename.
+ # But the "fixup ! Commit 1" FixupTargets will only match with
+ # "file.txt" if they occurred before the rename fixup, and will only
+ # match with "new.txt" if they occur after the rename fixup. With the
+ # exception of the rename fixup itself, which will match both.
+ #
+ # In principle, we could identify a file across renames (have a mapping
+ # from each commit to what the file is called at that stage) and match
+ # using this file identifier. Similar to the "--follow" git diff
+ # argument. This would then cover cases where a rename occurs between
+ # the commit and its fixups, and allow fixups before the rename to also
+ # match. However, the former case is unexpected and the latter case
+ # would not be that useful.
+ if self._touches_path_basis(path, filter_status, check_dir):
+ return True
+ # Mark this as a valid target for the path if one of our fixups changes
+ # this path.
+ # NOTE: We use _touch_path_basis to prevent recursion. This means we
+ # will only check one layer up or down, but we only expect fixups of
+ # up to depth 1.
+ for fixup_target in self.fixups:
+ if fixup_target._touches_path_basis(path, filter_status, check_dir):
+ return True
+ # Mark this as a valid target if our target changes this path.
+ if self.target is not None and self.target._touches_path_basis(
+ path, filter_status, check_dir
+ ):
+ return True
+ return False
+
+ def _touches_path_basis(
+ self, path: str, filter_status: None | str, check_dir: bool
+ ) -> bool:
+ """
+ Whether this target touches the given path.
+ :param path: The path to check.
+ :param filter_status: Limit the detected changes to the given status.
+ :param check_dir: Whether we should treat `path` as a directory and check for
+ files within it.
+ :returns: Whether this target matches.
+ """
+ for file_change in self.changes:
+ if filter_status is not None and file_change.status not in filter_status:
+ continue
+ for test_path in (file_change.path, file_change.new_path):
+ if check_dir:
+ if os.path.commonpath((os.path.dirname(test_path), path)) == path:
+ # test_path's directory matches the path or is within it.
+ return True
+ elif test_path == path:
+ return True
+ return False
+
+
+def get_fixup_targets(
+ target_list: list[FixupTarget],
+ from_commit: str,
+ to_commit: str,
+ fixup_depth: int = 0,
+) -> None:
+ """
+ Find all the commits that can be targeted by a fixup between the given
+ commits.
+ :param target_list: The list to fill with targets. Appended in the order of
+ `from_commit` to `to_commit`.
+ :param from_commit: The commit to start from (non-inclusive).
+ :param to_commit: The commit to end on (inclusive).
+ :param fixup_depth: The maximum "depth" of fixups. I.e. how many "fixup!"
+ prefixes to allow.
+ """
+ raw_output = git_get(
+ [
+ "log",
+ "--pretty=format:%H,%h,%s",
+ "--reverse",
+ "--raw",
+ "-z",
+ f"{from_commit}..{to_commit}",
+ ],
+ strip=False,
+ )
+ pretty_regex = re.compile(
+ r"(?P<commit>[0-9a-f]+),(?P<short_ref>[0-9a-f]+),(?P<title>[^\n\0]*)\n"
+ )
+ excluded_regex_list = [
+ re.compile(r"^Bug [0-9]+.*r="), # Backported Mozilla bug.
+ re.compile(r"^dropme! "),
+ ]
+
+ while raw_output:
+ match = pretty_regex.match(raw_output)
+ if not match:
+ raise ValueError(f"Invalid pretty format: {raw_output[:100]}...")
+ fixup_target = FixupTarget(
+ match.group("commit"), match.group("short_ref"), match.group("title")
+ )
+ raw_output = raw_output[match.end() :]
+ while raw_output and raw_output[0] != "\0":
+ file_change, end = parse_raw_diff_line(raw_output)
+ fixup_target.changes.append(file_change)
+ raw_output = raw_output[end:]
+ if raw_output:
+ # Skip over the "\0".
+ raw_output = raw_output[1:]
+
+ for regex in excluded_regex_list:
+ if regex.match(fixup_target.title):
+ # Exclude from the list.
+ continue
+
+ trimmed_title, depth = fixup_target.trim_fixup()
+ if depth:
+ original_target = None
+ for target in target_list:
+ if target.title == trimmed_title:
+ original_target = target
+ break
+
+ if original_target:
+ original_target.fixups.append(fixup_target)
+ fixup_target.target = original_target
+ if depth > fixup_depth:
+ # Exclude from the list.
+ continue
+
+ target_list.append(fixup_target)
+
+
+class NewCommitBasis:
+ def __init__(self) -> None:
+ self.staged_paths: set[str] = set()
+ self.adding_paths: set[str] = set()
+
+ def add(self, paths: Iterable[str], staged: bool) -> None:
+ """
+ Add a path to include in this commit.
+ :param paths: The paths to add.
+ :param staged: Whether we are adding already staged changes.
+ """
+ if staged:
+ self.staged_paths.update(paths)
+ return
+
+ self.adding_paths.update(paths)
+
+
+class NewCommit(NewCommitBasis):
+ """Represents a new commit that we want to create."""
- def parse_log_line(line):
- [commit, short_ref, title] = line.split(",", 2)
- return {"commit": commit, "short-ref": short_ref, "title": title}
+ def __init__(self, alias: str) -> None:
+ """
+ :param alias: The alias name for the commit.
+ """
+ super().__init__()
+ self.alias = alias
- options = [
- parse_log_line(line)
- for line in git_get(
- [
- "log",
- "--pretty=format:%H,%h,%s",
- f"{firefox_commit}..HEAD",
- "--",
- filename,
- ]
+
+class NewFixup(NewCommitBasis):
+ """Represents a new fixup commit that we want to create."""
+
+ def __init__(self, target: FixupTarget) -> None:
+ """
+ :param target: The commit to target with the fixup.
+ """
+ super().__init__()
+ self.target = target
+
+
+def get_suggested_fixup_targets_for_change(
+ file_change: FileChange,
+ fixup_target_list: list[FixupTarget],
+ firefox_directories_lazy: Callable[[], set[str]],
+) -> Iterator[FixupTarget]:
+ """
+ Find the suggested fixup targets for the given file change.
+ :param file_change: The file change to get a suggestion for.
+ :param fixup_target_list: The list to choose from.
+ :param firefox_directories_lazy: Lazy method to return the firefox
+ directories.
+ :yield: The suggested fixup targets.
+ """
+
+ def filter_list(
+ path: str, filter_status: None | str = None, check_dir: bool = False
+ ) -> Iterator[FixupTarget]:
+ return (
+ t
+ for t in fixup_target_list
+ if t.touches_path(path, filter_status=filter_status, check_dir=check_dir)
)
+
+ if file_change.status == "D":
+ # Deleted.
+ # Find the commit that introduced this file or previously deleted it.
+ # I.e. added the file ("A"), renamed it ("R"), or deleted it ("D").
+ yield from filter_list(file_change.path, filter_status="ARD")
+ return
+
+ if file_change.status == "A":
+ # First check to see if this file name was actually touched before.
+ yielded_target = False
+ for target in filter_list(file_change.path):
+ yielded_target = True
+ yield target
+ if yielded_target:
+ return
+ # Else, find commits that introduced files in the same directory, or
+ # deleted in them, if they are not firefox directories.
+ dir_path = file_change.path
+ while True:
+ dir_path = os.path.dirname(dir_path)
+ if not dir_path or dir_path in firefox_directories_lazy():
+ return
+
+ yielded_target = False
+ for target in filter_list(dir_path, filter_status="ARD", check_dir=True):
+ yielded_target = True
+ yield target
+
+ if yielded_target:
+ return
+ # Else, search one directory higher.
+
+ if file_change.status == "R":
+ # Renamed.
+ # Find the commit that introduced the original name for this file.
+ yield from filter_list(file_change.path, filter_status="AR")
+ return
+
+ # Modified.
+ yield from filter_list(file_change.path)
+
+
+def ask_for_target(
+ file_change_list: list[FileChange],
+ new_commits_list: list[NewCommit | NewFixup],
+ suggested_fixup_target_list: list[FixupTarget],
+ full_fixup_target_list: list[FixupTarget],
+ staged: bool = False,
+) -> bool:
+ """
+ Ask the user to choose a target.
+ :param file_change_list: The file changes to ask for.
+ :param new_commits_list: The list of pending new commits, may be added to.
+ :param suggested_fixup_target_list: The list of suggested target fixups
+ to choose from.
+ :param staged: Whether this is for staged changes.
+ :returns: `True` if the operation should be aborted.
+ """
+
+ new_paths = [c.new_path for c in file_change_list]
+ all_paths = set(new_paths).union(c.path for c in file_change_list)
+ non_fixup_commits: list[NewCommit] = [
+ n for n in new_commits_list if isinstance(n, NewCommit)
]
- if not options:
- print(f"No commit found for {filename}")
- return None
- def valid_index(val):
+ shown_list: list[NewCommit | FixupTarget] = (
+ non_fixup_commits + suggested_fixup_target_list
+ )
+
+ can_skip = not staged
+ shown_full = False
+
+ index_offset = 2
+
+ def valid_response(val: str) -> tuple[str, None | NewCommit | FixupTarget]:
+ val = val.strip()
+
+ if val == "h":
+ return "help", None
+
+ if val == "a":
+ return "abort", None
+
if val == "d":
- return val
+ return "diff", None
+
+ if val == "f":
+ if shown_full:
+ # Already done once.
+ raise ValueError()
+ return "full-list", None
+ is_patch_full = val.startswith("P")
is_patch = val.startswith("p")
- if is_patch:
- val = val[1:]
+ if is_patch or is_patch_full:
+ index = int(val[1:], base=10) # Raises ValueError if not integer.
+ else:
+ index = int(val, base=10) # Raises ValueError if not integer.
+ if index == 0:
+ if not can_skip:
+ raise ValueError()
+ return "skip", None
+
+ if index == 1:
+ return "new", None
- # May raise a ValueError.
- as_index = int(val)
- if as_index < 0 or as_index > len(options):
+ index -= index_offset
+
+ if index < 0 or index >= len(shown_list):
raise ValueError()
- if as_index == 0:
- if is_patch:
+ selected = shown_list[index]
+
+ if is_patch_full:
+ return "patch-full", selected
+ if is_patch:
+ return "patch", selected
+ return "target", selected
+
+ def alias_response(val: str) -> str:
+ # Choose a default alias name if none is given.
+ val = val.strip() or f"New commit {len(non_fixup_commits)}"
+ for new_commit in non_fixup_commits:
+ if new_commit.alias == val:
+ # Already in use.
raise ValueError()
- return None
+ return val
+
+ def print_index_option(index: int, description: str) -> None:
+ print(f" \x1b[1m{index}\x1b[0m: {description}")
- return (is_patch, options[as_index - 1]["commit"])
+ def in_pink(text: str) -> str:
+ return f"\x1b[1;38;5;212m{text}\x1b[0m"
+ prefix_str = "For " + (in_pink("staged") if staged else "unstaged") + " changes to"
+ if len(new_paths) == 1:
+ print(f"{prefix_str} {in_pink(new_paths[0])}:")
+ else:
+ print(f"{prefix_str}:")
+ for path in new_paths:
+ print(f" {in_pink(path)}")
+ print("")
+
+ show_help = True
+ reshow_list = True
while True:
- print(f"For {filename}:\n")
- print(" \x1b[1m0\x1b[0m: None")
- for index, opt in enumerate(options):
- print(
- f" \x1b[1m{index + 1}\x1b[0m: "
- + f"\x1b[1;38;5;212m{opt['short-ref']}\x1b[0m "
- + opt["title"]
- )
+ if reshow_list:
+ if can_skip:
+ print_index_option(0, "Skip")
+ print_index_option(1, "New commit")
+ for index, target in enumerate(shown_list, start=index_offset):
+ if isinstance(target, NewCommit):
+ print_index_option(index, f"Add to new commit: {target.alias}")
+ else:
+ print_index_option(
+ index, f"Fixup: {in_pink(target.short_ref)} {target.title}"
+ )
+ reshow_list = False
print("")
- response = prompt_user(
- "Choose an <index> to fixup, or '0' to skip this file, "
- "or 'd' to view the pending diff, "
- "or 'p<index>' to view the patch for the index: ",
- valid_index,
+
+ response, selected = prompt_user(
+ (
+ "Choose an <index> to target. Type 'h' for additional options: "
+ if show_help
+ else "Choose an <index> to target or an option: "
+ ),
+ valid_response,
)
- if response is None:
- # Skip this file.
- return None
- if response == "d":
- git_run(["diff", "--", filename])
+ if response == "help":
+ print("Options:")
+ for option, desc in (
+ ("h", "show the available options."),
+ ("a", "abort this commit operation and all pending commits."),
+ (
+ ("", "")
+ if shown_full
+ else (
+ "f",
+ "show the full list of fixup targets, rather than just the suggested ones.",
+ )
+ ),
+ ("d", "view the diff for the pending file changes."),
+ (
+ "P<index>",
+ "view the patch for the index (including its relevant fixups).",
+ ),
+ (
+ "p<index>",
+ "view the patch for the index (including its relevant fixups), "
+ "limited to the current files.",
+ ),
+ ):
+ if not option:
+ # Skip this option.
+ continue
+ print(f" \x1b[1m{option[0]}\x1b[0m{option[1:].ljust(7)}: {desc}")
+ # Do not show the help option again.
+ show_help = False
+ continue
+
+ if response == "abort":
+ return True
+
+ if response == "skip":
+ return False
+
+ if response == "new":
+ new_alias = prompt_user(
+ "Enter an optional temporary alias for this new commit: ",
+ alias_response,
+ )
+ new_commit = NewCommit(new_alias)
+ new_commit.add(all_paths, staged)
+ new_commits_list.append(new_commit)
+ return False
+
+ if response == "target":
+ assert selected is not None
+
+ if isinstance(selected, NewCommit):
+ # Adding to a new commit.
+ selected.add(all_paths, staged)
+ return False
+
+ for new_fixup in new_commits_list:
+ if not isinstance(new_fixup, NewFixup):
+ continue
+ if new_fixup.target == selected:
+ # We already have a pending fixup commit that targets this
+ # selected target. Add this path to the same commit.
+ new_fixup.add(all_paths, staged)
+ return False
+
+ new_fixup = NewFixup(selected)
+ new_fixup.add(all_paths, staged)
+ new_commits_list.append(new_fixup)
+ return False
+
+ if response == "full-list":
+ shown_list = non_fixup_commits + full_fixup_target_list
+ shown_full = True
+ reshow_list = True
continue
- view_patch, commit = response
- if view_patch:
- git_run(["log", "-p", "-1", commit, "--", filename])
+ if response == "diff":
+ git_args = ["diff", "--color"]
+ if staged:
+ git_args.append("--staged")
+ git_args.extend(git_path_args(all_paths))
+ git_run_pager(git_args)
continue
- return commit
+ if response in ("patch", "patch-full"):
+ assert selected is not None
+
+ filter_paths = response == "patch"
+
+ if isinstance(selected, NewCommit):
+ git_sequence = [
+ ["diff", "--color", "--staged", *git_path_args((path,))]
+ for path in selected.staged_paths
+ if not filter_paths or path in all_paths
+ ]
+ git_sequence.extend(
+ ["diff", "--color", *git_path_args((path,))]
+ for path in selected.adding_paths
+ if not filter_paths or path in all_paths
+ )
+
+ # Show what the expected patch will be for the new commit.
+ git_run_pager(
+ arg_sequence=git_sequence, pager_prefix=f"{selected.alias}\n\n"
+ )
+ else:
+ # Show the log entry for the FixupTarget and each of its fixups.
+ # Order with the commmit closest to HEAD first. We expect
+ # selected.fixups to match this order.
+ git_sequence = []
+ # If `filter_paths` is set, we want to limit the log to the
+ # paths, and try to track any renames in the commit history.
+ prev_log_paths: None | set[str] = None
+ # For the first commit in the sequence, we use the old path
+ # names (rather than `c.new_path`) since we expect the commit
+ # which is closest to us to use the older names.
+ log_paths: None | set[str] = (
+ {c.path for c in file_change_list} if filter_paths else None
+ )
+ for target in (*selected.fixups, selected):
+ git_args = [
+ "log",
+ "--color",
+ "-p",
+ f"{target.commit}~1..{target.commit}",
+ ]
+ if filter_paths:
+ assert log_paths is not None
+ # Track the renamed paths.
+ prev_log_paths = log_paths.copy()
+ for file_change in target.changes:
+ if (
+ file_change.status == "R"
+ and file_change.new_path in log_paths
+ ):
+ # file was renamed in this change.
+ # Update log_paths to the new name.
+ # NOTE: This should have a similar effect to the
+ # --follow option for git log for a single file
+ # NOTE: File renames will not be properly
+ # tracked if a rename occurs outside of
+ # `selected.changes` or
+ # `selected.fixups[].changes`, but this is
+ # unexpected.
+ log_paths.remove(file_change.new_path)
+ log_paths.add(file_change.path)
+
+ # NOTE: This log entry may be empty if none of the paths
+ # match.
+ # NOTE: We include both log_paths and prev_log_paths to
+ # show renames in the diff output.
+ git_args.extend(git_path_args(log_paths | prev_log_paths))
+ git_sequence.append(git_args)
+ # Combine all the logs into one.
+ git_run_pager(arg_sequence=git_sequence)
+ continue
+
+ raise ValueError(f"Unexpected response: {response}")
-def auto_fixup(_args):
+def auto_commit(_args: argparse.Namespace) -> None:
"""
- Automatically find and fix up commits using the current unstaged changes.
+ Automatically find and fix up commits for any pending changes.
"""
+ # Want git log and add to be run from the root.
+ os.chdir(get_local_root())
# Only want to search as far back as the firefox commit.
firefox_commit = get_firefox_ref("HEAD").commit
- staged_files = get_changed_files("HEAD", staged=True)
- if staged_files:
- raise TbDevException(f"Have already staged files: {staged_files}")
+ staged_changes = [f for f in get_changed_files(staged=True)]
+ if staged_changes:
+ print("Existing staged changes for:")
+ for file_change in staged_changes:
+ print(f" {file_change.new_path}")
+ if not prompt_user(
+ "Include staged changes? (y/\x1b[4mn\x1b[0m)", binary_reply_default_no
+ ):
+ raise TbDevException("Cannot continue with pending staged changes")
+ print("")
- fixups = {}
- for filename in get_changed_files("HEAD"):
- commit = get_fixup_for_file(filename, firefox_commit)
- if commit is None:
+ full_target_list: list[FixupTarget] = []
+ # Determine if HEAD points to a branch or not and has an upstream commit.
+ # We choose check=False since the exit status is non-zero when we are in a
+ # detached state.
+ head_symbolic_ref = git_get(["symbolic-ref", "-q", "HEAD"], check=False)
+ if not head_symbolic_ref or not bool(
+ git_get(["for-each-ref", "--format=%(upstream)", head_symbolic_ref])
+ ):
+ # Unexpected, but not fatal.
+ print("HEAD has no upstream tracking!")
+ # Just include all commits since firefox_commit with no fixup depth
+ get_fixup_targets(full_target_list, firefox_commit, "HEAD", fixup_depth=0)
+ else:
+ upstream_commit = get_upstream_basis_commit("HEAD")
+ # Only include "fixup!" commits that are between here and the upstream
+ # tracking commit.
+ get_fixup_targets(
+ full_target_list, firefox_commit, upstream_commit, fixup_depth=0
+ )
+ get_fixup_targets(full_target_list, upstream_commit, "HEAD", fixup_depth=1)
+
+ # full_target_list is ordered with the earlier commits first. Reverse this.
+ full_target_list.reverse()
+ # Also reverse the fixups order to follow the same order.
+ for target in full_target_list:
+ target.fixups.reverse()
+
+ # Lazy load the list of firefox directories since they are unlikely to be
+ # needed.
+ @functools.cache
+ def firefox_directories_lazy() -> set[str]:
+ return {
+ dir_name
+ for dir_name in git_get(
+ [
+ "ls-tree",
+ "-r",
+ "-d",
+ "--name-only",
+ "--full-tree",
+ "-z",
+ firefox_commit,
+ ],
+ strip=False,
+ ).split("\0")
+ if dir_name
+ }
+
+ # Check untracked files to be added.
+ for path in git_get(
+ ["ls-files", "--other", "--exclude-standard", "-z"], strip=False
+ ).split("\0"):
+ if not path:
continue
- if commit not in fixups:
- fixups[commit] = [filename]
- else:
- fixups[commit].append(filename)
+ if prompt_user(
+ f"Start tracking file `{path}`? (y/\x1b[4mn\x1b[0m)",
+ binary_reply_default_no,
+ ):
+ # Include in the git diff output, but do not stage.
+ git_run(["add", "--intent-to-add", path])
print("")
- for commit, files in fixups.items():
- print("")
- git_run(["add", *files])
- git_run(["commit", f"--fixup={commit}"])
+ aborted = False
+ new_commits_list: list[NewCommit | NewFixup] = []
+ # First go through staged changes.
+ if staged_changes:
+ common_fixup_targets = None
+ for change in staged_changes:
+ target_iter = get_suggested_fixup_targets_for_change(
+ change, full_target_list, firefox_directories_lazy
+ )
+ if common_fixup_targets is None:
+ common_fixup_targets = set(target_iter)
+ else:
+ common_fixup_targets.intersection_update(target_iter)
+
+ assert common_fixup_targets is not None
+
+ aborted = ask_for_target(
+ staged_changes,
+ new_commits_list,
+ # Sort in the same order as full_target_list.
+ [target for target in full_target_list if target in common_fixup_targets],
+ full_target_list,
+ staged=True,
+ )
print("")
- if prompt_user(
- "Edit fixup commit message? (y/\x1b[4mn\x1b[0m)", binary_reply_default_no
- ):
+ if not aborted:
+ for file_change in get_changed_files():
+ target_list = list(
+ get_suggested_fixup_targets_for_change(
+ file_change, full_target_list, firefox_directories_lazy
+ )
+ )
+ aborted = ask_for_target(
+ [file_change],
+ new_commits_list,
+ target_list,
+ full_target_list,
+ staged=False,
+ )
+ print("")
+ if aborted:
+ break
+
+ if aborted:
+ return
+
+ # NOTE: Only the first commit can include staged changes.
+ # This should already be the case, but we want to double check.
+ for commit_index in range(1, len(new_commits_list)):
+ if new_commits_list[commit_index].staged_paths:
+ raise ValueError(f"Staged changes for commit {commit_index}")
+
+ for new_commit in new_commits_list:
+ print("")
+ if new_commit.adding_paths:
+ git_run(["add", *git_path_args(new_commit.adding_paths)])
+ if isinstance(new_commit, NewFixup):
+ git_run(["commit", f"--fixup={new_commit.target.commit}"])
+ print("")
+ is_double_fixup = bool(new_commit.target.target)
+ if not is_double_fixup and prompt_user(
+ "Edit fixup commit message? (y/\x1b[4mn\x1b[0m)",
+ binary_reply_default_no,
+ ):
+ git_run(["commit", "--amend"])
+ print("")
+ else:
+ git_run(["commit", "-m", new_commit.alias])
git_run(["commit", "--amend"])
+ print("")
-def clean_fixups(_args):
+def clean_fixups(_args: argparse.Namespace) -> None:
"""
Perform an interactive rebase that automatically applies fixups, similar to
--autosquash but also works on fixups of fixups.
"""
- user_editor = git_get(["var", "GIT_SEQUENCE_EDITOR"])[0]
+ user_editor = git_get(["var", "GIT_SEQUENCE_EDITOR"])
sub_editor = os.path.join(
os.path.dirname(os.path.realpath(__file__)), FIXUP_PREPROCESSOR_EDITOR
)
@@ -525,7 +1326,7 @@ def clean_fixups(_args):
)
-def show_default(_args):
+def show_default(_args: argparse.Namespace) -> None:
"""
Print the default branch name from gitlab.
"""
@@ -536,7 +1337,7 @@ def show_default(_args):
print(f"{upstream}/{default_branch}")
-def branch_from_default(args):
+def branch_from_default(args: argparse.Namespace) -> None:
"""
Fetch the default gitlab branch from upstream and create a new local branch.
"""
@@ -557,7 +1358,7 @@ def branch_from_default(args):
)
-def move_to_default(args):
+def move_to_default(args: argparse.Namespace) -> None:
"""
Fetch the default gitlab branch from upstream and move the specified
branch's commits on top. A new branch will be created tracking the default
@@ -569,7 +1370,7 @@ def move_to_default(args):
if branch_name is None:
# Use current branch as default.
try:
- branch_name = git_get(["branch", "--show-current"])[0]
+ branch_name = git_get(["branch", "--show-current"])
except IndexError:
raise TbDevException("No current branch")
@@ -608,7 +1409,7 @@ def move_to_default(args):
git_run(["cherry-pick", f"{current_basis}..{old_branch_name}"], check=False)
-def show_range_diff(args):
+def show_range_diff(args: argparse.Namespace) -> None:
"""
Show the range diff between two branches, from their firefox bases.
"""
@@ -624,21 +1425,21 @@ def show_range_diff(args):
)
-def show_diff_diff(args):
+def show_diff_diff(args: argparse.Namespace) -> None:
"""
Show the diff between the diffs of two branches, relative to their firefox
bases.
"""
- config_res = git_get(["config", "--get", "diff.tool"])
- if not config_res:
+ try:
+ diff_tool = next(git_lines(["config", "--get", "diff.tool"]))
+ except StopIteration:
raise TbDevException("No diff.tool configured for git")
- diff_tool = config_res[0]
# Filter out parts of the diff we expect to be different.
index_regex = re.compile(r"index [0-9a-f]{12}\.\.[0-9a-f]{12}")
lines_regex = re.compile(r"@@ -[0-9]+,[0-9]+ \+[0-9]+,[0-9]+ @@(?P<rest>.*)")
- def save_diff(branch):
+ def save_diff(branch: str) -> str:
firefox_commit = get_firefox_ref(branch).commit
file_desc, file_name = tempfile.mkstemp(
text=True, prefix=f'{branch.split("/")[-1]}-'
@@ -653,6 +1454,7 @@ def show_diff_diff(args):
)
with os.fdopen(file_desc, "w") as file:
+ assert diff_process.stdout is not None
for line in diff_process.stdout:
if index_regex.match(line):
# Fake data that will match.
@@ -665,7 +1467,7 @@ def show_diff_diff(args):
continue
file.write(line)
- status = diff_process.poll()
+ status = diff_process.wait()
if status != 0:
raise TbDevException(f"git diff exited with status {status}")
@@ -681,7 +1483,7 @@ def show_diff_diff(args):
# * -------------------- *
-def branch_complete(prefix, parsed_args, **kwargs):
+def branch_complete(prefix: str, **_kwargs: Any) -> list[str]:
"""
Complete the argument with a branch name.
"""
@@ -689,7 +1491,7 @@ def branch_complete(prefix, parsed_args, **kwargs):
return []
try:
branches = [ref.name for ref in get_refs("head", "")]
- branches.extend([ref.name for ref in get_refs("remote", "")])
+ branches.extend(ref.name for ref in get_refs("remote", ""))
branches.append("HEAD")
except Exception:
return []
@@ -699,7 +1501,20 @@ def branch_complete(prefix, parsed_args, **kwargs):
parser = argparse.ArgumentParser()
subparsers = parser.add_subparsers(required=True)
-for name, details in {
+
+class ArgConfig(TypedDict):
+ help: str
+ metavar: NotRequired[str]
+ nargs: NotRequired[str]
+ completer: NotRequired[Callable[[str], list[str]]]
+
+
+class CommandConfig(TypedDict):
+ func: Callable[[argparse.Namespace], None]
+ args: NotRequired[dict[str, ArgConfig]]
+
+
+all_commands: dict[str, CommandConfig] = {
"show-upstream-basis-commit": {
"func": show_upstream_basis_commit,
},
@@ -716,8 +1531,8 @@ for name, details in {
},
},
},
- "auto-fixup": {
- "func": auto_fixup,
+ "auto-commit": {
+ "func": auto_commit,
},
"clean-fixups": {
"func": clean_fixups,
@@ -794,20 +1609,25 @@ for name, details in {
"regex": {"help": "the regex that the files must contain"},
},
},
-}.items():
- help_message = re.sub(r"\s+", " ", details["func"].__doc__).strip()
+}
+
+for name, command_config in all_commands.items():
+ help_message = command_config["func"].__doc__
+ assert isinstance(help_message, str)
+ help_message = re.sub(r"\s+", " ", help_message).strip()
sub = subparsers.add_parser(name, help=help_message)
- sub.set_defaults(func=details["func"])
- for arg, keywords in details.get("args", {}).items():
+ sub.set_defaults(func=command_config["func"])
+ for arg, keywords in command_config.get("args", {}).items():
completer = None
if "completer" in keywords:
completer = keywords["completer"]
del keywords["completer"]
sub_arg = sub.add_argument(arg, **keywords)
- if completer is not None:
- sub_arg.completer = completer
+ if completer is not None and argcomplete is not None:
+ sub_arg.completer = completer # type: ignore
-argcomplete.autocomplete(parser)
+if argcomplete is not None:
+ argcomplete.autocomplete(parser)
try:
if not within_browser_root():
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/9596a5…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/9596a5…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-2] MB 80: Enable Mullvad Browser as a default browser
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed to branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
0801264b by Pier Angelo Vendrame at 2025-12-11T12:21:20+01:00
MB 80: Enable Mullvad Browser as a default browser
- - - - -
10 changed files:
- browser/components/shell/ShellService.sys.mjs
- browser/components/shell/WindowsDefaultBrowser.cpp
- browser/components/shell/nsWindowsShellService.cpp
- + other-licenses/nsis/Contrib/ApplicationID/Makefile
- other-licenses/nsis/Contrib/ApplicationID/Set.cpp
- + other-licenses/nsis/Contrib/CityHash/Makefile
- toolkit/mozapps/defaultagent/EventLog.h
- toolkit/mozapps/defaultagent/SetDefaultBrowser.cpp
- widget/windows/WinTaskbar.cpp
- widget/windows/moz.build
Changes:
=====================================
browser/components/shell/ShellService.sys.mjs
=====================================
@@ -286,7 +286,7 @@ let ShellServiceInternal = {
) {
if (this._shouldSetDefaultPDFHandler()) {
lazy.log.info("Setting Firefox as default PDF handler");
- extraFileExtensions.push(".pdf", "FirefoxPDF");
+ extraFileExtensions.push(".pdf", "MullvadBrowserPDF");
} else {
lazy.log.info("Not setting Firefox as default PDF handler");
}
@@ -324,7 +324,7 @@ let ShellServiceInternal = {
try {
this.defaultAgent.setDefaultExtensionHandlersUserChoice(aumi, [
".pdf",
- "FirefoxPDF",
+ "MullvadBrowserPDF",
]);
} catch (err) {
telemetryResult = "ErrOther";
=====================================
browser/components/shell/WindowsDefaultBrowser.cpp
=====================================
@@ -24,7 +24,7 @@
#include <wchar.h>
#include <windows.h>
-#define APP_REG_NAME_BASE L"Firefox-"
+#define APP_REG_NAME_BASE L"MullvadBrowser-"
static bool IsWindowsLogonConnected() {
WCHAR userName[UNLEN + 1];
=====================================
browser/components/shell/nsWindowsShellService.cpp
=====================================
@@ -361,10 +361,12 @@ nsWindowsShellService::CheckAllProgIDsExist(bool* aResult) {
*aResult = result;
} else {
- *aResult =
- CheckProgIDExists(FormatProgID(L"FirefoxURL", aumid.get()).get()) &&
- CheckProgIDExists(FormatProgID(L"FirefoxHTML", aumid.get()).get()) &&
- CheckProgIDExists(FormatProgID(L"FirefoxPDF", aumid.get()).get());
+ *aResult = CheckProgIDExists(
+ FormatProgID(L"MullvadBrowserURL", aumid.get()).get()) &&
+ CheckProgIDExists(
+ FormatProgID(L"MullvadBrowserHTML", aumid.get()).get()) &&
+ CheckProgIDExists(
+ FormatProgID(L"MullvadBrowserPDF", aumid.get()).get());
}
return NS_OK;
=====================================
other-licenses/nsis/Contrib/ApplicationID/Makefile
=====================================
@@ -0,0 +1,14 @@
+CXXFLAGS=-Icityhash -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DCITYHASH_EXPORTS -DUNICODE
+SRCS=Set.cpp
+OBJS=$(subst .cpp,.o,$(SRCS))
+LDFLAGS=-lole32 -lshlwapi -shared -Wl,--no-insert-timestamp
+PLUGIN=ApplicationID.dll
+
+all: $(PLUGIN)
+
+$(PLUGIN): $(OBJS)
+ $(CXX) $(OBJS) $(LDFLAGS) -o $@
+ llvm-strip $@
+
+clean:
+ $(RM) $(OBJS) $(PLUGIN)
=====================================
other-licenses/nsis/Contrib/ApplicationID/Set.cpp
=====================================
@@ -35,7 +35,8 @@ unsigned int g_stringsize;
TCHAR *g_variables;
// Indicates that an application supports dual desktop and immersive modes. In Windows 8, this property is only applicable for web browsers.
-DEFINE_PROPERTYKEY(PKEY_AppUserModel_IsDualMode, 0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3, 11);
+// mingw already defines this in propkey.h.
+// DEFINE_PROPERTYKEY(PKEY_AppUserModel_IsDualMode, 0x9F4C2855, 0x9F79, 0x4B39, 0xA8, 0xD0, 0xE1, 0xD4, 0x2D, 0xE1, 0xD5, 0xF3, 11);
int popstring(TCHAR *str, int len);
void pushstring(const TCHAR *str, int len);
=====================================
other-licenses/nsis/Contrib/CityHash/Makefile
=====================================
@@ -0,0 +1,14 @@
+CXXFLAGS=-Icityhash -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DCITYHASH_EXPORTS -DUNICODE
+SRCS=CityHash.cpp cityhash/city.cpp
+OBJS=$(subst .cpp,.o,$(SRCS))
+LDFLAGS=-shared -Wl,--no-insert-timestamp
+PLUGIN=CityHash.dll
+
+all: $(PLUGIN)
+
+$(PLUGIN): $(OBJS)
+ $(CXX) $(OBJS) $(LDFLAGS) -o $@
+ llvm-strip $@
+
+clean:
+ $(RM) $(OBJS) $(PLUGIN)
=====================================
toolkit/mozapps/defaultagent/EventLog.h
=====================================
@@ -7,7 +7,7 @@
#ifndef __DEFAULT_BROWSER_AGENT_EVENT_LOG_H__
#define __DEFAULT_BROWSER_AGENT_EVENT_LOG_H__
-#include "mozilla/Types.h"
+#include <cwchar>
MOZ_BEGIN_EXTERN_C
@@ -15,10 +15,21 @@ extern MOZ_EXPORT const wchar_t* gWinEventLogSourceName;
MOZ_END_EXTERN_C
-#include "mozilla/WindowsEventLog.h"
-
-#define LOG_ERROR(hr) MOZ_WIN_EVENT_LOG_ERROR(gWinEventLogSourceName, hr)
-#define LOG_ERROR_MESSAGE(format, ...) \
- MOZ_WIN_EVENT_LOG_ERROR_MESSAGE(gWinEventLogSourceName, format, __VA_ARGS__)
+#ifdef LOG_ERRORS_FILE
+extern FILE* gLogFile;
+# define LOG_ERROR(hr) \
+ if (gLogFile) { \
+ fprintf(gLogFile, "Error in %s:%d: 0x%X\r\n", __FILE__, __LINE__, \
+ (unsigned int)hr); \
+ }
+# define LOG_ERROR_MESSAGE(format, ...) \
+ if (gLogFile) { \
+ fwprintf(gLogFile, format __VA_OPT__(, ) __VA_ARGS__); \
+ fputs("\r\n", gLogFile); \
+ }
+#else
+# define LOG_ERROR(hr)
+# define LOG_ERROR_MESSAGE(format, ...)
+#endif
#endif // __DEFAULT_BROWSER_AGENT_EVENT_LOG_H__
=====================================
toolkit/mozapps/defaultagent/SetDefaultBrowser.cpp
=====================================
@@ -444,9 +444,10 @@ nsresult SetDefaultBrowserUserChoice(
return NS_ERROR_FAILURE;
}
- nsTArray<nsString> browserDefaults = {
- u"https"_ns, u"FirefoxURL"_ns, u"http"_ns, u"FirefoxURL"_ns,
- u".html"_ns, u"FirefoxHTML"_ns, u".htm"_ns, u"FirefoxHTML"_ns};
+ nsTArray<nsString> browserDefaults = {u"https"_ns, u"MullvadBrowserURL"_ns,
+ u"http"_ns, u"MullvadBrowserURL"_ns,
+ u".html"_ns, u"MullvadBrowserHTML"_ns,
+ u".htm"_ns, u"MullvadBrowserHTML"_ns};
browserDefaults.AppendElements(aExtraFileExtensions);
=====================================
widget/windows/WinTaskbar.cpp
=====================================
@@ -249,7 +249,7 @@ bool WinTaskbar::GenerateAppUserModelID(nsAString& aAppUserModelId,
nsCString appName;
if (appInfo && NS_SUCCEEDED(appInfo->GetName(appName))) {
nsAutoString regKey;
- regKey.AssignLiteral("Software\\Mozilla\\");
+ regKey.AssignLiteral("Software\\" MOZ_APP_VENDOR "\\");
AppendASCIItoUTF16(appName, regKey);
regKey.AppendLiteral("\\TaskBarIDs");
=====================================
widget/windows/moz.build
=====================================
@@ -209,6 +209,7 @@ DEFINES["MOZ_UNICODE"] = True
DEFINES["MOZ_APP_NAME"] = '"%s"' % CONFIG["MOZ_APP_NAME"]
# Turn `firefox` into `Firefox`.
DEFINES["MOZ_TOAST_APP_NAME"] = '"%s"' % CONFIG["MOZ_APP_NAME"].title()
+DEFINES["MOZ_APP_VENDOR"] = '"%s"' % CONFIG["MOZ_APP_VENDOR"]
USE_LIBS += [
"jsoncpp",
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/080…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/080…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser-build][main] 2 commits: Bug 41627: Build OpenSSL in the Python package.
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
b0b67b81 by Pier Angelo Vendrame at 2025-12-10T21:38:25+01:00
Bug 41627: Build OpenSSL in the Python package.
Build OpenSSL with Python, so that the ssl module can be imported.
We do not use the openssl project to avoid re-building a consistent
part of the Linux toolchain every time we bump it.
Also, bump the Python version since we are at it (we downgraded to be
able to build it with OpenSSL 1.1.x, now we don't have that requirement
anymore), and bump ninja, as the old version didn't build with our new
version of Python.
- - - - -
75825497 by Pier Angelo Vendrame at 2025-12-10T21:39:51+01:00
Bug 41662: Add python-zstandard to desktop containers.
They are needed when we build artifacts.
- - - - -
12 changed files:
- projects/common/list_toolchain_updates-common-firefox-geckoview
- projects/firefox/build
- projects/firefox/config
- projects/ninja/build
- projects/ninja/config
- − projects/ninja/python3.patch
- + projects/python-zstandard/README.md
- + projects/python-zstandard/build
- + projects/python-zstandard/config
- projects/python/README.md
- projects/python/build
- projects/python/config
Changes:
=====================================
projects/common/list_toolchain_updates-common-firefox-geckoview
=====================================
@@ -159,7 +159,7 @@ if (m/^\\s*MINIMUM_MINOR_VERSION = ([0-9]+)/) {
}
EOF
needed=3.$(cat python/mozboot/bin/bootstrap.py | perl -ne "$p")
-current="3.9" # 3.11.x on Debian bookworm, 3.9.20 on our python project
+current="3.9" # 3.11.x on Debian bookworm, 3.13.11 on our python project
check_update_needed python "$needed" "$current"
=====================================
projects/firefox/build
=====================================
@@ -34,6 +34,8 @@ export PATH="/var/tmp/dist/rust/bin:/var/tmp/dist/cbindgen:/var/tmp/dist/node/bi
tar -C /var/tmp/dist -xf [% c('input_files_by_name/clang') %]
tar -C /var/tmp/dist -xf [% c('input_files_by_name/python') %]
export PATH="/var/tmp/dist/python/bin:$PATH"
+ # For OpenSSL, see Python's README.md.
+ export LD_LIBRARY_PATH=/var/tmp/dist/python/lib:$LD_LIBRARY_PATH
[% IF ! c("var/linux-cross") -%]
tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
export PATH="/var/tmp/dist/binutils/bin:$PATH"
@@ -48,6 +50,9 @@ export PATH="/var/tmp/dist/rust/bin:/var/tmp/dist/cbindgen:/var/tmp/dist/node/bi
# down properly in that case. Thus, we set it here in the build script.
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib/[% c("var/crosstarget") %]/pkgconfig"
[% END -%]
+ [% IF c("var/dev_artifacts") -%]
+ python3 -m pip install $rootdir/[% c('input_files_by_name/python-zstandard') %]/*.whl
+ [% END -%]
[% END -%]
[% IF c("var/macos") && c("var/dev_artifacts") %]
=====================================
projects/firefox/config
=====================================
@@ -154,6 +154,7 @@ targets:
arch_deps:
- python3
- python3-distutils
+ - python3-zstandard
- rsync
windows:
@@ -161,6 +162,7 @@ targets:
arch_deps:
- python3
- python3-distutils
+ - python3-zstandard
- wine
input_files:
@@ -228,6 +230,9 @@ input_files:
enable: '[% c("var/mullvad-browser") && c("var/has_l10n") %]'
- filename: marsigner.der
enable: '[% c("var/override_updater_url") %]'
+ - project: python-zstandard
+ enable: '[% c("var/linux") && c("var/dev_artifacts") %]'
+ name: python-zstandard
- filename: dmg-root
enable: '[% c("var/macos") && c("var/dev_artifacts") %]'
- project: hfsplus-tools
=====================================
projects/ninja/build
=====================================
@@ -12,8 +12,6 @@ mkdir -p /var/tmp/build
tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.[% c('compress_tar') %]
cd /var/tmp/build/[% project %]-[% c('version') %]
-patch -p1 < "$rootdir/python3.patch"
-
./configure.py --bootstrap
mkdir -p $distdir
=====================================
projects/ninja/config
=====================================
@@ -1,7 +1,7 @@
# vim: filetype=yaml sw=2
-version: '[% c("abbrev") %]'
+version: '1.13.2'
git_url: https://github.com/ninja-build/ninja.git
-git_hash: a524bf3f6bacd1b4ad85d719eed2737d8562f27a #v1.11.1
+git_hash: 3441b633c2fe2c494e958780ba0f4227b1327634 # v1.13.2
filename: '[% project %]-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
container:
use_container: 1
@@ -16,4 +16,3 @@ input_files:
- name: python
project: python
enable: '[% c("var/linux") %]'
- - filename: python3.patch
=====================================
projects/ninja/python3.patch deleted
=====================================
@@ -1,95 +0,0 @@
-From 6a17e84370064eec6f22cfb1717ab80cf898d82b Mon Sep 17 00:00:00 2001
-From: Nico Weber <thakis(a)chromium.org>
-Date: Tue, 10 Jan 2023 10:46:45 -0500
-Subject: [PATCH] Use python3 in all run lines
-
-We already did this in some, this converts the rest.
-Also chmod +x on write_fake_manifests.py while here.
----
- configure.py | 4 +---
- misc/measure.py | 4 +---
- misc/ninja_syntax_test.py | 2 +-
- misc/write_fake_manifests.py | 2 +-
- src/browse.py | 4 +---
- 5 files changed, 5 insertions(+), 11 deletions(-)
- mode change 100644 => 100755 misc/write_fake_manifests.py
-
-diff --git a/configure.py b/configure.py
-index 09c5b283e0..588250aa8a 100755
---- a/configure.py
-+++ b/configure.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- #
- # Copyright 2001 Google Inc. All Rights Reserved.
- #
-@@ -19,8 +19,6 @@
- Projects that use ninja themselves should either write a similar script
- or use a meta-build system that supports Ninja output."""
-
--from __future__ import print_function
--
- from optparse import OptionParser
- import os
- import pipes
-diff --git a/misc/measure.py b/misc/measure.py
-index 8ce95e696b..f3825efbb0 100755
---- a/misc/measure.py
-+++ b/misc/measure.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
-
- # Copyright 2011 Google Inc. All Rights Reserved.
- #
-@@ -17,8 +17,6 @@
- """measure the runtime of a command by repeatedly running it.
- """
-
--from __future__ import print_function
--
- import time
- import subprocess
- import sys
-diff --git a/misc/ninja_syntax_test.py b/misc/ninja_syntax_test.py
-index 90ff9c6bdb..61fb177d43 100755
---- a/misc/ninja_syntax_test.py
-+++ b/misc/ninja_syntax_test.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
-
- # Copyright 2011 Google Inc. All Rights Reserved.
- #
-diff --git a/misc/write_fake_manifests.py b/misc/write_fake_manifests.py
-old mode 100644
-new mode 100755
-index abcb677e18..bf9cf7de92
---- a/misc/write_fake_manifests.py
-+++ b/misc/write_fake_manifests.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
-
- """Writes large manifest files, for manifest parser performance testing.
-
-diff --git a/src/browse.py b/src/browse.py
-index 653cbe91f6..b125e805a9 100755
---- a/src/browse.py
-+++ b/src/browse.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python3
- #
- # Copyright 2001 Google Inc. All Rights Reserved.
- #
-@@ -20,8 +20,6 @@
- it when needed.
- """
-
--from __future__ import print_function
--
- try:
- import http.server as httpserver
- import socketserver
=====================================
projects/python-zstandard/README.md
=====================================
@@ -0,0 +1,4 @@
+Mozilla uses the python-zstandard module for various tasks in their CI, but
+they do not vendor it in Firefox's source tree.
+
+Since we build our own Python on Linux, we also need to build this module.
=====================================
projects/python-zstandard/build
=====================================
@@ -0,0 +1,14 @@
+#!/bin/bash
+[% c("var/set_default_env") -%]
+outdir=[% dest_dir _ '/' _ c('filename') %]
+mkdir -p /var/tmp/dist $outdir
+
+tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/python') %]
+export PATH=/var/tmp/dist/python/bin:$PATH
+
+python3 -m pip install *.whl
+
+tar -xf [% project %]-[% c('version') %].tar.[% c('compress_tar') %]
+cd [% project %]-[% c('version') %]
+python3 setup.py bdist_wheel
+mv dist/*.whl $outdir/
=====================================
projects/python-zstandard/config
=====================================
@@ -0,0 +1,19 @@
+version: 0.24.0
+filename: 'python-zstandard-[% c("version") %]-[% c("var/build_id") %]'
+git_url: https://github.com/indygreg/python-zstandard.git
+git_hash: 9223924b1db8f36cf1c7c2dcd55232093890d145 # 0.24.0
+container:
+ use_container: 1
+
+input_files:
+ - project: container-image
+ - project: python
+ name: python
+ # This contains only binaries for Windows.
+ - name: setuptools
+ URL: https://files.pythonhosted.org/packages/a3/dc/17031897dae0efacfea57dfd3a82f…
+ sha256sum: 062d34222ad13e0cc312a4c02d73f059e86a4acbfbdea8f8f76b28c99f306922
+ # This contains only Python.
+ - name: packaging
+ URL: https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895…
+ sha256sum: 29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484
=====================================
projects/python/README.md
=====================================
@@ -17,3 +17,17 @@ image.
`browser` is a notable exception: we redefine `var/deps` for all platforms and
already add `python3` there.
+
+## OpenSSL
+
+Some Python module complain about the OpenSSL version of the container being
+too old. Therefore, we also build OpenSSL in this project, and other projects
+needing it must add `/var/tmp/dist/python/lib` to `LD_LIBRARY_PATH`.
+
+We do it here instead of using the `openssl` project because we do not want to
+rebuild a big part of the toolchain for each OpenSSL update (the module would
+be used mostly for HTTP requests, which will not go through in our builds,
+since they happen offline).
+
+When updating to a newever version of Debian for Linux containers, we might
+stop building OpenSSL and go back to using the system library.
=====================================
projects/python/build
=====================================
@@ -6,14 +6,28 @@
[% END -%]
distdir=/var/tmp/dist/[% project %]
-mkdir -p $distdir
+openssldir=/var/tmp/dist/openssl
+mkdir -p $distdir $openssldir
+
+tar -xf $rootdir/[% c('input_files_by_name/openssl') %]
+pushd openssl-3.5.4
+./Configure --prefix=$openssldir --libdir=lib
+make -j[% c("num_procs") %]
+make -j[% c("num_procs") %] install
+# Python will try to load OpenSSL during its build process.
+export LD_LIBRARY_PATH=$openssldir/lib:$LD_LIBRARY_PATH
+popd
+
tar xf [% c('input_files_by_name/python') %]
cd Python-[% c('version') %]
-./configure --prefix=$distdir --enable-optimizations
+./configure --prefix=$distdir --enable-optimizations --with-openssl=$openssldir
make -j[% c("num_procs") %]
make prefix=$distdir install
+
+cp -a $openssldir/lib/lib*.so* $distdir/lib/
+
cd /var/tmp/dist
[% c('tar', {
- tar_src => 'python',
- tar_args => '-caf ' _ dest_dir _ '/' _ c('filename'),
- }) %]
+ tar_src => 'python',
+ tar_args => '-caf ' _ dest_dir _ '/' _ c('filename'),
+ }) %]
=====================================
projects/python/config
=====================================
@@ -1,6 +1,6 @@
# vim: filetype=yaml sw=2
-version: 3.9.20
-filename: 'python-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
+version: 3.13.11
+filename: 'python-[% c("version") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
container:
use_container: 1
var:
@@ -12,7 +12,6 @@ var:
- libffi-dev
- libncurses-dev
- libsqlite3-dev
- - libssl-dev
- zlib1g-dev
setup: |
@@ -24,7 +23,14 @@ input_files:
- project: container-image
- name: python
URL: 'https://www.python.org/ftp/python/[% c("version") %]/Python-[% c("version") %].tar.xz'
- sha256sum: 6b281279efd85294d2d6993e173983a57464c0133956fbbb5536ec9646beaf0c
+ sha256sum: 16ede7bb7cdbfa895d11b0642fa0e523f291e6487194d53cf6d3b338c3a17ea2
- name: '[% c("var/compiler") %]'
project: '[% c("var/compiler") %]'
enable: '[% c("var/linux") %]'
+ # We do not use the same we use as tor dependency because we do not want to
+ # rebuild Clang, Rust and other projects at each OpenSSL update.
+ # FWIW, these OpenSSL would be used for requests that will not go through,
+ # as our builds run offline.
+ - name: openssl
+ URL: 'https://github.com/openssl/openssl/releases/download/openssl-3.5.4/openssl-…'
+ sha256sum: 967311f84955316969bdb1d8d4b983718ef42338639c621ec4c34fddef355e99
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/compare/…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][base-browser-146.0a1-16.0-2] 3 commits: fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed to branch base-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
5bfdfd0b by june wilde at 2025-12-11T12:13:24+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
- - - - -
e6e81938 by june wilde at 2025-12-11T12:13:25+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 1)
- - - - -
f12904c2 by june wilde at 2025-12-11T12:13:25+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 5)
- - - - -
6 changed files:
- build/moz.configure/windows.configure
- dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
- third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.h
- third_party/libwebrtc/rtc_base/cpu_info.cc
- third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
Changes:
=====================================
build/moz.configure/windows.configure
=====================================
@@ -624,12 +624,13 @@ with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):
add_linker_flag("-LARGEADDRESSAWARE")
add_linker_flag("-SAFESEH")
- # avoid conficts with std::min/max
- set_define("NOMINMAX", True)
-
set_define("WIN32_LEAN_AND_MEAN", True)
+with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):
+ # See http://support.microsoft.com/kb/143208 to use STL
+ set_define("NOMINMAX", True)
+
with only_when(target_is_windows & depends(c_compiler)(lambda c: c.type != "clang-cl")):
# strsafe.h on mingw uses macros for function deprecation that pollutes namespace
=====================================
dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
=====================================
@@ -7,11 +7,11 @@
#ifndef DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_TYPES_H_
#define DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_TYPES_H_
-// pid_t
-#if !defined(XP_WIN) || defined(__MINGW32__)
+#if defined(XP_WIN) && \
+ !defined(__MINGW32__) // Moving this into the global namespace
+typedef int pid_t; // matching what used to be in
+#elif defined(XP_WIN) // video_capture_defines.h
# include <sys/types.h>
-#else
-typedef int pid_t;
#endif
#include "../../third_party/libwebrtc/modules/desktop_capture/desktop_capture_types.h"
=====================================
third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
=====================================
@@ -13,6 +13,8 @@
#include <dispatcherqueue.h>
#include <windows.graphics.capture.interop.h>
#include <windows.graphics.directx.direct3d11.interop.h>
+#include <windows.graphics.h>
+#include <wrl/client.h>
#include <wrl/event.h>
#include <algorithm>
=====================================
third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.h
=====================================
@@ -11,7 +11,7 @@
#ifndef MODULES_DESKTOP_CAPTURE_WIN_WINDOW_CAPTURE_UTILS_H_
#define MODULES_DESKTOP_CAPTURE_WIN_WINDOW_CAPTURE_UTILS_H_
-#include <shlobj_core.h>
+#include <shlobj.h>
#include <windows.h>
#include <wrl/client.h>
=====================================
third_party/libwebrtc/rtc_base/cpu_info.cc
=====================================
@@ -97,7 +97,7 @@ uint64_t xgetbv(uint32_t xcr) {
}
#endif // WEBRTC_ENABLE_AVX2
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
// Intrinsic for "cpuid".
#if defined(__pic__) && defined(__i386__)
static inline void __cpuid(int cpu_info[4], int info_type) {
=====================================
third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
=====================================
@@ -12,9 +12,8 @@
#define RTC_BASE_WIN_CREATE_DIRECT3D_DEVICE_H_
#include <windows.graphics.directx.direct3d11.h>
-#ifndef __MINGW32__
-# include <windows.graphics.directX.direct3d11.interop.h>
-#else
+#include <windows.graphics.directx.direct3d11.interop.h>
+#ifdef __MINGW32__
# include <dxgi.h>
# include <inspectable.h>
extern "C" {
@@ -23,6 +22,7 @@ HRESULT __stdcall CreateDirect3D11DeviceFromDXGIDevice(
::IDXGIDevice* dxgiDevice, ::IInspectable** graphicsDevice);
}
#endif
+
#include <winerror.h>
#include <wrl/client.h>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/e2a7c7…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/e2a7c7…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][tor-browser-146.0a1-16.0-2] 3 commits: fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed to branch tor-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
54d4d5c6 by june wilde at 2025-12-11T12:11:56+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
- - - - -
186f0f1a by june wilde at 2025-12-11T12:12:04+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 1)
- - - - -
9596a569 by june wilde at 2025-12-11T12:12:05+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 5)
- - - - -
6 changed files:
- build/moz.configure/windows.configure
- dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
- third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.h
- third_party/libwebrtc/rtc_base/cpu_info.cc
- third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
Changes:
=====================================
build/moz.configure/windows.configure
=====================================
@@ -624,12 +624,13 @@ with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):
add_linker_flag("-LARGEADDRESSAWARE")
add_linker_flag("-SAFESEH")
- # avoid conficts with std::min/max
- set_define("NOMINMAX", True)
-
set_define("WIN32_LEAN_AND_MEAN", True)
+with only_when(depends(c_compiler)(lambda c: c.type == "clang-cl")):
+ # See http://support.microsoft.com/kb/143208 to use STL
+ set_define("NOMINMAX", True)
+
with only_when(target_is_windows & depends(c_compiler)(lambda c: c.type != "clang-cl")):
# strsafe.h on mingw uses macros for function deprecation that pollutes namespace
=====================================
dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
=====================================
@@ -7,11 +7,11 @@
#ifndef DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_TYPES_H_
#define DOM_MEDIA_WEBRTC_LIBWEBRTCOVERRIDES_MODULES_DESKTOP_CAPTURE_DESKTOP_CAPTURE_TYPES_H_
-// pid_t
-#if !defined(XP_WIN) || defined(__MINGW32__)
+#if defined(XP_WIN) && \
+ !defined(__MINGW32__) // Moving this into the global namespace
+typedef int pid_t; // matching what used to be in
+#elif defined(XP_WIN) // video_capture_defines.h
# include <sys/types.h>
-#else
-typedef int pid_t;
#endif
#include "../../third_party/libwebrtc/modules/desktop_capture/desktop_capture_types.h"
=====================================
third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
=====================================
@@ -13,6 +13,8 @@
#include <dispatcherqueue.h>
#include <windows.graphics.capture.interop.h>
#include <windows.graphics.directx.direct3d11.interop.h>
+#include <windows.graphics.h>
+#include <wrl/client.h>
#include <wrl/event.h>
#include <algorithm>
=====================================
third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.h
=====================================
@@ -11,7 +11,7 @@
#ifndef MODULES_DESKTOP_CAPTURE_WIN_WINDOW_CAPTURE_UTILS_H_
#define MODULES_DESKTOP_CAPTURE_WIN_WINDOW_CAPTURE_UTILS_H_
-#include <shlobj_core.h>
+#include <shlobj.h>
#include <windows.h>
#include <wrl/client.h>
=====================================
third_party/libwebrtc/rtc_base/cpu_info.cc
=====================================
@@ -97,7 +97,7 @@ uint64_t xgetbv(uint32_t xcr) {
}
#endif // WEBRTC_ENABLE_AVX2
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__MINGW32__)
// Intrinsic for "cpuid".
#if defined(__pic__) && defined(__i386__)
static inline void __cpuid(int cpu_info[4], int info_type) {
=====================================
third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
=====================================
@@ -12,9 +12,8 @@
#define RTC_BASE_WIN_CREATE_DIRECT3D_DEVICE_H_
#include <windows.graphics.directx.direct3d11.h>
-#ifndef __MINGW32__
-# include <windows.graphics.directX.direct3d11.interop.h>
-#else
+#include <windows.graphics.directx.direct3d11.interop.h>
+#ifdef __MINGW32__
# include <dxgi.h>
# include <inspectable.h>
extern "C" {
@@ -23,6 +22,7 @@ HRESULT __stdcall CreateDirect3D11DeviceFromDXGIDevice(
::IDXGIDevice* dxgiDevice, ::IInspectable** graphicsDevice);
}
#endif
+
#include <winerror.h>
#include <wrl/client.h>
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/773d4e…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/773d4e…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-2] 4 commits: MB 479 - Fix CXXFlags for libwebrtc in 146
by Pier Angelo Vendrame (@pierov) 11 Dec '25
by Pier Angelo Vendrame (@pierov) 11 Dec '25
11 Dec '25
Pier Angelo Vendrame pushed to branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
ec5e89ec by june wilde at 2025-12-11T12:04:25+01:00
MB 479 - Fix CXXFlags for libwebrtc in 146
This patch will no longer be necessary in Gecko 147
- - - - -
5401bb7f by june wilde at 2025-12-11T12:04:25+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
- - - - -
7a3f13c0 by june wilde at 2025-12-11T12:04:26+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 1)
- - - - -
dcc28544 by june wilde at 2025-12-11T12:04:26+01:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 5)
- - - - -
355 changed files:
- build/moz.configure/windows.configure
- dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
- third_party/libwebrtc/BUILD.gn
- third_party/libwebrtc/api/adaptation/resource_adaptation_api_gn/moz.build
- third_party/libwebrtc/api/audio/aec3_config_gn/moz.build
- third_party/libwebrtc/api/audio/aec3_factory_gn/moz.build
- third_party/libwebrtc/api/audio/audio_frame_api_gn/moz.build
- third_party/libwebrtc/api/audio/audio_processing_gn/moz.build
- third_party/libwebrtc/api/audio/audio_processing_statistics_gn/moz.build
- third_party/libwebrtc/api/audio/builtin_audio_processing_builder_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/L16/audio_decoder_L16_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/L16/audio_encoder_L16_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/audio_codecs_api_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/builtin_audio_decoder_factory_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/builtin_audio_encoder_factory_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/g711/audio_decoder_g711_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/g711/audio_encoder_g711_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/g722/audio_decoder_g722_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/g722/audio_encoder_g722_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_multiopus_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/opus/audio_decoder_opus_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_multiopus_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_config_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/opus/audio_encoder_opus_gn/moz.build
- third_party/libwebrtc/api/audio_codecs/opus_audio_decoder_factory_gn/moz.build
- third_party/libwebrtc/api/audio_options_api_gn/moz.build
- third_party/libwebrtc/api/crypto/options_gn/moz.build
- third_party/libwebrtc/api/environment/environment_factory_gn/moz.build
- third_party/libwebrtc/api/field_trials_registry_gn/moz.build
- third_party/libwebrtc/api/frame_transformer_factory_gn/moz.build
- third_party/libwebrtc/api/frame_transformer_interface_gn/moz.build
- third_party/libwebrtc/api/media_stream_interface_gn/moz.build
- third_party/libwebrtc/api/neteq/default_neteq_controller_factory_gn/moz.build
- third_party/libwebrtc/api/neteq/default_neteq_factory_gn/moz.build
- third_party/libwebrtc/api/neteq/neteq_api_gn/moz.build
- third_party/libwebrtc/api/neteq/tick_timer_gn/moz.build
- third_party/libwebrtc/api/priority_gn/moz.build
- third_party/libwebrtc/api/rtc_error_gn/moz.build
- third_party/libwebrtc/api/rtc_event_log/rtc_event_log_gn/moz.build
- third_party/libwebrtc/api/rtp_headers_gn/moz.build
- third_party/libwebrtc/api/rtp_packet_info_gn/moz.build
- third_party/libwebrtc/api/rtp_parameters_gn/moz.build
- third_party/libwebrtc/api/rtp_sender_setparameters_callback_gn/moz.build
- third_party/libwebrtc/api/task_queue/pending_task_safety_flag_gn/moz.build
- third_party/libwebrtc/api/task_queue/task_queue_gn/moz.build
- third_party/libwebrtc/api/transport/bitrate_settings_gn/moz.build
- third_party/libwebrtc/api/transport/field_trial_based_config_gn/moz.build
- third_party/libwebrtc/api/transport/goog_cc_gn/moz.build
- third_party/libwebrtc/api/transport/network_control_gn/moz.build
- third_party/libwebrtc/api/transport/rtp/dependency_descriptor_gn/moz.build
- third_party/libwebrtc/api/transport_api_gn/moz.build
- third_party/libwebrtc/api/units/data_rate_gn/moz.build
- third_party/libwebrtc/api/units/data_size_gn/moz.build
- third_party/libwebrtc/api/units/frequency_gn/moz.build
- third_party/libwebrtc/api/units/time_delta_gn/moz.build
- third_party/libwebrtc/api/units/timestamp_gn/moz.build
- third_party/libwebrtc/api/video/builtin_video_bitrate_allocator_factory_gn/moz.build
- third_party/libwebrtc/api/video/encoded_frame_gn/moz.build
- third_party/libwebrtc/api/video/encoded_image_gn/moz.build
- third_party/libwebrtc/api/video/frame_buffer_gn/moz.build
- third_party/libwebrtc/api/video/video_adaptation_gn/moz.build
- third_party/libwebrtc/api/video/video_bitrate_allocation_gn/moz.build
- third_party/libwebrtc/api/video/video_bitrate_allocator_gn/moz.build
- third_party/libwebrtc/api/video/video_frame_gn/moz.build
- third_party/libwebrtc/api/video/video_frame_i010_gn/moz.build
- third_party/libwebrtc/api/video/video_frame_metadata_gn/moz.build
- third_party/libwebrtc/api/video/video_rtp_headers_gn/moz.build
- third_party/libwebrtc/api/video_codecs/builtin_video_decoder_factory_gn/moz.build
- third_party/libwebrtc/api/video_codecs/rtc_software_fallback_wrappers_gn/moz.build
- third_party/libwebrtc/api/video_codecs/scalability_mode_gn/moz.build
- third_party/libwebrtc/api/video_codecs/video_codecs_api_gn/moz.build
- third_party/libwebrtc/api/video_codecs/vp8_temporal_layers_factory_gn/moz.build
- third_party/libwebrtc/audio/audio_gn/moz.build
- third_party/libwebrtc/audio/utility/audio_frame_operations_gn/moz.build
- third_party/libwebrtc/call/adaptation/resource_adaptation_gn/moz.build
- third_party/libwebrtc/call/bitrate_allocator_gn/moz.build
- third_party/libwebrtc/call/bitrate_configurator_gn/moz.build
- third_party/libwebrtc/call/call_gn/moz.build
- third_party/libwebrtc/call/call_interfaces_gn/moz.build
- third_party/libwebrtc/call/payload_type_picker_gn/moz.build
- third_party/libwebrtc/call/rtp_interfaces_gn/moz.build
- third_party/libwebrtc/call/rtp_receiver_gn/moz.build
- third_party/libwebrtc/call/rtp_sender_gn/moz.build
- third_party/libwebrtc/call/version_gn/moz.build
- third_party/libwebrtc/call/video_receive_stream_api_gn/moz.build
- third_party/libwebrtc/call/video_send_stream_api_gn/moz.build
- third_party/libwebrtc/common_audio/common_audio_avx2_gn/moz.build
- third_party/libwebrtc/common_audio/common_audio_cc_gn/moz.build
- third_party/libwebrtc/common_audio/common_audio_gn/moz.build
- third_party/libwebrtc/common_audio/common_audio_neon_gn/moz.build
- third_party/libwebrtc/common_audio/common_audio_sse2_gn/moz.build
- third_party/libwebrtc/common_audio/fir_filter_factory_gn/moz.build
- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_128_gn/moz.build
- third_party/libwebrtc/common_audio/third_party/ooura/fft_size_256_gn/moz.build
- third_party/libwebrtc/common_video/common_video_gn/moz.build
- third_party/libwebrtc/common_video/corruption_detection_converters_gn/moz.build
- third_party/libwebrtc/common_video/generic_frame_descriptor/generic_frame_descriptor_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_audio_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_bwe_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_field_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_number_encodings_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_pacing_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_rtp_rtcp_gn/moz.build
- third_party/libwebrtc/logging/rtc_event_video_gn/moz.build
- third_party/libwebrtc/logging/rtc_stream_config_gn/moz.build
- third_party/libwebrtc/media/adapted_video_track_source_gn/moz.build
- third_party/libwebrtc/media/codec_gn/moz.build
- third_party/libwebrtc/media/media_constants_gn/moz.build
- third_party/libwebrtc/media/rid_description_gn/moz.build
- third_party/libwebrtc/media/rtc_audio_video_gn/moz.build
- third_party/libwebrtc/media/rtc_internal_video_codecs_gn/moz.build
- third_party/libwebrtc/media/rtc_sdp_video_format_utils_gn/moz.build
- third_party/libwebrtc/media/rtc_simulcast_encoder_adapter_gn/moz.build
- third_party/libwebrtc/media/video_adapter_gn/moz.build
- third_party/libwebrtc/media/video_broadcaster_gn/moz.build
- third_party/libwebrtc/media/video_common_gn/moz.build
- third_party/libwebrtc/media/video_source_base_gn/moz.build
- third_party/libwebrtc/modules/async_audio_processing/async_audio_processing_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/audio_coding_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/audio_coding_opus_common_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/audio_encoder_cng_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_config_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/audio_network_adaptor_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/g711_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/g722_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/legacy_encoded_audio_frame_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/neteq_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/pcm16b_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/red_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/webrtc_cng_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/webrtc_multiopus_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/webrtc_opus_gn/moz.build
- third_party/libwebrtc/modules/audio_coding/webrtc_opus_wrapper_gn/moz.build
- third_party/libwebrtc/modules/audio_mixer/audio_frame_manipulator_gn/moz.build
- third_party/libwebrtc/modules/audio_mixer/audio_mixer_impl_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/aec3/aec3_avx2_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/aec3/aec3_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/aec_dump/null_aec_dump_factory_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/aec_dump_interface_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/aecm/aecm_core_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc/agc_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc/legacy_agc_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc/level_estimation_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/adaptive_digital_gain_controller_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/biquad_filter_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/clipping_predictor_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/cpu_features_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/fixed_digital_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/gain_applier_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_controller_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/input_volume_stats_reporter_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/noise_level_estimator_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_auto_correlation_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_lp_residual_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_spectral_features_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/vector_math_avx2_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/saturation_protector_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/speech_level_estimator_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/agc2/vad_wrapper_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/apm_logging_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/audio_buffer_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/audio_frame_proxies_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/audio_processing_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/capture_levels_adjuster/capture_levels_adjuster_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/gain_controller2_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/high_pass_filter_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/ns/ns_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/post_filter_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/rms_level_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/utility/cascaded_biquad_filter_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/utility/legacy_delay_estimator_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/utility/pffft_wrapper_gn/moz.build
- third_party/libwebrtc/modules/audio_processing/vad/vad_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/congestion_controller_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/alr_detector_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/delay_based_bwe_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/estimators_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/goog_cc_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/link_capacity_estimator_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/probe_controller_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/pushback_controller_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/goog_cc/send_side_bwe_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/rtp/control_handler_gn/moz.build
- third_party/libwebrtc/modules/congestion_controller/rtp/transport_feedback_gn/moz.build
- third_party/libwebrtc/modules/desktop_capture/desktop_capture_differ_sse2_gn/moz.build
- third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
- third_party/libwebrtc/modules/desktop_capture/primitives_gn/moz.build
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
- third_party/libwebrtc/modules/desktop_capture/win/window_capture_utils.h
- third_party/libwebrtc/modules/pacing/interval_budget_gn/moz.build
- third_party/libwebrtc/modules/pacing/pacing_gn/moz.build
- third_party/libwebrtc/modules/remote_bitrate_estimator/congestion_control_feedback_generator_gn/moz.build
- third_party/libwebrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_gn/moz.build
- third_party/libwebrtc/modules/remote_bitrate_estimator/transport_sequence_number_feedback_generator_gn/moz.build
- third_party/libwebrtc/modules/rtp_rtcp/leb128_gn/moz.build
- third_party/libwebrtc/modules/rtp_rtcp/ntp_time_util_gn/moz.build
- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_format_gn/moz.build
- third_party/libwebrtc/modules/rtp_rtcp/rtp_rtcp_gn/moz.build
- third_party/libwebrtc/modules/rtp_rtcp/rtp_video_header_gn/moz.build
- third_party/libwebrtc/modules/video_capture/video_capture_internal_impl_gn/moz.build
- third_party/libwebrtc/modules/video_capture/video_capture_module_gn/moz.build
- third_party/libwebrtc/modules/video_coding/chain_diff_calculator_gn/moz.build
- third_party/libwebrtc/modules/video_coding/codecs/av1/av1_svc_config_gn/moz.build
- third_party/libwebrtc/modules/video_coding/codecs/av1/dav1d_decoder_gn/moz.build
- third_party/libwebrtc/modules/video_coding/codecs/av1/libaom_av1_encoder_gn/moz.build
- third_party/libwebrtc/modules/video_coding/encoded_frame_gn/moz.build
- third_party/libwebrtc/modules/video_coding/frame_dependencies_calculator_gn/moz.build
- third_party/libwebrtc/modules/video_coding/frame_helpers_gn/moz.build
- third_party/libwebrtc/modules/video_coding/h264_sprop_parameter_sets_gn/moz.build
- third_party/libwebrtc/modules/video_coding/h26x_packet_buffer_gn/moz.build
- third_party/libwebrtc/modules/video_coding/nack_requester_gn/moz.build
- third_party/libwebrtc/modules/video_coding/packet_buffer_gn/moz.build
- third_party/libwebrtc/modules/video_coding/svc/scalability_mode_util_gn/moz.build
- third_party/libwebrtc/modules/video_coding/svc/scalability_structures_gn/moz.build
- third_party/libwebrtc/modules/video_coding/svc/scalable_video_controller_gn/moz.build
- third_party/libwebrtc/modules/video_coding/svc/simulcast_to_svc_converter_gn/moz.build
- third_party/libwebrtc/modules/video_coding/svc/svc_rate_allocator_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/decode_time_percentile_filter_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/frame_delay_variation_kalman_filter_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/inter_frame_delay_variation_calculator_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/jitter_estimator_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/rtt_filter_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/timestamp_extrapolator_gn/moz.build
- third_party/libwebrtc/modules/video_coding/timing/timing_module_gn/moz.build
- third_party/libwebrtc/modules/video_coding/video_codec_interface_gn/moz.build
- third_party/libwebrtc/modules/video_coding/video_coding_gn/moz.build
- third_party/libwebrtc/modules/video_coding/video_coding_utility_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_h264_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_libvpx_interface_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_vp8_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_vp8_scalability_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_vp8_temporal_layers_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_vp9_gn/moz.build
- third_party/libwebrtc/modules/video_coding/webrtc_vp9_helpers_gn/moz.build
- third_party/libwebrtc/moz-patch-stack/s0129.patch
- third_party/libwebrtc/net/dcsctp/packet/chunk_gn/moz.build
- third_party/libwebrtc/net/dcsctp/packet/chunk_validators_gn/moz.build
- third_party/libwebrtc/net/dcsctp/packet/crc32c_gn/moz.build
- third_party/libwebrtc/net/dcsctp/packet/error_cause_gn/moz.build
- third_party/libwebrtc/net/dcsctp/packet/parameter_gn/moz.build
- third_party/libwebrtc/net/dcsctp/packet/sctp_packet_gn/moz.build
- third_party/libwebrtc/net/dcsctp/packet/tlv_trait_gn/moz.build
- third_party/libwebrtc/net/dcsctp/public/factory_gn/moz.build
- third_party/libwebrtc/net/dcsctp/public/socket_gn/moz.build
- third_party/libwebrtc/net/dcsctp/rx/data_tracker_gn/moz.build
- third_party/libwebrtc/net/dcsctp/rx/interleaved_reassembly_streams_gn/moz.build
- third_party/libwebrtc/net/dcsctp/rx/reassembly_queue_gn/moz.build
- third_party/libwebrtc/net/dcsctp/rx/traditional_reassembly_streams_gn/moz.build
- third_party/libwebrtc/net/dcsctp/socket/dcsctp_socket_gn/moz.build
- third_party/libwebrtc/net/dcsctp/socket/heartbeat_handler_gn/moz.build
- third_party/libwebrtc/net/dcsctp/socket/packet_sender_gn/moz.build
- third_party/libwebrtc/net/dcsctp/socket/stream_reset_handler_gn/moz.build
- third_party/libwebrtc/net/dcsctp/socket/transmission_control_block_gn/moz.build
- third_party/libwebrtc/net/dcsctp/timer/task_queue_timeout_gn/moz.build
- third_party/libwebrtc/net/dcsctp/timer/timer_gn/moz.build
- third_party/libwebrtc/net/dcsctp/tx/outstanding_data_gn/moz.build
- third_party/libwebrtc/net/dcsctp/tx/retransmission_error_counter_gn/moz.build
- third_party/libwebrtc/net/dcsctp/tx/retransmission_queue_gn/moz.build
- third_party/libwebrtc/net/dcsctp/tx/retransmission_timeout_gn/moz.build
- third_party/libwebrtc/net/dcsctp/tx/rr_send_queue_gn/moz.build
- third_party/libwebrtc/net/dcsctp/tx/stream_scheduler_gn/moz.build
- third_party/libwebrtc/rtc_base/async_dns_resolver_gn/moz.build
- third_party/libwebrtc/rtc_base/base64_gn/moz.build
- third_party/libwebrtc/rtc_base/bit_buffer_gn/moz.build
- third_party/libwebrtc/rtc_base/bitrate_tracker_gn/moz.build
- third_party/libwebrtc/rtc_base/bitstream_reader_gn/moz.build
- third_party/libwebrtc/rtc_base/byte_buffer_gn/moz.build
- third_party/libwebrtc/rtc_base/checks_gn/moz.build
- third_party/libwebrtc/rtc_base/containers/flat_containers_internal_gn/moz.build
- third_party/libwebrtc/rtc_base/copy_on_write_buffer_gn/moz.build
- third_party/libwebrtc/rtc_base/cpu_info.cc
- third_party/libwebrtc/rtc_base/cpu_info_gn/moz.build
- third_party/libwebrtc/rtc_base/criticalsection_gn/moz.build
- third_party/libwebrtc/rtc_base/denormal_disabler_gn/moz.build
- third_party/libwebrtc/rtc_base/event_tracer_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/alr_experiment_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/balanced_degradation_settings_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/encoder_info_settings_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/field_trial_parser_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/keyframe_interval_settings_experiment_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/min_video_bitrate_experiment_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/normalize_simulcast_size_experiment_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/quality_scaler_settings_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/quality_scaling_experiment_gn/moz.build
- third_party/libwebrtc/rtc_base/experiments/rate_control_settings_gn/moz.build
- third_party/libwebrtc/rtc_base/frequency_tracker_gn/moz.build
- third_party/libwebrtc/rtc_base/histogram_percentile_counter_gn/moz.build
- third_party/libwebrtc/rtc_base/ip_address_gn/moz.build
- third_party/libwebrtc/rtc_base/logging_gn/moz.build
- third_party/libwebrtc/rtc_base/memory/aligned_malloc_gn/moz.build
- third_party/libwebrtc/rtc_base/net_helpers_gn/moz.build
- third_party/libwebrtc/rtc_base/network/sent_packet_gn/moz.build
- third_party/libwebrtc/rtc_base/network_constants_gn/moz.build
- third_party/libwebrtc/rtc_base/network_route_gn/moz.build
- third_party/libwebrtc/rtc_base/null_socket_server_gn/moz.build
- third_party/libwebrtc/rtc_base/platform_thread_gn/moz.build
- third_party/libwebrtc/rtc_base/platform_thread_types_gn/moz.build
- third_party/libwebrtc/rtc_base/race_checker_gn/moz.build
- third_party/libwebrtc/rtc_base/random_gn/moz.build
- third_party/libwebrtc/rtc_base/rate_limiter_gn/moz.build
- third_party/libwebrtc/rtc_base/rate_statistics_gn/moz.build
- third_party/libwebrtc/rtc_base/rate_tracker_gn/moz.build
- third_party/libwebrtc/rtc_base/rtc_event_gn/moz.build
- third_party/libwebrtc/rtc_base/rtc_numerics_gn/moz.build
- third_party/libwebrtc/rtc_base/rtp_to_ntp_estimator_gn/moz.build
- third_party/libwebrtc/rtc_base/sample_counter_gn/moz.build
- third_party/libwebrtc/rtc_base/socket_address_gn/moz.build
- third_party/libwebrtc/rtc_base/socket_gn/moz.build
- third_party/libwebrtc/rtc_base/stringutils_gn/moz.build
- third_party/libwebrtc/rtc_base/synchronization/sequence_checker_internal_gn/moz.build
- third_party/libwebrtc/rtc_base/synchronization/yield_gn/moz.build
- third_party/libwebrtc/rtc_base/synchronization/yield_policy_gn/moz.build
- third_party/libwebrtc/rtc_base/system/file_wrapper_gn/moz.build
- third_party/libwebrtc/rtc_base/task_utils/repeating_task_gn/moz.build
- third_party/libwebrtc/rtc_base/third_party/sigslot/sigslot_gn/moz.build
- third_party/libwebrtc/rtc_base/threading_gn/moz.build
- third_party/libwebrtc/rtc_base/timeutils_gn/moz.build
- third_party/libwebrtc/rtc_base/weak_ptr_gn/moz.build
- third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
- third_party/libwebrtc/rtc_base/win/create_direct3d_device_gn/moz.build
- third_party/libwebrtc/rtc_base/win/get_activation_factory_gn/moz.build
- third_party/libwebrtc/rtc_base/win/hstring_gn/moz.build
- third_party/libwebrtc/rtc_base/win/windows_version_gn/moz.build
- third_party/libwebrtc/rtc_base/win32_gn/moz.build
- third_party/libwebrtc/rtc_base/zero_memory_gn/moz.build
- third_party/libwebrtc/system_wrappers/field_trial_gn/moz.build
- third_party/libwebrtc/system_wrappers/metrics_gn/moz.build
- third_party/libwebrtc/system_wrappers/system_wrappers_gn/moz.build
- third_party/libwebrtc/video/adaptation/video_adaptation_gn/moz.build
- third_party/libwebrtc/video/config/encoder_config_gn/moz.build
- third_party/libwebrtc/video/config/streams_config_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/corruption_classifier_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_evaluation_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/frame_instrumentation_generator_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/generic_mapping_functions_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/halton_frame_sampler_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/halton_sequence_gn/moz.build
- third_party/libwebrtc/video/corruption_detection/video_frame_sampler_gn/moz.build
- third_party/libwebrtc/video/decode_synchronizer_gn/moz.build
- third_party/libwebrtc/video/frame_cadence_adapter_gn/moz.build
- third_party/libwebrtc/video/frame_decode_timing_gn/moz.build
- third_party/libwebrtc/video/frame_dumping_decoder_gn/moz.build
- third_party/libwebrtc/video/frame_dumping_encoder_gn/moz.build
- third_party/libwebrtc/video/render/incoming_video_stream_gn/moz.build
- third_party/libwebrtc/video/render/video_render_frames_gn/moz.build
- third_party/libwebrtc/video/task_queue_frame_decode_scheduler_gn/moz.build
- third_party/libwebrtc/video/unique_timestamp_counter_gn/moz.build
- third_party/libwebrtc/video/video_gn/moz.build
- third_party/libwebrtc/video/video_receive_stream_timeout_tracker_gn/moz.build
- third_party/libwebrtc/video/video_stream_buffer_controller_gn/moz.build
- third_party/libwebrtc/video/video_stream_encoder_impl_gn/moz.build
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/f2…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/f2…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][tor-browser-146.0a1-16.0-2] fixup! TB 40597: Implement TorSettings module
by Pier Angelo Vendrame (@pierov) 10 Dec '25
by Pier Angelo Vendrame (@pierov) 10 Dec '25
10 Dec '25
Pier Angelo Vendrame pushed to branch tor-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
773d4ea2 by Beatriz Rizental at 2025-12-10T18:59:48-03:00
fixup! TB 40597: Implement TorSettings module
Fix linter issue.
- - - - -
1 changed file:
- toolkit/content/pt_config.json
Changes:
=====================================
toolkit/content/pt_config.json
=====================================
@@ -25,4 +25,3 @@
]
}
}
-
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/773d4ea…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/773d4ea…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-2] 26 commits: Add CI for Mullvad Browser
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed to branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
85adecf4 by Henry Wilkes at 2025-12-10T16:39:36-03:00
Add CI for Mullvad Browser
- - - - -
e29a4001 by Pier Angelo Vendrame at 2025-12-10T16:39:37-03:00
MB 38: Mullvad Browser configuration
- - - - -
69e248f9 by Pier Angelo Vendrame at 2025-12-10T16:39:38-03:00
MB 1: Mullvad Browser branding
See also:
mullvad-browser#5: Product name and directory customization
mullvad-browser#12: Create new branding directories and integrate Mullvad icons+branding
mullvad-browser#14: Remove Default Built-in bookmarks
mullvad-browser#35: Add custom PDF icons for Windows builds
mullvad-browser#48: Replace Mozilla copyright and legal trademarks in mullvadbrowser.exe metadata
mullvad-browser#51: Update trademark string
mullvad-browser#104: Update shipped dll metadata copyright/licensing info
mullvad-browser#107: Add alpha and nightly icons
- - - - -
c73a63d6 by Henry Wilkes at 2025-12-10T16:39:38-03:00
Mullvad Browser strings
This commit adds strings needed by the following Mullvad Browser
patches.
- - - - -
a3a66322 by Pier Angelo Vendrame at 2025-12-10T16:39:39-03:00
MB 20: Allow packaged-addons in PBM.
We install a few addons from the distribution directory, but they are
not automatically enabled for PBM mode.
This commit modifies the code that installs them to also add the PBM
permission to the known ones.
- - - - -
a955fdb4 by Pier Angelo Vendrame at 2025-12-10T16:39:40-03:00
MB 63: Customize some about pages for Mullvad Browser
Also:
mullvad-browser#57: Purge unneeded about: pages
- - - - -
2badb349 by Pier Angelo Vendrame at 2025-12-10T16:39:41-03:00
MB 37: Customization for the about dialog
- - - - -
f3dc8161 by Henry Wilkes at 2025-12-10T16:39:41-03:00
MB 39: Add home page about:mullvad-browser
- - - - -
99b04d9f by Henry Wilkes at 2025-12-10T16:39:42-03:00
fixup! MB 39: Add home page about:mullvad-browser
MB 486: Delay the update data for preloaded about:mullvad-browser pages.
- - - - -
3862b7bb by hackademix at 2025-12-10T16:39:43-03:00
MB 97: Remove UI cues to install new extensions.
- - - - -
e011b26d by hackademix at 2025-12-10T16:39:43-03:00
MB 47: uBlock Origin customization
- - - - -
db657613 by Pier Angelo Vendrame at 2025-12-10T16:39:44-03:00
MB 21: Disable the password manager
This commit disables the about:login page and removes the "Login and
Password" section of about:preferences.
We do not do anything to the real password manager of Firefox, that is
in toolkit: it contains C++ parts that make it difficult to actually
prevent it from being built..
Finally, we modify the the function that opens about:login to report an
error in the console so that we can quickly get a backtrace to the code
that tries to use it.
- - - - -
64a15fba by Pier Angelo Vendrame at 2025-12-10T16:39:45-03:00
MB 112: Updater customization for Mullvad Browser
MB 71: Set the updater base URL to Mullvad domain
- - - - -
32f5edf3 by Nicolas Vigier at 2025-12-10T16:39:45-03:00
MB 79: Add Mullvad Browser MAR signing keys
MB 256: Add mullvad-browser nightly mar signing key
- - - - -
edab066e by Pier Angelo Vendrame at 2025-12-10T16:39:46-03:00
MB 34: Hide unsafe and unwanted preferences UI
about:preferences allow to override some of our defaults, that could
be fingeprintable or have some other unwanted consequences.
- - - - -
e29f5a3c by Pier Angelo Vendrame at 2025-12-10T16:39:47-03:00
MB 160: Disable the cookie exceptions button
Besides disabling the "Delete on close checkbox", disable also the
"Manage Exceptions" button when always using PBM.
- - - - -
db6083fc by hackademix at 2025-12-10T16:39:48-03:00
MB 163: Prevent uBlock Origin from being uninstalled/disabled
- - - - -
73ccf78e by Richard Pospesel at 2025-12-10T17:12:16-03:00
MB 188: Customize Gitlab Issue and Merge templates
- - - - -
3944d4ca by rui hildt at 2025-12-10T17:24:06-03:00
MB 213: Customize the search engines list.
- - - - -
b2432b25 by Pier Angelo Vendrame at 2025-12-10T17:24:07-03:00
fixup! MB 213: Customize the search engines list.
MB 487: Use custom order for search engines.
- - - - -
8732aec0 by Henry Wilkes at 2025-12-10T17:24:08-03:00
fixup! MB 213: Customize the search engines list.
MB 488: Drop Mullvad Leta search engine.
- - - - -
2ff0cbf9 by hackademix at 2025-12-10T17:24:08-03:00
MB 214: Enable cross-tab identity leak protection in "quiet" mode
- - - - -
0f238f5a by Pier Angelo Vendrame at 2025-12-10T17:24:09-03:00
MB 320: Temporarily disable WebRTC and WDBA on Windows.
WebRTC should be re-enabled when tor-browser#42758 is resolved, and and
the default browser agent when in general we make this feature work
again.
- - - - -
1c5f7922 by Henry Wilkes at 2025-12-10T17:24:10-03:00
MB 329: Customize toolbar for mullvad-browser.
- - - - -
e1f10fbf by Henry Wilkes at 2025-12-10T17:24:10-03:00
MB 419: Mullvad Browser migration procedures.
This commit implements the the Mullvad Browser's version of _migrateUI.
- - - - -
f20c93e3 by Henry Wilkes at 2025-12-10T17:24:11-03:00
MB 488: Adjust search engine removal notification for Mullvad Leta.
- - - - -
242 changed files:
- .gitlab/ci/jobs/update-translations.yml
- .gitlab/issue_templates/000 Bug Report.md
- .gitlab/issue_templates/010 Proposal.md
- .gitlab/issue_templates/020 Web Compatibility.md
- .gitlab/issue_templates/030 Test.md
- .gitlab/issue_templates/040 Feature.md
- .gitlab/issue_templates/060 Rebase - Alpha.md
- .gitlab/issue_templates/061 Rebase - Stable.md
- .gitlab/issue_templates/063 Rebase - Rapid.md
- .gitlab/issue_templates/090 Emergency Security Issue.md
- .gitlab/merge_request_templates/Default.md
- + .gitlab/merge_request_templates/Rebase.md
- browser/app/Makefile.in
- browser/app/macbuild/Contents/Info.plist.in
- browser/app/module.ver
- browser/app/firefox.exe.manifest → browser/app/mullvadbrowser.exe.manifest
- + browser/app/profile/000-mullvad-browser.js
- browser/app/profile/001-base-profile.js
- browser/base/content/aboutDialog.xhtml
- browser/base/content/appmenu-viewcache.inc.xhtml
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-places.js
- browser/base/content/browser.js
- browser/base/content/default-bookmarks.html
- browser/base/content/nsContextMenu.sys.mjs
- browser/base/content/overrides/app-license.html
- browser/base/content/pageinfo/pageInfo.xhtml
- browser/base/content/utilityOverlay.js
- browser/branding/branding-common.mozbuild
- + browser/branding/mb-alpha/VisualElements_150.png
- + browser/branding/mb-alpha/VisualElements_70.png
- + browser/branding/mb-alpha/configure.sh
- + browser/branding/mb-alpha/content/about-logo.png
- + browser/branding/mb-alpha/content/about-logo.svg
- + browser/branding/mb-alpha/content/about-logo(a)2x.png
- + browser/branding/mb-alpha/content/about-wordmark.svg
- + browser/branding/mb-alpha/content/about.png
- + browser/branding/mb-alpha/content/aboutDialog.css
- + browser/branding/mb-alpha/content/document_pdf.svg
- + browser/branding/mb-alpha/content/firefox-wordmark.svg
- + browser/branding/mb-alpha/content/icon128.png
- + browser/branding/mb-alpha/content/icon16.png
- + browser/branding/mb-alpha/content/icon256.png
- + browser/branding/mb-alpha/content/icon32.png
- + browser/branding/mb-alpha/content/icon48.png
- + browser/branding/mb-alpha/content/icon64.png
- + browser/branding/mb-alpha/content/jar.mn
- + browser/branding/mb-alpha/content/moz.build
- + browser/branding/mb-alpha/content/mullvad-branding.css
- + browser/branding/mb-alpha/default128.png
- + browser/branding/mb-alpha/default16.png
- + browser/branding/mb-alpha/default22.png
- + browser/branding/mb-alpha/default24.png
- + browser/branding/mb-alpha/default256.png
- + browser/branding/mb-alpha/default32.png
- + browser/branding/mb-alpha/default48.png
- + browser/branding/mb-alpha/default64.png
- + browser/branding/mb-alpha/document.icns
- + browser/branding/mb-alpha/document.ico
- + browser/branding/mb-alpha/document_pdf.ico
- + browser/branding/mb-alpha/firefox.icns
- + browser/branding/mb-alpha/firefox.ico
- + browser/branding/mb-alpha/firefox.svg
- + browser/branding/mb-alpha/locales/en-US/brand.ftl
- + browser/branding/mb-alpha/locales/en-US/brand.properties
- + browser/branding/mb-alpha/locales/jar.mn
- + browser/branding/mb-alpha/locales/moz.build
- + browser/branding/mb-alpha/locales/mullvad-about-wordmark-en.ftl
- + browser/branding/mb-alpha/moz.build
- + browser/branding/mb-alpha/mullvadbrowser.VisualElementsManifest.xml
- + browser/branding/mb-alpha/newtab.ico
- + browser/branding/mb-alpha/newwindow.ico
- + browser/branding/mb-alpha/pbmode.ico
- + browser/branding/mb-alpha/pref/firefox-branding.js
- + browser/branding/mb-nightly/VisualElements_150.png
- + browser/branding/mb-nightly/VisualElements_70.png
- + browser/branding/mb-nightly/configure.sh
- + browser/branding/mb-nightly/content/about-logo.png
- + browser/branding/mb-nightly/content/about-logo.svg
- + browser/branding/mb-nightly/content/about-logo(a)2x.png
- + browser/branding/mb-nightly/content/about-wordmark.svg
- + browser/branding/mb-nightly/content/about.png
- + browser/branding/mb-nightly/content/aboutDialog.css
- + browser/branding/mb-nightly/content/document_pdf.svg
- + browser/branding/mb-nightly/content/firefox-wordmark.svg
- + browser/branding/mb-nightly/content/icon128.png
- + browser/branding/mb-nightly/content/icon16.png
- + browser/branding/mb-nightly/content/icon256.png
- + browser/branding/mb-nightly/content/icon32.png
- + browser/branding/mb-nightly/content/icon48.png
- + browser/branding/mb-nightly/content/icon64.png
- + browser/branding/mb-nightly/content/jar.mn
- + browser/branding/mb-nightly/content/moz.build
- + browser/branding/mb-nightly/content/mullvad-branding.css
- + browser/branding/mb-nightly/default128.png
- + browser/branding/mb-nightly/default16.png
- + browser/branding/mb-nightly/default22.png
- + browser/branding/mb-nightly/default24.png
- + browser/branding/mb-nightly/default256.png
- + browser/branding/mb-nightly/default32.png
- + browser/branding/mb-nightly/default48.png
- + browser/branding/mb-nightly/default64.png
- + browser/branding/mb-nightly/document.icns
- + browser/branding/mb-nightly/document.ico
- + browser/branding/mb-nightly/document_pdf.ico
- + browser/branding/mb-nightly/firefox.icns
- + browser/branding/mb-nightly/firefox.ico
- + browser/branding/mb-nightly/firefox.svg
- + browser/branding/mb-nightly/locales/en-US/brand.ftl
- + browser/branding/mb-nightly/locales/en-US/brand.properties
- + browser/branding/mb-nightly/locales/jar.mn
- + browser/branding/mb-nightly/locales/moz.build
- + browser/branding/mb-nightly/locales/mullvad-about-wordmark-en.ftl
- + browser/branding/mb-nightly/moz.build
- + browser/branding/mb-nightly/mullvadbrowser.VisualElementsManifest.xml
- + browser/branding/mb-nightly/newtab.ico
- + browser/branding/mb-nightly/newwindow.ico
- + browser/branding/mb-nightly/pbmode.ico
- + browser/branding/mb-nightly/pref/firefox-branding.js
- + browser/branding/mb-release/VisualElements_150.png
- + browser/branding/mb-release/VisualElements_70.png
- + browser/branding/mb-release/configure.sh
- + browser/branding/mb-release/content/about-logo.png
- + browser/branding/mb-release/content/about-logo.svg
- + browser/branding/mb-release/content/about-logo(a)2x.png
- + browser/branding/mb-release/content/about-wordmark.svg
- + browser/branding/mb-release/content/about.png
- + browser/branding/mb-release/content/aboutDialog.css
- + browser/branding/mb-release/content/document_pdf.svg
- + browser/branding/mb-release/content/firefox-wordmark.svg
- + browser/branding/mb-release/content/icon128.png
- + browser/branding/mb-release/content/icon16.png
- + browser/branding/mb-release/content/icon256.png
- + browser/branding/mb-release/content/icon32.png
- + browser/branding/mb-release/content/icon48.png
- + browser/branding/mb-release/content/icon64.png
- + browser/branding/mb-release/content/jar.mn
- + browser/branding/mb-release/content/moz.build
- + browser/branding/mb-release/content/mullvad-branding.css
- + browser/branding/mb-release/default128.png
- + browser/branding/mb-release/default16.png
- + browser/branding/mb-release/default22.png
- + browser/branding/mb-release/default24.png
- + browser/branding/mb-release/default256.png
- + browser/branding/mb-release/default32.png
- + browser/branding/mb-release/default48.png
- + browser/branding/mb-release/default64.png
- + browser/branding/mb-release/document.icns
- + browser/branding/mb-release/document.ico
- + browser/branding/mb-release/document_pdf.ico
- + browser/branding/mb-release/firefox.icns
- + browser/branding/mb-release/firefox.ico
- + browser/branding/mb-release/firefox.svg
- + browser/branding/mb-release/locales/en-US/brand.ftl
- + browser/branding/mb-release/locales/en-US/brand.properties
- + browser/branding/mb-release/locales/jar.mn
- + browser/branding/mb-release/locales/moz.build
- + browser/branding/mb-release/locales/mullvad-about-wordmark-en.ftl
- + browser/branding/mb-release/moz.build
- + browser/branding/mb-release/mullvadbrowser.VisualElementsManifest.xml
- + browser/branding/mb-release/newtab.ico
- + browser/branding/mb-release/newwindow.ico
- + browser/branding/mb-release/pbmode.ico
- + browser/branding/mb-release/pref/firefox-branding.js
- browser/components/BrowserContentHandler.sys.mjs
- browser/components/BrowserGlue.sys.mjs
- browser/components/DesktopActorRegistry.sys.mjs
- browser/components/ProfileDataUpgrader.sys.mjs
- browser/components/about/AboutRedirector.cpp
- browser/components/about/components.conf
- browser/components/customizableui/CustomizableUI.sys.mjs
- browser/components/moz.build
- + browser/components/mullvad-browser/AboutMullvadBrowserChild.sys.mjs
- + browser/components/mullvad-browser/AboutMullvadBrowserParent.sys.mjs
- + browser/components/mullvad-browser/content/2728-sparkles.svg
- + browser/components/mullvad-browser/content/aboutMullvadBrowser.css
- + browser/components/mullvad-browser/content/aboutMullvadBrowser.html
- + browser/components/mullvad-browser/content/aboutMullvadBrowser.js
- + browser/components/mullvad-browser/jar.mn
- + browser/components/mullvad-browser/moz.build
- browser/components/preferences/home.inc.xhtml
- browser/components/preferences/preferences.xhtml
- browser/components/preferences/privacy.inc.xhtml
- browser/components/preferences/privacy.js
- browser/components/preferences/search.inc.xhtml
- browser/components/search/SearchUIUtils.sys.mjs
- browser/components/tabbrowser/NewTabPagePreloading.sys.mjs
- browser/config/mozconfigs/base-browser
- + browser/config/mozconfigs/mullvad-browser
- browser/installer/package-manifest.in
- browser/installer/windows/nsis/updater_append.ini
- browser/locales/l10n.toml
- browser/modules/HomePage.sys.mjs
- browser/moz.build
- browser/moz.configure
- config/create_rc.py
- devtools/client/aboutdebugging/src/actions/runtimes.js
- devtools/client/aboutdebugging/src/components/sidebar/Sidebar.js
- devtools/client/jar.mn
- devtools/client/themes/images/aboutdebugging-firefox-aurora.svg
- devtools/client/themes/images/aboutdebugging-firefox-beta.svg
- devtools/client/themes/images/aboutdebugging-firefox-logo.svg
- devtools/client/themes/images/aboutdebugging-firefox-nightly.svg
- devtools/client/themes/images/aboutdebugging-firefox-release.svg
- + devtools/client/themes/images/aboutdebugging-mullvadbrowser-logo.svg
- docshell/base/nsAboutRedirector.cpp
- docshell/build/components.conf
- moz.configure
- mozconfig-linux-aarch64
- mozconfig-linux-aarch64-dev
- mozconfig-linux-x86_64
- mozconfig-linux-x86_64-asan
- mozconfig-linux-x86_64-dev
- mozconfig-macos
- mozconfig-macos-dev
- mozconfig-windows-x86_64
- toolkit/components/extensions/child/ext-storage.js
- toolkit/components/extensions/parent/ext-storage.js
- toolkit/components/passwordmgr/LoginHelper.sys.mjs
- toolkit/components/search/SearchService.sys.mjs
- toolkit/components/search/content/base-browser-search-engine-icons.json
- toolkit/components/search/content/base-browser-search-engines.json
- + toolkit/components/search/content/brave.svg
- + toolkit/components/search/content/mojeek.ico
- toolkit/components/search/tests/xpcshell/test_base_browser.js
- toolkit/components/securitylevel/SecurityLevel.sys.mjs
- + toolkit/content/aboutRightsMullvad.xhtml
- + toolkit/content/aboutTelemetryMullvad.xhtml
- toolkit/content/jar.mn
- + toolkit/locales/en-US/toolkit/global/mullvad-browser.ftl
- toolkit/mozapps/extensions/AddonManager.sys.mjs
- toolkit/mozapps/extensions/content/aboutaddons.css
- toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
- toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs
- toolkit/mozapps/update/updater/nightly_aurora_level3_primary.der
- toolkit/mozapps/update/updater/nightly_aurora_level3_secondary.der
- toolkit/mozapps/update/updater/release_primary.der
- toolkit/mozapps/update/updater/release_secondary.der
- + toolkit/themes/shared/icons/mullvadbrowser.png
- toolkit/themes/shared/minimal-toolkit.jar.inc.mn
- toolkit/xre/nsAppRunner.cpp
- tools/lint/fluent-lint/exclusions.yml
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/e2…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/e2…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-2] 138 commits: BB 41454: Move focus after calling openPreferences for a sub-category.
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed to branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
12b70da7 by Henry Wilkes at 2025-11-27T14:10:04-03:00
BB 41454: Move focus after calling openPreferences for a sub-category.
Temporary fix until mozilla bug 1799153 gets a patch upstream.
- - - - -
6dd21530 by Henry Wilkes at 2025-11-27T14:17:06-03:00
BB 43072: Add aria label and description to moz-message-bar.
Ensures that moz-message-bar, including notifications, are announced on
Orca.
This addresses upstream bugzilla bug 1895857 and should likely be
replaced when it is fixed.
- - - - -
0742ec69 by Henry Wilkes at 2025-11-27T14:17:14-03:00
BB 42739: Use the brand name for profile error messages.
Some messages in profileSelection.properties use gAppData->name as
variable inputs. However, gAppData->name is still "Firefox" for our
base-browser builds, rather than the user-facing browser name. We swap
these instances with the displayed brand name instead.
- - - - -
70c86106 by Beatriz Rizental at 2025-12-01T10:18:54-03:00
fixup! BB 42739: Use the brand name for profile error messages.
- - - - -
9cdfd142 by Henry Wilkes at 2025-12-01T10:18:55-03:00
BB 41483: Remove the firefox override for appstrings.properties
Remove this patch after upstream bugzilla bug 1790187
- - - - -
f0e459de by Sukhbir Singh at 2025-12-01T10:18:56-03:00
BB 44167: Don't build the uninstaller for Windows during Firefox compilation
- - - - -
910a17f9 by Marco Simonelli at 2025-12-01T10:18:57-03:00
BB 41459: WebRTC fails to build under mingw (Part 1)
- properly define NOMINMAX for just MSVC builds
- - - - -
faff4a6f by Marco Simonelli at 2025-12-01T10:18:57-03:00
BB 41459: WebRTC fails to build under mingw (Part 2)
- fixes required to build third_party/libwebrtc
- - - - -
48ceade7 by Pier Angelo Vendrame at 2025-12-01T10:18:58-03:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
Linted.
- - - - -
ebf6263a by Marco Simonelli at 2025-12-01T10:18:59-03:00
BB 41459: WebRTC fails to build under mingw (Part 3)
- fixes required to build third_party/sipcc
- - - - -
4804326e by Marco Simonelli at 2025-12-01T10:19:00-03:00
BB 41459: WebRTC fails to build under mingw (Part 4)
- fixes requried to build netwerk/sctp
- - - - -
1df69286 by Marco Simonelli at 2025-12-01T10:19:01-03:00
BB 41459: WebRTC fails to build under mingw (Part 5)
- fixes required to build dom/media/webrtc
- - - - -
3df5124e by Marco Simonelli at 2025-12-01T10:19:01-03:00
BB 41459: WebRTC fails to build under mingw (Part 6)
- fixes required to build dom/media/systemservices
- - - - -
9ed6aa55 by june wilde at 2025-12-01T10:19:02-03:00
BB 42758: Fix WebRTC build errors.
- - - - -
803a78a6 by hackademix at 2025-12-01T10:19:03-03:00
BB 41854: Allow overriding download spam protection.
- - - - -
bbb5d632 by hackademix at 2025-12-01T10:19:04-03:00
BB 42832: Download spam prevention exemption for browser extensions.
- - - - -
7207589f by Pier Angelo Vendrame at 2025-12-01T10:19:04-03:00
BB 42220: Allow for more file types to be forced-inline.
Firefox allows to open some files in the browser without any
confirmation, but this will result in a disk leak, because the file will
be downloaded to the temporary directory first (and not deleted, in some
cases).
A preference allows PDFs to be opened without being downloaded to disk.
So, we introduce a similar one to do the same for all the files that are
set to be opened automatically in the browser, except svg and html files
to prevent XSS hazards (see BB 43211).
- - - - -
93ce669d by hackademix at 2025-12-01T10:19:05-03:00
BB 42835: Create an actor to filter file data transfers
- - - - -
1d243ba8 by Pier Angelo Vendrame at 2025-12-01T10:19:06-03:00
BB 44103: Remove ref-names from attr's .git_archival.txt.
The currently vendored copy of python-attrs's .git_archival.txt
includes a ref-names field which might make source tarballs not
reproducible.
Upstream fixed this in da2333cd37747d692d5c78b0c94bd400ff883a9a,
therefore we apply the same change until Mozilla vendors an updated
copy of python-attrs.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1980103.
- - - - -
445c589e by hackademix at 2025-12-01T10:19:07-03:00
BB 44125: Do not offer to save signatures by default in Private Browsing Mode
- - - - -
29e654e6 by Beatriz Rizental at 2025-12-09T20:14:59-03:00
BB 43564: Modify ./mach bootstrap for Base Browser
- - - - -
0be03b8a by Beatriz Rizental at 2025-12-09T20:15:00-03:00
fixup! BB 43564: Modify ./mach bootstrap for Base Browser
- - - - -
2d5dcce0 by Beatriz Rizental at 2025-12-09T20:15:00-03:00
BB 42728: Modify ./mach lint to skip unused linters
- - - - -
9ac30957 by Beatriz Rizental at 2025-12-09T20:15:01-03:00
fixup! BB 42728: Modify ./mach lint to skip unused linters
- - - - -
a5151db3 by Beatriz Rizental at 2025-12-09T20:15:02-03:00
fixup! BB 42728: Modify ./mach lint to skip unused linters
- - - - -
8916d972 by Morgan at 2025-12-10T13:59:01-03:00
BB 43615: Add Gitlab Issue and Merge Request templates
- - - - -
dcce69a8 by Pier Angelo Vendrame at 2025-12-10T13:59:14-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
Update GitLab templates.
Avoid mentioning existing issues/MRs, and update the channels.
- - - - -
e8647685 by Morgan at 2025-12-10T14:21:08-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
made header formatting consistent
- - - - -
8d82db10 by Morgan at 2025-12-10T14:21:08-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
drill down on more detailed Bookkeeping information
- - - - -
94c43da7 by Henry Wilkes at 2025-12-10T14:21:09-03:00
BB 41803: Add some developer tools for working on tor-browser.
- - - - -
32e28ebb by Richard Pospesel at 2025-12-10T14:21:10-03:00
BB 42683: Create script to generate issue triage csv file from bugzilla query and git logs
- - - - -
84be9572 by Henry Wilkes at 2025-12-10T14:21:10-03:00
BB 42305: Add script to combine translation files across versions.
- - - - -
14610d3e by Beatriz Rizental at 2025-12-10T14:21:11-03:00
BB 43535: Enable tests
- - - - -
2c0dc432 by Beatriz Rizental at 2025-12-10T14:21:12-03:00
Add CI for Base Browser
- - - - -
203b3db4 by Beatriz Rizental at 2025-12-10T14:21:12-03:00
fixup! Add CI for Base Browser
Use custom CI container for translations job.
- - - - -
44a4e6e4 by Beatriz Rizental at 2025-12-10T14:21:13-03:00
fixup! Add CI for Base Browser
Filed a review ticket https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/44402
Turned a linter rule back to warning for now.
- - - - -
15084ad5 by Pier Angelo Vendrame at 2025-12-10T15:26:00-03:00
Base Browser's .mozconfigs.
Bug 17858: Cannot create incremental MARs for hardened builds.
Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
(which is part of mar-tools and is not distributed to end-users) with
ASan.
Bug 21849: Don't allow SSL key logging.
Bug 25741 - TBA: Disable features at compile-time
Define MOZ_ANDROID_NETWORK_STATE and MOZ_ANDROID_LOCATION
Bug 27623 - Export MOZILLA_OFFICIAL during desktop builds
This fixes a problem where some preferences had the wrong default value.
Also see bug 27472 where we made a similar fix for Android.
Bug 29859: Disable HLS support for now
Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING
Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT
Bug 33734: Set MOZ_NORMANDY to False
Bug 33851: Omit Parental Controls.
Bug 40252: Add --enable-rust-simd to our tor-browser mozconfig files
Bug 41584: Move some configuration options to base-browser level
- - - - -
b67d0469 by Pier Angelo Vendrame at 2025-12-10T15:26:00-03:00
BB 44118: Disable Mozilla's nightly and early beta features.
- - - - -
573b47a2 by Pier Angelo Vendrame at 2025-12-10T15:26:01-03:00
fixup! BB 44118: Disable Mozilla's nightly and early beta features.
It seems is_early_beta_or_earlier can be only True or None, but not
False.
- - - - -
fde8cf84 by Pier Angelo Vendrame at 2025-12-10T15:26:02-03:00
Tweaks to the build system
Bug 40857: Modified the fat .aar creation file
This is a workaround to build fat .aars with the compiling enviornment
disabled.
Mozilla does not use a similar configuration, but either runs a Firefox
build and discards its output, or uses artifacts build.
We might switch to artifact builds too, and drop this patch, or write a
better one to upstream. But until then we need this patch.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1763770.
Bug 41458: Prevent `mach package-multi-locale` from actually creating a package
macOS builds need some files to be moved around with
./mach package-multi-locale to create multi-locale packages.
The required command isn't exposed through any other mach command.
So, we patch package-multi-locale both to prevent it from failing when
doing official builds and to detect any future changes on it.
- - - - -
d0aa9093 by Pier Angelo Vendrame at 2025-12-10T15:26:03-03:00
fixup! Tweaks to the build system
Disable more build telemetry.
The sentry module uses the Python ssl module, which does not work in
our old Linux build environment.
- - - - -
08b5fea9 by Pier Angelo Vendrame at 2025-12-10T15:26:03-03:00
fixup! Tweaks to the build system
TB 44370: Always create target.maven.zip on Android.
- - - - -
4e4d1a17 by Beatriz Rizental at 2025-12-10T15:26:04-03:00
fixup! Tweaks to the build system
Fix linter issues. Related to using things that are not being imported
since we commented them out. Guess the linter doesnt care that the code
is unreacheable.
- - - - -
4468abc5 by Pier Angelo Vendrame at 2025-12-10T15:26:05-03:00
BB 29320: Replace the gnu target with gnullvm for Rust.
- - - - -
6ba932f9 by Pier Angelo Vendrame at 2025-12-10T15:26:06-03:00
BB 42616: Remove VideoCaptureTest.kt.
This is a workaround to fix the GeckoView build with WebRTC disabled.
We should replace this workaround with a proper solution, that
excludes this test when MOZ_WEBRTC is undefined/False.
- - - - -
757b820f by Pier Angelo Vendrame at 2025-12-10T15:26:07-03:00
BB 41108: Remove privileged macOS installation from 102
- - - - -
4e85e65f by Dan Ballard at 2025-12-10T15:26:07-03:00
BB 41149: Re-enable DLL injection protection in all builds not just nightlies
- - - - -
fa94035c by Henry Wilkes at 2025-12-10T15:26:08-03:00
BB 43092: Disable wayland by default in Base Browser.
- - - - -
fe62c0d1 by Matthew Finkel at 2025-12-10T15:26:09-03:00
BB 24796: Comment out excess permissions from GeckoView
The GeckoView AndroidManifest.xml is not preprocessed unlike Fennec's
manifest, so we can't use the ifdef preprocessor guards around the
permissions we do not want. Commenting the permissions is the
next-best-thing.
- - - - -
1b2e19e4 by Matthew Finkel at 2025-12-10T15:26:10-03:00
BB 28125: Prevent non-Necko network connections
- - - - -
6903f75f by Mike Perry at 2025-12-10T15:26:10-03:00
BB 12974: Disable NTLM and Negotiate HTTP Auth
The Mozilla bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1046421,
https://bugzilla.mozilla.org/show_bug.cgi?id=1261591, tor-browser#27602
- - - - -
62b0a9e0 by cypherpunks1 at 2025-12-10T15:26:11-03:00
BB 40717: Hide Windows SSO in settings
- - - - -
203ec0fb by Georg Koppen at 2025-12-10T15:26:12-03:00
BB 16285: Exclude ClearKey system for now
In the past the ClearKey system had not been compiled when specifying
--disable-eme. But that changed and it is even bundled nowadays (see:
Mozilla's bug 1300654). We don't want to ship it right now as the use
case for it is not really visible while the code had security
vulnerabilities in the past.
- - - - -
179b0231 by Kathy Brade at 2025-12-10T15:26:13-03:00
BB 21431: Clean-up system extensions shipped in Firefox
Only ship the pdfjs extension.
- - - - -
9a0ed398 by Kathy Brade at 2025-12-10T15:26:14-03:00
BB 33852: Clean up about:logins (LockWise) to avoid mentioning sync, etc.
Hide elements on about:logins that mention sync, "Firefox LockWise", and
Mozilla's LockWise mobile apps.
Disable the "Create New Login" button when security.nocertdb is true.
- - - - -
73eee8f9 by Alex Catarineu at 2025-12-10T15:26:14-03:00
BB 41457: Remove Mozilla permissions
Bug 40025: Remove Mozilla add-on install permissions
- - - - -
e8f9ff11 by Henry Wilkes at 2025-12-10T15:26:15-03:00
BB 44045: Disable ML features.
- - - - -
f4556882 by Kathy Brade at 2025-12-10T15:26:16-03:00
BB 41662: Disable about:sync-logs
Even though we disable sync by default with
`identity.fxaccounts.enabled`, this about: page is still avilable.
We could throw an exception on the constructor of the related
component, but it would result only in an error in the console, without
a visible "this address does not look right" error page.
If we fix the issues with MOZ_SERVICES_SYNC, we can restore the
component.
- - - - -
56e28e8a by Morgan at 2025-12-10T15:26:17-03:00
BB 42716: Disable unwanted about: pages
- - - - -
276cc80f by Arthur Edelstein at 2025-12-10T15:26:18-03:00
BB 26353: Prevent speculative connect that violated FPI.
Connections were observed in the catch-all circuit when
the user entered an https or http URL in the URL bar, or
typed a search term.
- - - - -
fd525e57 by Alex Catarineu at 2025-12-10T15:26:19-03:00
BB 31740: Remove some unnecessary RemoteSettings instances
More concretely, SearchService.jsm 'hijack-blocklists' and
url-classifier-skip-urls.
Avoid creating instance for 'anti-tracking-url-decoration'.
If prefs are disabling their usage, avoid creating instances for
'cert-revocations' and 'intermediates'.
Do not ship JSON dumps for collections we do not expect to need. For
the ones in the 'main' bucket, this prevents them from being synced
unnecessarily (the code in remote-settings does so for collections
in the main bucket for which a dump or local data exists). For the
collections in the other buckets, we just save some size by not
shipping their dumps.
We also clear the collections database on the v2 -> v3 migration.
- - - - -
23a89c57 by cypherpunks1 at 2025-12-10T15:26:20-03:00
BB 41092: Add a RemoteSettings JSON dump for query-stripping
- - - - -
5b11c6cf by cypherpunks1 at 2025-12-10T15:26:20-03:00
BB 42730: Patch RemoteSettings to use only local dumps as a data source
- - - - -
f012d163 by Pier Angelo Vendrame at 2025-12-10T15:26:21-03:00
BB 43525: Skip Remote Settings for search engine customization.
Also, add some bundled search engines.
- - - - -
0a701470 by Pier Angelo Vendrame at 2025-12-10T15:26:22-03:00
BB 41635: Disable the Normandy component
Do not include Normandy at all whenever MOZ_NORMANDY is False.
- - - - -
7ae38a9c by Georg Koppen at 2025-12-10T15:26:23-03:00
BB 30541: Disable WebGL readPixel() for web content
Related Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1428034
- - - - -
7df665e6 by Alex Catarineu at 2025-12-10T15:26:24-03:00
BB 28369: Stop shipping pingsender executable
- - - - -
94f18b1f by Pier Angelo Vendrame at 2025-12-10T15:26:24-03:00
BB 41599: Always return an empty string as network ID
Firefox computes an internal network ID used to detect network changes
and act consequently (e.g., to improve WebSocket UX).
However, there are a few ways to get this internal network ID, so we
patch them out, to be sure any new code will not be able to use them and
possibly link users.
We also sent a patch to Mozilla to seed the internal network ID, to
prevent any accidental leak in the future.
Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1817756
- - - - -
9c4fa354 by Pier Angelo Vendrame at 2025-12-10T15:26:25-03:00
BB 43386: Use Firefox in the UA in RFP-exempt request.
XHR requests initiated by extensions are exempt from RFP.
Therefore, they report the actual app name, instead of Firefox, and the
actual Firefox minor version.
This happens whenever the app name has been customized and does not
match a hardcoded "Firefox".
- - - - -
822cd44d by Richard Pospesel at 2025-12-10T15:26:26-03:00
BB 41327: Disable UrlbarProviderInterventions
- - - - -
65191e56 by Richard Pospesel at 2025-12-10T15:26:27-03:00
BB 42037: Disable about:firefoxview page
- - - - -
7cf1fcf0 by Henry Wilkes at 2025-12-10T15:26:28-03:00
BB 44107: Re-include firefoxview asset view-opentabs.svg.
Should be dropped after bugzilla bug 1987279 is resolved.
- - - - -
5d99777c by Mike Perry at 2025-12-10T15:26:29-03:00
Firefox preference overrides.
- - - - -
6760e001 by Pier Angelo Vendrame at 2025-12-10T15:26:29-03:00
fixup! Firefox preference overrides.
BB 44396: Fix the name of CJK fonts in font lists.
- - - - -
b41b3745 by Pier Angelo Vendrame at 2025-12-10T15:26:30-03:00
BB 43140: Tighten up fonts on Linux.
We ship a fontconfig configuration to esnure all Linux users have the
same defaults and reduce the chances of fingerprinting.
We used to add this file in tor-browser-build, but some users might
skip it by using the browser executable without the wrapper script.
Therefore, we decided to activate the file with the FontConfig API
instead of the environment variables.
Bug 41043: Hardcode the UI font on Linux
The mechanism to choose the UI font does not play well with our
fontconfig configuration. As a result, the final criterion to choose
the font for the UI was its version.
Since we hardcode Arimo as a default sans-serif on preferences, we use
it also for the UI. FontConfig will fall back to some other font for
scripts Arimo does not cover as expected (we tested with Japanese).
Bug 43141: Hardcode system-ui to Arimo.
- - - - -
cc197102 by Pier Angelo Vendrame at 2025-12-10T15:26:31-03:00
BB 43322: Customize the font visibility lists.
Customize the lists of fonts to assign base visibility to in
base browser and derivatives.
Also, rename the files with the upstream lists, to make sure we do not
use them by mistake.
- - - - -
d6a45e55 by Alex Catarineu at 2025-12-10T15:26:32-03:00
BB 30605: Honor privacy.spoof_english in Android
This checks `privacy.spoof_english` whenever `setLocales` is
called from Fenix side and sets `intl.accept_languages`
accordingly.
Bug 40198: Expose privacy.spoof_english pref in GeckoView
- - - - -
22316cfc by Pier Angelo Vendrame at 2025-12-10T15:26:33-03:00
BB 42562: Normalized the Accepted Languages on Android.
The OS language might be outside the list of actually supported
languages and it might leak the user's region.
Therefore, we force the locale reported in Accept-Language to match one
we support with translations, even when it means using a not exact
region tag.
- - - - -
f41d44df by Alex Catarineu at 2025-12-10T15:26:34-03:00
BB 40171: Make WebRequest and GeckoWebExecutor First-Party aware
- - - - -
8eaa06ef by Alex Catarineu at 2025-12-10T15:26:34-03:00
BB 26345: Hide tracking protection UI
- - - - -
4e85a48b by Henry Wilkes at 2025-12-10T15:26:35-03:00
BB 43109: Hide Firefox Relay from settings.
This should remain disabled, see tor-browser#42814.
- - - - -
e23489d7 by Henry Wilkes at 2025-12-10T15:26:36-03:00
BB 42777: Hide Website Privacy Preferences.
We hide the Website Privacy Preferences section, which controls the
"global privacy control" (GPC) and "do not track" (DNT) settings.
- - - - -
c6c4e957 by Morgan at 2025-12-10T15:26:37-03:00
BB 42070: Hide "Use smooth scrolling" from settings
- - - - -
5f706880 by Arthur Edelstein at 2025-12-10T15:26:38-03:00
BB 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
- - - - -
46e53ecb by Pier Angelo Vendrame at 2025-12-10T15:26:39-03:00
BB 41739: Remove "Website appearance" from about:preferences.
It is ignored because of RFP and it is confusing for users.
- - - - -
589dea8c by Henry Wilkes at 2025-12-10T15:26:39-03:00
BB 43850: Modify the Contrast Control settings for RFP.
- - - - -
70107552 by Henry Wilkes at 2025-12-10T15:26:40-03:00
BB 43117: Hide "Always underline links" from settings.
- - - - -
a13cd1b5 by Pier Angelo Vendrame at 2025-12-10T15:26:41-03:00
BB 42774: Always hide the third-pary certs UI.
- - - - -
b1dc87d9 by Henry Wilkes at 2025-12-10T15:26:42-03:00
BB 43118: Hide feature recommendation (CFR) settings.
- - - - -
4a1161f6 by Henry Wilkes at 2025-12-10T15:26:43-03:00
BB 44279: Disable contextual search install prompt.
- - - - -
5668c3b2 by Pier Angelo Vendrame at 2025-12-10T15:26:44-03:00
BB 9173: Change the default Firefox profile directory to be relative.
This commit makes Firefox look for the default profile directory in a
directory relative to the binary path.
The directory can be specified through the --with-relative-data-dir.
This is relative to the same directory as the firefox main binary for
Linux and Windows.
On macOS, we remove Contents/MacOS from it.
Or, in other words, the directory is relative to the application
bundle.
This behavior can be overriden at runtime, by placing a file called
system-install adjacent to the firefox main binary (also on macOS).
- - - - -
3871f53c by Pier Angelo Vendrame at 2025-12-10T15:26:44-03:00
BB 42773: Replace ~ with the original home.
In Bug 93141, Mozilla started sending users to their home when they type
~ in the URL bar.
On Linux, we change $HOME for various reason, therefore you would be
redirected to the spoofed home directory when typing ~.
So, we check if the original home directory is known, and use that,
instead.
- - - - -
233fc4c3 by Alex Catarineu at 2025-12-10T15:26:45-03:00
BB 27604: Fix addon issues when moving the profile directory
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1429838
- - - - -
1d5bff49 by Mike Perry at 2025-12-10T15:26:46-03:00
BB 13028: Prevent potential proxy bypass cases.
It looks like these cases should only be invoked in the NSS command line
tools, and not the browser, but I decided to patch them anyway because there
literally is a maze of network function pointers being passed around, and it's
very hard to tell if some random code might not pass in the proper proxied
versions of the networking code here by accident.
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1433509
- - - - -
fb1a09ab by Pier Angelo Vendrame at 2025-12-10T15:26:47-03:00
BB 40309: Avoid using regional OS locales
Avoid regional OS locales if the pref
`intl.regional_prefs.use_os_locales` is false but RFP is enabled.
- - - - -
cf8171dc by Matthew Finkel at 2025-12-10T15:26:48-03:00
BB 40432: Prevent probing installed applications
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1711084
- - - - -
eb3e0db4 by Henry Wilkes at 2025-12-10T15:26:49-03:00
BB 29745: Limit remote access to content accessible resources
- - - - -
c98b0a99 by cypherpunks1 at 2025-12-10T15:26:50-03:00
BB 33955: When copying an image only copy the image contents to the clipboard
- - - - -
88c50497 by cypherpunks1 at 2025-12-10T15:26:50-03:00
BB 41791: Omit the source URL when copying page contents to the clipboard
- - - - -
e08e3649 by Pier Angelo Vendrame at 2025-12-10T15:26:51-03:00
BB 43196: Remove the vendor name from media notifications on Linux.
Firefox shows "vendor remoteName" as a title of the "... is playing
media" notification on Linux.
However, for our browser the remote name is enough, and prepending the
vendor to it creates a string users usually never see.
- - - - -
585f872a by Pier Angelo Vendrame at 2025-12-10T15:26:52-03:00
Base Browser strings
This commit adds all the strings needed by following Base Browser
patches.
- - - - -
3b531650 by Henry Wilkes at 2025-12-10T15:26:53-03:00
BB 42583: Modify moz-support-link for Base Browser.
- - - - -
c5d6bc93 by Pier Angelo Vendrame at 2025-12-10T15:26:54-03:00
BB 41369: Improve Firefox language settings for multi-lingual packages
Change the language selector to be sorted by language code, rather than
name, and to display the language code to the user.
Bug 41372: Handle Japanese as a special case in preferences on macOS
Japanese is treated in a special way on macOS. However, seeing the
Japanese language tag could be confusing for users, and moreover the
language name is not localized correctly like other langs.
Bug 41378: Tell users that they can change their language at the first start
With multi-lingual builds, Tor Browser matches the user's system
language, but some users might want to change it.
So, we tell them that it is possible, but only once.
- - - - -
7c04f31b by p13dz at 2025-12-10T15:26:55-03:00
BB 40283: Workaround for the file upload bug
- - - - -
9fc2664f by hackademix at 2025-12-10T15:26:55-03:00
BB 42019: Empty browser's clipboard on browser shutdown
- - - - -
06621e7d by hackademix at 2025-12-10T15:26:56-03:00
BB 42084: Ensure English spoofing works even if preferences are set out of order.
- - - - -
e02cd821 by Pier Angelo Vendrame at 2025-12-10T15:26:57-03:00
BB 41930: Remove the UI to customize accept_languages.
- - - - -
488ee9f7 by hackademix at 2025-12-10T15:26:58-03:00
BB 32308: Use direct browser sizing for letterboxing.
Bug 30556: align letterboxing with 200x100 new win width stepping
- - - - -
3c1e6fab by Henry Wilkes at 2025-12-10T15:26:59-03:00
fixup! BB 32308: Use direct browser sizing for letterboxing.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
eec3955a by hackademix at 2025-12-10T15:26:59-03:00
BB 41631: Prevent weird initial window dimensions caused by subpixel computations
- - - - -
85aee552 by hackademix at 2025-12-10T15:27:00-03:00
BB 41918: Option to reuse last window size when letterboxing is enabled.
- - - - -
61c325a8 by hackademix at 2025-12-10T15:27:01-03:00
BB 41916: Letterboxing preferences UI
- - - - -
0b911cee by hackademix at 2025-12-10T15:27:02-03:00
BB 41695: Warn on window maximization without letterboxing in RFPHelper module
- - - - -
ee258624 by hackademix at 2025-12-10T15:27:03-03:00
BB 42443: Shrink window to match letterboxing size when the emtpy area is clicked.
- - - - -
c2c6ebc1 by hackademix at 2025-12-10T15:27:04-03:00
BB 41919: Letterboxing, add temporarily visible web content-size indicator on window resizing.
- - - - -
9160ba71 by Henry Wilkes at 2025-12-10T15:27:04-03:00
fixup! BB 41919: Letterboxing, add temporarily visible web content-size indicator on window resizing.
TB 44214: Fix letterboxing status indicator for RTL.
- - - - -
68d8c7f3 by Henry Wilkes at 2025-12-10T15:27:05-03:00
BB 42528: Don't leak system scrollbar size on windows.
- - - - -
a4c95884 by Henry Wilkes at 2025-12-10T15:27:06-03:00
BB 31575: Disable Firefox Home (Activity Stream)
Treat about:blank as the default home page and new tab page.
BB 43886: Disable the newtab component/addon.
Bug 41624: Disable about:pocket-* pages.
Bug 40144: Redirect about:privatebrowsing to the user's home
- - - - -
ca509ad0 by Pier Angelo Vendrame at 2025-12-10T15:27:07-03:00
fixup! BB 31575: Disable Firefox Home (Activity Stream)
BB 44302: Add URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS to some about pages.
- - - - -
5c6c36af by Kathy Brade at 2025-12-10T15:27:07-03:00
BB 4234: Use the Firefox Update Process for Base Browser.
Windows: disable "runas" code path in updater (15201).
Windows: avoid writing to the registry (16236).
Also includes fixes for tickets 13047, 13301, 13356, 13594, 15406,
16014, 16909, 24476, and 25909.
Also fix bug 27221: purge the startup cache if the Base Browser
version changed (even if the Firefox version and build ID did
not change), e.g., after a minor Base Browser update.
Also fix 32616: Disable GetSecureOutputDirectoryPath() functionality.
Bug 26048: potentially confusing "restart to update" message
Within the update doorhanger, remove the misleading message that mentions
that windows will be restored after an update is applied, and replace the
"Restart and Restore" button label with an existing
"Restart to update Tor Browser" string.
Bug 28885: notify users that update is downloading
Add a "Downloading Base Browser update" item which appears in the
hamburger (app) menu while the update service is downloading a MAR
file. Before this change, the browser did not indicate to the user
that an update was in progress, which is especially confusing in
Tor Browser because downloads often take some time. If the user
clicks on the new menu item, the about dialog is opened to allow
the user to see download progress.
As part of this fix, the update service was changed to always show
update-related messages in the hamburger menu, even if the update
was started in the foreground via the about dialog or via the
"Check for Tor Browser Update" toolbar menu item. This change is
consistent with the Tor Browser goal of making sure users are
informed about the update process.
Removed #28885 parts of this patch which have been uplifted to Firefox.
- - - - -
009a8cb6 by Pier Angelo Vendrame at 2025-12-10T15:27:08-03:00
BB 42061: Create an alpha update channel.
- - - - -
2b45ecb9 by Nicolas Vigier at 2025-12-10T15:27:09-03:00
BB 41682: Add base-browser nightly mar signing key
- - - - -
3f3f7c02 by Pier Angelo Vendrame at 2025-12-10T15:27:10-03:00
BB 41603: Customize the creation of MOZ_SOURCE_URL
MOZ_SOURCE_URL is created by combining MOZ_SOURCE_REPO and
MOZ_SOURCE_CHANGESET.
But the code takes for granted that it refers to a Hg instance, so it
combines them as `$MOZ_SOURCE_REPO/rev/$MOZ_SOURCE_CHANGESET`.
With this commit, we change this logic to combine them to create a URL
that is valid for GitLab.
$MOZ_SOURCE_CHANGESET needs to be a commit hash, not a branch or a tag.
If that is needed, we could use /-/tree/, instead of /-/commit/.
- - - - -
aede2f33 by Pier Angelo Vendrame at 2025-12-10T15:27:10-03:00
BB 42438: Tweaks to the migration wizard.
Remove the items not compatible with our features (such as history) from
the migration wizard.
On Linux, allow to specify an alternative home directory, since we
usually change $HOME in our startup script.
- - - - -
a9f0eba2 by Alex Catarineu at 2025-12-10T15:27:11-03:00
BB 40069: Add helpers for message passing with extensions
- - - - -
b978ebc1 by Matthew Finkel at 2025-12-10T15:27:12-03:00
BB 41598: Prevent NoScript from being removed/disabled.
Bug 40253: Explicitly allow NoScript in Private Browsing mode.
- - - - -
90311b2d by Henry Wilkes at 2025-12-10T15:27:13-03:00
BB 41581: Hide NoScript extension's toolbar button by default.
This hides it from both the toolbar and the unified extensions panel.
We also hide the unified-extension-button if the panel would be empty:
not including the NoScript button when it is hidden. As a result, this
will be hidden by default until a user installs another extension (or
shows the NoScript button and unpins it).
- - - - -
d206e967 by hackademix at 2025-12-10T15:27:14-03:00
BB 41834: Hide "Can't Be Removed - learn more" menu line for uninstallable add-ons
- - - - -
ea1c1d67 by Henry Wilkes at 2025-12-10T15:27:14-03:00
BB 41736: Customize toolbar for base-browser.
- - - - -
ea7f2133 by Henry Wilkes at 2025-12-10T15:27:15-03:00
BB 43864: Modify the urlbar for Base Browser.
- - - - -
584b546b by Henry Wilkes at 2025-12-10T15:27:16-03:00
BB 44040: Modify prompt service for Base Browser.
- - - - -
500e98df by Henry Wilkes at 2025-12-10T15:27:17-03:00
BB 43902: Modify the new sidebar for Base Browser.
- - - - -
bd911cdb by Beatriz Rizental at 2025-12-10T15:27:17-03:00
BB 44400: Disable liquid app glass icons for MacOS
This reverts commit 7ee252421988d7b3a38dc650986a3b4c3321a823.
- - - - -
2b09b040 by Pier Angelo Vendrame at 2025-12-10T15:27:18-03:00
BB 40925: Implemented the Security Level component
This component adds a new Security Level toolbar button which visually
indicates the current global security level via icon (as defined by the
extensions.torbutton.security_slider pref), a drop-down hanger with a
short description of the current security level, and a new section in
the about:preferences#privacy page where users can change their current
security level. In addition, the hanger and the preferences page will
show a visual warning when the user has modified prefs associated with
the security level and provide a one-click 'Restore Defaults' button to
get the user back on recommended settings.
Bug 40125: Expose Security Level pref in GeckoView
- - - - -
abec818b by Pier Angelo Vendrame at 2025-12-10T15:27:19-03:00
fixup! BB 40925: Implemented the Security Level component
Linted.
- - - - -
088db1ef by Henry Wilkes at 2025-12-10T15:27:20-03:00
fixup! BB 40925: Implemented the Security Level component
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
3b688f70 by Pier Angelo Vendrame at 2025-12-10T15:27:21-03:00
BB 40926: Implemented the New Identity feature
- - - - -
e2a7c780 by Pier Angelo Vendrame at 2025-12-10T15:27:21-03:00
BB 42027: Base Browser migration procedures.
This commit implmenents the the Base Browser's version of _migrateUI.
- - - - -
420 changed files:
- + .gitlab-ci.yml
- + .gitlab/ci/jobs/helpers.py
- + .gitlab/ci/jobs/lint/lint.yml
- + .gitlab/ci/jobs/test/python-test.yml
- + .gitlab/ci/jobs/update-translations.yml
- + .gitlab/ci/mixins.yml
- + .gitlab/issue_templates/000 Bug Report.md
- + .gitlab/issue_templates/010 Proposal.md
- + .gitlab/issue_templates/020 Web Compatibility.md
- + .gitlab/issue_templates/030 Test.md
- + .gitlab/issue_templates/031 Fingerprinting.md
- + .gitlab/issue_templates/040 Feature.md
- + .gitlab/issue_templates/050 Backport.md
- + .gitlab/issue_templates/060 Rebase - Alpha.md
- + .gitlab/issue_templates/061 Rebase - Stable.md
- + .gitlab/issue_templates/063 Rebase - Rapid.md
- + .gitlab/issue_templates/090 Emergency Security Issue.md
- + .gitlab/issue_templates/Default.md
- + .gitlab/merge_request_templates/Default.md
- .prettierignore
- browser/Makefile.in
- browser/actors/moz.build
- browser/app/Makefile.in
- browser/app/macbuild/Contents/Info.plist.in
- browser/app/macbuild/Contents/MacOS-files.in
- browser/app/moz.build
- browser/app/permissions
- + browser/app/profile/001-base-profile.js
- browser/app/profile/firefox.js
- browser/base/content/aboutDialog-appUpdater.js
- browser/base/content/aboutDialog.js
- browser/base/content/aboutDialog.xhtml
- browser/base/content/appmenu-viewcache.inc.xhtml
- browser/base/content/browser-addons.js
- browser/base/content/browser-context.js
- browser/base/content/browser-init.js
- browser/base/content/browser-main.js
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-safebrowsing.js
- browser/base/content/browser-sets.inc
- browser/base/content/browser-sets.js
- browser/base/content/browser.js
- browser/base/content/browser.js.globals
- browser/base/content/browser.xhtml
- + browser/base/content/languageNotification.js
- browser/base/content/main-popupset.inc.xhtml
- browser/base/content/navigator-toolbox.inc.xhtml
- browser/base/content/nsContextMenu.sys.mjs
- browser/base/jar.mn
- browser/base/moz.build
- − browser/branding/aurora/Assets.car
- − browser/branding/nightly/Assets.car
- − browser/branding/official/Assets.car
- − browser/branding/unofficial/Assets.car
- browser/components/BrowserComponents.manifest
- browser/components/BrowserContentHandler.sys.mjs
- browser/components/BrowserGlue.sys.mjs
- browser/components/DesktopActorRegistry.sys.mjs
- browser/components/ProfileDataUpgrader.sys.mjs
- browser/components/about/AboutRedirector.cpp
- browser/components/about/components.conf
- browser/components/aboutlogins/AboutLoginsParent.sys.mjs
- browser/components/aboutlogins/content/aboutLogins.css
- browser/components/aboutlogins/content/aboutLogins.mjs
- browser/components/aboutlogins/content/components/fxaccounts-button.css
- browser/components/aboutlogins/content/components/login-command-button.mjs
- browser/components/aboutlogins/content/components/login-list.mjs
- browser/components/customizableui/CustomizableUI.sys.mjs
- browser/components/customizableui/CustomizeMode.sys.mjs
- browser/components/customizableui/content/panelUI.inc.xhtml
- browser/components/downloads/DownloadSpamProtection.sys.mjs
- browser/components/extensions/parent/ext-browserAction.js
- browser/components/migration/ChromeMigrationUtils.sys.mjs
- browser/components/migration/content/migration-wizard.mjs
- browser/components/moz.build
- + browser/components/newidentity/content/newidentity.js
- + browser/components/newidentity/jar.mn
- + browser/components/newidentity/moz.build
- browser/components/newtab/AboutHomeStartupCache.sys.mjs
- browser/components/places/content/historySidebar.js
- browser/components/places/content/historySidebar.xhtml
- browser/components/preferences/home.inc.xhtml
- browser/components/preferences/home.js
- browser/components/preferences/jar.mn
- + browser/components/preferences/letterboxing-middle-dark.svg
- + browser/components/preferences/letterboxing-middle-light.svg
- + browser/components/preferences/letterboxing-top-dark.svg
- + browser/components/preferences/letterboxing-top-light.svg
- + browser/components/preferences/letterboxing.css
- + browser/components/preferences/letterboxing.inc.xhtml
- + browser/components/preferences/letterboxing.js
- browser/components/preferences/main.inc.xhtml
- browser/components/preferences/main.js
- browser/components/preferences/preferences.js
- browser/components/preferences/preferences.xhtml
- browser/components/preferences/privacy.inc.xhtml
- browser/components/preferences/privacy.js
- browser/components/reportbrokensite/ReportBrokenSite.sys.mjs
- browser/components/search/SERPCategorization.sys.mjs
- browser/components/search/SearchSERPTelemetry.sys.mjs
- + browser/components/securitylevel/SecurityLevelUIUtils.sys.mjs
- + browser/components/securitylevel/content/securityLevel.js
- + browser/components/securitylevel/content/securityLevelButton.css
- + browser/components/securitylevel/content/securityLevelButton.inc.xhtml
- + browser/components/securitylevel/content/securityLevelDialog.js
- + browser/components/securitylevel/content/securityLevelDialog.xhtml
- + browser/components/securitylevel/content/securityLevelIcon.svg
- + browser/components/securitylevel/content/securityLevelPanel.css
- + browser/components/securitylevel/content/securityLevelPanel.inc.xhtml
- + browser/components/securitylevel/content/securityLevelPreferences.css
- + browser/components/securitylevel/content/securityLevelPreferences.inc.xhtml
- + browser/components/securitylevel/jar.mn
- + browser/components/securitylevel/moz.build
- browser/components/sidebar/browser-sidebar.js
- browser/components/sidebar/sidebar-main.mjs
- browser/components/tabbrowser/content/tabbrowser.js
- browser/components/tabbrowser/content/tabgroup-menu.js
- browser/components/tabbrowser/moz.build
- browser/components/translations/content/selectTranslationsPanel.js
- browser/components/urlbar/ActionsProviderContextualSearch.sys.mjs
- browser/components/urlbar/QuickActionsLoaderDefault.sys.mjs
- browser/components/urlbar/QuickSuggest.sys.mjs
- browser/components/urlbar/SearchModeSwitcher.sys.mjs
- browser/components/urlbar/UrlbarController.sys.mjs
- browser/components/urlbar/UrlbarProvidersManager.sys.mjs
- browser/components/urlbar/UrlbarUtils.sys.mjs
- browser/components/urlbar/moz.build
- + browser/config/mozconfigs/base-browser
- + browser/config/mozconfigs/base-browser-android
- browser/extensions/moz.build
- + browser/fonts/fonts.conf
- browser/fonts/moz.build
- browser/installer/Makefile.in
- browser/installer/package-manifest.in
- browser/installer/windows/nsis/shared.nsh
- − browser/locales/en-US/chrome/overrides/appstrings.properties
- browser/locales/jar.mn
- browser/modules/AboutNewTab.sys.mjs
- browser/modules/BrowserWindowTracker.sys.mjs
- + browser/modules/ClipboardPrivacy.sys.mjs
- browser/modules/HomePage.sys.mjs
- + browser/modules/SecurityLevelNotification.sys.mjs
- browser/modules/moz.build
- browser/moz.build
- browser/moz.configure
- + browser/themes/shared/icons/new_identity.svg
- browser/themes/shared/identity-block/identity-block.css
- browser/themes/shared/jar.inc.mn
- browser/themes/shared/preferences/preferences.css
- browser/themes/shared/tabbrowser/content-area.css
- browser/themes/shared/tabbrowser/tabs.css
- browser/themes/shared/toolbarbutton-icons.css
- build/application.ini.in
- build/moz.build
- + build/moz.configure/basebrowser-resources.configure
- build/moz.configure/bootstrap.configure
- build/moz.configure/init.configure
- build/moz.configure/rust.configure
- build/moz.configure/update-programs.configure
- build/moz.configure/windows.configure
- build/variables.py
- caps/nsScriptSecurityManager.cpp
- config/external/moz.build
- devtools/client/aboutdebugging/src/actions/runtimes.js
- docshell/base/URIFixup.sys.mjs
- docshell/base/nsAboutRedirector.cpp
- docshell/build/components.conf
- dom/base/nsContentUtils.cpp
- dom/base/nsContentUtils.h
- dom/base/nsCopySupport.cpp
- dom/canvas/ClientWebGLContext.cpp
- dom/media/systemservices/video_engine/desktop_device_info.cc
- dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
- dom/media/webrtc/libwebrtcglue/VideoConduit.cpp
- dom/media/webrtc/sdp/RsdparsaSdpAttributeList.cpp
- dom/media/webrtc/transport/nrinterfaceprioritizer.cpp
- dom/media/webrtc/transport/sigslot.h
- dom/media/webrtc/transport/test/ice_unittest.cpp
- dom/media/webrtc/transport/third_party/nICEr/src/net/local_addr.c
- dom/media/webrtc/transport/third_party/nICEr/src/net/local_addr.h
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-win32.c
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs.c
- dom/media/webrtc/transport/third_party/nrappkit/src/log/r_log.c
- dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.c
- dom/webidl/moz.build
- eslint-file-globals.config.mjs
- eslint-ignores.config.mjs
- eslint.config.mjs
- extensions/auth/nsHttpNegotiateAuth.cpp
- + gfx/thebes/StandardFonts-macos-bb.inc
- gfx/thebes/StandardFonts-macos.inc
- + gfx/thebes/StandardFonts-win10-bb.inc
- gfx/thebes/StandardFonts-win10.inc
- gfx/thebes/gfxDWriteFontList.cpp
- gfx/thebes/gfxFcPlatformFontList.cpp
- gfx/thebes/gfxMacPlatformFontList.mm
- gfx/thebes/gfxPlatformFontList.cpp
- intl/locale/LocaleService.cpp
- layout/base/nsLayoutUtils.cpp
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/SearchUseCases.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/ext/SearchEngine.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/internal/SearchUrlBuilder.kt
- + mobile/android/basebrowser.configure
- mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/DefaultHttpDataSource.java
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/UseCases.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/gecko/GeckoProvider.kt
- mobile/android/geckoview/api.txt
- − mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/VideoCaptureTest.kt
- mobile/android/geckoview/src/main/AndroidManifest.xml
- mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/WebRequest.java
- mobile/android/gradle/with_gecko_binaries.gradle
- mobile/android/installer/package-manifest.in
- mobile/android/mach_commands.py
- mobile/android/moz.configure
- mobile/shared/chrome/geckoview/geckoview.js
- mobile/shared/components/geckoview/GeckoViewStartup.sys.mjs
- modules/libpref/init/StaticPrefList.yaml
- modules/libpref/init/all.js
- moz.configure
- + mozconfig-android-aarch64
- + mozconfig-android-all
- + mozconfig-android-armv7
- + mozconfig-android-x86
- + mozconfig-android-x86_64
- + mozconfig-linux-aarch64
- + mozconfig-linux-aarch64-dev
- + mozconfig-linux-arm
- + mozconfig-linux-i686
- + mozconfig-linux-x86_64
- + mozconfig-linux-x86_64-asan
- + mozconfig-linux-x86_64-dev
- + mozconfig-macos
- + mozconfig-macos-dev
- + mozconfig-windows-i686
- + mozconfig-windows-x86_64
- netwerk/base/nsIPrompt.idl
- netwerk/protocol/http/nsHttpHandler.cpp
- netwerk/protocol/http/nsHttpNTLMAuth.cpp
- netwerk/sctp/src/moz.build
- netwerk/sctp/src/netinet/sctp_cc_functions.c
- netwerk/sctp/src/netinet/sctp_indata.c
- netwerk/sctp/src/netinet/sctp_input.c
- netwerk/sctp/src/netinet/sctp_output.c
- netwerk/sctp/src/netinet/sctp_usrreq.c
- netwerk/sctp/src/netinet/sctputil.c
- netwerk/sctp/src/user_mbuf.c
- netwerk/sctp/src/user_socket.c
- netwerk/system/android/nsAndroidNetworkLinkService.cpp
- netwerk/system/linux/nsNetworkLinkService.cpp
- netwerk/system/mac/nsNetworkLinkService.mm
- netwerk/system/netlink/NetlinkService.cpp
- netwerk/system/win32/nsNotifyAddrListener.cpp
- netwerk/url-classifier/components.conf
- python/mach/mach/sentry.py
- python/mach/mach/telemetry.py
- python/mozboot/mozboot/bootstrap.py
- python/mozbuild/mozbuild/action/tooltool.py
- python/mozbuild/mozbuild/artifact_commands.py
- python/mozbuild/mozbuild/artifacts.py
- python/mozbuild/mozbuild/backend/base.py
- python/mozbuild/mozbuild/mach_commands.py
- + python/mozbuild/mozbuild/tbbutils.py
- python/mozbuild/mozbuild/test/python.toml
- + python/mozbuild/mozbuild/test/test_tbbutils.py
- python/mozlint/mozlint/cli.py
- python/sites/mach.txt
- security/manager/ssl/RemoteSecuritySettings.sys.mjs
- security/moz.build
- security/nss/lib/certhigh/ocsp.c
- security/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c
- security/nss/lib/ssl/Makefile
- services/settings/Attachments.sys.mjs
- services/settings/IDBHelpers.sys.mjs
- services/settings/RemoteSettingsClient.sys.mjs
- services/settings/dumps/gen_last_modified.py
- services/settings/dumps/main/moz.build
- services/settings/remote-settings.sys.mjs
- services/settings/servicesSettings.manifest
- services/settings/static-dumps/main/moz.build
- + services/settings/static-dumps/main/query-stripping.json
- services/sync/components.conf
- testing/specialpowers/api.js
- testing/testsuite-targets.mk
- testing/web-platform/tests/tools/third_party/attrs/.git_archival.txt
- third_party/abseil-cpp/absl/base/internal/thread_identity.cc
- third_party/abseil-cpp/absl/base/internal/thread_identity.h
- third_party/libwebrtc/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h
- third_party/libwebrtc/modules/desktop_capture/win/desktop_capture_utils.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.h
- third_party/libwebrtc/modules/video_capture/windows/device_info_ds.h
- third_party/libwebrtc/rtc_base/platform_thread_types.cc
- third_party/libwebrtc/rtc_base/socket.h
- third_party/libwebrtc/rtc_base/system/file_wrapper.cc
- third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
- third_party/sipcc/cpr_win_types.h
- third_party/sipcc/sdp_token.c
- toolkit/.eslintrc.mjs
- + toolkit/actors/FilesFilterChild.sys.mjs
- + toolkit/actors/FilesFilterParent.sys.mjs
- toolkit/actors/moz.build
- toolkit/components/antitracking/antitracking.manifest
- toolkit/components/antitracking/components.conf
- toolkit/components/downloads/DownloadCore.sys.mjs
- toolkit/components/downloads/DownloadIntegration.sys.mjs
- toolkit/components/extensions/Extension.sys.mjs
- toolkit/components/extensions/ExtensionParent.sys.mjs
- toolkit/components/extensions/ext-toolkit.json
- toolkit/components/extensions/parent/ext-trial-ml.js
- toolkit/components/moz.build
- toolkit/components/pdfjs/content/PdfjsParent.sys.mjs
- toolkit/components/pdfjs/content/web/viewer.mjs
- toolkit/components/places/moz.build
- toolkit/components/prompts/content/commonDialog.js
- toolkit/components/prompts/src/Prompter.sys.mjs
- toolkit/components/remotebrowserutils/RemoteWebNavigation.sys.mjs
- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
- toolkit/components/resistfingerprinting/content/letterboxing.css
- toolkit/components/search/ConfigSearchEngine.sys.mjs
- toolkit/components/search/SearchEngineSelector.sys.mjs
- toolkit/components/search/SearchService.sys.mjs
- + toolkit/components/search/content/base-browser-search-engine-icons.json
- + toolkit/components/search/content/base-browser-search-engines.json
- + toolkit/components/search/content/duckduckgo.ico
- + toolkit/components/search/content/startpage-16.png
- + toolkit/components/search/content/startpage-32.png
- + toolkit/components/search/jar.mn
- toolkit/components/search/moz.build
- + toolkit/components/search/tests/xpcshell/test_base_browser.js
- + toolkit/components/search/tests/xpcshell/test_security_level.js
- toolkit/components/search/tests/xpcshell/xpcshell.toml
- + toolkit/components/securitylevel/SecurityLevel.manifest
- + toolkit/components/securitylevel/SecurityLevel.sys.mjs
- + toolkit/components/securitylevel/components.conf
- + toolkit/components/securitylevel/moz.build
- toolkit/components/telemetry/app/TelemetrySend.sys.mjs
- toolkit/components/telemetry/moz.build
- toolkit/components/translations/actors/TranslationsChild.sys.mjs
- toolkit/components/translations/actors/TranslationsParent.sys.mjs
- toolkit/components/translations/actors/moz.build
- toolkit/components/translations/jar.mn
- toolkit/components/urlformatter/URLFormatter.sys.mjs
- toolkit/components/windowwatcher/nsIPromptService.idl
- toolkit/components/windowwatcher/nsWindowWatcher.cpp
- toolkit/content/aboutSupport.js
- toolkit/content/jar.mn
- toolkit/content/widgets/dialog.js
- toolkit/content/widgets/moz-message-bar/moz-message-bar.mjs
- toolkit/content/widgets/moz-support-link/moz-support-link.mjs
- toolkit/content/widgets/notificationbox.js
- + toolkit/locales-preview/base-browser-no-translate.ftl
- + toolkit/locales/en-US/toolkit/global/base-browser.ftl
- toolkit/locales/jar.mn
- toolkit/modules/ActorManagerParent.sys.mjs
- toolkit/modules/AppConstants.sys.mjs
- toolkit/modules/UpdateUtils.sys.mjs
- toolkit/modules/moz.build
- toolkit/mozapps/extensions/AddonManager.sys.mjs
- toolkit/mozapps/extensions/content/aboutaddons.html
- toolkit/mozapps/extensions/content/aboutaddons.js
- toolkit/mozapps/extensions/content/components/addon-mlmodel-details.mjs
- toolkit/mozapps/extensions/content/components/mlmodel-card-list-additions.mjs
- toolkit/mozapps/extensions/extensions.manifest
- toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
- toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs
- toolkit/mozapps/extensions/internal/moz.build
- toolkit/mozapps/extensions/test/browser/head.js
- toolkit/mozapps/extensions/test/xpcshell/head_addons.js
- toolkit/mozapps/installer/packager.mk
- toolkit/mozapps/installer/upload-files.mk
- toolkit/mozapps/update/UpdateService.sys.mjs
- toolkit/mozapps/update/UpdateServiceStub.sys.mjs
- toolkit/mozapps/update/common/updatehelper.cpp
- toolkit/mozapps/update/updater/launchchild_osx.mm
- toolkit/mozapps/update/updater/moz.build
- toolkit/mozapps/update/updater/nightly_aurora_level3_primary.der
- toolkit/mozapps/update/updater/nightly_aurora_level3_secondary.der
- toolkit/mozapps/update/updater/updater.cpp
- toolkit/xre/LauncherRegistryInfo.cpp
- toolkit/xre/MacLaunchHelper.h
- toolkit/xre/MacLaunchHelper.mm
- toolkit/xre/MacRunFromDmgUtils.mm
- toolkit/xre/ProfileReset.cpp
- toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp
- toolkit/xre/nsAppRunner.cpp
- toolkit/xre/nsIXREDirProvider.idl
- toolkit/xre/nsUpdateDriver.cpp
- toolkit/xre/nsXREDirProvider.cpp
- toolkit/xre/nsXREDirProvider.h
- + tools/base_browser/git-rebase-fixup-preprocessor
- + tools/base_browser/l10n/combine-translation-versions.py
- + tools/base_browser/l10n/combine/__init__.py
- + tools/base_browser/l10n/combine/combine.py
- + tools/base_browser/l10n/combine/tests/__init__.py
- + tools/base_browser/l10n/combine/tests/python.toml
- + tools/base_browser/l10n/combine/tests/test_android.py
- + tools/base_browser/l10n/combine/tests/test_dtd.py
- + tools/base_browser/l10n/combine/tests/test_fluent.py
- + tools/base_browser/l10n/combine/tests/test_properties.py
- + tools/base_browser/missing-css-variables.py
- + tools/base_browser/tb-dev
- tools/lint/fluent-lint/exclusions.yml
- tools/moz.build
- + tools/torbrowser/generate-bugzilla-triage-csv.sh
- uriloader/base/nsURILoader.cpp
- uriloader/exthandler/nsExternalHelperAppService.cpp
- widget/ScrollbarDrawingWin.cpp
- widget/ScrollbarDrawingWin11.cpp
- widget/android/WebExecutorSupport.cpp
- widget/gtk/MPRISServiceHandler.cpp
- widget/gtk/nsLookAndFeel.cpp
- widget/windows/WinTaskbar.cpp
- widget/windows/nsDataObj.cpp
- xpcom/io/nsAppFileLocationProvider.cpp
- xpfe/appshell/AppWindow.cpp
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/f1…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/f1…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser] Pushed new tag base-browser-146.0a1-16.0-2-build1
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed new tag base-browser-146.0a1-16.0-2-build1 at The Tor Project / Applications / Mullvad Browser
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/tree/base-…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-2] 138 commits: BB 41454: Move focus after calling openPreferences for a sub-category.
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed to branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
Commits:
2695c50f by Henry Wilkes at 2025-12-10T16:13:07-03:00
BB 41454: Move focus after calling openPreferences for a sub-category.
Temporary fix until mozilla bug 1799153 gets a patch upstream.
- - - - -
b5842642 by Henry Wilkes at 2025-12-10T16:13:08-03:00
BB 43072: Add aria label and description to moz-message-bar.
Ensures that moz-message-bar, including notifications, are announced on
Orca.
This addresses upstream bugzilla bug 1895857 and should likely be
replaced when it is fixed.
- - - - -
34078052 by Henry Wilkes at 2025-12-10T16:13:08-03:00
BB 42739: Use the brand name for profile error messages.
Some messages in profileSelection.properties use gAppData->name as
variable inputs. However, gAppData->name is still "Firefox" for our
base-browser builds, rather than the user-facing browser name. We swap
these instances with the displayed brand name instead.
- - - - -
b1a5d5b8 by Beatriz Rizental at 2025-12-10T16:13:09-03:00
fixup! BB 42739: Use the brand name for profile error messages.
- - - - -
f3ed0f65 by Henry Wilkes at 2025-12-10T16:13:10-03:00
BB 41483: Remove the firefox override for appstrings.properties
Remove this patch after upstream bugzilla bug 1790187
- - - - -
2d15e962 by Sukhbir Singh at 2025-12-10T16:13:10-03:00
BB 44167: Don't build the uninstaller for Windows during Firefox compilation
- - - - -
954cda32 by Marco Simonelli at 2025-12-10T16:13:11-03:00
BB 41459: WebRTC fails to build under mingw (Part 1)
- properly define NOMINMAX for just MSVC builds
- - - - -
465802a9 by Marco Simonelli at 2025-12-10T16:13:12-03:00
BB 41459: WebRTC fails to build under mingw (Part 2)
- fixes required to build third_party/libwebrtc
- - - - -
d12ad902 by Pier Angelo Vendrame at 2025-12-10T16:13:12-03:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
Linted.
- - - - -
459ea29a by Marco Simonelli at 2025-12-10T16:13:13-03:00
BB 41459: WebRTC fails to build under mingw (Part 3)
- fixes required to build third_party/sipcc
- - - - -
0305af1c by Marco Simonelli at 2025-12-10T16:13:14-03:00
BB 41459: WebRTC fails to build under mingw (Part 4)
- fixes requried to build netwerk/sctp
- - - - -
92771cfd by Marco Simonelli at 2025-12-10T16:13:14-03:00
BB 41459: WebRTC fails to build under mingw (Part 5)
- fixes required to build dom/media/webrtc
- - - - -
bb453ced by Marco Simonelli at 2025-12-10T16:13:15-03:00
BB 41459: WebRTC fails to build under mingw (Part 6)
- fixes required to build dom/media/systemservices
- - - - -
55067a19 by june wilde at 2025-12-10T16:13:16-03:00
BB 42758: Fix WebRTC build errors.
- - - - -
6ffc30f7 by hackademix at 2025-12-10T16:13:16-03:00
BB 41854: Allow overriding download spam protection.
- - - - -
bcefea0b by hackademix at 2025-12-10T16:13:17-03:00
BB 42832: Download spam prevention exemption for browser extensions.
- - - - -
dd3fe4a0 by Pier Angelo Vendrame at 2025-12-10T16:13:18-03:00
BB 42220: Allow for more file types to be forced-inline.
Firefox allows to open some files in the browser without any
confirmation, but this will result in a disk leak, because the file will
be downloaded to the temporary directory first (and not deleted, in some
cases).
A preference allows PDFs to be opened without being downloaded to disk.
So, we introduce a similar one to do the same for all the files that are
set to be opened automatically in the browser, except svg and html files
to prevent XSS hazards (see BB 43211).
- - - - -
c17a0742 by hackademix at 2025-12-10T16:13:18-03:00
BB 42835: Create an actor to filter file data transfers
- - - - -
589d2669 by Pier Angelo Vendrame at 2025-12-10T16:13:19-03:00
BB 44103: Remove ref-names from attr's .git_archival.txt.
The currently vendored copy of python-attrs's .git_archival.txt
includes a ref-names field which might make source tarballs not
reproducible.
Upstream fixed this in da2333cd37747d692d5c78b0c94bd400ff883a9a,
therefore we apply the same change until Mozilla vendors an updated
copy of python-attrs.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1980103.
- - - - -
ca244621 by hackademix at 2025-12-10T16:13:20-03:00
BB 44125: Do not offer to save signatures by default in Private Browsing Mode
- - - - -
2d3180ba by Beatriz Rizental at 2025-12-10T16:13:20-03:00
BB 43564: Modify ./mach bootstrap for Base Browser
- - - - -
c57195e1 by Beatriz Rizental at 2025-12-10T16:13:21-03:00
fixup! BB 43564: Modify ./mach bootstrap for Base Browser
- - - - -
81bbcf1c by Beatriz Rizental at 2025-12-10T16:13:22-03:00
BB 42728: Modify ./mach lint to skip unused linters
- - - - -
17ae7d5f by Beatriz Rizental at 2025-12-10T16:13:23-03:00
fixup! BB 42728: Modify ./mach lint to skip unused linters
- - - - -
d172e4e1 by Beatriz Rizental at 2025-12-10T16:13:23-03:00
fixup! BB 42728: Modify ./mach lint to skip unused linters
- - - - -
2106f5ef by Morgan at 2025-12-10T16:13:24-03:00
BB 43615: Add Gitlab Issue and Merge Request templates
- - - - -
6107d473 by Pier Angelo Vendrame at 2025-12-10T16:13:25-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
Update GitLab templates.
Avoid mentioning existing issues/MRs, and update the channels.
- - - - -
b72f0a96 by Morgan at 2025-12-10T16:13:25-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
made header formatting consistent
- - - - -
af1d590f by Morgan at 2025-12-10T16:13:26-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
drill down on more detailed Bookkeeping information
- - - - -
7f878804 by Henry Wilkes at 2025-12-10T16:13:27-03:00
BB 41803: Add some developer tools for working on tor-browser.
- - - - -
3076d7e0 by Richard Pospesel at 2025-12-10T16:13:28-03:00
BB 42683: Create script to generate issue triage csv file from bugzilla query and git logs
- - - - -
51202f68 by Henry Wilkes at 2025-12-10T16:13:28-03:00
BB 42305: Add script to combine translation files across versions.
- - - - -
5fe2f57a by Beatriz Rizental at 2025-12-10T16:13:29-03:00
BB 43535: Enable tests
- - - - -
bff60485 by Beatriz Rizental at 2025-12-10T16:13:30-03:00
Add CI for Base Browser
- - - - -
1bf3a71a by Beatriz Rizental at 2025-12-10T16:13:31-03:00
fixup! Add CI for Base Browser
Use custom CI container for translations job.
- - - - -
5e3e8550 by Beatriz Rizental at 2025-12-10T16:13:31-03:00
fixup! Add CI for Base Browser
Filed a review ticket https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/44402
Turned a linter rule back to warning for now.
- - - - -
eff6881d by Pier Angelo Vendrame at 2025-12-10T16:13:32-03:00
Base Browser's .mozconfigs.
Bug 17858: Cannot create incremental MARs for hardened builds.
Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
(which is part of mar-tools and is not distributed to end-users) with
ASan.
Bug 21849: Don't allow SSL key logging.
Bug 25741 - TBA: Disable features at compile-time
Define MOZ_ANDROID_NETWORK_STATE and MOZ_ANDROID_LOCATION
Bug 27623 - Export MOZILLA_OFFICIAL during desktop builds
This fixes a problem where some preferences had the wrong default value.
Also see bug 27472 where we made a similar fix for Android.
Bug 29859: Disable HLS support for now
Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING
Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT
Bug 33734: Set MOZ_NORMANDY to False
Bug 33851: Omit Parental Controls.
Bug 40252: Add --enable-rust-simd to our tor-browser mozconfig files
Bug 41584: Move some configuration options to base-browser level
- - - - -
eacfa122 by Pier Angelo Vendrame at 2025-12-10T16:13:33-03:00
BB 44118: Disable Mozilla's nightly and early beta features.
- - - - -
f8dc3522 by Pier Angelo Vendrame at 2025-12-10T16:13:33-03:00
fixup! BB 44118: Disable Mozilla's nightly and early beta features.
It seems is_early_beta_or_earlier can be only True or None, but not
False.
- - - - -
12ae703b by Pier Angelo Vendrame at 2025-12-10T16:13:34-03:00
Tweaks to the build system
Bug 40857: Modified the fat .aar creation file
This is a workaround to build fat .aars with the compiling enviornment
disabled.
Mozilla does not use a similar configuration, but either runs a Firefox
build and discards its output, or uses artifacts build.
We might switch to artifact builds too, and drop this patch, or write a
better one to upstream. But until then we need this patch.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1763770.
Bug 41458: Prevent `mach package-multi-locale` from actually creating a package
macOS builds need some files to be moved around with
./mach package-multi-locale to create multi-locale packages.
The required command isn't exposed through any other mach command.
So, we patch package-multi-locale both to prevent it from failing when
doing official builds and to detect any future changes on it.
- - - - -
fc051f7d by Pier Angelo Vendrame at 2025-12-10T16:13:35-03:00
fixup! Tweaks to the build system
Disable more build telemetry.
The sentry module uses the Python ssl module, which does not work in
our old Linux build environment.
- - - - -
ee28882b by Pier Angelo Vendrame at 2025-12-10T16:13:35-03:00
fixup! Tweaks to the build system
TB 44370: Always create target.maven.zip on Android.
- - - - -
26a7a1c3 by Beatriz Rizental at 2025-12-10T16:13:36-03:00
fixup! Tweaks to the build system
Fix linter issues. Related to using things that are not being imported
since we commented them out. Guess the linter doesnt care that the code
is unreacheable.
- - - - -
80b34831 by Pier Angelo Vendrame at 2025-12-10T16:13:37-03:00
BB 29320: Replace the gnu target with gnullvm for Rust.
- - - - -
c53b71db by Pier Angelo Vendrame at 2025-12-10T16:13:37-03:00
BB 42616: Remove VideoCaptureTest.kt.
This is a workaround to fix the GeckoView build with WebRTC disabled.
We should replace this workaround with a proper solution, that
excludes this test when MOZ_WEBRTC is undefined/False.
- - - - -
39207603 by Pier Angelo Vendrame at 2025-12-10T16:13:38-03:00
BB 41108: Remove privileged macOS installation from 102
- - - - -
9b9ceda6 by Dan Ballard at 2025-12-10T16:13:39-03:00
BB 41149: Re-enable DLL injection protection in all builds not just nightlies
- - - - -
24b22067 by Henry Wilkes at 2025-12-10T16:13:39-03:00
BB 43092: Disable wayland by default in Base Browser.
- - - - -
ec0335f9 by Matthew Finkel at 2025-12-10T16:13:40-03:00
BB 24796: Comment out excess permissions from GeckoView
The GeckoView AndroidManifest.xml is not preprocessed unlike Fennec's
manifest, so we can't use the ifdef preprocessor guards around the
permissions we do not want. Commenting the permissions is the
next-best-thing.
- - - - -
dc975f6c by Matthew Finkel at 2025-12-10T16:13:41-03:00
BB 28125: Prevent non-Necko network connections
- - - - -
fd82fdc6 by Mike Perry at 2025-12-10T16:13:41-03:00
BB 12974: Disable NTLM and Negotiate HTTP Auth
The Mozilla bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1046421,
https://bugzilla.mozilla.org/show_bug.cgi?id=1261591, tor-browser#27602
- - - - -
86054a8b by cypherpunks1 at 2025-12-10T16:13:42-03:00
BB 40717: Hide Windows SSO in settings
- - - - -
f4fedfcf by Georg Koppen at 2025-12-10T16:13:43-03:00
BB 16285: Exclude ClearKey system for now
In the past the ClearKey system had not been compiled when specifying
--disable-eme. But that changed and it is even bundled nowadays (see:
Mozilla's bug 1300654). We don't want to ship it right now as the use
case for it is not really visible while the code had security
vulnerabilities in the past.
- - - - -
45d9fe25 by Kathy Brade at 2025-12-10T16:13:43-03:00
BB 21431: Clean-up system extensions shipped in Firefox
Only ship the pdfjs extension.
- - - - -
54823e59 by Kathy Brade at 2025-12-10T16:13:44-03:00
BB 33852: Clean up about:logins (LockWise) to avoid mentioning sync, etc.
Hide elements on about:logins that mention sync, "Firefox LockWise", and
Mozilla's LockWise mobile apps.
Disable the "Create New Login" button when security.nocertdb is true.
- - - - -
5592f866 by Alex Catarineu at 2025-12-10T16:13:45-03:00
BB 41457: Remove Mozilla permissions
Bug 40025: Remove Mozilla add-on install permissions
- - - - -
46537ad3 by Henry Wilkes at 2025-12-10T16:13:46-03:00
BB 44045: Disable ML features.
- - - - -
ffa3abdb by Kathy Brade at 2025-12-10T16:13:46-03:00
BB 41662: Disable about:sync-logs
Even though we disable sync by default with
`identity.fxaccounts.enabled`, this about: page is still avilable.
We could throw an exception on the constructor of the related
component, but it would result only in an error in the console, without
a visible "this address does not look right" error page.
If we fix the issues with MOZ_SERVICES_SYNC, we can restore the
component.
- - - - -
594818b0 by Morgan at 2025-12-10T16:13:47-03:00
BB 42716: Disable unwanted about: pages
- - - - -
1b76987e by Arthur Edelstein at 2025-12-10T16:13:48-03:00
BB 26353: Prevent speculative connect that violated FPI.
Connections were observed in the catch-all circuit when
the user entered an https or http URL in the URL bar, or
typed a search term.
- - - - -
d38b735a by Alex Catarineu at 2025-12-10T16:13:48-03:00
BB 31740: Remove some unnecessary RemoteSettings instances
More concretely, SearchService.jsm 'hijack-blocklists' and
url-classifier-skip-urls.
Avoid creating instance for 'anti-tracking-url-decoration'.
If prefs are disabling their usage, avoid creating instances for
'cert-revocations' and 'intermediates'.
Do not ship JSON dumps for collections we do not expect to need. For
the ones in the 'main' bucket, this prevents them from being synced
unnecessarily (the code in remote-settings does so for collections
in the main bucket for which a dump or local data exists). For the
collections in the other buckets, we just save some size by not
shipping their dumps.
We also clear the collections database on the v2 -> v3 migration.
- - - - -
522357a6 by cypherpunks1 at 2025-12-10T16:13:49-03:00
BB 41092: Add a RemoteSettings JSON dump for query-stripping
- - - - -
dbd8df6a by cypherpunks1 at 2025-12-10T16:13:50-03:00
BB 42730: Patch RemoteSettings to use only local dumps as a data source
- - - - -
2edd2b47 by Pier Angelo Vendrame at 2025-12-10T16:13:50-03:00
BB 43525: Skip Remote Settings for search engine customization.
Also, add some bundled search engines.
- - - - -
0211dbc8 by Pier Angelo Vendrame at 2025-12-10T16:13:51-03:00
BB 41635: Disable the Normandy component
Do not include Normandy at all whenever MOZ_NORMANDY is False.
- - - - -
4aa0f3d7 by Georg Koppen at 2025-12-10T16:13:52-03:00
BB 30541: Disable WebGL readPixel() for web content
Related Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1428034
- - - - -
7194c7ac by Alex Catarineu at 2025-12-10T16:13:52-03:00
BB 28369: Stop shipping pingsender executable
- - - - -
29def4dd by Pier Angelo Vendrame at 2025-12-10T16:13:53-03:00
BB 41599: Always return an empty string as network ID
Firefox computes an internal network ID used to detect network changes
and act consequently (e.g., to improve WebSocket UX).
However, there are a few ways to get this internal network ID, so we
patch them out, to be sure any new code will not be able to use them and
possibly link users.
We also sent a patch to Mozilla to seed the internal network ID, to
prevent any accidental leak in the future.
Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1817756
- - - - -
dc9864e6 by Pier Angelo Vendrame at 2025-12-10T16:13:54-03:00
BB 43386: Use Firefox in the UA in RFP-exempt request.
XHR requests initiated by extensions are exempt from RFP.
Therefore, they report the actual app name, instead of Firefox, and the
actual Firefox minor version.
This happens whenever the app name has been customized and does not
match a hardcoded "Firefox".
- - - - -
755a96eb by Richard Pospesel at 2025-12-10T16:13:55-03:00
BB 41327: Disable UrlbarProviderInterventions
- - - - -
2f7ffdb5 by Richard Pospesel at 2025-12-10T16:13:55-03:00
BB 42037: Disable about:firefoxview page
- - - - -
1d6382c7 by Henry Wilkes at 2025-12-10T16:13:56-03:00
BB 44107: Re-include firefoxview asset view-opentabs.svg.
Should be dropped after bugzilla bug 1987279 is resolved.
- - - - -
234a8b08 by Mike Perry at 2025-12-10T16:13:57-03:00
Firefox preference overrides.
- - - - -
a3fe2d36 by Pier Angelo Vendrame at 2025-12-10T16:13:57-03:00
fixup! Firefox preference overrides.
BB 44396: Fix the name of CJK fonts in font lists.
- - - - -
5bb3d10a by Pier Angelo Vendrame at 2025-12-10T16:13:58-03:00
BB 43140: Tighten up fonts on Linux.
We ship a fontconfig configuration to esnure all Linux users have the
same defaults and reduce the chances of fingerprinting.
We used to add this file in tor-browser-build, but some users might
skip it by using the browser executable without the wrapper script.
Therefore, we decided to activate the file with the FontConfig API
instead of the environment variables.
Bug 41043: Hardcode the UI font on Linux
The mechanism to choose the UI font does not play well with our
fontconfig configuration. As a result, the final criterion to choose
the font for the UI was its version.
Since we hardcode Arimo as a default sans-serif on preferences, we use
it also for the UI. FontConfig will fall back to some other font for
scripts Arimo does not cover as expected (we tested with Japanese).
Bug 43141: Hardcode system-ui to Arimo.
- - - - -
4cbeccf7 by Pier Angelo Vendrame at 2025-12-10T16:13:59-03:00
BB 43322: Customize the font visibility lists.
Customize the lists of fonts to assign base visibility to in
base browser and derivatives.
Also, rename the files with the upstream lists, to make sure we do not
use them by mistake.
- - - - -
67e4b681 by Alex Catarineu at 2025-12-10T16:13:59-03:00
BB 30605: Honor privacy.spoof_english in Android
This checks `privacy.spoof_english` whenever `setLocales` is
called from Fenix side and sets `intl.accept_languages`
accordingly.
Bug 40198: Expose privacy.spoof_english pref in GeckoView
- - - - -
8c52dc8d by Pier Angelo Vendrame at 2025-12-10T16:14:00-03:00
BB 42562: Normalized the Accepted Languages on Android.
The OS language might be outside the list of actually supported
languages and it might leak the user's region.
Therefore, we force the locale reported in Accept-Language to match one
we support with translations, even when it means using a not exact
region tag.
- - - - -
053e906b by Alex Catarineu at 2025-12-10T16:14:01-03:00
BB 40171: Make WebRequest and GeckoWebExecutor First-Party aware
- - - - -
2ea35281 by Alex Catarineu at 2025-12-10T16:14:01-03:00
BB 26345: Hide tracking protection UI
- - - - -
6b4b99d9 by Henry Wilkes at 2025-12-10T16:14:02-03:00
BB 43109: Hide Firefox Relay from settings.
This should remain disabled, see tor-browser#42814.
- - - - -
6d5d291d by Henry Wilkes at 2025-12-10T16:14:03-03:00
BB 42777: Hide Website Privacy Preferences.
We hide the Website Privacy Preferences section, which controls the
"global privacy control" (GPC) and "do not track" (DNT) settings.
- - - - -
499e5953 by Morgan at 2025-12-10T16:14:03-03:00
BB 42070: Hide "Use smooth scrolling" from settings
- - - - -
d314da48 by Arthur Edelstein at 2025-12-10T16:14:04-03:00
BB 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
- - - - -
79281248 by Pier Angelo Vendrame at 2025-12-10T16:14:05-03:00
BB 41739: Remove "Website appearance" from about:preferences.
It is ignored because of RFP and it is confusing for users.
- - - - -
9727000c by Henry Wilkes at 2025-12-10T16:14:05-03:00
BB 43850: Modify the Contrast Control settings for RFP.
- - - - -
590994cb by Henry Wilkes at 2025-12-10T16:14:06-03:00
BB 43117: Hide "Always underline links" from settings.
- - - - -
fc764e8a by Pier Angelo Vendrame at 2025-12-10T16:14:07-03:00
BB 42774: Always hide the third-pary certs UI.
- - - - -
db0c44a2 by Henry Wilkes at 2025-12-10T16:14:07-03:00
BB 43118: Hide feature recommendation (CFR) settings.
- - - - -
3d577b5d by Henry Wilkes at 2025-12-10T16:14:08-03:00
BB 44279: Disable contextual search install prompt.
- - - - -
e2df06f2 by Pier Angelo Vendrame at 2025-12-10T16:14:09-03:00
BB 9173: Change the default Firefox profile directory to be relative.
This commit makes Firefox look for the default profile directory in a
directory relative to the binary path.
The directory can be specified through the --with-relative-data-dir.
This is relative to the same directory as the firefox main binary for
Linux and Windows.
On macOS, we remove Contents/MacOS from it.
Or, in other words, the directory is relative to the application
bundle.
This behavior can be overriden at runtime, by placing a file called
system-install adjacent to the firefox main binary (also on macOS).
- - - - -
cb8b56e1 by Pier Angelo Vendrame at 2025-12-10T16:14:09-03:00
BB 42773: Replace ~ with the original home.
In Bug 93141, Mozilla started sending users to their home when they type
~ in the URL bar.
On Linux, we change $HOME for various reason, therefore you would be
redirected to the spoofed home directory when typing ~.
So, we check if the original home directory is known, and use that,
instead.
- - - - -
1c7ac836 by Alex Catarineu at 2025-12-10T16:14:10-03:00
BB 27604: Fix addon issues when moving the profile directory
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1429838
- - - - -
559dd8ca by Mike Perry at 2025-12-10T16:14:11-03:00
BB 13028: Prevent potential proxy bypass cases.
It looks like these cases should only be invoked in the NSS command line
tools, and not the browser, but I decided to patch them anyway because there
literally is a maze of network function pointers being passed around, and it's
very hard to tell if some random code might not pass in the proper proxied
versions of the networking code here by accident.
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1433509
- - - - -
a61a787b by Pier Angelo Vendrame at 2025-12-10T16:14:11-03:00
BB 40309: Avoid using regional OS locales
Avoid regional OS locales if the pref
`intl.regional_prefs.use_os_locales` is false but RFP is enabled.
- - - - -
6f704152 by Matthew Finkel at 2025-12-10T16:14:12-03:00
BB 40432: Prevent probing installed applications
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1711084
- - - - -
43c0cca4 by Henry Wilkes at 2025-12-10T16:14:13-03:00
BB 29745: Limit remote access to content accessible resources
- - - - -
3e83cdea by cypherpunks1 at 2025-12-10T16:14:13-03:00
BB 33955: When copying an image only copy the image contents to the clipboard
- - - - -
e494cb29 by cypherpunks1 at 2025-12-10T16:14:14-03:00
BB 41791: Omit the source URL when copying page contents to the clipboard
- - - - -
fa874dd9 by Pier Angelo Vendrame at 2025-12-10T16:14:15-03:00
BB 43196: Remove the vendor name from media notifications on Linux.
Firefox shows "vendor remoteName" as a title of the "... is playing
media" notification on Linux.
However, for our browser the remote name is enough, and prepending the
vendor to it creates a string users usually never see.
- - - - -
256befc9 by Pier Angelo Vendrame at 2025-12-10T16:14:15-03:00
Base Browser strings
This commit adds all the strings needed by following Base Browser
patches.
- - - - -
253f26e3 by Henry Wilkes at 2025-12-10T16:14:16-03:00
BB 42583: Modify moz-support-link for Base Browser.
- - - - -
753a3136 by Pier Angelo Vendrame at 2025-12-10T16:14:17-03:00
BB 41369: Improve Firefox language settings for multi-lingual packages
Change the language selector to be sorted by language code, rather than
name, and to display the language code to the user.
Bug 41372: Handle Japanese as a special case in preferences on macOS
Japanese is treated in a special way on macOS. However, seeing the
Japanese language tag could be confusing for users, and moreover the
language name is not localized correctly like other langs.
Bug 41378: Tell users that they can change their language at the first start
With multi-lingual builds, Tor Browser matches the user's system
language, but some users might want to change it.
So, we tell them that it is possible, but only once.
- - - - -
498f3c16 by p13dz at 2025-12-10T16:14:17-03:00
BB 40283: Workaround for the file upload bug
- - - - -
79f5a7c9 by hackademix at 2025-12-10T16:14:18-03:00
BB 42019: Empty browser's clipboard on browser shutdown
- - - - -
2f1f1260 by hackademix at 2025-12-10T16:14:19-03:00
BB 42084: Ensure English spoofing works even if preferences are set out of order.
- - - - -
116d7bd0 by Pier Angelo Vendrame at 2025-12-10T16:14:19-03:00
BB 41930: Remove the UI to customize accept_languages.
- - - - -
9d24a583 by hackademix at 2025-12-10T16:14:20-03:00
BB 32308: Use direct browser sizing for letterboxing.
Bug 30556: align letterboxing with 200x100 new win width stepping
- - - - -
d71f0c29 by Henry Wilkes at 2025-12-10T16:14:21-03:00
fixup! BB 32308: Use direct browser sizing for letterboxing.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
1c840e7a by hackademix at 2025-12-10T16:14:22-03:00
BB 41631: Prevent weird initial window dimensions caused by subpixel computations
- - - - -
29564f80 by hackademix at 2025-12-10T16:14:22-03:00
BB 41918: Option to reuse last window size when letterboxing is enabled.
- - - - -
54a43f2e by hackademix at 2025-12-10T16:14:23-03:00
BB 41916: Letterboxing preferences UI
- - - - -
961b6b3f by hackademix at 2025-12-10T16:14:24-03:00
BB 41695: Warn on window maximization without letterboxing in RFPHelper module
- - - - -
871a815c by hackademix at 2025-12-10T16:14:24-03:00
BB 42443: Shrink window to match letterboxing size when the emtpy area is clicked.
- - - - -
588c6a3e by hackademix at 2025-12-10T16:14:25-03:00
BB 41919: Letterboxing, add temporarily visible web content-size indicator on window resizing.
- - - - -
386a26c3 by Henry Wilkes at 2025-12-10T16:14:26-03:00
fixup! BB 41919: Letterboxing, add temporarily visible web content-size indicator on window resizing.
TB 44214: Fix letterboxing status indicator for RTL.
- - - - -
7a20f209 by Henry Wilkes at 2025-12-10T16:14:26-03:00
BB 42528: Don't leak system scrollbar size on windows.
- - - - -
bac28746 by Henry Wilkes at 2025-12-10T16:14:27-03:00
BB 31575: Disable Firefox Home (Activity Stream)
Treat about:blank as the default home page and new tab page.
BB 43886: Disable the newtab component/addon.
Bug 41624: Disable about:pocket-* pages.
Bug 40144: Redirect about:privatebrowsing to the user's home
- - - - -
7b11d2a3 by Pier Angelo Vendrame at 2025-12-10T16:14:28-03:00
fixup! BB 31575: Disable Firefox Home (Activity Stream)
BB 44302: Add URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS to some about pages.
- - - - -
6f22eb41 by Kathy Brade at 2025-12-10T16:14:28-03:00
BB 4234: Use the Firefox Update Process for Base Browser.
Windows: disable "runas" code path in updater (15201).
Windows: avoid writing to the registry (16236).
Also includes fixes for tickets 13047, 13301, 13356, 13594, 15406,
16014, 16909, 24476, and 25909.
Also fix bug 27221: purge the startup cache if the Base Browser
version changed (even if the Firefox version and build ID did
not change), e.g., after a minor Base Browser update.
Also fix 32616: Disable GetSecureOutputDirectoryPath() functionality.
Bug 26048: potentially confusing "restart to update" message
Within the update doorhanger, remove the misleading message that mentions
that windows will be restored after an update is applied, and replace the
"Restart and Restore" button label with an existing
"Restart to update Tor Browser" string.
Bug 28885: notify users that update is downloading
Add a "Downloading Base Browser update" item which appears in the
hamburger (app) menu while the update service is downloading a MAR
file. Before this change, the browser did not indicate to the user
that an update was in progress, which is especially confusing in
Tor Browser because downloads often take some time. If the user
clicks on the new menu item, the about dialog is opened to allow
the user to see download progress.
As part of this fix, the update service was changed to always show
update-related messages in the hamburger menu, even if the update
was started in the foreground via the about dialog or via the
"Check for Tor Browser Update" toolbar menu item. This change is
consistent with the Tor Browser goal of making sure users are
informed about the update process.
Removed #28885 parts of this patch which have been uplifted to Firefox.
- - - - -
d4a8da18 by Pier Angelo Vendrame at 2025-12-10T16:14:29-03:00
BB 42061: Create an alpha update channel.
- - - - -
059446cb by Nicolas Vigier at 2025-12-10T16:14:30-03:00
BB 41682: Add base-browser nightly mar signing key
- - - - -
2a84a4a3 by Pier Angelo Vendrame at 2025-12-10T16:14:31-03:00
BB 41603: Customize the creation of MOZ_SOURCE_URL
MOZ_SOURCE_URL is created by combining MOZ_SOURCE_REPO and
MOZ_SOURCE_CHANGESET.
But the code takes for granted that it refers to a Hg instance, so it
combines them as `$MOZ_SOURCE_REPO/rev/$MOZ_SOURCE_CHANGESET`.
With this commit, we change this logic to combine them to create a URL
that is valid for GitLab.
$MOZ_SOURCE_CHANGESET needs to be a commit hash, not a branch or a tag.
If that is needed, we could use /-/tree/, instead of /-/commit/.
- - - - -
aaeaed64 by Pier Angelo Vendrame at 2025-12-10T16:14:31-03:00
BB 42438: Tweaks to the migration wizard.
Remove the items not compatible with our features (such as history) from
the migration wizard.
On Linux, allow to specify an alternative home directory, since we
usually change $HOME in our startup script.
- - - - -
3d25a31d by Alex Catarineu at 2025-12-10T16:14:32-03:00
BB 40069: Add helpers for message passing with extensions
- - - - -
0b1a5788 by Matthew Finkel at 2025-12-10T16:14:33-03:00
BB 41598: Prevent NoScript from being removed/disabled.
Bug 40253: Explicitly allow NoScript in Private Browsing mode.
- - - - -
800c2669 by Henry Wilkes at 2025-12-10T16:14:34-03:00
BB 41581: Hide NoScript extension's toolbar button by default.
This hides it from both the toolbar and the unified extensions panel.
We also hide the unified-extension-button if the panel would be empty:
not including the NoScript button when it is hidden. As a result, this
will be hidden by default until a user installs another extension (or
shows the NoScript button and unpins it).
- - - - -
6d327067 by hackademix at 2025-12-10T16:14:34-03:00
BB 41834: Hide "Can't Be Removed - learn more" menu line for uninstallable add-ons
- - - - -
53faac92 by Henry Wilkes at 2025-12-10T16:14:35-03:00
BB 41736: Customize toolbar for base-browser.
- - - - -
a926d2fd by Henry Wilkes at 2025-12-10T16:14:36-03:00
BB 43864: Modify the urlbar for Base Browser.
- - - - -
00a23534 by Henry Wilkes at 2025-12-10T16:14:36-03:00
BB 44040: Modify prompt service for Base Browser.
- - - - -
3d420275 by Henry Wilkes at 2025-12-10T16:14:37-03:00
BB 43902: Modify the new sidebar for Base Browser.
- - - - -
19ee50cf by Beatriz Rizental at 2025-12-10T16:14:38-03:00
BB 44400: Disable liquid app glass icons for MacOS
This reverts commit 7ee252421988d7b3a38dc650986a3b4c3321a823.
- - - - -
c0e2141a by Pier Angelo Vendrame at 2025-12-10T16:14:39-03:00
BB 40925: Implemented the Security Level component
This component adds a new Security Level toolbar button which visually
indicates the current global security level via icon (as defined by the
extensions.torbutton.security_slider pref), a drop-down hanger with a
short description of the current security level, and a new section in
the about:preferences#privacy page where users can change their current
security level. In addition, the hanger and the preferences page will
show a visual warning when the user has modified prefs associated with
the security level and provide a one-click 'Restore Defaults' button to
get the user back on recommended settings.
Bug 40125: Expose Security Level pref in GeckoView
- - - - -
3221bd91 by Pier Angelo Vendrame at 2025-12-10T16:14:39-03:00
fixup! BB 40925: Implemented the Security Level component
Linted.
- - - - -
3daab2e5 by Henry Wilkes at 2025-12-10T16:14:40-03:00
fixup! BB 40925: Implemented the Security Level component
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
24ba3a82 by Pier Angelo Vendrame at 2025-12-10T16:14:41-03:00
BB 40926: Implemented the New Identity feature
- - - - -
f162d623 by Pier Angelo Vendrame at 2025-12-10T16:14:42-03:00
BB 42027: Base Browser migration procedures.
This commit implmenents the the Base Browser's version of _migrateUI.
- - - - -
420 changed files:
- + .gitlab-ci.yml
- + .gitlab/ci/jobs/helpers.py
- + .gitlab/ci/jobs/lint/lint.yml
- + .gitlab/ci/jobs/test/python-test.yml
- + .gitlab/ci/jobs/update-translations.yml
- + .gitlab/ci/mixins.yml
- + .gitlab/issue_templates/000 Bug Report.md
- + .gitlab/issue_templates/010 Proposal.md
- + .gitlab/issue_templates/020 Web Compatibility.md
- + .gitlab/issue_templates/030 Test.md
- + .gitlab/issue_templates/031 Fingerprinting.md
- + .gitlab/issue_templates/040 Feature.md
- + .gitlab/issue_templates/050 Backport.md
- + .gitlab/issue_templates/060 Rebase - Alpha.md
- + .gitlab/issue_templates/061 Rebase - Stable.md
- + .gitlab/issue_templates/063 Rebase - Rapid.md
- + .gitlab/issue_templates/090 Emergency Security Issue.md
- + .gitlab/issue_templates/Default.md
- + .gitlab/merge_request_templates/Default.md
- .prettierignore
- browser/Makefile.in
- browser/actors/moz.build
- browser/app/Makefile.in
- browser/app/macbuild/Contents/Info.plist.in
- browser/app/macbuild/Contents/MacOS-files.in
- browser/app/moz.build
- browser/app/permissions
- + browser/app/profile/001-base-profile.js
- browser/app/profile/firefox.js
- browser/base/content/aboutDialog-appUpdater.js
- browser/base/content/aboutDialog.js
- browser/base/content/aboutDialog.xhtml
- browser/base/content/appmenu-viewcache.inc.xhtml
- browser/base/content/browser-addons.js
- browser/base/content/browser-context.js
- browser/base/content/browser-init.js
- browser/base/content/browser-main.js
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-safebrowsing.js
- browser/base/content/browser-sets.inc
- browser/base/content/browser-sets.js
- browser/base/content/browser.js
- browser/base/content/browser.js.globals
- browser/base/content/browser.xhtml
- + browser/base/content/languageNotification.js
- browser/base/content/main-popupset.inc.xhtml
- browser/base/content/navigator-toolbox.inc.xhtml
- browser/base/content/nsContextMenu.sys.mjs
- browser/base/jar.mn
- browser/base/moz.build
- − browser/branding/aurora/Assets.car
- − browser/branding/nightly/Assets.car
- − browser/branding/official/Assets.car
- − browser/branding/unofficial/Assets.car
- browser/components/BrowserComponents.manifest
- browser/components/BrowserContentHandler.sys.mjs
- browser/components/BrowserGlue.sys.mjs
- browser/components/DesktopActorRegistry.sys.mjs
- browser/components/ProfileDataUpgrader.sys.mjs
- browser/components/about/AboutRedirector.cpp
- browser/components/about/components.conf
- browser/components/aboutlogins/AboutLoginsParent.sys.mjs
- browser/components/aboutlogins/content/aboutLogins.css
- browser/components/aboutlogins/content/aboutLogins.mjs
- browser/components/aboutlogins/content/components/fxaccounts-button.css
- browser/components/aboutlogins/content/components/login-command-button.mjs
- browser/components/aboutlogins/content/components/login-list.mjs
- browser/components/customizableui/CustomizableUI.sys.mjs
- browser/components/customizableui/CustomizeMode.sys.mjs
- browser/components/customizableui/content/panelUI.inc.xhtml
- browser/components/downloads/DownloadSpamProtection.sys.mjs
- browser/components/extensions/parent/ext-browserAction.js
- browser/components/migration/ChromeMigrationUtils.sys.mjs
- browser/components/migration/content/migration-wizard.mjs
- browser/components/moz.build
- + browser/components/newidentity/content/newidentity.js
- + browser/components/newidentity/jar.mn
- + browser/components/newidentity/moz.build
- browser/components/newtab/AboutHomeStartupCache.sys.mjs
- browser/components/places/content/historySidebar.js
- browser/components/places/content/historySidebar.xhtml
- browser/components/preferences/home.inc.xhtml
- browser/components/preferences/home.js
- browser/components/preferences/jar.mn
- + browser/components/preferences/letterboxing-middle-dark.svg
- + browser/components/preferences/letterboxing-middle-light.svg
- + browser/components/preferences/letterboxing-top-dark.svg
- + browser/components/preferences/letterboxing-top-light.svg
- + browser/components/preferences/letterboxing.css
- + browser/components/preferences/letterboxing.inc.xhtml
- + browser/components/preferences/letterboxing.js
- browser/components/preferences/main.inc.xhtml
- browser/components/preferences/main.js
- browser/components/preferences/preferences.js
- browser/components/preferences/preferences.xhtml
- browser/components/preferences/privacy.inc.xhtml
- browser/components/preferences/privacy.js
- browser/components/reportbrokensite/ReportBrokenSite.sys.mjs
- browser/components/search/SERPCategorization.sys.mjs
- browser/components/search/SearchSERPTelemetry.sys.mjs
- + browser/components/securitylevel/SecurityLevelUIUtils.sys.mjs
- + browser/components/securitylevel/content/securityLevel.js
- + browser/components/securitylevel/content/securityLevelButton.css
- + browser/components/securitylevel/content/securityLevelButton.inc.xhtml
- + browser/components/securitylevel/content/securityLevelDialog.js
- + browser/components/securitylevel/content/securityLevelDialog.xhtml
- + browser/components/securitylevel/content/securityLevelIcon.svg
- + browser/components/securitylevel/content/securityLevelPanel.css
- + browser/components/securitylevel/content/securityLevelPanel.inc.xhtml
- + browser/components/securitylevel/content/securityLevelPreferences.css
- + browser/components/securitylevel/content/securityLevelPreferences.inc.xhtml
- + browser/components/securitylevel/jar.mn
- + browser/components/securitylevel/moz.build
- browser/components/sidebar/browser-sidebar.js
- browser/components/sidebar/sidebar-main.mjs
- browser/components/tabbrowser/content/tabbrowser.js
- browser/components/tabbrowser/content/tabgroup-menu.js
- browser/components/tabbrowser/moz.build
- browser/components/translations/content/selectTranslationsPanel.js
- browser/components/urlbar/ActionsProviderContextualSearch.sys.mjs
- browser/components/urlbar/QuickActionsLoaderDefault.sys.mjs
- browser/components/urlbar/QuickSuggest.sys.mjs
- browser/components/urlbar/SearchModeSwitcher.sys.mjs
- browser/components/urlbar/UrlbarController.sys.mjs
- browser/components/urlbar/UrlbarProvidersManager.sys.mjs
- browser/components/urlbar/UrlbarUtils.sys.mjs
- browser/components/urlbar/moz.build
- + browser/config/mozconfigs/base-browser
- + browser/config/mozconfigs/base-browser-android
- browser/extensions/moz.build
- + browser/fonts/fonts.conf
- browser/fonts/moz.build
- browser/installer/Makefile.in
- browser/installer/package-manifest.in
- browser/installer/windows/nsis/shared.nsh
- − browser/locales/en-US/chrome/overrides/appstrings.properties
- browser/locales/jar.mn
- browser/modules/AboutNewTab.sys.mjs
- browser/modules/BrowserWindowTracker.sys.mjs
- + browser/modules/ClipboardPrivacy.sys.mjs
- browser/modules/HomePage.sys.mjs
- + browser/modules/SecurityLevelNotification.sys.mjs
- browser/modules/moz.build
- browser/moz.build
- browser/moz.configure
- + browser/themes/shared/icons/new_identity.svg
- browser/themes/shared/identity-block/identity-block.css
- browser/themes/shared/jar.inc.mn
- browser/themes/shared/preferences/preferences.css
- browser/themes/shared/tabbrowser/content-area.css
- browser/themes/shared/tabbrowser/tabs.css
- browser/themes/shared/toolbarbutton-icons.css
- build/application.ini.in
- build/moz.build
- + build/moz.configure/basebrowser-resources.configure
- build/moz.configure/bootstrap.configure
- build/moz.configure/init.configure
- build/moz.configure/rust.configure
- build/moz.configure/update-programs.configure
- build/moz.configure/windows.configure
- build/variables.py
- caps/nsScriptSecurityManager.cpp
- config/external/moz.build
- devtools/client/aboutdebugging/src/actions/runtimes.js
- docshell/base/URIFixup.sys.mjs
- docshell/base/nsAboutRedirector.cpp
- docshell/build/components.conf
- dom/base/nsContentUtils.cpp
- dom/base/nsContentUtils.h
- dom/base/nsCopySupport.cpp
- dom/canvas/ClientWebGLContext.cpp
- dom/media/systemservices/video_engine/desktop_device_info.cc
- dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
- dom/media/webrtc/libwebrtcglue/VideoConduit.cpp
- dom/media/webrtc/sdp/RsdparsaSdpAttributeList.cpp
- dom/media/webrtc/transport/nrinterfaceprioritizer.cpp
- dom/media/webrtc/transport/sigslot.h
- dom/media/webrtc/transport/test/ice_unittest.cpp
- dom/media/webrtc/transport/third_party/nICEr/src/net/local_addr.c
- dom/media/webrtc/transport/third_party/nICEr/src/net/local_addr.h
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-win32.c
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs.c
- dom/media/webrtc/transport/third_party/nrappkit/src/log/r_log.c
- dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.c
- dom/webidl/moz.build
- eslint-file-globals.config.mjs
- eslint-ignores.config.mjs
- eslint.config.mjs
- extensions/auth/nsHttpNegotiateAuth.cpp
- + gfx/thebes/StandardFonts-macos-bb.inc
- gfx/thebes/StandardFonts-macos.inc
- + gfx/thebes/StandardFonts-win10-bb.inc
- gfx/thebes/StandardFonts-win10.inc
- gfx/thebes/gfxDWriteFontList.cpp
- gfx/thebes/gfxFcPlatformFontList.cpp
- gfx/thebes/gfxMacPlatformFontList.mm
- gfx/thebes/gfxPlatformFontList.cpp
- intl/locale/LocaleService.cpp
- layout/base/nsLayoutUtils.cpp
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/SearchUseCases.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/ext/SearchEngine.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/internal/SearchUrlBuilder.kt
- + mobile/android/basebrowser.configure
- mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/DefaultHttpDataSource.java
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/UseCases.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/gecko/GeckoProvider.kt
- mobile/android/geckoview/api.txt
- − mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/VideoCaptureTest.kt
- mobile/android/geckoview/src/main/AndroidManifest.xml
- mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/WebRequest.java
- mobile/android/gradle/with_gecko_binaries.gradle
- mobile/android/installer/package-manifest.in
- mobile/android/mach_commands.py
- mobile/android/moz.configure
- mobile/shared/chrome/geckoview/geckoview.js
- mobile/shared/components/geckoview/GeckoViewStartup.sys.mjs
- modules/libpref/init/StaticPrefList.yaml
- modules/libpref/init/all.js
- moz.configure
- + mozconfig-android-aarch64
- + mozconfig-android-all
- + mozconfig-android-armv7
- + mozconfig-android-x86
- + mozconfig-android-x86_64
- + mozconfig-linux-aarch64
- + mozconfig-linux-aarch64-dev
- + mozconfig-linux-arm
- + mozconfig-linux-i686
- + mozconfig-linux-x86_64
- + mozconfig-linux-x86_64-asan
- + mozconfig-linux-x86_64-dev
- + mozconfig-macos
- + mozconfig-macos-dev
- + mozconfig-windows-i686
- + mozconfig-windows-x86_64
- netwerk/base/nsIPrompt.idl
- netwerk/protocol/http/nsHttpHandler.cpp
- netwerk/protocol/http/nsHttpNTLMAuth.cpp
- netwerk/sctp/src/moz.build
- netwerk/sctp/src/netinet/sctp_cc_functions.c
- netwerk/sctp/src/netinet/sctp_indata.c
- netwerk/sctp/src/netinet/sctp_input.c
- netwerk/sctp/src/netinet/sctp_output.c
- netwerk/sctp/src/netinet/sctp_usrreq.c
- netwerk/sctp/src/netinet/sctputil.c
- netwerk/sctp/src/user_mbuf.c
- netwerk/sctp/src/user_socket.c
- netwerk/system/android/nsAndroidNetworkLinkService.cpp
- netwerk/system/linux/nsNetworkLinkService.cpp
- netwerk/system/mac/nsNetworkLinkService.mm
- netwerk/system/netlink/NetlinkService.cpp
- netwerk/system/win32/nsNotifyAddrListener.cpp
- netwerk/url-classifier/components.conf
- python/mach/mach/sentry.py
- python/mach/mach/telemetry.py
- python/mozboot/mozboot/bootstrap.py
- python/mozbuild/mozbuild/action/tooltool.py
- python/mozbuild/mozbuild/artifact_commands.py
- python/mozbuild/mozbuild/artifacts.py
- python/mozbuild/mozbuild/backend/base.py
- python/mozbuild/mozbuild/mach_commands.py
- + python/mozbuild/mozbuild/tbbutils.py
- python/mozbuild/mozbuild/test/python.toml
- + python/mozbuild/mozbuild/test/test_tbbutils.py
- python/mozlint/mozlint/cli.py
- python/sites/mach.txt
- security/manager/ssl/RemoteSecuritySettings.sys.mjs
- security/moz.build
- security/nss/lib/certhigh/ocsp.c
- security/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c
- security/nss/lib/ssl/Makefile
- services/settings/Attachments.sys.mjs
- services/settings/IDBHelpers.sys.mjs
- services/settings/RemoteSettingsClient.sys.mjs
- services/settings/dumps/gen_last_modified.py
- services/settings/dumps/main/moz.build
- services/settings/remote-settings.sys.mjs
- services/settings/servicesSettings.manifest
- services/settings/static-dumps/main/moz.build
- + services/settings/static-dumps/main/query-stripping.json
- services/sync/components.conf
- testing/specialpowers/api.js
- testing/testsuite-targets.mk
- testing/web-platform/tests/tools/third_party/attrs/.git_archival.txt
- third_party/abseil-cpp/absl/base/internal/thread_identity.cc
- third_party/abseil-cpp/absl/base/internal/thread_identity.h
- third_party/libwebrtc/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h
- third_party/libwebrtc/modules/desktop_capture/win/desktop_capture_utils.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.h
- third_party/libwebrtc/modules/video_capture/windows/device_info_ds.h
- third_party/libwebrtc/rtc_base/platform_thread_types.cc
- third_party/libwebrtc/rtc_base/socket.h
- third_party/libwebrtc/rtc_base/system/file_wrapper.cc
- third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
- third_party/sipcc/cpr_win_types.h
- third_party/sipcc/sdp_token.c
- toolkit/.eslintrc.mjs
- + toolkit/actors/FilesFilterChild.sys.mjs
- + toolkit/actors/FilesFilterParent.sys.mjs
- toolkit/actors/moz.build
- toolkit/components/antitracking/antitracking.manifest
- toolkit/components/antitracking/components.conf
- toolkit/components/downloads/DownloadCore.sys.mjs
- toolkit/components/downloads/DownloadIntegration.sys.mjs
- toolkit/components/extensions/Extension.sys.mjs
- toolkit/components/extensions/ExtensionParent.sys.mjs
- toolkit/components/extensions/ext-toolkit.json
- toolkit/components/extensions/parent/ext-trial-ml.js
- toolkit/components/moz.build
- toolkit/components/pdfjs/content/PdfjsParent.sys.mjs
- toolkit/components/pdfjs/content/web/viewer.mjs
- toolkit/components/places/moz.build
- toolkit/components/prompts/content/commonDialog.js
- toolkit/components/prompts/src/Prompter.sys.mjs
- toolkit/components/remotebrowserutils/RemoteWebNavigation.sys.mjs
- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
- toolkit/components/resistfingerprinting/content/letterboxing.css
- toolkit/components/search/ConfigSearchEngine.sys.mjs
- toolkit/components/search/SearchEngineSelector.sys.mjs
- toolkit/components/search/SearchService.sys.mjs
- + toolkit/components/search/content/base-browser-search-engine-icons.json
- + toolkit/components/search/content/base-browser-search-engines.json
- + toolkit/components/search/content/duckduckgo.ico
- + toolkit/components/search/content/startpage-16.png
- + toolkit/components/search/content/startpage-32.png
- + toolkit/components/search/jar.mn
- toolkit/components/search/moz.build
- + toolkit/components/search/tests/xpcshell/test_base_browser.js
- + toolkit/components/search/tests/xpcshell/test_security_level.js
- toolkit/components/search/tests/xpcshell/xpcshell.toml
- + toolkit/components/securitylevel/SecurityLevel.manifest
- + toolkit/components/securitylevel/SecurityLevel.sys.mjs
- + toolkit/components/securitylevel/components.conf
- + toolkit/components/securitylevel/moz.build
- toolkit/components/telemetry/app/TelemetrySend.sys.mjs
- toolkit/components/telemetry/moz.build
- toolkit/components/translations/actors/TranslationsChild.sys.mjs
- toolkit/components/translations/actors/TranslationsParent.sys.mjs
- toolkit/components/translations/actors/moz.build
- toolkit/components/translations/jar.mn
- toolkit/components/urlformatter/URLFormatter.sys.mjs
- toolkit/components/windowwatcher/nsIPromptService.idl
- toolkit/components/windowwatcher/nsWindowWatcher.cpp
- toolkit/content/aboutSupport.js
- toolkit/content/jar.mn
- toolkit/content/widgets/dialog.js
- toolkit/content/widgets/moz-message-bar/moz-message-bar.mjs
- toolkit/content/widgets/moz-support-link/moz-support-link.mjs
- toolkit/content/widgets/notificationbox.js
- + toolkit/locales-preview/base-browser-no-translate.ftl
- + toolkit/locales/en-US/toolkit/global/base-browser.ftl
- toolkit/locales/jar.mn
- toolkit/modules/ActorManagerParent.sys.mjs
- toolkit/modules/AppConstants.sys.mjs
- toolkit/modules/UpdateUtils.sys.mjs
- toolkit/modules/moz.build
- toolkit/mozapps/extensions/AddonManager.sys.mjs
- toolkit/mozapps/extensions/content/aboutaddons.html
- toolkit/mozapps/extensions/content/aboutaddons.js
- toolkit/mozapps/extensions/content/components/addon-mlmodel-details.mjs
- toolkit/mozapps/extensions/content/components/mlmodel-card-list-additions.mjs
- toolkit/mozapps/extensions/extensions.manifest
- toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
- toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs
- toolkit/mozapps/extensions/internal/moz.build
- toolkit/mozapps/extensions/test/browser/head.js
- toolkit/mozapps/extensions/test/xpcshell/head_addons.js
- toolkit/mozapps/installer/packager.mk
- toolkit/mozapps/installer/upload-files.mk
- toolkit/mozapps/update/UpdateService.sys.mjs
- toolkit/mozapps/update/UpdateServiceStub.sys.mjs
- toolkit/mozapps/update/common/updatehelper.cpp
- toolkit/mozapps/update/updater/launchchild_osx.mm
- toolkit/mozapps/update/updater/moz.build
- toolkit/mozapps/update/updater/nightly_aurora_level3_primary.der
- toolkit/mozapps/update/updater/nightly_aurora_level3_secondary.der
- toolkit/mozapps/update/updater/updater.cpp
- toolkit/xre/LauncherRegistryInfo.cpp
- toolkit/xre/MacLaunchHelper.h
- toolkit/xre/MacLaunchHelper.mm
- toolkit/xre/MacRunFromDmgUtils.mm
- toolkit/xre/ProfileReset.cpp
- toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp
- toolkit/xre/nsAppRunner.cpp
- toolkit/xre/nsIXREDirProvider.idl
- toolkit/xre/nsUpdateDriver.cpp
- toolkit/xre/nsXREDirProvider.cpp
- toolkit/xre/nsXREDirProvider.h
- + tools/base_browser/git-rebase-fixup-preprocessor
- + tools/base_browser/l10n/combine-translation-versions.py
- + tools/base_browser/l10n/combine/__init__.py
- + tools/base_browser/l10n/combine/combine.py
- + tools/base_browser/l10n/combine/tests/__init__.py
- + tools/base_browser/l10n/combine/tests/python.toml
- + tools/base_browser/l10n/combine/tests/test_android.py
- + tools/base_browser/l10n/combine/tests/test_dtd.py
- + tools/base_browser/l10n/combine/tests/test_fluent.py
- + tools/base_browser/l10n/combine/tests/test_properties.py
- + tools/base_browser/missing-css-variables.py
- + tools/base_browser/tb-dev
- tools/lint/fluent-lint/exclusions.yml
- tools/moz.build
- + tools/torbrowser/generate-bugzilla-triage-csv.sh
- uriloader/base/nsURILoader.cpp
- uriloader/exthandler/nsExternalHelperAppService.cpp
- widget/ScrollbarDrawingWin.cpp
- widget/ScrollbarDrawingWin11.cpp
- widget/android/WebExecutorSupport.cpp
- widget/gtk/MPRISServiceHandler.cpp
- widget/gtk/nsLookAndFeel.cpp
- widget/windows/WinTaskbar.cpp
- widget/windows/nsDataObj.cpp
- xpcom/io/nsAppFileLocationProvider.cpp
- xpfe/appshell/AppWindow.cpp
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/93…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/93…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser] Pushed new branch mullvad-browser-146.0a1-16.0-2
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed new branch mullvad-browser-146.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/tree/mullv…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser] Pushed new branch base-browser-146.0a1-16.0-2
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed new branch base-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/base-brow…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser] Pushed new tag base-browser-146.0a1-16.0-2-build1
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed new tag base-browser-146.0a1-16.0-2-build1 at The Tor Project / Applications / Tor Browser
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/base-brow…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser] Pushed new tag tor-browser-146.0a1-16.0-2-build1
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed new tag tor-browser-146.0a1-16.0-2-build1 at The Tor Project / Applications / Tor Browser
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/tor-brows…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][tor-browser-146.0a1-16.0-2] 288 commits: BB 41454: Move focus after calling openPreferences for a sub-category.
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed to branch tor-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
Commits:
12b70da7 by Henry Wilkes at 2025-11-27T14:10:04-03:00
BB 41454: Move focus after calling openPreferences for a sub-category.
Temporary fix until mozilla bug 1799153 gets a patch upstream.
- - - - -
6dd21530 by Henry Wilkes at 2025-11-27T14:17:06-03:00
BB 43072: Add aria label and description to moz-message-bar.
Ensures that moz-message-bar, including notifications, are announced on
Orca.
This addresses upstream bugzilla bug 1895857 and should likely be
replaced when it is fixed.
- - - - -
0742ec69 by Henry Wilkes at 2025-11-27T14:17:14-03:00
BB 42739: Use the brand name for profile error messages.
Some messages in profileSelection.properties use gAppData->name as
variable inputs. However, gAppData->name is still "Firefox" for our
base-browser builds, rather than the user-facing browser name. We swap
these instances with the displayed brand name instead.
- - - - -
70c86106 by Beatriz Rizental at 2025-12-01T10:18:54-03:00
fixup! BB 42739: Use the brand name for profile error messages.
- - - - -
9cdfd142 by Henry Wilkes at 2025-12-01T10:18:55-03:00
BB 41483: Remove the firefox override for appstrings.properties
Remove this patch after upstream bugzilla bug 1790187
- - - - -
f0e459de by Sukhbir Singh at 2025-12-01T10:18:56-03:00
BB 44167: Don't build the uninstaller for Windows during Firefox compilation
- - - - -
910a17f9 by Marco Simonelli at 2025-12-01T10:18:57-03:00
BB 41459: WebRTC fails to build under mingw (Part 1)
- properly define NOMINMAX for just MSVC builds
- - - - -
faff4a6f by Marco Simonelli at 2025-12-01T10:18:57-03:00
BB 41459: WebRTC fails to build under mingw (Part 2)
- fixes required to build third_party/libwebrtc
- - - - -
48ceade7 by Pier Angelo Vendrame at 2025-12-01T10:18:58-03:00
fixup! BB 41459: WebRTC fails to build under mingw (Part 2)
Linted.
- - - - -
ebf6263a by Marco Simonelli at 2025-12-01T10:18:59-03:00
BB 41459: WebRTC fails to build under mingw (Part 3)
- fixes required to build third_party/sipcc
- - - - -
4804326e by Marco Simonelli at 2025-12-01T10:19:00-03:00
BB 41459: WebRTC fails to build under mingw (Part 4)
- fixes requried to build netwerk/sctp
- - - - -
1df69286 by Marco Simonelli at 2025-12-01T10:19:01-03:00
BB 41459: WebRTC fails to build under mingw (Part 5)
- fixes required to build dom/media/webrtc
- - - - -
3df5124e by Marco Simonelli at 2025-12-01T10:19:01-03:00
BB 41459: WebRTC fails to build under mingw (Part 6)
- fixes required to build dom/media/systemservices
- - - - -
9ed6aa55 by june wilde at 2025-12-01T10:19:02-03:00
BB 42758: Fix WebRTC build errors.
- - - - -
803a78a6 by hackademix at 2025-12-01T10:19:03-03:00
BB 41854: Allow overriding download spam protection.
- - - - -
bbb5d632 by hackademix at 2025-12-01T10:19:04-03:00
BB 42832: Download spam prevention exemption for browser extensions.
- - - - -
7207589f by Pier Angelo Vendrame at 2025-12-01T10:19:04-03:00
BB 42220: Allow for more file types to be forced-inline.
Firefox allows to open some files in the browser without any
confirmation, but this will result in a disk leak, because the file will
be downloaded to the temporary directory first (and not deleted, in some
cases).
A preference allows PDFs to be opened without being downloaded to disk.
So, we introduce a similar one to do the same for all the files that are
set to be opened automatically in the browser, except svg and html files
to prevent XSS hazards (see BB 43211).
- - - - -
93ce669d by hackademix at 2025-12-01T10:19:05-03:00
BB 42835: Create an actor to filter file data transfers
- - - - -
1d243ba8 by Pier Angelo Vendrame at 2025-12-01T10:19:06-03:00
BB 44103: Remove ref-names from attr's .git_archival.txt.
The currently vendored copy of python-attrs's .git_archival.txt
includes a ref-names field which might make source tarballs not
reproducible.
Upstream fixed this in da2333cd37747d692d5c78b0c94bd400ff883a9a,
therefore we apply the same change until Mozilla vendors an updated
copy of python-attrs.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1980103.
- - - - -
445c589e by hackademix at 2025-12-01T10:19:07-03:00
BB 44125: Do not offer to save signatures by default in Private Browsing Mode
- - - - -
29e654e6 by Beatriz Rizental at 2025-12-09T20:14:59-03:00
BB 43564: Modify ./mach bootstrap for Base Browser
- - - - -
0be03b8a by Beatriz Rizental at 2025-12-09T20:15:00-03:00
fixup! BB 43564: Modify ./mach bootstrap for Base Browser
- - - - -
2d5dcce0 by Beatriz Rizental at 2025-12-09T20:15:00-03:00
BB 42728: Modify ./mach lint to skip unused linters
- - - - -
9ac30957 by Beatriz Rizental at 2025-12-09T20:15:01-03:00
fixup! BB 42728: Modify ./mach lint to skip unused linters
- - - - -
a5151db3 by Beatriz Rizental at 2025-12-09T20:15:02-03:00
fixup! BB 42728: Modify ./mach lint to skip unused linters
- - - - -
8916d972 by Morgan at 2025-12-10T13:59:01-03:00
BB 43615: Add Gitlab Issue and Merge Request templates
- - - - -
dcce69a8 by Pier Angelo Vendrame at 2025-12-10T13:59:14-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
Update GitLab templates.
Avoid mentioning existing issues/MRs, and update the channels.
- - - - -
e8647685 by Morgan at 2025-12-10T14:21:08-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
made header formatting consistent
- - - - -
8d82db10 by Morgan at 2025-12-10T14:21:08-03:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
drill down on more detailed Bookkeeping information
- - - - -
94c43da7 by Henry Wilkes at 2025-12-10T14:21:09-03:00
BB 41803: Add some developer tools for working on tor-browser.
- - - - -
32e28ebb by Richard Pospesel at 2025-12-10T14:21:10-03:00
BB 42683: Create script to generate issue triage csv file from bugzilla query and git logs
- - - - -
84be9572 by Henry Wilkes at 2025-12-10T14:21:10-03:00
BB 42305: Add script to combine translation files across versions.
- - - - -
14610d3e by Beatriz Rizental at 2025-12-10T14:21:11-03:00
BB 43535: Enable tests
- - - - -
2c0dc432 by Beatriz Rizental at 2025-12-10T14:21:12-03:00
Add CI for Base Browser
- - - - -
203b3db4 by Beatriz Rizental at 2025-12-10T14:21:12-03:00
fixup! Add CI for Base Browser
Use custom CI container for translations job.
- - - - -
44a4e6e4 by Beatriz Rizental at 2025-12-10T14:21:13-03:00
fixup! Add CI for Base Browser
Filed a review ticket https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/44402
Turned a linter rule back to warning for now.
- - - - -
15084ad5 by Pier Angelo Vendrame at 2025-12-10T15:26:00-03:00
Base Browser's .mozconfigs.
Bug 17858: Cannot create incremental MARs for hardened builds.
Define HOST_CFLAGS, etc. to avoid compiling programs such as mbsdiff
(which is part of mar-tools and is not distributed to end-users) with
ASan.
Bug 21849: Don't allow SSL key logging.
Bug 25741 - TBA: Disable features at compile-time
Define MOZ_ANDROID_NETWORK_STATE and MOZ_ANDROID_LOCATION
Bug 27623 - Export MOZILLA_OFFICIAL during desktop builds
This fixes a problem where some preferences had the wrong default value.
Also see bug 27472 where we made a similar fix for Android.
Bug 29859: Disable HLS support for now
Bug 30463: Explicitly disable MOZ_TELEMETRY_REPORTING
Bug 32493: Disable MOZ_SERVICES_HEALTHREPORT
Bug 33734: Set MOZ_NORMANDY to False
Bug 33851: Omit Parental Controls.
Bug 40252: Add --enable-rust-simd to our tor-browser mozconfig files
Bug 41584: Move some configuration options to base-browser level
- - - - -
b67d0469 by Pier Angelo Vendrame at 2025-12-10T15:26:00-03:00
BB 44118: Disable Mozilla's nightly and early beta features.
- - - - -
573b47a2 by Pier Angelo Vendrame at 2025-12-10T15:26:01-03:00
fixup! BB 44118: Disable Mozilla's nightly and early beta features.
It seems is_early_beta_or_earlier can be only True or None, but not
False.
- - - - -
fde8cf84 by Pier Angelo Vendrame at 2025-12-10T15:26:02-03:00
Tweaks to the build system
Bug 40857: Modified the fat .aar creation file
This is a workaround to build fat .aars with the compiling enviornment
disabled.
Mozilla does not use a similar configuration, but either runs a Firefox
build and discards its output, or uses artifacts build.
We might switch to artifact builds too, and drop this patch, or write a
better one to upstream. But until then we need this patch.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1763770.
Bug 41458: Prevent `mach package-multi-locale` from actually creating a package
macOS builds need some files to be moved around with
./mach package-multi-locale to create multi-locale packages.
The required command isn't exposed through any other mach command.
So, we patch package-multi-locale both to prevent it from failing when
doing official builds and to detect any future changes on it.
- - - - -
d0aa9093 by Pier Angelo Vendrame at 2025-12-10T15:26:03-03:00
fixup! Tweaks to the build system
Disable more build telemetry.
The sentry module uses the Python ssl module, which does not work in
our old Linux build environment.
- - - - -
08b5fea9 by Pier Angelo Vendrame at 2025-12-10T15:26:03-03:00
fixup! Tweaks to the build system
TB 44370: Always create target.maven.zip on Android.
- - - - -
4e4d1a17 by Beatriz Rizental at 2025-12-10T15:26:04-03:00
fixup! Tweaks to the build system
Fix linter issues. Related to using things that are not being imported
since we commented them out. Guess the linter doesnt care that the code
is unreacheable.
- - - - -
4468abc5 by Pier Angelo Vendrame at 2025-12-10T15:26:05-03:00
BB 29320: Replace the gnu target with gnullvm for Rust.
- - - - -
6ba932f9 by Pier Angelo Vendrame at 2025-12-10T15:26:06-03:00
BB 42616: Remove VideoCaptureTest.kt.
This is a workaround to fix the GeckoView build with WebRTC disabled.
We should replace this workaround with a proper solution, that
excludes this test when MOZ_WEBRTC is undefined/False.
- - - - -
757b820f by Pier Angelo Vendrame at 2025-12-10T15:26:07-03:00
BB 41108: Remove privileged macOS installation from 102
- - - - -
4e85e65f by Dan Ballard at 2025-12-10T15:26:07-03:00
BB 41149: Re-enable DLL injection protection in all builds not just nightlies
- - - - -
fa94035c by Henry Wilkes at 2025-12-10T15:26:08-03:00
BB 43092: Disable wayland by default in Base Browser.
- - - - -
fe62c0d1 by Matthew Finkel at 2025-12-10T15:26:09-03:00
BB 24796: Comment out excess permissions from GeckoView
The GeckoView AndroidManifest.xml is not preprocessed unlike Fennec's
manifest, so we can't use the ifdef preprocessor guards around the
permissions we do not want. Commenting the permissions is the
next-best-thing.
- - - - -
1b2e19e4 by Matthew Finkel at 2025-12-10T15:26:10-03:00
BB 28125: Prevent non-Necko network connections
- - - - -
6903f75f by Mike Perry at 2025-12-10T15:26:10-03:00
BB 12974: Disable NTLM and Negotiate HTTP Auth
The Mozilla bugs: https://bugzilla.mozilla.org/show_bug.cgi?id=1046421,
https://bugzilla.mozilla.org/show_bug.cgi?id=1261591, tor-browser#27602
- - - - -
62b0a9e0 by cypherpunks1 at 2025-12-10T15:26:11-03:00
BB 40717: Hide Windows SSO in settings
- - - - -
203ec0fb by Georg Koppen at 2025-12-10T15:26:12-03:00
BB 16285: Exclude ClearKey system for now
In the past the ClearKey system had not been compiled when specifying
--disable-eme. But that changed and it is even bundled nowadays (see:
Mozilla's bug 1300654). We don't want to ship it right now as the use
case for it is not really visible while the code had security
vulnerabilities in the past.
- - - - -
179b0231 by Kathy Brade at 2025-12-10T15:26:13-03:00
BB 21431: Clean-up system extensions shipped in Firefox
Only ship the pdfjs extension.
- - - - -
9a0ed398 by Kathy Brade at 2025-12-10T15:26:14-03:00
BB 33852: Clean up about:logins (LockWise) to avoid mentioning sync, etc.
Hide elements on about:logins that mention sync, "Firefox LockWise", and
Mozilla's LockWise mobile apps.
Disable the "Create New Login" button when security.nocertdb is true.
- - - - -
73eee8f9 by Alex Catarineu at 2025-12-10T15:26:14-03:00
BB 41457: Remove Mozilla permissions
Bug 40025: Remove Mozilla add-on install permissions
- - - - -
e8f9ff11 by Henry Wilkes at 2025-12-10T15:26:15-03:00
BB 44045: Disable ML features.
- - - - -
f4556882 by Kathy Brade at 2025-12-10T15:26:16-03:00
BB 41662: Disable about:sync-logs
Even though we disable sync by default with
`identity.fxaccounts.enabled`, this about: page is still avilable.
We could throw an exception on the constructor of the related
component, but it would result only in an error in the console, without
a visible "this address does not look right" error page.
If we fix the issues with MOZ_SERVICES_SYNC, we can restore the
component.
- - - - -
56e28e8a by Morgan at 2025-12-10T15:26:17-03:00
BB 42716: Disable unwanted about: pages
- - - - -
276cc80f by Arthur Edelstein at 2025-12-10T15:26:18-03:00
BB 26353: Prevent speculative connect that violated FPI.
Connections were observed in the catch-all circuit when
the user entered an https or http URL in the URL bar, or
typed a search term.
- - - - -
fd525e57 by Alex Catarineu at 2025-12-10T15:26:19-03:00
BB 31740: Remove some unnecessary RemoteSettings instances
More concretely, SearchService.jsm 'hijack-blocklists' and
url-classifier-skip-urls.
Avoid creating instance for 'anti-tracking-url-decoration'.
If prefs are disabling their usage, avoid creating instances for
'cert-revocations' and 'intermediates'.
Do not ship JSON dumps for collections we do not expect to need. For
the ones in the 'main' bucket, this prevents them from being synced
unnecessarily (the code in remote-settings does so for collections
in the main bucket for which a dump or local data exists). For the
collections in the other buckets, we just save some size by not
shipping their dumps.
We also clear the collections database on the v2 -> v3 migration.
- - - - -
23a89c57 by cypherpunks1 at 2025-12-10T15:26:20-03:00
BB 41092: Add a RemoteSettings JSON dump for query-stripping
- - - - -
5b11c6cf by cypherpunks1 at 2025-12-10T15:26:20-03:00
BB 42730: Patch RemoteSettings to use only local dumps as a data source
- - - - -
f012d163 by Pier Angelo Vendrame at 2025-12-10T15:26:21-03:00
BB 43525: Skip Remote Settings for search engine customization.
Also, add some bundled search engines.
- - - - -
0a701470 by Pier Angelo Vendrame at 2025-12-10T15:26:22-03:00
BB 41635: Disable the Normandy component
Do not include Normandy at all whenever MOZ_NORMANDY is False.
- - - - -
7ae38a9c by Georg Koppen at 2025-12-10T15:26:23-03:00
BB 30541: Disable WebGL readPixel() for web content
Related Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1428034
- - - - -
7df665e6 by Alex Catarineu at 2025-12-10T15:26:24-03:00
BB 28369: Stop shipping pingsender executable
- - - - -
94f18b1f by Pier Angelo Vendrame at 2025-12-10T15:26:24-03:00
BB 41599: Always return an empty string as network ID
Firefox computes an internal network ID used to detect network changes
and act consequently (e.g., to improve WebSocket UX).
However, there are a few ways to get this internal network ID, so we
patch them out, to be sure any new code will not be able to use them and
possibly link users.
We also sent a patch to Mozilla to seed the internal network ID, to
prevent any accidental leak in the future.
Upstream: https://bugzilla.mozilla.org/show_bug.cgi?id=1817756
- - - - -
9c4fa354 by Pier Angelo Vendrame at 2025-12-10T15:26:25-03:00
BB 43386: Use Firefox in the UA in RFP-exempt request.
XHR requests initiated by extensions are exempt from RFP.
Therefore, they report the actual app name, instead of Firefox, and the
actual Firefox minor version.
This happens whenever the app name has been customized and does not
match a hardcoded "Firefox".
- - - - -
822cd44d by Richard Pospesel at 2025-12-10T15:26:26-03:00
BB 41327: Disable UrlbarProviderInterventions
- - - - -
65191e56 by Richard Pospesel at 2025-12-10T15:26:27-03:00
BB 42037: Disable about:firefoxview page
- - - - -
7cf1fcf0 by Henry Wilkes at 2025-12-10T15:26:28-03:00
BB 44107: Re-include firefoxview asset view-opentabs.svg.
Should be dropped after bugzilla bug 1987279 is resolved.
- - - - -
5d99777c by Mike Perry at 2025-12-10T15:26:29-03:00
Firefox preference overrides.
- - - - -
6760e001 by Pier Angelo Vendrame at 2025-12-10T15:26:29-03:00
fixup! Firefox preference overrides.
BB 44396: Fix the name of CJK fonts in font lists.
- - - - -
b41b3745 by Pier Angelo Vendrame at 2025-12-10T15:26:30-03:00
BB 43140: Tighten up fonts on Linux.
We ship a fontconfig configuration to esnure all Linux users have the
same defaults and reduce the chances of fingerprinting.
We used to add this file in tor-browser-build, but some users might
skip it by using the browser executable without the wrapper script.
Therefore, we decided to activate the file with the FontConfig API
instead of the environment variables.
Bug 41043: Hardcode the UI font on Linux
The mechanism to choose the UI font does not play well with our
fontconfig configuration. As a result, the final criterion to choose
the font for the UI was its version.
Since we hardcode Arimo as a default sans-serif on preferences, we use
it also for the UI. FontConfig will fall back to some other font for
scripts Arimo does not cover as expected (we tested with Japanese).
Bug 43141: Hardcode system-ui to Arimo.
- - - - -
cc197102 by Pier Angelo Vendrame at 2025-12-10T15:26:31-03:00
BB 43322: Customize the font visibility lists.
Customize the lists of fonts to assign base visibility to in
base browser and derivatives.
Also, rename the files with the upstream lists, to make sure we do not
use them by mistake.
- - - - -
d6a45e55 by Alex Catarineu at 2025-12-10T15:26:32-03:00
BB 30605: Honor privacy.spoof_english in Android
This checks `privacy.spoof_english` whenever `setLocales` is
called from Fenix side and sets `intl.accept_languages`
accordingly.
Bug 40198: Expose privacy.spoof_english pref in GeckoView
- - - - -
22316cfc by Pier Angelo Vendrame at 2025-12-10T15:26:33-03:00
BB 42562: Normalized the Accepted Languages on Android.
The OS language might be outside the list of actually supported
languages and it might leak the user's region.
Therefore, we force the locale reported in Accept-Language to match one
we support with translations, even when it means using a not exact
region tag.
- - - - -
f41d44df by Alex Catarineu at 2025-12-10T15:26:34-03:00
BB 40171: Make WebRequest and GeckoWebExecutor First-Party aware
- - - - -
8eaa06ef by Alex Catarineu at 2025-12-10T15:26:34-03:00
BB 26345: Hide tracking protection UI
- - - - -
4e85a48b by Henry Wilkes at 2025-12-10T15:26:35-03:00
BB 43109: Hide Firefox Relay from settings.
This should remain disabled, see tor-browser#42814.
- - - - -
e23489d7 by Henry Wilkes at 2025-12-10T15:26:36-03:00
BB 42777: Hide Website Privacy Preferences.
We hide the Website Privacy Preferences section, which controls the
"global privacy control" (GPC) and "do not track" (DNT) settings.
- - - - -
c6c4e957 by Morgan at 2025-12-10T15:26:37-03:00
BB 42070: Hide "Use smooth scrolling" from settings
- - - - -
5f706880 by Arthur Edelstein at 2025-12-10T15:26:38-03:00
BB 18905: Hide unwanted items from help menu
Bug 25660: Remove the "New Private Window" option
- - - - -
46e53ecb by Pier Angelo Vendrame at 2025-12-10T15:26:39-03:00
BB 41739: Remove "Website appearance" from about:preferences.
It is ignored because of RFP and it is confusing for users.
- - - - -
589dea8c by Henry Wilkes at 2025-12-10T15:26:39-03:00
BB 43850: Modify the Contrast Control settings for RFP.
- - - - -
70107552 by Henry Wilkes at 2025-12-10T15:26:40-03:00
BB 43117: Hide "Always underline links" from settings.
- - - - -
a13cd1b5 by Pier Angelo Vendrame at 2025-12-10T15:26:41-03:00
BB 42774: Always hide the third-pary certs UI.
- - - - -
b1dc87d9 by Henry Wilkes at 2025-12-10T15:26:42-03:00
BB 43118: Hide feature recommendation (CFR) settings.
- - - - -
4a1161f6 by Henry Wilkes at 2025-12-10T15:26:43-03:00
BB 44279: Disable contextual search install prompt.
- - - - -
5668c3b2 by Pier Angelo Vendrame at 2025-12-10T15:26:44-03:00
BB 9173: Change the default Firefox profile directory to be relative.
This commit makes Firefox look for the default profile directory in a
directory relative to the binary path.
The directory can be specified through the --with-relative-data-dir.
This is relative to the same directory as the firefox main binary for
Linux and Windows.
On macOS, we remove Contents/MacOS from it.
Or, in other words, the directory is relative to the application
bundle.
This behavior can be overriden at runtime, by placing a file called
system-install adjacent to the firefox main binary (also on macOS).
- - - - -
3871f53c by Pier Angelo Vendrame at 2025-12-10T15:26:44-03:00
BB 42773: Replace ~ with the original home.
In Bug 93141, Mozilla started sending users to their home when they type
~ in the URL bar.
On Linux, we change $HOME for various reason, therefore you would be
redirected to the spoofed home directory when typing ~.
So, we check if the original home directory is known, and use that,
instead.
- - - - -
233fc4c3 by Alex Catarineu at 2025-12-10T15:26:45-03:00
BB 27604: Fix addon issues when moving the profile directory
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1429838
- - - - -
1d5bff49 by Mike Perry at 2025-12-10T15:26:46-03:00
BB 13028: Prevent potential proxy bypass cases.
It looks like these cases should only be invoked in the NSS command line
tools, and not the browser, but I decided to patch them anyway because there
literally is a maze of network function pointers being passed around, and it's
very hard to tell if some random code might not pass in the proper proxied
versions of the networking code here by accident.
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1433509
- - - - -
fb1a09ab by Pier Angelo Vendrame at 2025-12-10T15:26:47-03:00
BB 40309: Avoid using regional OS locales
Avoid regional OS locales if the pref
`intl.regional_prefs.use_os_locales` is false but RFP is enabled.
- - - - -
cf8171dc by Matthew Finkel at 2025-12-10T15:26:48-03:00
BB 40432: Prevent probing installed applications
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1711084
- - - - -
eb3e0db4 by Henry Wilkes at 2025-12-10T15:26:49-03:00
BB 29745: Limit remote access to content accessible resources
- - - - -
c98b0a99 by cypherpunks1 at 2025-12-10T15:26:50-03:00
BB 33955: When copying an image only copy the image contents to the clipboard
- - - - -
88c50497 by cypherpunks1 at 2025-12-10T15:26:50-03:00
BB 41791: Omit the source URL when copying page contents to the clipboard
- - - - -
e08e3649 by Pier Angelo Vendrame at 2025-12-10T15:26:51-03:00
BB 43196: Remove the vendor name from media notifications on Linux.
Firefox shows "vendor remoteName" as a title of the "... is playing
media" notification on Linux.
However, for our browser the remote name is enough, and prepending the
vendor to it creates a string users usually never see.
- - - - -
585f872a by Pier Angelo Vendrame at 2025-12-10T15:26:52-03:00
Base Browser strings
This commit adds all the strings needed by following Base Browser
patches.
- - - - -
3b531650 by Henry Wilkes at 2025-12-10T15:26:53-03:00
BB 42583: Modify moz-support-link for Base Browser.
- - - - -
c5d6bc93 by Pier Angelo Vendrame at 2025-12-10T15:26:54-03:00
BB 41369: Improve Firefox language settings for multi-lingual packages
Change the language selector to be sorted by language code, rather than
name, and to display the language code to the user.
Bug 41372: Handle Japanese as a special case in preferences on macOS
Japanese is treated in a special way on macOS. However, seeing the
Japanese language tag could be confusing for users, and moreover the
language name is not localized correctly like other langs.
Bug 41378: Tell users that they can change their language at the first start
With multi-lingual builds, Tor Browser matches the user's system
language, but some users might want to change it.
So, we tell them that it is possible, but only once.
- - - - -
7c04f31b by p13dz at 2025-12-10T15:26:55-03:00
BB 40283: Workaround for the file upload bug
- - - - -
9fc2664f by hackademix at 2025-12-10T15:26:55-03:00
BB 42019: Empty browser's clipboard on browser shutdown
- - - - -
06621e7d by hackademix at 2025-12-10T15:26:56-03:00
BB 42084: Ensure English spoofing works even if preferences are set out of order.
- - - - -
e02cd821 by Pier Angelo Vendrame at 2025-12-10T15:26:57-03:00
BB 41930: Remove the UI to customize accept_languages.
- - - - -
488ee9f7 by hackademix at 2025-12-10T15:26:58-03:00
BB 32308: Use direct browser sizing for letterboxing.
Bug 30556: align letterboxing with 200x100 new win width stepping
- - - - -
3c1e6fab by Henry Wilkes at 2025-12-10T15:26:59-03:00
fixup! BB 32308: Use direct browser sizing for letterboxing.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
eec3955a by hackademix at 2025-12-10T15:26:59-03:00
BB 41631: Prevent weird initial window dimensions caused by subpixel computations
- - - - -
85aee552 by hackademix at 2025-12-10T15:27:00-03:00
BB 41918: Option to reuse last window size when letterboxing is enabled.
- - - - -
61c325a8 by hackademix at 2025-12-10T15:27:01-03:00
BB 41916: Letterboxing preferences UI
- - - - -
0b911cee by hackademix at 2025-12-10T15:27:02-03:00
BB 41695: Warn on window maximization without letterboxing in RFPHelper module
- - - - -
ee258624 by hackademix at 2025-12-10T15:27:03-03:00
BB 42443: Shrink window to match letterboxing size when the emtpy area is clicked.
- - - - -
c2c6ebc1 by hackademix at 2025-12-10T15:27:04-03:00
BB 41919: Letterboxing, add temporarily visible web content-size indicator on window resizing.
- - - - -
9160ba71 by Henry Wilkes at 2025-12-10T15:27:04-03:00
fixup! BB 41919: Letterboxing, add temporarily visible web content-size indicator on window resizing.
TB 44214: Fix letterboxing status indicator for RTL.
- - - - -
68d8c7f3 by Henry Wilkes at 2025-12-10T15:27:05-03:00
BB 42528: Don't leak system scrollbar size on windows.
- - - - -
a4c95884 by Henry Wilkes at 2025-12-10T15:27:06-03:00
BB 31575: Disable Firefox Home (Activity Stream)
Treat about:blank as the default home page and new tab page.
BB 43886: Disable the newtab component/addon.
Bug 41624: Disable about:pocket-* pages.
Bug 40144: Redirect about:privatebrowsing to the user's home
- - - - -
ca509ad0 by Pier Angelo Vendrame at 2025-12-10T15:27:07-03:00
fixup! BB 31575: Disable Firefox Home (Activity Stream)
BB 44302: Add URI_CAN_LOAD_IN_PRIVILEGEDABOUT_PROCESS to some about pages.
- - - - -
5c6c36af by Kathy Brade at 2025-12-10T15:27:07-03:00
BB 4234: Use the Firefox Update Process for Base Browser.
Windows: disable "runas" code path in updater (15201).
Windows: avoid writing to the registry (16236).
Also includes fixes for tickets 13047, 13301, 13356, 13594, 15406,
16014, 16909, 24476, and 25909.
Also fix bug 27221: purge the startup cache if the Base Browser
version changed (even if the Firefox version and build ID did
not change), e.g., after a minor Base Browser update.
Also fix 32616: Disable GetSecureOutputDirectoryPath() functionality.
Bug 26048: potentially confusing "restart to update" message
Within the update doorhanger, remove the misleading message that mentions
that windows will be restored after an update is applied, and replace the
"Restart and Restore" button label with an existing
"Restart to update Tor Browser" string.
Bug 28885: notify users that update is downloading
Add a "Downloading Base Browser update" item which appears in the
hamburger (app) menu while the update service is downloading a MAR
file. Before this change, the browser did not indicate to the user
that an update was in progress, which is especially confusing in
Tor Browser because downloads often take some time. If the user
clicks on the new menu item, the about dialog is opened to allow
the user to see download progress.
As part of this fix, the update service was changed to always show
update-related messages in the hamburger menu, even if the update
was started in the foreground via the about dialog or via the
"Check for Tor Browser Update" toolbar menu item. This change is
consistent with the Tor Browser goal of making sure users are
informed about the update process.
Removed #28885 parts of this patch which have been uplifted to Firefox.
- - - - -
009a8cb6 by Pier Angelo Vendrame at 2025-12-10T15:27:08-03:00
BB 42061: Create an alpha update channel.
- - - - -
2b45ecb9 by Nicolas Vigier at 2025-12-10T15:27:09-03:00
BB 41682: Add base-browser nightly mar signing key
- - - - -
3f3f7c02 by Pier Angelo Vendrame at 2025-12-10T15:27:10-03:00
BB 41603: Customize the creation of MOZ_SOURCE_URL
MOZ_SOURCE_URL is created by combining MOZ_SOURCE_REPO and
MOZ_SOURCE_CHANGESET.
But the code takes for granted that it refers to a Hg instance, so it
combines them as `$MOZ_SOURCE_REPO/rev/$MOZ_SOURCE_CHANGESET`.
With this commit, we change this logic to combine them to create a URL
that is valid for GitLab.
$MOZ_SOURCE_CHANGESET needs to be a commit hash, not a branch or a tag.
If that is needed, we could use /-/tree/, instead of /-/commit/.
- - - - -
aede2f33 by Pier Angelo Vendrame at 2025-12-10T15:27:10-03:00
BB 42438: Tweaks to the migration wizard.
Remove the items not compatible with our features (such as history) from
the migration wizard.
On Linux, allow to specify an alternative home directory, since we
usually change $HOME in our startup script.
- - - - -
a9f0eba2 by Alex Catarineu at 2025-12-10T15:27:11-03:00
BB 40069: Add helpers for message passing with extensions
- - - - -
b978ebc1 by Matthew Finkel at 2025-12-10T15:27:12-03:00
BB 41598: Prevent NoScript from being removed/disabled.
Bug 40253: Explicitly allow NoScript in Private Browsing mode.
- - - - -
90311b2d by Henry Wilkes at 2025-12-10T15:27:13-03:00
BB 41581: Hide NoScript extension's toolbar button by default.
This hides it from both the toolbar and the unified extensions panel.
We also hide the unified-extension-button if the panel would be empty:
not including the NoScript button when it is hidden. As a result, this
will be hidden by default until a user installs another extension (or
shows the NoScript button and unpins it).
- - - - -
d206e967 by hackademix at 2025-12-10T15:27:14-03:00
BB 41834: Hide "Can't Be Removed - learn more" menu line for uninstallable add-ons
- - - - -
ea1c1d67 by Henry Wilkes at 2025-12-10T15:27:14-03:00
BB 41736: Customize toolbar for base-browser.
- - - - -
ea7f2133 by Henry Wilkes at 2025-12-10T15:27:15-03:00
BB 43864: Modify the urlbar for Base Browser.
- - - - -
584b546b by Henry Wilkes at 2025-12-10T15:27:16-03:00
BB 44040: Modify prompt service for Base Browser.
- - - - -
500e98df by Henry Wilkes at 2025-12-10T15:27:17-03:00
BB 43902: Modify the new sidebar for Base Browser.
- - - - -
bd911cdb by Beatriz Rizental at 2025-12-10T15:27:17-03:00
BB 44400: Disable liquid app glass icons for MacOS
This reverts commit 7ee252421988d7b3a38dc650986a3b4c3321a823.
- - - - -
2b09b040 by Pier Angelo Vendrame at 2025-12-10T15:27:18-03:00
BB 40925: Implemented the Security Level component
This component adds a new Security Level toolbar button which visually
indicates the current global security level via icon (as defined by the
extensions.torbutton.security_slider pref), a drop-down hanger with a
short description of the current security level, and a new section in
the about:preferences#privacy page where users can change their current
security level. In addition, the hanger and the preferences page will
show a visual warning when the user has modified prefs associated with
the security level and provide a one-click 'Restore Defaults' button to
get the user back on recommended settings.
Bug 40125: Expose Security Level pref in GeckoView
- - - - -
abec818b by Pier Angelo Vendrame at 2025-12-10T15:27:19-03:00
fixup! BB 40925: Implemented the Security Level component
Linted.
- - - - -
088db1ef by Henry Wilkes at 2025-12-10T15:27:20-03:00
fixup! BB 40925: Implemented the Security Level component
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
3b688f70 by Pier Angelo Vendrame at 2025-12-10T15:27:21-03:00
BB 40926: Implemented the New Identity feature
- - - - -
e2a7c780 by Pier Angelo Vendrame at 2025-12-10T15:27:21-03:00
BB 42027: Base Browser migration procedures.
This commit implmenents the the Base Browser's version of _migrateUI.
- - - - -
9f906ea6 by Henry Wilkes at 2025-12-10T15:27:22-03:00
TB 42308: Create README for tor-browser.
We drop the README.txt that comes from Mozilla Firefox and add README.md
for tor-browser.
- - - - -
d5e30477 by Morgan at 2025-12-10T15:27:23-03:00
TB 43616: Customize Gitlab Issue and Merge Request templates
- - - - -
2dab7b83 by Morgan at 2025-12-10T15:27:24-03:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
- updated Bugzilla Audit issue:
- changed esr label to esr-153
- set Tor Browser 16.0 milestone
- - - - -
01658157 by Morgan at 2025-12-10T15:27:25-03:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
add step to create the Firefox Release Review issue for each RR version
- - - - -
58575485 by Morgan at 2025-12-10T15:27:25-03:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
updated the Firefox Release Review issue template
- - - - -
6a82e8b4 by Morgan at 2025-12-10T15:27:26-03:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
add build-to-build upgrades, update test architectures and add impact label
- - - - -
fa88381a by Morgan at 2025-12-10T15:27:27-03:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
add impact label and remove alpha backport steps
- - - - -
2cc73baa by Beatriz Rizental at 2025-12-10T15:27:28-03:00
TB 43564: Modify ./mach bootstrap for Tor Browser
- - - - -
3355ffcd by Beatriz Rizental at 2025-12-10T15:27:29-03:00
fixup! TB 43564: Modify ./mach bootstrap for Tor Browser
- - - - -
81e56318 by Beatriz Rizental at 2025-12-10T15:27:29-03:00
fixup! TB 43564: Modify ./mach bootstrap for Tor Browser
- - - - -
cfdaf617 by Beatriz Rizental at 2025-12-10T15:27:30-03:00
Add CI for Tor Browser
- - - - -
7d6aeca5 by Beatriz Rizental at 2025-12-10T15:27:31-03:00
fixup! Add CI for Tor Browser
- - - - -
3bb9cf84 by Richard Pospesel at 2025-12-10T15:27:32-03:00
TB 41089: Add tor-browser build scripts + Makefile to tor-browser
- - - - -
39ca83f7 by Alex Catarineu at 2025-12-10T15:27:32-03:00
Add TorStrings module for localization
- - - - -
bed8abeb by Pier Angelo Vendrame at 2025-12-10T15:27:33-03:00
fixup! Add TorStrings module for localization
Linted.
- - - - -
6fa516eb by Henry Wilkes at 2025-12-10T15:27:34-03:00
Tor Browser strings
This commit adds all the strings needed for Tor Browser patches.
- - - - -
bd79e935 by Henry Wilkes at 2025-12-10T15:27:35-03:00
Tor Browser localization migration scripts.
- - - - -
3185d3ac by Mike Perry at 2025-12-10T15:27:36-03:00
TB 2176: Rebrand Firefox to TorBrowser
See also Bugs #5194, #7187, #8115, #8219.
This patch does some basic renaming of Firefox to TorBrowser. The rest of the
branding is done by images and icons.
Also fix bug 27905.
Bug 25702: Update Tor Browser icon to follow design guidelines
- Updated all of the branding in /browser/branding/official with new 'stable'
icon series.
- Updated /extensions/onboarding/content/img/tor-watermark.png with new icon and
add the source svg in the same directory
- Copied /browser/branding/official over /browser/branding/nightly and the new
/browser/branding/alpha directories. Replaced content with 'nightly' and
'alpha' icon series.
Updated VisualElements_70.png and VisualElements_150.png with updated icons in
each branding directory (fixes #22654)
- Updated firefox.VisualElementsManfiest.xml with updated colors in each
branding directory
- Added firefox.svg to each branding directory from which all the other icons
are derived (apart from document.icns and document.ico)
- Added default256.png and default512.png icons
- Updated aboutTBUpdate.css to point to branding-aware icon128.png and removed
original icon
- Use the Tor Browser icon within devtools/client/themes/images/.
Bug 30631: Blurry Tor Browser icon on macOS app switcher
It would seem the png2icns tool does not generate correct icns files and
so on macOS the larger icons were missing resulting in blurry icons in
the OS chrome. Regenerated the padded icons in a macOS VM using
iconutil.
Bug 28196: preparations for using torbutton tor-browser-brand.ftl
A small change to Fluent FileSource class is required so that we
can register a new source without its supported locales being
counted as available locales for the browser.
Bug 31803: Replaced about:debugging logo with flat version
Bug 21724: Make Firefox and Tor Browser distinct macOS apps
When macOS opens a document or selects a default browser, it sometimes
uses the CFBundleSignature. Changing from the Firefox MOZB signature to
a different signature TORB allows macOS to distinguish between Firefox
and Tor Browser.
Bug 32092: Fix Tor Browser Support link in preferences
For bug 40562, we moved onionPattern* from bug 27476 to here, as
about:tor needs these files but it is included earlier.
Bug 41278: Create Tor Browser styled pdf logo similar to the vanilla Firefox one
Bug 42088: New application icons (used in-app and on linux).
Bug 42087: New application icons (windows).
- - - - -
89aaafd1 by Henry Wilkes at 2025-12-10T15:27:36-03:00
TB 43901: Modify about:license for Tor Browser.
We also drop about:rights.
- - - - -
6cacf521 by Henry Wilkes at 2025-12-10T15:27:37-03:00
Customize moz-toggle for tor-browser.
- - - - -
b1beb7c2 by Beatriz Rizental at 2025-12-10T15:27:38-03:00
fixup! Customize moz-toggle for tor-browser.
Fix linter issues -- left out unused variables.
- - - - -
677029b3 by Henry Wilkes at 2025-12-10T15:31:48-03:00
fixup! Customize moz-toggle for tor-browser.
TB 44419: Re-add the moz-toggle title attribute patch.
- - - - -
d4696de7 by Henry Wilkes at 2025-12-10T15:31:49-03:00
TB 43087: Add onion-pattern to be used on Tor pages.
- - - - -
d0a61cb1 by Henry Wilkes at 2025-12-10T15:31:49-03:00
TB 41817: tor-browser semantic colors.
- - - - -
9e3529ca by Henry Wilkes at 2025-12-10T15:31:50-03:00
TB 42110: Add TorUIUtils module for common tor component methods.
- - - - -
7424336c by Henry Wilkes at 2025-12-10T15:31:51-03:00
TB 42583: Modify moz-support-link for Tor Browser.
- - - - -
0d85cb45 by hackademix at 2025-12-10T15:31:52-03:00
TB 44127: Do not show macOS Privacy hint on network error pages
- - - - -
5d6e0358 by Beatriz Rizental at 2025-12-10T15:31:52-03:00
TB 43107: Disable remoting by default
Unless the `--allow-remote` flag is provided when starting the
applicaton.
Also removes the support for the `--new-instance` flag which does a
similar job of disabling remoting, but only disables it for the current
instance.
- - - - -
6fc40c03 by sanketh at 2025-12-10T15:31:53-03:00
TB 40209: Implement Basic Crypto Safety
Adds a CryptoSafety actor which detects when you've copied a crypto
address from a HTTP webpage and shows a warning.
Closes #40209.
Bug 40428: Fix string attribute names
- - - - -
2280a07b by Mike Perry at 2025-12-10T15:31:54-03:00
TB3: Tor Browser's official .mozconfigs.
Also:
Add an --enable-tor-browser-data-outside-app-dir configure option
Add --with-tor-browser-version configure option
Bug 31457: disable per-installation profiles
The dedicated profiles (per-installation) feature does not interact
well with our bundled profiles on Linux and Windows, and it also causes
multiple profiles to be created on macOS under TorBrowser-Data.
Bug 31935: Disable profile downgrade protection.
Since Tor Browser does not support more than one profile, disable
the prompt and associated code that offers to create one when a
version downgrade situation is detected.
Add --enable-tor-browser-update build option
Bug 40793: moved Tor configuration options from old-configure.in to moz.configure
Bug 41584: Move some configuration options to base-browser level
- - - - -
24672362 by Henry Wilkes at 2025-12-10T15:31:55-03:00
TB 41340: Enable TOR_BROWSER_NIGHTLY_BUILD features for dev and nightly builds
tor-browser#41285: Enable fluent warnings.
- - - - -
2941d31f by Pier Angelo Vendrame at 2025-12-10T15:31:55-03:00
TB 40562: Added Tor Browser preferences to 000-tor-browser.js
Before reordering patches, we used to keep the Tor-related patches
(torbutton and tor-launcher) at the beginning.
After that issue, we decided to move them towards the end.
In addition to that, we have decided to move Tor Browser-only
preferences there, too, to make Base Browser-only fixups easier to
apply.
- - - - -
accefae1 by Pier Angelo Vendrame at 2025-12-10T15:31:56-03:00
TB 13252: Customize profile management on macOS
On macOS we allow both portable mode and system installation.
However, in the latter case, we customize Firefox's directories to
match the hierarchy we use for the portable mode.
Also, display an informative error message if the TorBrowser-Data
directory cannot be created due to an "access denied" or a
"read only volume" error.
- - - - -
d6474af6 by Pier Angelo Vendrame at 2025-12-10T15:31:57-03:00
TB 40933: Add tor-launcher functionality
Bug 41926: Reimplement the control port
- - - - -
7010dd69 by Beatriz Rizental at 2025-12-10T15:31:58-03:00
fixup! TB 40933: Add tor-launcher functionality
Fix linter issues. Specifically `eslint: no-case-declaration - unexpected lexical declaration in case block`
- - - - -
b6bd2a2c by Cecylia Bocovich at 2025-12-10T15:31:59-03:00
Lox integration
- - - - -
74fa7463 by Richard Pospesel at 2025-12-10T15:31:59-03:00
TB 40597: Implement TorSettings module
- migrated in-page settings read/write implementation from about:preferences#tor
to the TorSettings module
- TorSettings initially loads settings from the tor daemon, and saves them to
firefox prefs
- TorSettings notifies observers when a setting has changed; currently only
QuickStart notification is implemented for parity with previous preference
notify logic in about:torconnect and about:preferences#tor
- about:preferences#tor, and about:torconnect now read and write settings
thorugh the TorSettings module
- all tor settings live in the torbrowser.settings.* preference branch
- removed unused pref modify permission for about:torconnect content page from
AsyncPrefs.jsm
Bug 40645: Migrate Moat APIs to Moat.jsm module
- - - - -
76cfb69b by Pier Angelo Vendrame at 2025-12-10T15:32:00-03:00
fixup! TB 40597: Implement TorSettings module
Linted.
- - - - -
885bf2dc by Arthur Edelstein at 2025-12-10T15:32:01-03:00
TB 3455: Add DomainIsolator, for isolating circuit by domain.
Add an XPCOM component that registers a ProtocolProxyChannelFilter
which sets the username/password for each web request according to
url bar domain.
Bug 9442: Add New Circuit button
Bug 13766: Set a 10 minute circuit dirty timeout for the catch-all circ.
Bug 19206: Include a 128 bit random tag as part of the domain isolator nonce.
Bug 19206: Clear out the domain isolator state on `New Identity`.
Bug 21201.2: Isolate by firstPartyDomain from OriginAttributes
Bug 21745: Fix handling of catch-all circuit
Bug 41741: Refactor the domain isolator and new circuit
- - - - -
06d57590 by Pier Angelo Vendrame at 2025-12-10T15:32:02-03:00
fixup! TB 3455: Add DomainIsolator, for isolating circuit by domain.
TB 44408: Fix TorDomainIsolator in 146.
- - - - -
93068170 by Henry Wilkes at 2025-12-10T15:32:02-03:00
TB 41600: Add a tor circuit display panel.
- - - - -
019d0397 by Henry Wilkes at 2025-12-10T15:32:03-03:00
fixup! TB 41600: Add a tor circuit display panel.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
5d8912a5 by Pier Angelo Vendrame at 2025-12-10T15:32:04-03:00
TB 42247: Android helpers for the TorProvider
GeckoView is missing some API we use on desktop for the integration
with the tor daemon, such as subprocess.
Therefore, we need to implement them in Java and plumb the data
back and forth between JS and Java.
- - - - -
49282a08 by Pier Angelo Vendrame at 2025-12-10T15:32:05-03:00
fixup! TB 42247: Android helpers for the TorProvider
Linted.
- - - - -
15099662 by hackademix at 2025-12-10T15:32:05-03:00
TB 8324: Prevent DNS proxy bypasses caused by Drag&Drop
Bug 41613: Skip Drang & Drop filtering for DNS-safe URLs
- - - - -
c9290830 by Matthew Finkel at 2025-12-10T15:32:06-03:00
TB 25741: TBA: Disable GeckoNetworkManager
The browser should not need information related to the network
interface or network state, tor should take care of that.
- - - - -
a897f407 by Pier Angelo Vendrame at 2025-12-10T15:32:07-03:00
TB 40807: Added QRCode.js to toolkit/modules
- - - - -
8ca23199 by Richard Pospesel at 2025-12-10T15:32:08-03:00
TB 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
This patch adds a new about:preferences#connection page which allows
modifying bridge, proxy, and firewall settings from within Tor Browser.
All of the functionality present in tor-launcher's Network
Configuration panel is present:
- Setting built-in bridges
- Requesting bridges from BridgeDB via moat
- Using user-provided bridges
- Configuring SOCKS4, SOCKS5, and HTTP/HTTPS proxies
- Setting firewall ports
- Viewing and Copying Tor's logs
- The Networking Settings in General preferences has been removed
Bug 40774: Update about:preferences page to match new UI designs
- - - - -
180dea53 by Pier Angelo Vendrame at 2025-12-10T15:32:08-03:00
fixup! TB 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
Linted.
- - - - -
1375bd11 by Henry Wilkes at 2025-12-10T15:32:09-03:00
fixup! TB 31286: Implementation of bridge, proxy, and firewall settings in about:preferences#connection
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
b29cda46 by Richard Pospesel at 2025-12-10T15:32:10-03:00
TB 27476: Implement about:torconnect captive portal within Tor Browser
- implements new about:torconnect page as tor-launcher replacement
- adds new torconnect component to browser
- tor process management functionality remains implemented in tor-launcher through the TorProtocolService module
- adds warning/error box to about:preferences#tor when not connected to tor
Bug 40773: Update the about:torconnect frontend page to match additional UI flows.
Bug 41608: Add a toolbar status button and a urlbar "Connect" button.
- - - - -
59c2ccb0 by Henry Wilkes at 2025-12-10T15:32:11-03:00
fixup! TB 27476: Implement about:torconnect captive portal within Tor Browser
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
a4739fa8 by Beatriz Rizental at 2025-12-10T15:32:11-03:00
Temporary changes to about:torconnect for Android.
- - - - -
6e2ed9b4 by Pier Angelo Vendrame at 2025-12-10T15:32:12-03:00
fixup! Temporary changes to about:torconnect for Android.
Linted.
- - - - -
8a5ab2c6 by Henry Wilkes at 2025-12-10T15:32:13-03:00
fixup! Temporary changes to about:torconnect for Android.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
3059d5d4 by Henry Wilkes at 2025-12-10T15:32:14-03:00
TB 43405: Show a prompt whenever we fail to apply Tor settings.
- - - - -
4c8c9ae1 by Henry Wilkes at 2025-12-10T15:32:14-03:00
TB 7494: Create local home page for TBB.
Bug 41333: Update about:tor to new design. Including:
+ make the favicon match the branding icon.
+ make the location bar show a search icon.
- - - - -
9edbcc05 by Pier Angelo Vendrame at 2025-12-10T15:32:15-03:00
fixup! TB 7494: Create local home page for TBB.
Linted.
- - - - -
863b4cde by Henry Wilkes at 2025-12-10T15:32:16-03:00
fixup! TB 7494: Create local home page for TBB.
TB 44314: Delay initial data for preloaded about:tor pages.
- - - - -
ba61b862 by Henry Wilkes at 2025-12-10T15:32:16-03:00
fixup! TB 7494: Create local home page for TBB.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
83910a7f by Beatriz Rizental at 2025-12-10T15:32:17-03:00
fixup! TB 7494: Create local home page for TBB.
Fix linter issues.
- - - - -
cb7e6135 by Pier Angelo Vendrame at 2025-12-10T15:32:18-03:00
TB 41668: Tweaks to the Base Browser updater for Tor Browser
This commit was once part of "Bug 4234: Use the Firefox Update Process
for Tor Browser.".
However, some parts of it were not needed for Base Browser and some
derivative browsers.
Therefore, we extracted from that commit the parts for Tor Browser
legacy, and we add them back to the patch set with this commit.
- - - - -
f18fcb70 by Kathy Brade at 2025-12-10T15:32:19-03:00
TB 12647: Support symlinks in the updater.
- - - - -
6535ff01 by Georg Koppen at 2025-12-10T15:32:20-03:00
TB 32658: Create a new MAR signing key
It's time for our rotation again: Move the backup key in the front
position and add a new backup key.
Bug 33803: Move our primary nightly MAR signing key to tor-browser
Bug 33803: Add a secondary nightly MAR signing key
- - - - -
685e3e16 by Pier Angelo Vendrame at 2025-12-10T15:32:20-03:00
TB 42891: Set the bundled search engine for Tor Browser.
- - - - -
e9c958df by Henry Wilkes at 2025-12-10T15:32:21-03:00
TB 41906: Hide DNS over HTTPS preferences.
- - - - -
098d73b7 by Richard Pospesel at 2025-12-10T15:32:22-03:00
TB 23247: Communicating security expectations for .onion
Encrypting pages hosted on Onion Services with SSL/TLS is redundant
(in terms of hiding content) as all traffic within the Tor network is
already fully encrypted. Therefore, serving HTTP pages from an Onion
Service is more or less fine.
Prior to this patch, Tor Browser would mostly treat pages delivered
via Onion Services as well as pages delivered in the ordinary fashion
over the internet in the same way. This created some inconsistencies
in behaviour and misinformation presented to the user relating to the
security of pages delivered via Onion Services:
- HTTP Onion Service pages did not have any 'lock' icon indicating
the site was secure
- HTTP Onion Service pages would be marked as unencrypted in the Page
Info screen
- Mixed-mode content restrictions did not apply to HTTP Onion Service
pages embedding Non-Onion HTTP content
This patch fixes the above issues, and also adds several new 'Onion'
icons to the mix to indicate all of the various permutations of Onion
Services hosted HTTP or HTTPS pages with HTTP or HTTPS content.
Strings for Onion Service Page Info page are pulled from Torbutton's
localization strings.
- - - - -
c287fbc0 by Kathy Brade at 2025-12-10T15:32:23-03:00
TB 30237: Add v3 onion services client authentication prompt
When Tor informs the browser that client authentication is needed,
temporarily load about:blank instead of about:neterror and prompt
for the user's key.
If a correctly formatted key is entered, use Tor's ONION_CLIENT_AUTH_ADD
control port command to add the key (via Torbutton's control port
module) and reload the page.
If the user cancels the prompt, display the standard about:neterror
"Unable to connect" page. This requires a small change to
browser/actors/NetErrorChild.jsm to account for the fact that the
docShell no longer has the failedChannel information. The failedChannel
is used to extract TLS-related error info, which is not applicable
in the case of a canceled .onion authentication prompt.
Add a leaveOpen option to PopupNotifications.show so we can display
error messages within the popup notification doorhanger without
closing the prompt.
Add support for onion services strings to the TorStrings module.
Add support for Tor extended SOCKS errors (Tor proposal 304) to the
socket transport and SOCKS layers. Improved display of all of these
errors will be implemented as part of bug 30025.
Also fixes bug 19757:
Add a "Remember this key" checkbox to the client auth prompt.
Add an "Onion Services Authentication" section within the
about:preferences "Privacy & Security section" to allow
viewing and removal of v3 onion client auth keys that have
been stored on disk.
Also fixes bug 19251: use enhanced error pages for onion service errors.
- - - - -
824fd51b by Henry Wilkes at 2025-12-10T15:32:23-03:00
fixup! TB 30237: Add v3 onion services client authentication prompt
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
09d55feb by Alex Catarineu at 2025-12-10T15:32:24-03:00
TB 21952: Implement Onion-Location
Whenever a valid Onion-Location HTTP header (or corresponding HTML
<meta> http-equiv attribute) is found in a document load, we either
redirect to it (if the user opted-in via preference) or notify the
presence of an onionsite alternative with a badge in the urlbar.
- - - - -
27aec769 by Pier Angelo Vendrame at 2025-12-10T15:32:25-03:00
TB 40458: Implement .tor.onion aliases
We have enabled HTTPS-Only mode, therefore we do not need
HTTPS-Everywhere anymore.
However, we want to keep supporting .tor.onion aliases (especially for
securedrop).
Therefore, in this patch we implemented the parsing of HTTPS-Everywhere
rulesets, and the redirect of .tor.onion domains.
Actually, Tor Browser believes they are actual domains. We change them
on the fly on the SOCKS proxy requests to resolve the domain, and on
the code that verifies HTTPS certificates.
- - - - -
b649ace7 by Henry Wilkes at 2025-12-10T15:32:26-03:00
fixup! TB 40458: Implement .tor.onion aliases
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
9b55a8fc by Pier Angelo Vendrame at 2025-12-10T15:32:26-03:00
TB 11698: Incorporate Tor Browser Manual pages into Tor Browser
This patch associates the about:manual page to a translated page that
must be injected to browser/omni.ja after the build.
The content must be placed in chrome/browser/content/browser/manual/, so
that is then available at chrome://browser/content/manual/.
We preferred giving absolute freedom to the web team, rather than having
to change the patch in case of changes on the documentation.
- - - - -
f4d9e3e4 by Pier Angelo Vendrame at 2025-12-10T15:32:27-03:00
TB 41435: Add a Tor Browser migration function
For now this function only deletes old language packs for which we are
already packaging the strings with the application.
- - - - -
bc0ff69f by Dan Ballard at 2025-12-10T15:32:28-03:00
TB 40701: Add security warning when downloading a file
Shown in the downloads panel, about:downloads and places.xhtml.
- - - - -
1b5acbb3 by Henry Wilkes at 2025-12-10T15:32:29-03:00
fixup! TB 40701: Add security warning when downloading a file
TB 44411: Switch DownloadsTorWarning.sys.mjs to moz-src URI.
- - - - -
236026ce by Henry Wilkes at 2025-12-10T15:32:29-03:00
TB 41736: Customize toolbar for tor-browser.
- - - - -
49a60b72 by hackademix at 2025-12-10T15:32:30-03:00
TB 41728: Pin bridges.torproject.org domains to Let's Encrypt's root cert public key
- - - - -
aa6f7569 by Beatriz Rizental at 2025-12-10T15:32:31-03:00
TB 43817: Add tests for Tor Browser
This is a catch all commits for adding any tests or
testing infrastructure that doesn't obviously fit
any other commit.
- - - - -
fd4f744f by Pier Angelo Vendrame at 2025-12-10T15:32:31-03:00
fixup! TB 43817: Add tests for Tor Browser
Linted.
- - - - -
32b25ca3 by Cecylia Bocovich at 2025-12-10T15:32:32-03:00
Temporary commit: manually place generated wasm files
These files are built reproducibly using tor-browser-build: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/merge_re…
We're manually adding them here while working on the interface, but
eventually these should be placed in the right location using
tor-browser-build.
- - - - -
0f0c323c by Pier Angelo Vendrame at 2025-12-10T15:32:33-03:00
[android] TBA strings
- - - - -
7f297417 by Dan Ballard at 2025-12-10T15:32:34-03:00
TB 42660: Disable ProxySelector.openConnectionWithProxy and NOPify CrashReporter.sendCrashReport
- - - - -
49630cab by Dan Ballard at 2025-12-10T15:32:34-03:00
TB 43006: Disable RFP for Font Visibility on Android
- - - - -
ccc271e8 by Matthew Finkel at 2025-12-10T15:32:35-03:00
TB 40005: [android] Modify Default toolbar menu
Originally android-components#40005.
- - - - -
5995d1a9 by Alex Catarineu at 2025-12-10T15:32:36-03:00
TB 34378: [android] Port external helper app prompting
Together with the corresponding fenix patch, this allows all `startActivity`
that may open external apps to be replaced by `TorUtils.startActivityPrompt`.
Originally, android-components#40007 and fenix#34378.
- - - - -
6e615331 by Pier Angelo Vendrame at 2025-12-10T15:32:36-03:00
fixup! TB 34378: [android] Port external helper app prompting
Fix 144 rebase Android build errors.
- - - - -
b81a54c6 by Alex Catarineu at 2025-12-10T15:32:37-03:00
TB 40002: [android] Ensure system download manager is not used
Originally, android-components#40002.
android-components#40075: Support scoped storage to enable downloads on API < 29
- in android-components!7, we blocked all usage of Scoped
Storage in an attempt to block usage of Android's
DownloadManager, which is known to cause proxy bypasses
- as of Android API 29, downloads will not work without Scoped Storage,
causing all downlaods to fail (see: fenix##40192)
- here, we enable usage of scoped storage for API >= 29, but block
calls to DownloadManager on API < 29
- - - - -
67d42cba by Beatriz Rizental at 2025-12-10T15:32:38-03:00
TB 40009: [android] Change the default search engines
Originally, android-components#40009.
This matches the search engines from desktop, that is:
DDG as the default, then YouTube, Google, DDGOnion,
Startpage, Twitter, Wikipedia and Yahoo.
android-components#40062: Update DuckDuckGo onion search plugin
- - - - -
d63111fd by Beatriz Rizental at 2025-12-10T15:32:38-03:00
TB 42191: [android] Temporary StrictMode relaxation to clear the thumbnail cache.
- - - - -
a5aa5899 by hackademix at 2025-12-10T15:32:39-03:00
[android] Modify add-on support
Bug 41160: One-time ultimate switch Tor Browser Android to HTTPS-Only.
Bug 41159: Remove HTTPS-Everywhere extension from Tor Browser Android.
Bug 41094: Enable HTTPS-Only Mode by default in Tor Browser Android.
Turn shouldUseHttpsOnly's default to true.
Bug 40225: Bundled extensions don't get updated with Android Tor
Browser updates.
Bug 40030: Install NoScript addon on startup.
Also 40070: Consider storing the list of recommended addons
This implements our own AddonsProvider, which loads the list of
available addons from assets instead of fetching it from an
endpoint.
Also, we hide the uninstall button for builtin addons.
Bug 40058: Hide option for disallowing addon in private mode
- - - - -
476d151a by clairehurst at 2025-12-10T15:32:40-03:00
fixup! [android] Modify add-on support
- - - - -
f2e73a59 by Alex Catarineu at 2025-12-10T15:32:41-03:00
[android] Modify Addon support
android-components#40011: Hide option for disallowing addons in private mode
android-components#40016: Allow inheriting from AddonCollectionProvider
This will allow implementing our own AddonsProvider in fenix.
- - - - -
fd1b6c35 by Alex Catarineu at 2025-12-10T15:32:41-03:00
TB 40015: [android] Port padlock states for .onion services
Originally, android-components#40015.
- - - - -
bcbbb55f by Matthew Finkel at 2025-12-10T15:32:42-03:00
[android] Modify Tracking Protection configuration
android-components#40020: Disable third-party cookies
android-components#40024: Disable tracking protection by default
- - - - -
91430ab2 by Alex Catarineu at 2025-12-10T15:32:43-03:00
TB 34439 [android]: Isolate Icon loader on Android.
Originally, android-components#34439.
- - - - -
99abb585 by Matthew Finkel at 2025-12-10T15:32:43-03:00
[android] Disable features and functionality
Bug 33594: Disable data collection by default (Glean)
Bug 40019: Adjust is disabled on Release when data collection is disabled
Bug 34338: Disable the crash reporter
Bug 40014: Neuter Google Advertising ID
Bug 40018: Disable Push service
Bug 40034: Disable PWA onboading
Bug 40072: Disable Tracking Protection
Bug 40061: Do not show "Send to device" in sharing menu
Bug 40109: Reduce requested permissions
Exclude LOCATION and NETWORK_STATE
- - - - -
1e8994e8 by Pier Angelo Vendrame at 2025-12-10T15:32:44-03:00
fixup! [android] Disable features and functionality
Suppress warning to make -Werror builds succeed.
- - - - -
b0162245 by Matthew Finkel at 2025-12-10T15:32:45-03:00
TB 40032 [android]: Set usesCleartextTraffic as false
Originally, fenix#40032.
- - - - -
4657e56a by Matthew Finkel at 2025-12-10T15:32:46-03:00
[android] Rename as Tor Browser
Bug 40020: Change applicationId
Bug 40020: Change app name
Bug 40020: Change deeplink scheme
Bug 40020: Change App icons
Bug 40073: Use correct branding on About page
Bug 40088: Use Tor Browser logo in migration screen
- - - - -
4bd26b4e by Pier Angelo Vendrame at 2025-12-10T15:32:46-03:00
fixup! [android] Rename as Tor Browser
Fix 144 rebase Android build errors.
- - - - -
c907177d by Pier Angelo Vendrame at 2025-12-10T15:32:47-03:00
fixup! [android] Rename as Tor Browser
Fix more build errors.
- - - - -
dd5c14b1 by Georg Koppen at 2025-12-10T15:32:48-03:00
[android] Modify build system
Bug 40083: Make locale ordering in BuildConfig deterministic
Bug 40042: Add option do overwrite timestamp in extension version
Bug 40059: Use MOZ_BUILD_DATE for versionCode
At the same time we adapt MOZ_BUILD_DATE to our needs where it is
actually used and not in tor-browser-build. This gives us more
flexibility. See: tor-browser-build#40084.
Bug 40067: Fix reproducibility issue in classes2.dex
We make sure our MOZ_BUILD_DATE gets used as a source for showing date
related information on the Fenix about page.
Bug 40071: Show only supported locales
Bug 40064: Use Gecko Beta for Nightly and Debug variants
Bug 40123: Allow building the instrumented tests apks for variants other than debug
This allows to specify the variant of the instrumented tests via
a `testBuildType` gradle argument. It also applies a workaround for
a R8 issue from https://issuetracker.google.com/issues/140851070.
Bug 40143: Use deterministic date in Test apk
The build config was using Date() when generating the Test apk's
versionName.
- - - - -
92848158 by Beatriz Rizental at 2025-12-10T15:32:48-03:00
fixup! [android] Modify build system
- - - - -
de5c8556 by Dan Ballard at 2025-12-10T15:32:49-03:00
fixup! [android] Modify build system
add checks for empty env vars to not override mozconfig defaults in base-browser-android
- - - - -
a123e6a7 by Nicolas Vigier at 2025-12-10T15:32:50-03:00
TB 43987 [Android]: disable optimization for org.mozilla.experiments.nimbus.Nimbus
Fixing a reproducibility issue.
- - - - -
68f06ffc by Beatriz Rizental at 2025-12-10T15:32:51-03:00
[android] Override settings
- - - - -
66f4968c by Alex Catarineu at 2025-12-10T15:32:51-03:00
TB 40087 [android]: Implement a switch for spoof English.
Originally, fenix#40087 and android-components#40019.
- - - - -
12244792 by Matthew Finkel at 2025-12-10T15:32:52-03:00
TB 34403 [android]: Disable Normal mode by default.
Originally, fenix#34403.
- - - - -
5b2916c6 by Pier Angelo Vendrame at 2025-12-10T15:32:53-03:00
fixup! TB 34403 [android]: Disable Normal mode by default.
Fix 144 rebase Android build errors.
- - - - -
64913891 by Matthew Finkel at 2025-12-10T15:32:53-03:00
TB 40016 [android]: Don't install WebCompat webext.
Originally, fenix#40016.
- - - - -
1eeadd6b by Beatriz Rizental at 2025-12-10T15:32:54-03:00
TB 41197: [android] Disable autofill.
Firefox is an Autofill service. From the Android docs:
> An autofill service is an app that makes it easier for users to fil
> out forms by injecting data into the views of other apps. Autofill
> services can also retrieve user data from the views in an app and
> store it for use at a later time. Autofill services are usually
> provided by apps that manage user data, such as password managers.
Tor Browser is not an autofill service. All of the autofill backend
is disabled at build time, since it lives in application-services.
This commit disabled the client side of autofill.
- - - - -
e0df13a5 by clairehurst at 2025-12-10T15:32:55-03:00
TB 44098: [android] Disable sync
tor-browser#44098 Bookmarks offer a way to go to sync in 15.0a1
- - - - -
13c052d4 by Matthew Finkel at 2025-12-10T15:32:56-03:00
[android] Modify UI/UX
Bug 40015: Modify Home menu
Bug 40016: Hide unwanted Settings
Bug 40016: Modify Default toolbar menu
Bug 40016: Add Donate settings button
Bug 40016: Move Allow Screenshots under Advanced
Bug 40016: Don't install WebCompat webext
Bug 40016: Don't onboard Search Suggestions
Bug 40094: Do not use MasterPasswordTipProvider in HomeFragment
Bug 40095: Hide "Sign in to sync" in bookmarks
Bug 40031: Hide Mozilla-specific items on About page
Bug 40063: Do not sort search engines alphabetically
Bug 40141: Hide EME site permission
Bug 40166: Hide "Normal" tab (again) and Sync tab in TabTray
Bug 40167: Hide "Save to Collection" in menu
Bug 40172: Find the Quit button
Bug 40186: Hide Credit Cards in Settings
Bug 40198: Spoof English toggle now overlaps with locale list
- - - - -
30d0fbdc by Pier Angelo Vendrame at 2025-12-10T15:32:56-03:00
fixup! [android] Modify UI/UX
Revert some changes introduced by this commit to
mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
to fix 144 build errors.
- - - - -
4fe9df0e by Matthew Finkel at 2025-12-10T15:32:57-03:00
TB 40026 [android]: Implement Security Level settings on Android.
Originally, fenix#40026.
- - - - -
aefba6cb by Pier Angelo Vendrame at 2025-12-10T15:32:58-03:00
fixup! TB 40026 [android]: Implement Security Level settings on Android.
Fix 144 rebase Android build errors.
- - - - -
b74b66e9 by Dan Ballard at 2025-12-10T15:32:59-03:00
TB 41972: [android] Disable Mozilla onboarding
- - - - -
3d5a51ff by Pier Angelo Vendrame at 2025-12-10T15:32:59-03:00
fixup! TB 41972: [android] Disable Mozilla onboarding
Group all resource-related changes to
mobile/android/fenix/app/onboarding.fml.yaml in a single commit.
- - - - -
072b05d9 by clairehurst at 2025-12-10T15:33:00-03:00
TB 44027 [android]: Update PBM lockscreen
tor-browser#44027 Update PBM lockscreen
- - - - -
7dbfcdad by Pier Angelo Vendrame at 2025-12-10T15:33:01-03:00
fixup! TB 44027 [android]: Update PBM lockscreen
Fix 144 rebase Android build errors.
- - - - -
e43ab998 by Dan Ballard at 2025-12-10T15:33:02-03:00
TB 41878: [android] Add standalone Tor Bootstrap
- - - - -
75cf49d6 by Beatriz Rizental at 2025-12-10T15:33:02-03:00
fixup! TB 41878: [android] Add standalone Tor Bootstrap
- - - - -
4e888dba by Matthew Finkel at 2025-12-10T15:33:03-03:00
TB 40041 [android]: Implement Tor Network Settings
Originally, fenix#40041.
- - - - -
6ac1ee1f by Pier Angelo Vendrame at 2025-12-10T15:33:04-03:00
fixup! TB 40041 [android]: Implement Tor Network Settings
Fix 144 rebase Android build errors.
- - - - -
d5f9184d by Pier Angelo Vendrame at 2025-12-10T15:33:04-03:00
fixup! TB 40041 [android]: Implement Tor Network Settings
Fix a 145 build error
- - - - -
090ea667 by Beatriz Rizental at 2025-12-10T15:33:05-03:00
fixup! TB 40041 [android]: Implement Tor Network Settings
Had to comment out other references to the "Open Links in Apps" settings
screen due to https://bugzilla.mozilla.org/show_bug.cgi?id=1990028
- - - - -
e8ffc52b by clairehurst at 2025-12-10T15:33:06-03:00
[android] Implement Android-native Connection Assist UI
- - - - -
64ceb809 by Pier Angelo Vendrame at 2025-12-10T15:33:07-03:00
fixup! [android] Implement Android-native Connection Assist UI
Fix 144 rebase Android build errors.
- - - - -
06cc8b25 by clairehurst at 2025-12-10T15:33:07-03:00
TB 42655 [android]: Implement "New circuit for this site" on Android
- - - - -
31810fed by clairehurst at 2025-12-10T15:33:08-03:00
TB 42089: [android] Remove ability to submit site support requests
- - - - -
9275eb5a by Pier Angelo Vendrame at 2025-12-10T15:33:09-03:00
fixup! TB 42089: [android] Remove ability to submit site support requests
Fix 144 rebase Android build errors.
- - - - -
9a0a27a2 by clairehurst at 2025-12-10T15:33:10-03:00
[android] Delete unused media
- - - - -
fb1e7a6a by Pier Angelo Vendrame at 2025-12-10T15:33:10-03:00
fixup! [android] Delete unused media
Fix 144 rebase Android build errors.
- - - - -
05b0406d by Pier Angelo Vendrame at 2025-12-10T15:33:11-03:00
fixup! [android] Delete unused media
More occurrences of our placeholder icon.
- - - - -
4db41a57 by Beatriz Rizental at 2025-12-10T15:33:12-03:00
TB 43243: [android] Implement Android launch test
Also remove exit call from terminate function.
It causes all espresso tests to crash on exit and otherwise doesn't do anything.
- - - - -
d3b4d7f8 by Beatriz Rizental at 2025-12-10T15:33:12-03:00
TB 42669: [android] Use custom no-op app-services
Fetch the custom built no-op application services library
from tor-browser-build when building for Android.
- - - - -
553eddd3 by Pier Angelo Vendrame at 2025-12-10T15:33:13-03:00
fixup! TB 42669: [android] Use custom no-op app-services
Fix 144 rebase Android build errors.
- - - - -
587934c4 by Pier Angelo Vendrame at 2025-12-10T15:33:14-03:00
fixup! TB 42669: [android] Use custom no-op app-services
TB 44360: Bring A-S's patch to NimbusAssembleToolsTask.groovy to Tor Browser.
Without this, the offline build in tor-browser-build fails because the
plugin tries to pull nimbus-fml from Mozilla's servers.
- - - - -
a47c1366 by clairehurst at 2025-12-10T15:33:15-03:00
TB 43976: [android] Remove default browser prompt
tor-browser#43976 Remove default browser prompt
- - - - -
ab7bb14f by Beatriz Rizental at 2025-12-10T15:33:15-03:00
TB 40041 [android]: Implement Tor Network Settings
Undo rebase mistake. An unrelated pref was accidentally
disabled in this commit. We do want it disabled, it's just
unrelated here.
Will remove it from here and then add it to another commit.
- - - - -
91d64900 by clairehurst at 2025-12-10T15:33:16-03:00
TB 44196: [android] Persistent notification sometimes does not clear
- - - - -
53e6d2de by Henry Wilkes at 2025-12-10T15:33:17-03:00
TB 44032: YEC 2025 assets.
Assets only needed for the 2025 Year end campaign.
- - - - -
dfb68b97 by Pier Angelo Vendrame at 2025-12-10T15:33:18-03:00
fixup! TB 44032: YEC 2025 assets.
Linted.
- - - - -
9cef6e30 by Henry Wilkes at 2025-12-10T15:33:18-03:00
fixup! TB 44032: YEC 2025 assets.
TB 44365: Fix CSS linting errors and missing variables.
- - - - -
2f9d429b by clairehurst at 2025-12-10T15:33:19-03:00
TB 44031 [android]: Implement YEC 2025 Takeover for Android Stable
#44031 Implement strings
- - - - -
6ee08905 by clairehurst at 2025-12-10T15:33:20-03:00
TB 44031 [android]: 2025 YEC
- - - - -
efd903e2 by Pier Angelo Vendrame at 2025-12-10T15:33:20-03:00
fixup! TB 44031 [android]: 2025 YEC
Fix 144 rebase Android build errors.
- - - - -
56fc4c9d by clairehurst at 2025-12-10T15:33:21-03:00
TB 44031 [android]: 2025 YEC preview
- - - - -
9423d47d by Beatriz Rizental at 2025-12-10T15:33:22-03:00
Various Android workarounds
- - - - -
1914 changed files:
- .gitignore
- + .gitlab-ci.yml
- + .gitlab/ci/containers/base/Containerfile
- + .gitlab/ci/jobs/helpers.py
- + .gitlab/ci/jobs/lint/lint.yml
- + .gitlab/ci/jobs/startup-test/startup-test-android.py
- + .gitlab/ci/jobs/startup-test/startup-test.py
- + .gitlab/ci/jobs/startup-test/startup-test.yml
- + .gitlab/ci/jobs/test/python-test.yml
- + .gitlab/ci/jobs/update-containers.yml
- + .gitlab/ci/jobs/update-translations.yml
- + .gitlab/ci/mixins.yml
- + .gitlab/issue_templates/000 Bug Report.md
- + .gitlab/issue_templates/010 Proposal.md
- + .gitlab/issue_templates/020 Web Compatibility.md
- + .gitlab/issue_templates/030 Test.md
- + .gitlab/issue_templates/031 Fingerprinting.md
- + .gitlab/issue_templates/040 Feature.md
- + .gitlab/issue_templates/050 Backport.md
- + .gitlab/issue_templates/060 Rebase - Alpha.md
- + .gitlab/issue_templates/061 Rebase - Stable.md
- + .gitlab/issue_templates/062 Rebase - Legacy.md
- + .gitlab/issue_templates/063 Rebase - Rapid.md
- + .gitlab/issue_templates/070 Uplift.md
- + .gitlab/issue_templates/080 Security Backports.md
- + .gitlab/issue_templates/090 Emergency Security Issue.md
- + .gitlab/issue_templates/100 Release QA - Desktop.md
- + .gitlab/issue_templates/101 Release QA - Android.md
- + .gitlab/issue_templates/110 Firefox Release Review.md
- + .gitlab/issue_templates/120 Bugzilla Audit.md
- + .gitlab/issue_templates/Default.md
- + .gitlab/merge_request_templates/Default.md
- .prettierignore
- README.md
- browser/.eslintrc.mjs
- browser/Makefile.in
- + browser/actors/CryptoSafetyChild.sys.mjs
- + browser/actors/CryptoSafetyParent.sys.mjs
- browser/actors/moz.build
- browser/app/Makefile.in
- browser/app/macbuild/Contents/Info.plist.in
- browser/app/macbuild/Contents/MacOS-files.in
- browser/app/moz.build
- browser/app/permissions
- + browser/app/profile/000-tor-browser.js
- + browser/app/profile/001-base-profile.js
- browser/app/profile/firefox.js
- browser/base/content/aboutDialog-appUpdater.js
- browser/base/content/aboutDialog.js
- browser/base/content/aboutDialog.xhtml
- + browser/base/content/aboutDialogTor.css
- browser/base/content/appmenu-viewcache.inc.xhtml
- browser/base/content/browser-addons.js
- browser/base/content/browser-context.js
- browser/base/content/browser-init.js
- browser/base/content/browser-main.js
- browser/base/content/browser-menubar.inc
- browser/base/content/browser-menubar.js
- browser/base/content/browser-places.js
- browser/base/content/browser-safebrowsing.js
- browser/base/content/browser-sets.inc
- browser/base/content/browser-sets.js
- browser/base/content/browser-siteIdentity.js
- browser/base/content/browser.js
- browser/base/content/browser.js.globals
- browser/base/content/browser.xhtml
- browser/base/content/default-bookmarks.html
- + browser/base/content/languageNotification.js
- browser/base/content/main-popupset.inc.xhtml
- browser/base/content/navigator-toolbox.inc.xhtml
- browser/base/content/nsContextMenu.sys.mjs
- browser/base/content/pageinfo/pageInfo.xhtml
- browser/base/content/pageinfo/security.js
- browser/base/content/popup-notifications.inc.xhtml
- browser/base/content/utilityOverlay.js
- browser/base/jar.mn
- browser/base/moz.build
- − browser/branding/aurora/Assets.car
- browser/branding/branding-common.mozbuild
- − browser/branding/nightly/Assets.car
- − browser/branding/official/Assets.car
- + browser/branding/tb-alpha/VisualElements_150.png
- + browser/branding/tb-alpha/VisualElements_70.png
- + browser/branding/tb-alpha/configure.sh
- + browser/branding/tb-alpha/content/about-logo.png
- + browser/branding/tb-alpha/content/about-logo.svg
- + browser/branding/tb-alpha/content/about-logo(a)2x.png
- + browser/branding/tb-alpha/content/about-wordmark.svg
- + browser/branding/tb-alpha/content/about.png
- + browser/branding/tb-alpha/content/aboutDialog.css
- + browser/branding/tb-alpha/content/document_pdf.svg
- + browser/branding/tb-alpha/content/firefox-wordmark.svg
- + browser/branding/tb-alpha/content/jar.mn
- + browser/branding/tb-alpha/content/moz.build
- + browser/branding/tb-alpha/default128.png
- + browser/branding/tb-alpha/default16.png
- + browser/branding/tb-alpha/default22.png
- + browser/branding/tb-alpha/default24.png
- + browser/branding/tb-alpha/default256.png
- + browser/branding/tb-alpha/default32.png
- + browser/branding/tb-alpha/default48.png
- + browser/branding/tb-alpha/default64.png
- + browser/branding/tb-alpha/document.icns
- + browser/branding/tb-alpha/document.ico
- + browser/branding/tb-alpha/document_pdf.ico
- + browser/branding/tb-alpha/firefox.VisualElementsManifest.xml
- + browser/branding/tb-alpha/firefox.icns
- + browser/branding/tb-alpha/firefox.ico
- + browser/branding/tb-alpha/locales/en-US/brand.ftl
- + browser/branding/tb-alpha/locales/en-US/brand.properties
- + browser/branding/tb-alpha/locales/jar.mn
- + browser/branding/tb-alpha/locales/moz.build
- + browser/branding/tb-alpha/moz.build
- + browser/branding/tb-alpha/newtab.ico
- + browser/branding/tb-alpha/newwindow.ico
- + browser/branding/tb-alpha/pbmode.ico
- + browser/branding/tb-alpha/pref/firefox-branding.js
- + browser/branding/tb-nightly/VisualElements_150.png
- + browser/branding/tb-nightly/VisualElements_70.png
- + browser/branding/tb-nightly/configure.sh
- + browser/branding/tb-nightly/content/about-logo.png
- + browser/branding/tb-nightly/content/about-logo.svg
- + browser/branding/tb-nightly/content/about-logo(a)2x.png
- + browser/branding/tb-nightly/content/about-wordmark.svg
- + browser/branding/tb-nightly/content/about.png
- + browser/branding/tb-nightly/content/aboutDialog.css
- + browser/branding/tb-nightly/content/document_pdf.svg
- + browser/branding/tb-nightly/content/firefox-wordmark.svg
- + browser/branding/tb-nightly/content/jar.mn
- + browser/branding/tb-nightly/content/moz.build
- + browser/branding/tb-nightly/default128.png
- + browser/branding/tb-nightly/default16.png
- + browser/branding/tb-nightly/default22.png
- + browser/branding/tb-nightly/default24.png
- + browser/branding/tb-nightly/default256.png
- + browser/branding/tb-nightly/default32.png
- + browser/branding/tb-nightly/default48.png
- + browser/branding/tb-nightly/default64.png
- + browser/branding/tb-nightly/document.icns
- + browser/branding/tb-nightly/document.ico
- + browser/branding/tb-nightly/document_pdf.ico
- + browser/branding/tb-nightly/firefox.VisualElementsManifest.xml
- + browser/branding/tb-nightly/firefox.icns
- + browser/branding/tb-nightly/firefox.ico
- + browser/branding/tb-nightly/locales/en-US/brand.ftl
- + browser/branding/tb-nightly/locales/en-US/brand.properties
- + browser/branding/tb-nightly/locales/jar.mn
- + browser/branding/tb-nightly/locales/moz.build
- + browser/branding/tb-nightly/moz.build
- + browser/branding/tb-nightly/newtab.ico
- + browser/branding/tb-nightly/newwindow.ico
- + browser/branding/tb-nightly/pbmode.ico
- + browser/branding/tb-nightly/pref/firefox-branding.js
- + browser/branding/tb-release/VisualElements_150.png
- + browser/branding/tb-release/VisualElements_70.png
- + browser/branding/tb-release/configure.sh
- + browser/branding/tb-release/content/about-logo.png
- + browser/branding/tb-release/content/about-logo.svg
- + browser/branding/tb-release/content/about-logo(a)2x.png
- + browser/branding/tb-release/content/about-wordmark.svg
- + browser/branding/tb-release/content/about.png
- + browser/branding/tb-release/content/aboutDialog.css
- + browser/branding/tb-release/content/document_pdf.svg
- + browser/branding/tb-release/content/firefox-wordmark.svg
- + browser/branding/tb-release/content/jar.mn
- + browser/branding/tb-release/content/moz.build
- + browser/branding/tb-release/default128.png
- + browser/branding/tb-release/default16.png
- + browser/branding/tb-release/default22.png
- + browser/branding/tb-release/default24.png
- + browser/branding/tb-release/default256.png
- + browser/branding/tb-release/default32.png
- + browser/branding/tb-release/default48.png
- + browser/branding/tb-release/default64.png
- + browser/branding/tb-release/document.icns
- + browser/branding/tb-release/document.ico
- + browser/branding/tb-release/document_pdf.ico
- + browser/branding/tb-release/firefox.VisualElementsManifest.xml
- + browser/branding/tb-release/firefox.icns
- + browser/branding/tb-release/firefox.ico
- + browser/branding/tb-release/locales/en-US/brand.ftl
- + browser/branding/tb-release/locales/en-US/brand.properties
- + browser/branding/tb-release/locales/jar.mn
- + browser/branding/tb-release/locales/moz.build
- + browser/branding/tb-release/moz.build
- + browser/branding/tb-release/newtab.ico
- + browser/branding/tb-release/newwindow.ico
- + browser/branding/tb-release/pbmode.ico
- + browser/branding/tb-release/pref/firefox-branding.js
- − browser/branding/unofficial/Assets.car
- browser/components/BrowserComponents.manifest
- browser/components/BrowserContentHandler.sys.mjs
- browser/components/BrowserGlue.sys.mjs
- browser/components/DesktopActorRegistry.sys.mjs
- browser/components/ProfileDataUpgrader.sys.mjs
- browser/components/about/AboutRedirector.cpp
- browser/components/about/components.conf
- browser/components/aboutlogins/AboutLoginsParent.sys.mjs
- browser/components/aboutlogins/content/aboutLogins.css
- browser/components/aboutlogins/content/aboutLogins.mjs
- browser/components/aboutlogins/content/components/fxaccounts-button.css
- browser/components/aboutlogins/content/components/login-command-button.mjs
- browser/components/aboutlogins/content/components/login-list.mjs
- + browser/components/abouttor/AboutTorChild.sys.mjs
- + browser/components/abouttor/AboutTorMessage.sys.mjs
- + browser/components/abouttor/AboutTorParent.sys.mjs
- + browser/components/abouttor/HomepageOverride.sys.mjs
- + browser/components/abouttor/content/1f44b-waving-hand.svg
- + browser/components/abouttor/content/1f4e3-megaphone.svg
- + browser/components/abouttor/content/26a1-high-voltage.svg
- + browser/components/abouttor/content/2728-sparkles.svg
- + browser/components/abouttor/content/2764-red-heart.svg
- + browser/components/abouttor/content/aboutTor.css
- + browser/components/abouttor/content/aboutTor.html
- + browser/components/abouttor/content/aboutTor.js
- + browser/components/abouttor/content/dax-logo.svg
- + browser/components/abouttor/content/yec-heart.svg
- + browser/components/abouttor/content/yec2025-font.css
- + browser/components/abouttor/content/yec2025-image.svg
- + browser/components/abouttor/jar.mn
- + browser/components/abouttor/moz.build
- browser/components/customizableui/CustomizableUI.sys.mjs
- browser/components/customizableui/CustomizeMode.sys.mjs
- browser/components/customizableui/content/panelUI.inc.xhtml
- browser/components/customizableui/content/panelUI.js
- browser/components/downloads/DownloadSpamProtection.sys.mjs
- + browser/components/downloads/DownloadsTorWarning.sys.mjs
- browser/components/downloads/content/contentAreaDownloadsView.js
- browser/components/downloads/content/contentAreaDownloadsView.xhtml
- browser/components/downloads/content/downloads.css
- browser/components/downloads/content/downloads.js
- browser/components/downloads/content/downloadsPanel.inc.xhtml
- browser/components/downloads/moz.build
- browser/components/extensions/parent/ext-browserAction.js
- browser/components/extensions/schemas/chrome_settings_overrides.json
- browser/components/migration/ChromeMigrationUtils.sys.mjs
- browser/components/migration/content/migration-wizard.mjs
- browser/components/moz.build
- + browser/components/newidentity/content/newidentity.js
- + browser/components/newidentity/jar.mn
- + browser/components/newidentity/moz.build
- browser/components/newtab/AboutHomeStartupCache.sys.mjs
- + browser/components/onionservices/OnionAliasStore.sys.mjs
- + browser/components/onionservices/OnionLocationChild.sys.mjs
- + browser/components/onionservices/OnionLocationParent.sys.mjs
- + browser/components/onionservices/TorRequestWatch.sys.mjs
- + browser/components/onionservices/content/authNotificationIcon.inc.xhtml
- + browser/components/onionservices/content/authPopup.inc.xhtml
- + browser/components/onionservices/content/authPreferences.css
- + browser/components/onionservices/content/authPreferences.inc.xhtml
- + browser/components/onionservices/content/authPreferences.js
- + browser/components/onionservices/content/authPrompt.js
- + browser/components/onionservices/content/onionlocation-urlbar.inc.xhtml
- + browser/components/onionservices/content/onionlocation.css
- + browser/components/onionservices/content/onionservices.css
- + browser/components/onionservices/content/savedKeysDialog.js
- + browser/components/onionservices/content/savedKeysDialog.xhtml
- + browser/components/onionservices/jar.mn
- + browser/components/onionservices/moz.build
- browser/components/places/PlacesUIUtils.sys.mjs
- browser/components/places/content/controller.js
- browser/components/places/content/historySidebar.js
- browser/components/places/content/historySidebar.xhtml
- browser/components/places/content/places.css
- browser/components/places/content/places.js
- browser/components/places/content/places.xhtml
- browser/components/preferences/home.inc.xhtml
- browser/components/preferences/home.js
- browser/components/preferences/jar.mn
- + browser/components/preferences/letterboxing-middle-dark.svg
- + browser/components/preferences/letterboxing-middle-light.svg
- + browser/components/preferences/letterboxing-top-dark.svg
- + browser/components/preferences/letterboxing-top-light.svg
- + browser/components/preferences/letterboxing.css
- + browser/components/preferences/letterboxing.inc.xhtml
- + browser/components/preferences/letterboxing.js
- browser/components/preferences/main.inc.xhtml
- browser/components/preferences/main.js
- browser/components/preferences/preferences.js
- browser/components/preferences/preferences.xhtml
- browser/components/preferences/privacy.inc.xhtml
- browser/components/preferences/privacy.js
- browser/components/reportbrokensite/ReportBrokenSite.sys.mjs
- + browser/components/rulesets/RulesetsChild.sys.mjs
- + browser/components/rulesets/RulesetsParent.sys.mjs
- + browser/components/rulesets/content/aboutRulesets.css
- + browser/components/rulesets/content/aboutRulesets.html
- + browser/components/rulesets/content/aboutRulesets.js
- + browser/components/rulesets/content/securedrop.svg
- + browser/components/rulesets/jar.mn
- + browser/components/rulesets/moz.build
- browser/components/search/SERPCategorization.sys.mjs
- browser/components/search/SearchSERPTelemetry.sys.mjs
- + browser/components/securitylevel/SecurityLevelUIUtils.sys.mjs
- + browser/components/securitylevel/content/securityLevel.js
- + browser/components/securitylevel/content/securityLevelButton.css
- + browser/components/securitylevel/content/securityLevelButton.inc.xhtml
- + browser/components/securitylevel/content/securityLevelDialog.js
- + browser/components/securitylevel/content/securityLevelDialog.xhtml
- + browser/components/securitylevel/content/securityLevelIcon.svg
- + browser/components/securitylevel/content/securityLevelPanel.css
- + browser/components/securitylevel/content/securityLevelPanel.inc.xhtml
- + browser/components/securitylevel/content/securityLevelPreferences.css
- + browser/components/securitylevel/content/securityLevelPreferences.inc.xhtml
- + browser/components/securitylevel/jar.mn
- + browser/components/securitylevel/moz.build
- browser/components/sidebar/browser-sidebar.js
- browser/components/sidebar/sidebar-main.mjs
- browser/components/tabbrowser/NewTabPagePreloading.sys.mjs
- browser/components/tabbrowser/content/tabbrowser.js
- browser/components/tabbrowser/content/tabgroup-menu.js
- browser/components/tabbrowser/moz.build
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1fd.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e6-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1e7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1ef.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1fb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e7-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f5.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1fb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1fd.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e8-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1ef.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1e9-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ea-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1eb-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1eb-1f1ef.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1eb-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1eb-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1eb-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1eb-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1e7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f5.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ec-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ed-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ed-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ed-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ed-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ed-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ed-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ee-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ef-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ef-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ef-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ef-1f1f5.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1f5.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f0-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1e7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1fb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f1-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f5.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1fb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1fd.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f2-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1f5.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f3-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f4-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f5-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f6-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f7-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f7-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f7-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f7-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f7-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1e7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1ef.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1fb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1fd.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f8-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1e9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1ed.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1ef.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f1.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f4.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f7.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1fb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1f9-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1fe.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fa-1f1ff.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1e8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1ec.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1ee.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1f3.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fb-1f1fa.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fc-1f1eb.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fc-1f1f8.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fd-1f1f0.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fe-1f1ea.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1fe-1f1f9.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ff-1f1e6.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ff-1f1f2.svg
- + browser/components/torcircuit/content/tor-circuit-flags/1f1ff-1f1fc.svg
- + browser/components/torcircuit/content/tor-circuit-flags/README.txt
- + browser/components/torcircuit/content/tor-circuit-icon-mask.svg
- + browser/components/torcircuit/content/tor-circuit-node-end.svg
- + browser/components/torcircuit/content/tor-circuit-node-middle.svg
- + browser/components/torcircuit/content/tor-circuit-node-relays.svg
- + browser/components/torcircuit/content/tor-circuit-node-start.svg
- + browser/components/torcircuit/content/tor-circuit-redirect.svg
- + browser/components/torcircuit/content/torCircuitPanel.css
- + browser/components/torcircuit/content/torCircuitPanel.inc.xhtml
- + browser/components/torcircuit/content/torCircuitPanel.js
- + browser/components/torcircuit/jar.mn
- + browser/components/torcircuit/moz.build
- + browser/components/torpreferences/content/bridge-bot.svg
- + browser/components/torpreferences/content/bridge-qr.svg
- + browser/components/torpreferences/content/bridge.svg
- + browser/components/torpreferences/content/bridgeQrDialog.js
- + browser/components/torpreferences/content/bridgeQrDialog.xhtml
- + browser/components/torpreferences/content/bridgemoji/BridgeEmoji.js
- + browser/components/torpreferences/content/bridgemoji/annotations.json
- + browser/components/torpreferences/content/bridgemoji/bridge-emojis.json
- + browser/components/torpreferences/content/bridgemoji/svgs/1f300.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f308.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f30a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f30b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f319.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f31f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f321.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f32d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f32e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f332.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f333.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f334.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f335.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f336.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f337.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f339.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f33a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f33b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f33d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f33f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f341.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f344.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f345.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f346.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f347.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f348.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f349.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f34a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f34b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f34c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f34d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f34f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f350.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f351.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f352.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f353.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f354.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f355.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f368.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f369.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f36a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f36b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f36c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f36d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f37f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f380.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f381.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f382.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f383.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f388.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f389.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f38f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f392.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f399.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f39f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3a0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3a1.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3a2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3a8.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3ac.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3af.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3b2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3b6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3b7.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3b8.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3ba.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3bb.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3be.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3c0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3c6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3c8.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3d3.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3d4.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3d5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3dd.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3e1.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3ee.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3f7.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3f8.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f3f9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f40a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f40c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f40d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f417.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f418.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f419.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f41a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f41b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f41d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f41e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f41f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f420.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f422.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f425.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f426.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f428.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f42a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f42c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f42d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f42e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f42f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f430.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f431.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f432.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f433.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f434.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f435.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f436.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f437.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f43a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f43b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f43f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f441.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f451.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f455.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f457.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f45f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f47d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f484.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f488.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f48d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f48e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f490.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4a1.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4a7.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4b3.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4bf.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4cc.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4ce.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4d5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4e1.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4e2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f4fb.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f50b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f511.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f525.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f526.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f52c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f52d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f52e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f54a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f58c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f58d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f5ff.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f680.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f681.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f686.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f68b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f68d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f695.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f697.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f69a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f69c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6a0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6a2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6a4.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6f0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6f4.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6f5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6f6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6f8.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6f9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6fa.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f6fc.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f916.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f93f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f941.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f94c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f94f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f950.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f951.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f955.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f956.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f95c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f95d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f95e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f965.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f966.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f968.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f96c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f96d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f96f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f980.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f981.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f984.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f986.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f987.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f988.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f989.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f98a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f98b.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f98c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f98e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f98f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f992.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f993.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f994.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f995.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f998.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f999.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f99a.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f99c.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f99d.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f99e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9a3.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9a4.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9a5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9a6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9a7.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9a9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9ad.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9c1.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9c3.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9c5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9c7.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9c9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9d9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9da.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9dc.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9e0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9e2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9e6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9e9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9ea.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9ec.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9ed.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9ee.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9f2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9f5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1f9f9.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa73.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa80.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa81.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa83.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa90.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa91.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa95.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fa97.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fab6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fad0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fad2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/1fad6.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/23f0.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2600.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2602.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2604.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/260e.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2693.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2696.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/26bd.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/26f2.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/26f5.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2708.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/270f.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2728.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/2744.svg
- + browser/components/torpreferences/content/bridgemoji/svgs/README.txt
- + browser/components/torpreferences/content/builtinBridgeDialog.js
- + browser/components/torpreferences/content/builtinBridgeDialog.xhtml
- + browser/components/torpreferences/content/connectionCategory.inc.xhtml
- + browser/components/torpreferences/content/connectionPane.inc.xhtml
- + browser/components/torpreferences/content/connectionPane.js
- + browser/components/torpreferences/content/connectionSettingsDialog.js
- + browser/components/torpreferences/content/connectionSettingsDialog.xhtml
- + browser/components/torpreferences/content/lox-bridge-icon.svg
- + browser/components/torpreferences/content/lox-bridge-pass.svg
- + browser/components/torpreferences/content/lox-complete-ring.svg
- + browser/components/torpreferences/content/lox-invite-icon.svg
- + browser/components/torpreferences/content/lox-progress-ring.svg
- + browser/components/torpreferences/content/lox-success.svg
- + browser/components/torpreferences/content/loxInviteDialog.js
- + browser/components/torpreferences/content/loxInviteDialog.xhtml
- + browser/components/torpreferences/content/mail.svg
- + browser/components/torpreferences/content/network-broken.svg
- + browser/components/torpreferences/content/network.svg
- + browser/components/torpreferences/content/provideBridgeDialog.js
- + browser/components/torpreferences/content/provideBridgeDialog.xhtml
- + browser/components/torpreferences/content/requestBridgeDialog.js
- + browser/components/torpreferences/content/requestBridgeDialog.xhtml
- + browser/components/torpreferences/content/telegram-logo.svg
- + browser/components/torpreferences/content/torLogDialog.js
- + browser/components/torpreferences/content/torLogDialog.xhtml
- + browser/components/torpreferences/content/torPreferences.css
- + browser/components/torpreferences/jar.mn
- + browser/components/torpreferences/moz.build
- browser/components/translations/content/selectTranslationsPanel.js
- browser/components/urlbar/ActionsProviderContextualSearch.sys.mjs
- browser/components/urlbar/QuickActionsLoaderDefault.sys.mjs
- browser/components/urlbar/QuickSuggest.sys.mjs
- browser/components/urlbar/SearchModeSwitcher.sys.mjs
- browser/components/urlbar/UrlbarController.sys.mjs
- browser/components/urlbar/UrlbarProvidersManager.sys.mjs
- browser/components/urlbar/UrlbarUtils.sys.mjs
- browser/components/urlbar/moz.build
- + browser/config/mozconfigs/base-browser
- + browser/config/mozconfigs/base-browser-android
- + browser/config/mozconfigs/tor-browser
- + browser/config/mozconfigs/tor-browser-android
- browser/extensions/moz.build
- + browser/fonts/fonts.conf
- browser/fonts/moz.build
- browser/installer/Makefile.in
- browser/installer/package-manifest.in
- browser/installer/windows/nsis/shared.nsh
- − browser/locales/en-US/chrome/overrides/appstrings.properties
- browser/locales/jar.mn
- browser/locales/l10n.toml
- browser/modules/AboutNewTab.sys.mjs
- browser/modules/BrowserWindowTracker.sys.mjs
- + browser/modules/ClipboardPrivacy.sys.mjs
- browser/modules/HomePage.sys.mjs
- + browser/modules/SecurityLevelNotification.sys.mjs
- + browser/modules/TorSettingsNotification.sys.mjs
- + browser/modules/TorUIUtils.sys.mjs
- browser/modules/URILoadingHelper.sys.mjs
- browser/modules/moz.build
- browser/moz.build
- browser/moz.configure
- browser/themes/shared/browser-shared.css
- browser/themes/shared/controlcenter/panel.css
- browser/themes/shared/downloads/contentAreaDownloadsView.css
- + browser/themes/shared/icons/new_circuit.svg
- + browser/themes/shared/icons/new_identity.svg
- browser/themes/shared/identity-block/identity-block.css
- browser/themes/shared/jar.inc.mn
- browser/themes/shared/notification-icons.css
- browser/themes/shared/preferences/preferences.css
- browser/themes/shared/tabbrowser/content-area.css
- browser/themes/shared/tabbrowser/tabs.css
- browser/themes/shared/toolbarbutton-icons.css
- + browser/themes/shared/tor-urlbar-button.css
- build.gradle
- build/application.ini.in
- build/moz.build
- + build/moz.configure/basebrowser-resources.configure
- build/moz.configure/bootstrap.configure
- build/moz.configure/init.configure
- build/moz.configure/rust.configure
- + build/moz.configure/torbrowser-resources.configure
- build/moz.configure/update-programs.configure
- build/moz.configure/windows.configure
- build/variables.py
- caps/nsScriptSecurityManager.cpp
- config/createprecomplete.py
- config/external/moz.build
- devtools/client/aboutdebugging/src/actions/runtimes.js
- devtools/client/netmonitor/src/components/SecurityState.js
- devtools/client/themes/images/aboutdebugging-firefox-logo.svg
- docshell/base/URIFixup.sys.mjs
- docshell/base/nsAboutRedirector.cpp
- docshell/base/nsDocShell.cpp
- docshell/build/components.conf
- dom/base/ContentAreaDropListener.sys.mjs
- dom/base/Document.cpp
- dom/base/Document.h
- dom/base/nsContentUtils.cpp
- dom/base/nsContentUtils.h
- dom/base/nsCopySupport.cpp
- dom/base/nsGlobalWindowOuter.cpp
- dom/canvas/ClientWebGLContext.cpp
- dom/ipc/BrowserParent.cpp
- dom/ipc/BrowserParent.h
- dom/ipc/PBrowser.ipdl
- dom/ipc/WindowGlobalActor.cpp
- dom/ipc/WindowGlobalChild.cpp
- dom/media/systemservices/video_engine/desktop_device_info.cc
- dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/desktop_capture_types.h
- dom/media/webrtc/libwebrtcglue/VideoConduit.cpp
- dom/media/webrtc/sdp/RsdparsaSdpAttributeList.cpp
- dom/media/webrtc/transport/nrinterfaceprioritizer.cpp
- dom/media/webrtc/transport/sigslot.h
- dom/media/webrtc/transport/test/ice_unittest.cpp
- dom/media/webrtc/transport/third_party/nICEr/src/net/local_addr.c
- dom/media/webrtc/transport/third_party/nICEr/src/net/local_addr.h
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-win32.c
- dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs.c
- dom/media/webrtc/transport/third_party/nrappkit/src/log/r_log.c
- dom/media/webrtc/transport/third_party/nrappkit/src/registry/registry.c
- dom/security/nsContentSecurityUtils.cpp
- dom/security/nsMixedContentBlocker.cpp
- dom/webidl/Document.webidl
- dom/webidl/moz.build
- dom/websocket/WebSocket.cpp
- eslint-file-globals.config.mjs
- eslint-ignores.config.mjs
- eslint.config.mjs
- extensions/auth/nsHttpNegotiateAuth.cpp
- + gfx/thebes/StandardFonts-macos-bb.inc
- gfx/thebes/StandardFonts-macos.inc
- + gfx/thebes/StandardFonts-win10-bb.inc
- gfx/thebes/StandardFonts-win10.inc
- gfx/thebes/gfxDWriteFontList.cpp
- gfx/thebes/gfxFcPlatformFontList.cpp
- gfx/thebes/gfxMacPlatformFontList.mm
- gfx/thebes/gfxPlatformFontList.cpp
- intl/l10n/Localization.h
- intl/locale/LocaleService.cpp
- js/xpconnect/src/xpc.msg
- layout/base/nsLayoutUtils.cpp
- mobile/android/android-components/components/browser/engine-gecko/build.gradle
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngine.kt
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/GeckoEngineSession.kt
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/cookiebanners/GeckoCookieBannersStorage.kt
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/cookiebanners/ReportSiteDomainsRepository.kt
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/fetch/GeckoViewFetchClient.kt
- mobile/android/android-components/components/browser/engine-gecko/src/main/java/mozilla/components/browser/engine/gecko/webextension/GeckoWebExtension.kt
- mobile/android/android-components/components/browser/engine-gecko/src/test/java/mozilla/components/browser/engine/gecko/cookiebanners/GeckoCookieBannersStorageTest.kt
- mobile/android/android-components/components/browser/engine-gecko/src/test/java/mozilla/components/browser/engine/gecko/cookiebanners/ReportSiteDomainsRepositoryTest.kt
- mobile/android/android-components/components/browser/icons/src/main/java/mozilla/components/browser/icons/loader/HttpIconLoader.kt
- mobile/android/android-components/components/browser/menu/src/main/java/mozilla/components/browser/menu/WebExtensionBrowserMenuBuilder.kt
- mobile/android/android-components/components/browser/storage-sync/src/main/java/mozilla/components/browser/storage/sync/RemoteTabsStorage.kt
- mobile/android/android-components/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/utils/ThumbnailDiskCache.kt
- mobile/android/android-components/components/browser/toolbar/src/main/java/mozilla/components/browser/toolbar/display/DisplayToolbar.kt
- mobile/android/android-components/components/browser/toolbar/src/main/java/mozilla/components/browser/toolbar/display/SiteInfoIconView.kt
- mobile/android/android-components/components/browser/toolbar/src/main/res/drawable/mozac_ic_site_info.xml
- mobile/android/android-components/components/browser/toolbar/src/main/res/values/attrs_browser_toolbar.xml
- mobile/android/android-components/components/compose/base/src/main/java/mozilla/components/compose/base/annotation/FlexibleWindowLightDarkPreview.kt
- + mobile/android/android-components/components/compose/base/src/main/java/mozilla/components/compose/base/annotation/FlexibleWindowPreviewPortraitLandscapeEnglishArabicGerman.kt
- mobile/android/android-components/components/concept/engine/src/main/java/mozilla/components/concept/engine/EngineSession.kt
- mobile/android/android-components/components/concept/engine/src/main/java/mozilla/components/concept/engine/Settings.kt
- mobile/android/android-components/components/concept/engine/src/main/java/mozilla/components/concept/engine/cookiehandling/CookieBannersStorage.kt
- mobile/android/android-components/components/concept/engine/src/main/java/mozilla/components/concept/engine/webextension/WebExtension.kt
- mobile/android/android-components/components/concept/engine/src/test/java/mozilla/components/concept/engine/SettingsTest.kt
- mobile/android/android-components/components/concept/fetch/src/main/java/mozilla/components/concept/fetch/Request.kt
- mobile/android/android-components/components/concept/sync/src/main/java/mozilla/components/concept/sync/AccountEvent.kt
- mobile/android/android-components/components/concept/toolbar/src/main/java/mozilla/components/concept/toolbar/Toolbar.kt
- mobile/android/android-components/components/feature/accounts/build.gradle
- mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/Addon.kt
- mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/AddonManager.kt
- mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/amo/AMOAddonsProvider.kt
- mobile/android/android-components/components/feature/addons/src/main/java/mozilla/components/feature/addons/ui/PermissionsDialogFragment.kt
- mobile/android/android-components/components/feature/app-links/src/main/java/mozilla/components/feature/app/links/AppLinksFeature.kt
- mobile/android/android-components/components/feature/app-links/src/main/java/mozilla/components/feature/app/links/AppLinksUseCases.kt
- mobile/android/android-components/components/feature/awesomebar/src/main/java/mozilla/components/feature/awesomebar/provider/SessionAutocompleteProvider.kt
- mobile/android/android-components/components/feature/awesomebar/src/main/java/mozilla/components/feature/awesomebar/provider/SessionSuggestionProvider.kt
- mobile/android/android-components/components/feature/contextmenu/src/main/java/mozilla/components/feature/contextmenu/ContextMenuCandidate.kt
- mobile/android/android-components/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/AbstractFetchDownloadService.kt
- mobile/android/android-components/components/feature/downloads/src/main/java/mozilla/components/feature/downloads/DownloadsFeature.kt
- mobile/android/android-components/components/feature/downloads/src/test/java/mozilla/components/feature/downloads/DownloadsFeatureTest.kt
- mobile/android/android-components/components/feature/fxsuggest/build.gradle
- mobile/android/android-components/components/feature/search/build.gradle
- mobile/android/android-components/components/feature/search/src/main/assets/search/list.json
- + mobile/android/android-components/components/feature/search/src/main/assets/searchplugins/ddg-onion.xml
- mobile/android/android-components/components/feature/search/src/main/assets/searchplugins/ddg.xml
- + mobile/android/android-components/components/feature/search/src/main/assets/searchplugins/startpage-onion.xml
- + mobile/android/android-components/components/feature/search/src/main/assets/searchplugins/startpage.xml
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/SearchUseCases.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/ext/SearchEngine.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/internal/SearchUrlBuilder.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/middleware/SearchMiddleware.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/storage/SearchEngineReader.kt
- mobile/android/android-components/components/feature/search/src/main/java/mozilla/components/feature/search/telemetry/SerpTelemetryRepository.kt
- mobile/android/android-components/components/feature/search/src/test/java/mozilla/components/feature/search/telemetry/BaseSearchTelemetryTest.kt
- mobile/android/android-components/components/feature/search/src/test/java/mozilla/components/feature/search/telemetry/SerpTelemetryRepositoryTest.kt
- mobile/android/android-components/components/feature/toolbar/src/main/java/mozilla/components/feature/toolbar/ToolbarPresenter.kt
- mobile/android/android-components/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/FxaDeviceConstellation.kt
- mobile/android/android-components/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/Types.kt
- mobile/android/android-components/components/service/firefox-accounts/src/main/java/mozilla/components/service/fxa/sync/WorkManagerSyncManager.kt
- mobile/android/android-components/components/service/nimbus/build.gradle
- mobile/android/android-components/components/support/appservices/src/main/java/mozilla/components/support/rustlog/RustLog.kt
- mobile/android/android-components/components/support/base/src/main/java/mozilla/components/support/base/android/NotificationsDelegate.kt
- mobile/android/android-components/components/support/ktx/src/main/java/mozilla/components/support/ktx/android/content/Context.kt
- mobile/android/android-components/components/support/ktx/src/main/java/mozilla/components/support/ktx/kotlin/String.kt
- mobile/android/android-components/components/support/remotesettings/src/main/java/mozilla/components/support/remotesettings/RemoteSettingsClient.kt
- mobile/android/android-components/components/support/remotesettings/src/main/java/mozilla/components/support/remotesettings/RemoteSettingsService.kt
- + mobile/android/android-components/components/support/utils/src/main/java/mozilla/components/support/utils/TorUtils.kt
- mobile/android/android-components/components/support/webextensions/src/main/java/mozilla/components/support/webextensions/WebExtensionSupport.kt
- + mobile/android/android-components/components/ui/icons/src/main/res/drawable/mozac_ic_onion.xml
- mobile/android/android-components/plugins/config/src/main/java/ConfigPlugin.kt
- mobile/android/android-components/plugins/dependencies/src/main/java/ApplicationServices.kt
- mobile/android/android-components/samples/browser/src/main/res/layout/activity_installed_add_on_details.xml
- + mobile/android/app/000-tor-browser-android.js
- mobile/android/app/geckoview-prefs.js
- mobile/android/app/moz.build
- mobile/android/autopublish-settings.gradle
- + mobile/android/basebrowser.configure
- + mobile/android/branding/tb-alpha/configure.sh
- + mobile/android/branding/tb-alpha/content/favicon32.png
- + mobile/android/branding/tb-alpha/content/favicon64.png
- + mobile/android/branding/tb-alpha/content/jar.mn
- + mobile/android/branding/tb-alpha/content/moz.build
- + mobile/android/branding/tb-alpha/locales/en-US/brand.ftl
- + mobile/android/branding/tb-alpha/locales/en-US/brand.properties
- + mobile/android/branding/tb-alpha/locales/jar.mn
- + mobile/android/branding/tb-alpha/locales/moz.build
- + mobile/android/branding/tb-alpha/moz.build
- + mobile/android/branding/tb-nightly/configure.sh
- + mobile/android/branding/tb-nightly/content/favicon32.png
- + mobile/android/branding/tb-nightly/content/favicon64.png
- + mobile/android/branding/tb-nightly/content/jar.mn
- + mobile/android/branding/tb-nightly/content/moz.build
- + mobile/android/branding/tb-nightly/locales/en-US/brand.ftl
- + mobile/android/branding/tb-nightly/locales/en-US/brand.properties
- + mobile/android/branding/tb-nightly/locales/jar.mn
- + mobile/android/branding/tb-nightly/locales/moz.build
- + mobile/android/branding/tb-nightly/moz.build
- + mobile/android/branding/tb-release/configure.sh
- + mobile/android/branding/tb-release/content/favicon32.png
- + mobile/android/branding/tb-release/content/favicon64.png
- + mobile/android/branding/tb-release/content/jar.mn
- + mobile/android/branding/tb-release/content/moz.build
- + mobile/android/branding/tb-release/locales/en-US/brand.ftl
- + mobile/android/branding/tb-release/locales/en-US/brand.properties
- + mobile/android/branding/tb-release/locales/jar.mn
- + mobile/android/branding/tb-release/locales/moz.build
- + mobile/android/branding/tb-release/moz.build
- mobile/android/exoplayer2/src/main/java/org/mozilla/thirdparty/com/google/android/exoplayer2/upstream/DefaultHttpDataSource.java
- mobile/android/fenix/.buildconfig.yml
- mobile/android/fenix/app/build.gradle
- mobile/android/fenix/app/lint-baseline.xml
- mobile/android/fenix/app/nimbus.fml.yaml
- mobile/android/fenix/app/onboarding.fml.yaml
- mobile/android/fenix/app/proguard-rules.pro
- + mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/AppStartupTest.kt
- mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/onboarding/view/OnboardingMapperTest.kt
- mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/BrowserRobot.kt
- mobile/android/fenix/app/src/androidTest/java/org/mozilla/fenix/ui/robots/SettingsSubMenuAboutRobot.kt
- + mobile/android/fenix/app/src/beta/ic_launcher-playstore.png
- + mobile/android/fenix/app/src/beta/res/drawable-anydpi/ic_tor_browser_close_tabs_notification.xml
- + mobile/android/fenix/app/src/beta/res/drawable-hdpi/fenix_search_widget.png
- − mobile/android/fenix/app/src/beta/res/drawable-hdpi/fenix_search_widget.webp
- + mobile/android/fenix/app/src/beta/res/drawable-hdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/beta/res/drawable-mdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/beta/res/drawable-xhdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/beta/res/drawable-xxhdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/beta/res/drawable/ic_launcher_background.xml
- + mobile/android/fenix/app/src/beta/res/drawable/ic_launcher_monochrome_foreground.xml
- + mobile/android/fenix/app/src/beta/res/drawable/tor_browser_app_icon.png
- + mobile/android/fenix/app/src/beta/res/mipmap-anydpi/ic_launcher.xml
- + mobile/android/fenix/app/src/beta/res/mipmap-anydpi/ic_launcher_monochrome.xml
- + mobile/android/fenix/app/src/beta/res/mipmap-anydpi/ic_launcher_monochrome_round.xml
- + mobile/android/fenix/app/src/beta/res/mipmap-anydpi/ic_launcher_round.xml
- mobile/android/fenix/app/src/beta/res/mipmap-hdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-hdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-hdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-hdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-hdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-mdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-mdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-mdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-mdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-mdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-xhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-xhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-xxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xxhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-xxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-xxxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/beta/res/mipmap-xxxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/beta/res/mipmap-xxxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/beta/res/values/colors.xml
- + mobile/android/fenix/app/src/beta/res/values/ic_launcher_monochrome_background.xml
- mobile/android/fenix/app/src/beta/res/values/static_strings.xml
- mobile/android/fenix/app/src/beta/res/xml/shortcuts.xml
- − mobile/android/fenix/app/src/debug/ic_launcher-web.webp
- + mobile/android/fenix/app/src/debug/res/drawable-anydpi/ic_tor_browser_close_tabs_notification.xml
- + mobile/android/fenix/app/src/debug/res/drawable-hdpi/fenix_search_widget.png
- + mobile/android/fenix/app/src/debug/res/drawable-hdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/debug/res/drawable-mdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/debug/res/drawable-xhdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/debug/res/drawable-xxhdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/debug/res/drawable/ic_launcher_background.xml
- + mobile/android/fenix/app/src/debug/res/drawable/ic_launcher_monochrome_foreground.xml
- mobile/android/fenix/app/src/debug/res/mipmap-anydpi/ic_launcher.xml
- mobile/android/fenix/app/src/debug/res/mipmap-anydpi/ic_launcher_round.xml
- mobile/android/fenix/app/src/debug/res/mipmap-hdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-hdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-mdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-mdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-xhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-xxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/debug/res/mipmap-xxxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/debug/res/values/colors.xml
- + mobile/android/fenix/app/src/debug/res/values/ic_launcher_monochrome_background.xml
- mobile/android/fenix/app/src/debug/res/xml/shortcuts.xml
- mobile/android/fenix/app/src/main/AndroidManifest.xml
- + mobile/android/fenix/app/src/main/assets/common/torrc-defaults
- − mobile/android/fenix/app/src/main/ic_launcher-web.webp
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/BrowserDirection.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/FenixApplication.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/HomeActivity.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/IntentReceiverActivity.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/addons/InstalledAddonDetailsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksAction.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksMiddleware.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksReducer.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksScreen.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/bookmarks/BookmarksTelemetryMiddleware.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/BaseBrowserFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/BrowserFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/OpenInAppOnboardingObserver.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/browser/browsingmode/BrowsingModeManager.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Analytics.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Components.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/Core.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/NotificationManager.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/TorBrowserFeatures.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/UseCases.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/appstate/setup/checklist/ChecklistItem.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/compose/CustomTabMenu.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/menu/middleware/MenuNavigationMiddleware.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/ActivationPing.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/AdjustMetricsService.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/GleanMetricsService.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/MetricController.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/metrics/MetricsUtils.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/search/ApplicationSearchMiddleware.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserMenuSignIn.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarCFRPresenter.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/BrowserToolbarMenuController.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/DefaultToolbarMenu.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/components/toolbar/ToolbarMenu.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/customtabs/CustomTabToolbarMenu.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/customtabs/PoweredByNotification.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/experiments/view/ResearchSurfaceSurvey.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/ext/Activity.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/gecko/GeckoProvider.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeMenu.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/HomeMenuView.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/intent/HomeDeepLinkIntentProcessor.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/recentsyncedtabs/view/RecentSyncedTab.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/ui/HomepageHeader.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/home/ui/SearchBar.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/iconpicker/AppIcon.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyCompleted.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyHeader.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/microsurvey/ui/MicrosurveyRequestPrompt.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/redesign/view/MarketingDataOnboardingPageRedesign.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/redesign/view/OnboardingPageRedesign.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/redesign/view/OnboardingScreenRedesign.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/view/MarketingDataOnboardingPage.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingPage.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/view/OnboardingScreen.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/onboarding/view/TermsOfServiceOnboardingPage.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/pbmlock/PrivateBrowsingLockFeature.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/pbmlock/UnlockPrivateTabsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/SearchDialogFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/search/awesomebar/SearchSuggestionsProvidersBuilder.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/session/PrivateNotificationService.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/HttpsOnlyFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/OpenLinksInAppsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/PhoneFeature.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/SettingsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/SupportUtils.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/TabsSettingsFragment.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/TorBridgeConfigFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/about/AboutFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/account/AccountSettingsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/account/AccountUiView.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/advanced/DefaultLocaleSettingsController.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/advanced/LocaleSettingsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/biometric/BiometricUtils.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/logins/view/SavedLoginsListView.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/quicksettings/QuickSettingsSheetDialogFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/ProtectionsView.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/CookieBannerDetailsController.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/CookieBannerDetailsInteractor.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/CookieBannerHandlingDetailsView.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/CookieBannersStorageExt.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/search/SearchEngineFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/settingssearch/DefaultFenixSettingsIndexer.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/settingssearch/PreferenceFileInformation.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SitePermissionsManagePhoneFeatureFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/settings/sitepermissions/SiteSettingsFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/share/ShareController.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/share/ShareFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/shortcut/PwaOnboardingObserver.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayBanner.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/syncedtabs/SyncedTabsList.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tabstray/ui/syncedtabs/SyncedTabsList.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/termsofuse/ui/TermsOfUseBottomSheet.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/CampaignCompose.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/ConnectAssistUiState.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/QuickstartViewModel.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorBootstrapProgressViewModel.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorBridgeTransports.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorCampaignViewModel.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorConnectionAssistFragment.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorConnectionAssistViewModel.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorController.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorControllerGV.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorHomePage.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorHomePagePreview.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorLog.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorLogsComposeFragment.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorLogsViewModel.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorSecurityLevel.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/TorSecurityLevelFragment.kt
- + mobile/android/fenix/app/src/main/java/org/mozilla/fenix/tor/UrlQuickLoadViewModel.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/trackingprotection/ProtectionsStore.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/NotificationBase.kt
- mobile/android/fenix/app/src/main/java/org/mozilla/fenix/utils/Settings.kt
- + mobile/android/fenix/app/src/main/res/drawable-hdpi/fenix_search_widget.png
- − mobile/android/fenix/app/src/main/res/drawable-hdpi/fenix_search_widget.webp
- − mobile/android/fenix/app/src/main/res/drawable-hdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/main/res/drawable-hdpi/ic_logo_wordmark_private.webp
- − mobile/android/fenix/app/src/main/res/drawable-mdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/main/res/drawable-mdpi/ic_logo_wordmark_private.webp
- − mobile/android/fenix/app/src/main/res/drawable-xhdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/main/res/drawable-xhdpi/ic_logo_wordmark_private.webp
- − mobile/android/fenix/app/src/main/res/drawable-xxhdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/main/res/drawable-xxhdpi/ic_logo_wordmark_private.webp
- − mobile/android/fenix/app/src/main/res/drawable-xxxhdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/main/res/drawable-xxxhdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/main/res/drawable/browser_location.xml
- + mobile/android/fenix/app/src/main/res/drawable/connect.xml
- + mobile/android/fenix/app/src/main/res/drawable/connect_broken.xml
- + mobile/android/fenix/app/src/main/res/drawable/globe_broken.xml
- + mobile/android/fenix/app/src/main/res/drawable/globe_chain_burst_yec.xml
- + mobile/android/fenix/app/src/main/res/drawable/heart.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_account.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_account_warning.xml
- + mobile/android/fenix/app/src/main/res/drawable/ic_favorite.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_firefox.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_fx_accounts_avatar.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_notification_permission.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_onboarding_key_features.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_onboarding_key_features_icons_only.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_onboarding_search_widget.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_onboarding_sync.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_onboarding_welcome.xml
- + mobile/android/fenix/app/src/main/res/drawable/ic_onion_pattern.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_scan.xml
- + mobile/android/fenix/app/src/main/res/drawable/ic_screenshot.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_signed_out.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_status_logo.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_sync_disconnected.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_synced_tabs.xml
- + mobile/android/fenix/app/src/main/res/drawable/ic_tor_config_bridge.xml
- + mobile/android/fenix/app/src/main/res/drawable/ic_tor_network_settings.xml
- − mobile/android/fenix/app/src/main/res/drawable/ic_wordmark_logo.webp
- − mobile/android/fenix/app/src/main/res/drawable/ic_wordmark_text_normal.webp
- − mobile/android/fenix/app/src/main/res/drawable/ic_wordmark_text_private.webp
- − mobile/android/fenix/app/src/main/res/drawable/microsurvey_success.xml
- + mobile/android/fenix/app/src/main/res/drawable/new_circuit.xml
- mobile/android/fenix/app/src/main/res/drawable/progress_gradient.xml
- + mobile/android/fenix/app/src/main/res/drawable/rounded_corners.xml
- mobile/android/fenix/app/src/main/res/drawable/splash_screen.xml
- mobile/android/fenix/app/src/main/res/drawable/ic_sign_in.xml → mobile/android/fenix/app/src/main/res/drawable/tor_bootstrap_background_gradient.xml
- + mobile/android/fenix/app/src/main/res/drawable/tor_browser_app_icon.png
- mobile/android/fenix/app/src/main/res/drawable-night/ic_logo_wordmark_normal.xml → mobile/android/fenix/app/src/main/res/drawable/tor_onboarding_donate_gradient.xml
- + mobile/android/fenix/app/src/main/res/drawable/tor_onboarding_donate_rounded_corners.xml
- + mobile/android/fenix/app/src/main/res/font/jacquard_12.ttf
- mobile/android/fenix/app/src/main/res/layout/component_cookie_banner_details_panel.xml
- mobile/android/fenix/app/src/main/res/layout/fragment_about.xml
- mobile/android/fenix/app/src/main/res/layout/fragment_create_shortcut.xml
- mobile/android/fenix/app/src/main/res/layout/fragment_home.xml
- mobile/android/fenix/app/src/main/res/layout/fragment_locale_settings.xml
- + mobile/android/fenix/app/src/main/res/layout/fragment_tor_connection_assist.xml
- + mobile/android/fenix/app/src/main/res/layout/fragment_tor_security_level_preferences.xml
- mobile/android/fenix/app/src/main/res/layout/fragment_turn_on_sync.xml
- + mobile/android/fenix/app/src/main/res/layout/preference_quick_start.xml
- mobile/android/fenix/app/src/main/res/layout/quicksettings_permissions.xml
- mobile/android/fenix/app/src/main/res/layout/quicksettings_protections_panel.xml
- mobile/android/fenix/app/src/main/res/layout/search_widget_extra_small_v1.xml
- mobile/android/fenix/app/src/main/res/layout/search_widget_extra_small_v2.xml
- mobile/android/fenix/app/src/main/res/layout/search_widget_large.xml
- mobile/android/fenix/app/src/main/res/layout/search_widget_medium.xml
- mobile/android/fenix/app/src/main/res/layout/search_widget_small.xml
- mobile/android/fenix/app/src/main/res/layout/sign_in_preference.xml
- mobile/android/fenix/app/src/main/res/mipmap-anydpi/ic_launcher_alternative.xml
- mobile/android/fenix/app/src/main/res/mipmap-anydpi/ic_launcher_round_alternative.xml
- mobile/android/fenix/app/src/main/res/navigation/nav_graph.xml
- mobile/android/fenix/app/src/main/res/values-ar/strings.xml
- mobile/android/fenix/app/src/main/res/values-de/strings.xml
- mobile/android/fenix/app/src/main/res/values-night-v27/styles.xml
- mobile/android/fenix/app/src/main/res/values-night/styles.xml
- mobile/android/fenix/app/src/main/res/values-v27/styles.xml
- mobile/android/fenix/app/src/main/res/values/attrs.xml
- mobile/android/fenix/app/src/main/res/values/colors.xml
- + mobile/android/fenix/app/src/main/res/values/ic_launcher_monochrome_background.xml
- mobile/android/fenix/app/src/main/res/values/preference_keys.xml
- mobile/android/fenix/app/src/main/res/values/static_strings.xml
- mobile/android/fenix/app/src/main/res/values/styles.xml
- + mobile/android/fenix/app/src/main/res/values/torbrowser_strings.xml
- mobile/android/fenix/app/src/main/res/xml/logins_preferences.xml
- mobile/android/fenix/app/src/main/res/xml/preferences.xml
- mobile/android/fenix/app/src/main/res/xml/private_browsing_preferences.xml
- mobile/android/fenix/app/src/main/res/xml/search_settings_preferences.xml
- mobile/android/fenix/app/src/main/res/xml/shortcuts.xml
- mobile/android/fenix/app/src/main/res/xml/site_permissions_details_exceptions_preferences.xml
- mobile/android/fenix/app/src/main/res/xml/site_permissions_preferences.xml
- mobile/android/fenix/app/src/main/res/xml/sync_problem.xml
- mobile/android/fenix/app/src/main/res/xml/tabs_preferences.xml
- + mobile/android/fenix/app/src/main/res/xml/tor_bridge_config_preferences.xml
- + mobile/android/fenix/app/src/nightly/ic_launcher-playstore.png
- + mobile/android/fenix/app/src/nightly/res/drawable-anydpi/ic_tor_browser_close_tabs_notification.xml
- + mobile/android/fenix/app/src/nightly/res/drawable-hdpi/fenix_search_widget.png
- − mobile/android/fenix/app/src/nightly/res/drawable-hdpi/fenix_search_widget.webp
- − mobile/android/fenix/app/src/nightly/res/drawable-hdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/nightly/res/drawable-hdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/nightly/res/drawable-hdpi/ic_tor_browser_close_tabs_notification.png
- − mobile/android/fenix/app/src/nightly/res/drawable-mdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/nightly/res/drawable-mdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/nightly/res/drawable-mdpi/ic_tor_browser_close_tabs_notification.png
- − mobile/android/fenix/app/src/nightly/res/drawable-xhdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/nightly/res/drawable-xhdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/nightly/res/drawable-xhdpi/ic_tor_browser_close_tabs_notification.png
- − mobile/android/fenix/app/src/nightly/res/drawable-xxhdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/nightly/res/drawable-xxhdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/nightly/res/drawable-xxhdpi/ic_tor_browser_close_tabs_notification.png
- − mobile/android/fenix/app/src/nightly/res/drawable-xxxhdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/nightly/res/drawable-xxxhdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/nightly/res/drawable/ic_launcher_background.xml
- − mobile/android/fenix/app/src/nightly/res/drawable/ic_launcher_foreground.xml
- + mobile/android/fenix/app/src/nightly/res/drawable/ic_launcher_monochrome_foreground.xml
- − mobile/android/fenix/app/src/nightly/res/drawable/ic_wordmark_logo.webp
- − mobile/android/fenix/app/src/nightly/res/drawable/ic_wordmark_text_normal.webp
- − mobile/android/fenix/app/src/nightly/res/drawable/ic_wordmark_text_private.webp
- + mobile/android/fenix/app/src/nightly/res/drawable/tor_browser_app_icon.png
- − mobile/android/fenix/app/src/nightly/res/ic_launcher-web.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-anydpi/ic_launcher.xml
- + mobile/android/fenix/app/src/nightly/res/mipmap-anydpi/ic_launcher_monochrome.xml
- + mobile/android/fenix/app/src/nightly/res/mipmap-anydpi/ic_launcher_monochrome_round.xml
- + mobile/android/fenix/app/src/nightly/res/mipmap-anydpi/ic_launcher_round.xml
- mobile/android/fenix/app/src/nightly/res/mipmap-hdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-hdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-hdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-hdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-hdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-mdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-mdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-mdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-mdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-mdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-xhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-xhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-xxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xxhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-xxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-xxxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/nightly/res/mipmap-xxxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/nightly/res/mipmap-xxxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/nightly/res/values/colors.xml
- + mobile/android/fenix/app/src/nightly/res/values/ic_launcher_monochrome_background.xml
- mobile/android/fenix/app/src/nightly/res/values/static_strings.xml
- mobile/android/fenix/app/src/nightly/res/xml/shortcuts.xml
- + mobile/android/fenix/app/src/release/ic_launcher-playstore.png
- + mobile/android/fenix/app/src/release/res/drawable-anydpi/ic_tor_browser_close_tabs_notification.xml
- + mobile/android/fenix/app/src/release/res/drawable-hdpi/fenix_search_widget.png
- − mobile/android/fenix/app/src/release/res/drawable-hdpi/fenix_search_widget.webp
- − mobile/android/fenix/app/src/release/res/drawable-hdpi/ic_logo_wordmark_normal.webp
- − mobile/android/fenix/app/src/release/res/drawable-hdpi/ic_logo_wordmark_private.webp
- + mobile/android/fenix/app/src/release/res/drawable-hdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/release/res/drawable-mdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/release/res/drawable-xhdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/release/res/drawable-xxhdpi/ic_tor_browser_close_tabs_notification.png
- + mobile/android/fenix/app/src/release/res/drawable/ic_launcher_background.xml
- + mobile/android/fenix/app/src/release/res/drawable/ic_launcher_monochrome_foreground.xml
- + mobile/android/fenix/app/src/release/res/drawable/tor_browser_app_icon.png
- + mobile/android/fenix/app/src/release/res/mipmap-anydpi/ic_launcher.xml
- + mobile/android/fenix/app/src/release/res/mipmap-anydpi/ic_launcher_monochrome.xml
- + mobile/android/fenix/app/src/release/res/mipmap-anydpi/ic_launcher_monochrome_round.xml
- + mobile/android/fenix/app/src/release/res/mipmap-anydpi/ic_launcher_round.xml
- mobile/android/fenix/app/src/release/res/mipmap-hdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/release/res/mipmap-hdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/release/res/mipmap-hdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/release/res/mipmap-hdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-hdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-mdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/release/res/mipmap-mdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/release/res/mipmap-mdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/release/res/mipmap-mdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-mdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-xhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-xhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-xxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xxhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-xxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-xxxhdpi/ic_launcher.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xxxhdpi/ic_launcher_monochrome.webp
- + mobile/android/fenix/app/src/release/res/mipmap-xxxhdpi/ic_launcher_monochrome_round.webp
- mobile/android/fenix/app/src/release/res/mipmap-xxxhdpi/ic_launcher_round.webp
- mobile/android/fenix/app/src/release/res/values/colors.xml
- + mobile/android/fenix/app/src/release/res/values/ic_launcher_monochrome_background.xml
- mobile/android/fenix/app/src/release/res/values/static_strings.xml
- mobile/android/fenix/app/src/release/res/xml/shortcuts.xml
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/components/menu/MenuNavigationMiddlewareTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/ext/ContextTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/onboarding/view/OnboardingMapperTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/onboarding/view/OnboardingPageUiDataTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/settings/SupportUtilsTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/settings/quicksettings/ProtectionsViewTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/settings/quicksettings/QuickSettingsSheetDialogFragmentTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/settings/quicksettings/protections/cookiebanners/CookieBannerHandlingDetailsViewTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/trackingprotection/ProtectionsStoreTest.kt
- mobile/android/fenix/app/src/test/java/org/mozilla/fenix/utils/SettingsTest.kt
- mobile/android/fenix/build.gradle
- + mobile/android/fenix/tools/tba-fetch-deps.sh
- + mobile/android/fenix/tools/tba-sign-devbuilds.sh
- mobile/android/focus-android/app/src/debug/res/mipmap-anydpi/ic_launcher.xml
- mobile/android/geckoview/api.txt
- mobile/android/geckoview/build.gradle
- − mobile/android/geckoview/src/androidTest/java/org/mozilla/geckoview/test/VideoCaptureTest.kt
- mobile/android/geckoview/src/main/AndroidManifest.xml
- mobile/android/geckoview/src/main/java/org/mozilla/gecko/media/GeckoMediaDrmBridgeV21.java
- mobile/android/geckoview/src/main/java/org/mozilla/gecko/util/ProxySelector.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/CrashReporter.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntime.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoRuntimeSettings.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/GeckoSession.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorAndroidIntegration.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorBootstrappingStatus.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorConnectError.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorConnectStage.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorConnectStageName.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/TorSettings.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/WebExtensionController.java
- mobile/android/geckoview/src/main/java/org/mozilla/geckoview/WebRequest.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/androidlegacysettings/Prefs.java
- + mobile/android/geckoview/src/main/java/org/mozilla/geckoview/androidlegacysettings/TorLegacyAndroidSettings.java
- mobile/android/gradle.configure
- mobile/android/gradle/plugins/nimbus-gradle-plugin/src/main/groovy/org/mozilla/appservices/tooling/nimbus/NimbusAssembleToolsTask.groovy
- mobile/android/gradle/plugins/nimbus-gradle-plugin/src/main/groovy/org/mozilla/appservices/tooling/nimbus/NimbusGradlePlugin.groovy
- mobile/android/gradle/with_gecko_binaries.gradle
- mobile/android/installer/package-manifest.in
- mobile/android/locales/filter.py
- mobile/android/locales/jar.mn
- mobile/android/locales/l10n.toml
- mobile/android/mach_commands.py
- mobile/android/moz.configure
- mobile/locales/filter.py
- mobile/shared/.eslintrc.mjs
- mobile/shared/chrome/geckoview/geckoview.js
- mobile/shared/components/geckoview/GeckoViewStartup.sys.mjs
- mobile/shared/modules/geckoview/GeckoViewContent.sys.mjs
- mobile/shared/modules/geckoview/GeckoViewProgress.sys.mjs
- mobile/shared/modules/geckoview/GeckoViewWebExtension.sys.mjs
- modules/libpref/Preferences.cpp
- modules/libpref/init/StaticPrefList.yaml
- modules/libpref/init/all.js
- moz.configure
- + mozconfig-android-aarch64
- + mozconfig-android-all
- + mozconfig-android-armv7
- + mozconfig-android-x86
- + mozconfig-android-x86_64
- + mozconfig-linux-aarch64
- + mozconfig-linux-aarch64-dev
- + mozconfig-linux-arm
- + mozconfig-linux-i686
- + mozconfig-linux-x86_64
- + mozconfig-linux-x86_64-asan
- + mozconfig-linux-x86_64-dev
- + mozconfig-macos
- + mozconfig-macos-dev
- + mozconfig-windows-i686
- + mozconfig-windows-x86_64
- netwerk/base/nsIPrompt.idl
- netwerk/base/nsNetUtil.cpp
- netwerk/base/nsSocketTransport2.cpp
- netwerk/build/components.conf
- netwerk/build/nsNetCID.h
- + netwerk/dns/IOnionAliasService.idl
- + netwerk/dns/OnionAliasService.cpp
- + netwerk/dns/OnionAliasService.h
- netwerk/dns/effective_tld_names.dat
- netwerk/dns/moz.build
- netwerk/protocol/http/HttpBaseChannel.cpp
- netwerk/protocol/http/nsHttpHandler.cpp
- netwerk/protocol/http/nsHttpNTLMAuth.cpp
- netwerk/sctp/src/moz.build
- netwerk/sctp/src/netinet/sctp_cc_functions.c
- netwerk/sctp/src/netinet/sctp_indata.c
- netwerk/sctp/src/netinet/sctp_input.c
- netwerk/sctp/src/netinet/sctp_output.c
- netwerk/sctp/src/netinet/sctp_usrreq.c
- netwerk/sctp/src/netinet/sctputil.c
- netwerk/sctp/src/user_mbuf.c
- netwerk/sctp/src/user_socket.c
- netwerk/socket/nsSOCKSIOLayer.cpp
- netwerk/system/android/nsAndroidNetworkLinkService.cpp
- netwerk/system/linux/nsNetworkLinkService.cpp
- netwerk/system/mac/nsNetworkLinkService.mm
- netwerk/system/netlink/NetlinkService.cpp
- netwerk/system/win32/nsNotifyAddrListener.cpp
- netwerk/url-classifier/components.conf
- python/mach/mach/sentry.py
- python/mach/mach/telemetry.py
- python/mozboot/mozboot/bootstrap.py
- python/mozbuild/mozbuild/action/tooltool.py
- python/mozbuild/mozbuild/artifact_commands.py
- python/mozbuild/mozbuild/artifacts.py
- python/mozbuild/mozbuild/backend/base.py
- python/mozbuild/mozbuild/mach_commands.py
- + python/mozbuild/mozbuild/tbbutils.py
- python/mozbuild/mozbuild/test/python.toml
- + python/mozbuild/mozbuild/test/test_tbbutils.py
- python/mozlint/mozlint/cli.py
- python/sites/mach.txt
- security/certverifier/CertVerifier.cpp
- security/manager/ssl/NSSSocketControl.cpp
- security/manager/ssl/RemoteSecuritySettings.sys.mjs
- security/manager/ssl/SSLServerCertVerification.cpp
- security/manager/ssl/SSLServerCertVerification.h
- security/manager/ssl/StaticHPKPins.h
- security/manager/ssl/nsSecureBrowserUI.cpp
- security/moz.build
- security/nss/lib/certhigh/ocsp.c
- security/nss/lib/libpkix/pkix_pl_nss/module/pkix_pl_socket.c
- security/nss/lib/mozpkix/include/pkix/Result.h
- security/nss/lib/mozpkix/include/pkix/pkixnss.h
- security/nss/lib/ssl/Makefile
- services/settings/Attachments.sys.mjs
- services/settings/IDBHelpers.sys.mjs
- services/settings/RemoteSettingsClient.sys.mjs
- services/settings/dumps/gen_last_modified.py
- services/settings/dumps/main/moz.build
- services/settings/remote-settings.sys.mjs
- services/settings/servicesSettings.manifest
- services/settings/static-dumps/main/moz.build
- + services/settings/static-dumps/main/query-stripping.json
- services/sync/components.conf
- testing/moz.build
- testing/mozbase/mozinstall/mozinstall/mozinstall.py
- testing/mozbase/setup_development.py
- testing/mozharness/scripts/does_it_crash.py
- testing/specialpowers/api.js
- testing/testsuite-targets.mk
- + testing/tor/marionette.toml
- + testing/tor/test_circuit_isolation.py
- + testing/tor/test_network_check.py
- testing/web-platform/tests/tools/third_party/attrs/.git_archival.txt
- third_party/abseil-cpp/absl/base/internal/thread_identity.cc
- third_party/abseil-cpp/absl/base/internal/thread_identity.h
- third_party/libwebrtc/modules/audio_coding/codecs/isac/main/source/os_specific_inline.h
- third_party/libwebrtc/modules/desktop_capture/win/desktop_capture_utils.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capture_session.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.cc
- third_party/libwebrtc/modules/desktop_capture/win/wgc_capturer_win.h
- third_party/libwebrtc/modules/video_capture/windows/device_info_ds.h
- third_party/libwebrtc/rtc_base/platform_thread_types.cc
- third_party/libwebrtc/rtc_base/socket.h
- third_party/libwebrtc/rtc_base/system/file_wrapper.cc
- third_party/libwebrtc/rtc_base/win/create_direct3d_device.h
- third_party/sipcc/cpr_win_types.h
- third_party/sipcc/sdp_token.c
- toolkit/.eslintrc.mjs
- toolkit/actors/AboutHttpsOnlyErrorParent.sys.mjs
- + toolkit/actors/FilesFilterChild.sys.mjs
- + toolkit/actors/FilesFilterParent.sys.mjs
- toolkit/actors/NetErrorChild.sys.mjs
- toolkit/actors/NetErrorParent.sys.mjs
- toolkit/actors/moz.build
- toolkit/components/antitracking/antitracking.manifest
- toolkit/components/antitracking/components.conf
- toolkit/components/downloads/DownloadCore.sys.mjs
- toolkit/components/downloads/DownloadIntegration.sys.mjs
- toolkit/components/extensions/Extension.sys.mjs
- toolkit/components/extensions/ExtensionParent.sys.mjs
- toolkit/components/extensions/ext-toolkit.json
- toolkit/components/extensions/parent/ext-trial-ml.js
- toolkit/components/httpsonlyerror/content/errorpage.js
- + toolkit/components/lox/Lox.sys.mjs
- + toolkit/components/lox/content/lox_wasm_bg.wasm
- + toolkit/components/lox/jar.mn
- + toolkit/components/lox/lox_wasm.jsm
- + toolkit/components/lox/moz.build
- toolkit/components/moz.build
- toolkit/components/pdfjs/content/PdfjsParent.sys.mjs
- toolkit/components/pdfjs/content/web/viewer.mjs
- toolkit/components/places/PlacesUtils.sys.mjs
- toolkit/components/places/moz.build
- toolkit/components/prompts/content/commonDialog.js
- toolkit/components/prompts/src/Prompter.sys.mjs
- toolkit/components/remotebrowserutils/RemoteWebNavigation.sys.mjs
- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
- toolkit/components/resistfingerprinting/content/letterboxing.css
- toolkit/components/resistfingerprinting/nsRFPService.cpp
- toolkit/components/search/ConfigSearchEngine.sys.mjs
- toolkit/components/search/SearchEngineSelector.sys.mjs
- toolkit/components/search/SearchService.sys.mjs
- + toolkit/components/search/content/base-browser-search-engine-icons.json
- + toolkit/components/search/content/base-browser-search-engines.json
- + toolkit/components/search/content/duckduckgo.ico
- + toolkit/components/search/content/startpage-16.png
- + toolkit/components/search/content/startpage-32.png
- + toolkit/components/search/content/wikipedia.ico
- + toolkit/components/search/jar.mn
- toolkit/components/search/moz.build
- + toolkit/components/search/tests/xpcshell/test_base_browser.js
- + toolkit/components/search/tests/xpcshell/test_security_level.js
- toolkit/components/search/tests/xpcshell/xpcshell.toml
- + toolkit/components/securitylevel/SecurityLevel.manifest
- + toolkit/components/securitylevel/SecurityLevel.sys.mjs
- + toolkit/components/securitylevel/components.conf
- + toolkit/components/securitylevel/moz.build
- toolkit/components/telemetry/app/TelemetrySend.sys.mjs
- toolkit/components/telemetry/moz.build
- + toolkit/components/tor-launcher/TorBootstrapRequest.sys.mjs
- + toolkit/components/tor-launcher/TorControlPort.sys.mjs
- + toolkit/components/tor-launcher/TorDomainIsolator.sys.mjs
- + toolkit/components/tor-launcher/TorLauncherUtil.sys.mjs
- + toolkit/components/tor-launcher/TorParsers.sys.mjs
- + toolkit/components/tor-launcher/TorProcess.sys.mjs
- + toolkit/components/tor-launcher/TorProcessAndroid.sys.mjs
- + toolkit/components/tor-launcher/TorProvider.sys.mjs
- + toolkit/components/tor-launcher/TorProviderBuilder.sys.mjs
- + toolkit/components/tor-launcher/TorStartupService.sys.mjs
- + toolkit/components/tor-launcher/components.conf
- + toolkit/components/tor-launcher/moz.build
- + toolkit/components/tor-launcher/tor-launcher.manifest
- + toolkit/components/torconnect/TorConnectChild.sys.mjs
- + toolkit/components/torconnect/TorConnectParent.sys.mjs
- + toolkit/components/torconnect/content/aboutTorConnect.css
- + toolkit/components/torconnect/content/aboutTorConnect.html
- + toolkit/components/torconnect/content/aboutTorConnect.js
- + toolkit/components/torconnect/content/arrow-right.svg
- + toolkit/components/torconnect/content/bridge.svg
- + toolkit/components/torconnect/content/connection-failure.svg
- + toolkit/components/torconnect/content/connection-location.svg
- + toolkit/components/torconnect/content/tor-connect-broken.svg
- + toolkit/components/torconnect/content/tor-connect.svg
- + toolkit/components/torconnect/content/tor-not-connected-to-connected-animated.svg
- + toolkit/components/torconnect/content/torConnectTitlebarStatus.css
- + toolkit/components/torconnect/content/torConnectTitlebarStatus.inc.xhtml
- + toolkit/components/torconnect/content/torConnectTitlebarStatus.js
- + toolkit/components/torconnect/content/torConnectUrlbarButton.js
- + toolkit/components/torconnect/jar.mn
- + toolkit/components/torconnect/moz.build
- toolkit/components/translations/actors/TranslationsChild.sys.mjs
- toolkit/components/translations/actors/TranslationsParent.sys.mjs
- toolkit/components/translations/actors/moz.build
- toolkit/components/translations/jar.mn
- toolkit/components/urlformatter/URLFormatter.sys.mjs
- toolkit/components/windowwatcher/nsIPromptService.idl
- toolkit/components/windowwatcher/nsWindowWatcher.cpp
- toolkit/content/.eslintrc.mjs
- toolkit/content/aboutNetError.html
- toolkit/content/aboutNetError.mjs
- toolkit/content/aboutSupport.js
- toolkit/content/jar.mn
- toolkit/content/license.html
- + toolkit/content/moat_countries_dev_build.json
- + toolkit/content/pt_config.json
- toolkit/content/widgets/dialog.js
- toolkit/content/widgets/infobar.css
- toolkit/content/widgets/lit-utils.mjs
- toolkit/content/widgets/moz-input-common.css
- toolkit/content/widgets/moz-message-bar/moz-message-bar.mjs
- toolkit/content/widgets/moz-support-link/moz-support-link.mjs
- toolkit/content/widgets/moz-toggle/moz-toggle.mjs
- toolkit/content/widgets/notificationbox.js
- + toolkit/locales-preview/base-browser-no-translate.ftl
- + toolkit/locales-preview/tor-browser-no-translate.ftl
- + toolkit/locales/en-US/toolkit/global/base-browser.ftl
- + toolkit/locales/en-US/toolkit/global/tor-browser.ftl
- toolkit/locales/jar.mn
- toolkit/modules/ActorManagerParent.sys.mjs
- toolkit/modules/AppConstants.sys.mjs
- + toolkit/modules/Bech32Decode.sys.mjs
- + toolkit/modules/BridgeDB.sys.mjs
- + toolkit/modules/DomainFrontedRequests.sys.mjs
- + toolkit/modules/DragDropFilter.sys.mjs
- + toolkit/modules/Moat.sys.mjs
- toolkit/modules/PopupNotifications.sys.mjs
- + toolkit/modules/QRCode.sys.mjs
- toolkit/modules/RemotePageAccessManager.sys.mjs
- + toolkit/modules/TorAndroidIntegration.sys.mjs
- + toolkit/modules/TorConnect.sys.mjs
- + toolkit/modules/TorSettings.sys.mjs
- + toolkit/modules/TorStrings.sys.mjs
- toolkit/modules/UpdateUtils.sys.mjs
- toolkit/modules/moz.build
- toolkit/moz.build
- toolkit/mozapps/extensions/AddonManager.sys.mjs
- toolkit/mozapps/extensions/components.conf
- toolkit/mozapps/extensions/content/aboutaddons.html
- toolkit/mozapps/extensions/content/aboutaddons.js
- toolkit/mozapps/extensions/content/components/addon-mlmodel-details.mjs
- toolkit/mozapps/extensions/content/components/mlmodel-card-list-additions.mjs
- toolkit/mozapps/extensions/extensions.manifest
- toolkit/mozapps/extensions/internal/XPIDatabase.sys.mjs
- toolkit/mozapps/extensions/internal/XPIInstall.sys.mjs
- toolkit/mozapps/extensions/internal/XPIProvider.sys.mjs
- toolkit/mozapps/extensions/internal/moz.build
- toolkit/mozapps/extensions/test/browser/head.js
- toolkit/mozapps/extensions/test/xpcshell/head_addons.js
- toolkit/mozapps/installer/packager.mk
- toolkit/mozapps/installer/upload-files.mk
- toolkit/mozapps/update/UpdateService.sys.mjs
- toolkit/mozapps/update/UpdateServiceStub.sys.mjs
- toolkit/mozapps/update/common/updatehelper.cpp
- toolkit/mozapps/update/updater/launchchild_osx.mm
- toolkit/mozapps/update/updater/moz.build
- toolkit/mozapps/update/updater/nightly_aurora_level3_primary.der
- toolkit/mozapps/update/updater/nightly_aurora_level3_secondary.der
- toolkit/mozapps/update/updater/release_primary.der
- toolkit/mozapps/update/updater/release_secondary.der
- toolkit/mozapps/update/updater/updater.cpp
- toolkit/themes/shared/aboutLicense.css
- toolkit/themes/shared/aboutNetError.css
- toolkit/themes/shared/desktop-jar.inc.mn
- + toolkit/themes/shared/icons/onion-site.svg
- + toolkit/themes/shared/icons/onion-slash.svg
- + toolkit/themes/shared/icons/onion-warning.svg
- + toolkit/themes/shared/icons/torbrowser.png
- toolkit/themes/shared/minimal-toolkit.jar.inc.mn
- + toolkit/themes/shared/onion-pattern.css
- + toolkit/themes/shared/onion-pattern.svg
- + toolkit/themes/shared/tor-colors.css
- + toolkit/torbutton/chrome/locale/en-US/onionLocation.properties
- + toolkit/torbutton/chrome/locale/en-US/settings.properties
- + toolkit/torbutton/chrome/locale/en-US/torConnect.properties
- + toolkit/torbutton/chrome/locale/en-US/torlauncher.properties
- + toolkit/torbutton/jar.mn
- + toolkit/torbutton/moz.build
- toolkit/xre/LauncherRegistryInfo.cpp
- toolkit/xre/MacLaunchHelper.h
- toolkit/xre/MacLaunchHelper.mm
- toolkit/xre/MacRunFromDmgUtils.mm
- toolkit/xre/ProfileReset.cpp
- toolkit/xre/dllservices/mozglue/WindowsDllBlocklist.cpp
- toolkit/xre/nsAppRunner.cpp
- toolkit/xre/nsIXREDirProvider.idl
- toolkit/xre/nsUpdateDriver.cpp
- toolkit/xre/nsXREDirProvider.cpp
- toolkit/xre/nsXREDirProvider.h
- + tools/base_browser/git-rebase-fixup-preprocessor
- + tools/base_browser/l10n/combine-translation-versions.py
- + tools/base_browser/l10n/combine/__init__.py
- + tools/base_browser/l10n/combine/combine.py
- + tools/base_browser/l10n/combine/tests/__init__.py
- + tools/base_browser/l10n/combine/tests/python.toml
- + tools/base_browser/l10n/combine/tests/test_android.py
- + tools/base_browser/l10n/combine/tests/test_dtd.py
- + tools/base_browser/l10n/combine/tests/test_fluent.py
- + tools/base_browser/l10n/combine/tests/test_properties.py
- + tools/base_browser/missing-css-variables.py
- + tools/base_browser/tb-dev
- + tools/geckoview/.gitignore
- + tools/geckoview/Makefile
- + tools/geckoview/android-env-linux-template.sh
- + tools/geckoview/android-env-macos-template.sh
- + tools/geckoview/build-fenix.sh
- + tools/geckoview/build-geckoview.sh
- + tools/geckoview/clobber.sh
- + tools/geckoview/config.sh
- + tools/geckoview/install-fenix.sh
- + tools/geckoview/jslint.sh
- tools/lint/fluent-lint/exclusions.yml
- tools/lint/l10n.yml
- tools/moz.build
- + tools/torbrowser/Makefile
- + tools/torbrowser/browser-self-sign-macos.sh
- + tools/torbrowser/build.sh
- + tools/torbrowser/clobber.sh
- + tools/torbrowser/config.sh
- + tools/torbrowser/deploy.sh
- + tools/torbrowser/fetch.sh
- + tools/torbrowser/generate-bugzilla-triage-csv.sh
- + tools/torbrowser/ide.sh
- + tools/torbrowser/jslint.sh
- + tools/torbrowser/l10n/migrate.py
- + tools/torbrowser/l10n/migrations/__init__.py
- + tools/torbrowser/l10n/migrations/bug-41333-new-about-tor.py
- + tools/torbrowser/l10n/migrations/bug-41622-neterror.py
- + tools/torbrowser/l10n/migrations/bug-41820-moz-message-bar-download-warning.py
- + tools/torbrowser/l10n/migrations/bug-42202-crypto-safety.py
- + tools/torbrowser/l10n/migrations/bug-42203-about-dialog.py
- + tools/torbrowser/l10n/migrations/bug-42206-rulesets.py
- + tools/torbrowser/l10n/migrations/bug-42207-settings.py
- + tools/torbrowser/l10n/migrations/bug-42209-tor-circuit.py
- + tools/torbrowser/l10n/migrations/bug-42210-download-warning.py
- + tools/torbrowser/l10n/migrations/bug-42211-new-identity.py
- + tools/torbrowser/l10n/migrations/bug-42212-onion-services.py
- + tools/torbrowser/l10n/migrations/bug-42214-security-level.py
- + tools/torbrowser/l10n/migrations/bug-43531-bridge-dialog-buttons.py
- + tools/torbrowser/prepare-tests.sh
- + tools/torbrowser/update_emojis.py
- tools/update-packaging/common.sh
- tools/update-packaging/make_full_update.sh
- tools/update-packaging/make_incremental_update.sh
- uriloader/base/nsURILoader.cpp
- uriloader/exthandler/nsExternalHelperAppService.cpp
- widget/ScrollbarDrawingWin.cpp
- widget/ScrollbarDrawingWin11.cpp
- widget/android/WebExecutorSupport.cpp
- widget/gtk/MPRISServiceHandler.cpp
- widget/gtk/WidgetUtilsGtk.cpp
- widget/gtk/nsLookAndFeel.cpp
- widget/windows/WinTaskbar.cpp
- widget/windows/nsDataObj.cpp
- xpcom/base/ErrorList.py
- xpcom/ds/StaticAtoms.py
- xpcom/io/CocoaFileUtils.mm
- xpcom/io/nsAppFileLocationProvider.cpp
- xpfe/appshell/AppWindow.cpp
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/931471…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/931471…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][tor-browser-146.0a1-16.0-1] fixup! Customize moz-toggle for tor-browser.
by henry (@henry) 10 Dec '25
by henry (@henry) 10 Dec '25
10 Dec '25
henry pushed to branch tor-browser-146.0a1-16.0-1 at The Tor Project / Applications / Tor Browser
Commits:
87c671c6 by Henry Wilkes at 2025-12-09T17:19:20+00:00
fixup! Customize moz-toggle for tor-browser.
TB 44419: Re-add the moz-toggle title attribute patch.
- - - - -
1 changed file:
- toolkit/content/widgets/moz-toggle/moz-toggle.mjs
Changes:
=====================================
toolkit/content/widgets/moz-toggle/moz-toggle.mjs
=====================================
@@ -51,6 +51,22 @@ export default class MozToggle extends MozBaseInputElement {
inputTemplate() {
const { pressed, disabled, ariaLabel, handleClick } = this;
+ let ariaDescription = undefined;
+ if (!this.hasDescription) {
+ ariaDescription = this.ariaDescription;
+ if (
+ !ariaDescription &&
+ this.title &&
+ this.title !== (ariaLabel || this.label)
+ ) {
+ // For tor-browser, if we have a title we use it as the
+ // aria-description. Used for tor-browser#41333.
+ // Only set the description using the title if it differs from the
+ // accessible name derived from the label (ariaLabel || this.label).
+ ariaDescription = this.title;
+ }
+ }
+
return html`<button
id="input"
part="button"
@@ -62,9 +78,7 @@ export default class MozToggle extends MozBaseInputElement {
aria-pressed=${pressed}
aria-label=${ifDefined(ariaLabel ?? undefined)}
aria-describedby="description"
- aria-description=${ifDefined(
- this.hasDescription ? undefined : this.ariaDescription
- )}
+ aria-description=${ifDefined(ariaDescription)}
accesskey=${ifDefined(this.accessKey)}
@click=${handleClick}
></button>`;
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/87c671c…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/87c671c…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser] Pushed new branch tor-browser-146.0a1-16.0-2
by brizental (@brizental) 10 Dec '25
by brizental (@brizental) 10 Dec '25
10 Dec '25
brizental pushed new branch tor-browser-146.0a1-16.0-2 at The Tor Project / Applications / Tor Browser
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/tree/tor-brows…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/mullvad-browser][mullvad-browser-146.0a1-16.0-1] 2 commits: fixup! BB 43615: Add Gitlab Issue and Merge Request templates
by morgan (@morgan) 09 Dec '25
by morgan (@morgan) 09 Dec '25
09 Dec '25
morgan pushed to branch mullvad-browser-146.0a1-16.0-1 at The Tor Project / Applications / Mullvad Browser
Commits:
deda865d by Morgan at 2025-12-09T17:53:52+00:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
made header formatting consistent
- - - - -
49147906 by Morgan at 2025-12-09T17:54:50+00:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
drill down on more detailed Bookkeeping information
- - - - -
2 changed files:
- .gitlab/issue_templates/000 Bug Report.md
- .gitlab/issue_templates/060 Rebase - Alpha.md
Changes:
=====================================
.gitlab/issue_templates/000 Bug Report.md
=====================================
@@ -29,6 +29,11 @@ to be working.
Provide a description of what actually occurs.
-->
+## User impact
+<!--
+Provide an overview of consequences to users due to this bug.
+-->
+
## Bookkeeping
<!--
Please provide the following information:
@@ -45,10 +50,13 @@ Please provide the following information:
- [ ] other (please specify):
- Operating System:
- [ ] Windows
+ - Version:
- [ ] macOS
+ - Version:
- [ ] Linux
+ - Distribution + Version:
+ - Desktop Environment + Version:
- [ ] Other (please specify):
-- Operating System Version:
### Browser UI language
<!--
=====================================
.gitlab/issue_templates/060 Rebase - Alpha.md
=====================================
@@ -33,7 +33,7 @@
- [ ] Link this issue to the appropriate [Release Prep](https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/is… issue.
-### Update Branch Protection Rules
+### **Update Branch Protection Rules**
- [ ] In [Repository Settings](https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/…:
- [ ] Remove previous alpha `mullvad-browser` branch protection rules (this will prevent pushing new changes to the branches being rebased)
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/28…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/compare/28…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][base-browser-146.0a1-16.0-1] 2 commits: fixup! BB 43615: Add Gitlab Issue and Merge Request templates
by morgan (@morgan) 09 Dec '25
by morgan (@morgan) 09 Dec '25
09 Dec '25
morgan pushed to branch base-browser-146.0a1-16.0-1 at The Tor Project / Applications / Tor Browser
Commits:
d0b4e222 by Morgan at 2025-12-09T17:52:38+00:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
made header formatting consistent
- - - - -
aa718fc9 by Morgan at 2025-12-09T17:52:46+00:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
drill down on more detailed Bookkeeping information
- - - - -
2 changed files:
- .gitlab/issue_templates/000 Bug Report.md
- .gitlab/issue_templates/060 Rebase - Alpha.md
Changes:
=====================================
.gitlab/issue_templates/000 Bug Report.md
=====================================
@@ -29,6 +29,11 @@ to be working.
Provide a description of what actually occurs.
-->
+## User impact
+<!--
+Provide an overview of consequences to users due to this bug.
+-->
+
## Bookkeeping
<!--
Please provide the following information:
@@ -46,12 +51,17 @@ Please provide the following information:
- [ ] other (please specify):
- Operating System:
- [ ] Windows
+ - Version:
- [ ] macOS
+ - Version:
- [ ] Linux
+ - Distribution + Version:
+ - Desktop Environment + Version:
- [ ] Android
+ - Version:
+ - Device:
- [ ] Tails
- [ ] Other (please specify):
-- Operating System Version:
### Browser UI language
<!--
=====================================
.gitlab/issue_templates/060 Rebase - Alpha.md
=====================================
@@ -31,7 +31,7 @@
- [ ] Link this issue to the appropriate [Release Prep](https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/is… issue.
-### Update Branch Protection Rules
+### **Update Branch Protection Rules**
- [ ] In [Repository Settings](https://gitlab.torproject.org/tpo/applications/tor-browser/-/sett…:
- [ ] Remove previous alpha `base-browser` and `tor-browser` branch protection rules (this will prevent pushing new changes to the branches being rebased)
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/306651…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/306651…
You're receiving this email because of your account on gitlab.torproject.org.
1
0
[Git][tpo/applications/tor-browser][tor-browser-146.0a1-16.0-1] 7 commits: fixup! BB 43615: Add Gitlab Issue and Merge Request templates
by morgan (@morgan) 09 Dec '25
by morgan (@morgan) 09 Dec '25
09 Dec '25
morgan pushed to branch tor-browser-146.0a1-16.0-1 at The Tor Project / Applications / Tor Browser
Commits:
1c87b6b6 by Morgan at 2025-12-09T12:28:58+00:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
made header formatting consistent
- - - - -
69e483d3 by Morgan at 2025-12-09T12:28:58+00:00
fixup! BB 43615: Add Gitlab Issue and Merge Request templates
drill down on more detailed Bookkeeping information
- - - - -
6b6b5b76 by Morgan at 2025-12-09T12:28:59+00:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
- updated Bugzilla Audit issue:
- changed esr label to esr-153
- set Tor Browser 16.0 milestone
- - - - -
db0fab06 by Morgan at 2025-12-09T12:28:59+00:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
add step to create the Firefox Release Review issue for each RR version
- - - - -
363ed840 by Morgan at 2025-12-09T12:29:00+00:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
updated the Firefox Release Review issue template
- - - - -
ee916914 by Morgan at 2025-12-09T17:08:05+00:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
add build-to-build upgrades, update test architectures and add impact label
- - - - -
f33670aa by Morgan at 2025-12-09T17:08:05+00:00
fixup! TB 43616: Customize Gitlab Issue and Merge Request templates
add impact label and remove alpha backport steps
- - - - -
7 changed files:
- .gitlab/issue_templates/000 Bug Report.md
- .gitlab/issue_templates/060 Rebase - Alpha.md
- .gitlab/issue_templates/080 Security Backports.md
- .gitlab/issue_templates/100 Release QA - Desktop.md
- .gitlab/issue_templates/101 Release QA - Android.md
- .gitlab/issue_templates/110 Firefox Release Review.md
- .gitlab/issue_templates/120 Bugzilla Audit.md
Changes:
=====================================
.gitlab/issue_templates/000 Bug Report.md
=====================================
@@ -29,6 +29,11 @@ to be working.
Provide a description of what actually occurs.
-->
+## User impact
+<!--
+Provide an overview of consequences to users due to this bug.
+-->
+
## Bookkeeping
<!--
Please provide the following information:
@@ -46,12 +51,17 @@ Please provide the following information:
- [ ] other (please specify):
- Operating System:
- [ ] Windows
+ - Version:
- [ ] macOS
+ - Version:
- [ ] Linux
+ - Distribution + Version:
+ - Desktop Environment + Version:
- [ ] Android
+ - Version:
+ - Device:
- [ ] Tails
- [ ] Other (please specify):
-- Operating System Version:
### Browser UI language
<!--
=====================================
.gitlab/issue_templates/060 Rebase - Alpha.md
=====================================
@@ -30,8 +30,10 @@
### **Bookkeeping**
- [ ] Link this issue to the appropriate [Release Prep](https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/is… issue.
+- [ ] Create "Firefox Release Review" issue for this version
+ - **NOTE**: We have issues open through Firefox 153 so this can be skipped until we get to Firefox 154
-### Update Branch Protection Rules
+### **Update Branch Protection Rules**
- [ ] In [Repository Settings](https://gitlab.torproject.org/tpo/applications/tor-browser/-/sett…:
- [ ] Remove previous alpha `base-browser` and `tor-browser` branch protection rules (this will prevent pushing new changes to the branches being rebased)
=====================================
.gitlab/issue_templates/080 Security Backports.md
=====================================
@@ -50,16 +50,13 @@
-->
## **tor-browser**: https://gitlab.torproject.org/tpo/applications/tor-browser.git
-- [ ] Backport any Android-specific security fixes from Firefox rapid-release
+- [ ] Backport security fixes from Firefox rapid-release
- [ ] Backport patches to `tor-browser` stable branch
- [ ] Open MR
- [ ] Merge
- [ ] cherry-pick patches onto:
- [ ] `base-browser` stable
- [ ] `mullvad-browser` stable
- - [ ] `tor-browser` alpha
- - [ ] `base-browser` alpha
- - [ ] `mullvad-browser` alpha
- [ ] Sign/Tag commits:
- In **tor-browser-build.git**, run signing script:
```bash
@@ -68,9 +65,6 @@
- [ ] `base-browser` stable
- [ ] `tor-browser` stable
- [ ] `mullvad-browser` stable
- - [ ] `base-browser` alpha
- - [ ] `tor-browser` alpha
- - [ ] `mullvad-browser` alpha
- [ ] Push tags to `upstream`
- **OR**
@@ -84,4 +78,5 @@
/label ~"Apps::Product::TorBrowser"
/label ~"Apps::Product::MullvadBrowser"
/label ~"Apps::Type::Backport"
+/label ~"Apps::Impact::High"
/label ~"Priority::Blocker"
=====================================
.gitlab/issue_templates/100 Release QA - Desktop.md
=====================================
@@ -185,6 +185,14 @@ Manual QA test check-list for major desktop releases. Please copy/paste form int
- [ ] UI shouldn't accept bad ports (e.g. invalid port numbers, non-numbers, etc)
- [ ] Each individual setting type has it's own validation (i.e. not all or nothing anymore)
+## Upgrades
+- [ ] Build-to-Build upgrade from:
+ - [ ] Previous minor version
+ - [ ] Previous major version
+ - [ ] Previous watershed release
+ - **NOTE**: a watershed release is a release which all previous versions will first update to before updating to latest; the most recent watershed is Tor Browser 14.0
+ - Updater Documentation: https://gitlab.torproject.org/tpo/applications/wiki/-/wikis/Development-Inf…
+
```
</details>
@@ -200,8 +208,8 @@ Please lay claim to a platform in the comments:
- x86_64
- aarch64
- Linux
- - x86
- x86_64
+ - aarch64
<!-- Do not edit beneath this line <3 -->
@@ -209,4 +217,5 @@ Please lay claim to a platform in the comments:
/label ~"Apps::Product::TorBrowser"
/label ~"Apps::Type::Test"
+/label ~"Apps::Impact::High"
/label ~"Priority::Blocker"
=====================================
.gitlab/issue_templates/101 Release QA - Android.md
=====================================
@@ -86,6 +86,12 @@ Manual QA test check-list for major android releases. Please copy/paste form int
- [ ] Not removable from about:addons
- [ ] Tests: https://test-data.tbb.torproject.org/test-data/noscript/
- **TODO**: fix test pages
+
+## Upgrades
+- [ ] Build-to-Build upgrade from:
+ - [ ] Previous minor version
+ - [ ] Previous major version
+
```
</details>
@@ -93,7 +99,6 @@ Manual QA test check-list for major android releases. Please copy/paste form int
Please lay claim to an architecture in the comments:
Architectures:
-- x86
- x86_64
- arm32
- aarch64
@@ -104,4 +109,5 @@ Architectures:
/label ~"Apps::Product::TorBrowser"
/label ~"Apps::Type::Test"
+/label ~"Apps::Impact::High"
/label ~"Priority::Blocker"
=====================================
.gitlab/issue_templates/110 Firefox Release Review.md
=====================================
@@ -7,19 +7,15 @@
- [ ] Generate Bugzilla triage CSV
- Run (from `tor-browser-build` root):
```bash
- ./tools/browser/generate-bugzilla-triage-csv ${FIREFOX_VERSION} ${PREVIOUS_NIGHTLY_TAG} ${NEXT_NIGHLTY_TAG} ${TRIAGE_ISSUE_NUMBER} > out.csv
+ ./tools/browser/generate-bugzilla-triage-csv ${FIREFOX_VERSION} ${TRIAGE_ISSUE_NUMBER} > out.csv
```
- `${FIREFOX_VERSION}`: the major Firefox version of the nightly to review
- **Example**: 129
- - `${PREVIOUS_NIGHTLY_TAG}`: the nightly 'end' tag of the previous major Firefox version
- - **Example**: `FIREFOX_NIGHTLY_128_END`
- - `${NEXT_NIGHLTY_TAG}`: the nightly 'end' tag of the next major Firefox version we are reviewing
- - **Example**: `FIREFOX_NIGHTLY_129_END`
- `${TRIAGE_ISSUE_NUMBER}`: this `tor-browser` issue
- **Example**: `43303`
- **Example**:
```bash
- ./tools/browser/generate-bugzilla-triage-csv 129 FIREFOX_NIGHTLY_128_END FIREFOX_NIGHTLY_129_END 43303 > 129.csv
+ ./tools/browser/generate-bugzilla-triage-csv 129 43303 > 129.csv
```
- [ ] Attach the generated CSV file to the triage isssue
- [ ] Import to Google Sheets ( https://sheets.google.com )
@@ -38,24 +34,29 @@
- Change `Restricted` to `Anyone with the link`
- Post link in an internal note on this issue
- [ ] Assign requested reviewers to this issue
+ - **NOTE**: We currently have 3 blocks of reviewers in rotation:
+ - bea, boklm, ma1
+ - dan_b, henry-x, pierov
+ - clairehurst, morgan, jwilde
+- [ ] Set the issue's `Due Date` to 10 weeks after this version's "Beta starts" date or 2 weeks after the next ESR's "Beta starts" date (whichever is sooner)
+ - **Release Calendar**: https://whattrainisitnow.com/calendar/
## Release Notes Review
<!--
Ticket author! Find and post links to the release notes here!
- - Release notes for users: https://www.mozilla.org/en-US/firefox/releases/
+ - Release notes for users: https://www.firefox.com/en-US/releases/
- Release notes for developers: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases
-->
- [ ] Release Notes for Users (often includes multiple point releases):
- - https://www.mozilla.org/en-US/firefox/${FIREFOX_VERSION}/releasenotes/
+ - https://www.firefox.com/firefox/${FIREFOX_VERSION}/releasenotes/
- [ ] Release Notes for Developers
- https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Releases/${FIREFOX…
---
- Bugzilla Triage and Release Notes Review Completed by:
- <!-- try and distribute the review responsibilities somehow fairly across the team -->
- [ ] reviewer 1 <!-- replace with reviewer name :) -->
- [ ] reviewer 2 <!-- replace with reviewer name :) -->
- [ ] reviewer 3 <!-- replace with reviewer name :) -->
=====================================
.gitlab/issue_templates/120 Bugzilla Audit.md
=====================================
@@ -14,8 +14,8 @@ Title:
---
-<!-- Make sure the "esr-" label is the correct version: -->
-/label ~"esr-140"
+/label ~"esr-153"
/label ~"Apps::Product::TorBrowser"
/label ~"Apps::Type::Audit"
/label ~"Priority::Blocker"
+/milestone %"Tor Browser 16.0"
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/bf585f…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/compare/bf585f…
You're receiving this email because of your account on gitlab.torproject.org.
1
0