Commit Graph

323 Commits

Author SHA1 Message Date
Akash Yadav
2e6546f0a9 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
c979b52474 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
cf0f786e7c fix: disallow manual version specification
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-18 01:59:32 +05:30
Akash Yadav
fe0ec3f3a3 fix: allow build date overrides using system env vars
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-18 01:59:31 +05:30
celenity
5846582046 feat: update to v138.0.3
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-13 11:59:42 -04:00
celenity
c27e817408 fix: Minor fix to patches.yaml
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-13 11:58:31 -04:00
celenity
e373b45287 feat: Include fonts at build-time (like ex. Tor Browser)
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-13 11:46:30 -04:00
celenity
8c1b38e6b7 fix: Update link for v138.0.2
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-12 18:26:12 -04:00
celenity
19f0625d62 feat: update to v138.0.2 - fixes https://gitlab.com/ironfox-oss/IronFox/-/issues/98
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-11 19:38:20 -04:00
celenity
ba69bb8dc9 feat: Disable HLS at build-time
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-11 19:36:58 -04:00
celenity
fff5af3698 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
f72886ecf8 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
faeaed193a 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
2846ac4faf fix: Limit scope of certificate pinning - unfortunately too difficult to maintain in its current state, and causing issues for users. In the future, I'd like to look into expanding this again though (and if you run/operate a website, please reach out and we'd be glad to add you!).
That being said, we still improve upon Firefox's standard certificate pinning, notably:

* We remove AffirmTrust & Entrust for Google's domains (as Google no longer uses these CAs, and in fact even plans to distrust them in Chrome entirely...)
* We pin our domains
* We pin Brave's domains (with info they provide from https://github.com/brave/brave-core/blob/master/chromium_src/net/tools/transport_security_state_generator/input_file_parsers.cc)
* We pin `aus4.mozilla.org`, `aus5.mozilla.org`, `firefox.com`, & `telemetry.mozilla.org` (which are typically only set to `test` mode, meaning they're not enforced)
* We remove the pin for `dns.google.com` (to ensure Google DNS is always available for those who use it)

Signed-off-by: celenity <celenity@celenity.dev>
2025-05-05 02:47:25 -04:00
celenity
b52a8d8b55 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
8900197a3f fix: remove version code override
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-05-02 15:20:37 +05:30
celenity
caf0d5a184 feat: update to v138.0.1
Signed-off-by: celenity <celenity@celenity.dev>
2025-05-01 12:25:32 -04:00
celenity
481b6bf485 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
a611982c2f fix: prebuild.sh
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-29 19:35:55 -04:00
celenity
80a88b8cbc fix: branding.patch
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-29 18:51:00 -04:00
Akash Yadav
02472f6be6 fix: update to v138
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-30 00:02:37 +05:30
Akash Yadav
11a09a9dc1 fix: remove extension-recommendations.patch from patches.yaml
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-29 14:55:18 +05:30
celenity
1bbe454068 fix: Allow building without legacy/unnecessary AutoConfig functionality
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-29 00:20:56 -04:00
celenity
e34324c3ef fix: Update enable-secret-settings.patch for 138
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-29 00:19:52 -04:00
Akash Yadav
0f1ea4ed4b fix(ci): ensure ANDROID_NDK always set to expected version in CI
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 18:01:43 +05:30
Akash Yadav
f75b1ff729 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
03a66c7b98 fix: do not join mach commands
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 14:44:37 +05:30
Akash Yadav
c4becd1153 fix: update build-tools to v35.0.1
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 14:39:31 +05:30
Akash Yadav
cf156e6d46 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
cf9cbda345 fix: set default NDK version to r28
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 14:33:23 +05:30
Akash Yadav
10a99760ea 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
b130ec90ad 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
28c646f7a7 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
498db97d2a fix: add warning message for rebase_patch function
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 12:39:19 +05:30
Akash Yadav
fbfe37e222 fix: remove duplicate definition of ANDROID_PACKAGE_NAME
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 12:37:54 +05:30
Akash Yadav
6fa25179fd fix: add helper function for patch rebase
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 11:56:30 +05:30
Akash Yadav
8cbe06c6d1 fix: update version for v138
Signed-off-by: Akash Yadav <itsaky01@gmail.com>
2025-04-28 11:56:30 +05:30
celenity
d280069b24 feat: Enable Proxy Bypass Protection
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:16:35 -04:00
celenity
9e54e7aa0b feat: Ensure we enable mobile optimizations
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:13:34 -04:00
celenity
de2eee82b9 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
27ce5132f0 feat: Ensure SpiderMonkey performance telemetry is disabled
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:07:04 -04:00
celenity
650da0d640 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
a2087a1e9c feat: Ensure system extensions + system policies are disabled
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 14:03:58 -04:00
celenity
a5020b79d1 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
972859f4ae feat: Disable Mozilla's GeoIP/Region Service
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 13:56:11 -04:00
celenity
b071139e5f feat: Update gecko-liberate.patch to ensure MediaDrm is disabled (and remove internal GMP sources for redundancy)
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-27 13:49:38 -04:00
celenity
f5283128cb fix: Branding
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-25 01:15:21 -04:00
celenity
4bca380db9 feat: Disable the new Unified Trust Panel by default due to phishing concerns, as it unfortunately doesn't currently display the full URL if it's too long. Hopefully we can re-enable this in the future once it's ready and this issue has been resolved.
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-24 16:13:41 -04:00
celenity
a84404b144 feat: Add toggles to enable/disable JavaScript, JIT, & WASM
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-24 04:25:17 -04:00
celenity
4f5300688a feat: Disable CSP Reporting - (We already block them by default with uBlock Origin, but this disables them on the browser level to better ensure users are always expected, especially if they ex. don't use uBlock Origin or just disable it for certain sites (or globally altogether)
Signed-off-by: celenity <celenity@celenity.dev>
2025-04-23 00:28:50 -04:00