Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
605feff
➖ Remove FirePicker ➕ Add Qr-Generator
PressJump Oct 21, 2022
5ca3aa9
🐛 💄 Fix SVG
PressJump Oct 23, 2022
0f77fea
Merge remote-tracking branch 'origin/alpha' into beta
PressJump Oct 23, 2022
71a7994
Update QR-Generator
PressJump Oct 25, 2022
5414ecc
Merge switching-out-fire-picker
PressJump Oct 31, 2022
4862e42
✍️Replace Fire-Picker with QR Code
splatboydev Oct 31, 2022
4258383
Merge Readme Update for QR-Code-Generator
PressJump Oct 31, 2022
f215e43
Upgrade to 106.0.5
PressJump Nov 8, 2022
0735378
Fix Patches
PressJump Nov 8, 2022
1c13313
Remove Firefox-view
PressJump Nov 8, 2022
d775d55
✏️ Triggered
PressJump Nov 11, 2022
160ac92
🐛 Fix set default search engine
trickypr Nov 13, 2022
8661519
Merge pull request #135 from pulse-browser/firefox-106.0.5
PressJump Nov 13, 2022
c4ac25b
✨ Downloads Tab
PressJump Nov 14, 2022
72aa106
🔧 Hide `.gluon` temp directory
trickypr Nov 14, 2022
1c272a2
🐛 Allow for signed & unsigned ublock releases
trickypr Nov 14, 2022
0934c80
🔀 Merge pull request #147
trickypr Nov 15, 2022
a39cc1c
🔧 Hide `.gluon` temp directory
trickypr Nov 14, 2022
eb05bbb
🐛 Allow for signed & unsigned ublock releases
trickypr Nov 14, 2022
b330a92
💄 Restyle downloads sidebar
trickypr Nov 15, 2022
78f8630
🐛 Fix the sidebar creation
trickypr Nov 15, 2022
d82f645
Merge pull request #144 from pulse-browser/including-downloads-in-sid…
PressJump Nov 15, 2022
4492b3b
⬆️ Upgrade firefox and uBlock
trickypr Nov 16, 2022
5dff374
👽️ Fix patches for upstream changes
trickypr Nov 16, 2022
851af75
♻️ Change skin location
trickypr Nov 17, 2022
bc4f5a4
📝 Change emoji to qrcode generator
trickypr Nov 17, 2022
ed35954
Merge branch 'alpha' into 107.0
trickypr Nov 17, 2022
7972a4a
💄 Fix sidebar tabs for mozilla theme
trickypr Nov 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/ff_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This bumps Firefox up to `{NEW_VERSION}` for security and performance reasons. R
- [ ] Tabliss is loading correctly
- [ ] Tabliss does not have the webextention symbol in the title bar
- [ ] uBlock origin is loading correctly
- [ ] FirePicker is loading correctly
- [ ] QRCode generator is loading correctly

- [ ] About dialog

Expand Down
4 changes: 2 additions & 2 deletions gluon.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"binaryName": "pulse-browser",
"version": {
"product": "firefox",
"version": "106.0.5"
"version": "107.0"
},
"buildOptions": {
"generateBranding": true
Expand All @@ -15,7 +15,7 @@
"platform": "github",
"id": "uBlock0@raymondhill.net",
"repo": "gorhill/uBlock",
"version": "1.44.4",
"version": "1.45.2",
"fileGlob": "uBlock0_*.firefox(.signed)?.xpi"
},
"tabliss": {
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"package": "gluon package",
"ff-version": "gluon ff-version",
"licenseCheck": "gluon license-check",
"gluon": "gluon"
"gluon": "gluon",
"reset": "gluon reset"
}
}
28 changes: 18 additions & 10 deletions src/browser/app/profile/firefox-js.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js
index aac068a8177abe5031152e7b567b45fd2b5ef4a2..b0ed4a98f8d832b924b6b1a93eda75d746984613 100644
index 14ecab77149f5645e24c8bffff57c223f64730bb..09bf8bebc166fb1e316e2c0c425f8117468281fc 100644
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -19,6 +19,8 @@
Expand All @@ -19,32 +19,36 @@ index aac068a8177abe5031152e7b567b45fd2b5ef4a2..b0ed4a98f8d832b924b6b1a93eda75d7
pref("xpinstall.signatures.devInfoURL", "https://wiki.mozilla.org/Addons/Extension_Signing");

// Enable extensionStorage storage actor by default
@@ -773,7 +774,7 @@ pref("browser.tabs.tooltipsShowPidAndActiveness", true);
@@ -774,7 +775,7 @@ pref("browser.tabs.tooltipsShowPidAndActiveness", true);
pref("browser.tabs.tooltipsShowPidAndActiveness", false);
#endif

-pref("browser.tabs.firefox-view", true);
+pref("browser.tabs.firefox-view", false);
pref("browser.tabs.firefox-view.logLevel", "Warn");
pref("browser.tabs.firefox-view.notify-for-tabs", false);

// allow_eval_* is enabled on Firefox Desktop only at this
@@ -1937,7 +1938,6 @@ pref("browser.send_to_device_locales", "de,en-GB,en-US,es-AR,es-CL,es-ES,es-MX,f
@@ -1945,7 +1946,7 @@ pref("browser.send_to_device_locales", "de,en-GB,en-US,es-AR,es-CL,es-ES,es-MX,f
pref("browser.vpn_promo.disallowed_regions", "ae,by,cn,cu,iq,ir,kp,om,ru,sd,sy,tm,tr,ua");

// Default to enabling VPN promo messages to be shown when specified and allowed
-pref("browser.vpn_promo.enabled", true);
+pref("browser.vpn_promo.enabled", false);
// Only show vpn card to certain regions. Comma separated string of two letter ISO 3166-1 country codes.
// The most recent list of supported countries can be found at https://support.mozilla.org/en-US/kb/mozilla-vpn-countries-available-subscribe
// The full list of supported country codes can also be found at https://github.com/mozilla/bedrock/search?q=VPN_COUNTRY_CODES
@@ -2060,7 +2060,6 @@ pref("browser.tabs.crashReporting.includeURL", false);
@@ -2066,10 +2067,6 @@ pref("browser.tabs.remote.warmup.unloadDelayMs", 2000);
pref("browser.tabs.crashReporting.sendReport", true);
pref("browser.tabs.crashReporting.includeURL", false);

// If true, unprivileged extensions may use experimental APIs on
// nightly and developer edition.
-// If true, unprivileged extensions may use experimental APIs on
-// nightly and developer edition.
-pref("extensions.experiments.enabled", false);
-
#if defined(XP_LINUX) || defined(XP_WIN)
// Allows us to adjust the priority of child processes at the OS level
@@ -2108,13 +2107,6 @@ pref("browser.migrate.chrome.history.limit", 2000);
pref("dom.ipc.processPriorityManager.enabled", true);
@@ -2116,13 +2113,6 @@ pref("browser.migrate.chrome.history.limit", 2000);
pref("browser.migrate.chrome.history.maxAgeInDays", 180);
pref("browser.migrate.showBookmarksToolbarAfterMigration", true);

Expand All @@ -58,13 +62,17 @@ index aac068a8177abe5031152e7b567b45fd2b5ef4a2..b0ed4a98f8d832b924b6b1a93eda75d7
// Enable Pocket button home panel for non link pages.
pref("extensions.pocket.showHome", true);

@@ -2243,9 +2235,6 @@ pref("toolkit.coverage.enabled", false);
@@ -2251,9 +2241,10 @@ pref("toolkit.coverage.enabled", false);
pref("toolkit.coverage.endpoint.base", "https://coverage.mozilla.org");

// Discovery prefs
-pref("browser.discovery.enabled", true);
-pref("browser.discovery.containers.enabled", true);
-pref("browser.discovery.sites", "addons.mozilla.org");
+//
+// From memory, these connect to Google Analytics, so they are a no go
+pref("browser.discovery.enabled", false);
+pref("browser.discovery.containers.enabled", false);

pref("browser.engagement.recent_visited_origins.expiry", 86400); // 24 * 60 * 60 (24 hours in seconds)
pref("browser.engagement.downloads-button.has-used", false);
14 changes: 14 additions & 0 deletions src/browser/base/content/browser-menubar-inc.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/browser/base/content/browser-menubar.inc b/browser/base/content/browser-menubar.inc
index f3134d5a9a01b7965eede5695def5afef4a66d6b..626fba18a7e9341731f6b71a98197695d63d7c6c 100644
--- a/browser/base/content/browser-menubar.inc
+++ b/browser/base/content/browser-menubar.inc
@@ -153,6 +153,9 @@
type="checkbox"
class="sync-ui-item"
oncommand="SidebarUI.toggle('viewTabsSidebar');" data-l10n-id="menu-view-synced-tabs-sidebar"/>
+ <menuitem id="menu_downloadsSidebar"
+ type="checkbox"
+ oncommand="SidebarUI.toggle('viewDownloadsSidebar');" data-l10n-id="navbar-downloads"/>
</menupopup>
</menu>
<menuseparator/>
28 changes: 19 additions & 9 deletions src/browser/base/content/browser-sidebar-js.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/browser/base/content/browser-sidebar.js b/browser/base/content/browser-sidebar.js
index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafcf1d66f5a 100644
index f09e37fc42f7754f7f3687884ead25124c1b2076..e1833bbfd8a8ed7da767349f886d554f3dd795f3 100644
--- a/browser/base/content/browser-sidebar.js
+++ b/browser/base/content/browser-sidebar.js
@@ -11,6 +11,10 @@ var SidebarUI = {
Expand Down Expand Up @@ -37,11 +37,21 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
}),
],
[
@@ -47,8 +54,27 @@ var SidebarUI = {
@@ -47,8 +54,37 @@ var SidebarUI = {
elementId: "sidebar-switcher-tabs",
url: "chrome://browser/content/syncedtabs/sidebar.xhtml",
menuId: "menu_tabsSidebar",
+ iconurl: "chrome://browser/skin/tab.svg",
+ }),
+ ],
+ [
+ "viewDownloadsSidebar",
+ makeSidebar({
+ elementId: "sidebar-switcher-downloads",
+ title: "Downloads",
+ url: "about:downloads",
+ menuId: "menu_downloadsSidebar",
+ iconurl: "chrome://browser/skin/downloads/downloads.svg"
}),
],
+ [
Expand All @@ -65,7 +75,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
]));
},

@@ -61,6 +87,8 @@ var SidebarUI = {
@@ -61,6 +97,8 @@ var SidebarUI = {
return (this._browser = document.getElementById("sidebar"));
},
POSITION_START_PREF: "sidebar.position_start",
Expand All @@ -74,7 +84,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
DEFAULT_SIDEBAR_ID: "viewBookmarksSidebar",

// lastOpenedId is set in show() but unlike currentID it's not cleared out on hide
@@ -78,6 +106,8 @@ var SidebarUI = {
@@ -78,6 +116,8 @@ var SidebarUI = {
},
_splitter: null,
_icon: null,
Expand All @@ -83,7 +93,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
_reversePositionButton: null,
_switcherPanel: null,
_switcherTarget: null,
@@ -110,10 +140,40 @@ var SidebarUI = {
@@ -110,10 +150,40 @@ var SidebarUI = {
this._switcherTarget = document.getElementById("sidebar-switcher-target");
this._switcherArrow = document.getElementById("sidebar-switcher-arrow");

Expand Down Expand Up @@ -124,7 +134,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
this._inited = true;

Services.obs.addObserver(this, "intl:app-locales-changed");
@@ -159,17 +219,26 @@ var SidebarUI = {
@@ -159,17 +229,26 @@ var SidebarUI = {
/**
* The handler for Services.obs.addObserver.
**/
Expand Down Expand Up @@ -155,7 +165,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
}
}
},
@@ -573,6 +642,10 @@ var SidebarUI = {
@@ -573,6 +652,10 @@ var SidebarUI = {
this._box.setAttribute("sidebarcommand", commandID);
this.lastOpenedId = commandID;

Expand All @@ -166,7 +176,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
let { url, title, sourceL10nEl } = this.sidebars.get(commandID);
this.title = title;
// Keep the title element in sync with any l10n changes.
@@ -618,6 +691,26 @@ var SidebarUI = {
@@ -618,6 +701,26 @@ var SidebarUI = {

this.selectMenuItem("");

Expand All @@ -193,7 +203,7 @@ index f09e37fc42f7754f7f3687884ead25124c1b2076..3148bad1c6c65207064bd650eef9bafc
// Replace the document currently displayed in the sidebar with about:blank
// so that we can free memory by unloading the page. We need to explicitly
// create a new content viewer because the old one doesn't get destroyed
@@ -641,25 +734,112 @@ var SidebarUI = {
@@ -641,25 +744,112 @@ var SidebarUI = {
* none if the argument is an empty string.
*/
selectMenuItem(commandID) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/browser/themes/BuiltInThemeConfig.jsm b/browser/themes/BuiltInThemeConfig.jsm
index 05bc07ac54fa43dd6bcce1f4ab619bc054cb8084..8ace74cac976889ca0e92910388fb5128436d013 100644
--- a/browser/themes/BuiltInThemeConfig.jsm
+++ b/browser/themes/BuiltInThemeConfig.jsm
@@ -32,6 +32,20 @@ const BuiltInThemeConfig = new Map([
diff --git a/browser/themes/BuiltInThemeConfig.sys.mjs b/browser/themes/BuiltInThemeConfig.sys.mjs
index 9c93c0d39ad11d95ecb4ad119d3c21da2528af23..e00efac497130363a41c0ecdbe07df761076b368 100644
--- a/browser/themes/BuiltInThemeConfig.sys.mjs
+++ b/browser/themes/BuiltInThemeConfig.sys.mjs
@@ -32,6 +32,20 @@ export const BuiltInThemeConfig = new Map([
path: "resource://builtin-themes/dark/",
},
],
Expand Down
13 changes: 0 additions & 13 deletions src/browser/themes/ThemeVariableMap-jsm.patch

This file was deleted.

15 changes: 15 additions & 0 deletions src/browser/themes/ThemeVariableMap-sys-mjs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/browser/themes/ThemeVariableMap.sys.mjs b/browser/themes/ThemeVariableMap.sys.mjs
index f2fd99193ddd0c24b7ad3ec953216973b162aaed..2d07c599152d8b0329f84a6cb626a1a40fdd241d 100644
--- a/browser/themes/ThemeVariableMap.sys.mjs
+++ b/browser/themes/ThemeVariableMap.sys.mjs
@@ -126,7 +126,9 @@ export const ThemeVariableMap = [
"--sidebar-background-color",
{
lwtProperty: "sidebar",
- optionalElementID: "sidebar-box",
+ // Pulse: we want to use the sidebar color in the sidebar tabs, which are
+ // under the `browser` parent rather than the `sidebar-box` parent
+ optionalElementID: "browser",
processColor(rgbaChannels, element) {
if (!rgbaChannels) {
element.removeAttribute("lwt-sidebar");
33 changes: 33 additions & 0 deletions src/browser/themes/pulse/content/downloads.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/* 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/. */

/* ========================================================================== */
/* about:downloads */

#contentAreaDownloadsView {
background: var(--tab-selected-bgcolor, var(--toolbar-bgcolor));
}

#downloadsListBox {
border: none;
border-radius: 0;
background: none;
}

#downloadsListBox > richlistitem {
border-radius: 4px;
transition: background-color 0.2s ease-in-out;

margin-bottom: 8px;
}

#downloadsListBox > richlistitem:not([selected]):hover {
background-color: var(--in-content-box-background);
}

@media (prefers-reduced-motion) {
#downloadsListBox > richlistitem {
transition: none;
}
}
3 changes: 2 additions & 1 deletion src/browser/themes/pulse/jar.inc.mn
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
# be specified once. As a result, the source file paths are relative
# to the location of the actual manifest.

* skin/classic/browser/sidebar_tabs.css (../pulse/sidebar_tabs.css)
* skin/classic/browser/pulse/sidebar_tabs.css (../pulse/sidebar_tabs.css)
skin/classic/browser/pulse/downloads.css (../pulse/content/downloads.css)
skin/classic/browser/addons/shared.css (../pulse/addons/shared.css)
4 changes: 2 additions & 2 deletions src/browser/themes/pulse/sidebar_tabs.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* ========================================================================== */
/* SIDE BAR STYLES */
/* SIDEBAR TABS STYLES */

:root {
--sidebar-inside-padding: 8px;
Expand All @@ -18,7 +18,7 @@
background-color: -moz-Dialog;
overflow: hidden;

max-width: var(--tab-min-height);
max-width: calc(var(--tab-min-height) + var(--tab-block-margin) * 2);

/* Makes the sidebar slide out from below */
position: relative;
Expand Down
4 changes: 2 additions & 2 deletions src/browser/themes/shared/browser-shared-css.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff --git a/browser/themes/shared/browser-shared.css b/browser/themes/shared/browser-shared.css
index ea4e59523027b51ecea12a45dc3844f17136c918..b542ece71a64cfe8747f494e67362f188b618321 100644
index b3f83092c310fe2378f79d5a07726ad8c215e2a3..c4b32e71b153a02c8505a2f879321c7006fd76a2 100644
--- a/browser/themes/shared/browser-shared.css
+++ b/browser/themes/shared/browser-shared.css
@@ -23,6 +23,8 @@
@import url("chrome://browser/skin/customizableui/customizeMode.css");
@import url("chrome://browser/skin/UITour.css");

+@import url("chrome://browser/skin/sidebar_tabs.css");
+@import url("chrome://browser/skin/pulse/sidebar_tabs.css");
+
@namespace html url("http://www.w3.org/1999/xhtml");

Expand Down
12 changes: 12 additions & 0 deletions src/browser/themes/shared/downloads/allDownloadsView-inc-css.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/browser/themes/shared/downloads/allDownloadsView.inc.css b/browser/themes/shared/downloads/allDownloadsView.inc.css
index 204e6a95a17a58789c5992983196542104f6cf84..43f7cae36b9b60d27d2442efe3f48f7cbea8bcaa 100644
--- a/browser/themes/shared/downloads/allDownloadsView.inc.css
+++ b/browser/themes/shared/downloads/allDownloadsView.inc.css
@@ -4,6 +4,7 @@

@import "chrome://browser/skin/downloads/progressmeter.css";
@import "chrome://browser/skin/downloads/download-blockedStates.css";
+@import "chrome://browser/skin/pulse/downloads.css";

/*** View and outer controls ***/

4 changes: 2 additions & 2 deletions src/browser/themes/shared/jar-inc-mn.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/browser/themes/shared/jar.inc.mn b/browser/themes/shared/jar.inc.mn
index 26f209ad704739db88ead4ccfc7075d23b4b666d..31a1e45a8f7729f50b95fb4ea68962faaee02446 100644
index 14ef7ff731145a42b28cbb9afe192bf56f756ed5..25d12586b7e8ce29d694dd6c0028ad176da96b1d 100644
--- a/browser/themes/shared/jar.inc.mn
+++ b/browser/themes/shared/jar.inc.mn
@@ -7,6 +7,8 @@
Expand All @@ -9,5 +9,5 @@ index 26f209ad704739db88ead4ccfc7075d23b4b666d..31a1e45a8f7729f50b95fb4ea68962fa
+#include ../pulse/jar.inc.mn
+
skin/classic/browser/aboutFrameCrashed.css (../shared/aboutFrameCrashed.css)
skin/classic/browser/aboutNetError.css (../shared/aboutNetError.css)
skin/classic/browser/aboutRestartRequired.css (../shared/aboutRestartRequired.css)
skin/classic/browser/aboutSessionRestore.css (../shared/aboutSessionRestore.css)
19 changes: 0 additions & 19 deletions src/toolkit/modules/LightweightThemeConsumer-jsm.patch

This file was deleted.

Loading