Compare commits

...

492 Commits

Author SHA1 Message Date
Mauro Balades
92959769df Merge branch 'main' of https://github.com/zen-browser/core 2024-08-24 17:52:51 +02:00
Mauro Balades
e4d56fd7d9 chore: Disable multilingual dictionary download 2024-08-24 17:52:46 +02:00
mauro-balades
b77f864668 🔖 Update version to 1.0.0-a.29 2024-08-24 14:52:37 +00:00
mauro 🤙
e02a44b20b Merge pull request #545 from Moshyfawn/main
Align Theme Store layout
2024-08-24 16:51:53 +02:00
Mauro Balades
eb2d91256f Update l10n submodule commit 2024-08-24 16:50:56 +02:00
Mauro Balades
ff9876ebac Update l10n submodule commit 2024-08-24 16:50:28 +02:00
moshyfawn
d6ddb542e9 Merge branch 'main' into main 2024-08-24 10:12:19 -04:00
Mauro Balades
8ba6ba14e8 refactor: Update ZenKeyboardShortcuts to use gZenUIManager.createValidXULText for key attribute 2024-08-24 15:17:11 +02:00
Mauro Balades
6c58c9d61c remove test 2024-08-24 14:40:02 +02:00
Mauro Balades
6f0609dd8c test 2024-08-24 14:39:35 +02:00
Mauro Balades
ebba41c735 chore: Remove MOZ_CRASHREPORTER option from mozconfig 2024-08-24 14:39:19 +02:00
Mauro Balades
65e040d987 Update l10n submodule commit 2024-08-24 14:31:39 +02:00
Mauro Balades
29a85db998 Update l10n submodule commit 2024-08-24 14:14:05 +02:00
Mauro Balades
d50a745e95 Update l10n submodule commit 2024-08-24 13:59:17 +02:00
mauro 🤙
a5854174c7 Merge pull request #570 from n7itro/patch-1
fix 2 obsolete/broken links
2024-08-24 13:46:21 +02:00
nitro
5ef37aa079 fix 2 obsolete/broken links
Thanks for adding me btw!
2024-08-24 13:45:24 +02:00
mauro 🤙
4c622d1429 Merge pull request #567 from lamteteeow/patch-1
Fix performance.md typo
2024-08-24 13:04:38 +02:00
Mauro Balades
5593e7c437 Fixed hovering tabs, changing the viewport width 2024-08-24 13:04:03 +02:00
Lam Tran
940bbae367 Update performance.md
just typo
2024-08-24 12:52:31 +02:00
Mauro Balades
4d8558929c chore: Update zen-compact-mode.css for improved navigation toolbar styling 2024-08-24 12:33:18 +02:00
Mauro Balades
c05547248f chore: Update l10n submodule commit 2024-08-24 12:18:20 +02:00
Mauro Balades
1a5e788476 chore: Update @zen-browser/surfer dependency to version 1.3.4 2024-08-24 12:01:59 +02:00
mauro 🤙
0af7b8b5b6 Merge pull request #557 from dewantawsif/chore/feature-request-template-improvement
Improve the feature request issue template
2024-08-24 11:45:20 +02:00
Mauro Balades
95e444c31c chore: Update @zen-browser/surfer dependency to version 1.3.3 2024-08-24 10:49:36 +02:00
Dewan Tawsif
b011ad3de9 Improve the feature request issue template 2024-08-24 14:15:15 +06:00
Mauro Balades
ff188e0e1c chore: Update zen-compact-mode.css for improved navigation toolbar styling 2024-08-24 10:08:37 +02:00
moshyfawn
5ef88531d2 fix(Settings, Look and Feel): theme store box alignment
Closes #544
2024-08-24 00:02:31 -04:00
Mauro Balades
410c875151 remove test 2024-08-24 02:31:06 +02:00
Mauro Balades
bbad093d64 test 2024-08-24 02:30:48 +02:00
Mauro Balades
e7103f1d87 chore: Update l10n submodule commit 2024-08-24 02:28:42 +02:00
mauro 🤙
d9c3973b9d Merge pull request #535 from Lenni-builder/patch-1
Fix typo/error in README
2024-08-24 01:13:40 +02:00
Mauro Balades
d65681505d chore: Update l10n submodule commit 2024-08-24 00:14:20 +02:00
Lenni
739eff84f2 Fix typo/error in README 2024-08-24 00:04:49 +02:00
Mauro Balades
d5e7d0c36f chore: Update @zen-browser/surfer dependency to version 1.3.1 2024-08-23 22:49:51 +02:00
Mauro Balades
90ca6ea99a chore: Update l10n submodule commit 2024-08-23 22:40:46 +02:00
Mauro Balades
fdb4696066 chore: Update zen-components submodule commit 2024-08-23 22:28:39 +02:00
Mauro Balades
22a5dcddf3 chore: Update zen-components submodule commit 2024-08-23 19:57:18 +02:00
Mauro Balades
47ba86f211 Fixed workspaces (closes #439) 2024-08-23 19:53:35 +02:00
Mauro Balades
e2e7756649 chore: Update l10n submodule path in mozconfig and package.json 2024-08-23 16:56:16 +02:00
Mauro Balades
85b605db14 chore: Add submodule for l10n packs 2024-08-23 15:20:08 +02:00
Mauro Balades
cf48a52949 chore: Add multi-locale support to mozconfig 2024-08-23 14:32:24 +02:00
Mauro Balades
dfde0f4baa feat: Add horizontal tabs style for Zen browser 2024-08-23 13:30:50 +02:00
Mauro Balades
31b41329f2 Added support for multitab splitting with the shortcuts 2024-08-23 12:55:16 +02:00
Mauro Balades
f856d9db6d Merge branch 'main' of https://github.com/zen-browser/core 2024-08-23 12:27:47 +02:00
Mauro Balades
4187e20fbc Split views now add missing tabs to the group 2024-08-23 12:27:08 +02:00
mauro 🤙
54b4f6e932 Merge pull request #464 from gunir/patch-6
Disable Edge font style for Mac and Linux
2024-08-23 09:03:50 +02:00
Gunir
bcabada80e Update zen-browser.js 2024-08-23 11:16:13 +07:00
Gunir
5c1decc77b Disable Edge font style for Mac
Disable Edge font style for Mac
2024-08-23 08:27:02 +07:00
mauro 🤙
04af43909e Update README.md 2024-08-23 01:32:38 +02:00
mauro 🤙
e808443631 Update vertical-tabs.css 2024-08-22 23:14:57 +02:00
Mauro Balades
a47023e0f3 Reverted back version 2024-08-22 20:36:56 +02:00
Mauro Balades
ae9c99c7bc Fixed changing workspaces again 2024-08-22 20:34:42 +02:00
Mauro Balades
187688e6ea Fixed closing workspaces 2024-08-22 20:23:49 +02:00
mauro-balades
7854e26823 🔖 Update version to 1.0.0-a.29 2024-08-22 14:32:49 +00:00
Mauro Balades
d38eb962de Added support for mode branding icons! 2024-08-22 16:24:36 +02:00
mauro 🤙
b2c2a134b0 Merge pull request #400 from Donnnno/assets
new assets
2024-08-22 16:12:39 +02:00
Mauro Balades
4874b4a1cd Merge branch 'main' of https://github.com/zen-browser/core 2024-08-22 16:11:36 +02:00
Mauro Balades
983e85033f Added "open split view in new tab" context menu button 2024-08-22 16:11:31 +02:00
mauro-balades
38e6f075f4 🔖 Update version to 1.0.0-a.28 2024-08-22 12:05:32 +00:00
Mauro Balades
4146ad0936 Focus URL bar on startup 2024-08-22 14:04:21 +02:00
Mauro Balades
cf2435081a chore: Update browser preferences for content blocking and update check time 2024-08-22 13:28:23 +02:00
Mauro Balades
e6f8eede34 -Started working on translations 2024-08-22 12:41:55 +02:00
Mauro Balades
72f76608b6 Fixed #426 2024-08-22 12:09:03 +02:00
Mauro Balades
4eb07c762a Fixed license link 2024-08-22 11:04:34 +02:00
Mauro Balades
bbb4b64940 chore: Update subproject commit reference in zen-components 2024-08-22 10:49:59 +02:00
Mauro Balades
cac80a2985 Fixed top padding for compact sidebar 2024-08-22 10:21:41 +02:00
Mauro Balades
ca1a63dbf1 Fixed sidebar shortcuts 2024-08-22 10:15:24 +02:00
Mauro Balades
31fb9296c7 chore: Update zen-browser-container.css for webview border radius 2024-08-22 09:50:44 +02:00
mauro 🤙
7dd3e08409 Merge pull request #402 from dewantawsif/fix/bug-report-template-name
[skip ci] Fix "Bug Report" issue template name
2024-08-21 23:19:34 +02:00
Dewan Tawsif
b537e5566a [skip ci] Fix "Bug Report" issue template name 2024-08-22 03:13:28 +06:00
Mauro Balades
5dd2a90f46 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-21 23:11:00 +02:00
Mauro Balades
034f351ac6 Update subproject commit reference in zen-components 2024-08-21 23:10:54 +02:00
Donno
195b215f5b oops 2024-08-21 22:48:31 +02:00
Donno
74d1385566 new assets 2024-08-21 22:40:28 +02:00
mauro-balades
957fe60a3d 🔖 Update version to 1.0.0-a.27 2024-08-21 20:07:59 +00:00
Mauro Balades
5ac6cf4465 chore: Update vertical tabs order in zen-tabs CSS 2024-08-21 20:55:58 +02:00
Mauro Balades
29d9c85923 chore: Update subproject commit reference in zen-components 2024-08-21 20:48:15 +02:00
Mauro Balades
78729d44de chore: Disable mozilla's settings in zen-preferences.css 2024-08-21 20:32:44 +02:00
Mauro Balades
483bee452e chore: Update subproject commit reference in zen-components 2024-08-21 20:23:43 +02:00
Mauro Balades
8a87e3a0af Enabled JPEG XL 2024-08-21 09:44:21 +02:00
Mauro Balades
07283e1050 chore: Improve compact mode and vertical tabs styling 2024-08-21 09:40:27 +02:00
mauro-balades
1eaf6e49ef 🔖 Update version to 1.0.0-a.26 2024-08-20 20:22:04 +00:00
Mauro Balades
c40d56b3b8 chore: Update @zen-browser/surfer dependency to version 1.2.14 2024-08-20 22:20:36 +02:00
mauro 🤙
ed7ad501b7 Merge pull request #357 from Donnnno/the-icon-fixening
windows icons fix
2024-08-20 22:17:12 +02:00
Donno
964e0733b1 ff64 2024-08-20 22:06:30 +02:00
Mauro Balades
c319a83d58 refactor: Update ZenWorkspaces to enable setting default workspace and opening workspaces 2024-08-20 22:00:49 +02:00
Mauro Balades
4589c543da chore: Update CSS to improve compact mode and vertical tabs styling 2024-08-20 21:36:56 +02:00
Donno
0c3930425a windows icons fix 2024-08-20 20:56:14 +02:00
mauro-balades
2f790586b2 🔖 Update version to 1.0.0-a.25 2024-08-20 16:10:22 +00:00
Mauro Balades
7d3b47f4f6 chore: Update vertical-tabs.css to set max-width to 100% 2024-08-20 18:09:14 +02:00
Mauro Balades
69a1e0f1b9 chore: Refactor zen-settings.js to improve preference handling 2024-08-20 18:00:23 +02:00
Mauro Balades
f78ad97710 Update Firefox version to 129.0.2 2024-08-20 17:44:43 +02:00
Mauro Balades
984e29f4cd chore: Remove unnecessary Python 3.12 commands and files from macOS alpha build workflow 2024-08-20 14:00:23 +02:00
Mauro Balades
72c535b039 chore: Update macOS alpha build workflow to remove unnecessary Python 3.12 commands and files 2024-08-20 13:59:23 +02:00
Mauro Balades
000c41038d chore: Update macOS alpha build workflow to install Python 3.11 and add watchman 2024-08-20 13:17:21 +02:00
Mauro Balades
776c9f69d5 chore: Update macOS alpha build workflow to bootstrap the engine with --no-system-changes flag 2024-08-20 12:31:01 +02:00
Mauro Balades
b38acdd8be chore: Update vertical-tabs.css to set max-width to 100% 2024-08-20 12:23:47 +02:00
Mauro Balades
c8ad6cb70e chore: Update macOS alpha build workflow to remove unnecessary Python 3.12 commands and files 2024-08-20 12:04:21 +02:00
Mauro Balades
bb6113f221 chore: Update macOS alpha build workflow to completely uninstall python3 and python3.12 with --ignore-dependencies flag 2024-08-20 11:33:43 +02:00
Mauro Balades
83d91ea38c chore: Update zen-compact-mode.css to fix padding and titlebar width 2024-08-20 11:30:51 +02:00
Mauro Balades
481687bdab chore: Update macOS alpha build workflow to install Python 3.11 instead of Python 3.12 2024-08-20 11:14:02 +02:00
Mauro Balades
47f91322f6 chore: Update macOS alpha build workflow to remove unnecessary Python 3.12 commands and files 2024-08-20 10:22:34 +02:00
Mauro Balades
4549ac3671 chore: Update padding-left in vertical-tabs.css to use variable 2024-08-20 10:16:20 +02:00
Mauro Balades
7ec8523c95 chore: Update macOS alpha build workflow to remove unnecessary Python 3.12 commands and files 2024-08-20 10:02:59 +02:00
Mauro Balades
1bd8f37381 chore: Update zen-components submodule to commit f5d5bc9 2024-08-20 09:31:07 +02:00
Mauro Balades
fa7a0ac661 chore: Update macOS alpha build workflow to remove unnecessary commands and install Python 3.12 and bootstrap the engine 2024-08-20 09:24:00 +02:00
Mauro Balades
8f800f5134 chore: Update macOS alpha build workflow to install Python 3.12 and bootstrap the engine 2024-08-20 01:46:32 +02:00
Mauro Balades
9cdfc864b3 chore: Update zen-components submodule to commit 8926b7c 2024-08-20 01:30:22 +02:00
Mauro Balades
b2b3fb0b07 chore: Update macOS alpha build workflow to uninstall python3 and python3.12 with --ignore-dependencies flag 2024-08-20 01:26:59 +02:00
Mauro Balades
c92931e005 chore: Update padding-left in vertical-tabs.css to use variable 2024-08-20 01:24:46 +02:00
Mauro Balades
7c82ce5c23 chore: Update submodules to latest versions 2024-08-20 01:24:04 +02:00
Mauro Balades
f36613e7e8 chore: Uninstall python3 and python3.12 in macOS alpha build workflow 2024-08-20 01:11:11 +02:00
Mauro Balades
71c131032b update submodules 2024-08-20 01:05:09 +02:00
Mauro Balades
81a8715b7b chore: Update zen-theme.css for improved URL bar background color 2024-08-20 00:53:47 +02:00
Mauro Balades
5599000d33 chore: Remove idle3.12 from macOS alpha build workflow 2024-08-20 00:42:57 +02:00
Mauro Balades
8cdf09daa0 chore: Remove idle3 from macOS alpha build workflow 2024-08-20 00:17:33 +02:00
Mauro Balades
fc6a70162b chore: Update Windows theming for better scrollbar appearance 2024-08-20 00:13:51 +02:00
Mauro Balades
bc109d33c8 chore: Remove unnecessary Python version and 2to3-3.12 file in macOS alpha build workflow 2024-08-19 23:58:35 +02:00
Mauro Balades
9f10b74af5 chore: Update macOS alpha build workflow and Python version to 3.11 2024-08-19 23:39:59 +02:00
Mauro Balades
a65753d9a0 chore: Update macOS alpha build workflow 2024-08-19 23:12:58 +02:00
Mauro Balades
234f116964 Fix indentation issue in MacOSInstaller.svg 2024-08-19 22:26:11 +02:00
mauro-balades
6b34aa9d3d 🔖 Update version to 1.0.0-a.24 2024-08-19 18:32:52 +00:00
Mauro Balades
3939aa8809 chore: Update @zen-browser/surfer dependency to version 1.2.12 2024-08-19 20:30:01 +02:00
Mauro Balades
de5f73a9e6 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-19 19:43:38 +02:00
Mauro Balades
26a9e255c1 Added paltform specific preferences for themes 2024-08-19 19:43:33 +02:00
mauro 🤙
b50ed3a2d5 Merge pull request #331 from Donnnno/about-icon
Update firefox.svg
2024-08-19 19:40:22 +02:00
Donno
0900c27d2b Update firefox.svg 2024-08-19 19:38:54 +02:00
Mauro Balades
ae723290d7 chore: Update ZenUIManager to set sidebar-expanded.on-hover to false when compact mode is enabled 2024-08-19 19:17:43 +02:00
mauro 🤙
1834fe2177 Merge pull request #329 from n7itro/zen-hide-mute-button
chore: hide mute button on collapsed inactive tabs
2024-08-19 19:13:01 +02:00
mauro 🤙
3d6707fe21 Merge branch 'main' into zen-hide-mute-button 2024-08-19 19:12:53 +02:00
mauro 🤙
7e3eba280b Merge pull request #326 from n7itro/main
Centered expand tab sidebar button
2024-08-19 19:11:42 +02:00
Mauro Balades
cba262e090 feat: Add expand on hover functionality for tabs 2024-08-19 19:10:44 +02:00
nitro
b187c9383b removed effect shadow on button press 2024-08-19 17:48:14 +02:00
nitro
e7013c4db4 hide mute button on collapsed inactive tabs
Closes #322
2024-08-19 17:31:24 +02:00
Mauro Balades
1b5881c0fb Added expand on hover for tabs! 2024-08-19 17:25:00 +02:00
mauro 🤙
66d8d4bd71 Merge pull request #327 from Donnnno/icon
Update io.github.zen_browser.zen.yml.template
2024-08-19 14:52:57 +02:00
Donno
552a3c3cac Update io.github.zen_browser.zen.yml.template 2024-08-19 14:52:06 +02:00
nitro
fb58c42938 chore: remove unintended button shadow
Tested with Browser Toolbox
2024-08-19 14:46:52 +02:00
nitro
7a4a7681b9 centered expand tab sidebar button 2024-08-19 14:36:15 +02:00
mauro 🤙
5a3a383cde Tried to improve performance 2024-08-19 09:14:36 +00:00
mauro 🤙
5943be1b39 Merge pull request #316 from n7itro/main
Removed unused "awesome bar"
2024-08-18 18:55:49 +02:00
nitro
136993f203 Removed unused "awesome bar"
The "Awesome Bar Settings" in Look and Feel don't appear to do anything, so can they be removed?
2024-08-18 18:53:13 +02:00
mauro 🤙
afc3eb7ee6 updated surfer 2024-08-18 15:41:19 +00:00
mauro-balades
c073febc29 🔖 Update version to 1.0.0-a.23 2024-08-18 15:26:45 +00:00
mauro 🤙
85842227aa added kofi funding 2024-08-18 15:13:21 +00:00
mauro 🤙
66ac0b9812 Merge branch 'main' of https://github.com/zen-browser/desktop 2024-08-18 15:11:13 +00:00
mauro 🤙
3c2d617771 added cofi button 2024-08-18 15:11:00 +00:00
mauro 🤙
03c0e70173 Merge pull request #311 from n7itro/main
Changed marketplace to store
2024-08-18 16:14:23 +02:00
nitro
f65888f5f4 Changed marketplace to store
More consistent naming as mentioned in visual issue 9 in issue 304
2024-08-18 16:12:07 +02:00
mauro 🤙
0f0cc0e03a Merge pull request #308 from n7itro/main
Fixed tab background overlapping
2024-08-18 15:38:02 +02:00
nitro
d7fe28886c Removed !important 2024-08-18 15:37:45 +02:00
nitro
1d017d1dea Fixed tab background overlapping
Added bottom margin to tabs so tab backgrounds don't overlap with each other. Closes #303
2024-08-18 15:31:36 +02:00
Mauro Balades
1479679cb6 chore: Update network preferences and buffers 2024-08-18 12:09:30 +02:00
Mauro Balades
8c6b26b6f9 chore: Update network preferences and buffers 2024-08-18 11:56:34 +02:00
Mauro Balades
3783625818 chore: Update optimize options in mozconfig for Windows 2024-08-18 11:55:41 +02:00
Mauro Balades
0a5e803550 Update zen-components subproject commit 2024-08-18 00:51:40 +02:00
Mauro Balades
a8980ae3ef fix: Fix checkbox behavior in zen-settings.js and update styles in zen-preferences.css 2024-08-17 19:41:18 +02:00
Mauro Balades
02fe8a0d0b chore: Update optimize options in mozconfig for Windows 2024-08-17 19:11:21 +02:00
Mauro Balades
5700c61b17 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-17 18:56:52 +02:00
Mauro Balades
21930a9bf9 chore: Update optimize options in mozconfig for Windows 2024-08-17 18:56:46 +02:00
mauro-balades
e044f7d547 🔖 Update version to 1.0.0-a.22 2024-08-17 16:42:41 +00:00
Mauro Balades
1e4dea86bb chore: Update dependencies and configurations 2024-08-17 18:41:50 +02:00
Mauro Balades
e737c55c74 chore: Confirm theme removal before uninstalling
```
2024-08-17 17:26:06 +02:00
Mauro Balades
2c4cb2edd5 Fixed icons 2024-08-17 17:20:57 +02:00
Mauro Balades
ca6f3d882c Update zen-components subproject commit 2024-08-17 17:07:06 +02:00
Mauro Balades
eea7e43ff8 chore: Update sandbox configuration and padding in vertical-tabs.css 2024-08-17 15:28:10 +02:00
Mauro Balades
dec1fdd369 chore: Update zen-browser.js and related files 2024-08-17 13:13:39 +02:00
Mauro Balades
01ec0092a2 chore: Comment out the POLLY environment variable in mozconfig 2024-08-17 11:03:52 +02:00
Mauro Balades
8af7418f3f chore: Update media memory cache max size to 512000 2024-08-17 11:02:31 +02:00
Mauro Balades
4589a22790 chore: Remove unnecessary margin-top in vertical-tabs.css 2024-08-17 10:34:35 +02:00
Mauro Balades
15ecc5b8d4 chore: Update vertical-tabs.css to fix padding issue 2024-08-17 10:31:25 +02:00
mauro 🤙
6c25279107 Merge pull request #291 from gunir/patch-4
Better scrollbar for Windows
2024-08-17 10:24:24 +02:00
Gunir
979760a841 Update zen-browser.js 2024-08-17 08:34:51 +07:00
Mauro Balades
c52853251d chore: Update zen-components subproject commit 2024-08-17 02:17:25 +02:00
Mauro Balades
7b23af1d76 chore: Update zen-components subproject commit 2024-08-17 02:15:15 +02:00
Mauro Balades
ec9804314d chore: Update zen-components subproject commit 2024-08-17 01:32:50 +02:00
Mauro Balades
b1d13f947d chore: Update zen-components subproject commit 2024-08-17 01:31:37 +02:00
Mauro Balades
f558aee231 chore: Update zen-components subproject commit 2024-08-16 23:23:04 +02:00
mauro-balades
9d8c91809e 🔖 Update version to 1.0.0-a.21 2024-08-16 21:21:19 +00:00
Mauro Balades
24400237a0 chore: Update zen-components subproject commit 2024-08-16 23:20:11 +02:00
Mauro Balades
6b766db159 chore: Update zen-components subproject commit 2024-08-16 22:44:31 +02:00
Mauro Balades
37297d9c9f chore: Update zen-components subproject commit 2024-08-16 22:43:47 +02:00
Mauro Balades
6c90e9726f chore: Update zen-sidebar.css to hide the navigator toolbox when location and toolbar are hidden 2024-08-16 22:35:45 +02:00
Mauro Balades
fe54849453 chore: Update alpha.yml workflow to include windows-step-2 dependency 2024-08-16 22:26:59 +02:00
Mauro Balades
df693676b7 chore: Update zen-assets.jar.inc.mn and zen-components subproject commit 2024-08-16 22:12:00 +02:00
Mauro Balades
77a539243d Updated logos 2024-08-16 20:37:36 +02:00
Mauro Balades
075ae9a459 chore: Update Firefox version to 129.0.1 in README.md and surfer.json 2024-08-16 20:31:36 +02:00
Mauro Balades
8f8bc5a9be Update Windows profile build workflow to use Expand-Archive cmdlet for extracting profile data 2024-08-16 20:23:17 +02:00
Mauro Balades
81225c05ee chore: Update Windows profile build workflow to use Expand-Archive cmdlet for extracting profile data 2024-08-16 20:17:26 +02:00
Mauro Balades
3d6fc9ea7a chore: Update padding in vertical-tabs.css for better alignment 2024-08-16 17:30:15 +02:00
Mauro Balades
2d6660aa4d chore: Update alpha.yml workflow to include windows-step-2 dependency 2024-08-16 17:02:24 +02:00
Mauro Balades
739d1b1f59 chore: Update Windows profile build workflow 2024-08-16 17:00:19 +02:00
Mauro Balades
8cd17adbf5 chore: Update gitattributes to include *.patch files for C++ language 2024-08-16 16:49:19 +02:00
Mauro Balades
60984fefb9 chore: Update logo attribution in README.md 2024-08-16 13:40:51 +02:00
Mauro Balades
99b9448f2c chore: Update subproject commit in zen-components 2024-08-16 13:38:32 +02:00
Mauro Balades
abf7ec6c1d chore: Update margin-top in zen-compact-mode.css and vertical-tabs.css for consistent spacing and better alignment 2024-08-16 12:26:12 +02:00
Mauro Balades
13515a5458 chore: Enable EME widevine support and update theme data 2024-08-16 11:54:05 +02:00
Mauro Balades
3b9a96e330 Update media cache preferences in better-fox.js 2024-08-16 10:06:20 +02:00
Mauro Balades
c4db4b2bd9 chore: Update margin-top in zen-compact-mode.css for consistent spacing 2024-08-16 09:37:47 +02:00
Mauro Balades
f5b42396b0 chore: Update padding in vertical-tabs.css for better alignment 2024-08-16 09:36:35 +02:00
Mauro Balades
fd627a25d5 chore: Update better-fox.js preferences for HTTPS-first policy, password handling, and mixed content settings 2024-08-16 09:29:36 +02:00
mauro 🤙
31c0cf5074 Update zen-browser.js 2024-08-15 22:45:41 +02:00
Mauro Balades
d8d8ffa438 chore: Update DNS thread count in better-fox.js 2024-08-15 22:17:59 +02:00
Mauro Balades
45d43c0666 chore: Update macOS mozconfig to optimize for Nehalem architecture 2024-08-15 20:22:16 +02:00
Mauro Balades
cd62640086 chore: Enable ALSA and PulseAudio support in Linux mozconfig 2024-08-15 19:35:43 +02:00
Mauro Balades
6cf7fe90b8 chore: Remove floating URL bar feature 2024-08-15 19:17:21 +02:00
Mauro Balades
edca28339b chore: Update mozconfig files to enable ALSA support in common mozconfig and Linux mozconfig 2024-08-15 19:07:49 +02:00
Mauro Balades
bd28d7439e chore: Enable WebAssembly SIMD support in common mozconfig and disable unnecessary features in Linux mozconfig 2024-08-15 18:54:09 +02:00
Mauro Balades
f6e486ba17 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-15 18:06:12 +02:00
Mauro Balades
48e0dbe68a Update Zen theme CSS to use CSS variables for element separation 2024-08-15 18:06:05 +02:00
mauro-balades
ae67b53276 🔖 Update version to 1.0.0-a.20 2024-08-15 14:57:19 +00:00
Mauro Balades
48ee6519a5 Update Zen theme CSS to use CSS variables for element separation 2024-08-15 16:52:11 +02:00
Mauro Balades
b607473973 Update Windows mozconfig and vertical-tabs.css 2024-08-15 16:45:32 +02:00
Mauro Balades
c46aa247c7 Update Zen theme CSS to use CSS variables for element separation 2024-08-15 16:26:25 +02:00
Mauro Balades
5a72ca7703 chore: Fixed compact mode 2024-08-15 15:52:46 +02:00
Mauro Balades
7e00a28ba9 chore: Update Zen theme CSS to use CSS variables for element separation 2024-08-15 15:35:53 +02:00
mauro 🤙
b590535343 Merge pull request #272 from gunir/patch-2
Disable Reader Mode's parse on load
2024-08-15 15:34:22 +02:00
Gunir
6309853dd6 Disable Reader Mode's parse on load (costs extra CPU after page load, Reader Mode works fine just lazier)
Disable Reader Mode's parse on load (costs extra CPU after page load, Reader Mode works fine just lazier)
2024-08-15 20:31:16 +07:00
Mauro Balades
b584bb2d4e chore: Update Zen theme CSS to use CSS variables for element separation 2024-08-15 14:26:05 +02:00
Mauro Balades
e0712d80a4 chore: Update Zen theme CSS to use CSS variables for element separation 2024-08-14 23:26:13 +02:00
Mauro Balades
bc291c99c3 chore: Update Zen theme CSS to use CSS variables for element separation 2024-08-14 22:27:52 +02:00
Mauro Balades
6c802b75fa chore: Update Zen theme CSS to use CSS variables for element separation 2024-08-14 21:01:56 +02:00
Mauro Balades
797d3c1766 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-14 20:14:49 +02:00
Mauro Balades
844a329be5 chore: Update macOS mozconfig and Zen theme CSS 2024-08-14 20:14:41 +02:00
mauro-balades
fb6cbc0e23 🔖 Update version to 1.0.0-a.19 2024-08-14 14:24:39 +00:00
Mauro Balades
e64d8a4fd2 chore: Update Zen theme CSS to add context menu option for changing tab(s) to workspace 2024-08-14 15:56:18 +02:00
Mauro Balades
8c90f378d7 chore: Add welcome.css to Zen theme styles 2024-08-14 14:32:05 +02:00
mauro 🤙
7a0d962e62 Merge pull request #255 from zen-browser/styles-rewrite
chore: Update Zen theme CSS to improve dialog dimensions and browser …
2024-08-14 14:07:35 +02:00
Mauro Balades
92f3db6633 chore: Update Zen theme CSS to improve dialog dimensions and browser gradient 2024-08-14 14:06:53 +02:00
mauro 🤙
d5abc0dd48 Merge pull request #254 from zen-browser/styles-rewrite
Styles rewrite
2024-08-14 13:38:34 +02:00
Mauro Balades
36e7fdad8b Remove unused CSS files related to Zen theme 2024-08-14 13:37:40 +02:00
Mauro Balades
194056007a Fixed pinned tabs 2024-08-14 13:14:37 +02:00
Mauro Balades
3bfbcf64e3 chore: Update CSS display properties for Zen styles 2024-08-14 13:06:43 +02:00
Mauro Balades
5f9f555083 chore: Added third party code 2024-08-14 10:42:04 +02:00
Mauro Balades
5cd5db6b3e Added !important to in-content colors 2024-08-14 10:37:33 +02:00
Mauro Balades
b596d7b466 Remove unused CSS files related to Zen theme 2024-08-14 10:08:41 +02:00
Mauro Balades
d2d3d39464 Remove unused CSS files related to Zen theme 2024-08-13 21:58:52 +02:00
Mauro Balades
4087d82922 Remove unused CSS files related to Zen theme 2024-08-13 21:57:35 +02:00
Mauro Balades
5a9c4a6666 Remove unused CSS files related to Zen theme 2024-08-13 21:03:35 +02:00
Mauro Balades
33ef14c3d8 Remove unused CSS files related to Zen theme 2024-08-13 19:17:29 +02:00
Mauro Balades
ad9c9c6141 Remove unused CSS files related to Zen theme 2024-08-13 18:23:28 +02:00
Mauro Balades
19ccd0760a Remove unused CSS files related to Zen theme 2024-08-13 18:19:30 +02:00
Mauro Balades
e474815d7e Remove unused CSS files related to Zen theme 2024-08-13 16:43:15 +02:00
Mauro Balades
8cdc29f1e8 Remove unused CSS files related to Zen theme 2024-08-13 16:39:46 +02:00
Mauro Balades
a08c1567eb chore: Lock telemetry and experiment preferences 2024-08-13 16:35:19 +02:00
mauro 🤙
bc7df76629 Merge pull request #239 from Pdzly/main
feat: Add warning for changing the languages requested
2024-08-13 15:02:47 +02:00
rooki
c049059911 chore: reverted the formatting 2024-08-13 09:58:01 +02:00
rooki
8c0082bcf0 chore: Moved warning directly into html 2024-08-13 09:11:14 +02:00
rooki
db4a9b41cc feat: Add warning for changing the languages requested 2024-08-13 08:46:53 +02:00
mauro-balades
f85794b47d 🔖 Update version to 1.0.0-a.18 2024-08-12 08:22:57 +00:00
Mauro Balades
83dcaa3e54 feat: Add preference for dimming pending tabs in Zen browser theme 2024-08-12 10:22:10 +02:00
Mauro Balades
af75d67b30 chore: Refactor Zen theme modifier, fix notification deck placement, and update tab styling 2024-08-12 10:18:00 +02:00
Mauro Balades
cedd505a09 chore: Refactor Zen theme modifier and fix notification deck placement 2024-08-12 09:41:22 +02:00
Mauro Balades
1a450ebc72 chore: Update flatpak configuration and install scripts 2024-08-11 20:09:08 +02:00
mauro-balades
a395fe34d0 🔖 Update version to 1.0.0-a.17 2024-08-11 15:09:41 +00:00
Mauro Balades
e604372a9f chore: Remove unnecessary device flag in flatpak configuration 2024-08-11 17:08:49 +02:00
Mauro Balades
d5e8babaf2 chore: Update pane title for Looks And Feel in Zen preferences 2024-08-11 17:05:43 +02:00
Mauro Balades
650337f9b5 chore: Update tab styling in Zen browser theme 2024-08-11 17:01:31 +02:00
Mauro Balades
aa4d950be1 Update bytecode cache strategy for experimental Zen features 2024-08-11 16:55:47 +02:00
Mauro Balades
c2dd526195 chore: Remove annoying top border in Windows browser theme 2024-08-11 16:17:43 +02:00
mauro 🤙
5df2cce01c Merge pull request #220 from GunGunGun/patch-1
Update zen-browser.js to enable Browser Toolbox by default
2024-08-11 16:16:02 +02:00
Mauro Balades
aba58af1da Fix default user agent and min width for compact mode 2024-08-11 16:12:59 +02:00
Gun
c6455e86ef Update zen-browser.js to enable Browser Toolbox by default
Update zen-browser.js to enable Browser Toolbox by default
2024-08-11 21:02:58 +07:00
Mauro Balades
c57db962f8 chore: Update Zen browser components submodule commit reference and improve flatpak configuration and fixed tabs not fully closing 2024-08-11 13:37:46 +02:00
mauro 🤙
bd449faf05 Merge pull request #213 from Samueru-sama/main
`alpha.yml` include zsync file in release
2024-08-11 11:15:29 +02:00
mauro 🤙
cf3f673c35 Update alpha.yml 2024-08-11 09:24:43 +02:00
Samuel
27386c608e alpha.yml Use full path for zsync file 2024-08-10 22:00:51 -04:00
Samuel
14b7d97579 alpha.yml Add zsync files to uploads 2024-08-10 19:58:09 -04:00
Samuel
16b5521087 alpha.yml include zsync file in release 2024-08-10 19:34:29 -04:00
mauro 🤙
903f73f7d5 Fixed flatpak file 2024-08-10 18:35:43 +00:00
mauro 🤙
f4e3bfdb9e Delete io.github.zen_browser.zen.yml 2024-08-10 20:30:03 +02:00
Mauro Balades
7276f8a885 chore: Update Zen browser components submodule commit reference and improve flatpak configuration 2024-08-10 18:19:00 +02:00
Mauro Balades
f96981e84b chore: Remove wasm sandboxed libraries option from mozconfig 2024-08-10 14:15:20 +02:00
Mauro Balades
5cb8d5356a chore: Update optimization flags in mozconfig for Linux and Windows 2024-08-10 14:05:21 +02:00
Mauro Balades
241614f9e8 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-10 13:08:35 +02:00
Mauro Balades
6b0e5f6b30 chore: Update Windows mozconfig for better optimization and compatibility 2024-08-10 13:08:28 +02:00
mauro-balades
ea6512aee3 🔖 Update version to 1.0.0-a.16 2024-08-10 11:05:41 +00:00
Mauro Balades
7205aaa360 chore: Update Windows mozconfig for better optimization and compatibility 2024-08-10 13:05:05 +02:00
Mauro Balades
ee5b193785 chore: Update Zen browser components submodule commit reference 2024-08-10 13:01:49 +02:00
Mauro Balades
d54b59554c chore: Update network preferences for better performance 2024-08-10 12:25:06 +02:00
Mauro Balades
8d33db3c15 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-10 10:53:11 +02:00
Mauro Balades
c77110efec chore: Update Zen browser components submodule commit reference and improve compact mode 2024-08-10 10:52:57 +02:00
mauro 🤙
0dac0afc9d Merge pull request #208 from Samueru-sama/main
`alpha.yml` add zsync update to appimage
2024-08-10 09:53:31 +02:00
Samuel
f515fd9566 alpha.yml add zsync update to appimage 2024-08-10 00:18:30 -04:00
Mauro Balades
c67554a5e5 chore: Update Zen browser components submodule commit reference and add toggle web panels feature 2024-08-09 23:25:13 +02:00
Mauro Balades
fb7b6f05f2 chore: Update min-width of navigator-toolbox in Zen browser theme 2024-08-09 23:10:35 +02:00
Mauro Balades
1553348812 chore: Update tabbrowser-tabs grid-template-columns to use var(--tab-min-height) 2024-08-09 22:47:24 +02:00
Mauro Balades
2035706c2a chore: Update Zen browser components submodule commit reference and fixed compact mode 2024-08-09 22:38:37 +02:00
Mauro Balades
be8a7ef6a4 chore: Enable keyboard shortcuts in Zen browser settings 2024-08-09 16:28:06 +02:00
Mauro Balades
ab0e82790b Merge branch 'main' of https://github.com/zen-browser/core 2024-08-09 14:24:25 +02:00
Mauro Balades
0527f8b788 chore: Worked on keyboard shortcuts 2024-08-09 14:24:20 +02:00
mauro 🤙
b07759dab6 Merge pull request #192 from Samueru-sama/patch-1
`alpha.yml` use zstd compression for appimage, drop libfuse2 dependency.
2024-08-09 08:27:47 +02:00
Samuel
e552564ba0 alpha.yml use zstd compression for appimage.
This change also gets rid of the `libfuse2` dependency.
2024-08-09 00:11:55 -04:00
Mauro Balades
2264c5f67d chore: Add ZenThemeBuilder component for customizing browser theme 2024-08-09 00:00:27 +02:00
Mauro Balades
cc024a4528 Started working on keyboard shortcuts 2024-08-08 17:44:45 +02:00
Mauro Balades
4402ed8fc1 chore: Remove max-width from navigator-toolbox in Zen browser theme 2024-08-08 14:22:09 +02:00
Mauro Balades
0c07a44dc6 chore: Update Zen browser components submodule commit reference 2024-08-08 14:14:44 +02:00
Mauro Balades
1e368f6f0f Fixed hidden tabs still showing 2024-08-08 13:35:11 +02:00
Mauro Balades
5b50649739 chore: Update Zen browser components submodule commit reference 2024-08-08 11:23:50 +02:00
Mauro Balades
5718798e81 chore: Update Zen browser components submodule commit reference 2024-08-08 11:22:44 +02:00
Mauro Balades
fd0fbc7fb6 chore: Update Zen browser components submodule commit reference 2024-08-08 11:20:09 +02:00
Mauro Balades
87801ca3be Update Zen browser components submodule commit reference 2024-08-08 11:15:38 +02:00
Mauro Balades
80d0bbcdff chore: Update Zen browser components submodule commit reference 2024-08-08 11:14:49 +02:00
Mauro Balades
84a1ea31e5 test 2 2024-08-08 10:34:49 +02:00
Mauro Balades
7758bdabce test 2024-08-08 10:33:22 +02:00
Mauro Balades
0de414158b chore: Update Zen browser components submodule commit reference 2024-08-07 23:23:39 +02:00
mauro-balades
03b3436025 🔖 Update version to 1.0.0-a.15 2024-08-07 20:30:28 +00:00
Mauro Balades
d250c34d41 chore: Update Zen browser components submodule commit reference 2024-08-07 22:29:24 +02:00
Mauro Balades
ec2466ca02 chore: Update Zen browser components submodule commit reference 2024-08-07 22:28:49 +02:00
Mauro Balades
fc5bd615f4 Allow sidebar to be aligned to the right 2024-08-07 21:04:36 +02:00
Mauro Balades
1e1d78a874 chore: Update zen-sidebar-panels.css to include 100% height for web panels 2024-08-07 20:05:52 +02:00
Mauro Balades
d3287ce216 chore: Update tab button styling to hide tabs without fading effect 2024-08-07 19:55:40 +02:00
Mauro Balades
fb6845f651 chore: Update Zen browser components submodule commit reference 2024-08-07 19:44:19 +02:00
Mauro Balades
e50d16b0cf chore: Update tab button styling with min-width property 2024-08-07 19:36:33 +02:00
Mauro Balades
246a6d60da chore: Update tab button styling with min-width property 2024-08-07 19:33:21 +02:00
mauro 🤙
6f7a6faf90 Fix 2024-08-07 11:26:04 +00:00
mauro 🤙
3f1bdfe50d Fix runners 2024-08-07 09:49:24 +00:00
Mauro Balades
537b20d2dc chore: Update Zen browser components submodule commit reference 2024-08-07 11:15:14 +02:00
Mauro Balades
d810608a8c chore: Remove unused set-global-vars.sh script and update MOZ_APP_UA_NAME in moz-build.patch 2024-08-07 10:02:12 +02:00
mauro 🤙
20b6203851 Merge pull request #175 from NOCanoa/main
domain update
2024-08-07 08:38:29 +02:00
NOCanoa
9474fa3f3c domain update
update all the get-zen.versel.app to www.zen-browser.app
btw, you need to update the link on repo
2024-08-07 01:03:24 +01:00
Mauro Balades
5dfaef2594 chore: Enable persisting credentials in GitHub workflows for Linux, macOS, and Windows builds 2024-08-07 00:28:13 +02:00
Mauro Balades
8005aa1f43 chore: Enable persisting credentials in GitHub workflows 2024-08-07 00:26:41 +02:00
Mauro Balades
cd234259f7 chore: Enable persisting credentials in GitHub workflows
The `persist-credentials` option has been added to the GitHub workflows for Linux, macOS, and Windows builds. This ensures that the credentials used for deployment are persisted across workflow runs, improving the setup process for new users and ensuring that all necessary dependencies are included.
2024-08-07 00:23:55 +02:00
mauro-balades
df26d06d12 🔖 Update version to 1.0.0-a.14 2024-08-06 22:13:35 +00:00
Mauro Balades
1265cd623e chore: Update Zen browser components submodule commit reference 2024-08-07 00:12:59 +02:00
Mauro Balades
de19bdf2b4 Update Zen browser components submodule commit reference 2024-08-07 00:06:45 +02:00
Mauro Balades
056f70a6fa chore: Update ZenProfileDialogUI file extension to .mjs 2024-08-06 20:23:36 +02:00
Mauro Balades
08e7a92223 chore: Update Zen browser components submodule commit reference 2024-08-06 20:18:48 +02:00
Mauro Balades
5316ff8e47 chore: Update Zen browser components submodule commit reference 2024-08-06 20:14:03 +02:00
Mauro Balades
214e290af3 chore: Update Zen browser components submodule commit reference 2024-08-06 12:35:21 +02:00
Mauro Balades
0499ba0004 chore: Refactor ZenViewSplitter to use async/await for openSplitViewPanel 2024-08-06 12:11:06 +02:00
Mauro Balades
a513d95aad chore: Add lazy loading for UI elements in split view 2024-08-06 12:04:59 +02:00
Mauro Balades
fd556f8186 chore: Update Zen browser components submodule commit reference
The commit reference for the Zen browser components submodule has been updated to 856de195c8433a63199a4bc067e9b7dcc485feff. This ensures that the latest version of the submodule is included when cloning the main repository. The change improves the setup process for new users and ensures that all necessary dependencies are included.
2024-08-06 11:46:35 +02:00
Mauro Balades
c61eb6d28a chore: Update git clone command to include recursive flag
The git clone command in the README.md file has been updated to include the `--recursive` flag. This flag ensures that the Zen browser components submodule is cloned along with the main repository. This change improves the setup process for new users and ensures that all necessary dependencies are included.
2024-08-06 11:30:44 +02:00
Mauro Balades
3c04945df6 chore: Add Zen browser components submodule
Add a new submodule for Zen browser components in the src/browser/base/content directory. The submodule is sourced from the Zen Browser Components repository on GitHub.
2024-08-06 11:30:35 +02:00
mauro 🤙
c27168953a Merge pull request #171 from NOCanoa/main
Update performance
2024-08-06 01:49:58 +02:00
NOCanoa
33e731dfe5 . 2024-08-06 00:46:30 +01:00
NOCanoa
fdd05926ab Update performance.md 2024-08-06 00:43:51 +01:00
NOCanoa
ccd40b544a Update README.md 2024-08-05 16:32:12 +01:00
Mauro Balades
0aa9d8c6ed Added links to the readme :P 2024-08-05 14:53:29 +02:00
Mauro Balades
eef45c8007 Pathetic. 2024-08-05 14:11:56 +02:00
Mauro Balades
9ce7c60d4a Added license checks 2024-08-05 13:31:49 +02:00
Mauro Balades
79701ed6dc chore: Update sidebar margin in Zen browser theme 2024-08-05 12:25:39 +02:00
Mauro Balades
a90e5f3456 chore: Update Windows mozconfig with AVX flag
Update the Windows mozconfig file to include the AVX flag for optimization. This will improve performance on machines that support AVX instructions. The previous version of the file had a typo in the AVX flag, which has been corrected in this commit.
2024-08-05 11:54:04 +02:00
Mauro Balades
a933c5b9bd Fixed text for closing tabs (closes #83) 2024-08-05 11:48:26 +02:00
Mauro Balades
9968d550ae chore: Update ZenUIManager and Zen browser theme 2024-08-05 11:37:37 +02:00
mauro-balades
3e17c3c1e2 🔖 Update version to 1.0.0-a.13 2024-08-04 23:07:42 +00:00
Mauro Balades
2d72365dbd chore: Update ZenUIManager and Zen browser theme 2024-08-05 01:06:01 +02:00
Mauro Balades
d61186a042 chore: Update StartupWMClass to zen-alpha in zen.desktop 2024-08-05 00:45:23 +02:00
Mauro Balades
33ba2f25cd chore: Update flatpak release process 2024-08-05 00:15:59 +02:00
Mauro Balades
3e4d69a012 chore: Update flatpak release process 2024-08-05 00:10:53 +02:00
Mauro Balades
c27f4767db chore: Update Python version to 3.x 2024-08-04 23:39:18 +02:00
Mauro Balades
6740a7a610 chore: Update flatpak release process 2024-08-04 23:10:24 +02:00
Mauro Balades
c00eb07484 test 2024-08-04 23:03:59 +02:00
Mauro Balades
1b72b68a47 test 2024-08-04 22:46:40 +02:00
Mauro Balades
0ac10f2c03 chore: Update flatpak release process 2024-08-04 22:45:05 +02:00
Mauro Balades
0b824acd20 test 2024-08-04 22:31:11 +02:00
Mauro Balades
b37b2e656a Fixed flatpak 2024-08-04 22:30:16 +02:00
Mauro Balades
36d6abda0d chore: Update flatpak release process 2024-08-04 21:50:36 +02:00
Mauro Balades
07893e79fe test 2024-08-04 21:47:50 +02:00
Mauro Balades
d8a9cabb2b chore: Update flatpak release process 2024-08-04 21:46:52 +02:00
Mauro Balades
9729f8d84e test 2024-08-04 21:37:04 +02:00
Mauro Balades
641c709f5d test 4 2024-08-04 21:34:09 +02:00
Mauro Balades
be45bdb83f test 3 2024-08-04 21:14:09 +02:00
Mauro Balades
2773bd4850 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-04 21:12:03 +02:00
Mauro Balades
a0e95e7748 chore: Update flatpak release process
```
2024-08-04 21:11:58 +02:00
mauro 🤙
b90e50ed87 Merge pull request #159 from Veriiix/patch-2
Update performance.md
2024-08-04 21:00:23 +02:00
Jannik
9c8b0081c0 Update performance.md 2024-08-04 20:59:22 +02:00
Mauro Balades
bb1cd6097b test 3 2024-08-04 20:49:30 +02:00
Mauro Balades
1496f3addc test 2 2024-08-04 20:46:37 +02:00
Mauro Balades
a2bd16a210 test build 2024-08-04 20:42:53 +02:00
Mauro Balades
26e158072e chore: Created automatic flatpak releases 2024-08-04 20:40:28 +02:00
Mauro Balades
84a5f05eb6 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-04 20:10:02 +02:00
Mauro Balades
79967edb22 Fixed customize mode 2024-08-04 20:09:57 +02:00
mauro 🤙
53644a4ba0 Merge pull request #153 from NOCanoa/main
👀 v2 xD
2024-08-04 18:34:25 +02:00
NOCanoa
01df43fdc5 Update performance.md 2024-08-04 17:08:14 +01:00
NOCanoa
b524ec7569 Update performance.md 2024-08-04 17:05:53 +01:00
NOCanoa
eea0a8aee7 Merge branch 'main' of https://github.com/NOCanoa/desktop-zen 2024-08-04 16:52:14 +01:00
Mauro Balades
498c909756 Improved performance 2024-08-04 14:09:36 +02:00
Mauro Balades
661dcbb9f9 Update welcome dialog thanks message 2024-08-04 13:34:57 +02:00
mauro-balades
c2e8b2790c 🔖 Update version to 1.0.0-a.12 2024-08-04 11:03:20 +00:00
Mauro Balades
14da8cd9e7 chore: Update sidebar close-on-blur preference handling 2024-08-04 13:02:25 +02:00
Mauro Balades
741cfd7af4 chore: Update mozconfig to allow loading unsigned extensions 2024-08-04 12:46:52 +02:00
Mauro Balades
fa6911df5e chore: Update backdrop-filter blur value in zen-browser-shared.css 2024-08-04 12:41:23 +02:00
Mauro Balades
4e61ab5e98 chore: Update ZenSidebarManager to fix panel handling and data persistence 2024-08-04 12:27:44 +02:00
Mauro Balades
3900908ed7 Fixed pinned tabs 2024-08-04 12:01:13 +02:00
Mauro Balades
3cd21f5516 Reworked on compact mode 2024-08-04 11:53:47 +02:00
Mauro Balades
29411d02d5 chore: Update padding for searchList cards in welcome.css 2024-08-04 11:21:37 +02:00
Mauro Balades
ab5cf96bf1 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-04 11:04:41 +02:00
Mauro Balades
d60d4e888a chore: Update Windows build configuration with WebAssembly optimizations, also added persistent storage for sidebar 2024-08-04 11:04:34 +02:00
mauro 🤙
9998f93942 Update zenThemeModifier.js 2024-08-04 00:34:27 +02:00
Mauro Balades
76b2b55eda chore: Update padding for searchList cards in welcome.css 2024-08-03 22:48:14 +02:00
Mauro Balades
b224616b43 chore: Update macOS build configuration with optimized flags 2024-08-03 22:02:20 +02:00
Mauro Balades
236c4160fc chore: Update performance test results with latest version 2024-08-03 21:40:15 +02:00
Mauro Balades
7e3c44846d chore: Update performance test results with latest version 2024-08-03 20:33:50 +02:00
Mauro Balades
b1709c757a chore: Update arrow panel menu item margin in panelUI-shared.css 2024-08-03 19:57:54 +02:00
Mauro Balades
65841d2085 chore: Update artifact names and paths in build workflows 2024-08-03 19:46:08 +02:00
NOCanoa
58f18098f7 Update Performance.md 2024-08-03 18:41:48 +01:00
NOCanoa
e31d49ec36 Update Performance.md 2024-08-03 18:39:43 +01:00
Mauro Balades
3454ca6336 chore: Update artifact names and paths in build workflows 2024-08-03 15:29:52 +02:00
Mauro Balades
bd5c242c8c chore: Update welcome page with gradient background and noise effect 2024-08-03 14:00:55 +02:00
Mauro Balades
86f8b91fdb chore: Update macOS options in bug report template 2024-08-03 12:05:58 +02:00
Mauro Balades
3d57cff39b chore: Update landing page with Flathub badge 2024-08-03 10:34:38 +02:00
Mauro Balades
7b40eba9b7 chore: Remove swap space configuration from macOS alpha build workflow 2024-08-03 10:25:52 +02:00
Mauro Balades
57ac6c1b37 chore: Set swap space for macOS alpha build workflow 2024-08-03 10:17:05 +02:00
Mauro Balades
d7630b258a Refactor build workflows to improve artifact naming and paths 2024-08-03 10:15:57 +02:00
Mauro Balades
0883536f75 feat: Add overflow hidden and transition to navbar container 2024-08-03 07:46:26 +02:00
Mauro Balades
6e2b4b17e6 chore: Update artifact names and paths in build workflows 2024-08-03 07:40:32 +02:00
Mauro Balades
38e4a7150c chore: Update mozconfig to disable profile generation and use cross profile for Windows builds 2024-08-03 00:40:45 +02:00
mauro 🤙
052774c5c3 Merge pull request #137 from NOCanoa/main
emty line removed
2024-08-02 20:46:20 +02:00
NOCanoa
18055e09d9 emty line removed 2024-08-02 19:44:55 +01:00
mauro-balades
e24dcdb6ac 🔖 Update version to 1.0.0-a.11 2024-08-02 15:16:29 +00:00
Mauro Balades
e3774d666f chore: Update mozconfig to disable profile generation and use cross profile for Windows builds 2024-08-02 17:14:11 +02:00
Mauro Balades
ec1eef6159 chore: Disable deleteMenuItem for default workspaces in ZenWorkspaces.mjs 2024-08-02 17:07:52 +02:00
Mauro Balades
6862e6cbc6 chore: Update sidebar-expanded max-width preference and UI styling 2024-08-02 17:05:43 +02:00
Mauro Balades
639806e13f chore: Update workflows to include check-release job in alpha.yml 2024-08-02 16:36:18 +02:00
Mauro Balades
ef01c86d7c chore: Update CSS class name for titlebar button container 2024-08-02 15:10:18 +02:00
Mauro Balades
e32d9cad92 chore: Update workflows to include check-release job in alpha.yml 2024-08-02 15:07:14 +02:00
mauro 🤙
3b5e401899 Merge pull request #133 from bdbch/bdbch/fix-issue-template
Remove broken labels key in bug_report issue template
2024-08-02 14:25:40 +02:00
bdbch
3bfdb7e3db Remove broken labels key in bug_report issue template 2024-08-02 14:18:54 +02:00
Mauro Balades
e567dee12f Fixed windows alpha workflow 2024-08-02 13:28:29 +02:00
Mauro Balades
c55fadc889 chore: Update build configurations to enable AVX optimization for different architectures 2024-08-02 13:27:02 +02:00
Mauro Balades
33d2954e93 chore: Remove multiple option from platform label in feature request template 2024-08-02 11:28:58 +02:00
Mauro Balades
9304b51391 chore: Update feature request template 2024-08-02 11:23:49 +02:00
Mauro Balades
0347ead8a1 chore: Remove unused focus ring preferences in zen-browser.js 2024-08-02 11:13:28 +02:00
Mauro Balades
9fd9883c8f chore: Update .github/ISSUE_TEMPLATE/bug_report.yml to remove labels 2024-08-02 11:12:22 +02:00
Mauro Balades
01e99f6f3d chore: Update .github/ISSUE_TEMPLATE/config.yml to disable blank issues 2024-08-02 11:11:43 +02:00
Mauro Balades
259072a5e5 chore: Add workflow to clear cache 2024-08-02 10:58:35 +02:00
Mauro Balades
5079bb6364 chore: Remove unused include statement in zen-browser.js 2024-08-02 10:55:17 +02:00
Mauro Balades
37bc8f5f65 chore: Update macOS build configuration to enable install strip and strip debug symbols 2024-08-02 10:47:01 +02:00
Mauro Balades
4f97d66443 chore: Update welcome page CSS and build configurations 2024-08-02 09:19:32 +02:00
Mauro Balades
8e19e74894 chore: Update build configurations to enable AVX optimization for different architectures 2024-08-02 09:11:57 +02:00
Mauro Balades
babc34cc90 chore: Remove .DirIcon file from AppDir in alpha.yml workflow 2024-08-02 08:38:27 +02:00
Mauro Balades
c2f97454ac chore: Update macOS build configuration to enable install strip and strip debug symbols 2024-08-02 08:36:48 +02:00
Mauro Balades
7de872b4dd chore: Disable LTO in macOS build configuration 2024-08-02 00:51:59 +02:00
Mauro Balades
dc5992bdc7 chore: Update Linux build artifact name to include generic or specific based on matrix value 2024-08-02 00:28:12 +02:00
Mauro Balades
453c9fef53 chore: Update CSS and build configurations for welcome page 2024-08-02 00:23:13 +02:00
Mauro Balades
5d946db186 chore: Update welcome page CSS and build configurations 2024-08-01 22:10:58 +02:00
Mauro Balades
406f11dd9a chore: Update dependencies and build configurations for compatibility with x32 architecture 2024-08-01 22:04:34 +02:00
Mauro Balades
be1efb2ac5 chore: Separated mac icons to windows/linux 2024-08-01 20:32:03 +02:00
Mauro Balades
6c4b3aa6f9 chore: Update build configurations to enable install strip and strip debug symbols 2024-08-01 19:51:37 +02:00
Mauro Balades
2975d5c645 chore: Update Windows build configuration to support x32 architecture 2024-08-01 18:48:16 +02:00
Mauro Balades
97ce6bae00 chore: Update Windows build configuration to install dos2unix 2024-08-01 18:29:10 +02:00
Mauro Balades
b659bfd5e6 chore: Update Windows build configuration to fix dos2unix issue 2024-08-01 18:12:02 +02:00
Mauro Balades
81f88c2c21 chore: Update Windows build configuration for compatibility with x32 architecture 2024-08-01 18:10:47 +02:00
Mauro Balades
5bbbefb2a7 chore: Update Windows build configuration for compatibility with x32 architecture 2024-08-01 17:08:46 +02:00
Mauro Balades
ea5c42674e chore: Update bug report and feature request templates 2024-08-01 16:25:44 +02:00
Mauro Balades
ad2e2f6b24 chore: Add compatibility install step for x32 architecture 2024-08-01 16:10:53 +02:00
Mauro Balades
3333fe22d2 chore: Update build configurations for Linux, macOS, and Windows 2024-08-01 15:44:41 +02:00
Mauro Balades
349b33c115 chore: Update build configurations for Linux, macOS, and Windows 2024-08-01 15:08:54 +02:00
Mauro Balades
2c0b34e666 chore: Update macOS build matrix to include different architectures and OS versions 2024-08-01 14:17:25 +02:00
Mauro Balades
84bc2c3c89 Merge branch 'main' of https://github.com/zen-browser/core 2024-08-01 14:15:48 +02:00
Mauro Balades
2927b58924 Here we go! 2024-08-01 14:15:43 +02:00
mauro 🤙
a6aa7e3eae Merge pull request #118 from NOCanoa/main
Another update xD
2024-07-31 23:04:50 +02:00
mauro 🤙
d67e1e5b3e Merge pull request #119 from Veriiix/patch-1
Added Speedometer3.0 scores
2024-07-31 23:04:25 +02:00
Jannik
09b808b18a Added Speedometer3.0 scores 2024-07-31 21:04:18 +02:00
NOCanoa
deaa0e2781 Merge branch 'zen-browser:main' into main 2024-07-31 19:57:40 +01:00
NOCanoa
3140931cdb Update Performance.md 2024-07-31 19:56:37 +01:00
mauro 🤙
084d70e68d Merge pull request #117 from NOCanoa/main
Aded the performance.md
2024-07-31 20:11:49 +02:00
NOCanoa
ac3df15a57 Merge branch 'zen-browser:main' into main 2024-07-31 19:08:52 +01:00
NOCanoa
6688fff000 Create Performance.md 2024-07-31 19:08:27 +01:00
mauro 🤙
33ff028509 Merge pull request #116 from Samueru-sama/patch-1
`alpha.yml` fix missing .DirIcon in AppImage
2024-07-31 20:03:23 +02:00
Samuel
e2ca345dea alpha.yml fix missing .DirIcon in AppImage 2024-07-31 13:27:15 -04:00
Mauro Balades
b17fb12715 Fix issue with active tab not being set correctly in ZenViewSplitter 2024-07-31 13:33:14 +02:00
Mauro Balades
51bd006bd1 chore: Update alpha build workflow to disable prerelease flag 2024-07-31 11:46:37 +02:00
Mauro Balades
4fc321292f chore: Update URL bar background color and toolbar field focus background color 2024-07-31 11:28:41 +02:00
Mauro Balades
ea3c6e7131 chore: Update AppImage build process and dependencies 2024-07-31 11:20:20 +02:00
Mauro Balades
234f4ecfed chore: Add floating URL bar preference to theme settings 2024-07-31 11:19:49 +02:00
Mauro Balades
d5164f05a5 Move security button to the right in zenThemeModifier.js 2024-07-31 10:46:36 +02:00
Mauro Balades
ae2aa202de chore: Update @zen-browser/surfer dependency to version 1.1.17 2024-07-31 08:56:38 +02:00
Mauro Balades
940ce6a6d7 chore: Update AppImage build process and dependencies 2024-07-31 08:20:55 +02:00
mauro-balades
edf17c7eed 🔖 Update version to 1.0.0-a.10 2024-07-31 06:05:20 +00:00
Mauro Balades
2f668de97d chore: Update @zen-browser/surfer dependency to version 1.1.16 2024-07-31 08:04:18 +02:00
Mauro Balades
73dea3ad96 chore: Update @zen-browser/surfer dependency to version 1.1.15 2024-07-31 01:14:29 +02:00
mauro-balades
2171635145 🔖 Update version to 1.0.0-a.9 2024-07-30 22:41:03 +00:00
Mauro Balades
935fcd9153 chore: Update @zen-browser/surfer dependency to version 1.1.14 2024-07-31 00:40:17 +02:00
Mauro Balades
a9bfa4dd26 chore: Update @zen-browser/surfer dependency to version 1.1.13 2024-07-31 00:38:04 +02:00
Mauro Balades
2dc59efd99 chore: Update @zen-browser/surfer dependency to version 1.1.5 2024-07-30 23:55:19 +02:00
Mauro Balades
b1a3f97592 chore: Update Xvfb installation check in alpha-build.sh 2024-07-30 23:04:06 +02:00
Mauro Balades
3bd2d169b4 chore: Adjust margins in browserSidebarContainer 2024-07-30 22:39:08 +02:00
Mauro Balades
fc8a501e73 chore: Update mozconfig to optimize build with higher optimization level and AVX target feature 2024-07-30 21:29:35 +02:00
Mauro Balades
32a3ad96ee chore: Update zen-browser-shared.css to adjust margins in browserSidebarContainer 2024-07-30 20:47:37 +02:00
Mauro Balades
3f684745ee I cant believe this 2024-07-30 20:10:54 +02:00
Mauro Balades
13f1daf465 revert 2024-07-30 18:11:21 +02:00
Mauro Balades
28c84d971d Update RUSTFLAGS in mozconfig to include target feature +sse3 2024-07-30 18:10:17 +02:00
Mauro Balades
9251970257 chore: Update @zen-browser/surfer dependency to version 1.1.11 2024-07-30 17:56:24 +02:00
Mauro Balades
a3fd8d17ba Deal with it 2024-07-30 16:58:36 +02:00
Mauro Balades
17fea1b017 Fixed pinned tabs not being aligned (closes #110) 2024-07-30 16:48:48 +02:00
Mauro Balades
b11c0d8700 chore: Update @zen-browser/surfer dependency to version 1.1.9 2024-07-30 16:26:23 +02:00
Mauro Balades
86aca3144f Update CFLAGS, CXXFLAGS, and RUSTFLAGS in mozconfig 2024-07-30 16:06:38 +02:00
Mauro Balades
11890a70c0 chore: Update zen-browser-shared.css to hide the introduction panel when the current panel is set in ZenSidebarManager 2024-07-30 00:37:48 +02:00
542 changed files with 9743 additions and 4770 deletions

2
.gitattributes vendored Normal file
View File

@@ -0,0 +1,2 @@
*.patch linguist-language=C++

1
.github/FUNDING.yml vendored
View File

@@ -1,2 +1,3 @@
patreon: zen_browser
ko_fi: zen_browser

View File

@@ -1,6 +1,5 @@
name: Bug Report
description: File a bug report
labels: [bug]
body:
- type: markdown
attributes:
@@ -51,7 +50,8 @@ body:
multiple: true
options:
- Linux
- macOS
- macOS - aarch64
- macOS - Intel
- Windows
validations:
required: true
@@ -60,4 +60,4 @@ body:
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
render: shell

View File

@@ -1 +1 @@
blank_issues_enabled: true
blank_issues_enabled: false

View File

@@ -1,20 +0,0 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature_request
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

View File

@@ -0,0 +1,18 @@
name: Feature Request
description: File a feature request
labels:
- "kind: enhancement"
body:
- type: textarea
id: feature-description
attributes:
label: What feature would you like to see?
description: Please describe the feature you would like to see.
placeholder: I would like to see…
validations:
required: true
- type: textarea
id: other-details
attributes:
label: Other details
placeholder: Add any additional details about the feature request here.

View File

@@ -30,8 +30,11 @@ jobs:
with:
node-version: 20
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Install pnpm
run: npm install -g pnpm
@@ -87,8 +90,10 @@ jobs:
with:
node-version: 20
- name: Checkout
uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Install pnpm
run: npm install -g pnpm
@@ -125,20 +130,22 @@ jobs:
source:
if: false
permissions:
contents: write
runs-on: ubuntu-latest
needs: [build-data]
needs: [build-data, check-release]
environment: production
steps:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup git
run: |
@@ -185,6 +192,7 @@ jobs:
# needs: [build-data]
# permissions:
# contents: write
# secrets: inherit
# with:
# build-version: ${{ needs.build-data.outputs.version }}
# generate-gpo: true
@@ -195,6 +203,7 @@ jobs:
# uses: ./.github/workflows/windows-profile-build.yml
# permissions:
# contents: write
# secrets: inherit
# needs: [windows-step-1, build-data]
# with:
# build-version: ${{ needs.build-data.outputs.version }}
@@ -205,6 +214,7 @@ jobs:
uses: ./.github/workflows/windows-alpha-build.yml
permissions:
contents: write
secrets: inherit
needs: [build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
@@ -215,6 +225,7 @@ jobs:
uses: ./.github/workflows/linux-alpha-build.yml
permissions:
contents: write
secrets: inherit
needs: [build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
@@ -224,20 +235,89 @@ jobs:
uses: ./.github/workflows/macos-alpha-build.yml
permissions:
contents: write
secrets: inherit
needs: [build-data]
with:
build-version: ${{ needs.build-data.outputs.version }}
appimage:
name: AppImage build - Linux ${{ matrix.generic == true && 'generic' || 'specific' }}
permissions:
contents: write
runs-on: ubuntu-latest
strategy:
matrix:
generic: [true, false]
needs: [linux]
steps:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Install dependencies
run: |
npm install -g pnpm
sudo apt-get update
sudo apt-get -y install libfuse2 desktop-file-utils
- name: Download linux build
uses: actions/download-artifact@v4
with:
name: zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2
- name: Execute AppImage build
run: |
set -eux
rm AppDir/.DirIcon || true
cp configs/branding/alpha/logo128.png AppDir/usr/share/icons/hicolor/128x128/apps/zen.png
cp configs/branding/alpha/logo128.png AppDir/zen.png && ln -s zen.png AppDir/.DirIcon
APPDIR=AppDir
tar -xvf *.tar.* && rm -rf *.tar.*
mv zen/* $APPDIR/
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage
chmod +x *.AppImage
chmod +x ./AppDir/AppRun
echo "AppDir: $APPDIR"
ls -al
find .
ls -al "$APPDIR"
ARCH=x86_64 ./appimagetool-x86_64.AppImage --comp zstd --mksquashfs-opt -Xcompression-level --mksquashfs-opt 10 \
-u "gh-releases-zsync|$GITHUB_REPOSITORY_OWNER|desktop|latest|zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage.zsync" \
"$APPDIR" zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
mkdir dist
mv zen*AppImage* dist/.
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
path: ./dist/zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage
- name: Upload artifact (ZSync)
uses: actions/upload-artifact@v4
with:
name: zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage.zsync
path: ./dist/zen-${{ matrix.generic == true && 'generic' || 'specific' }}.AppImage.zsync
release:
if: ${{ github.event.inputs.create_release == 'true' }}
permissions: write-all
name: Release
needs: [build-data, linux, source, windows-step-3, check-release, mac]
needs: [build-data, linux, windows-step-3, check-release, mac, appimage]
runs-on: ubuntu-latest
steps:
- name: Update repo
uses: actions/checkout@v4
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Git Pull
run: git pull
@@ -258,9 +338,14 @@ jobs:
run: |
cd updates-server
mkdir -p updates
cp -a ../linux_update_manifest/. updates/
cp -a ../windows_update_manifest/. updates/
cp -a ../macos_update_manifest/. updates/
cp -a ../linux_update_manifest_generic/. updates/
cp -a ../linux_update_manifest_specific/. updates/
cp -a ../windows_update_manifest_generic/. updates/
cp -a ../windows_update_manifest_specific/. updates/
cp -a ../macos_update_manifest_aarch64/. updates/
cp -a ../macos_update_manifest_x64/. updates/
- uses: stefanzweifel/git-auto-commit-action@v4
with:
@@ -274,14 +359,105 @@ jobs:
with:
repo_token: '${{ secrets.DEPLOY_KEY }}'
automatic_release_tag: ${{ needs.build-data.outputs.version }}
prerelease: false
title: 'Alpha build - ${{ needs.build-data.outputs.version }} (${{ needs.build-data.outputs.build_date }})'
files: |
zen.linux.tar.bz2
zen.win64.zip
zen.source.tar.gz
zen.linux-generic.tar.bz2
zen.linux-specific.tar.bz2
zen-generic.AppImage
zen-generic.AppImage.zsync
zen-specific.AppImage
zen-specific.AppImage.zsync
zen.win-generic.zip
zen.win-specific.zip
linux.mar
linux-generic.mar
windows.mar
macos.mar
windows-generic.mar
macos-x64.mar
macos-aarch64.mar
zen.installer.exe
zen.installer.pretty.exe
zen.macos.dmg
zen.installer-generic.exe
zen.macos-x64.dmg
zen.macos-aarch64.dmg
release-flatpak:
if: ${{ github.event.inputs.create_release == 'true' }}
permissions: write-all
name: Release Flatpak
needs: [release, linux, build-data]
runs-on: ubuntu-latest
steps:
- name: Clone flatpak repo
uses: actions/checkout@v4
with:
repository: flathub/io.github.zen_browser.zen
token: ${{ secrets.DEPLOY_KEY }}
- name: Download linux generic build
uses: actions/download-artifact@v4
with:
name: zen.linux-generic.tar.bz2
- name: Update repo
uses: actions/checkout@v4
with:
path: zen-browser
token: ${{ secrets.DEPLOY_KEY }}
- name: Download flatpak archive
run: |
wget https://github.com/zen-browser/flatpak/releases/latest/download/archive.tar -O archive.tar
- name: Setup git
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Prepare flatpak manifest
run: |
python3 ./zen-browser/scripts/prepare-flatpak-release.py \
--flatpak-archive archive.tar \
--version ${{ needs.build-data.outputs.version }} \
--linux-archive zen.linux-generic.tar.bz2 \
--output io.github.zen_browser.zen.yml \
--template-root ./zen-browser/flatpak
- name: Commit changes
run: |
git add io.github.zen_browser.zen.yml
git commit -m "Update to version ${{ needs.build-data.outputs.version }}"
- name: Clean up
run: |
rm -rf zen-browser
rm -rf archive.tar
rm -rf zen.linux-generic.tar.bz2
- name: Upload flatpak manifest
uses: actions/upload-artifact@v4
with:
name: io.github.zen_browser.zen.yml
path: ./io.github.zen_browser.zen.yml
- name: Create pull request
uses: peter-evans/create-pull-request@v6
env:
GIT_TRACE: 1
GIT_CURL_VERBOSE: 1
with:
token: ${{ secrets.DEPLOY_KEY }}
commit-message: 🚀 Update to version ${{ needs.build-data.outputs.version }}
title: 🚀 Update to version ${{ needs.build-data.outputs.version }}
body: |
This PR updates the Zen Browser Flatpak package to version ${{ needs.build-data.outputs.version }}.
@mauro-balades
branch: update-to-${{ needs.build-data.outputs.version }}
base: master
git-token: ${{ secrets.DEPLOY_KEY }}
delete-branch: true

30
.github/workflows/clear-cache.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: Clear cache
on:
workflow_dispatch:
permissions:
actions: write
jobs:
clear-cache:
runs-on: ubuntu-latest
steps:
- name: Clear cache
uses: actions/github-script@v6
with:
script: |
console.log("About to clear")
const caches = await github.rest.actions.getActionsCacheList({
owner: context.repo.owner,
repo: context.repo.repo,
})
for (const cache of caches.data.actions_caches) {
console.log(cache)
github.rest.actions.deleteActionsCacheById({
owner: context.repo.owner,
repo: context.repo.repo,
cache_id: cache.id,
})
}
console.log("Clear completed")

View File

@@ -9,23 +9,33 @@ on:
jobs:
build-linux:
environment: production
permissions:
contents: write
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
generic: [true, false]
name: Build Linux - ${{ matrix.generic == true && 'Generic' || 'Specific' }}
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/checkout@v3
# Give the runner some swap space in an attempt to stop gkrust from crashing the build
- name: Set Swap Space
uses: pierotofy/set-swap-space@v1.0
- uses: actions/checkout@v4
with:
swap-size-gb: 6
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup git
run: |
@@ -38,10 +48,7 @@ jobs:
sudo apt-get update
sudo apt-get install dos2unix yasm nasm build-essential libgtk2.0-dev libpython3-dev m4 uuid libasound2-dev libcurl4-openssl-dev libdbus-1-dev libdrm-dev libdbus-glib-1-dev libdbus-glib-1-dev libgtk-3-dev libpulse-dev libx11-xcb-dev libxt-dev xvfb lld llvm
pip install pycairo testresources
- name: Free up space
run: sh .github/workflows/src/disk-setup-and-swap.sh
- name: Configure sccache
uses: actions/github-script@v7
with:
@@ -86,8 +93,13 @@ jobs:
run: pnpm surfer download
- name: Import
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm surfer import
- name: Build language packs
run: sh scripts/download-language-packs.sh
- name: Bootstrap
run: |
cd engine
@@ -95,35 +107,42 @@ jobs:
cd ..
- name: Build
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
continue-on-error: true
run: sh .github/workflows/src/alpha-build.sh
- name: Build again if it failed
if: failure()
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: sh .github/workflows/src/alpha-build.sh
- name: Package
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm package
- name: Rename artifacts
run: |
mv dist/zen-*.tar.bz2 "zen.linux.tar.bz2"
mv dist/output.mar linux.mar
mv dist/zen-*.tar.bz2 "zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2"
mv dist/output.mar linux${{ matrix.generic == true && '-generic' || '' }}.mar
- name: Upload binary
uses: actions/upload-artifact@v4
with:
name: zen.linux.tar.bz2
path: ./zen.linux.tar.bz2
name: zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2
path: ./zen.linux-${{ matrix.generic == true && 'generic' || 'specific' }}.tar.bz2
- name: Upload mar
uses: actions/upload-artifact@v4
with:
name: linux.mar
path: ./linux.mar
name: linux${{ matrix.generic == true && '-generic' || '' }}.mar
path: ./linux${{ matrix.generic == true && '-generic' || '' }}.mar
- name: Upload update manifests
uses: actions/upload-artifact@v4
with:
name: linux_update_manifest
name: linux_update_manifest_${{ matrix.generic == true && 'generic' || 'specific' }}
path: ./dist/update

View File

@@ -6,10 +6,19 @@ on:
description: 'The version to build'
required: true
type: string
jobs:
mac-build:
runs-on: macos-14
name: Build macOS - ${{ matrix.arch }}
environment: production
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- arch: aarch64
os: macos-14
- arch: x64
os: macos-13
steps:
- name: Install Node.js
@@ -22,6 +31,9 @@ jobs:
python-version: '3.11'
- uses: actions/checkout@v4
with:
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Setup git
run: |
@@ -33,8 +45,29 @@ jobs:
brew install cairo sccache gnu-tar mercurial
sudo pip install setuptools
- name: Free up space
run: sh .github/workflows/src/disk-setup-and-swap.sh
# completly uninstall python3 and python3.12
brew uninstall --ignore-dependencies python3.12 -f
export PATH="$(python3 -m site --user-base)/bin":$PATH
python3 -m pip install --user mercurial
rm '/usr/local/bin/2to3-3.11' # fix Could not symlink bin/2to3-3.11
rm '/usr/local/bin/2to3-3.12' # fix Could not symlink bin/2to3-3.12
rm /usr/local/bin/2to3 # fix Could not symlink bin/2to3
rm '/usr/local/bin/idle3.11' #fix Could not symlink bin/idle3.11
rm '/usr/local/bin/idle3.12' # fix Could not symlink bin/idle3.12
rm '/usr/local/bin/idle3' # fix Could not symlink bin/idle3
rm '/usr/local/bin/pydoc3.11' # fix Could not symlink bin/pydoc3.11
rm '/usr/local/bin/pydoc3.12' # fix Could not symlink bin/pydoc3.12
rm '/usr/local/bin/pydoc3' # fix Could not symlink bin/pydoc3
rm '/usr/local/bin/python3.11' # fix Could not symlink bin/python3.11
rm '/usr/local/bin/python3.12' # fix Could not symlink bin/python3.12
rm '/usr/local/bin/python3' # fix Could not symlink bin/python3
rm '/usr/local/bin/python3.11-config' # fix Could not symlink bin/python3.11-config
rm '/usr/local/bin/python3.12-config' # fix Could not symlink bin/python3.12-config
rm '/usr/local/bin/python3-config' # fix Could not symlink bin/python3-config
brew install watchman
- name: Force usage fo gnu-tar
run: |
@@ -59,44 +92,59 @@ jobs:
- name: Download firefox source and dependancies
run: pnpm surfer download
- name: Import
run: pnpm surfer import
- name: Bootstrap
run: |
cd engine
./mach --no-interactive bootstrap --application-choice browser
export PATH="$(python3 -m site --user-base)/bin":$PATH
./mach --no-interactive bootstrap --application-choice browser --no-system-changes
cd ..
- name: Import
env:
SURFER_COMPAT: ${{ matrix.arch == 'x64' }}
run: |
pnpm surfer import
- name: Build language packs
run: sh scripts/download-language-packs.sh
- name: build Zen
run: sh .github/workflows/src/alpha-build.sh
env:
SURFER_COMPAT: ${{ matrix.arch == 'x64' }}
run: |
if test "${{ matrix.arch }}" = "x64"; then
export ZEN_DISABLE_LTO=1
fi
sh .github/workflows/src/alpha-build.sh
- name: Rebuild Zen if failed
if: failure()
run: sh .github/workflows/src/alpha-build.sh
- name: Package
env:
SURFER_COMPAT: ${{ matrix.arch == 'x64' }}
run: pnpm package
- name: Rename artifacts
run: |
mv ./dist/*.dmg "zen.macos.dmg"
mv ./dist/output.mar macos.mar
mv ./dist/*.dmg "zen.macos-${{ matrix.arch }}.dmg"
mv ./dist/output.mar macos-${{ matrix.arch }}.mar
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: zen.macos.dmg
path: ./zen.macos.dmg
name: zen.macos-${{ matrix.arch }}.dmg
path: ./zen.macos-${{ matrix.arch }}.dmg
- name: Upload mar
uses: actions/upload-artifact@v4
with:
name: macos.mar
path: ./macos.mar
name: macos-${{ matrix.arch }}.mar
path: ./macos-${{ matrix.arch }}.mar
- name: Upload update manifests
uses: actions/upload-artifact@v4
with:
name: macos_update_manifest
name: macos_update_manifest_${{ matrix.arch }}
path: ./dist/update

View File

@@ -10,8 +10,7 @@ ulimit -n 4096
# Check if xfvb is installed
if ! command -v Xvfb &> /dev/null; then
if ! test "$ZEN_CROSS_COMPILING"
then
if ! test "$ZEN_CROSS_COMPILING"; then
Xvfb :2 -screen 0 1024x768x24 &
export LLVM_PROFDATA=$HOME/.mozbuild/clang/bin/llvm-profdata
export DISPLAY=:2

View File

@@ -1,50 +0,0 @@
echo Before:
if [ command -v free ]; then
free -h
fi
if [ command -v df ]; then
df -h
fi
echo
echo
sudo swapoff /mnt/swapfile
sudo rm /mnt/swapfile
sudo fallocate -l 10G /mnt/swapfile
sudo chmod 600 /mnt/swapfile
sudo mkswap /mnt/swapfile
sudo swapon /mnt/swapfile
sudo apt remove -y '^dotnet-.*' '^llvm-.*' '^php.*' '^mongodb-.*' '^mysql-.*' clang azure-cli google-cloud-sdk google-chrome-stable microsoft-edge firefox powershell mono-devel libgl1-mesa-dri acl aria2 autoconf automake binutils bison brotli bzip2 coreutils
sudo apt autoremove -y
sudo apt clean
sudo rm -rf ./git
sudo rm -rf /home/linuxbrew
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /usr/local/graalvm
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo rm -rf /etc/apache2
sudo rm -rf /etc/nginx
sudo rm -rf /usr/local/share/chrome_driver
sudo rm -rf /usr/local/share/edge_driver
sudo rm -rf /usr/local/share/gecko_driver
sudo rm -rf /usr/share/java
sudo rm -rf /usr/share/miniconda
sudo rm -rf /usr/local/share/vcpkg
echo
echo
echo After:
if [ command -v free ]; then
free -h
fi
if [ command -v df ]; then
df -h
fi

View File

@@ -1,40 +0,0 @@
export WINSYSROOT="$(echo ~)/win-cross/vs2022"
export MIDL="$(echo ~)/win-cross/wine/bin/widl"
export WINE="$(echo ~)/win-cross/wine/bin/wine64"
export WINEDEBUG=-all
#? https://bugzilla.mozilla.org/show_bug.cgi?id=1617793
#? https://phabricator.services.mozilla.com/D170170
ac_add_options --target=x86_64-pc-windows-msvc
export MOZ_STUB_INSTALLER=1
export MOZ_PKG_FORMAT=TAR
export CROSS_BUILD=1
CROSS_COMPILE=1
TOOLS=$(echo ~)/win-cross
export MIDL="$TOOLS/wine/bin/widl"
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_STUB_INSTALLER=1
export WINEDEBUG=-all
export WINE="$TOOLS/wine/bin/wine64"
#export WIN32_REDIST_DIR="$TOOLS"/vs2022/VC/Redist/MSVC/14.34.31931/x64/Microsoft.VC143.CRT
#export WIN_UCRT_REDIST_DIR="$TOOLS/vs2022/Windows Kits/10/Redist/10.0.22621.0/ucrt/DLLs/x64"
ac_add_options --disable-maintenance-service
ac_add_options --disable-bits-download
#if test "$ZEN_GA_GENERATE_PROFILE"; then
# mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
# ac_add_options --enable-profile-generate=cross
#else
# ac_add_options --disable-profiling
# ac_add_options --enable-profile-use=cross
# ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged.profdata
# ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US.log
#fi
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE

View File

@@ -16,21 +16,30 @@ on:
jobs:
windows-build:
name: Build Windows - ${{ matrix.generic == true && 'Generic' || 'Specific' }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
generic: [true, false]
environment: production
steps:
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false
- name: Install Node.js and pnpm
uses: actions/setup-node@v3
with:
node-version: 20
- uses: actions/checkout@v4
# Give the runner some swap space in an attempt to stop gkrust from crashing the build
- name: Set Swap Space
uses: pierotofy/set-swap-space@v1.0
with:
swap-size-gb: 6
submodules: recursive
token: ${{ secrets.DEPLOY_KEY }}
- name: Install pnpm
run: npm install -g pnpm
@@ -50,9 +59,6 @@ jobs:
- name: Download
run: pnpm surfer download
- name: Free up space
run: sh .github/workflows/src/disk-setup-and-swap.sh
- name: "win-cross Cache"
env:
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 5
@@ -92,8 +98,6 @@ jobs:
chmod -R +x "$(echo ~)/win-cross/vs2022" || true
cat ../.github/workflows/src/windows_mozconfig >> ../configs/common/mozconfig
cd ..
npm install -g pnpm
export SURFER_PLATFORM="win32"
@@ -104,6 +108,9 @@ jobs:
echo "export LIB=\"$(cd ~/.mozbuild/clang/lib/clang/* && cd lib/windows && pwd)\"" >> ../configs/common/mozconfig
cat ../configs/common/mozconfig
sudo apt-get update
sudo apt-get install dos2unix
ls ~/win-cross/wine || true
ls ~/win-cross/vs2022 || true
@@ -119,6 +126,8 @@ jobs:
cargo download -x windows=0.52.0
#? https://github.com/mozilla/sccache#known-caveats
export CARGO_INCREMENTAL=0
echo "" >> ../configs/common/mozconfig
echo "export MOZ_WINDOWS_RS_DIR=$(pwd)/windows-0.52.0" >> ../configs/common/mozconfig
- uses: actions/download-artifact@v4
@@ -128,24 +137,33 @@ jobs:
path: ~/artifact
- name: Import
run: pnpm surfer import --verbose
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: pnpm surfer import --verbose
- name: Build language packs
run: sh scripts/download-language-packs.sh
- name: Build
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: |
set -x
dos2unix configs/windows/mozconfig
export SURFER_PLATFORM="win32"
export ZEN_CROSS_COMPILING=1
# if test ${{ inputs.generate-gpo }}; then
# export ZEN_GA_GENERATE_PROFILE=1
# fi
if test ${{ inputs.generate-gpo }} = true; then
export ZEN_GA_GENERATE_PROFILE=1
fi
sh .github/workflows/src/alpha-build.sh
- name: Package
env:
SURFER_COMPAT: ${{ matrix.generic == true }}
run: |
set -x
export SURFER_PLATFORM="win32"
pnpm package
mv ./dist/output.mar windows.mar
mv ./dist/zen-$(pnpm surfer get version | xargs).en-US.win64.zip zen.win64.zip
ls ./dist
ls .
@@ -156,37 +174,44 @@ jobs:
set -x
mv ./zen.win64.zip ./zen.win64-pgo-stage-1.zip
- name: Rename artifacts
if: ${{ !inputs.generate-gpo }}
run: |
mv ./zen.win64.zip zen.win-${{ matrix.generic == true && 'generic' || 'specific' }}.zip
mv ./dist/output.mar windows${{ matrix.generic == true && '-generic' || '' }}.mar
mv ./dist/zen.installer.exe ./zen.installer${{ matrix.generic == true && '-generic' || '' }}.exe
- name: Upload artifact
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: zen.win64.zip
path: ./zen.win64.zip
name: zen.win-${{ matrix.generic == true && 'generic' || 'specific' }}.zip
path: ./zen.win-${{ matrix.generic == true && 'generic' || 'specific' }}.zip
- name: Upload PGO build
uses: actions/upload-artifact@v4
if: ${{ inputs.generate-gpo }}
with:
name: ${{ inputs.profile-data-path-archive }}
name: ${{ matrix.generic == true && 'generic' || 'specific' }}-${{ inputs.profile-data-path-archive }}
path: ./zen.win64-pgo-stage-1.zip
- name: Upload mar
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: windows.mar
path: ./windows.mar
name: windows${{ matrix.generic == true && '-generic' || '' }}.mar
path: ./windows${{ matrix.generic == true && '-generic' || '' }}.mar
- name: Upload installer
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: zen.installer.exe
path: ./dist/zen.installer.exe
name: zen.installer${{ matrix.generic == true && '-generic' || '' }}.exe
path: ./zen.installer${{ matrix.generic == true && '-generic' || '' }}.exe
- name: Upload installer stub
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
if: ${{ !inputs.generate-gpo && false }}
with:
name: zen.installer.pretty.exe
path: ./dist/zen.installer.pretty.exe
@@ -195,5 +220,5 @@ jobs:
uses: actions/upload-artifact@v4
if: ${{ !inputs.generate-gpo }}
with:
name: windows_update_manifest
name: windows_update_manifest_${{ matrix.generic == true && 'generic' || 'specific' }}
path: ./dist/update

View File

@@ -13,6 +13,11 @@ on:
jobs:
windows-profile-build:
name: Windows Profile Build - ${{ matrix.generic == true && 'generic' || 'specific' }}
strategy:
fail-fast: false
matrix:
generic: [true, false]
runs-on: windows-latest
# Script edited from https://github.com/Floorp-Projects/Floorp/blob/ESR115/.github/workflows/window-generate-profile-data-and-jarlog.yml
steps:
@@ -28,52 +33,45 @@ jobs:
run: |
git config --global user.email "mauro-balades@users.noreply.github.com"
git config --global user.name "mauro-balades"
- name: Install pnpm
run: npm install -g pnpm
- name: Install Surfer
run: |
npm i -g @zen-browser/surfer
- uses: actions/download-artifact@v4
name: Download artifact
with:
path: C:\artifact
name: zen-windows-x86_64-profile-data-and-jarlog.zip
name: ${{ matrix.generic == true && 'generic' || 'specific' }}-zen-windows-x86_64-profile-data-and-jarlog.zip
- name: Unpack artifact
run: |
cd C:\artifact
ls
7z x ${{ inputs.profile-data-path-archive }}
Expand-Archive -Path .\${{ inputs.profile-data-path-archive }} -DestinationPath C:\artifact
ls
- name: Setup
run: |
(New-Object System.Net.WebClient).DownloadFile("https://ftp.mozilla.org/pub/mozilla/libraries/win32/MozillaBuildSetup-Latest.exe","C:\MozillaBuildSetup-Latest.exe")
C:\MozillaBuildSetup-Latest.exe /S | out-null
- name: Download firefox
run: |
git config --global core.safecrlf false
pnpm surfer download
- name: Generate
run: |
ls
$Env:USE_MINTTY = "0"
$workspace_dir_current = [regex]::replace($env:GITHUB_WORKSPACE, "^([A-Z]):", { "/" + $args.value.Substring(0, 1).toLower() }) -replace "\\","/"
$workspace_dir = $workspace_dir_current + "/engine"
echo $workspace_dir
echo "cd $workspace_dir" '' >> mozilla-build-run.sh
echo 'export PATH=/c/mozilla-build/msys2/usr/bin:$PATH' '' >> mozilla-build-run.sh
echo './mach --no-interactive bootstrap --application-choice browser' '' >> mozilla-build-run.sh
echo 'ls /c/Users/runneradmin/.mozbuild/clang/bin' '' >> mozilla-build-run.sh
echo 'LLVM_PROFDATA=/c/Users/runneradmin/.mozbuild/clang/bin/llvm-profdata.exe JARLOG_FILE=en-US.log ./mach python build/pgo/profileserver.py --binary /c/artifact/zen/zen.exe' '' >> mozilla-build-run.sh
C:\mozilla-build\start-shell.bat $workspace_dir_current\mozilla-build-run.sh
- name: 🐛 Debug Session
if: ${{ failure() }}
uses: Warpbuilds/gha-debug@v1.3
@@ -82,10 +80,9 @@ jobs:
- name: Publish merged.profdata
uses: actions/upload-artifact@v4
with:
path: merged.profdata
path: merged-${{ matrix.generic == true && 'generic' || 'specific' }}.profdata
- name: Publish en-US.log
uses: actions/upload-artifact@v4
with:
path: en-US.log
path: en-US-${{ matrix.generic == true && 'generic' || 'specific' }}.log

6
.gitmodules vendored Normal file
View File

@@ -0,0 +1,6 @@
[submodule "src/browser/base/content/zen-components"]
path = src/browser/base/content/zen-components
url = https://github.com/zen-browser/components
[submodule "l10n"]
path = l10n
url = https://github.com/zen-browser/l10n-packs

View File

@@ -13,6 +13,10 @@
"utility": "cpp",
"variant": "cpp",
"compare": "cpp",
"thread": "cpp"
"thread": "cpp",
"string": "cpp",
"string_view": "cpp",
"span": "cpp",
"vector": "cpp"
}
}

14
AppDir/AppRun Normal file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
SELF=$(readlink -f "$0")
HERE=${SELF%/*}
export PATH="${HERE}:${HERE}/usr/bin/:${HERE}/usr/sbin/:${HERE}/usr/games/:${HERE}/bin/:${HERE}/sbin/${PATH:+:$PATH}"
export LD_LIBRARY_PATH="${HERE}/usr/lib/:${HERE}/usr/lib/i386-linux-gnu/:${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/usr/lib32/:${HERE}/usr/lib64/:${HERE}/lib/:${HERE}/lib/i386-linux-gnu/:${HERE}/lib/x86_64-linux-gnu/:${HERE}/lib32/:${HERE}/lib64/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export PYTHONPATH="${HERE}/usr/share/pyshared/${PYTHONPATH:+:$PYTHONPATH}"
export MOZ_LEGACY_PROFILES=1 # Prevent per installation profiles
DEFAULT_XDG_DATA_DIRS='./share/:/usr/share/gnome:/usr/local/share/:/usr/share/'
export XDG_DATA_DIRS="${HERE}/usr/share/:${XDG_DATA_DIRS:-$DEFAULT_XDG_DATA_DIRS}"
export PERLLIB="${HERE}/usr/share/perl5/:${HERE}/usr/lib/perl5/${PERLLIB:+:$PERLLIB}"
export GSETTINGS_SCHEMA_DIR="${HERE}/usr/share/glib-2.0/schemas/${GSETTINGS_SCHEMA_DIR:+:$GSETTINGS_SCHEMA_DIR}"
export QT_PLUGIN_PATH="${HERE}/usr/lib/qt4/plugins/:${HERE}/usr/lib/i386-linux-gnu/qt4/plugins/:${HERE}/usr/lib/x86_64-linux-gnu/qt4/plugins/:${HERE}/usr/lib32/qt4/plugins/:${HERE}/usr/lib64/qt4/plugins/:${HERE}/usr/lib/qt5/plugins/:${HERE}/usr/lib/i386-linux-gnu/qt5/plugins/:${HERE}/usr/lib/x86_64-linux-gnu/qt5/plugins/:${HERE}/usr/lib32/qt5/plugins/:${HERE}/usr/lib64/qt5/plugins/${QT_PLUGIN_PATH:+:$QT_PLUGIN_PATH}"
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1)
exec "${EXEC}" "$@"

View File

@@ -0,0 +1,8 @@
{
"policies": {
"DisableAppUpdate": true,
"AppAutoUpdate": false,
"ManualAppUpdateOnly": true,
"BackgroundAppUpdate": false
}
}

25
AppDir/zen.desktop Normal file
View File

@@ -0,0 +1,25 @@
[Desktop Entry]
Name=Zen Browser
Exec=zen %u
Icon=zen
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall;application/pdf;application/json;
StartupWMClass=zen-alpha
Categories=Network;WebBrowser;
StartupNotify=true
Terminal=false
X-MultipleArgs=false
Keywords=Internet;WWW;Browser;Web;Explorer;
Actions=new-window;new-private-window;profilemanager;
[Desktop Action new-window]
Name=Open a New Window
Exec=zen %u
[Desktop Action new-private-window]
Name=Open a New Private Window
Exec=zen --private-window %u
[Desktop Action profilemanager]
Name=Open the Profile Manager
Exec=zen --ProfileManager %u

View File

@@ -3,18 +3,37 @@
Experience tranquillity while browsing the web without people tracking you!
* [Website](https://www.zen-browser.app)
* [Download](https://www.zen-browser.app/download)
* [Release Notes](https://www.zen-browser.app/release-notes/latest)
[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/K3K111FH7H)
<a href='https://flathub.org/apps/io.github.zen_browser.zen'>
<img width='220' alt='Get it on Flathub' src='https://flathub.org/api/badge?locale=en'/>
</a>
# Compatibility
Zen is currently built using firefox version `128.0.3`!
Zen is currently built using firefox version `129.0.2`!
* Checkout the latest [releases notes](https://get-zen.vercel.app/release-notes)!
* Check out the latest [release notes](https://www.zen-browser.app/release-notes)!
# Performance
Zen is built with performance in mind, and we have optimized the browser to be as fast as possible!
* Checkout the latest [performance benchmarks](https://docs.zen-browser.app/benchmarks)!
# Core Components
Some components used by @zen-browser as an attempt to make firefox forks a better place. You can find them [here](https://github.com/zen-browser/components).
## 🚀 Run Locally
Clone the project
```bash
git clone https://github.com/zen-browser/desktop.git
git clone https://github.com/zen-browser/desktop.git --recurse-submodules
cd desktop
```
@@ -42,19 +61,30 @@ Finally, run the browser!
npm start
```
## Contributing
Contributions are always welcome!
See `contributing.md` for ways to get started.
Please adhere to this project's `code of conduct`.
## Special Thanks
- [Erlend](https://havn.blog) (For making the logo)
- [IAmJafeth](https://github.com/IAmJafeth) (For sponsoring the domain)
- [Donno 🐒](https://www.onnno.nl/) (For making the logo)
- [ptr1337](https://github.com/ptr1337) (AUR Packages and optimization flags)
- [nitro](https://github.com/n7itro) (For the amazing work on the browser)
## Third Party Code
Zen coudn't be in its current state without the help of these amazing projects!
- Zen's default preferences are based on [BetterFox](https://github.com/yokoffing/Betterfox)
## License
[MPL LICENSE](/LICENSE)
[MPL LICENSE](./LICENSE)
## Star History
<a href="https://star-history.com/#zen-browser/desktop&Date">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=zen-browser/desktop&type=Date&theme=dark" />
<source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=zen-browser/desktop&type=Date" />
<img alt="Star History Chart" src="https://api.star-history.com/svg?repos=zen-browser/desktop&type=Date" />
</picture>
</a>

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 256 256"><defs><style>.g{fill:#000;}.g,.h,.i{stroke-width:0px;}.h{fill:url(#e);}.i{fill:#fff;}</style><linearGradient id="e" x1="128" y1="256" x2="128" y2="0" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#fff" stop-opacity=".02"/><stop offset=".9" stop-color="#fff" stop-opacity=".1"/></linearGradient></defs><g id="c"><rect class="g" y="0" width="256" height="256" rx="58.4" ry="58.4"/></g><g id="d"><rect class="h" y="0" width="256" height="256" rx="58.4" ry="58.4"/></g><g id="f"><path class="i" d="M165.9156,146.3156c-15.6016,0-28.6656,11.0055-31.8813,25.6562h-12.0687c-3.2156-14.6508-16.2797-25.6562-31.8813-25.6562-18.0063,0-32.6562,14.65-32.6562,32.6562s14.65,32.6562,32.6562,32.6562c15.6016,0,28.6656-11.0055,31.8813-25.6562h12.0687c3.2156,14.6508,16.2797,25.6562,31.8813,25.6562,18.0063,0,32.6562-14.65,32.6562-32.6562s-14.65-32.6562-32.6562-32.6562ZM90.0844,197.6281c-10.2875,0-18.6562-8.3687-18.6562-18.6562s8.3687-18.6562,18.6562-18.6562,18.6562,8.3688,18.6562,18.6562-8.3687,18.6562-18.6562,18.6562ZM165.9156,197.6281c-10.2875,0-18.6562-8.3687-18.6562-18.6562s8.3687-18.6562,18.6562-18.6562,18.6562,8.3688,18.6562,18.6562-8.3687,18.6562-18.6562,18.6562Z"/><path class="i" d="M214.4,115.6812h-21.8391l-9.2422-65.2906c-.3031-2.1406-1.5813-4.0219-3.4594-5.0969-1.8781-1.0719-4.1469-1.2188-6.1469-.3906l-45.7125,18.8906-45.7125-18.8906c-2-.8281-4.2688-.6813-6.1469.3906-1.8781,1.075-3.1562,2.9562-3.4594,5.0969l-9.2422,65.2906h-21.8391c-3.8656,0-7,3.1344-7,7s3.1344,7,7,7h172.8c3.8656,0,7-3.1344,7-7s-3.1344-7-7-7ZM85.2781,61.2875l40.0469,16.55c1.7125.7063,3.6375.7063,5.35,0l40.0469-16.55,7.6984,54.3937h-100.8406l7.6984-54.3937Z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="d" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 256 256"><defs><style>.f{fill:#000;}.f,.g,.h{stroke-width:0px;}.g{fill:url(#e);}.h{fill:#fff;}</style><linearGradient id="e" x1="128" y1="256" x2="128" y2="0" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#fff" stop-opacity=".02"/><stop offset=".9" stop-color="#fff" stop-opacity=".1"/></linearGradient></defs><rect class="f" width="256" height="256" rx="58.4" ry="58.4"/><rect class="g" width="256" height="256" rx="58.4" ry="58.4"/><path class="h" d="M202.9973,184.5702c-.1715,10.2808-8.7737,18.4298-19.0559,18.4298h-77.2885c-3.0056,0-5.0458-3.0553-3.894-5.8314l.0262-.0632c5.0822-12.2707,13.3289-22.6249,23.8591-30.1785,1.3098-.9395,2.8903-1.4269,4.5023-1.4269h53.1034c10.462,0,18.9225,8.5681,18.7473,19.0702Z"/><path class="h" d="M149.3471,53c3.0056,0,5.0458,3.0553,3.894,5.8314l-.0262.0631c-5.0822,12.2708-13.3289,22.6249-23.8591,30.1785-1.3098.9396-2.8903,1.427-4.5023,1.427h-52.7949c-10.2822,0-18.8844-8.149-19.0559-18.4298-.1752-10.5021,8.2853-19.0702,18.7473-19.0702h77.5971Z"/><path class="h" d="M71.7465,203c-2.3913,0-4.8207-.46-7.1673-1.4319-9.5666-3.9624-14.1096-14.9301-10.1472-24.4964,6.0943-14.7127,14.8294-27.9027,25.9634-39.2034,11.5341-11.7073,25.1364-20.8551,40.4297-27.1898,21.021-8.7076,37.393-25.0792,46.0995-46.0995,3.9624-9.567,14.9305-14.1093,24.4964-10.1472,9.5666,3.9624,14.1096,14.9301,10.1472,24.4964-6.0943,14.7127-14.8294,27.9027-25.9634,39.2034-11.5341,11.7073-25.1364,20.8551-40.4297,27.1898-21.021,8.7076-37.393,25.0792-46.0995,46.0995-2.9905,7.22-9.9725,11.5791-17.329,11.5791Z"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 260 56">
<defs>
<style>
.cls-1 {
fill="context-fill #20123a"
}
</style>
</defs>
<path class="cls-1" d="M10.7,34.7h15.2v5.3H2.7v-3.8l15.1-21.2H2.6v-5.3h23.2v3.8l-15.2,21.2ZM50.7,23.4c.5,1.4.8,3.1.8,5.1v1.7h-15.5c0,1.1.2,2.1.6,2.9.4.8,1,1.5,1.8,1.9.8.4,1.7.7,2.7.7s1.3,0,1.9-.3c.6-.2,1.1-.5,1.5-.9.4-.4.7-.9.9-1.5l5.8.4c-.3,1.4-.9,2.6-1.8,3.7-.9,1-2.1,1.9-3.5,2.4-1.4.6-3.1.9-5,.9s-4.4-.5-6-1.4c-1.7-1-3-2.3-3.9-4.1-.9-1.8-1.4-3.8-1.4-6.2s.5-4.4,1.4-6.2c.9-1.8,2.2-3.1,3.8-4.1,1.7-1,3.6-1.5,5.8-1.5s2.9.2,4.2.7c1.3.5,2.4,1.2,3.4,2.2,1,1,1.7,2.2,2.3,3.6ZM45.5,26.3c0-.9-.2-1.7-.6-2.4-.4-.7-.9-1.3-1.6-1.7-.7-.4-1.5-.6-2.4-.6s-1.8.2-2.5.7c-.7.4-1.3,1-1.7,1.8-.4.7-.6,1.4-.6,2.2h9.5ZM72.8,18c-1.2-.7-2.6-1-4.1-1s-3.1.4-4.3,1.2c-1.2.8-2,1.8-2.5,3.1h-.3v-4h-6v22.7h6.3v-13.2c0-1,.2-1.8.6-2.5.4-.7.9-1.2,1.5-1.6.6-.4,1.4-.5,2.2-.5,1.3,0,2.3.4,3,1.2.7.8,1.1,1.9,1.1,3.3v13.4h6.3v-14.5c0-1.8-.3-3.3-1-4.6-.7-1.3-1.6-2.3-2.7-3ZM113.8,27.8c.6,1.1.9,2.4.9,3.9s-.4,3-1.2,4.3c-.8,1.3-2,2.3-3.5,3-1.6.7-3.5,1.1-5.7,1.1h-13V9.7h12.1c2.2,0,4.1.3,5.6,1,1.5.7,2.6,1.6,3.4,2.7.8,1.2,1.1,2.5,1.1,4s-.2,2.2-.7,3.1c-.5.9-1.1,1.6-1.9,2.2-.8.6-1.8,1-2.8,1.2v.3c1.2,0,2.2.4,3.3,1,1,.6,1.8,1.4,2.5,2.5ZM97.7,22.4h4.8c.9,0,1.7-.2,2.3-.5.7-.3,1.2-.8,1.6-1.3.4-.6.6-1.3.6-2.1s-.4-2-1.2-2.7c-.8-.7-1.9-1-3.3-1h-4.9v7.5ZM108.1,31c0-.8-.2-1.6-.6-2.2-.4-.6-1-1.1-1.7-1.5-.7-.4-1.6-.5-2.7-.5h-5.4v8.1h5.2c1.8,0,3.1-.3,3.9-1,.8-.7,1.2-1.6,1.2-2.7ZM130.6,16.9c-1.3,0-2.4.4-3.4,1.1-1,.7-1.7,1.8-2.1,3.2h-.2v-4h-6.1v22.7h6.3v-12.9c0-.9.2-1.7.6-2.5.4-.7,1-1.3,1.7-1.7.7-.4,1.6-.6,2.5-.6s.9,0,1.4.1c.5,0,.9.1,1.2.2v-5.6c-.3,0-.6-.1-1-.2s-.7,0-1,0ZM154.9,22.5c.9,1.8,1.4,3.8,1.4,6.2s-.5,4.4-1.4,6.1c-.9,1.8-2.2,3.1-3.9,4.1-1.7,1-3.7,1.5-6,1.5s-4.3-.5-6-1.5c-1.7-1-3-2.4-3.9-4.1-.9-1.8-1.4-3.8-1.4-6.1s.5-4.4,1.4-6.2c.9-1.8,2.2-3.1,3.9-4.1,1.7-1,3.7-1.5,6-1.5s4.3.5,6,1.5c1.7,1,3,2.4,3.9,4.1ZM149.8,28.7c0-1.3-.2-2.5-.5-3.5-.4-1-.9-1.9-1.6-2.5-.7-.6-1.6-.9-2.6-.9s-1.9.3-2.7.9c-.7.6-1.3,1.4-1.6,2.5-.4,1-.5,2.2-.5,3.5s.2,2.5.5,3.5c.4,1,.9,1.9,1.6,2.5.7.6,1.6.9,2.7.9s1.9-.3,2.6-.9c.7-.6,1.2-1.4,1.6-2.5.4-1,.5-2.2.5-3.5ZM182,32.4h-.2l-3.7-15.2h-6.3l-3.7,15.3h-.2l-3.5-15.3h-6.4l6.2,22.7h6.7l3.9-14.3h.3l3.9,14.3h6.7l6.2-22.7h-6.4l-3.5,15.2ZM208.1,26.8l-4.1-.8c-1.1-.2-1.8-.5-2.2-.9-.4-.4-.7-.8-.7-1.4s.3-1.2,1-1.6c.7-.4,1.5-.6,2.5-.6s1.4.1,1.9.4c.5.2,1,.6,1.3,1,.3.4.5.8.6,1.3l5.8-.4c-.3-2.1-1.2-3.7-2.9-5-1.7-1.2-3.9-1.8-6.8-1.8s-3.6.3-5.1.9c-1.4.6-2.6,1.4-3.4,2.4-.8,1.1-1.2,2.3-1.2,3.8s.5,3.1,1.6,4.2c1.1,1.1,2.7,1.9,5,2.3l3.9.8c1,.2,1.7.5,2.2.9.5.4.7.8.7,1.4,0,.7-.4,1.2-1,1.7-.7.4-1.6.6-2.7.6s-2-.2-2.8-.7c-.7-.5-1.2-1.2-1.4-2.1l-6.2.3c.3,2.2,1.4,3.9,3.1,5.1,1.8,1.3,4.2,1.9,7.2,1.9s3.7-.3,5.2-.9c1.5-.6,2.7-1.5,3.6-2.6.9-1.1,1.3-2.4,1.3-3.9s-.5-3-1.6-4c-1.1-1-2.7-1.7-4.9-2.2ZM238.6,23.4c.5,1.4.8,3.1.8,5.1v1.7h-15.5c0,1.1.2,2.1.6,2.9.4.8,1,1.5,1.8,1.9.8.4,1.7.7,2.7.7s1.3,0,1.9-.3c.6-.2,1.1-.5,1.5-.9.4-.4.7-.9.9-1.5l5.8.4c-.3,1.4-.9,2.6-1.8,3.7-.9,1-2.1,1.9-3.5,2.4-1.4.6-3.1.9-5,.9s-4.4-.5-6-1.4c-1.7-1-3-2.3-3.9-4.1-.9-1.8-1.4-3.8-1.4-6.2s.5-4.4,1.4-6.2c.9-1.8,2.2-3.1,3.8-4.1,1.7-1,3.6-1.5,5.8-1.5s2.9.2,4.2.7c1.3.5,2.4,1.2,3.4,2.2,1,1,1.7,2.2,2.3,3.6ZM233.5,26.3c0-.9-.2-1.7-.6-2.4-.4-.7-.9-1.3-1.6-1.7-.7-.4-1.5-.6-2.4-.6s-1.8.2-2.5.7c-.7.4-1.3,1-1.7,1.8-.4.7-.6,1.4-.6,2.2h9.5ZM256.4,17c-.4,0-.7,0-1,0-1.3,0-2.4.4-3.4,1.1-1,.7-1.7,1.8-2.1,3.2h-.2v-4h-6.1v22.7h6.3v-12.9c0-.9.2-1.7.6-2.5.4-.7,1-1.3,1.7-1.7.7-.4,1.6-.6,2.5-.6s.9,0,1.4.1c.5,0,.9.1,1.2.2v-5.6c-.3,0-.6-.1-1-.2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="56">
<polygon fill="context-fill #20123a" points="26.2482 13.468 26.2482 9.6633 3.0262 9.6633 3.0262 14.9495 18.1924 14.9495 3.055 36.1877 3.055 39.9942 26.2787 39.9942 26.2787 34.7063 11.0972 34.7063 26.2482 13.468"/><path fill="context-fill #20123a" d="M48.7982,19.8217c-.9724-.9572-2.1077-1.675-3.4059-2.1536-1.2999-.4785-2.6982-.7195-4.2001-.7195-2.2316,0-4.173.4938-5.8276,1.4815-1.6529.9877-2.9341,2.3657-3.8438,4.1323-.9079,1.7683-1.361,3.8217-1.361,6.1619,0,2.3979.4531,4.4751,1.361,6.2264.9096,1.7531,2.2044,3.1056,3.8879,4.0593,1.6835.9521,3.6961,1.4289,6.0363,1.4289,1.8752,0,3.5315-.2885,4.9689-.8671,1.4357-.577,2.6117-1.3865,3.5247-2.4285.913-1.042,1.5172-2.2638,1.8141-3.6656l-5.8361-.3852c-.2172.5736-.5328,1.0573-.9469,1.4509-.4158.3954-.913.6924-1.4968.8893-.5821.1968-1.2236.2969-1.9244.2969-1.0573,0-1.9703-.2223-2.7407-.6669-.7704-.4446-1.3644-1.0759-1.7836-1.8956-.4208-.8196-.6296-1.7921-.6296-2.9189v-.0135h15.4904v-1.7327c0-1.9363-.2715-3.6265-.8146-5.0724-.543-1.4476-1.2999-2.649-2.2723-3.6078ZM36.4088,26.3247c.0375-.8157.2407-1.5665.6223-2.2435.4141-.7365.9893-1.3237,1.7258-1.7632.7348-.4395,1.5817-.6584,2.5388-.6584.9198,0,1.7259.1985,2.4216.5991.6975.4005,1.2422.9503,1.6376,1.6512.3937.7009.5923,1.507.5923,2.4149h-9.5385Z"/><path fill="context-fill #20123a" d="M75.9964,20.94c-.6517-1.2778-1.5646-2.2621-2.739-2.9545-1.1761-.6907-2.5524-1.0369-4.1323-1.0369-1.6885,0-3.1242.3887-4.3104,1.1625-1.1846.7756-2.028,1.8243-2.532,3.148h-.2664v-4.0135h-6.0126v22.7486h6.3079v-13.1519c.0102-.9775.1951-1.8141.5566-2.5099.3598-.6958.8638-1.227,1.5104-1.5918.6465-.3649,1.395-.5482,2.2435-.5482,1.2643,0,2.2553.392,2.9766,1.1777.7213.784,1.0759,1.8735,1.0674,3.2651v13.3589h6.3078v-14.4841c0-1.7683-.3258-3.2905-.9775-4.5701Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 951 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View File

@@ -1,4 +1,4 @@
<svg width="320" height="130" xmlns="http://www.w3.org/2000/svg">
<rect width="300" height="100" x="10" y="10" style="fill:rgb(0,0,255);stroke-width:3;stroke:red" />
<rect width="300" height="100" x="10" y="10" style="fill:rgb(0,0,255);stroke-width:3;stroke:red" />
Sorry, your browser does not support inline SVG.
</svg>

Before

Width:  |  Height:  |  Size: 225 B

After

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 256 256"><defs><style>.g{fill:#000;}.g,.h,.i{stroke-width:0px;}.h{fill:url(#e);}.i{fill:#fff;}</style><linearGradient id="e" x1="128" y1="256" x2="128" y2="0" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#fff" stop-opacity=".02"/><stop offset=".9" stop-color="#fff" stop-opacity=".1"/></linearGradient></defs><g id="c"><rect class="g" y="0" width="256" height="256" rx="58.4" ry="58.4"/></g><g id="d"><rect class="h" y="0" width="256" height="256" rx="58.4" ry="58.4"/></g><g id="f"><path class="i" d="M165.9156,146.3156c-15.6016,0-28.6656,11.0055-31.8813,25.6562h-12.0687c-3.2156-14.6508-16.2797-25.6562-31.8813-25.6562-18.0063,0-32.6562,14.65-32.6562,32.6562s14.65,32.6562,32.6562,32.6562c15.6016,0,28.6656-11.0055,31.8813-25.6562h12.0687c3.2156,14.6508,16.2797,25.6562,31.8813,25.6562,18.0063,0,32.6562-14.65,32.6562-32.6562s-14.65-32.6562-32.6562-32.6562ZM90.0844,197.6281c-10.2875,0-18.6562-8.3687-18.6562-18.6562s8.3687-18.6562,18.6562-18.6562,18.6562,8.3688,18.6562,18.6562-8.3687,18.6562-18.6562,18.6562ZM165.9156,197.6281c-10.2875,0-18.6562-8.3687-18.6562-18.6562s8.3687-18.6562,18.6562-18.6562,18.6562,8.3688,18.6562,18.6562-8.3687,18.6562-18.6562,18.6562Z"/><path class="i" d="M214.4,115.6812h-21.8391l-9.2422-65.2906c-.3031-2.1406-1.5813-4.0219-3.4594-5.0969-1.8781-1.0719-4.1469-1.2188-6.1469-.3906l-45.7125,18.8906-45.7125-18.8906c-2-.8281-4.2688-.6813-6.1469.3906-1.8781,1.075-3.1562,2.9562-3.4594,5.0969l-9.2422,65.2906h-21.8391c-3.8656,0-7,3.1344-7,7s3.1344,7,7,7h172.8c3.8656,0,7-3.1344,7-7s-3.1344-7-7-7ZM85.2781,61.2875l40.0469,16.55c1.7125.7063,3.6375.7063,5.35,0l40.0469-16.55,7.6984,54.3937h-100.8406l7.6984-54.3937Z"/></g></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg id="d" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 256 256"><defs><style>.f{fill:#000;}.f,.g,.h{stroke-width:0px;}.g{fill:url(#e);}.h{fill:#fff;}</style><linearGradient id="e" x1="128" y1="256" x2="128" y2="0" gradientUnits="userSpaceOnUse"><stop offset=".1" stop-color="#fff" stop-opacity=".02"/><stop offset=".9" stop-color="#fff" stop-opacity=".1"/></linearGradient></defs><rect class="f" width="256" height="256" rx="58.4" ry="58.4"/><rect class="g" width="256" height="256" rx="58.4" ry="58.4"/><path class="h" d="M202.9973,184.5702c-.1715,10.2808-8.7737,18.4298-19.0559,18.4298h-77.2885c-3.0056,0-5.0458-3.0553-3.894-5.8314l.0262-.0632c5.0822-12.2707,13.3289-22.6249,23.8591-30.1785,1.3098-.9395,2.8903-1.4269,4.5023-1.4269h53.1034c10.462,0,18.9225,8.5681,18.7473,19.0702Z"/><path class="h" d="M149.3471,53c3.0056,0,5.0458,3.0553,3.894,5.8314l-.0262.0631c-5.0822,12.2708-13.3289,22.6249-23.8591,30.1785-1.3098.9396-2.8903,1.427-4.5023,1.427h-52.7949c-10.2822,0-18.8844-8.149-19.0559-18.4298-.1752-10.5021,8.2853-19.0702,18.7473-19.0702h77.5971Z"/><path class="h" d="M71.7465,203c-2.3913,0-4.8207-.46-7.1673-1.4319-9.5666-3.9624-14.1096-14.9301-10.1472-24.4964,6.0943-14.7127,14.8294-27.9027,25.9634-39.2034,11.5341-11.7073,25.1364-20.8551,40.4297-27.1898,21.021-8.7076,37.393-25.0792,46.0995-46.0995,3.9624-9.567,14.9305-14.1093,24.4964-10.1472,9.5666,3.9624,14.1096,14.9301,10.1472,24.4964-6.0943,14.7127-14.8294,27.9027-25.9634,39.2034-11.5341,11.7073-25.1364,20.8551-40.4297,27.1898-21.021,8.7076-37.393,25.0792-46.0995,46.0995-2.9905,7.22-9.9725,11.5791-17.329,11.5791Z"/></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.3 KiB

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 260 56">
<defs>
<style>
.cls-1 {
fill="context-fill #20123a"
}
</style>
</defs>
<path class="cls-1" d="M10.7,34.7h15.2v5.3H2.7v-3.8l15.1-21.2H2.6v-5.3h23.2v3.8l-15.2,21.2ZM50.7,23.4c.5,1.4.8,3.1.8,5.1v1.7h-15.5c0,1.1.2,2.1.6,2.9.4.8,1,1.5,1.8,1.9.8.4,1.7.7,2.7.7s1.3,0,1.9-.3c.6-.2,1.1-.5,1.5-.9.4-.4.7-.9.9-1.5l5.8.4c-.3,1.4-.9,2.6-1.8,3.7-.9,1-2.1,1.9-3.5,2.4-1.4.6-3.1.9-5,.9s-4.4-.5-6-1.4c-1.7-1-3-2.3-3.9-4.1-.9-1.8-1.4-3.8-1.4-6.2s.5-4.4,1.4-6.2c.9-1.8,2.2-3.1,3.8-4.1,1.7-1,3.6-1.5,5.8-1.5s2.9.2,4.2.7c1.3.5,2.4,1.2,3.4,2.2,1,1,1.7,2.2,2.3,3.6ZM45.5,26.3c0-.9-.2-1.7-.6-2.4-.4-.7-.9-1.3-1.6-1.7-.7-.4-1.5-.6-2.4-.6s-1.8.2-2.5.7c-.7.4-1.3,1-1.7,1.8-.4.7-.6,1.4-.6,2.2h9.5ZM72.8,18c-1.2-.7-2.6-1-4.1-1s-3.1.4-4.3,1.2c-1.2.8-2,1.8-2.5,3.1h-.3v-4h-6v22.7h6.3v-13.2c0-1,.2-1.8.6-2.5.4-.7.9-1.2,1.5-1.6.6-.4,1.4-.5,2.2-.5,1.3,0,2.3.4,3,1.2.7.8,1.1,1.9,1.1,3.3v13.4h6.3v-14.5c0-1.8-.3-3.3-1-4.6-.7-1.3-1.6-2.3-2.7-3ZM113.8,27.8c.6,1.1.9,2.4.9,3.9s-.4,3-1.2,4.3c-.8,1.3-2,2.3-3.5,3-1.6.7-3.5,1.1-5.7,1.1h-13V9.7h12.1c2.2,0,4.1.3,5.6,1,1.5.7,2.6,1.6,3.4,2.7.8,1.2,1.1,2.5,1.1,4s-.2,2.2-.7,3.1c-.5.9-1.1,1.6-1.9,2.2-.8.6-1.8,1-2.8,1.2v.3c1.2,0,2.2.4,3.3,1,1,.6,1.8,1.4,2.5,2.5ZM97.7,22.4h4.8c.9,0,1.7-.2,2.3-.5.7-.3,1.2-.8,1.6-1.3.4-.6.6-1.3.6-2.1s-.4-2-1.2-2.7c-.8-.7-1.9-1-3.3-1h-4.9v7.5ZM108.1,31c0-.8-.2-1.6-.6-2.2-.4-.6-1-1.1-1.7-1.5-.7-.4-1.6-.5-2.7-.5h-5.4v8.1h5.2c1.8,0,3.1-.3,3.9-1,.8-.7,1.2-1.6,1.2-2.7ZM130.6,16.9c-1.3,0-2.4.4-3.4,1.1-1,.7-1.7,1.8-2.1,3.2h-.2v-4h-6.1v22.7h6.3v-12.9c0-.9.2-1.7.6-2.5.4-.7,1-1.3,1.7-1.7.7-.4,1.6-.6,2.5-.6s.9,0,1.4.1c.5,0,.9.1,1.2.2v-5.6c-.3,0-.6-.1-1-.2s-.7,0-1,0ZM154.9,22.5c.9,1.8,1.4,3.8,1.4,6.2s-.5,4.4-1.4,6.1c-.9,1.8-2.2,3.1-3.9,4.1-1.7,1-3.7,1.5-6,1.5s-4.3-.5-6-1.5c-1.7-1-3-2.4-3.9-4.1-.9-1.8-1.4-3.8-1.4-6.1s.5-4.4,1.4-6.2c.9-1.8,2.2-3.1,3.9-4.1,1.7-1,3.7-1.5,6-1.5s4.3.5,6,1.5c1.7,1,3,2.4,3.9,4.1ZM149.8,28.7c0-1.3-.2-2.5-.5-3.5-.4-1-.9-1.9-1.6-2.5-.7-.6-1.6-.9-2.6-.9s-1.9.3-2.7.9c-.7.6-1.3,1.4-1.6,2.5-.4,1-.5,2.2-.5,3.5s.2,2.5.5,3.5c.4,1,.9,1.9,1.6,2.5.7.6,1.6.9,2.7.9s1.9-.3,2.6-.9c.7-.6,1.2-1.4,1.6-2.5.4-1,.5-2.2.5-3.5ZM182,32.4h-.2l-3.7-15.2h-6.3l-3.7,15.3h-.2l-3.5-15.3h-6.4l6.2,22.7h6.7l3.9-14.3h.3l3.9,14.3h6.7l6.2-22.7h-6.4l-3.5,15.2ZM208.1,26.8l-4.1-.8c-1.1-.2-1.8-.5-2.2-.9-.4-.4-.7-.8-.7-1.4s.3-1.2,1-1.6c.7-.4,1.5-.6,2.5-.6s1.4.1,1.9.4c.5.2,1,.6,1.3,1,.3.4.5.8.6,1.3l5.8-.4c-.3-2.1-1.2-3.7-2.9-5-1.7-1.2-3.9-1.8-6.8-1.8s-3.6.3-5.1.9c-1.4.6-2.6,1.4-3.4,2.4-.8,1.1-1.2,2.3-1.2,3.8s.5,3.1,1.6,4.2c1.1,1.1,2.7,1.9,5,2.3l3.9.8c1,.2,1.7.5,2.2.9.5.4.7.8.7,1.4,0,.7-.4,1.2-1,1.7-.7.4-1.6.6-2.7.6s-2-.2-2.8-.7c-.7-.5-1.2-1.2-1.4-2.1l-6.2.3c.3,2.2,1.4,3.9,3.1,5.1,1.8,1.3,4.2,1.9,7.2,1.9s3.7-.3,5.2-.9c1.5-.6,2.7-1.5,3.6-2.6.9-1.1,1.3-2.4,1.3-3.9s-.5-3-1.6-4c-1.1-1-2.7-1.7-4.9-2.2ZM238.6,23.4c.5,1.4.8,3.1.8,5.1v1.7h-15.5c0,1.1.2,2.1.6,2.9.4.8,1,1.5,1.8,1.9.8.4,1.7.7,2.7.7s1.3,0,1.9-.3c.6-.2,1.1-.5,1.5-.9.4-.4.7-.9.9-1.5l5.8.4c-.3,1.4-.9,2.6-1.8,3.7-.9,1-2.1,1.9-3.5,2.4-1.4.6-3.1.9-5,.9s-4.4-.5-6-1.4c-1.7-1-3-2.3-3.9-4.1-.9-1.8-1.4-3.8-1.4-6.2s.5-4.4,1.4-6.2c.9-1.8,2.2-3.1,3.8-4.1,1.7-1,3.6-1.5,5.8-1.5s2.9.2,4.2.7c1.3.5,2.4,1.2,3.4,2.2,1,1,1.7,2.2,2.3,3.6ZM233.5,26.3c0-.9-.2-1.7-.6-2.4-.4-.7-.9-1.3-1.6-1.7-.7-.4-1.5-.6-2.4-.6s-1.8.2-2.5.7c-.7.4-1.3,1-1.7,1.8-.4.7-.6,1.4-.6,2.2h9.5ZM256.4,17c-.4,0-.7,0-1,0-1.3,0-2.4.4-3.4,1.1-1,.7-1.7,1.8-2.1,3.2h-.2v-4h-6.1v22.7h6.3v-12.9c0-.9.2-1.7.6-2.5.4-.7,1-1.3,1.7-1.7.7-.4,1.6-.6,2.5-.6s.9,0,1.4.1c.5,0,.9.1,1.2.2v-5.6c-.3,0-.6-.1-1-.2Z"/>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="80" height="56">
<polygon fill="context-fill #20123a" points="26.2482 13.468 26.2482 9.6633 3.0262 9.6633 3.0262 14.9495 18.1924 14.9495 3.055 36.1877 3.055 39.9942 26.2787 39.9942 26.2787 34.7063 11.0972 34.7063 26.2482 13.468"/><path fill="context-fill #20123a" d="M48.7982,19.8217c-.9724-.9572-2.1077-1.675-3.4059-2.1536-1.2999-.4785-2.6982-.7195-4.2001-.7195-2.2316,0-4.173.4938-5.8276,1.4815-1.6529.9877-2.9341,2.3657-3.8438,4.1323-.9079,1.7683-1.361,3.8217-1.361,6.1619,0,2.3979.4531,4.4751,1.361,6.2264.9096,1.7531,2.2044,3.1056,3.8879,4.0593,1.6835.9521,3.6961,1.4289,6.0363,1.4289,1.8752,0,3.5315-.2885,4.9689-.8671,1.4357-.577,2.6117-1.3865,3.5247-2.4285.913-1.042,1.5172-2.2638,1.8141-3.6656l-5.8361-.3852c-.2172.5736-.5328,1.0573-.9469,1.4509-.4158.3954-.913.6924-1.4968.8893-.5821.1968-1.2236.2969-1.9244.2969-1.0573,0-1.9703-.2223-2.7407-.6669-.7704-.4446-1.3644-1.0759-1.7836-1.8956-.4208-.8196-.6296-1.7921-.6296-2.9189v-.0135h15.4904v-1.7327c0-1.9363-.2715-3.6265-.8146-5.0724-.543-1.4476-1.2999-2.649-2.2723-3.6078ZM36.4088,26.3247c.0375-.8157.2407-1.5665.6223-2.2435.4141-.7365.9893-1.3237,1.7258-1.7632.7348-.4395,1.5817-.6584,2.5388-.6584.9198,0,1.7259.1985,2.4216.5991.6975.4005,1.2422.9503,1.6376,1.6512.3937.7009.5923,1.507.5923,2.4149h-9.5385Z"/><path fill="context-fill #20123a" d="M75.9964,20.94c-.6517-1.2778-1.5646-2.2621-2.739-2.9545-1.1761-.6907-2.5524-1.0369-4.1323-1.0369-1.6885,0-3.1242.3887-4.3104,1.1625-1.1846.7756-2.028,1.8243-2.532,3.148h-.2664v-4.0135h-6.0126v22.7486h6.3079v-13.1519c.0102-.9775.1951-1.8141.5566-2.5099.3598-.6958.8638-1.227,1.5104-1.5918.6465-.3649,1.395-.5482,2.2435-.5482,1.2643,0,2.2553.392,2.9766,1.1777.7213.784,1.0759,1.8735,1.0674,3.2651v13.3589h6.3078v-14.4841c0-1.7683-.3258-3.2905-.9775-4.5701Z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 104 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 102 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 483 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 344 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 872 B

After

Width:  |  Height:  |  Size: 624 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 951 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

View File

@@ -1,12 +1,12 @@
# Browser branding
ac_add_options --enable-update-channel=release
ac_add_options --with-app-name=${binName}
ac_add_options --with-app-basename=Zen
ac_add_options --enable-official-branding
# Localization
ac_add_options --with-l10n-base="$PWD/browser/locales"
export MOZ_USER_DIR="${name}"
export MOZ_APP_VENDOR="${vendor}"
export MOZ_APP_BASENAME=Zen
export MOZ_APP_PROFILE=${binName}
export MOZ_APP_DISPLAYNAME="${name}"
@@ -19,70 +19,66 @@ export MOZ_DISTRIBUTION_ID=${appId}
# ac_add_options --enable-linker=gold
# Misc
export MOZ_STUB_INSTALLER=1
export MOZ_SOURCE_REPO=https://github.com/zen-browser/desktop
export MOZ_SOURCE_CHANGESET=${changeset}
export MOZ_INCLUDE_SOURCE_INFO=1
ac_add_options --enable-bootstrap
#export MOZ_INCLUDE_SOURCE_INFO=1
ac_add_options --enable-application=browser
if test "$ZEN_RELEASE"; then
ac_add_options --enable-bootstrap
ac_add_options --enable-release
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-debug-js-modules
ac_add_options --disable-tests
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --disable-accessibility
ac_add_options --disable-jprof
ac_add_options --enable-rust-simd
mk_add_options MOZ_PARALLEL_COMPILE=1
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=0
ac_add_options --enable-wasm-simd
mk_add_options MOZ_PARALLEL_COMPILE=1
ac_add_options --enable-proxy-bypass-protection
ac_add_options --enable-hardening
ac_add_options --disable-profiling
ac_add_options --disable-crashreporter
ac_add_options --disable-geckodriver
ac_add_options --disable-rust-tests
# Done by vlad, if something fails, it's his fault
ac_add_options --disable-default-browser-agent
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
ac_add_options --enable-lto
if ! test "$ZEN_DISABLE_LTO"; then
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
ac_add_options --enable-lto=full,cross
fi
ac_add_options --enable-jemalloc
ac_add_options --disable-jprof
mk_add_options MOZILLA_OFFICIAL=1
MOZILLA_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options MOZ_OPTIMIZE=1
MOZ_OPTIMIZE=1
export MOZ_OPTIMIZE=1
mk_add_options MOZ_OPTIMIZE=2
MOZ_OPTIMIZE=2
export MOZ_OPTIMIZE=2
export OPT_LEVEL="3"
ac_add_options OPT_LEVEL="3"
export RUSTC_OPT_LEVEL="3"
ac_add_options RUSTC_OPT_LEVEL="3"
mk_add_options AUTOCLOBBER=1
export AUTOCLOBBER=1
if ! test "$ZEN_CROSS_COMPILING"; then
# It causes link errors on windows
ac_add_options --disable-dmd
fi
ac_add_options --enable-updater
export MOZ_PACKAGE_JSSHELL=1
fi
ac_add_options --enable-unverified-updates
@@ -96,18 +92,14 @@ ac_add_options --enable-eme=widevine
ac_add_options --allow-addon-sideload
ac_add_options --with-unsigned-addon-scopes=app,system
export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=0
if test "$ZEN_CROSS_COMPILING"; then
ac_add_options --target=x86_64-pc-linux-gnu
fi
# Allow loading unsigned extensions
export MOZ_REQUIRE_SIGNING=
mk_add_options MOZ_REQUIRE_SIGNING=
export MOZ_APP_UA_NAME="Firefox"
# ALWAYS MANTAIN ONE LINE BREAK AT THE END OF THIS FILE
# Sorry ptr, I didnt mean to!
# Edit: ok, ill remove it, goodbye top #1 on fastest browsers benchmark :[
# ac_add_options --without-wasm-sandboxed-libraries

View File

@@ -1,21 +1,22 @@
ac_add_options --enable-wasm-avx
# not when cross compiling
if ! test "$ZEN_CROSS_COMPILING"; then
if test -d "$HOME/.mozbuild/clang/bin"; then
export CC="$HOME"/.mozbuild/clang/bin/clang
export CXX="$HOME"/.mozbuild/clang/bin/clang++
else
export CC=clang
export CXX=clang++
fi
ac_add_options --enable-linker=lld
ac_add_options --disable-elf-hack
if test -d "$HOME/.mozbuild/clang/bin"; then
export CC="$HOME"/.mozbuild/clang/bin/clang
export CXX="$HOME"/.mozbuild/clang/bin/clang++
else
export CC=clang
export CXX=clang++
fi
if test "$ZEN_RELEASE"; then
ac_add_options --disable-dmd
ac_add_options --enable-linker=lld
ac_add_options --disable-elf-hack
ac_add_options --disable-gpsd
ac_add_options --disable-necko-wifi
ac_add_options --enable-install-strip
ac_add_options --enable-strip
export STRIP_FLAGS="--strip-debug --strip-unneeded"
@@ -25,20 +26,33 @@ if test "$ZEN_RELEASE"; then
ac_add_options --with-ccache=/home/runner/.mozbuild/sccache/sccache
mk_add_options 'export SCCACHE_GHA_ENABLED=on'
fi
# PGO may cause link errors on windows!
if ! test "$ZEN_CROSS_COMPILING"; then
# WE ARE JUST SUPPORTING PGO FOR LINUX!
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
fi
export CFLAGS="$CFLAGS -march=x86-64-v2 -mtune=haswell -O3 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection"
export CXXLAGS="$CXXFLAGS -march=x86-64-v2 -mtune=haswell -O3 -pipe -fno-plt -fexceptions -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection"
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
if test "$SURFER_COMPAT" = "true"; then
ac_add_options --enable-optimize="-O3 -march=x86-64"
export CFLAGS="$CFLAGS -O3 -ffp-contract=fast -march=x86-64"
export CPPFLAGS="$CPPFLAGS -O3 -ffp-contract=fast -march=x86-64"
export CXXFLAGS="$CXXFLAGS -O3 -ffp-contract=fast -march=x86-64"
export LDFLAGS="$LDFLAGS -Wl,-O3 -Wl,-mllvm,-fp-contract=fast -march=x86-64"
export RUSTFLAGS="$RUSTFLAGS -C target-cpu=x86-64 -C codegen-units=1"
else
ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-O3 -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -mpopcnt -mpclmul"
export CFLAGS="$CFLAGS -O3 -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -mpopcnt -mpclmul"
export CPPFLAGS="$CPPFLAGS -O3 -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -mpopcnt -mpclmul"
export CXXFLAGS="$CXXFLAGS -O3 -ffp-contract=fast -march=x86-64-v3 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -mpopcnt -mpclmul"
export LDFLAGS="$LDFLAGS -Wl,-O3 -Wl,-mllvm,-fp-contract=fast -march=x86-64-v3"
export RUSTFLAGS="$RUSTFLAGS -C target-cpu=x86-64-v3 -C target-feature=+sse4.1 -C target-feature=+avx2 -C codegen-units=1"
fi
export VERBOSE=1
export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export RUSTFLAGS="$RUSTFLAGS -C codegen-units=1 -Ctarget-cpu=x86-64-v2"
fi
# Disable telemetry and tracking
mk_add_options MOZ_TELEMETRY_REPORTING=
mk_add_options MOZ_DATA_REPORTING=
ac_add_options --target=x86_64-pc-linux
ac_add_options --enable-alsa
ac_add_options --enable-pulseaudio

View File

@@ -1,12 +1,36 @@
POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
# SURFER_COMPAT has a different meaning here, in macOS it means that the build is for
# x86_64, not ARM64.
unset MOZ_STDCXX_COMPAT
if test "$ZEN_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=apple-m1"
fi
ac_add_options --enable-install-strip
ac_add_options --target=aarch64-apple-darwin
ac_add_options --disable-dmd
export MOZ_MACBUNDLE_ID=${appId}
export MOZ_MACBUNDLE_NAME="Zen Browser.app"
if test "$SURFER_COMPAT" = "true"; then
export MOZ_PGO=1
ac_add_options MOZ_PGO=1
ac_add_options --target=x86_64-apple-darwin
ac_add_options --enable-wasm-avx
ac_add_options --enable-optimize="-march=nehalem -mtune=haswell -O3 -w"
export CFLAGS="-O3 -march=nehalem"
export CPPFLAGS="-O3 -march=nehalem"
export CXXFLAGS="-O3 -march=nehalem"
export LDFLAGS="-Wl,-O3 -march=nehalem"
export RUSTFLAGS="-Ctarget-cpu=nehalem -C codegen-units=1"
else
ac_add_options --target=aarch64-apple-darwin
ac_add_options --enable-optimize="-O3 -mcpu=apple-m1 -march=armv8.3-a+simd"
export CFLAGS="-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export CPPFLAGS="-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export CXXFLAGS="-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export LDFLAGS="-Wl,-O3 -march=armv8.3-a+simd -mcpu=apple-m1"
export RUSTFLAGS="-C target-feature=+v8.3a -C codegen-units=1 -Ctarget-cpu=apple-m1"
fi
export VERBOSE=1
export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"

View File

@@ -1,5 +1,69 @@
# Disable telemetry and tracking
mk_add_options MOZ_TELEMETRY_REPORTING=
mk_add_options MOZ_DATA_REPORTING=
if test "$ZEN_CROSS_COMPILING"; then
export WINSYSROOT="$(echo ~)/win-cross/vs2022"
export MIDL="$(echo ~)/win-cross/wine/bin/widl"
export WINE="$(echo ~)/win-cross/wine/bin/wine64"
export WINEDEBUG=-all
export MOZ_STUB_INSTALLER=1
export MOZ_PKG_FORMAT=TAR
export CROSS_BUILD=1
CROSS_COMPILE=1
TOOLS=$(echo ~)/win-cross
export WIN_UCRT_REDIST_DIR="$(echo ~)/win-cross/vs2022/Windows Kits/10/Redist/10.0.22621.0/ucrt/DLLs/x64"
export WIN32_REDIST_DIR="$(echo ~)/win-cross/vs2022/VC/Redist/MSVC/14.38.33135/x64/Microsoft.VC143.CRT"
export MIDL="$TOOLS/wine/bin/widl"
export MOZ_INCLUDE_SOURCE_INFO=1
export MOZ_STUB_INSTALLER=1
export WINEDEBUG=-all
export WINE="$TOOLS/wine/bin/wine64"
fi
#? https://bugzilla.mozilla.org/show_bug.cgi?id=1617793
#? https://phabricator.services.mozilla.com/D170170
ac_add_options --target=x86_64-pc-windows-msvc
ac_add_options --disable-maintenance-service
ac_add_options --disable-bits-download
if test "$SURFER_COMPAT" = "true"; then
ac_add_options --enable-optimize="-O2 -Qvec -mtune=haswell -march=x86-64 -w"
export CFLAGS="-mtune=haswell -march=x86-64 -O2 -Qvec -w"
export CPPFLAGS="-mtune=haswell -march=x86-64 -O2 -Qvec -w"
export CXXFLAGS="-mtune=haswell -march=x86-64 -O2 -Qvec -w"
export LDFLAGS="-Wl,-O2"
export RUSTFLAGS="-C codegen-units=1 -Ctarget-cpu=x86-64"
else
ac_add_options --enable-optimize="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -Xclang -w"
ac_add_options --enable-wasm-avx
export CFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -march=x86-64-v3"
export CPPFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -march=x86-64-v3"
export CXXFLAGS="-O2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -maes -march=x86-64-v3"
export LDFLAGS="-Wl,-O3 -march=x86-64-v3"
export RUSTFLAGS="-C target-feature=+avx -C codegen-units=1 -Ctarget-cpu=x86-64-v3"
fi
export POLLY="-mllvm -polly -mllvm -polly-2nd-level-tiling -mllvm -polly-loopfusion-greedy -mllvm -polly-pattern-matching-based-opts -mllvm -polly-position=before-vectorizer -mllvm -polly-vectorizer=stripmine"
export VERBOSE=1
#if test "$ZEN_GA_GENERATE_PROFILE"; then
# mk_add_options "export MOZ_AUTOMATION_PACKAGE_GENERATED_SOURCES=0"
# ac_add_options --enable-profile-generate=cross
#else
# ac_add_options --enable-profile-use=cross
# if test "$SURFER_COMPAT" = "true"; then
# ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged-generic.profdata
# ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US-generic.log
# else
# ac_add_options --with-pgo-profile-path=$(echo ~)/artifact/merged-specific.profdata
# ac_add_options --with-pgo-jarlog=$(echo ~)/artifact/en-US-specific.log
# fi
#fi

19
docs/key-shortcuts.md Normal file
View File

@@ -0,0 +1,19 @@
# Custom Keyboard Shortcuts
```json
{
"<shortcut-id>": {
"key": "<key>",
"alt": false,
"shift": false,
"ctrl": false,
"meta": false,
"keycode": 0
}
}
```
The `key` field is the key that will trigger the shortcut. The `alt`, `shift`, `ctrl`, and `meta` fields are booleans that indicate if the respective modifier key should be pressed when the shortcut is triggered.
The `keycode` field is the keycode of the key that will trigger the shortcut. This field is optional and can be used to specify the keycode of the key that will trigger the shortcut. If the `keycode` field is specified, the `key` field will be ignored.

60
docs/performance.md Normal file
View File

@@ -0,0 +1,60 @@
# 🌀 Zen Browser Performance traker
## Scores
## 1
- [NOCanoa](https://github.com/NOCanoa)
OS: win 11; CPU: i5 13600k
## web.basemark
https://web.basemark.com/
| | score: |CSS | HTML5 | Page load and Responsiveness | Resize Cap. |
|-----------|-----|-----|-------|------------------------------|-------------|
| 1.0.0-a.15-opt | 2141.63 | 59% | 91% | 90% | 76% |
| 1.0.0-a.13-opt | 1658.87 | 59% | 91% | 90% | 76% |
| 1.0.0-a.12-opt | 1874.49 | 59% | 91% | 91% | 76% |
| 1.0.0-a.11-opt | 1678.49 | 59% | 91% | 91% | 76% |
| 1.0.0-a.10 | 1660.89 | 59% | 91% | 91% | 76% |
| 1.0.0-a.9 | 470 | why | why | why | why |
| 1.0.0-a.8 | 446.74 | 59% | 91% | 96% | 76% |
| 1.0.0-a.7 | 1964.43 | 59% | 91% | 91% | 76% |
| 1.0.0-a.6 | 1747.98 | 59% | 91% | 91% | 76% |
| 1.0.0-a.4 | 470.49 | 59% | 91% | 97% | 76% |
| 1.0.0-a.3 | 475.52 |59% | 91% | 97% | 76% |
| other | last | update | 31/7 | 2024 | - |
| Librewolf 128.0-2 | 1953.65 | 59.66% | 89.01% | 91.72% | 76.12% |
| FF nightly 130.0a1 | 1912.77 | 59.66% | 90.91% | 91.72% | 76.12% |
```mermaid
xychart-beta
title "Performance over time (Higher is better)"
x-axis [.3, .4, .6, .7, .8, .9, .10, .11, .12, .13, .15]
y-axis "Benchmark Points"
bar [475.52, 470.49, 1747.98, 1964.43, 446.74, 470, 1660.89, 1678.49, 1874.49, 1658.87, 2141.63]
line [475.52, 470.49, 1747.98, 1964.43, 446.74, 470, 1660.89, 1678.49, 1874.49, 1658.87, 2141.63]
```
## Speedometer3.0
https://browserbench.org/Speedometer3.0/
| | score: |
|-----------|-----|
| 1.0.0-a.15-opt | TODO |
| 1.0.0-a.13-opt | 21.1 |
| 1.0.0-a.12-opt | 21.5 |
| 1.0.0-a.11-opt | 20.8 |
| 1.0.0-a.10 | 21.2 |
| others| - |
| Vivaldi 6.7.3329.39| 27.8 |
| FF nightly 130.0a1 | 27.0 |
| Librewolf 128.0-2 | 20.2 |
## Repository View Counter
<div align='center'><a href='https://www.websitecounterfree.com'><img src='https://www.websitecounterfree.com/c.php?d=9&id=57772&s=40' border='0' alt='Free Website Counter'></a><br / ><small><a href='https://www.websitecounterfree.com' title="Free Website Counter">Free Website Counter</a></small></div>

31
docs/requirements.md Normal file
View File

@@ -0,0 +1,31 @@
# Supported CPUs for optimized builds (Windows and Linux)
> If you CPU is not listed, you should use the "Generic" build.
* AMD Family 15h (Excavator)
* AMD Family 17h (Zen)
* AMD Family 17h (Zen+)
* AMD Family 17h (Zen 2)
* AMD Family 19h (Zen 3)
* Intel 4th Gen Core (Haswell)
* Intel 5th Gen Core (Broadwell)
* Intel 6th Gen Core (Skylake)
* Intel 7th Gen Core (Kaby Lake)
* Intel 8/9th Gen Core (Coffee Lake)
* Intel 10th Gen Core (Comet Lake)
* Intel 12th Gen (Alder Lake)
* Intel 13th Gen (Raptor Lake)
* Intel 14th Gen (Raptor Lake Refresh)
* Intel 15th Gen (Lunar / Arrow Lake)
* AMD Family 19h (Zen 4 / Zen 4c)
* AMD Family 1Ah (Zen 5 / Zen 5c)
* Intel 6th Gen Core (Skylake X)
* Intel 8th Gen Core i3 (Cannon Lake)
* Intel Xeon / 10th Gen Core (Ice Lake)
* Intel Xeon (Cascade Lake)
* Intel Xeon (Cooper Lake)
* Intel 3rd Gen 10nm++ (Tiger Lake)
* Intel 4th Gen 10nm++ (Sapphire Rapids)
* Intel 5th Gen 10nm++ (Emerald Rapids)
* Intel 11th Gen (Rocket Lake)

View File

@@ -1,7 +1,7 @@
# Workspaces Layout
```
```json
{
"workspaces": [
{

View File

@@ -0,0 +1,46 @@
app-id: io.github.zen_browser.zen
runtime: org.freedesktop.Platform
runtime-version: '23.08'
sdk: org.freedesktop.Sdk
base: org.mozilla.firefox.BaseApp
base-version: '23.08'
command: launch-script.sh
finish-args:
- --share=ipc
- --share=network
- --socket=pulseaudio
- --socket=wayland
- --socket=fallback-x11
- --socket=pcsc
- --socket=cups
- --persist=.zen
- --filesystem=xdg-download:rw
- --device=all
- --talk-name=org.freedesktop.FileManager1
- --own-name=org.mozilla.zen.*
- --own-name=org.mpris.MediaPlayer2.firefox.*
- --system-talk-name=org.freedesktop.NetworkManager
- --talk-name=org.a11y.Bus
modules:
- name: zen_browser
buildsystem: simple
build-commands:
- mv zen /app/
- install -Dm0755 metadata/launch-script.sh ${{FLATPAK_DEST}}/bin/launch-script.sh
- install -Dm0644 metadata/policies.json ${{FLATPAK_DEST}}/bin/distribution/policies.json
- install -Dm0644 metadata/icons/io.github.zen_browser.zen.svg ${{FLATPAK_DEST}}/share/icons/hicolor/scalable/apps/${{FLATPAK_ID}}.svg
- install -Dm0644 metadata/io.github.zen_browser.zen.metainfo.xml ${{FLATPAK_DEST}}/share/metainfo/${{FLATPAK_ID}}.metainfo.xml
- install -Dm0644 metadata/io.github.zen_browser.zen.desktop ${{FLATPAK_DEST}}/share/applications/${{FLATPAK_ID}}.desktop
sources:
- type: archive
url: https://github.com/zen-browser/desktop/releases/download/{version}/zen.linux-generic.tar.bz2
sha256: {linux_sha256}
strip-components: 0
- type: archive
url: https://github.com/zen-browser/flatpak/releases/latest/download/archive.tar
sha256: {flatpak_sha256}
strip-components: 0
dest: metadata

1
l10n Submodule

Submodule l10n added at 32ef114c44

3402
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -27,6 +27,6 @@
},
"homepage": "https://github.com/zen-browser/core#readme",
"dependencies": {
"@zen-browser/surfer": "^1.1.8"
"@zen-browser/surfer": "^1.3.4"
}
}

10
pnpm-lock.yaml generated
View File

@@ -9,8 +9,8 @@ importers:
.:
dependencies:
'@zen-browser/surfer':
specifier: ^1.1.8
version: 1.1.8
specifier: ^1.3.4
version: 1.3.4
packages:
@@ -109,8 +109,8 @@ packages:
'@types/node@17.0.45':
resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==}
'@zen-browser/surfer@1.1.8':
resolution: {integrity: sha512-y51pqi0eMeiuXn+86Qfec3kHK4F3l6e0ut3LDewDY+f3TDe6xGTQb5z975KIW7GAz0KAOe/jWsrqvD0a87Sqxg==}
'@zen-browser/surfer@1.3.4':
resolution: {integrity: sha512-xnZK6D5/DPy5BZonucUAYZQXg+BUisPJbWSvXypno1Ns0InlpiI0saYSON3hQ+VbLzwBB8LTfGLYphFnskkw7w==}
hasBin: true
ansi-regex@5.0.1:
@@ -786,7 +786,7 @@ snapshots:
'@types/node@17.0.45': {}
'@zen-browser/surfer@1.1.8':
'@zen-browser/surfer@1.3.4':
dependencies:
'@resvg/resvg-js': 1.4.0
async-icns: 1.0.2

View File

@@ -0,0 +1,67 @@
set -ex
CURRENT_DIR=$(pwd)
git config --global init.defaultBranch main
git config --global fetch.prune true
mkdir ~/tools
cd ~/tools
git clone https://github.com/glandium/git-cinnabar.git
cd git-cinnabar
git checkout 0.5.11
export PATH=~/tools/git-cinnabar:$PATH
cd ~
git cinnabar download
cd $CURRENT_DIR
update_language() {
langId=$1
cd ./l10n
cd $langId
echo "Updating $langId"
rm -rf .git
git init
git remote add upstream hg://hg.mozilla.org/l10n-central/$langId
git remote set-url upstream hg://hg.mozilla.org/l10n-central/$langId
git pull upstream branches/default/tip
cd $CURRENT_DIR
}
export PATH=~/tools/git-cinnabar:$PATH
for lang in $(cat ./l10n/supported-languages); do
update_language $lang
done
cd $CURRENT_DIR
# Move all the files to the correct location
browser_locales=engine/browser/locales
copy_browser_locales() {
langId=$1
only_en=$2
mkdir -p $browser_locales/$langId
if [ "$only_en" = true ]; then
rsync -av --exclude=.git ./l10n/en-US/browser/ $browser_locales/$langId/
return
fi
rm -rf $browser_locales/$langId/
rsync -av --exclude=.git ./l10n/$langId/ $browser_locales/$langId/
}
copy_browser_locales en-US true
for lang in $(cat ./l10n/supported-languages); do
copy_browser_locales $lang false
done
echo "Cleaning up"
rm -rf ~/tools
rm -rf ~/.git-cinnabar
for lang in $(cat ./l10n/supported-languages); do
# remove every file except if it starts with "zen"
find ./l10n/$lang -type f -not -name "zen*" -delete
done

View File

@@ -0,0 +1,58 @@
import os
import sys
import hashlib
import argparse
FLATID = "io.github.zen_browser.zen"
def get_sha256sum(filename):
sha256 = hashlib.sha256()
with open(filename, "rb") as f:
for byte_block in iter(lambda: f.read(4096), b""):
sha256.update(byte_block)
return sha256.hexdigest()
def build_template(template, linux_sha256, flatpak_sha256, version):
print(f"Building template with version {version}")
print(f"\tLinux archive sha256: {linux_sha256}")
print(f"\tFlatpak archive sha256: {flatpak_sha256}")
return template.format(linux_sha256=linux_sha256,
flatpak_sha256=flatpak_sha256,
version=version)
def get_template(template_root):
file = f"{template_root}/{FLATID}.yml.template"
print(f"Reading template {file}")
with open(file, "r") as f:
return f.read()
print(f"Template {template_root}/flatpak.yml not found")
sys.exit(1)
def main():
parser = argparse.ArgumentParser(description='Prepare flatpak release')
parser.add_argument('--version', help='Version of the release', required=True)
parser.add_argument('--linux-archive', help='Linux archive', required=True)
parser.add_argument('--flatpak-archive', help='Flatpak archive', required=True)
parser.add_argument('--output', help='Output file', default=f"{FLATID}.yml")
parser.add_argument('--template-root', help='Template root', default="flatpak")
args = parser.parse_args()
version = args.version
linux_archive = args.linux_archive
flatpak_archive = args.flatpak_archive
output = args.output
template_root = args.template_root
linux_sha256 = get_sha256sum(linux_archive)
flatpak_sha256 = get_sha256sum(flatpak_archive)
template = build_template(get_template(template_root), linux_sha256, flatpak_sha256, version)
print(f"Writing output to {output}")
with open(output, "w") as f:
f.write(template)
if __name__ == "__main__":
main()

View File

@@ -1,29 +1,7 @@
// Ignore license in this file
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// The code in this file was created by @yokoffing and is licensed under the
// MIT license:
// MIT License
//
// Copyright (c) 2020 yokoffing
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
/* You may copy+paste this file and use it as it is.
*
* If you make changes to your about:config while the program is running, the
@@ -35,241 +13,212 @@
/****************************************************************************
* Betterfox *
* "Ad meliora" *
* version: 121 *
* version: 128 *
* url: https://github.com/yokoffing/Betterfox *
****************************************************************************/
****************************************************************************/
/****************************************************************************
* SECTION: FASTFOX *
****************************************************************************/
****************************************************************************/
/** GENERAL ***/
pref('content.notify.interval', 100000);
pref("content.notify.interval", 100000); // (.10s); alt=500000 (.50s)
/** GFX ***/
pref('gfx.canvas.accelerated.cache-items', 4096);
pref('gfx.canvas.accelerated.cache-size', 512);
pref('gfx.content.skia-font-cache-size', 20);
pref("gfx.canvas.accelerated.cache-items", 4096);
pref("gfx.canvas.accelerated.cache-size", 512);
pref("gfx.content.skia-font-cache-size", 20);
/** DISK CACHE ***/
pref('browser.cache.jsbc_compression_level', 3);
pref("browser.cache.jsbc_compression_level", 3);
/** MEDIA CACHE ***/
pref('media.memory_cache_max_size', 65536);
pref('media.cache_readahead_limit', 7200);
pref('media.cache_resume_threshold', 3600);
pref("media.memory_cache_max_size", 512000); // alt=512000; also in Securefox (inactive there)
pref("media.cache_readahead_limit", 9000); // default=60; stop reading ahead when our buffered data is this many seconds ahead of the current playback
pref("media.cache_resume_threshold", 6000); // default=30; when a network connection is suspended, don't resume it until the amount of buffered data falls below this threshold (in seconds)
/** IMAGE CACHE ***/
pref('image.mem.decode_bytes_at_a_time', 32768);
pref("image.mem.decode_bytes_at_a_time", 32768);
/** NETWORK ***/
pref('network.buffer.cache.size', 262144);
pref('network.buffer.cache.count', 128);
pref('network.http.max-connections', 1800);
pref('network.http.max-persistent-connections-per-server', 10);
pref('network.http.max-urgent-start-excessive-connections-per-host', 5);
pref('network.http.pacing.requests.enabled', false);
pref('network.dnsCacheExpiration', 3600);
pref('network.dns.max_high_priority_threads', 8);
pref('network.ssl_tokens_cache_capacity', 10240);
pref("network.http.max-connections", 1800);
pref("network.http.max-persistent-connections-per-server", 10);
pref("network.http.max-urgent-start-excessive-connections-per-host", 5);
pref("network.http.pacing.requests.enabled", false);
pref("network.dnsCacheExpiration", 3600);
pref("network.http.max-persistent-connections-per-proxy", 48); // default=32
pref("network.websocket.max-connections", 400); // default=200
pref("network.ssl_tokens_cache_capacity", 32768);
/** SPECULATIVE LOADING ***/
pref('network.dns.disablePrefetch', true);
pref('network.prefetch-next', false);
pref('network.predictor.enabled', false);
/** MIXED CONTENT + CROSS-SITE ***/
pref("pdfjs.enableScripting", false);
pref("extensions.postDownloadThirdPartyPrompt", false);
/** EXPERIMENTAL ***/
pref('layout.css.grid-template-masonry-value.enabled', true);
pref('dom.enable_web_task_scheduling', true);
pref('layout.css.has-selector.enabled', true);
pref('dom.security.sanitizer.enabled', true);
pref("layout.css.grid-template-masonry-value.enabled", true);
pref("dom.enable_web_task_scheduling", true);
pref("dom.security.sanitizer.enabled", true);
/****************************************************************************
* SECTION: SECUREFOX *
****************************************************************************/
****************************************************************************/
/** TRACKING PROTECTION ***/
pref('browser.contentblocking.category', 'strict');
pref(
'urlclassifier.trackingSkipURLs',
'*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com'
);
pref(
'urlclassifier.features.socialtracking.skipURLs',
'*.instagram.com, *.twitter.com, *.twimg.com'
);
pref('network.cookie.sameSite.noneRequiresSecure', true);
pref('browser.download.start_downloads_in_tmp_dir', true);
pref('browser.helperApps.deleteTempFileOnExit', true);
pref('browser.uitour.enabled', false);
pref('privacy.globalprivacycontrol.enabled', true);
pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com");
pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com");
pref("network.cookie.sameSite.noneRequiresSecure", true);
pref("browser.download.start_downloads_in_tmp_dir", true);
pref("browser.helperApps.deleteTempFileOnExit", true);
pref("browser.uitour.enabled", false);
/** OCSP & CERTS / HPKP ***/
pref('security.OCSP.enabled', 0);
pref('security.remote_settings.crlite_filters.enabled', true);
pref('security.pki.crlite_mode', 2);
pref("security.OCSP.enabled", 0);
pref("security.remote_settings.crlite_filters.enabled", true);
pref("security.pki.crlite_mode", 2);
/** SSL / TLS ***/
pref('security.ssl.treat_unsafe_negotiation_as_broken', true);
pref('browser.xul.error_pages.expert_bad_cert', true);
pref('security.tls.enable_0rtt_data', false);
pref("security.ssl.treat_unsafe_negotiation_as_broken", true);
pref("browser.xul.error_pages.expert_bad_cert", true);
pref("security.tls.enable_0rtt_data", false);
/** DISK AVOIDANCE ***/
pref('browser.privatebrowsing.forceMediaMemoryCache', true);
pref('browser.sessionstore.interval', 60000);
pref("browser.privatebrowsing.forceMediaMemoryCache", true);
pref("browser.sessionstore.interval", 60000);
/** SHUTDOWN & SANITIZING ***/
pref('privacy.history.custom', true);
pref("privacy.history.custom", true);
/** SEARCH / URL BAR ***/
pref('browser.search.separatePrivateDefault.ui.enabled', true);
pref('browser.urlbar.update2.engineAliasRefresh', true);
pref('browser.search.suggest.enabled', false);
pref('browser.urlbar.suggest.quicksuggest.sponsored', false);
pref('browser.urlbar.suggest.quicksuggest.nonsponsored', false);
pref('security.insecure_connection_text.enabled', true);
pref('security.insecure_connection_text.pbmode.enabled', true);
pref('network.IDN_show_punycode', true);
/** HTTPS-FIRST POLICY ***/
pref('dom.security.https_first', true);
pref('dom.security.https_first_schemeless', true);
/** PASSWORDS ***/
pref('signon.formlessCapture.enabled', false);
pref('signon.privateBrowsingCapture.enabled', false);
pref('network.auth.subresource-http-auth-allow', 1);
pref('editor.truncate_user_pastes', false);
/** ADDRESS + CREDIT CARD MANAGER ***/
pref('extensions.formautofill.creditCards.enabled', false);
/** MIXED CONTENT + CROSS-SITE ***/
pref('security.mixed_content.block_display_content', true);
pref('security.mixed_content.upgrade_display_content', true);
pref('security.mixed_content.upgrade_display_content.image', true);
pref('pdfjs.enableScripting', false);
pref('extensions.postDownloadThirdPartyPrompt', false);
/** HEADERS / REFERERS ***/
pref('network.http.referer.XOriginTrimmingPolicy', 2);
pref("browser.urlbar.trimHttps", true);
pref("browser.search.separatePrivateDefault.ui.enabled", true);
pref("browser.urlbar.update2.engineAliasRefresh", true);
pref("browser.search.suggest.enabled", false);
pref("browser.urlbar.quicksuggest.enabled", false);
pref("browser.urlbar.suggest.quicksuggest.sponsored", false);
pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false);
pref("browser.urlbar.groupLabels.enabled", false);
pref("browser.formfill.enable", false);
pref("security.insecure_connection_text.enabled", true);
pref("security.insecure_connection_text.pbmode.enabled", true);
pref("network.IDN_show_punycode", true);
/** CONTAINERS ***/
pref('privacy.userContext.ui.enabled', true);
pref("privacy.userContext.ui.enabled", true);
/** WEBRTC ***/
pref('media.peerconnection.ice.proxy_only_if_behind_proxy', true);
pref('media.peerconnection.ice.default_address_only', true);
pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true);
pref("media.peerconnection.ice.default_address_only", true);
/** SAFE BROWSING ***/
pref('browser.safebrowsing.downloads.remote.enabled', false);
pref("browser.safebrowsing.downloads.remote.enabled", false);
/** MOZILLA ***/
pref('permissions.default.desktop-notification', 2);
pref('permissions.default.geo', 2);
pref(
'geo.provider.network.url',
'https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%'
);
pref('permissions.manager.defaultsUrl', '');
pref('webchannel.allowObject.urlWhitelist', '');
pref("permissions.default.desktop-notification", 2);
pref("permissions.default.geo", 2);
pref("permissions.manager.defaultsUrl", "");
pref("webchannel.allowObject.urlWhitelist", "");
/** TELEMETRY ***/
pref('datareporting.policy.dataSubmissionEnabled', false);
pref('datareporting.healthreport.uploadEnabled', false);
pref('toolkit.telemetry.unified', false);
pref('toolkit.telemetry.enabled', false);
pref('toolkit.telemetry.server', 'data:,');
pref('toolkit.telemetry.archive.enabled', false);
pref('toolkit.telemetry.newProfilePing.enabled', false);
pref('toolkit.telemetry.shutdownPingSender.enabled', false);
pref('toolkit.telemetry.updatePing.enabled', false);
pref('toolkit.telemetry.bhrPing.enabled', false);
pref('toolkit.telemetry.firstShutdownPing.enabled', false);
pref('toolkit.telemetry.coverage.opt-out', true);
pref('toolkit.coverage.opt-out', true);
pref('toolkit.coverage.endpoint.base', '');
pref('browser.ping-centre.telemetry', false);
pref('browser.newtabpage.activity-stream.feeds.telemetry', false);
pref('browser.newtabpage.activity-stream.telemetry', false);
pref("datareporting.policy.dataSubmissionEnabled", false, locked);
pref("datareporting.healthreport.uploadEnabled", false, locked);
pref("toolkit.telemetry.unified", false, locked);
pref("toolkit.telemetry.enabled", false, locked);
pref("toolkit.telemetry.server", "data:,", locked);
pref("toolkit.telemetry.archive.enabled", false, locked);
pref("toolkit.telemetry.newProfilePing.enabled", false, locked);
pref("toolkit.telemetry.shutdownPingSender.enabled", false, locked);
pref("toolkit.telemetry.updatePing.enabled", false, locked);
pref("toolkit.telemetry.bhrPing.enabled", false, locked);
pref("toolkit.telemetry.firstShutdownPing.enabled", false, locked);
pref("toolkit.telemetry.coverage.opt-out", true, locked);
pref("toolkit.coverage.opt-out", true, locked);
pref("toolkit.coverage.endpoint.base", "", locked);
pref("browser.newtabpage.activity-stream.feeds.telemetry", false, locked);
pref("browser.newtabpage.activity-stream.telemetry", false, locked);
/** EXPERIMENTS ***/
pref('app.shield.optoutstudies.enabled', false);
pref('app.normandy.enabled', false);
pref('app.normandy.api_url', '');
pref("app.shield.optoutstudies.enabled", false, locked);
pref("app.normandy.enabled", false, locked);
pref("app.normandy.api_url", "", locked);
/** CRASH REPORTS ***/
pref('breakpad.reportURL', '');
pref('browser.tabs.crashReporting.sendReport', false);
pref('browser.crashReports.unsubmittedCheck.autoSubmit2', false);
pref("breakpad.reportURL", "");
pref("browser.tabs.crashReporting.sendReport", false);
pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false);
/** DETECTION ***/
pref('captivedetect.canonicalURL', '');
pref('network.captive-portal-service.enabled', false);
pref('network.connectivity-service.enabled', false);
pref("captivedetect.canonicalURL", "");
pref("network.captive-portal-service.enabled", false);
pref("network.connectivity-service.enabled", false);
pref("dom.private-attribution.submission.enabled", false);
/****************************************************************************
* SECTION: PESKYFOX *
****************************************************************************/
****************************************************************************/
/** MOZILLA UI ***/
pref('browser.privatebrowsing.vpnpromourl', '');
pref('extensions.getAddons.showPane', false);
pref('extensions.htmlaboutaddons.recommendations.enabled', false);
pref('browser.discovery.enabled', false);
pref('browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons', false);
pref(
'browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features',
false
);
pref('browser.preferences.moreFromMozilla', false);
pref('browser.aboutwelcome.enabled', false);
pref("browser.privatebrowsing.vpnpromourl", "", locked);
pref("extensions.getAddons.showPane", false);
pref("extensions.htmlaboutaddons.recommendations.enabled", false);
pref("browser.discovery.enabled", false);
pref("browser.shell.checkDefaultBrowser", false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false);
pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false);
pref("browser.preferences.moreFromMozilla", false);
pref("browser.tabs.tabmanager.enabled", false);
pref("browser.aboutConfig.showWarning", false);
pref("browser.aboutwelcome.enabled", false);
/** THEME ADJUSTMENTS ***/
pref('toolkit.legacyUserProfileCustomizations.stylesheets', true);
pref('browser.compactmode.show', true);
pref('layout.css.prefers-color-scheme.content-override', 2);
pref('browser.privateWindowSeparation.enabled', false); // WINDOWS
pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
pref("browser.compactmode.show", true);
pref("browser.display.focus_ring_on_anything", true);
pref("browser.display.focus_ring_style", 0);
pref("browser.display.focus_ring_width", 0);
pref("layout.css.prefers-color-scheme.content-override", 2);
pref("browser.privateWindowSeparation.enabled", false); // WINDOWS
/** COOKIE BANNER HANDLING ***/
pref('cookiebanners.service.mode', 1);
pref('cookiebanners.service.mode.privateBrowsing', 1);
/** FULLSCREEN NOTICE ***/
pref("full-screen-api.transition-duration.enter", "0 0");
pref("full-screen-api.transition-duration.leave", "0 0");
pref("full-screen-api.warning.delay", -1);
pref("full-screen-api.warning.timeout", 0);
/** URL BAR ***/
pref('browser.urlbar.suggest.calculator', true);
pref('browser.urlbar.unitConversion.enabled', true);
pref('browser.urlbar.trending.featureGate', false);
pref("browser.urlbar.suggest.calculator", true);
pref("browser.urlbar.unitConversion.enabled", true);
pref("browser.urlbar.trending.featureGate", false);
/** NEW TAB PAGE ***/
pref('browser.newtabpage.activity-stream.feeds.topsites', false);
pref('browser.newtabpage.activity-stream.feeds.section.topstories', false);
pref("browser.newtabpage.activity-stream.feeds.topsites", false);
pref("browser.newtabpage.activity-stream.feeds.section.topstories", false);
/*** POCKET ***/
pref('extensions.pocket.enabled', false);
/** POCKET ***/
pref("extensions.pocket.enabled", false);
/** DOWNLOADS ***/
pref('browser.download.always_ask_before_handling_new_types', true);
pref('browser.download.manager.addToRecentDocs', false);
pref("browser.download.always_ask_before_handling_new_types", true);
pref("browser.download.manager.addToRecentDocs", false);
/** PDF ***/
pref('browser.download.open_pdf_attachments_inline', true);
pref("browser.download.open_pdf_attachments_inline", true);
/** TAB BEHAVIOR ***/
pref('browser.bookmarks.openInTabClosesMenu', false);
pref('browser.menu.showViewImageInfo', true);
pref('findbar.highlightAll', true);
pref('layout.word_select.eat_space_to_next_word', false);
pref("browser.bookmarks.openInTabClosesMenu", false);
pref("browser.menu.showViewImageInfo", true);
pref("findbar.highlightAll", true);
pref("layout.word_select.eat_space_to_next_word", false);
/****************************************************************************
* START: MY OVERRIDES *
****************************************************************************/
****************************************************************************/
// visit https://github.com/yokoffing/Betterfox/wiki/Common-Overrides
// visit https://github.com/yokoffing/Betterfox/wiki/Optional-Hardening
// Enter your personal overrides below this line:
/****************************************************************************
* SECTION: SMOOTHFOX *
****************************************************************************/
****************************************************************************/
// visit https://github.com/yokoffing/Betterfox/blob/main/Smoothfox.js
// Enter your scrolling overrides below this line:
/****************************************************************************
* END: BETTERFOX *
****************************************************************************/
****************************************************************************/

View File

@@ -2,6 +2,12 @@
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifdef XP_UNIX
#ifndef XP_MACOSX
#define UNIX_BUT_NOT_MAC
#endif
#endif
pref("browser.tabs.cardPreview.enabled", true);
pref("browser.tabs.hoverPreview.enabled", true);
pref("browser.tabs.cardPreview.delayMs", 100);
@@ -10,12 +16,12 @@ pref("browser.tabs.cardPreview.delayMs", 100);
pref("devtools.debugger.prompt-connection", false);
#endif
// Dont download the multilingual dictionary
pref("intl.multilingual.downloadEnabled", false);
// Theme
pref('toolkit.legacyUserProfileCustomizations.stylesheets', true);
pref('browser.compactmode.show', true);
pref('browser.display.focus_ring_on_anything', true);
pref('browser.display.focus_ring_style', 0);
pref('browser.display.focus_ring_width', 0);
pref('browser.newtabpage.activity-stream.newtabWallpapers.enabled', true);
pref('browser.newtabpage.activity-stream.newtabWallpapers.v2.enabled', true);
@@ -53,18 +59,34 @@ pref("browser.ping-centre.telemetry", false);
pref("browser.attribution.enabled", false);
pref("toolkit.telemetry.pioneer-new-studies-available", false);
pref("browser.contentblocking.category", "standard");
pref("app.update.checkInstallTime.days", 2);
// CUSTOM ZEN PREFS
pref('zen.welcomeScreen.enabled', true);
pref('zen.welcomeScreen.seen', false);
pref('zen.tabs.vertical', true);
pref('zen.tabs.vertical.right-side', false);
pref('zen.theme.accent-color', "#aac7ff");
pref('zen.theme.border-radius', 10); // In pixels
pref('zen.theme.toolbar-themed', true);
pref('zen.theme.pill-button', false);
pref('zen.view.compact', false);
pref('zen.view.compact.hide-toolbar', false);
pref('zen.view.sidebar-expanded', false);
pref('zen.view.sidebar-expanded.on-hover', false);
pref('zen.view.sidebar-expanded.show-button', true);
pref('zen.view.sidebar-expanded.max-width', 400);
pref('zen.view.sidebar-collapsed.hide-mute-button', true);
pref('zen.keyboard.shortcuts.enabled', true);
pref('zen.keyboard.shortcuts', ""); // Empty string means default shortcuts
pref('zen.keyboard.shortcuts.disable-firefox', false);
pref('zen.tabs.dim-pending', true);
pref('zen.themes.updated-value-observer', false);
// Pref to enable the new profiles (TODO: Check this out!)
//pref("browser.profiles.enabled", true);
@@ -72,7 +94,7 @@ pref('zen.view.sidebar-expanded.show-button', true);
// Zen Sidebar
pref('zen.sidebar.data', "{\"data\":\n {\"p1\":{\n \"url\":\"https://www.wikipedia.org/\"\n },\n\"p2\":{\n \"url\":\"https://m.twitter.com/\",\n\"ua\": true\n },\n\"p3\": {\n \"url\": \"https://www.youtube.com/\",\n\"ua\": true\n},\n\"p4\": {\n \"url\": \"https://translate.google.com/\",\n\"ua\": true\n},\n\"p5\": {\n \"url\": \"https://todoist.com/\",\n\"ua\": true\n}},\n\"index\":[\"p1\",\"p2\",\"p3\",\"p4\",\"p5\"]}");
pref('zen.sidebar.enabled', true);
pref('zen.sidebar.floating', true);
pref('zen.sidebar.close-on-blur', true);
// Zen Split View
pref('zen.splitView.working', false);
@@ -81,17 +103,72 @@ pref('zen.splitView.working', false);
pref('zen.workspaces.enabled', true);
// Zen Watermark
pref('zen.watermark.enabled', true);
pref('zen.watermark.enabled', true, sticky);
// Smooth scrolling
user_pref('apz.overscroll.enabled', true); // not DEFAULT on Linux
user_pref('general.smoothScroll', true); // DEFAULT
pref('apz.overscroll.enabled', true); // not DEFAULT on Linux
pref('general.smoothScroll', true); // DEFAULT
// Privacy
pref('dom.private-attribution.submission.enabled', false);
// From Librewolf
pref('media.eme.enabled', true);
pref('webgl.disabled', false);
pref("app.update.url.manual", "https://www.zen-browser.app/download");
pref("app.update.url.details", "hhttps://www.zen-browser.app/download");
pref("app.releaseNotesURL", "https://www.zen-browser.app/release-notes");
pref("app.releaseNotesURL.aboutDialog", "https://www.zen-browser.app/release-notes");
// Enable importers for other browsers
pref('browser.migrate.vivaldi.enabled', true);
pref('browser.migrate.opera-gx.enabled', true);
pref('browser.migrate.opera.enabled', true);
// DNS
// pref('network.proxy.type', 0);
// pref('network.trr.mode', 5);
pref('xpinstall.signatures.required', false);
// Experimental Zen Features
// Strategy to use for bytecode cache (Thanks https://github.com/gunir)
pref('dom.script_loader.bytecode_cache.strategy', 2);
// Extremly experimental features
pref("dom.webgpu.enabled", true);
// Font rendering, not for MacOSX and Linux
#ifndef XP_UNIX
#ifndef XP_MACOSX
pref('gfx.font_rendering.cleartype_params.rendering_mode', 5);
pref('gfx.font_rendering.cleartype_params.gamma', 1750);
#endif
#endif
#include better-fox.js
// Betterfox overrides (Stay below the include directive)
// Jang's personal speedups (Thanks to Jang for these!)
// Prefetching:
pref("network.dns.disablePrefetch", false);
pref("network.prefetch-next", true);
pref("network.predictor.enabled", true);
pref("network.dns.disablePrefetchFromHTTPS", false);
pref("network.predictor.enable-hover-on-ssl", true);
pref("network.http.speculative-parallel-limit", 10);
pref("network.http.rcwn.enabled", false);
// Enable Browser Toolbox, Ctrl+Shift+Alt+I for debugging and modifying UI
pref("devtools.debugger.remote-enabled", true);
pref("devtools.chrome.enabled", true);
// Disable firefox's revamp
pref("sidebar.revamp", false, locked);
pref("sidebar.verticalTabs", false, locked);
// Better Windows theming
pref("widget.non-native-theme.scrollbar.style", 2);
pref("widget.non-native-theme.use-theme-accent", true);

View File

@@ -1,544 +0,0 @@
var gZenBrowserManagerSidebar = {
_sidebarElement: null,
_currentPanel: null,
_lastOpenedPanel: null,
_hasChangedConfig: true,
_splitterElement: null,
_hSplitterElement: null,
_hasRegisteredPinnedClickOutside: false,
_isDragging: false,
contextTab: null,
DEFAULT_MOBILE_USER_AGENT: "Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Mobile Safari/537.36 Edg/114.0.1823.79",
MAX_SIDEBAR_PANELS: 8, // +1 for the add panel button
MAX_RUNS: 3,
init() {
this.update();
this.close(); // avoid caching
this.listenForPrefChanges();
this.insertIntoContextMenu();
},
get sidebarData() {
let services = Services.prefs.getStringPref("zen.sidebar.data");
if (services === "") {
return {};
}
return JSON.parse(services);
},
listenForPrefChanges() {
Services.prefs.addObserver("zen.sidebar.data", this.handleEvent.bind(this));
Services.prefs.addObserver("zen.sidebar.enabled", this.handleEvent.bind(this));
Services.prefs.addObserver("zen.sidebar.floating", this.handleEvent.bind(this));
let sidebar = document.getElementById("zen-sidebar-web-panel");
this.splitterElement.addEventListener("mousedown", (function(event) {
let computedStyle = window.getComputedStyle(sidebar);
let maxWidth = parseInt(computedStyle.getPropertyValue("max-width").replace("px", ""));
let minWidth = parseInt(computedStyle.getPropertyValue("min-width").replace("px", ""));
if (!this._isDragging) { // Prevent multiple resizes
this._isDragging = true;
let sidebarWidth = sidebar.getBoundingClientRect().width;
let startX = event.clientX;
let startWidth = sidebarWidth;
let mouseMove = (function(e) {
let newWidth = startWidth + e.clientX - startX;
if (newWidth <= minWidth+10) {
newWidth = minWidth+1;
} else if (newWidth >= maxWidth-10) {
newWidth = maxWidth-1;
}
sidebar.style.width = `${newWidth}px`;
});
let mouseUp = (function() {
this.handleEvent();
this._isDragging = false;
document.removeEventListener("mousemove", mouseMove);
document.removeEventListener("mouseup", mouseUp);
}).bind(this);
document.addEventListener("mousemove", mouseMove);
document.addEventListener("mouseup", mouseUp);
}
}).bind(this));
this.hSplitterElement.addEventListener("mousedown", (function(event) {
let computedStyle = window.getComputedStyle(sidebar);
const parent = sidebar.parentElement;
// relative to avoid the top margin
// 20px is the padding
let parentRelativeHeight = parent.getBoundingClientRect().height - parent.getBoundingClientRect().top + 20;
let minHeight = parseInt(computedStyle.getPropertyValue("min-height").replace("px", ""));
if (!this._isDragging) { // Prevent multiple resizes
this._isDragging = true;
let sidebarHeight = sidebar.getBoundingClientRect().height;
let startY = event.clientY;
let startHeight = sidebarHeight;
let mouseMove = (function(e) {
let newHeight = startHeight + e.clientY - startY;
if (newHeight <= minHeight+10) {
newHeight = minHeight+1;
} else if (newHeight >= parentRelativeHeight) { // 10px is the padding
newHeight = parentRelativeHeight;
}
sidebar.style.height = `${newHeight}px`;
});
let mouseUp = (function() {
this.handleEvent();
this._isDragging = false;
document.removeEventListener("mousemove", mouseMove);
document.removeEventListener("mouseup", mouseUp);
}).bind(this);
document.addEventListener("mousemove", mouseMove);
document.addEventListener("mouseup", mouseUp);
}
}).bind(this));
this.handleEvent();
},
handleEvent() {
this._hasChangedConfig = true;
this.update();
this._hasChangedConfig = false;
// https://stackoverflow.com/questions/11565471/removing-event-listener-which-was-added-with-bind
var clickOutsideHandler = this._handleClickOutside.bind(this);
if (Services.prefs.getBoolPref("zen.sidebar.floating") && !this._hasRegisteredPinnedClickOutside) {
document.addEventListener("mouseup", clickOutsideHandler);
this._hasRegisteredPinnedClickOutside = true;
} else if (!Services.prefs.getBoolPref("zen.sidebar.floating") && this._hasRegisteredPinnedClickOutside) {
document.removeEventListener("mouseup", clickOutsideHandler);
this._hasRegisteredPinnedClickOutside = false;
}
const button = document.getElementById("zen-sidepanel-button");
if (Services.prefs.getBoolPref("zen.sidebar.enabled")) {
button.removeAttribute("hidden");
} else {
button.setAttribute("hidden", "true");
this._closeSidebarPanel();
return;
}
},
_handleClickOutside(event) {
let sidebar = document.getElementById("zen-sidebar-web-panel");
if (!sidebar.hasAttribute("pinned") || !this._currentPanel || this._isDragging) {
return;
}
let target = event.target;
const closestSelector = [
"#zen-sidebar-web-panel",
"#zen-sidebar-panels-wrapper",
"#zenWebPanelContextMenu",
"#zen-sidebar-web-panel-splitter",
"#contentAreaContextMenu"
].join(", ");
if (target.closest(closestSelector)) {
return;
}
this.close();
},
toggle() {
if (!this._currentPanel) {
this._currentPanel = this._lastOpenedPanel;
}
if (document.getElementById("zen-sidebar-web-panel").hasAttribute("hidden")) {
this.open();
return;
}
this.close();
},
open() {
let sidebar = document.getElementById("zen-sidebar-web-panel");
sidebar.removeAttribute("hidden");
this.update();
},
update() {
this._updateWebPanels();
this._updateSidebarButton();
this._updateWebPanel();
this._updateButtons();
},
_updateSidebarButton() {
let button = document.getElementById("zen-sidepanel-button");
if (!document.getElementById("zen-sidebar-web-panel").hasAttribute("hidden")) {
button.setAttribute("open", "true");
} else {
button.removeAttribute("open");
}
},
_updateWebPanels() {
if (Services.prefs.getBoolPref("zen.sidebar.enabled")) {
this.sidebarElement.removeAttribute("hidden");
} else {
this.sidebarElement.setAttribute("hidden", "true");
this._closeSidebarPanel();
return;
}
let data = this.sidebarData;
if (!data.data || !data.index) {
return;
}
this.sidebarElement.innerHTML = "";
for (let site of data.index) {
let panel = data.data[site];
if (!panel || !panel.url) {
continue;
}
let button = document.createXULElement("toolbarbutton");
button.classList.add("zen-sidebar-panel-button", "toolbarbutton-1", "chromeclass-toolbar-additional");
button.setAttribute("flex", "1");
button.setAttribute("zen-sidebar-id", site);
button.setAttribute("context", "zenWebPanelContextMenu");
this._getWebPanelIcon(panel.url, button);
button.addEventListener("click", this._handleClick.bind(this));
this.sidebarElement.appendChild(button);
}
const addButton = document.getElementById("zen-sidebar-add-panel-button");
if (data.index.length < this.MAX_SIDEBAR_PANELS) {
addButton.removeAttribute("hidden");
} else {
addButton.setAttribute("hidden", "true");
}
},
async _openAddPanelDialog() {
let dialogURL = "chrome://browser/content/places/zenNewWebPanel.xhtml";
let features = "centerscreen,chrome,modal,resizable=no";
let aParentWindow = Services.wm.getMostRecentWindow("navigator:browser");
if (aParentWindow?.gDialogBox) {
await aParentWindow.gDialogBox.open(dialogURL, {});
} else {
aParentWindow.openDialog(dialogURL, "", features, {});
}
},
_setPinnedToElements() {
let sidebar = document.getElementById("zen-sidebar-web-panel");
sidebar.setAttribute("pinned", "true");
document.getElementById("zen-sidebar-web-panel-pinned").setAttribute("pinned", "true");
},
_removePinnedFromElements() {
let sidebar = document.getElementById("zen-sidebar-web-panel");
sidebar.removeAttribute("pinned");
document.getElementById("zen-sidebar-web-panel-pinned").removeAttribute("pinned");
},
_closeSidebarPanel() {
let sidebar = document.getElementById("zen-sidebar-web-panel");
sidebar.setAttribute("hidden", "true");
this._lastOpenedPanel = this._currentPanel;
this._currentPanel = null;
},
_handleClick(event) {
let target = event.target;
let panelId = target.getAttribute("zen-sidebar-id");
if (this._currentPanel === panelId) {
return;
}
this._currentPanel = panelId;
this._updateWebPanel();
},
_createNewPanel(url) {
let data = this.sidebarData;
let newName = "p" + new Date().getTime();
data.index.push(newName);
data.data[newName] = {
url: url,
ua: false,
};
Services.prefs.setStringPref("zen.sidebar.data", JSON.stringify(data));
this._currentPanel = newName;
this.open();
},
_updateButtons() {
for (let button of this.sidebarElement.querySelectorAll(".zen-sidebar-panel-button")) {
if (button.getAttribute("zen-sidebar-id") === this._currentPanel) {
button.setAttribute("selected", "true");
} else {
button.removeAttribute("selected");
}
}
},
_hideAllWebPanels() {
let sidebar = document.getElementById("zen-sidebar-web-panel");
for (let browser of sidebar.querySelectorAll("browser[zen-sidebar-id]")) {
browser.setAttribute("hidden", "true");
browser.docShellIsActive = false;
}
},
get introductionPanel() {
return document.getElementById("zen-sidebar-introduction-panel");
},
_updateWebPanel() {
this._updateButtons();
let sidebar = document.getElementById("zen-sidebar-web-panel");
this._hideAllWebPanels();
if (!this._currentPanel) {
this.introductionPanel.removeAttribute("hidden");
return;
}
this.introductionPanel.setAttribute("hidden", "true");
let existantWebview = this._getCurrentBrowser();
if (existantWebview) {
existantWebview.docShellIsActive = true;
existantWebview.removeAttribute("hidden");
document.getElementById("zen-sidebar-web-panel-title").textContent = existantWebview.contentTitle;
return;
}
let data = this._getWebPanelData(this._currentPanel);
let browser = this._createWebPanelBrowser(data);
let browserContainers = document.getElementById("zen-sidebar-web-panel-browser-containers");
browserContainers.appendChild(browser);
if (data.ua) {
browser.browsingContext.customUserAgent = this.DEFAULT_MOBILE_USER_AGENT;
}
browser.docShellIsActive = true;
},
_getWebPanelData(id) {
let data = this.sidebarData;
let panel = data.data[id];
if (!panel || !panel.url) {
return {};
}
return {
id: id,
...panel,
};
},
_createWebPanelBrowser(data) {
const titleContainer = document.getElementById("zen-sidebar-web-panel-title");
titleContainer.textContent = "Loading...";
let browser = gBrowser.createBrowser({});
browser.setAttribute("disablefullscreen", "true");
browser.setAttribute("src", data.url);
browser.setAttribute("zen-sidebar-id", data.id);
browser.setAttribute("disableglobalhistory", "true");
browser.setAttribute("autoscroll", "false");
browser.setAttribute("autocompletepopup", "PopupAutoComplete");
browser.setAttribute("contextmenu", "contentAreaContextMenu");
browser.setAttribute("disablesecurity", "true");
browser.addEventListener("pagetitlechanged", (function(event) {
let browser = event.target;
let title = browser.contentTitle;
if (!title) {
return;
}
let id = browser.getAttribute("zen-sidebar-id");
if (id === this._currentPanel) {
titleContainer.textContent = title;
}
}).bind(this));
return browser;
},
_getWebPanelIcon(url, element) {
let { preferredURI } = Services.uriFixup.getFixupURIInfo(url);
element.setAttribute("image", `page-icon:${preferredURI.spec}`);
fetch(`https://s2.googleusercontent.com/s2/favicons?domain_url=${preferredURI.spec}`).then(async response => {
if (response.ok) {
let blob = await response.blob();
let reader = new FileReader();
reader.onload = function() {
element.setAttribute("image", reader.result);
};
reader.readAsDataURL(blob);
}
});
},
_getBrowserById(id) {
let sidebar = document.getElementById("zen-sidebar-web-panel");
return sidebar.querySelector(`browser[zen-sidebar-id="${id}"]`);
},
_getCurrentBrowser() {
return this._getBrowserById(this._currentPanel);
},
reload() {
let browser = this._getCurrentBrowser();
if (browser) {
browser.reload();
}
},
forward() {
let browser = this._getCurrentBrowser();
if (browser) {
browser.goForward();
}
},
back() {
let browser = this._getCurrentBrowser();
if (browser) {
browser.goBack();
}
},
home() {
let browser = this._getCurrentBrowser();
if (browser) {
browser.gotoIndex();
}
},
close() {
this._hideAllWebPanels();
this._closeSidebarPanel();
this._updateSidebarButton();
},
togglePinned(elem) {
let sidebar = document.getElementById("zen-sidebar-web-panel");
if (sidebar.hasAttribute("pinned")) {
this._removePinnedFromElements();
} else {
this._setPinnedToElements();
}
Services.prefs.setBoolPref("zen.sidebar.floating", sidebar.hasAttribute("pinned"));
this.update();
},
get sidebarElement() {
if (!this._sidebarElement) {
this._sidebarElement = document.getElementById("zen-sidebar-panels-sites");
}
return this._sidebarElement;
},
get splitterElement() {
if (!this._splitterElement) {
this._splitterElement = document.getElementById("zen-sidebar-web-panel-splitter");
}
return this._splitterElement;
},
get hSplitterElement() {
if (!this._hSplitterElement) {
this._hSplitterElement = document.getElementById("zen-sidebar-web-panel-hsplitter");
}
return this._hSplitterElement;
},
// Context menu
updateContextMenu(aPopupMenu) {
let panel =
aPopupMenu.triggerNode &&
(aPopupMenu.triggerNode || aPopupMenu.triggerNode.closest("toolbarbutton[zen-sidebar-id]"));
if (!panel) {
return;
}
let id = panel.getAttribute("zen-sidebar-id");
this.contextTab = id;
let data = this._getWebPanelData(id);
let browser = this._getBrowserById(id);
let isMuted = browser && browser.audioMuted;
let mutedContextItem = document.getElementById("context_zenToggleMuteWebPanel");
document.l10n.setAttributes(mutedContextItem,
!isMuted ? "zen-web-side-panel-context-mute-panel" : "zen-web-side-panel-context-unmute-panel");
if (!isMuted) {
mutedContextItem.setAttribute("muted", "true");
} else {
mutedContextItem.removeAttribute("muted");
}
document.l10n.setAttributes(document.getElementById("context_zenToogleUAWebPanel"),
data.ua ? "zen-web-side-panel-context-disable-ua" : "zen-web-side-panel-context-enable-ua");
if (!browser) {
document.getElementById("context_zenUnloadWebPanel").setAttribute("disabled", "true");
} else {
document.getElementById("context_zenUnloadWebPanel").removeAttribute("disabled");
}
},
contextOpenNewTab() {
let browser = this._getBrowserById(this.contextTab);
let data = this.sidebarData;
let panel = data.data[this.contextTab];
let url = (browser == null) ? panel.url : browser.currentURI.spec;
gZenUIManager.openAndChangeToTab(url);
this.close();
},
contextToggleMuteAudio() {
let browser = this._getBrowserById(this.contextTab);
if (browser.audioMuted) {
browser.unmute();
} else {
browser.mute();
}
},
contextToggleUserAgent() {
let browser = this._getBrowserById(this.contextTab);
browser.browsingContext.customUserAgent = browser.browsingContext.customUserAgent ? null : this.DEFAULT_MOBILE_USER_AGENT;
let data = this.sidebarData;
data.data[this.contextTab].ua = !data.data[this.contextTab].ua;
Services.prefs.setStringPref("zen.sidebar.data", JSON.stringify(data));
browser.reload();
},
contextDelete() {
let data = this.sidebarData;
delete data.data[this.contextTab];
data.index = data.index.filter(id => id !== this.contextTab);
let browser = this._getBrowserById(this.contextTab);
if (browser) {
browser.remove();
}
this._closeSidebarPanel();
this.close();
this._lastOpenedPanel = null;
Services.prefs.setStringPref("zen.sidebar.data", JSON.stringify(data));
},
contextUnload() {
let browser = this._getBrowserById(this.contextTab);
browser.remove();
this._closeSidebarPanel();
this.close();
this._lastOpenedPanel = null;
},
insertIntoContextMenu() {
const sibling = document.getElementById("context-stripOnShareLink");
const menuitem = document.createXULElement("menuitem");
menuitem.setAttribute("id", "context-zenAddToWebPanel");
menuitem.setAttribute("hidden", "true");
menuitem.setAttribute("oncommand", "gZenBrowserManagerSidebar.addPanelFromContextMenu();");
menuitem.setAttribute("data-l10n-id", "zen-web-side-panel-context-add-to-panel");
sibling.insertAdjacentElement("afterend", menuitem);
},
addPanelFromContextMenu() {
const url = gContextMenu.linkURL || gContextMenu.target.ownerDocument.location.href;
this._createNewPanel(url);
},
};
gZenBrowserManagerSidebar.init();

View File

@@ -0,0 +1,111 @@
var ZenStartup = {
init() {
this._changeSidebarLocation();
this._zenInitBrowserLayout();
this._focusSearchBar();
},
_zenInitBrowserLayout() {
if (this.__hasInitBrowserLayout) return;
this.__hasInitBrowserLayout = true;
this.openWatermark();
console.info("ZenThemeModifier: init browser layout");
const kNavbarItems = [
"nav-bar",
"PersonalToolbar"
];
const kNewContainerId = "zen-appcontent-navbar-container";
let newContainer = document.getElementById(kNewContainerId);
for (let id of kNavbarItems) {
const node = document.getElementById(id);
console.assert(node, "Could not find node with id: " + id);
if (!node) continue;
newContainer.appendChild(node);
}
// Fix notification deck
document.getElementById("zen-appcontent-navbar-container")
.appendChild(document.getElementById("tab-notification-deck-template"));
gZenVerticalTabsManager.init();
gZenCompactModeManager.init();
gZenKeyboardShortcuts.init();
function throttle(f, delay) {
let timer = 0;
return function(...args) {
clearTimeout(timer);
timer = setTimeout(() => f.apply(this, args), delay);
}
}
new ResizeObserver(throttle(
this._updateTabsToolbar.bind(this), 1000
)).observe(document.getElementById("tabbrowser-tabs"));
this.closeWatermark();
},
_updateTabsToolbar() {
// Set tabs max-height to the "toolbar-items" height
const toolbarItems = document.getElementById("tabbrowser-tabs");
const tabs = document.getElementById("tabbrowser-arrowscrollbox");
tabs.style.maxHeight = '0px'; // reset to 0
const toolbarRect = toolbarItems.getBoundingClientRect();
// -5 for the controls padding
tabs.style.maxHeight = toolbarRect.height - 5 + "px";
console.info("ZenThemeModifier: set tabs max-height to", toolbarRect.height + "px");
},
openWatermark() {
if (!Services.prefs.getBoolPref("zen.watermark.enabled", false)) {
return;
}
const watermark = window.MozXULElement.parseXULToFragment(`
<html:div id="zen-watermark">
<image src="chrome://branding/content/about-logo.png" />
</html:div>
`);
document.body.appendChild(watermark);
},
closeWatermark() {
const watermark = document.getElementById("zen-watermark");
if (watermark) {
watermark.setAttribute("hidden", "true");
}
},
_changeSidebarLocation() {
const kElementsToAppend = [
"sidebar-splitter",
"sidebar-box",
"navigator-toolbox",
];
const wrapper = document.getElementById("zen-tabbox-wrapper");
const appWrapepr = document.getElementById("zen-sidebar-box-container");
for (let id of kElementsToAppend) {
const elem = document.getElementById(id);
if (elem) {
wrapper.prepend(elem);
}
}
appWrapepr.setAttribute("hidden", "true");
// Set a splitter to navigator-toolbox
const splitter = document.createXULElement("splitter");
splitter.setAttribute("id", "zen-sidebar-splitter");
splitter.setAttribute("orient", "horizontal");
splitter.setAttribute("resizebefore", "sibling");
splitter.setAttribute("resizeafter", "none");
const titlebar = document.getElementById("navigator-toolbox");
titlebar.insertAdjacentElement("afterend", splitter);
},
_focusSearchBar() {
gURLBar.focus();
},
};
ZenStartup.init();

Some files were not shown because too many files have changed in this diff Show More