Commit graph

4,488 commits

Author SHA1 Message Date
Dana Keeler
bfac131dc2 [NSPR] Lock access to PRCallOnceType members in PR_CallOnce* for thread safety.
Cherry-picked upstream fix from 4.31
2021-07-15 09:26:35 +08:00
Moonchild
d3f293ec09 [ANGLE] Cherry-pick upstream fix 2021-07-15 09:26:24 +08:00
Valentin Gosu
6b11c3f299 [network] Make CacheIOThread::ThreadFunc hold reference to thread. 2021-07-15 09:26:22 +08:00
Moonchild
43f7d3e27a [network] Add some sanity checks to deserialized nsStandardURLs
Note: C++ lambda expressions are actually useful for once.
2021-07-15 09:26:21 +08:00
Moonchild
0a42897070 [network] Stop blocking 10080
Port 10080 is shared by too many devices and services that do need http(s)
access, so this port should not be blacklisted by default.
2021-07-15 09:26:19 +08:00
Matt A. Tobin
ccb3ecdc95 Issue #1793 - Only use Glass on the Toolkit Download Manager on Windows 7 2021-07-15 09:25:59 +08:00
Matt A. Tobin
b4e51a8540 Issue #1793 - Only use proper Aero Styling in the Toolkit Error Console on Windows 7 2021-07-15 09:25:46 +08:00
Matt A. Tobin
895afe00e1 Issue #1793 - Add a border-bottom to treecols header 2021-07-15 09:25:29 +08:00
Matt A. Tobin
86aec31475 Issue #1793 - Add a border-bottom to toolbox
Follow-up to e8be661944c730cb3b702cd7f7d97e0860eb9132
2021-07-15 09:24:31 +08:00
Moonchild
467e117fd9 Issue #1792 - Part 4: Implement constructors for the EventTarget interface. 2021-07-15 09:24:18 +08:00
Moonchild
6e0c05056b Issue #1792 - Part 3: Add ConstructibleEventTarget helper class.
Of course it couldn't be trivial :P
wrapObject is a pure virtual function which prevents an abstract constructor
from being used.
So, we need to extend DOMEventTargetHelper (applicable acronym: DETH :D) with
a wrapObject implementation - in a derivative class is the clearest way to do
this, as opposed to making DETH more complex.
2021-07-15 09:24:16 +08:00
Moonchild
dd06472de7 Issue #1792 - Part 2: Move GetParentObject() to EventTarget.h for re-use. 2021-07-15 09:24:15 +08:00
Moonchild
d751dbe1a4 Issue #1792 - Part 1: Remove superfluous check for abstract ancestors.
This removes some restrictions on whether an interface that implements
QueryInterface can have a non-abstract ancestor.

This restriction was put in place back when we automatically added
QueryInterface to all rootmost non-abstract interfaces (~Pale Moon 24).
At the time, we needed to make sure it did NOT end up on EventTarget, because
back then WebIDL quickstubs would replace the QI implementation on non-WebIDL
EventTargets with the WebIDL one, which would not work for them.

Since then, we have removed WebIDL quickstubs and we now explicitly list which
interfaces get QueryInterface, so this check is no longer needed.
2021-07-15 09:24:13 +08:00
Moonchild
22651c52be Issue #1757 - Follow-up: Remove some stray WPT leftovers.
These were re-introduced when reverting the <details> element pref changes.
2021-07-15 09:23:25 +08:00
Moonchild
3612f45a90 [network] Stop treating http and https as different for encoding schemes.
There is no reason to treat available encoding schemes for these protocols
differently.
2021-07-15 09:23:13 +08:00
Pale Moon
d76cfefcfc [Pale-Moon] Issue #1872 - Part 8: Tweak, cleanup and finalize.
- clean up old unused graphics
- remove gradient and noise
- tweak quickdial styling
- add padding and slightly reduce logos
- add generic search icon for those without one
2021-07-08 10:00:46 +08:00
Moonchild
3fa9719166 [Pale-Moon] Remove unnecessary (and interfering) code for tabbed privacy preferences category.
Follow-up to 0a124f1ccbde384a5e74cf85d782155210e1111f
2021-07-08 10:00:26 +08:00
Moonchild
a5416d8087 [Pale-Moon] Issue #1872 - Part 7: Make the the search placeholder less obnoxious.
Reducing opacity and making it Italic makes it less confusing of an element
to deal with.
2021-07-08 10:00:06 +08:00
Moonchild
5c628bbf77 [Pale-Moon] Issue #1872 - Part 6: Revisit styling to base it more on previous about:home
- Redo search box colors
- Redo newtab cell titles and hover-drag shading
2021-07-08 09:59:37 +08:00
Moonchild
b33cc1faa8 [network] Enable brotli compression on http for sites that offer it. 2021-07-08 09:57:11 +08:00
Moonchild
875f1a35a2 [toolkit] Slightly lighten light-mode logopage background 2021-07-08 09:57:10 +08:00
Moonchild
abdb4ac723 [Pale-Moon] Issue #1872 - Part 5: Align about:home background with other pages. 2021-07-02 10:51:06 +08:00
Moonchild
ae5e18f518 [Pale-Moon] Issue #1872 - Part 4: Tweak search box styling some more. 2021-07-02 10:50:47 +08:00
Moonchild
31d77a0815 [Pale-Moon] Issue #1872 - Part 3: Fix about:home search form width.
Reverts accidental deletion of required code.
2021-07-02 10:50:28 +08:00
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