Commit graph

4,464 commits

Author SHA1 Message Date
Moonchild
befd404397 [Pale-Moon] Issue #1872 - Part 2: De-duplicate search engine logos in the source and unify.
This also adds logos for other included generic search engines Yahoo, Bing,
Ecosia and Ekoru.
2021-07-02 10:50:04 +08:00
Moonchild
ca2ea0bc7b [Pale-Moon] Issue #1872 - Part 1: Update and align about:home and newtab search box styling
Redesigned the styling for the search box for newtab (quickdial) and about:home.
This gets rid of the "play" button and reinstates the "Search" localized term
for submission of the search terms.
Also tweaked the spacing around the logo to neatly tuck into the left side of
the search input bar, which was sloppy and especially visible with image-filling
logotypes (i.e. square).
2021-07-02 10:49:26 +08:00
Moonchild
6d7fdcaab1 [Pale-Moon] Change the hard-coded "Learn more" link with DNT to our own page. 2021-07-02 10:48:47 +08:00
Moonchild
b671986b15 [Pale-Moon] Re-organize the Privacy category in preferences. 2021-07-02 10:48:19 +08:00
Moonchild
9e19d36812 [Toolkit] Update logopage styling.
Part of the UX refresh Pale Moon effort. This uses the new -moz-dark-theme media
query to make the logopage dark if the UI is dark, without explicitly relying on
(often not sane) system color values.
2021-07-02 10:46:08 +08:00
Moonchild
4363b6cac3 Issue #1751 - Remove Mac/ARM C fallback on gcc from pixman 2021-07-02 10:46:07 +08:00
roytam1
cc8b823a2d bump palemoon version for upcoming changes 2021-07-02 09:13:55 +08:00
athenian200
efc6048941 Issue #1784 - Add -moz-dark-theme media query and allow prefers-color-scheme to follow it. 2021-06-24 11:10:22 +08:00
Matt A. Tobin
dbf1d0b5fa [Toolkit] Attempt to initialize DownloadTaskbarProgress when onDownloadWindowLoad() is called so that DownloadTaskbarProgress from the Downloads Manager window works when the application doesn't explicitly invoke onBrowserWindowLoad(). 2021-06-24 11:10:02 +08:00
Moonchild
ba00d14c12 Issue #1751 - Remove Mac code behind MOZ_WIDGET_TOOLKIT == 'cocoa' 2021-06-24 11:09:47 +08:00
Moonchild
2703c4fc63 [whitespace] Fix CRLF line endings.
When originally implementing ResizeObserver, line endings ended up being CRLF
instead of LF. This commit fixes those line endings (no code changes)
2021-06-24 11:09:12 +08:00
Moonchild
07288b49a3 Bump platform version 2021-06-24 11:08:58 +08:00
Moonchild
699781f37c Issue #1783 - Part 3: Remove ResizeObservation's BroadcastSize.
This is chrome-only and unused, and interfered with getting the spec update in.
2021-06-24 11:05:47 +08:00
Moonchild
25164d0b75 Issue #1783 - Part 2: Update ResizeObserver and resizeObserverSize.
This adds the later spec revision's contentBoxSize and borderBoxSize, and the
inlineSize and blockSize concepts.
The older spec contentRect remains functional as well for backwards
compatibility with the earlier spec (that was IMHO perfectly fine as it was...)
2021-06-24 11:05:45 +08:00
Moonchild
51d3f2d2f3 Issue #1783 - Part 1: Move GetNodeDepth to ResizeObserver.cpp
GetNodeDepth() is a specialized version for ResizeObserver to get the depth of
a node across Shadow DOM. It's better to have this in ResizeObserver.cpp
instead of the generic ContentUtils.

Also updated the function to bypass the shadow root itself and not count it
because ResizeObserver doesn't observe the shadow root and only needs the
relative depths among all observed targets. IOW we use the flattened tree here.
2021-06-24 11:05:44 +08:00
Jeremy Andrews
d1a537b9cf Issue #1776 - Support detecting bool preferences in chrome stylesheets
This functionality was already added to Gecko for UA stylesheets allow the "dom.details_element.enabled" preference to work. I changed the condition to allow bool preferences to be used in chrome stylesheets as well.
2021-06-24 11:05:21 +08:00
Matt A. Tobin
2319d8be12 [Toolkit] Don't use the "aero" msstyle provided toolbox background on Windows 10 2021-06-15 11:19:05 +08:00
Moonchild
f81300202c Issue #1781 - Part 3: Add reftest for the static calc() case. 2021-06-15 11:19:03 +08:00
Moonchild
a149af1199 Issue #1781 - Part 2: Fix animation interpolation for stroke-dashoffset.
Since we have calc() and floats working now, this is a trivial fix.
2021-06-15 11:19:00 +08:00
Moonchild
15a322effa Issue #1781 - Part 1: support calc() in stroke-dashoffset CSS
This adds basic calc() support to stroke-dashoffset. It does not provide
CSS animation (yet, todo for part 2)
2021-06-15 11:18:58 +08:00
Moonchild
4bcb79066b [Pale-Moon] Issue #1870 - Add try/catch and console logging for failing autocomplete popup. 2021-06-04 09:40:02 +08:00
Moonchild
d46c25b5e5 [js] Fix porting typo
Follow-up for 9acd98298ccadd83495fa1615573ebcca6648bae
2021-06-04 09:31:07 +08:00
Jan de Mooij
9c3495379f [js] Fix invalid early return in BaselineFrame::trace.
We were not tracing debugger environments for Baseline frames without any
local/expression slots.
2021-06-04 09:31:06 +08:00
Moonchild
859208a201 [toolkit] Exclude printer spew from troubleshooting information.
In almost all cases this is pointless to include, a ton of useless entries,
and there's no reason to have people post a full enumeration of installed
printers on their system when asked for TS information.
If there's a printer specific issue, people can always be asked to post relevant
info manually.
2021-06-04 09:31:04 +08:00
Matt A. Tobin
378f01e526 Issue #1774 - Add metrics to the editable menulist-button for GTK3 2021-06-04 09:31:03 +08:00
Moonchild
8744911c18 Issue #1772 - Stop using legacy code page conversion for file paths on Linux.
OS.File already only supports UTF-8 paths on non-Windows systems, so this change
makes our different ways of accessing file paths consistent with each other.
This should prevent unexpected crashes in glibc that expect UTF-8.

This resolves #1772.
2021-05-21 09:34:12 +08:00
Moonchild
90df4cfb70 Revert "Issue #21 - Remove TelemertyVFS"
This:
- reverts commit 83ecae9ff7ee1469da1675435dbcf26d094aa1c6
- adds a failure check to Connection::GetQuotaObjects

This resolves #1768.
2021-05-21 09:34:11 +08:00
Moonchild
98f29e4737 [network] Fix typo in port blocking range check.
This fixes a typo in 5e705bd5059da5b7a39e3a096b7c7f59cb466730
2021-05-14 00:21:36 +08:00
FranklinDM
52b1a20bcf Issue #1770 - Fix incorrect reference to event parameter 2021-05-14 00:21:23 +08:00
Moonchild
215e93606d Issue #1751 -- Remove cocoa and uikit gfx and hal support code 2021-05-14 00:21:09 +08:00
Moonchild
214ac352e5 [Pale-Moon] Issue #1865 - Remove mac-specific resources
This removes Mac-specific branding resources, shell service components, and the
Mac browser theme.
2021-05-10 10:06:41 +08:00
Moonchild
70b9128474 Issue #1751 -- Update crashtests 2021-05-10 09:54:57 +08:00
Moonchild
3a4e65f1de Issue #1751 -- Remove cocoa and uikit widget support code 2021-05-10 09:54:45 +08:00
Moonchild
a6ae35ba91 Issue #1751 -- Remove cocoa support code from /dom 2021-05-10 09:54:32 +08:00
Moonchild
82b363f05d Issue #1751 -- fix up a few stray #ifs 2021-05-07 09:54:04 +08:00
Moonchild
a4b0f333ba Issue #1751 -- Remove XP_MACOSX conditionals from the rest of the tree.
This also removes some PP abuse and takes file entries out of PP when no longer
needed without XP_MACOSX conditionals.
2021-05-07 09:53:59 +08:00
Moonchild
02c59100a8 Issue #1751 -- Remove XP_MACOSX conditionals from /layout 2021-05-05 10:29:02 +08:00
Moonchild
df94ccb22c Issue #1751 -- Remove XP_MACOSX conditionals and support files from /xpcom 2021-05-05 10:28:58 +08:00
Moonchild
ccf9e5f54b Issue #1751 -- Remove XP_MACOSX conditionals and support files from /gfx 2021-05-05 10:27:35 +08:00
Moonchild
9aed800398 Issue #1751 -- Remove files unused without XP_DARWIN 2021-05-05 10:27:29 +08:00
Moonchild
2f27335cc4 Issue #1751 -- Remove XP_DARWIN 2021-05-05 10:27:04 +08:00
Moonchild
a9c8f3a84a Issue #1751 -- Remove XP_IOS 2021-05-05 10:26:14 +08:00
Moonchild
d29e4f8306 Issue #1751 -- Remove XP_MACOSX conditionals from /dom 2021-05-05 10:26:13 +08:00
Moonchild
434b3269fb Issue #1767 - Prevent incorrect calling of network change detection function.
This rewrites the websocket channel network change detection function to not
skip part of its logic in a situation that has already been checked, preventing
a thread race. See analysis of the problem in the issue.
2021-05-05 10:25:45 +08:00
FranklinDM
0be821b7c1 [Basilisk] Issue #39 - Warn before opening many URI nodes in tabs 2021-04-30 09:50:10 +08:00
Moonchild
1d298f4e0f [Pale-Moon] [SSUAO] Update Citi bank override. 2021-04-30 09:49:45 +08:00
FranklinDM
8d7f0a27aa [Pale-Moon] Issue #1816 - Warn before opening many URI nodes in tabs 2021-04-22 09:29:23 +08:00
FranklinDM
d846ef7bee [Pale-Moon] Issue #1701 - Allow Open All in Tabs for containers with only one child URI 2021-04-22 09:29:03 +08:00
Moonchild
69597507db [Network] Solve type mismatch in AllowPort().
Casting it to an int16_t was wrong and would preclude the check for high port
numbers (due to overflow).
This makes the type matching, but adds an explicit check to ensure the port
number passed in is within a valid range.
2021-04-21 21:55:41 +08:00
Jeff Gilbert
88bfb5d5d1 [WebGL] Bind framebuffer before DrawBuffers/ReadBuffer selection. 2021-04-21 21:55:40 +08:00