Commit Graph

165 Commits

Author SHA1 Message Date
Akash Yadav
7c1c2d5fb9 Revert "fix: Add (WIP) macOS build support"
This reverts commit 94ed191d85.
2025-05-18 13:27:12 +05:30
Akash Yadav
0ff671cc5b Revert "Add (WIP) macOS build support"
This reverts commit 9b410eabdb.
2025-05-18 13:27:04 +05:30
celenity
a5b50e9921 fix: Add (WIP) macOS build support
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-17 21:09:58 -04:00
celenity
766183da65 Add (WIP) macOS build support
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-17 20:58:14 -04:00
Akash Yadav
f92fb0a46c fix: invalid switch-case for variant check
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-18 02:15:13 +05:30
Akash Yadav
b25035e20b fix: update env var names to better reflect their purpose
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-18 01:59:32 +05:30
Akash Yadav
cc16f49c66 fix: disallow manual version specification
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-18 01:59:32 +05:30
celenity
5807ba450f feat: Disable PHC (Probabilistic Memory Checker - only relevant for use with the crash reporter
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-11 19:22:03 -04:00
celenity
46e4cdd90b feat: Enable the ability to replace the memory allocator implementation (replace-malloc)
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-11 19:21:02 -04:00
celenity
7f9626d249 feat: Allow configuring more preferences via the about:config (+ ensure we disable android:debuggable)
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-11 17:19:21 -04:00
celenity
bf4f77d50b feat: Update build arguments:
Most of these are related to debugging/development/testing (and likely already set elsewhere) or currently just default - but it's a good idea to set them explicitly and ensure we're always covered

Though there are a few notable exceptions that may be of interest:

`--disable-artifact-builds` - Ensures Mozilla's artifacts/prebuilds are disabled, to ensure we're building from source

`--disable-backgroundtasks` - Disables `background tasks` - currently only used for Mozilla's updater (which we disable) & telemetry

`--disable-negotiateauth` - Disables GSS-API/Negotiate authentication

`MOZ_LTO`, `MOZ_PGO`, & `RUSTC_OPT_LEVEL` - Enables various performance optimizations. This does unfortunately appear to cause builds to take longer - but I'm seeing a noticeable improvement in performance on my device, and I think optimizations like this are especially important for us to potentially help compensate for ex. disabling JIT, so I think the trade-off is probably worth it.

Signed-off-by: celenity <celenity@celenity.dev>
2025-05-04 02:56:44 -04:00
Akash Yadav
6bdff67cd6 fix: remove version code override
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-02 15:20:37 +05:30
celenity
2cab330694 feat: Update prebuild.sh per Fennec F-Droid's recent changes - 7b64e3934b
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-30 04:05:22 -04:00
celenity
0c20decdc8 fix: prebuild.sh
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-29 19:35:55 -04:00
celenity
3f2cdbfe8b fix: branding.patch
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-29 18:51:00 -04:00
Akash Yadav
d47eb764da fix: update sed command to update ConfigPlugin in android-components
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 17:47:50 +05:30
Akash Yadav
4ccca48d3b fix: update cbindgen to version 0.28.0
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 14:38:39 +05:30
Akash Yadav
9718af4790 fix: broken branding.patch
Why are we manually registering the ANDROID_PACKAGE_NAME option, when it is already registered?

Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 14:31:16 +05:30
Akash Yadav
5eedbd11b4 fix: don't specify ANDROID_PACKAGE_NAME at all
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 14:07:01 +05:30
Akash Yadav
3829b6251f fix: remove ANDROID_PACKAGE_NAME definition from branding configure.sh
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 13:35:57 +05:30
Akash Yadav
e7ff46ac39 fix: remove duplicate definition of ANDROID_PACKAGE_NAME
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 12:37:54 +05:30
celenity
5381df4827 feat: Enable Proxy Bypass Protection
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:16:35 -04:00
celenity
d0b5e747bb feat: Ensure we enable mobile optimizations
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:13:34 -04:00
celenity
4409fe56a9 feat: Disable Netscape Autoconfig/Mission Control Desktop functionality - old, unnecessary, and not relevant to us on Android anyways
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:12:33 -04:00
celenity
0a2136332e feat: Ensure SpiderMonkey performance telemetry is disabled
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:07:04 -04:00
celenity
46ae43c488 feat: Ensure more unnecessary debugging/development features are disabled at build-time
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:06:29 -04:00
celenity
0414bafb2a feat: Ensure system extensions + system policies are disabled
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:03:58 -04:00
celenity
7db781c77d fix: Fix order of build options, remove unnecessary MOZ_DISABLE_PARENTAL_CONTROLS variable (we set --disable-parental-controls), and add ANDROID_PACKAGE_NAME variable
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:02:16 -04:00
celenity
b0d578afd3 fix: Branding
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-25 01:15:21 -04:00
celenity
dcfcfc7bb8 feat: Add toggles to enable/disable JavaScript, JIT, & WASM
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-24 04:25:17 -04:00
Akash Yadav
fafdb7494e fix: use libclang from Android NDK - for bindgen
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-22 19:54:20 +05:30
celenity
68a31b31f6 feat: Take back control of all Safe Browsing preferences, meaning they're now defined in phoenix-android.js/ironfox.js (so we no longer need the configure-safe-browsing patch...), and users can now freely configure any Safe Browsing preference as desired from the about:config
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-21 22:40:23 -04:00
celenity
9067683378 feat: Harden FPP internally instead of using the privacy.fingerprintingProtection.overrides preference + provide FPP granular overrides internally with a custom Remote Settings dump instead of using the privacy.fingerprintingProtection.granularOverrides preference, making it significantly easier for users to add their own overrides if desired. Also include more Remote Settings dumps (like desktop Firefox) to ensure these dumps are available out of the box.
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-17 02:56:48 -04:00
celenity
1a6112a740 feat: Set PDF.js prefs via PdfJsOverridePrefs.js instead of using a patch
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-14 17:58:36 -04:00
celenity
2c31e7e299 feat: Enable DNS over HTTPS by default with Quad9 (w/o fallback) + expose new DNS over HTTPS UI settings & add various privacy-respecting built-in providers
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-02 03:12:44 -04:00
Akash Yadav
e7469eb5ab fix: dynamically set uBO assets URL to either 'dev' or 'main' variant
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-02 12:00:35 +05:30
celenity
bbc27b123b fix: typo
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-02 01:08:01 -04:00
celenity
0a416ab6b6 fix: Temporarily remove DoH UI settings, as it doesn't yet appear to be fully implemented/production ready, so let's control this with prefs (like we currently do) to prevent unexpected behavior
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-01 21:06:42 -04:00
celenity
6d599f5f86 fix: prebuild.sh
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-01 20:07:14 -04:00
celenity
d3ea1fbd50 fix: Take back control of network.http.http3.enable_kyber & security.tls.enable_kyber
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-01 15:25:30 -04:00
celenity
75ba2bee4e fix: Remove network.trr prefs from prebuild.sh in favor of the new UI settings
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-01 14:19:57 -04:00
celenity
0b07c648be feat: Take back control of various non-UI facing preferences from GeckoRuntimeSettings - this defers the values of these preferences to what we set them to in the phoenix/ironfox .js files, allows users to override them via the about:config without them being reset at every launch, and allows us to remove/simplify most of our patches...
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-01 14:19:56 -04:00
Akash Yadav
f17da61ccc fix: update android-components version in application-services
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-01 19:17:46 +05:30
celenity
fe8b7f3edb feat: Replace Mozilla's list of 'initial experiments' with our own (currently just includes our Fission toggle) + clean-up enable-fission.patch
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-30 14:52:17 -04:00
celenity
09f6de5492 feat: Remove unnecessary assets for the "Mozilla Android Components - Ads Telemetry" & "Mozilla Android Components - Search Telemetry" extensions & the config for 'search telemetry'...
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-30 14:37:30 -04:00
celenity
34b4d87ff4 feat: Enable access to about:config when using MOZILLA_OFFICIAL
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-30 14:34:29 -04:00
celenity
39d073032e feat: Use MOZILLA_OFFICIAL for builds to ensure we're not enabling settings for debugging/development - https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/27623
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-30 14:26:44 -04:00
celenity
9f31e2c9af feat: Update branding for GeckoView (ex. shown at about:buildconfig, about:debugging, & about:support)
Signed-off-by: celenity <celenity@celenity.dev>
2025-03-30 14:22:29 -04:00
Akash Yadav
cca00f68a2 fix: arguments missing to sed 2025-03-27 02:38:51 +05:30
Akash Yadav
b608b40b5e fix: explicity specify directories in gecko to patch for glean telemetry 2025-03-27 02:12:10 +05:30