-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3cc654d
commit ff3fb74
Showing
47 changed files
with
2,769 additions
and
27 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Useful diff command | ||
|
||
```bash | ||
git diff HEAD -- . :^.github :^browser/branding/noraneko :^noraneko > .github/patches/[dir]/[filename].patch | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/remote/cdp/CDP.sys.mjs b/remote/cdp/CDP.sys.mjs | ||
index 1715e8a54b..bcf4c379e8 100644 | ||
--- a/remote/cdp/CDP.sys.mjs | ||
+++ b/remote/cdp/CDP.sys.mjs | ||
@@ -77,7 +77,7 @@ export class CDP { | ||
// avoid potential race conditions. | ||
this._running = true; | ||
|
||
- lazy.RecommendedPreferences.applyPreferences(RECOMMENDED_PREFS); | ||
+ //lazy.RecommendedPreferences.applyPreferences(RECOMMENDED_PREFS); | ||
|
||
// Starting CDP too early can cause issues with clients in not being able | ||
// to find any available target. Also when closing the application while | ||
@@ -137,7 +137,7 @@ export class CDP { | ||
this.targetList?.destructor(); | ||
this.targetList = null; | ||
|
||
- lazy.RecommendedPreferences.restorePreferences(RECOMMENDED_PREFS); | ||
+ //lazy.RecommendedPreferences.restorePreferences(RECOMMENDED_PREFS); | ||
} catch (e) { | ||
lazy.logger.error("Failed to stop protocol", e); | ||
} finally { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/remote/components/Marionette.sys.mjs b/remote/components/Marionette.sys.mjs | ||
index 87a53679e4..8c1552d21d 100644 | ||
--- a/remote/components/Marionette.sys.mjs | ||
+++ b/remote/components/Marionette.sys.mjs | ||
@@ -140,7 +140,7 @@ class MarionetteParentProcess { | ||
Services.obs.addObserver(this, "domwindowopened"); | ||
} | ||
|
||
- lazy.RecommendedPreferences.applyPreferences(); | ||
+ //lazy.RecommendedPreferences.applyPreferences(); | ||
|
||
// Only set preferences to preserve in a new profile | ||
// when Marionette is enabled. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/remote/components/RemoteAgent.sys.mjs b/remote/components/RemoteAgent.sys.mjs | ||
index 1b2ad4649b..43d7dd3154 100644 | ||
--- a/remote/components/RemoteAgent.sys.mjs | ||
+++ b/remote/components/RemoteAgent.sys.mjs | ||
@@ -395,7 +395,7 @@ class RemoteAgentParentProcess { | ||
Services.obs.addObserver(this, "quit-application"); | ||
|
||
// Apply the common set of preferences for all supported protocols | ||
- lazy.RecommendedPreferences.applyPreferences(); | ||
+ //lazy.RecommendedPreferences.applyPreferences(); | ||
|
||
// With Bug 1717899 we will extend the lifetime of the Remote Agent to | ||
// the whole Firefox session, which will be identical to Marionette. For |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/remote/webdriver-bidi/WebDriverBiDi.sys.mjs b/remote/webdriver-bidi/WebDriverBiDi.sys.mjs | ||
index 639c5f6080..fe00523f03 100644 | ||
--- a/remote/webdriver-bidi/WebDriverBiDi.sys.mjs | ||
+++ b/remote/webdriver-bidi/WebDriverBiDi.sys.mjs | ||
@@ -209,7 +209,7 @@ export class WebDriverBiDi { | ||
|
||
this.#running = true; | ||
|
||
- lazy.RecommendedPreferences.applyPreferences(RECOMMENDED_PREFS); | ||
+ //lazy.RecommendedPreferences.applyPreferences(RECOMMENDED_PREFS); | ||
|
||
// Install a HTTP handler for direct WebDriver BiDi connection requests. | ||
this.#agent.server.registerPathHandler( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/moz.build b/moz.build | ||
index 37e12e4c99..4ee3ec1af0 100644 | ||
--- a/moz.build | ||
+++ b/moz.build | ||
@@ -154,6 +154,7 @@ DIRS += [ | ||
"python", | ||
"testing", | ||
"third_party/python", | ||
+ "noraneko" | ||
] | ||
|
||
if not CONFIG["JS_STANDALONE"]: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in | ||
index 861ba1c484..83f8d4cf87 100644 | ||
--- a/browser/installer/package-manifest.in | ||
+++ b/browser/installer/package-manifest.in | ||
@@ -196,6 +196,11 @@ | ||
@RESPATH@/chrome/remote.manifest | ||
#endif | ||
|
||
+; [Noraneko Files] | ||
+@RESPATH@/chrome/noraneko.manifest | ||
+@RESPATH@/chrome/noraneko@JAREXT@ | ||
+@RESPATH@/browser/buildid2 | ||
+ | ||
; [Extensions] | ||
@RESPATH@/components/extensions-toolkit.manifest | ||
@RESPATH@/browser/components/extensions-browser.manifest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
diff --git a/dom/ipc/BrowserChild.cpp b/dom/ipc/BrowserChild.cpp | ||
index 27fb1239db..43e6b876d8 100644 | ||
--- a/dom/ipc/BrowserChild.cpp | ||
+++ b/dom/ipc/BrowserChild.cpp | ||
@@ -2542,7 +2542,8 @@ mozilla::ipc::IPCResult BrowserChild::RecvRenderLayers(const bool& aEnabled) { | ||
ProcessHangMonitor::MaybeStartPaintWhileInterruptingJS(); | ||
} | ||
|
||
- mRenderLayers = aEnabled; | ||
+ bool splitViewIsEnabled = Preferences::GetBool("floorp.browser.splitView.working", false); | ||
+ mRenderLayers = splitViewIsEnabled ? true : aEnabled; | ||
const bool wasVisible = IsVisible(); | ||
|
||
UpdateVisibility(); | ||
diff --git a/dom/ipc/BrowserHost.cpp b/dom/ipc/BrowserHost.cpp | ||
index 489f07a612..032b87e537 100644 | ||
--- a/dom/ipc/BrowserHost.cpp | ||
+++ b/dom/ipc/BrowserHost.cpp | ||
@@ -106,7 +106,7 @@ void BrowserHost::UpdateEffects(EffectsInfo aEffects) { | ||
/* attribute boolean renderLayers; */ | ||
NS_IMETHODIMP | ||
BrowserHost::GetRenderLayers(bool* aRenderLayers) { | ||
- if (!mRoot) { | ||
+ if (!mRoot && !Preferences::GetBool("floorp.browser.splitView.working", false)) { | ||
*aRenderLayers = false; | ||
return NS_OK; | ||
} | ||
diff --git a/dom/ipc/BrowserParent.cpp b/dom/ipc/BrowserParent.cpp | ||
index b37d6838d9..48acddae31 100644 | ||
--- a/dom/ipc/BrowserParent.cpp | ||
+++ b/dom/ipc/BrowserParent.cpp | ||
@@ -3584,7 +3584,8 @@ void BrowserParent::SetRenderLayers(bool aEnabled) { | ||
return; | ||
} | ||
|
||
- mRenderLayers = aEnabled; | ||
+ bool splitViewIsEnabled = Preferences::GetBool("floorp.browser.splitView.working", false); | ||
+ mRenderLayers = splitViewIsEnabled ? true : aEnabled; | ||
|
||
SetRenderLayersInternal(aEnabled); | ||
} |
Oops, something went wrong.