Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Bug Report
description: Report a bug building or running Helium
description: Report a bug building or running Zephyr
labels: ["bug"]
title: "[Bug]: "
body:
Expand All @@ -11,12 +11,12 @@ body:
interacting with the entire organization.

If you suspect your bug might be specific to a certain platform (e.g. macOS),
please submit it to the relevant repository instead of the root "helium" repo.
please submit it to the relevant repository instead of the root "zephyr" repo.
- type: dropdown
id: os
attributes:
label: Operating system
description: The OS you are running Helium on
description: The OS you are running Zephyr on
options:
- macOS
- Linux
Expand All @@ -36,7 +36,7 @@ body:
options:
- label: I have tried reproducing this issue in Chrome and it could not be reproduced there
- label: I have tried reproducing this issue in ungoogled-chromium and it could not be reproduced there
- label: I have tried reproducing this issue in Helium with a new and empty profile using `--user-data-dir` command line argument and it could not be reproduced there
- label: I have tried reproducing this issue in Zephyr with a new and empty profile using `--user-data-dir` command line argument and it could not be reproduced there
- type: input
id: description
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ body:
to read that and thus your request will be closed.

If your request is for a platform-specific feature (e.g. for macOS), please
submit it to the relevant platform repo instead of the generic "helium" repo.
submit it to the relevant platform repo instead of the generic "zephyr" repo.
- type: input
id: description
attributes:
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/bump-platform/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ runs:
popd

# commit, push, make pr
TITLE="update: helium $version_after"
TITLE="update: zephyr $version_after"

git config user.name "helium-bot"
git config user.email "helium-bot@imput.net"
git config user.name "zephyr-bot"
git config user.email "zephyr-bot@users.noreply.github.com"
git add -u patches helium-chromium revision.txt

PLATFORM_HOOK="$PLATFORM_DIR/.github/bump-hook.sh"
Expand Down
4 changes: 2 additions & 2 deletions patches/helium/core/add-disable-ech-flag.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
+++ b/chrome/browser/helium_flag_entries.h
@@ -11,4 +11,9 @@
"Maximum frame rate for Energy Saver",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Zephyr flag.",
kOsDesktop, MULTI_VALUE_TYPE(helium::kEnergySaverFrameRateChoices)},
+ {helium::kDisableEchCommandLine,
+ "Disable ECH (Encrypted Client Hello)",
+ "Disables TLS Encrypted Client Hello. Not recommended unless you live in an area with heavy Internet"
+ " censorship and ECH prevents websites from loading. Helium flag.",
+ " censorship and ECH prevents websites from loading. Zephyr flag.",
+ kOsAll, SINGLE_VALUE_TYPE(helium::kDisableEchCommandLine)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/chrome/browser/ssl/ssl_config_service_manager.cc
Expand Down
2 changes: 1 addition & 1 deletion patches/helium/core/add-low-power-framerate-flag.patch
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_
+ {helium::kEnergySaverFrameRateCommandLine,
+ "Maximum frame rate for Energy Saver",
+ "Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
+ "Configures the frame rate the browser is throttled to when Energy Saver is enabled. Zephyr flag.",
+ kOsDesktop, MULTI_VALUE_TYPE(helium::kEnergySaverFrameRateChoices)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/chrome/browser/performance_manager/user_tuning/battery_saver_mode_manager.cc
Expand Down
4 changes: 2 additions & 2 deletions patches/helium/core/add-middle-click-autoscroll-flag.patch
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
+++ b/chrome/browser/helium_flag_entries.h
@@ -33,4 +33,8 @@
"Randomizes the number of cores returned by "
"`navigator.hardwareConcurrency` in a reasonable range. Helium flag.",
"`navigator.hardwareConcurrency` in a reasonable range. Zephyr flag.",
kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoiseCpuCores)},
+ {helium::kMiddleClickAutoscrollCommandLine,
+ "Middle Click Autoscroll",
+ "Enables autoscroll on middle click. Helium flag, Chromium feature.",
+ "Enables autoscroll on middle click. Zephyr flag, Chromium feature.",
+ kOsDesktop, FEATURE_VALUE_TYPE(blink::features::kHeliumMiddleClickAutoscroll)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/third_party/blink/public/common/features.h
Expand Down
8 changes: 4 additions & 4 deletions patches/helium/core/add-native-bangs.patch
Original file line number Diff line number Diff line change
Expand Up @@ -738,16 +738,16 @@
+++ b/chrome/app/settings_strings.grdp
@@ -2029,6 +2029,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE_DESCRIPTION" desc="Description of the toggle for enabling/disabling of downloading and proxying extensions">
When enabled, Helium will proxy extension downloads and updates to protect your privacy. When disabled, downloading and updating extensions will not work.
When enabled, Zephyr will proxy extension downloads and updates to protect your privacy. When disabled, downloading and updating extensions will not work.
</message>
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE" desc="Toggle for enabling/disabling of downloading bangs">
+ Allow downloading the !bangs list
+ </message>
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE_DESCRIPTION" desc="Description of the toggle for enabling/disabling of downloading bangs">
+ Helium will fetch a list of bangs that help you browse the Internet faster, such as !w or !gh. When disabled, bangs will not work.
+ Zephyr will fetch a list of bangs that help you browse the Internet faster, such as !w or !gh. When disabled, bangs will not work.
+ </message>
<message name="IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE" desc="Text input for overriding the Helium services server">
Use your own instance of Helium services
<message name="IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE" desc="Text input for overriding the Zephyr services server">
Use your own instance of Zephyr services
</message>
--- a/chrome/browser/resources/settings/privacy_page/services_page.html
+++ b/chrome/browser/resources/settings/privacy_page/services_page.html
Expand Down
4 changes: 2 additions & 2 deletions patches/helium/core/add-update-channel-flag.patch
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
#ifndef CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_
#define CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_
+ {helium::kChannelCommandLine,
+ "Update channel", "Selects which update channel to use for update checking. Helium flag.",
+ "Update channel", "Selects which update channel to use for update checking. Zephyr flag.",
+ kOsAll, MULTI_VALUE_TYPE(helium::kChannelChoices)},
{helium::kEnergySaverFrameRateCommandLine,
"Maximum frame rate for Energy Saver",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Zephyr flag.",
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -263,6 +263,8 @@ static_library("browser") {
Expand Down
10 changes: 5 additions & 5 deletions patches/helium/core/add-updater-preference.patch
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,21 @@
+++ b/chrome/app/settings_strings.grdp
@@ -2044,6 +2044,19 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_SPELLCHECK_TOGGLE_DESCRIPTION" desc="Description of the for enabling/disabling of downloading spellcheck files">
Helium will fetch dictionary files used for spell checking when requested. When disabled, spell checking will not work.
Zephyr will fetch dictionary files used for spell checking when requested. When disabled, spell checking will not work.
</message>
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_UPDATE" desc="Toggle for automatic update downloads">
+ Allow automatic browser and component updates
+ </message>
+ <if expr="is_macosx">
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_UPDATE_DESCRIPTION" desc="Description of the toggle for automatic update downloads">
+ Helium will automatically download and install browser and component updates as they become available. We recommend keeping this setting enabled to ensure you get the latest features and security updates.
+ Zephyr will automatically download and install browser and component updates as they become available. We recommend keeping this setting enabled to ensure you get the latest features and security updates.
+ </message>
+ </if>
+ <if expr="not is_macosx">
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_UPDATE_DESCRIPTION" desc="Description of the toggle for automatic update downloads">
+ Helium will automatically download and install browser and component updates as they become available. We recommend keeping this setting enabled to ensure you get the latest features and security updates. Automatic core browser updates are not available on this platform yet, but component updates are. Please use external software to keep Helium up to date.
+ Zephyr will automatically download and install browser and component updates as they become available. We recommend keeping this setting enabled to ensure you get the latest features and security updates. Automatic core browser updates are not available on this platform yet, but component updates are. Please use external software to keep Zephyr up to date.
+ </message>
+ </if>
<message name="IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE" desc="Text input for overriding the Helium services server">
Use your own instance of Helium services
<message name="IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE" desc="Text input for overriding the Zephyr services server">
Use your own instance of Zephyr services
</message>
18 changes: 9 additions & 9 deletions patches/helium/core/change-chromium-branding.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
-PRODUCT_INSTALLER_SHORTNAME=Chromium Installer
-COPYRIGHT=Copyright @LASTCHANGE_YEAR@ The Chromium Authors. All rights reserved.
-MAC_BUNDLE_ID=org.chromium.Chromium
+COMPANY_FULLNAME=The Helium Authors
+COMPANY_SHORTNAME=The Helium Authors
+PRODUCT_FULLNAME=Helium
+PRODUCT_SHORTNAME=Helium
+PRODUCT_INSTALLER_FULLNAME=Helium Installer
+PRODUCT_INSTALLER_SHORTNAME=Helium Installer
+COPYRIGHT=Copyright @LASTCHANGE_YEAR@ The Helium Authors. All rights reserved.
+MAC_BUNDLE_ID=net.imput.helium
+COMPANY_FULLNAME=The Zephyr Authors
+COMPANY_SHORTNAME=The Zephyr Authors
+PRODUCT_FULLNAME=Zephyr
+PRODUCT_SHORTNAME=Zephyr
+PRODUCT_INSTALLER_FULLNAME=Zephyr Installer
+PRODUCT_INSTALLER_SHORTNAME=Zephyr Installer
+COPYRIGHT=Copyright @LASTCHANGE_YEAR@ The Zephyr Authors. All rights reserved.
+MAC_BUNDLE_ID=io.github.quanticstudios.zephyr
MAC_CREATOR_CODE=Cr24
-MAC_TEAM_ID=
+MAC_TEAM_ID=S4Q33XPHB4
+MAC_TEAM_ID=
2 changes: 1 addition & 1 deletion patches/helium/core/component-updates.patch
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
Update error
</message>
+ <message name="IDS_COMPONENTS_SVC_STATUS_ERROR_HELIUM_SERVICES" desc="Service Status">
+ Component updates are disabled. See Helium services in settings.
+ Component updates are disabled. See Zephyr services in settings.
+ </message>
<message name="IDS_COMPONENTS_UNKNOWN" desc="Service Status">
Unknown
Expand Down
10 changes: 5 additions & 5 deletions patches/helium/core/exclude-irrelevant-flags.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// AboutFlagsHistogramTest unit test to verify this process).
};

+// Flags that either break Helium functionality or are not relevant to Helium
+// Flags that either break Zephyr functionality or are not relevant to Zephyr
+constexpr auto kExcludedFlags = base::MakeFixedFlatSet<std::string_view>({
+ // Misc UI features
+ "enable-immersive-fullscreen-toolbar",
Expand All @@ -15,20 +15,20 @@
+ "top-chrome-touch-ui",
+
+ // Google's broken canvas noising flag,
+ // replaced by Helium's fingerprinting-canvas-noise
+ // replaced by Zephyr's fingerprinting-canvas-noise
+ "enable-canvas-noise",
+
+ // Google's fingerprinting protection blocklist
+ // Helium blocks fingerprinting by default, and these don't even work
+ // Zephyr blocks fingerprinting by default, and these don't even work
+ "enable-fingerprinting-protection-blocklist",
+ "enable-fingerprinting-protection-blocklist-incognito",
+
+ // Google's experimental APIs that don't work in Helium
+ // Google's experimental APIs that don't work in Zephyr
+ // due to missing model binaries
+ "translation-api",
+ "translation-api-streaming-by-sentence",
+
+ // Misc features not relevant to Helium
+ // Misc features not relevant to Zephyr
+ "extensions-menu-access-control",
+ "extensions-collapse-main-menu",
+
Expand Down
2 changes: 1 addition & 1 deletion patches/helium/core/fixups-chrome-webstore-script.patch
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
+ return false;
+ }
+
+ el.nodeValue = el.nodeValue.replace(/\b(Google\s)?Chrome\b/, 'Helium');
+ el.nodeValue = el.nodeValue.replace(/\b(Google\s)?Chrome\b/, 'Zephyr');
+ return true;
+ } else if (el.childNodes) {
+ for (const node of el.childNodes) {
Expand Down
2 changes: 1 addition & 1 deletion patches/helium/core/keyboard-shortcuts.patch
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define IDC_WEB_APP_MENU_APP_INFO 34063
#define IDC_WEB_APP_UPGRADE_DIALOG 34064

+// Helium commands
+// Zephyr commands
+#define IDC_COPY_OR_INSPECT_SHORTCUT 34080
+
#if BUILDFLAG(IS_CHROMEOS)
Expand Down
8 changes: 4 additions & 4 deletions patches/helium/core/noise/audio.patch
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
--- a/chrome/browser/helium_flag_entries.h
+++ b/chrome/browser/helium_flag_entries.h
@@ -24,4 +24,8 @@
"[Helium Noise] Canvas pixel noising",
"Adds insignificant noise to canvas pixels during readback to deceive canvas-based fingerprinting. Helium flag.",
"[Zephyr Noise] Canvas pixel noising",
"Adds insignificant noise to canvas pixels during readback to deceive canvas-based fingerprinting. Zephyr flag.",
kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoiseCanvas)},
+ {helium::kHeliumNoiseAudioCommandLine,
+ "[Helium Noise] Jitter audio context data",
+ "Adds insignificant jitter to audio data to deceive AudioContext-based fingerprinting. Helium flag.",
+ "[Zephyr Noise] Jitter audio context data",
+ "Adds insignificant jitter to audio data to deceive AudioContext-based fingerprinting. Zephyr flag.",
+ kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoiseAudio)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/third_party/blink/common/features.cc
Expand Down
10 changes: 5 additions & 5 deletions patches/helium/core/noise/canvas.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Some files in this patch are sourced from Chromium. They were
# heavily modified to fit Helium's needs.
# heavily modified to fit Zephyr's needs.
#
# Chromium's license header is maintained wherever applicable to
# respect the original authorship of code.
Expand Down Expand Up @@ -47,12 +47,12 @@
--- a/chrome/browser/helium_flag_entries.h
+++ b/chrome/browser/helium_flag_entries.h
@@ -20,4 +20,8 @@
"Helium Noise",
"Helium's anti-fingerprinting functionality. Adds insignificant noise to various features to deceive fingerprinting scripts. Enabled by default, must be enabled for other anti-fingerprinting features to work. Helium flag.",
"Zephyr Noise",
"Zephyr's anti-fingerprinting functionality. Adds insignificant noise to various features to deceive fingerprinting scripts. Enabled by default, must be enabled for other anti-fingerprinting features to work. Zephyr flag.",
kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoise)},
+ {helium::kHeliumNoiseCanvasCommandLine,
+ "[Helium Noise] Canvas pixel noising",
+ "Adds insignificant noise to canvas pixels during readback to deceive canvas-based fingerprinting. Helium flag.",
+ "[Zephyr Noise] Canvas pixel noising",
+ "Adds insignificant noise to canvas pixels during readback to deceive canvas-based fingerprinting. Zephyr flag.",
+ kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoiseCanvas)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/third_party/blink/common/features.cc
Expand Down
10 changes: 5 additions & 5 deletions patches/helium/core/noise/core.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Some files in this patch are sourced from Chromium. They were
# heavily modified to fit Helium's needs.
# heavily modified to fit Zephyr's needs.
#
# Chromium's license header is maintained wherever applicable to
# respect the original authorship of code.
Expand Down Expand Up @@ -49,11 +49,11 @@
+++ b/chrome/browser/helium_flag_entries.h
@@ -16,4 +16,8 @@
"Disables TLS Encrypted Client Hello. Not recommended unless you live in an area with heavy Internet"
" censorship and ECH prevents websites from loading. Helium flag.",
" censorship and ECH prevents websites from loading. Zephyr flag.",
kOsAll, SINGLE_VALUE_TYPE(helium::kDisableEchCommandLine)},
+ {helium::kHeliumNoiseCommandLine,
+ "Helium Noise",
+ "Helium's anti-fingerprinting functionality. Adds insignificant noise to various features to deceive fingerprinting scripts. Enabled by default, must be enabled for other anti-fingerprinting features to work. Helium flag.",
+ "Zephyr Noise",
+ "Zephyr's anti-fingerprinting functionality. Adds insignificant noise to various features to deceive fingerprinting scripts. Enabled by default, must be enabled for other anti-fingerprinting features to work. Zephyr flag.",
+ kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoise)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/third_party/blink/common/features.cc
Expand All @@ -62,7 +62,7 @@
// `RuntimeEnabledFeatures)`, they should still be ordered in this section based
// on the identifier name of the generated feature.

+// Helium Noise; required for fingerprinting protection features.
+// Zephyr Noise; required for fingerprinting protection features.
+BASE_FEATURE(kHeliumNoise,
+ base::FEATURE_ENABLED_BY_DEFAULT);
+
Expand Down
8 changes: 4 additions & 4 deletions patches/helium/core/noise/hardware-concurrency.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
--- a/chrome/browser/helium_flag_entries.h
+++ b/chrome/browser/helium_flag_entries.h
@@ -28,4 +28,9 @@
"[Helium Noise] Jitter audio context data",
"Adds insignificant jitter to audio data to deceive AudioContext-based fingerprinting. Helium flag.",
"[Zephyr Noise] Jitter audio context data",
"Adds insignificant jitter to audio data to deceive AudioContext-based fingerprinting. Zephyr flag.",
kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoiseAudio)},
+ {helium::kHeliumNoiseCpuCoresCommandLine,
+ "[Helium Noise] Randomize number of CPU cores",
+ "[Zephyr Noise] Randomize number of CPU cores",
+ "Randomizes the number of cores returned by "
+ "`navigator.hardwareConcurrency` in a reasonable range. Helium flag.",
+ "`navigator.hardwareConcurrency` in a reasonable range. Zephyr flag.",
+ kOsAll, FEATURE_VALUE_TYPE(blink::features::kHeliumNoiseCpuCores)},
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/content/browser/helium_noise/noise_token_data.cc
Expand Down
6 changes: 3 additions & 3 deletions patches/helium/core/onboarding-page.patch
Original file line number Diff line number Diff line change
Expand Up @@ -655,13 +655,13 @@
Don't notify me again
</message>
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_SETUP_PENDING_TEXT" desc="Description shown in services settings when user has not completed onboarding">
+ Helium services are not available until setup is complete to ensure your privacy and consent.
+ Zephyr services are not available until setup is complete to ensure your privacy and consent.
+ </message>
+ <message name="IDS_SETTINGS_HELIUM_SERVICES_SETUP_PENDING_BUTTON" desc="Button label directing user to complete onboarding">
+ Complete setup
+ </message>
<message name="IDS_SETTINGS_HELIUM_SERVICES_TOGGLE" desc="Global toggle for enabling/disabling of all Helium services">
Allow connecting to Helium services
<message name="IDS_SETTINGS_HELIUM_SERVICES_TOGGLE" desc="Global toggle for enabling/disabling of all Zephyr services">
Allow connecting to Zephyr services
</message>
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
Expand Down
Loading