Commit graph

6,648 commits

Author SHA1 Message Date
roytam1
e76fa74573 Merge remote-tracking branch 'origin/tracking' into custom 2024-05-16 22:54:09 +08:00
Basilisk-Dev
4a95f9d418 [Basilisk] fix bug with preferences not working 2024-05-16 22:53:06 +08:00
Andy
52d7e4f3db PR #2514 - Don't split up happy emoji sequences
Loosely based on https://phabricator.services.mozilla.com/D25101
Includes changes to `GetEmojiPresentation`, added in e38b57ca.
The `EmojiComponent` response includes hair color, skin tone, ZWJ, VS16, Combining Enclosing Keycap, and the Tag unicode characters used for subdivision flag emojis.
This means that `IsClusterExtender` should support all these characters, and be forward compatible with any future Unicode changes.
This also lets us restructure `ClusterIterator::Next` to check for EmojiComponents after a TextDefault character, without any stupid constants.
2024-05-16 22:50:32 +08:00
roytam1
fffa564c0c [Basilisk] preferences: fix preprocessed lines 2024-05-10 22:32:16 +08:00
roytam1
f00e5ffc7d Merge remote-tracking branch 'origin/tracking' into custom 2024-05-08 21:26:21 +08:00
Basilisk-Dev
3fface9c03 [Basilisk] MoonchildProductions/UXP#2510 - Unprefix -moz-fit-content CSS keyword in Basilisk frontend 2024-05-08 21:24:12 +08:00
Basilisk-Dev
51091fd760 [Basilisk] Add error handling to MIME type processing in prefs.
Port of MoonchildProductions/Pale-Moon#1959
2024-05-08 21:23:30 +08:00
roytam1
9df06e86a2 layout: fix source code mojibake in nsCSSParser 2024-05-08 16:36:49 +08:00
roytam1
390799012c Merge remote-tracking branch 'origin/tracking' into custom 2024-05-08 10:05:44 +08:00
Brian Smith
de8213f561 Issue #2472 - Part 8: Fix conflicting defines on Mac. 2024-05-08 10:03:58 +08:00
Moonchild
c77b4b0bad Issue #2510 - Unprefix -moz-fit-content
No aliasing since this has been out for a while.
Devtools db regenerated with `mach devtools-css-db`

Resolves #2510
2024-05-08 09:59:34 +08:00
Moonchild
a3826565a7 No issue - Regenerate devtools css database
We were missing ::slotted, apparently.
2024-05-08 09:58:09 +08:00
Moonchild
87a7cf7332 Issue #2472 - Part 6: Fire cancel event and close modal <dialog> on [ESC]
This implementation is different than Mozilla, not indirectly queueing cancel
tasks to be arbitrarily ordered, but rather synchronously close in reverse
top layer order.
2024-05-08 09:57:53 +08:00
Moonchild
7d34b285e0 Issue #2472 - Part 5: Make modal versions of <dialog> work, and tune styles.
This adds a pseudo-class `:-moz-modal-dialog` to be able to track whether the
dialog is in the top layer in CSS.
This implements default styling for modal dialogs following the HTML standard.
Slightly off-extreme color scheme chosen for unstyled <dialog> elements.
2024-05-08 09:57:29 +08:00
Moonchild
7a04afab4a Issue #2472 - Part 4: Make TopLayer{Push|Pop} part of nsIDocument. 2024-05-08 09:55:38 +08:00
Moonchild
79c7489bb0 Issue #2472 - Part 3: Refactor Fullscreen stack to Top Layer stack
Fullscreen stack isn't part of the spec anymore; it's been changed to a more
generic version called Top Layer stack, which is being used by both full-screen
APIs and dialog elements.

This patch refactors it to Top Layer stack so that it can be reused for dialog
elements.

Top Layer stack spec: https://fullscreen.spec.whatwg.org/#new-stacking-layer
2024-05-08 09:55:18 +08:00
Moonchild
1f4152a5ac Issue #2472 - Part 2: Add FunctionRef callable type
Prerequisite for top layer refactor.

FunctionRef is a generic callable type that can be initialized from any
compatible callable, suitable for use as a function argument for the duration of
the function call (and no longer).
2024-05-08 09:53:29 +08:00
Moonchild
3058bef840 Issue #2472 - Part 1: Add helper method to directly dispatch events to widgets. 2024-05-08 09:53:11 +08:00
roytam1
92e1373e8c icu: fix getting windows timezone on legacy windows
(todo: fix non-autoDST situation)
2024-04-24 16:43:13 +08:00
roytam1
de7e7860ff tzdata: update to 2024a 2024-04-21 07:47:52 +08:00
roytam1
552db66da0 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-19 09:37:04 +08:00
Moonchild
9eaee03eb4 [dom media] Avoid a potential issue when assigning a media data buffer. 2024-04-19 09:35:53 +08:00
Moonchild
9b6c2f36f1 [gfx] Pull several OTS fixes from upstream to improve data safety.
- Don't check STAT designAxisSize if the designAxisCount is zero.
- Avoid potential arithmetic overflow during Buffer read operations.
- Use more careful range checks in STAT parsing.
2024-04-19 09:35:17 +08:00
Moonchild
dc52303799 [js] Simplify tracing of arguments in MarkThisAndArguments. 2024-04-19 09:34:45 +08:00
Moonchild
1ddd3ea76b [network] Keep track of and check HTTP/2 header sizes. 2024-04-19 09:34:14 +08:00
Moonchild
f6204a7ca8 [XPCOM] Warn about .xrm-ms files on Windows (treat as executable) 2024-04-19 09:33:28 +08:00
roytam1
aed4ca8fc5 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-16 15:16:58 +08:00
Moonchild
407a79e79f Issue #2503 - Part 3: Add CPU capabilities to about:support. 2024-04-16 15:16:01 +08:00
Moonchild
baf98e0dde Issue #2503 - Part 2b: Fix missing navigator in UpdateUtils. 2024-04-16 14:59:13 +08:00
Moonchild
a211c7d7f3 Issue #2503 - Part 2: Add CPU IS support flags to UpdateUtils URL substitutions. 2024-04-16 14:58:56 +08:00
Moonchild
35d7a1fe5a Issue #2503 - Part 1: add CPU IS support flags to Navigator interface 2024-04-16 14:58:41 +08:00
Moonchild
2811d30051 [DOM] Add nullcheck on mDoc in GetEventTargetParent 2024-04-16 14:58:23 +08:00
Moonchild
f2c576b12c Issue #2472 - Enable dialog element by default.
While work is still on-going to get layering/modal right, this should be enabled
by default for web compatibility reasons.
2024-04-16 14:52:21 +08:00
Moonchild
07cc276a10 Issue #2470 - Check for failure of getting IDXGIKeyedMutex. 2024-04-16 14:52:01 +08:00
roytam1
0acd996e03 dom: check mDoc before use, as it can be null 2024-04-14 20:39:31 +08:00
roytam1
5479b6d9c0 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-11 15:58:11 +08:00
Moonchild
0c02971a44 [devtools] fix issue with ctrl+c handling
See https://repo.palemoon.org/MoonchildProductions/Pale-Moon/issues/1961
2024-04-11 15:57:39 +08:00
FranklinDM
67bded6465 Issue #2477 - Part 4: Regenerate developer tools' static CSS properties database 2024-04-11 15:57:10 +08:00
FranklinDM
f41ad3aae5 Issue #2477 - Part 3: Logical box properties should accept auto values 2024-04-11 15:56:49 +08:00
FranklinDM
bfe76f65db Issue #2477 - Part 2: Implement shorthand properties for [margin/padding][block/inline] 2024-04-11 15:56:31 +08:00
FranklinDM
1e73f1f2d2 Issue #2477 - Part 1: Implement a separate function for parsing pair box properties
This reuses existing logic from ParseGap.
2024-04-11 15:54:36 +08:00
Martok
b518af4d45 [DOM] Simplify WorkerRunnable sanity checks and make them more readable. 2024-04-11 15:54:14 +08:00
roytam1
4f792793c2 Merge remote-tracking branch 'origin/tracking' into custom 2024-04-08 11:13:25 +08:00
Moonchild
641b556c53 Issue #2490 - Part 20: Remove the stuff that was added temporarily to deal with a mix of WebIDL and non-WebIDL rules. 2024-04-08 11:12:53 +08:00
Moonchild
7fb5d53a79 Issue #2490 - Part 19: Convert CSSCounterStyleRule to WebIDL. 2024-04-08 11:12:32 +08:00
Moonchild
b984856d8f Issue #2490 - Part 18: Convert CSSKeyframesRule to WebIDL. 2024-04-08 11:08:39 +08:00
Moonchild
89d96e0226 Issue #2490 - Part 17: Convert CSSKeyframeRule to WebIDL. 2024-04-08 11:08:06 +08:00
Moonchild
f0de637255 Issue #2490 - Part 16: Convert CSSFontFeatureValuesRule to WebIDL. 2024-04-08 11:07:44 +08:00
Moonchild
50f8c18757 Issue #2490 - Part 15: Convert CSSFontFaceRule to WebIDL.
The .style PutForwards bit is coming along for the ride here as a new feature.
2024-04-08 11:07:15 +08:00
Moonchild
74fdaed1fe Issue #2490 - Part 14: Convert CSSPageRule to WebIDL.
The .style PutForwards bit is coming along for the ride here as a new feature.
2024-04-08 11:05:31 +08:00