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
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
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
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
Moonchild
d1b6a584b8
Issue #2490 - Part 13: Convert media, supports, and moz-document rules to WebIDL.
...
This also converts the internal ConditionRule and GroupingRule classes.
2024-04-08 11:03:50 +08:00
Moonchild
6176bd62d9
Issue #2490 - Part 12: Convert CSSStyleRule to WebIDL.
...
The .style PutForwards bit is coming along for the ride here, aligning us with
the behavior of Blink and Gecko.
2024-04-08 11:01:02 +08:00
Moonchild
525606c15d
Issue #2490 - Part 11: Convert CSSImportRule to WebIDL.
...
Note that the .media PutForwards is a new feature coming along for the ride, now
that we're using the spec IDL.
2024-04-08 10:59:42 +08:00
Moonchild
95642cb4e5
Issue #2490 - Part 10: Convert CSSNamespaceRule to WebIDL.
2024-04-08 10:58:54 +08:00
Moonchild
264f152ba0
Issue #2490 - Part 9b: Add a CSSRule Web IDL interface.
...
Fix Paris bindings by providing a temporary IID for nsIDOMCSSRule
(thanks FranklinDM!)
2024-04-08 10:56:40 +08:00
Moonchild
5a522d9145
Issue #2490 - WIP: part 9. Add a CSSRule Web IDL interface.
2024-04-08 10:56:20 +08:00
Moonchild
bb2aaeac9f
Issue #2490 - Part 8: Get rid of css::Rule::GetDOMRule.
2024-04-08 10:56:04 +08:00
Moonchild
fce04b3591
Issue #2490 - Part 7: Push the nsIDOMCSSRule implementation up to css::Rule.
2024-04-08 10:55:49 +08:00
Moonchild
8c871f602e
Issue #2490 - Part 6: Make css::Rule inherit from nsIDOMCSSRule.
2024-04-08 10:55:26 +08:00
Moonchild
c2ee755574
Issue #2490 - Part 5: Get rid of DOMCSSStyleRule.
2024-04-08 10:53:21 +08:00
Moonchild
1342838b3f
Issue #2490 - Part 4: Make css::Rule wrappercached.
2024-04-08 10:46:40 +08:00
Moonchild
e510cc84af
Issue #2490 - Part 3: Give CSS rules a PreCreate hook so we can safely wrappercache them.
2024-04-08 10:42:57 +08:00
Moonchild
5bb39ec403
Issue #2490 - Part 2: Remove the now-unused GetExistingDOMRule() function.
2024-04-08 10:40:28 +08:00
Moonchild
d6ec56a4c4
Issue #2490 - Part 1: Make all CSS rules cycle-collected.
2024-04-08 10:39:37 +08:00
Moonchild
73edd3878f
Issue #2495 - Implement webkitURL legacy window alias for URL
...
Resolves #2495
2024-04-08 10:33:06 +08:00
Andy
15f8ca526c
Issue #2492 - Transparent Keycap Patch
2024-04-02 22:55:36 +08:00
Andy
d590247b21
Issue #2492 - Keycap Bug Fixes
...
Adds 0-9, #, and * as simple pictographs.
Duplicates (C), (R), (TM), and (M) with the Keycap suffix.
Turns Combining Enclosing Keycap into a zero-width character.
2024-04-02 22:55:21 +08:00
Andy
0d07d4377a
Issue #2492 - Don't Assume System Font for Emojis with Suffixes
...
A few dozen Emojis use otherwise general font characters in the lower codepages.
Luckily, the Emoji codepages always include either a VS16 or KeyCap suffix.
2024-04-02 22:55:06 +08:00
Andy
69f3b4e199
Issue #2492 - Standardized use of Emoji Character Properties
...
Detection of Emoji Components, for use as suffixes of TextDefault.
Detection of Non-Presentation Emojis as TextDefault.
Detection of all Extended Pictographics as EmojiDefault.
2024-04-02 22:54:46 +08:00
Andy
5c296d7c4a
Issue #2492 - Update TwemojiMozilla.ttf to E15.1
...
Includes partially qualified and unqualified codepoints for all Emojis except (C), (R), (TM), and (M).
Updates Martinique flag.
Uses True South flag for Antarctica.
2024-04-02 22:54:24 +08:00
FranklinDM
f0116f51db
Issue #2488 - Part 6: Define and declare CSSStyleSheet cast functions directly in StyleSheet
...
This renames AsGecko calls to AsConcrete and removes the header containing leftover Stylo macros.
2024-04-02 22:52:28 +08:00
FranklinDM
81f77f18a0
Issue #2488 - Part 5: Remove HandleRefPtr (exclusively used by smart pointer classes)
2024-04-02 22:50:27 +08:00
FranklinDM
6803c1f710
Issue #2488 - Part 4: Remove the RestyleManagerHandle smart pointer class
2024-04-02 22:50:07 +08:00
FranklinDM
4bf43b8fb4
Issue #2488 - Part 3: Remove the StyleSetHandle smart pointer class
2024-04-02 22:49:48 +08:00
FranklinDM
4d7bdedade
Issue #2488 - Part 2: Remove the DeclarationBlock class and use Declaration directly
2024-04-02 22:47:20 +08:00