richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
aa5571de by Nicolas Vigier at 2024-01-11T15:30:06+00:00
Bug 41063: Run "file $keyring" in tools/keyring/list-all-keyrings
(cherry picked from commit 0fe87b4a9c5645157297106da33991d4e5a7dc3c)
- - - - -
1 changed file:
- tools/keyring/list-all-keyrings
Changes:
=====================================
tools/keyring/list-all-keyrings
=====================================
@@ -6,5 +6,6 @@ set -e
cd $(dirname "$0")/../..
for keyring in ./keyring/*.gpg
do
+ file "$keyring"
gpg --no-auto-check-trustdb --list-options show-unusable-subkeys,show-keyring --no-default-keyring --list-keys --keyring "$keyring"
done
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/a…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
0fe87b4a by Nicolas Vigier at 2024-01-11T10:47:16+01:00
Bug 41063: Run "file $keyring" in tools/keyring/list-all-keyrings
- - - - -
1 changed file:
- tools/keyring/list-all-keyrings
Changes:
=====================================
tools/keyring/list-all-keyrings
=====================================
@@ -6,5 +6,6 @@ set -e
cd $(dirname "$0")/../..
for keyring in ./keyring/*.gpg
do
+ file "$keyring"
gpg --no-auto-check-trustdb --list-options show-unusable-subkeys,show-keyring --no-default-keyring --list-keys --keyring "$keyring"
done
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0…
You're receiving this email because of your account on gitlab.torproject.org.
Dan Ballard pushed to branch firefox-android-115.2.1-13.5-1 at The Tor Project / Applications / firefox-android
Commits:
eb11d34f by Alexandru2909 at 2024-01-10T09:23:58+01:00
Bug 1810776 - Move DismissedTabBackground into its own file
- - - - -
d3d59baf by DreVla at 2024-01-10T09:23:59+01:00
Bug 1828493 - Apply purple overlay on list item when in multi-select
When having the list layout for tabs tray and entering multi-select
mode, the selected list items should have a purple non opaque overlay
on the thumbnail, as it was before in the XML implementation.
- - - - -
594d50c7 by Alexandru2909 at 2024-01-10T09:23:59+01:00
Bug 1810776 - Add SwipeToDismiss to composed tabs tray
- - - - -
65c66210 by Noah Bond at 2024-01-10T09:24:00+01:00
Bug 1815579 - Improve performance of image loading in tab items
- - - - -
7a94beac by Noah Bond at 2024-01-10T09:24:00+01:00
Bug 1840896 - Remove `rememberSaveable` since bitmaps are not serializable
- - - - -
963aaa93 by Noah Bond at 2024-01-10T09:24:01+01:00
Bug 1844967 - Improve performance of tab thumbnail loading in Compose
- - - - -
f6a83e7b by Matthew Tighe at 2024-01-10T09:24:01+01:00
Bug 1721904 - update thumbnail caching on app open
- - - - -
4d646df9 by hackademix at 2024-01-10T10:24:54+01:00
Bug 42191: Temporary StrictMode relaxation to clear the thumbnail cache.
- - - - -
30 changed files:
- android-components/components/browser/state/src/main/java/mozilla/components/browser/state/action/BrowserAction.kt
- android-components/components/browser/state/src/main/java/mozilla/components/browser/state/reducer/ContentStateReducer.kt
- android-components/components/browser/tabstray/src/main/java/mozilla/components/browser/tabstray/TabViewHolder.kt
- android-components/components/browser/tabstray/src/test/java/mozilla/components/browser/tabstray/DefaultTabViewHolderTest.kt
- android-components/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/ThumbnailsMiddleware.kt
- android-components/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/storage/ThumbnailStorage.kt
- android-components/components/browser/thumbnails/src/main/java/mozilla/components/browser/thumbnails/utils/ThumbnailDiskCache.kt
- android-components/components/browser/thumbnails/src/test/java/mozilla/components/browser/thumbnails/ThumbnailsMiddlewareTest.kt
- android-components/components/browser/thumbnails/src/test/java/mozilla/components/browser/thumbnails/loader/ThumbnailLoaderTest.kt
- android-components/components/browser/thumbnails/src/test/java/mozilla/components/browser/thumbnails/storage/ThumbnailStorageTest.kt
- android-components/components/browser/thumbnails/src/test/java/mozilla/components/browser/thumbnails/utils/ThumbnailDiskCacheTest.kt
- android-components/components/concept/base/src/main/java/mozilla/components/concept/base/images/ImageRequest.kt
- fenix/app/src/main/java/org/mozilla/fenix/browser/TabPreview.kt
- fenix/app/src/main/java/org/mozilla/fenix/browser/ToolbarGestureHandler.kt
- + fenix/app/src/main/java/org/mozilla/fenix/compose/SwipeToDismiss.kt
- + fenix/app/src/main/java/org/mozilla/fenix/compose/TabThumbnail.kt
- fenix/app/src/main/java/org/mozilla/fenix/compose/ThumbnailCard.kt
- + fenix/app/src/main/java/org/mozilla/fenix/compose/ThumbnailImage.kt
- fenix/app/src/main/java/org/mozilla/fenix/compose/list/ListItem.kt
- + fenix/app/src/main/java/org/mozilla/fenix/compose/tabstray/DismissedTabBackground.kt
- fenix/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabGridItem.kt
- fenix/app/src/main/java/org/mozilla/fenix/compose/tabstray/TabListItem.kt
- fenix/app/src/main/java/org/mozilla/fenix/home/collections/CollectionItem.kt
- fenix/app/src/main/java/org/mozilla/fenix/home/recentsyncedtabs/view/RecentSyncedTab.kt
- fenix/app/src/main/java/org/mozilla/fenix/home/recentsyncedtabs/view/RecentSyncedTabViewHolder.kt
- fenix/app/src/main/java/org/mozilla/fenix/home/recenttabs/view/RecentTabViewHolder.kt
- fenix/app/src/main/java/org/mozilla/fenix/home/recenttabs/view/RecentTabs.kt
- fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTray.kt
- fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayFragment.kt
- fenix/app/src/main/java/org/mozilla/fenix/tabstray/TabsTrayTabLayouts.kt
The diff was not included because it is too large.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/compare/c1…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/firefox-android/-/compare/c1…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch maint-13.0 at The Tor Project / Applications / tor-browser-build
Commits:
2a253fd5 by Nicolas Vigier at 2024-01-10T15:55:56+00:00
Bug 41059: Update keyring/torbrowser.gpg with updated key
Tor Browser gpg key has been updated with a new expiration date on its
current subkey.
(cherry picked from commit 07f2eaceff557d7dbb10123d7af9cec752f0e6f8)
- - - - -
1 changed file:
- keyring/torbrowser.gpg
Changes:
=====================================
keyring/torbrowser.gpg
=====================================
Binary files a/keyring/torbrowser.gpg and b/keyring/torbrowser.gpg differ
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/2…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/2…
You're receiving this email because of your account on gitlab.torproject.org.
richard pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
07f2eace by Nicolas Vigier at 2024-01-10T15:54:54+00:00
Bug 41059: Update keyring/torbrowser.gpg with updated key
Tor Browser gpg key has been updated with a new expiration date on its
current subkey.
- - - - -
1 changed file:
- keyring/torbrowser.gpg
Changes:
=====================================
keyring/torbrowser.gpg
=====================================
Binary files a/keyring/torbrowser.gpg and b/keyring/torbrowser.gpg differ
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0…
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/0…
You're receiving this email because of your account on gitlab.torproject.org.
Pier Angelo Vendrame pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits:
3c17b385 by Pier Angelo Vendrame at 2024-01-10T10:10:45+01:00
Bug 40606: Use Clang to compile NSIS
NSIS officially supports only MSVC and GCC as compilers, so it was one
of the two projects forcing us to keep a GCC toolchain for Windows.
With this commit, we adapt the tricks Mozilla uses to build NSIS with
Clang, and remove the dependency on mingw-w64.
The main trick is to use the GNU assembler instead of Clang's internal
one to build NSIS's system plugin. Luckily, it can be found in
binutils, without a full GCC build.
- - - - -
018b7e26 by Pier Angelo Vendrame at 2024-01-10T11:11:19+01:00
Bug 40900: Update NSIS to 3.09.
The update allows us to delete the no-reloc-section patch, and while we
are at it, we can replace the no-insert-timestamp patch with
SOURCE_DATE_EPOCH, which we set as the creation date of the Source
directory form the tarball.
- - - - -
5 changed files:
- projects/nsis/build
- projects/nsis/config
- − projects/nsis/no-insert-timestamp.patch
- − projects/nsis/no-reloc-section.diff
- + projects/nsis/resource-reproducible.diff
Changes:
=====================================
projects/nsis/build
=====================================
@@ -4,21 +4,41 @@
mkdir -p /var/tmp/build
tar -C /var/tmp/build -xf nsis-[% c('version') %].tar.bz2
+# We need the GNU assembler for the system plugin
+tar -C /var/tmp/dist -xf [% c('input_files_by_name/binutils') %]
+
# NSIS requires zlib and we later set the path using ZLIB_W32.
tar -C /var/tmp/build -xf [% c('input_files_by_name/zlib') %]
+# This trick is adapted from Firefox's
+# taskcluster/scripts/misc/build-mingw32-nsis.sh
+compiler_prefix=/var/tmp/dist/mingw-w64-clang/bin/[% c("arch") %]-w64-mingw32
+cat <<'EOF' >"$compiler_prefix-gcc"
+#!/bin/sh
+# SCons ignores the external $PATH, so we add binutils here.
+export PATH=/var/tmp/dist/binutils/bin:$PATH
+case "$@" in
+*/Call*.S)
+ $(dirname $0)/[% c("arch") %]-w64-mingw32-clang -fno-integrated-as "$@"
+ ;;
+*)
+ $(dirname $0)/[% c("arch") %]-w64-mingw32-clang "$@"
+ ;;
+esac
+EOF
+
+chmod +x "$compiler_prefix-gcc"
+ln -s "$compiler_prefix-clang++" "$compiler_prefix-g++"
+
cd /var/tmp/build/nsis-[% c('version') %]-src
-# Adding --no-insert-timestamp to APPEND_LINKFLAGS is not working as it
-# is used for both the host and cross-compiled parts, but this option is
-# only valid for the Windows linker. Therefore we add it using a patch
-# to the cross-compilation part only. Still needed as of 3.06.1, see: #40090.
-patch -p1 < $rootdir/no-insert-timestamp.patch
-# tor-browser-build#40822: NSIS adds a flag to tell it supports ASLR, but it
-# does so only to pass MS certifications. According to the NSIS forums, they
-# intended not to ship the .reloc to save space. But, according to the bug
-# tracker, binutils 2.36 started adding a .reloc section by default, and we need
-# to disable it with this patch.
-patch -p1 < $rootdir/no-reloc-section.diff
+
+# These two sed commands also come from build-mingw32-nsis.sh
+sed -i 's/-Wl,--exclude-libs,msvcrt.a/-Wl,-Xlink=-fixed/' SCons/Config/gnu
+sed -i '2i extern "C"' SCons/Config/{memcpy,memset}.c
+
+export SOURCE_DATE_EPOCH=$(stat -c '%Y' Source)
+# Resource.dll does not obey the source date epoch...
+patch -p1 < "$rootdir/resource-reproducible.diff"
[% IF c("var/windows-x86_64") %]
# Seems like setting TARGET_ARCH is not enough so we need to patch build.cpp
@@ -30,8 +50,7 @@ patch -p1 < $rootdir/no-reloc-section.diff
[% END %]
[% SET scons_args = 'VERSION=' _ c("version")
- _ ' APPEND_CCFLAGS="-fgnu89-inline"'
- _ " SKIPUTILS='NSIS Menu' XGCC_W32_PREFIX=" _ c("arch") _ "-w64-mingw32-"
+ _ " SKIPUTILS='NSIS Menu,Makensisw' XGCC_W32_PREFIX=" _ c("arch") _ "-w64-mingw32-"
_ " TARGET_ARCH=" _ target
_ " ZLIB_W32=/var/tmp/build/zlib/"
_ ' PREFIX=/var/tmp/dist/nsis' -%]
=====================================
projects/nsis/config
=====================================
@@ -1,5 +1,5 @@
# vim: filetype=yaml sw=2
-version: 3.08
+version: 3.09
filename: 'nsis-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.[% c("compress_tar") %]'
container:
use_container: 1
@@ -11,21 +11,16 @@ var:
- zlib1g-dev
- libcppunit-dev
- xsltproc
- # NSIS has an assembly part that cannot be compiled with Clang.
- # Mozilla uses -fno-integrated-as (see
- # taskcluster/scripts/misc/build-mingw32-nsis.sh) but for some reason this
- # does not seem to work for us, so just keep GCC for the moment, since we are
- # already using it for Rust anyway.
- compiler: mingw-w64
input_files:
- project: container-image
- filename: 'nsis-[% c("version") %].tar.bz2'
URL: 'https://downloads.sourceforge.net/nsis/nsis-[% c("version") %]-src.tar.bz2'
- sha256sum: a85270ad5386182abecb2470e3d7e9bec9fe4efd95210b13551cb386830d1e87
- - filename: no-insert-timestamp.patch
- - filename: no-reloc-section.diff
+ sha256sum: 0cd846c6e9c59068020a87bfca556d4c630f2c5d554c1098024425242ddc56e2
- name: '[% c("var/compiler") %]'
project: '[% c("var/compiler") %]'
+ - name: binutils
+ project: binutils
- name: zlib
project: zlib
+ - filename: resource-reproducible.diff
=====================================
projects/nsis/no-insert-timestamp.patch deleted
=====================================
@@ -1,27 +0,0 @@
-diff -ur nsis-3.03-src/SCons/Config/gnu nsis-3.03-src.n/SCons/Config/gnu
---- nsis-3.03-src/SCons/Config/gnu 2017-10-06 15:30:20.000000000 -0400
-+++ nsis-3.03-src.n/SCons/Config/gnu 2018-06-17 13:26:05.945495151 -0400
-@@ -102,6 +102,7 @@
- stub_env.Append(LINKFLAGS = ['$NODEFLIBS_FLAG']) # no standard libraries
- stub_env.Append(LINKFLAGS = ['$ALIGN_FLAG']) # 512 bytes align
- stub_env.Append(LINKFLAGS = ['$MAP_FLAG']) # generate map file
-+stub_env.Append(LINKFLAGS = ['-Wl,--no-insert-timestamp']) # remove timestamps for reproducible builds
-
- stub_uenv = stub_env.Clone()
- stub_uenv.Append(CPPDEFINES = ['_UNICODE', 'UNICODE'])
-@@ -142,6 +143,7 @@
- plugin_env.Append(LINKFLAGS = ['$MAP_FLAG']) # generate map file
- plugin_env.Append(LINKFLAGS = ['-static-libgcc']) # remove libgcc*.dll dependency
- plugin_env.Append(LINKFLAGS = ['-static-libstdc++']) # remove libstdc++*.dll dependency
-+plugin_env.Append(LINKFLAGS = ['-Wl,--no-insert-timestamp']) # remove timestamps for reproducible builds
-
- plugin_uenv = plugin_env.Clone()
- plugin_uenv.Append(CPPDEFINES = ['_UNICODE', 'UNICODE'])
-@@ -181,6 +183,7 @@
-
- util_env.Append(LINKFLAGS = ['-mwindows']) # build windows executables
- util_env.Append(LINKFLAGS = ['$ALIGN_FLAG']) # 512 bytes align
-+util_env.Append(LINKFLAGS = ['-Wl,--no-insert-timestamp']) # remove timestamps for reproducible builds
-
-
- conf = FlagsConfigure(util_env)
=====================================
projects/nsis/no-reloc-section.diff deleted
=====================================
@@ -1,14 +0,0 @@
-diff -Naur nsis-3.08-orig/SCons/Config/gnu nsis-3.08-src/SCons/Config/gnu
---- nsis-3.08-orig/SCons/Config/gnu 2023-03-23 09:22:46.315471779 +0100
-+++ nsis-3.08-src/SCons/Config/gnu 2023-03-23 09:24:05.260933879 +0100
-@@ -103,6 +103,10 @@
- stub_env.Append(LINKFLAGS = ['$ALIGN_FLAG']) # 512 bytes align
- stub_env.Append(LINKFLAGS = ['$MAP_FLAG']) # generate map file
-
-+# https://sourceforge.net/p/nsis/bugs/1283/?limit=25#e303,
-+# https://sourceforge.net/p/nsis/bugs/1283/?limit=25#e303/e90f
-+stub_env.Append(LINKFLAGS = ['-Wl,--disable-reloc-section'])
-+
- conf = FlagsConfigure(stub_env)
- conf.CheckCompileFlag('-fno-tree-loop-distribute-patterns') # GCC 10: Don't generate msvcrt!memmove calls (bug #1248)
- conf.Finish()
=====================================
projects/nsis/resource-reproducible.diff
=====================================
@@ -0,0 +1,10 @@
+diff '--color=auto' -rupN nsis-3.09-orig/Contrib/System/SConscript nsis-3.09-src/Contrib/System/SConscript
+--- nsis-3.09-orig/Contrib/System/SConscript 2024-01-10 11:07:15.161175520 +0100
++++ nsis-3.09-src/Contrib/System/SConscript 2024-01-10 11:08:47.338628667 +0100
+@@ -76,4 +76,5 @@ resources = Split("""
+
+ env.Depends(res_target, resources)
+
+-env.SharedLibrary('Resource', res_target + res_main)
++resource = env.SharedLibrary('Resource', res_target + res_main)
++env.MakeReproducible(resource)
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.