Moonchild
8e2e19d639
Commit hourCycle test.
2023-04-06 22:56:08 +02:00
Moonchild
0379f29f80
Issue #2195 - Implement hourCycle (WIP)
...
For some reason this is non-functional...
2023-04-06 21:29:39 +02:00
Moonchild
186d4b7132
Merge pull request 'Fix FreeBSD build failure with WebRTC enabled.' ( #2193 ) from dbsoft/UXP:freebsdwebrtc into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2193
2023-04-05 10:15:13 +00:00
Moonchild
a85b4739e4
Merge pull request 'Fix build bustage with GCC 9 related to checkExportedNamesForDeclaration' ( #2192 ) from jobbautista9/UXP:2189-followup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2192
2023-04-05 10:14:24 +00:00
Brian Smith
dad82a67d6
No Issue - Fix FreeBSD build failure with WebRTC enabled.
2023-04-05 00:54:29 -05:00
Job Bautista
1359f67e56
PR #2189 - Follow-up: Fix build bustage with GCC 9 related to checkExportedNamesForDeclaration
2023-04-05 13:11:44 +08:00
Moonchild
a68e524a90
Merge pull request 'JS: Parser Frontend Refactor' ( #2189 ) from martok/UXP-contrib:mr/frontend-2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2189
2023-04-04 18:54:15 +00:00
Moonchild
e354a428b7
Merge pull request 'Update freetype2 to 2.13.0.' ( #2190 ) from jobbautista9/UXP:freetype2-2.13.0 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2190
2023-04-04 10:38:11 +00:00
Job Bautista
031f4f5504
Issue #1863 - Update freetype2 to 2.13.0.
2023-04-04 14:09:09 +08:00
Martok
98a18afe5b
Issue #2173 - Introduce FunctionNode::syntaxKind instead of JSOPs
...
This moves some "implementation details" to later in the emitter,
and also keeps syntax information available for later use.
Based-on: 1518391/{3+4}
2023-04-03 16:50:25 +02:00
Martok
0c7e7591b7
Issue #2173 - Separate CodeNode into FunctionNode and ModuleNode
...
ModuleNode only has a body and FunctionNode has many more attributes,
and will get more in the following commit.
Based-on: 1518391/2
2023-04-03 16:50:24 +02:00
Martok
c3617331a1
Issue #2173 - Remove unused case/code from function node ops
...
CodeNodes only ever use 3 JSOPs at this point in time.
Based-on: 1518391/1
2023-04-03 16:50:24 +02:00
Martok
3415e1d32d
Issue #2173 - Allow constant folding to see inside functions when using the module pattern
...
(function() { ... })() IIFE pattern should get its body const-folded. This won't make much
runtime difference on JIT, but can be significant in interpreted code (and saves time for
JIT codegen).
Based-on: m-c 632020
2023-04-03 16:50:24 +02:00
Martok
f687581b7f
Issue #2173 - Fix remaining ParseNode* in FullParseHandler methods signature
...
The handlers should use the alias types exclusively in their interface.
Based-on: m-c 1479659/11
2023-04-03 16:50:24 +02:00
Martok
6d9f234c60
Issue #2173 - Add TryNode
...
This is adjusted from upstream to follow our data structure with PNK_CATCHLIST
Based-on: m-c 1479659/8
2023-04-03 16:50:23 +02:00
Martok
2067485b27
Issue #2173 - Add accessors to LexicalScopeNode
...
Based-on: m-c 1479659/7
2023-04-03 16:50:23 +02:00
Martok
9cd981b485
Issue #2173 - Add accessors to NullaryNode and change LoopControlStatement arity to PN_LOOP
...
Based-on: m-c 1479659/6
2023-04-03 16:50:23 +02:00
Martok
88f7cba9c9
Issue #2173 - Add accessors to NameNode, CodeNode, RegExpLiteral, and add NumericLiteral
...
Based-on: m-c 1479659/{5,9,10}, m-c 1491147
2023-04-03 16:50:23 +02:00
Martok
6cea01f811
Issue #2173 - Add accessors to UnaryNode and subclasses
...
Based-on: m-c 1479659/4
2023-04-03 16:50:22 +02:00
Martok
0fdd23e0b4
Issue #2173 - Add accessors to BinaryNode and subclasses
...
Based-on: m-c 1479659/3
2023-04-03 16:50:22 +02:00
Martok
ad4b2ecefa
Issue #2173 - Add accessors to TernaryNode
...
Based-on: m-c 1479659/2
2023-04-03 16:50:22 +02:00
Martok
cc14ee0148
Issue #2173 - Add accessors to ListNode
...
Based-on: m-c 1479659/{1,12}
2023-04-03 16:50:22 +02:00
Martok
483420f253
Issue #2173 - Fix return value of MUST_MATCH_TOKEN* macros in Parser methods which returns bool
...
Based-on: m-c 1479659/0
2023-04-03 16:50:21 +02:00
Martok
4d76651ff2
Issue #2173 - Store the info about the existence of the default case into the switch ParseNode
...
Based-on: m-c 1477157
2023-04-03 16:50:21 +02:00
Martok
33d29efe43
Issue #2173 - Add a new PNK_PROPERTYNAME to hold location information about property access name
...
Based-on: m-c 1378808/2
2023-04-03 16:50:21 +02:00
Martok
416d9683fe
Issue #2173 - Add a new PNK_ARGUMENTS node type for call argument lists
...
Also change PNK_GENEXP (not supported by upstream) to a PN_BINARY node
Based-on: m-c 1378808/1
2023-04-03 16:50:06 +02:00
Martok
3481496454
Issue #2173 - Fix exporting array and object binding patterns
...
Examples:
export const [name1, name2] = [1, 2];
export var {...name} = get;
Based-on: m-c 1446811, m-c 1462286
2023-04-03 15:33:21 +02:00
Martok
299090f227
Issue #2155 - Follow-up: Reorder super-property evaluation order per latest spec change
...
Fix regression from difference between Interpreter (old) and ElemOpEmitter (new). We don't have
any Ion/IC support for these ops.
Based-on: m-c 1472211
2023-04-03 14:52:45 +02:00
Moonchild
9d03184aa2
Merge pull request 'Also use xz compression for packaging FreeBSD builds.' ( #2188 ) from jobbautista9/UXP:freebsd-xz into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2188
2023-04-03 09:40:47 +00:00
Job Bautista
7598e16eaa
No issue - FreeBSD builds should also use xz compression for packaging.
...
Currently it defaults to bzip2, which has been obsolete for us.
2023-04-03 15:46:55 +08:00
Moonchild
85f0301dd8
Merge pull request 'Fix debug build bustage with shared Spidermonkey.' ( #2187 ) from jobbautista9/UXP:62-jsprincipals-debug-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2187
2023-04-02 13:36:39 +00:00
Job Bautista
d3ed316788
Issue #62 - Follow-up: Fix debug build bustage with shared Spidermonkey.
...
A method marked with dllimport shouldn't be defined.
2023-04-02 12:47:04 +08:00
Moonchild
131409a24b
Merge pull request 'Increase mozjemalloc page cache size from 1 MiB to 16 MiB.' ( #2185 ) from jobbautista9/UXP:2184-mozjemalloc-12 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2185
2023-04-01 07:37:59 +00:00
Job Bautista
4a052de454
Issue #2184 - Increase mozjemalloc page cache size from 1 MiB to 16 MiB.
...
We don't need the reduced memory overhead as we are not using e10s. This
should speed up JS by a point according to Speedometer 2.1.
2023-04-01 10:42:03 +08:00
Moonchild
c36eae9bf5
Merge pull request 'Add sys/auxv.h to system-headers' ( #2183 ) from jobbautista9/UXP:2181-auxv into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2183
2023-03-30 09:40:57 +00:00
Job Bautista
da09b1d972
Issue #2181 - Add sys/auxv.h to system-headers
...
This should fix getauxval being undefined when building highway on Linux ARM64.
2023-03-30 14:39:44 +08:00
Moonchild
93addf962f
Merge pull request 'Fix drawing in titlebar on Mac when building with the Big Sur 11.0 SDK.' ( #2182 ) from dbsoft/UXP:drawintitlebar into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2182
2023-03-29 20:32:48 +00:00
Brian Smith
c09fb2cd97
No Issue - Fix drawing in titlebar on Mac when building with the Big Sur 11.0 SDK.
...
On Intel we build with the 10.12 SDK so this problem is avoided.
Also Pale Moon no longer supports drawing in the titlebar in the front end.
However Basilisk does and built for ARM the tabs were cut off by the native titlebar.
This uses the new APIs introduced in SDK 10.10 and 11.0 to draw in the titlebar.
2023-03-29 02:46:32 -05:00
Moonchild
ad7ffc0525
Issue #2180 - Follow-up: Move sentinel check up a bit.
2023-03-28 17:59:19 +02:00
Moonchild
500ece900a
Issue #2180 - Add pref to control NSS TLS 1.3 protocol downgrade sentinel
2023-03-28 15:13:09 +02:00
Moonchild
f90106bd7e
Merge pull request 'Refactor more BytecodeEmitters' ( #2179 ) from martok/UXP-contrib:mr/bce-split2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2179
2023-03-27 14:10:07 +00:00
Moonchild
5a0b5b05da
Merge pull request 'Issue #2175 - Fix build bustage in WebRTC.' ( #2177 ) from tvall43/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2177
2023-03-27 14:08:41 +00:00
Moonchild
77692ac0bf
Merge pull request 'Fix JS_SHARED_LIBRARY and always build Spidermonkey and ICU as shared lib in Windows.' ( #2164 ) from jobbautista9/UXP:62-shared-mozjs into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2164
2023-03-27 14:07:14 +00:00
Martok
1a24ac966e
Issue #2155 - Add SwitchEmitter
...
Based-on: m-c 1456006/{0,1}
2023-03-26 20:20:16 +02:00
Martok
c26df1a48a
Issue #2155 - Move TryEmitter and ForOfLoopControl to TryEmitter.{cpp.h} and ForOfLoopControl.{cpp.h}
...
Based-on: m-c 1460489/5
2023-03-26 20:20:16 +02:00
Martok
0a2eb24435
Issue #2155 - Move NestableControl classes except ForOfLoopControl to BytecodeControlStructures.{cpp.h}
...
Based-on: m-c 1460489/3
2023-03-26 20:20:15 +02:00
Martok
2e2855cf04
Issue #2155 - Split Nestable to ds/ and EmitterScope to EmitterScope.{cpp.h}
...
Based-on: m-c 1351107/17, m-c 1460489/2
2023-03-26 20:20:15 +02:00
Moonchild
73d78767c8
Merge pull request 'Don't reconstruct the parent when tearing down display:contents nodes' ( #2178 ) from 2176 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2178
2023-03-26 18:06:09 +00:00
Timothy Valldeperas
5b6c6b98d2
Issue #2175 - Fix build bustage in WebRTC.
2023-03-26 01:16:13 -05:00
Job Bautista
f23839412e
Issue #62 - Always build Spidermonkey as shared lib in Windows.
...
Shared JS is confirmed working fine in Windows after a week of testing.
Non-Windows will have to wait unfortunately. The JS_SHARED_LIBRARY option is
kept for easy testing on those unsupported platforms.
2023-03-26 13:14:59 +08:00
Job Bautista
86b77f1284
Issue #2165 - Disable LNK4217 and LNK4286 warnings when linking ICU as they're too spammy.
2023-03-26 13:14:10 +08:00
Moonchild
ecda3426e6
Issue #2176 - Don't reconstruct the parent when tearing down
...
display:contents nodes with pseudo-elements.
We need to use StyleChildrenIterator which iterates over them, instead.
This is a bit of a hack but we can't always have our cake.
We need to be a bit careful though, since ::before and ::after are owned
by their own frame, and thus could be unbound from the tree or even dead
after removing the frame.
This basically ports bugs 1435566 and 1438467
2023-03-26 00:15:45 +01:00
Moonchild
eae71465d0
Merge pull request 'Don't discard event state mask when matching ::slotted() or :host arguments' ( #2174 ) from FranklinDM/UXP-contrib:work_css-host-slotted-retain-event-states into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2174
2023-03-24 12:18:15 +00:00
Job Bautista
19b76a68ac
Issue #324 - Follow-up: Remove more traces of *INTL_API.
...
The trace in Spidermonkey's old-configure is causing the MOZ_CONFIG_ICU function
to be called twice, which is not desirable as it can cause the MOZ_SHARED_ICU
check in build/autoconf/icu.m4 to fail and build an ICU data file even if we're
building ICU as a shared library.
2023-03-24 20:12:47 +08:00
FranklinDM
9365fbd8ad
Issue #2135 - Don't discard event state mask when matching ::slotted() or :host arguments
...
This should fix issues with selectors like :host(:hover) that continue to be matched although the cursor is no longer hovering over those elements.
2023-03-24 19:39:30 +08:00
Job Bautista
431f782f17
Issue #2165 - Follow-up: Always build ICU as shared lib in Windows.
2023-03-24 17:51:39 +08:00
Job Bautista
ee870812ff
Revert "Issue #2165 - Follow-up: No longer support bundling the ICU data file into packaging, fold it into the ICU shared library, and always build ICU shared."
...
This reverts commit 0c63f5a273 .
Building shared ICU is currently broken in non-Windows, so we need the option for now.
2023-03-24 17:45:16 +08:00
Moonchild
434379eb34
Issue #2161 - Ctrl + Enter should cause keypress event even though the
...
key combination doesn't input any character
Currently, we dispatch keypress event when Enter is pressed without
modifiers or only with the Shift key (line break).
However, other browsers dispatch keypress events for Ctrl + Enter also
even if it doesn't cause any text input.
So, we should fire keypress events for Ctrl + Enter, even in strict
keypress dispatching mode. Note that with other modifiers, it depends on
the browser and/or platform and we can't dispatch the event for
consistent behavior.
This means web developers shouldn't rely one keypress events to catch
Alt + Enter, Meta + Enter and two or more modifiers + Enter.
Based on BZ 1438133
Resolves #2161
2023-03-23 22:35:03 +01:00
Moonchild
2f3f8e13eb
Merge branch 'css-slotted-pseudo-rebased'
2023-03-23 12:46:34 +01:00
FranklinDM
ef7ff8da4b
Issue #1592 - Follow-up: Don't post a restyle event if restyleElement is null
...
This fixes a potential crash caused if restyleElement is null.
2023-03-23 12:18:04 +01:00
FranklinDM
2733585a3f
Issue #1592 - Part 10: Slot elements should restyle their parent on attribute changes
2023-03-23 12:18:04 +01:00
FranklinDM
039b67f6c6
Issue #1592 - Part 9: Post a restyle event after changing the slot of a slottable
2023-03-23 12:18:03 +01:00
FranklinDM
c0e6ba933e
Issue #1592 - Part 8: Test the assigned slot for type/class/ID/attribute instead of the slottable when matching ::slotted()
2023-03-23 12:18:02 +01:00
FranklinDM
4665c79582
Issue #1592 - Part 7: Slottables cannot be matched from the outer tree.
2023-03-23 12:18:02 +01:00
FranklinDM
7c82808510
Issue #1592 - Part 6: Allow pseudo-classes with a forgiving selector list argument to follow pseudo-elements
...
Pseudo-classes with a forgiving selector list argument are allowed to follow a pseudo-element, but must treat any selector that is not of the same type as invalid. It doesn't make any sense, but that's the behavior of other tainted browsers.
2023-03-23 12:18:01 +01:00
FranklinDM
c5cb2983e6
Issue #1592 - Part 5: Use flattened element tree when looking for a parent while matching ::slotted()
2023-03-23 12:18:01 +01:00
FranklinDM
9c5999c8bc
Issue #1592 - Part 4: Walk ::slotted()-containing rules for slottables
...
- Check against all selector parts and not the leftmost selector only for ::slotted()
- Walk rules for ::slotted() regardless if the shadow root is opened/closed
- Ensure that ::slotted() rules are walked in the right order
- Fix ::slotted inheritance from topmost shadow root
2023-03-23 12:18:00 +01:00
FranklinDM
8313fea7c5
Issue #1592 - Part 3: Ensure only tree-abiding pseudo-elements will follow ::slotted()
2023-03-23 12:17:59 +01:00
FranklinDM
5fc444a0b6
Issue #1592 - Part 2: Parse ::slotted() pseudo-element as if it were a pseudo-class
...
- Block slot elements from being matched by ::slotted
- Ensure ::slotted() is serialized as a pseudo-element
- Add pref to control whether the pseudo-class is enabled
2023-03-23 12:17:59 +01:00
FranklinDM
d2be38e92b
Issue #1592 - Part 1c: Pass SelectorParsingFlags as a reference
2023-03-23 12:17:58 +01:00
FranklinDM
fc5d7a94b7
Issue #1592 - Part 1b: Move <slot> UA rule to html.css
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1468127
2023-03-23 12:17:58 +01:00
FranklinDM
8206716e8d
Issue #1592 - Part 1a: Prevent crashing if a slot element was selected via DOM Inspector
2023-03-23 12:17:57 +01:00
Moonchild
376bae925b
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2023-03-23 01:57:44 +01:00
Moonchild
494ec06817
Merge pull request 'Follow-up: Fix :host matching from inside the shadow tree' ( #2169 ) from FranklinDM/UXP-contrib:work_css-host-in-shadow-tree-followup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2169
2023-03-23 00:33:59 +00:00
FranklinDM
ef8565458e
Issue #2061 - Follow-up: Silence compiler warnings for libjxl
2023-03-23 01:12:42 +01:00
Moonchild
537a5d447e
Issue #2171 - Skip over shadow nodes that don't have an owning node.
...
Resolves #2171
2023-03-23 00:29:13 +01:00
Moonchild
da24537414
Merge pull request 'Port ByteCodeEmitter helper classes' ( #2159 ) from martok/UXP-contrib:mr/bce-emitters into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2159
2023-03-22 16:20:08 +00:00
FranklinDM
9700f5557b
Issue #1593 - Follow-up: Fix :host matching from inside the shadow tree
...
Previously, we'd match :host despite the element having a different shadow root from the one that we currently have. Also, there's a test where :host should be blocked from matching if it is a descendant of an explicit universal selector.
2023-03-20 20:15:13 +08:00
Job Bautista
0c63f5a273
Issue #2165 - Follow-up: No longer support bundling the ICU data file into packaging, fold it into the ICU shared library, and always build ICU shared.
...
This removes two variables in the build system: MOZ_ICU_DATA_ARCHIVE and
MOZ_SHARED_ICU.
Per discussion in PR #2164 , it's now preferred to fold the ICU data into the new
shared library.
This effectively means --enable-shared-icu is no longer a thing. UXP apps must
update their packaging manifest to avoid breakage.
2023-03-19 10:55:00 +08:00
Moonchild
16baa04533
Revert "[widget] Linux GTK3: Detach accessible from moz_container before it's deleted"
...
This reverts commit 465a18f342 .
Resolves #2168
2023-03-18 19:57:19 +01:00
Job Bautista
eac3436960
Issue #2165 - Build ICU as a shared library if we're building Spidermonkey shared.
...
It seems that if we're going to enable JS_SHARED_LIBRARY, we need ICU to be a
shared library too in order to prevent code duplication in mozjs.dll bloating
it to a whopping 21 MB.
This unfortunately means we have to fold icudata back to icu itself. But since
icudata is still separated from libxul (which is what really matters for #1451 ),
I think this is a fair compromise.
Building ICU as shared is offered as an option via --enable-shared-icu. But
technically you really need --enable-shared-icu if you're going to use
--enable-shared-js. Unfortunately I can't make configure exit with an error if
MOZ_SHARED_ICU is not defined when JS_SHARED_LIBRARY is enabled, because options
are controlled by different configure scripts (icu is based on bash, while js is
based on python), and I have no idea how to pass MOZ_SHARED_ICU to js's
moz.configure.
Tag #62
2023-03-19 00:16:46 +08:00
Moonchild
09513970d8
Issue #2166 - Follow-up: Fix style nits.
2023-03-18 15:35:38 +01:00
Moonchild
1a19248860
Merge pull request 'Remove mozilla::AlignedStorage' ( #2167 ) from FranklinDM/UXP-contrib:work_remove-aligned-storage into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2167
2023-03-18 14:24:31 +00:00
Moonchild
df5696425e
Issue #2117 - Follow-up: Run precomplete cmd during package staging
...
We rely on this for all OSes except Mac where precomplete should not
be in the root (it uses Mozilla's fallback packaging that places it in
$RESPATH)
2023-03-17 22:10:59 +01:00
FranklinDM
d8a518b4db
Issue #2166 - Part 6: Remove mozilla::AlignedStorage
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1341951
2023-03-17 20:29:23 +08:00
FranklinDM
a343d564a6
Issue #2166 - Part 5c: Use override keyword for all virtual methods of Recover Instructions
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1341951
2023-03-17 20:29:22 +08:00
FranklinDM
5d6aca7e55
Issue #2166 - Part 5b: Replace RInstructionStorage copy by a cloneInto function on every RInstruction
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1341951
2023-03-17 20:29:22 +08:00
FranklinDM
705e2e17be
Issue #2166 - Part 5a: Use alignas/alignof inside RInstructionStorage
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1341951
2023-03-17 20:29:21 +08:00
FranklinDM
53adec5e96
Issue #2166 - Part 4: Use alignas/alignof to define Variant's internal raw storage
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
2023-03-17 20:29:20 +08:00
FranklinDM
88d2d5eef6
Issue #2166 - Part 3: Make tl::Min/Max variadic
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
2023-03-17 20:29:19 +08:00
FranklinDM
5e6a0efb65
Issue #2166 - Part 2: Use alignas/alignof in MaybeOneOf
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
2023-03-17 20:29:19 +08:00
FranklinDM
0c35e43441
Issue #2166 - Part 1: Use alignas/alignof for public JS::ProfilingFrameIterator's internal storage
...
... of a private wasm or JIT profiling frame iterator.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1338374
2023-03-17 20:29:18 +08:00
Moonchild
9477683481
Issue #1911 - Follow-up: Filter out illegal file extensions also.
...
We already did this for file names, just not extensions.
2023-03-16 17:14:07 +01:00
Moonchild
465a18f342
[widget] Linux GTK3: Detach accessible from moz_container before it's deleted
2023-03-16 16:49:56 +01:00
Moonchild
4435cfeeae
[GFX] Add some sanity checks and clamps to SurfaceData calculations.
2023-03-16 14:39:31 +01:00
Moonchild
8577fab815
No Issue - Ensure more OsiSpace
...
ensureOsiSpace(); was very much under-used. This adds more instances
where it makes sense to ensure Osi space before placing masm calls.
2023-03-16 13:38:26 +01:00
Job Bautista
972e0410ca
Issue #62 - Fix xul.dll link bustage related to JS::ubi::DominatorTree.
...
This is the one I don't understand how it fixed the bustage. Why is it needed
to remove JS_PUBLIC_API..? It would seem counter-intuitive, but it wasn't...
2023-03-16 14:02:16 +08:00
Job Bautista
b805d9da66
Issue #62 - Fix xul.dll link bustage relating to JSErrorNotes.
2023-03-16 14:02:16 +08:00
Job Bautista
948268ffde
Issue #62 - Fix xul.dll link bustage related to MovableCellHasher.
...
The unsafeSet method is based on Jon Coppeard's part 2 patch for Mozilla bug
1306008. This is needed because of the use of unsafeSet in rekey() of
MovableCellHasher<JS::Heap<T>>
2023-03-16 14:02:16 +08:00
Job Bautista
bddc8b630c
Issue #62 - Get --enable-shared-js and --enable-export-js working again, and fix link bustage related to ICU when doing shared lib
2023-03-16 14:02:16 +08:00
FranklinDM
68f456b5fd
Issue #2148 - Shrink Vector from (usually) four pointers in size to three
...
when no inline storage is used.
See Bug 1338374
2023-03-15 13:02:23 +01:00
FranklinDM
9475b959d7
Issue #2148 - Make Vector not use AlignedStorage for its inline element storage
...
See Bug 1338374 1/2
2023-03-15 13:01:21 +01:00
Job Bautista
17e261ae9b
Issue #2148 - Discard RegExpShared data tables when discarding regexp JIT code.
...
Based on Mozilla bug 1378736's part 2.
Should fix the double-free.
Follow-up for #2083
2023-03-15 13:00:37 +01:00
Job Bautista
1122d6cba6
Issue #2148 - Don't null out RegExpObject -> RegExpShared pointer on GC.
...
Follow-up for issue #2083 .
Taken from Mozilla bug 1378736.
2023-03-15 12:59:35 +01:00
Moonchild
79201ad741
Merge pull request 'Support for notarizing during DMG package.' ( #2163 ) from dbsoft/UXP:macnotarize into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2163
2023-03-15 11:50:34 +00:00
Martok
c3a35f75a2
Issue #2155 - Fix wrong assertion
...
(x) = function() {..} is an extremely sparsely documented way to prevent function name inference.
Modeled after how BytecodeEmitter::emitInitializer does it.
2023-03-15 10:29:12 +01:00
Martok
6bb4747ff3
Issue #2155 - Fix debug build
2023-03-14 23:28:13 +01:00
Brian Smith
26b3d4c151
Issue #2160 - Initial support for notarizing during DMG package.
...
Added --with-macbundle-idenity configure option to set a codesign identity.
If no identity is set or cross-compiling from Linux no codesigning will be
done. Currently doing a full deep bundle v2 sign, instead of limited v1.
2023-03-14 15:28:51 -05:00
Moonchild
31e7e7e66c
Merge pull request 'Fix all deprot in builtin/intl' ( #2162 ) from jobbautista9/UXP:deprot-hunt3 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2162
2023-03-14 16:30:59 +00:00
Job Bautista
396549c5ac
Issue #2046 - Follow-up: Fix deprot in builtin/intl
...
Missing a couple of includes.
Tag #80
2023-03-14 22:39:27 +08:00
Martok
0f87c37c5d
Issue #2155 - Remove now-unused functions
2023-03-13 00:37:54 +01:00
Martok
482ef6ac19
Issue #2155 - Fix BytecodeEmitter::emitArguments for our ParseNode tree
...
This resolves the differences in storage of call arguments between Mozilla's and our ParseNode tree.
2023-03-13 00:37:54 +01:00
Martok
b26511f287
Issue #2155 - Add PropOpEmitter, ElemOpEmitter, NameOpEmitter, CallOrNewEmitter
...
Attn: this plain patch port still contains issues caused by differences in the
ParseNode tree that will be fixed in the following commits.
Based-on: m-c 1466000/{7-10}
2023-03-13 00:37:54 +01:00
Martok
da908629c1
Issue #2155 - Refactor BytecodeEmitter in preparation for *Emitter work
...
This removed a bit of reduncancy and makes stack building easier to follow.
- Move call context handling from BytecodeEmitter::emitGetNameAtLocation to BytecodeEmitter::emitCalleeAndThis
- Add stack comments for prop and elem related methods in BytecodeEmitter
- Remove emitAtopOp with NameNode*
- Pass JSOp to BytecodeEmitter::emitAssignment (modified)
- Add BytecodeEmitter::emitGetFunctionThis variant with offset
Based-on: m-c 1466000/{2-6}
2023-03-13 00:37:53 +01:00
Martok
6a6777e73e
Issue #2155 - Simplify BytecodeEmitter::isRestParameter
2023-03-13 00:37:53 +01:00
Martok
c7dff3002f
Issue #2155 - Split TDZCheckCache, IfEmitter/InternalIfEmitter, JumpList from BytecodeEmitter
2023-03-13 00:37:53 +01:00
FranklinDM
9f009467d8
No issue - Make content-type on JAR channels behave the same as HTTP channels
...
This ensures that the content type is also determined when opening JAR channels both synchronously and asynchronously. Current m-c modifies only the async portion, while the mentioned commit below modifies only the sync portion. This commit does it for both.
Partially based on 425677ada7 and bug 1757604.
2023-03-12 20:19:03 +01:00
Moonchild
d3d61f478c
Merge pull request 'Fix some deprots in js' ( #2156 ) from jobbautista9/UXP:deprot-hunt2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2156
2023-03-12 16:49:59 +00:00
Moonchild
5ed6e2e676
Merge pull request 'Use pre-C++17 static_assert() by adding reason for assert.' ( #2157 ) from dbsoft/UXP:fix_static_assert into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2157
2023-03-12 16:47:59 +00:00
Brian Smith
3089da7aeb
No issue - Use pre-C++17 static_assert() by adding reason for assert.
...
This fixes warnings with clang and build failures with Visual C versions prior to 2022.
2023-03-12 09:20:15 -05:00
Job Bautista
26201f3795
Issue #80 - Move implementation of CPOWTimer::CPOWTimer to header.
...
Fixes link bustage in xul.dll
Inline functions must be implemented in the header.
2023-03-12 22:04:36 +08:00
Job Bautista
4ca103d1b8
Issue #80 - Fix deprot in js/xpconnect.
...
I think we never deunified js/xpconnect before. But if we're going to ever build
this tree deunified in the future, there's nothing stopping us now!
2023-03-12 20:26:26 +08:00
Job Bautista
1d594e9b3e
Issue #80 - Fix deprot in js/ipc.
...
I think we never deunified js/ipc before. But if we're going to build this tree
deunified ever in the future, there's nothing stopping us now!
2023-03-12 20:26:26 +08:00
Job Bautista
b29ef13cd6
Issue #2046 - Follow-up: Fix deprot in RelativeTimeFormat.
...
Found while building js/src deunified, with the exception of builtin/intl.
Tag #80 .
2023-03-12 20:26:25 +08:00
Moonchild
16c5b95b91
Bump Goanna milestone to 6.1
2023-03-12 10:54:48 +01:00
Moonchild
e848bea43f
Merge pull request 'Modify :not() selector to accept a complex selector list' ( #2151 ) from FranklinDM/UXP-contrib:work_css-not-selector-list-support into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2151
2023-03-11 17:57:09 +00:00
Moonchild
4c4bc3ca0f
Merge pull request 'Destroy the host frame and restyle when there are content changes' ( #2152 ) from FranklinDM/UXP-contrib:work_wc-content-change-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2152
2023-03-11 07:08:38 +00:00
Moonchild
014e4b6e7f
Merge pull request 'Follow-up: Ensure empty selector lists aren't iterated when serialized' ( #2154 ) from FranklinDM/UXP-contrib:work_css-empty-selector-list-serialization-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2154
2023-03-11 07:02:24 +00:00
FranklinDM
ac589d72a2
Issue #2078 - Follow-up: Ensure empty selector lists aren't iterated when serialized
...
Really odd that this wasn't caught/doesn't cause any issues on MSVC/unoptimized GCC. Must've been luck, I guess.
2023-03-11 12:09:53 +08:00
FranklinDM
14746314c4
Issue #2135 - Destroy the host frame and restyle when there are content changes
...
This is likely inefficient, but I haven't found a way other than this to ensure that the host frame is updated if the inserted/removed content isn't slotted. I'm assuming that Firefox is handling this somewhere else (and may have been even moved to Stylo), but was mentioned in an m-c bug we haven't seen yet. In fact, this is actually similar to how we handled elements passed to ContentInserted before landing e31ed5b074 .
2023-03-11 00:04:53 +08:00
FranklinDM
18c6aa0252
Issue #2137 - Part 4: Fix namespace regression
2023-03-10 19:14:26 +08:00
FranklinDM
40c9c92116
Issue #2137 - Part 3: Don't always use the internal pseudo-class for handling negations
2023-03-10 19:14:25 +08:00
FranklinDM
e9a1859915
Issue #2137 - Part 2: Implement SelectorParsingFlags and use it to pass info around
2023-03-10 19:14:25 +08:00
FranklinDM
de225cca0d
Issue #2137 - Part 1: Modify :not() selector to accept a complex selector list
2023-03-10 19:14:24 +08:00
Moonchild
476dec2351
Issue #2135 - Follow-up: Check for aElement not being null
...
This was introduced to Make <link rel="stylesheet"> work in shadow trees.
eElement can, however, be `null` here and if so, it would crash.
2023-03-10 11:44:28 +01:00
Moonchild
1affd523ec
Merge pull request 'Root the RegExpShared in RegExpMacroAssembler.' ( #2150 ) from jobbautista9/UXP:2148-rootregexpshared into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2150
2023-03-09 09:02:10 +00:00
Job Bautista
21668cd7d3
Issue #2148 - Root the RegExpShared in RegExpMacroAssembler.
...
Based on Mozilla bug 1355050.
2023-03-09 14:52:14 +08:00
Moonchild
713ada0ccf
Merge pull request 'Follow-up: Ensure document is not null in nsImageLoadingContent::BindToTree' ( #2147 ) from FranklinDM/UXP-contrib:work_wc-image-followup into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2147
2023-03-08 08:28:08 +00:00
FranklinDM
a4e18703e9
Issue #2135 - Follow-up: Ensure document is not null in nsImageLoadingContent::BindToTree
2023-03-08 12:14:27 +08:00
Moonchild
9fafaedafb
Issue #2146 - Remove nsChannelClassifier/nsIURIClassifier
...
Resolves #2146
2023-03-08 01:19:47 +01:00
Moonchild
e923f5aacd
Merge branch 'trackingprotection-cleanup'
2023-03-07 17:38:18 +01:00
Moonchild
3f7b0b7164
Issue #1693 - Follow-up: restore exported NSS symbols for mailnews.
...
This restores the erroneously-removed CMS* symbol exports, as well as a
few NSS functions that are likely to be used or have utility value in
applications.
2023-03-07 17:36:12 +01:00
Moonchild
dd32c96ac6
Issue #2133 - Part 4: Remove TrackingProtection var in classifier.
2023-03-07 11:35:36 +01:00
Moonchild
71a3487554
Issue #2133 - Part 3: Remove TrackingProtection plumbing
2023-03-07 01:37:28 +01:00
Moonchild
517ab728ac
Issue #2133 - Part 2: Remove nsIPrivateBrowsingTrackingProtectionWhitelist
...
This removes the in-memory whitelist for PB mode.
2023-03-07 00:01:58 +01:00
Moonchild
4d38cb76c2
Issue #2133 - Part 1: Remove private browsing TP pref.
...
This removes selectively enabling TP mode in PB windows.
2023-03-06 22:37:16 +01:00
Moonchild
98e96503e6
Issue #1693 - Follow-up: restore exported NSS symbol for debug builds.
...
Tag #1382
2023-03-06 15:18:25 +01:00
Moonchild
a75c4164e1
Merge pull request 'Implement CSS env() Environment Variables' ( #2144 ) from martok/UXP-contrib:mr/css-env2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2144
2023-03-06 10:56:05 +00:00
Martok
958b02c358
Issue #2143 - Implement CSS env() Environment Variables
2023-03-05 23:06:55 +01:00
Moonchild
5b9f0fd796
Merge pull request 'Implement CSS inset property' ( #2140 ) from FranklinDM/UXP-contrib:work_css-inset-property into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2140
2023-03-05 21:55:21 +00:00
Moonchild
6cdb875cc5
Merge pull request 'Incremental WebComponents merge' ( #2139 ) from FranklinDM/UXP-contrib:work_wc-incremental-1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2139
2023-03-05 20:53:16 +00:00
FranklinDM
f7e1c71930
Issue #2136 - Part 2: Regenerate devtools CSS database
2023-03-05 07:54:18 +08:00
FranklinDM
3e37869990
Issue #2136 - Part 1: Implement CSS inset property
2023-03-05 07:54:11 +08:00
FranklinDM
ce47a81c57
Issue #2135 - Follow-up: Fix potential crash if shadow root is null
2023-03-05 07:41:07 +08:00
Moonchild
e7cffa5316
Issue #2046 - correct debug assert for intl_FormatRelativeTime()
...
Probably fallout from the refactoring in #2109
Tag #1382
2023-03-04 20:42:22 +01:00
FranklinDM
50124e9ea6
Issue #2135 - Follow-up: Fix typo
2023-03-04 23:48:07 +08:00
FranklinDM
d8befb4395
Issue #2135 - Follow-up: Fix crash for passing nullptr as an argument to the aNodesWithProperties parameter
2023-03-04 23:45:46 +08:00
Moonchild
d38d687150
Merge pull request 'Update NSPR to 4.35 and NSS to 3.79.4' ( #2138 ) from jobbautista9/UXP:1693-nss-nspr-3_79_4-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2138
2023-03-04 13:59:11 +00:00
FranklinDM
cd76bf5aa1
Issue #2135 - Bug 1433669/Part 2: Flush the document instead of the shell in ContentEventHandler
...
* Unlike the original patch, I went with just getting a reference to the document rather than replacing mPresShell with mDocument.
2023-03-04 21:32:19 +08:00
FranklinDM
851e691089
Issue #2135 - Bug 1433669/Part 1: Remove dead function
2023-03-04 21:32:18 +08:00
FranklinDM
055ccba3c3
Issue #2135 - Bug 1419803: Use GetComposedDoc instead of GetUncomposedDoc in ContentEventHandler
2023-03-04 21:32:18 +08:00
FranklinDM
6cc4505e14
Issue #2135 - Bug 1425864: Ensure printing documents which have shadow DOM works
2023-03-04 21:32:17 +08:00
FranklinDM
8caa472402
Issue #2135 - Bug 1393806/Part 3: Change dom::ReparentWrapper to take an ErrorResult
...
* Bug 1393806 (Part 4) landed as part of Issue #1118 .
* Account for ReparentWrappersInSubtree, introduced in 1466991
2023-03-04 21:32:17 +08:00
FranklinDM
f9ee95f207
Issue #2135 - Bug 1393806/Part 2: Modify AdoptNodeIntoOwnerDoc to use the non-XPCOM version of document.AdoptNode
...
* Unlike the original patch, this does not remove the XPCOM version of Document.adoptNode/importNode to avoid breaking other applications that might be using those functions.
2023-03-04 21:32:16 +08:00
FranklinDM
88b54a8b67
Issue #2135 - Bug 1393806/Part 1: Change nsNodeUtils cloning/adopting stuff to use an ErrorResult for errors
...
This will allow us to propagate out more informative errors in some cases.
2023-03-04 21:32:16 +08:00
FranklinDM
744da8ddb3
Issue #2135 - Bug 1414692: Adopt shadow roots when adopting a shadow host across documents
2023-03-04 21:32:15 +08:00
FranklinDM
6a1b4a9e3a
Issue #2135 - Bug 1329877: Optimize AncestorFilter usage in lazy frame construction
2023-03-04 21:32:15 +08:00
FranklinDM
7669ddb4b7
Issue #2135 - Bug 1518795: Properly track responsive content in a connected ShadowRoot
2023-03-04 21:32:14 +08:00
FranklinDM
8edbed3761
Issue #2135 - Implement sequential focus navigation for shadow DOM
...
This covers the following:
Bug 1413834 Implement sequential focus navigation regarding shadow DOM
> Bug 1430020 Let sequential focus navigation in shadow DOM enter iframes
> Bug 1430701 Handle focus navigation on frameless shadow hosts in light DOM
> Bug 1430692 Handle focus navigation on NAC in shadow DOM
> Bug 1453693 Ensure sequential focus navigation works in Shadow DOM and add some tests
> Bug 1466581 Handle sequential focus also in nested shadow DOM
> Bug 1481079 Shadow DOM hosts should be focusable
> Bug 1507101 Use StyleChildrenIterator instead of custom frame tree walking code to handle NAC inside shadow dom
> Bug 1512043 Ensure traverse all nodes owned by the top level shadow host
> Bug 1512457 Fix various cases that focus navigation doesn't work well with frameless shadow host
> Bug 1513141 Really minor nsFocusManager cleanup
> Bug 1519090 Keyboard focus is trapped inside <slot>
> Bug 1528034 Make IsHostOrSlot null-safe
> Bug 1544826 Wrong focus navigation behavior when the root element is a shadow root
>> Bug 1500273 Ensure backward focus navigation works in Shadow DOM
2023-03-04 21:32:14 +08:00
FranklinDM
125b8ae43c
Issue #2135 - Bug 1455891/Part 1: Improve StyleChildrenIterator
2023-03-04 21:32:13 +08:00
FranklinDM
59dbe81c92
Issue #2135 - Bug 1410578: Make <link rel="stylesheet"> work in shadow trees
2023-03-04 21:32:13 +08:00
FranklinDM
00c570d27b
Issue #2135 - Bug 1453789: Remove Element.createShadowRoot
2023-03-04 21:32:12 +08:00
FranklinDM
2fbefbbc58
Issue #2135 - Bug 1066965: Make contentEditable and spellchecking to work in Shadow DOM
2023-03-04 21:32:12 +08:00
FranklinDM
59b4e5ceb2
Issue #2135 - Bug 1356496: Don't use nsIDOM* in ConfirmSelectionInBody
2023-03-04 21:32:11 +08:00
FranklinDM
6ffdfa793e
Issue #2135 - Bug 1430301: Implement ShadowRoot.elementFromPoint/elementsFromPoint
2023-03-04 21:32:11 +08:00
FranklinDM
fb9484caa3
Issue #2135 - Bug 1438129: Remove ShadowRoot.applyAuthorStyles.
2023-03-04 21:32:10 +08:00
FranklinDM
4390724666
Issue #2135 - Bug 1323815: FocusEvent.relatedTarget should work consistently with MouseEvent.relatedTarget
...
* This incorporates changes from Bug 1413102.
2023-03-04 21:32:10 +08:00
FranklinDM
a69e82b0d7
Issue #2135 - Bug 1413102 (Follow-up): Ignore current target because of shadow DOM retargeting
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1466581
2023-03-04 21:32:10 +08:00
FranklinDM
3d82baddf3
Issue #2135 - Bug 1413102: Ensure Shadow DOM boundaries are dealt properly in event handling
...
* RE: BasicEvents.h - our WidgetEvent is not movable (yet), so the change that requires that wasn't included.
* Parts of this use code that was introduced in bug 1427511. For now, they were replaced with their equivalents.
2023-03-04 21:32:09 +08:00
FranklinDM
60d420fe71
Issue #2135 - Bug 1430305: Implement ShadowRoot.fullscreenElement
2023-03-04 21:32:09 +08:00
FranklinDM
9e2c43705b
Issue #2135 - Bug 1430303: Implement ShadowRoot.pointerLockElement
2023-03-04 21:32:08 +08:00
Job Bautista
f0e4bf4035
Issue #1693 - Update old-configure and force clobber
...
NSS 3.79.4 and NSPR 4.35 upgrades require a clobber.
2023-03-04 13:58:00 +08:00
Job Bautista
1c811a1476
Issue #1693 - Update NSS symbols file for 3.79.4 upgrade
...
Based on latest SeaMonkey's security/nss.symbols, as well as some
unresolved external symbols I found myself.
2023-03-04 13:57:07 +08:00
Job Bautista
43c816cd19
Issue #1693 - Update NSS to 3.79.4
2023-03-04 13:13:49 +08:00
Job Bautista
409d3e66de
Issue #1693 - Update NSPR to 4.35
2023-03-04 13:04:26 +08:00
Job Bautista
c7aa6e40f6
Issue #1693 - Use scoped enums for IDBTransaction.
...
Based on a patch from Mozilla bug 1598164.
Needed due to identifier collision between NSS and IDBTransaction.
Co-authored by: Simon Giesecke <simon.giesecke@gmail.com >
Co-authored by: Matt A. Tobin <email@mattatobin.com >
2023-03-04 13:02:13 +08:00
Moonchild
8744033a34
Issue #1361 - Enable WebComponents' getRootNode by default.
...
Since we're enabling WebComponents, we should enable this too.
TODO: merge the two relevant prefs.
2023-03-01 23:49:34 +01:00
Moonchild
4b7f6babe3
Merge pull request 'CE define must upgrade elements in the shadow-including tree order' ( #2134 ) from FranklinDM/UXP-contrib:work_wc-define-upgrade-in-shadow-including-tree-order into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2134
2023-02-28 08:32:23 +00:00
FranklinDM
059af6d121
Issue #1375 - Part 2: customElements.define must upgrade custom element in shadow-including tree order
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1326028
2023-02-28 07:48:27 +08:00
FranklinDM
9e2751484a
Issue #1375 - Part 1: Allow moving a reference into nsInterfaceHashtable
2023-02-28 07:47:27 +08:00
Moonchild
cd86d9ce3f
No Issue - Remove speech recognition pref and enable TTS API by default.
...
Speech recognition was removed a while back. The pref is just leftover.
Having the TTS API available will provide some accessibility benefits
for users, so flip that on while we're here.
2023-02-28 00:42:11 +01:00
Moonchild
6da7d30e76
No Issue - Enable MSE for WebM on all platforms.
...
WebM is certainly mature enough to have hooked into MSE (default on
Linux and other for years now).
2023-02-28 00:40:26 +01:00
Moonchild
953a2eab75
Issue #1361 - Enable WebComponents by default in the platform.
2023-02-28 00:38:44 +01:00
Moonchild
f3c063a868
Issue #2131 - Remove image.webp.enabled preference
2023-02-27 19:27:19 +01:00
Moonchild
41448d401d
Merge pull request 'Remove shadow tree hacks in the frame constructor and use correct insertion point during reconstruction' ( #2130 ) from FranklinDM/UXP-contrib:work_sdom-1404789 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2130
2023-02-27 09:20:32 +00:00
FranklinDM
679e53697c
Issue #1375 - Follow-up: Get the insertion point right when reconstructing direct children of a shadow root
...
This should've been changed alongside bug 1404789 when it landed.
2023-02-27 13:15:43 +08:00
FranklinDM
047e44d5c7
Issue #1375 - Follow-up: Remove shadow tree hacks in the frame constructor
...
This should've been removed alongside bug 1404789 when it landed.
2023-02-27 13:15:37 +08:00
Moonchild
eff173129a
Merge branch 'full-range-video'
2023-02-26 21:15:12 +01:00
Moonchild
a578a28dd8
Merge pull request 'RGB video playback' ( #2125 ) from u3shit/UXP:gbrp-video into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2125
2023-02-26 20:14:03 +00:00
u3shit
c64fe52b28
Issue #2101 - Part 7: Add color range support on GPUs
2023-02-26 19:42:14 +01:00
u3shit
338cbff242
Issue #2101 - Part 6: Plumbing of ColorRange between video decoders and YUV convert
2023-02-26 19:42:04 +01:00
u3shit
c03bb68372
Issue #2101 - Part 5: Add ColorRange support to video decoders
2023-02-26 19:41:56 +01:00
u3shit
e736dc2d34
Issue #2101 - Part 4: Add color range support to gfx/ycbcr
...
Loosely based on current mozilla code
https://hg.mozilla.org/mozilla-central/file/25a8668d92431d469b443f0f2030328bab754aea/gfx/ycbcr/yuv_convert.cpp
2023-02-26 19:41:47 +01:00
u3shit
8ed007c4e8
Issue #2101 - Part 3: Update libyuv
...
Updated to version 1861, git revision 88b050f337cc0ca2a51800fe7bf4737222c87344 from
https://chromium.googlesource.com/libyuv/libyuv/
2023-02-26 19:41:38 +01:00
u3shit
466b773179
Issue #2101 - Part 2: Use stdint.h types instead of uint8 and friends
...
Required for upcoming libyuv update
2023-02-26 19:41:30 +01:00
u3shit
092ff20c60
Issue #2101 - Part 1: Add mColorRange info to YCbCrBuffer
...
https://hg.mozilla.org/integration/autoland/rev/6f4c7904cda8
2023-02-26 19:41:20 +01:00
u3shit
f6e1f851d0
Issue #2118 - Part 2: Add support for Identity YUVColorSpace
...
https://hg.mozilla.org/mozilla-central/rev/be342c90755d11551623362f2058c0326f63bbb3
2023-02-26 13:04:53 +01:00
u3shit
98fef024cd
Issue #2118 - Part 1: Update gfxUtils YuvColorMatrix functions to match upstream mozilla code more closely.
...
https://hg.mozilla.org/mozilla-central/file/4fba5295dc19f9d2f5d065ba502a44d8f2dc9e85/gfx/thebes/gfxUtils.cpp#l1246
2023-02-26 13:04:53 +01:00
Moonchild
c47d20f3f3
Merge pull request 'Fix HTML5 parser behavior when looking for custom elements' ( #2129 ) from FranklinDM/UXP-contrib:work_wc-fix-parser-for-custom-elements into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2129
2023-02-26 10:20:48 +00:00
Moonchild
3e108a2c4e
Merge pull request 'Fix :host selector matching' ( #2128 ) from FranklinDM/UXP-contrib:work_css-fix-host-selector-matching into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2128
2023-02-26 10:16:24 +00:00
Moonchild
e3275643e2
Merge pull request 'Remove assertion that GetPreEffectsVisualOverflowRect is called only by frames whose parent is an anonymous block' ( #2127 ) from FranklinDM/UXP-contrib:work_css-remove-svg-frame-assertion into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2127
2023-02-26 10:14:07 +00:00
FranklinDM
6c2fef44cf
Issue #1344 - (Parser: C++) Don't reset containsHyphen value after finding one
2023-02-26 16:19:09 +08:00
FranklinDM
acbce95aa3
Issue #1344 - (Parser: Java) Don't reset containsHyphen value after finding one
2023-02-26 16:19:02 +08:00
FranklinDM
468a37eab8
Issue #1593 - Follow-up: Fix :host selector matching
...
Previously, we would match `:host` if:
(a) we don't have any arguments and our parent is the shadow root, or;
(b) if any of the arguments match, then reject if we don't have a containing shadow
Revised, we would match `:host` if:
(Preconditions) The element must have a shadow root, the selector must not have any feature selectors, and it is not blocked from matching `:host` (e.g. .matches outside of the shadow root context)
(a) The selector does not have any arguments, or;
(b) It matches any of its arguments in the functional part of the pseudo-class
With this, we now pass these tests that were previously failing:
http://wpt.live/css/css-scoping/css-scoping-shadow-host-rule.html
http://wpt.live/css/css-scoping/host-descendant-002.html
http://wpt.live/css/css-scoping/host-multiple-001.html
Improved (1 less red box):
http://wpt.live/css/css-scoping/css-scoping-shadow-host-namespace.html
2023-02-26 01:32:13 +08:00
FranklinDM
9d7d704523
Issue #1382 - Part 2: Add crash test
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=842114
2023-02-25 11:27:54 +08:00
FranklinDM
a28ce48a16
Issue #1382 - Part 1: Remove assertion that GetPreEffectsVisualOverflowRect is called only by frames whose parent is an anonymous block
...
This is always hit if an SVG effect is applied on other frame types.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1340257
2023-02-25 11:27:53 +08:00
Moonchild
630e34a966
Merge pull request 'Cleanup Mac DMG packaging, better naming and remove extra precomplete file.' ( #2123 ) from dbsoft/UXP:Mac2117 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2123
2023-02-24 13:33:54 +00:00
Moonchild
fc408bf1e2
Merge pull request 'Propagate combinator restriction to :is()/:where()' ( #2122 ) from FranklinDM/UXP-contrib:work_css-propagate-combinator-restriction into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2122
2023-02-23 09:40:56 +00:00
Moonchild
3a2adcff71
Merge pull request 'Move Has* function definition out of the header file for consistency' ( #2121 ) from FranklinDM/UXP-contrib:work_css-pseudoclass-funcdef-move into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2121
2023-02-23 09:19:20 +00:00
Moonchild
dabadd700c
Issue #2046 - Follow-up: Fix debug assert using old chars definition.
2023-02-22 22:31:24 +01:00
FranklinDM
826464c80b
Issue #2078 - Follow-up: Propagate combinator restriction to :is()/:where()
...
Based on spec discussion: https://github.com/w3c/csswg-drafts/issues/5093
2023-02-22 14:00:49 +08:00
FranklinDM
f17feba05f
Issue #2078 - Follow-up: aPreventComplexSelectors should be passed
2023-02-22 14:00:49 +08:00
FranklinDM
4493017fd8
Issue #2078 - Follow-up: Move isForgiving check to ParsePseudoClassWithSelectorListArg
2023-02-22 14:00:43 +08:00
FranklinDM
bae06ce171
No issue - Move Has* function definition out of the header file for consistency
2023-02-22 13:51:53 +08:00
Moonchild
f2ef28d09c
Merge pull request 'Improve :host and :host-context matching' ( #2120 ) from FranklinDM/UXP-contrib:work_css-host-matching-fixes into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2120
2023-02-21 22:56:39 +00:00
Moonchild
b9f3a03a5f
Merge pull request 'Ensure :host() and :host-context() are given proper weights' ( #2119 ) from FranklinDM/UXP-contrib:work_css-host-and-host-context-specificity into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2119
2023-02-21 22:55:35 +00:00
Moonchild
5b21c547de
[DOM] WebCrypto: Check decoded key type before using it.
...
Just in case someone forces the wrong key type and misuses WebCrypto.
It won't be usable anyway so better to throw.
2023-02-21 21:07:04 +01:00
Moonchild
ee7201bbb4
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2023-02-21 20:29:51 +01:00
Moonchild
b2af611dc1
No issue - Refactor FindErrorInstanceOrPrototype
...
The logic here wasn't very transparent or easy to follow.
Doing a positive check to set the result instead of defaulting to it
also potentially prevents issues.
2023-02-21 20:29:35 +01:00
FranklinDM
e0226ccae6
Issue #1593 - Follow-up: Accept only a single selector in the argument of :host/:host-context
...
Current spec says these two pseudo-classes accept only a single compound selector:
:host( <compound-selector> )
:host-context( <compound-selector> )
2023-02-21 22:50:18 +08:00
FranklinDM
9c1d44f5f6
Issue #1593 - Follow-up: Copy mIsRelevantLink value over rather than calling IsLink
...
Calling IsLink ignores whatever state we have for aTreeMatchContext and will trigger an assertion if aTreeMatchContext.mForStyling is false. This also adds a comment about what that line effectively does.
2023-02-21 22:50:18 +08:00
FranklinDM
ab5a651d55
Issue #1593 - Follow-up: :host() should not automatically match if we have a non-empty selector list
2023-02-21 22:50:17 +08:00
FranklinDM
ae59eb00e5
Issue #1823 - Ensure :host() and :host-context() are given proper weights
2023-02-21 22:46:04 +08:00
Moonchild
9d9d93381e
Merge pull request 'Implement :is() and :where() CSS pseudo-classes' ( #2110 ) from FranklinDM/UXP-contrib:work_css-is-where into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2110
2023-02-21 12:31:17 +00:00
athenian200
d022966201
Merge pull request 'MailNews: Re-check availability of OAuth2 when hostname fields modified.' ( #2052 ) from blu.256/UXP:fix/mailnews/oauth-custom-domain into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2052
2023-02-21 06:12:19 +00:00
Brian Smith
c2ed566b06
Issue #2117 - Part 2 - Revert "Follow up to d0eee8f01 - Run precomplete cmd during package staging"
...
This reverts commit c622e988fe .
2023-02-20 10:17:49 -06:00
Brian Smith
2f5798b5db
Issue #2117 - Part 1 - Update Mac DMG platform names to intel64 for Intel and arm64 for Apple Silicon.
2023-02-20 10:12:47 -06:00
FranklinDM
31c074ce15
Issue #2078 - Part 6: Replace empty list head with the next non-empty list for forgiving selector lists
...
What happens here if aListHead is an empty selector list:
(1) next selector group is parsed and continues to the next iteration if it's empty or invalid
(2) if we're a forgiving selector list and aListHead is empty, replace it with the selector group that we've just parsed
(3) step 1 ignores invalid/empty, so we assert that step 2 should never have an empty selector list
2023-02-20 23:36:28 +08:00
FranklinDM
f19504608e
Issue #2078 - Part 5: Ensure :is() and :where() are given proper weights
2023-02-20 23:36:27 +08:00
FranklinDM
adc21f14fa
Issue #2078 - Part 4: Unify selector list matching
...
This should allow pseudo-classes that accept selector lists to properly handle complex selectors. `:visited` is also matched inside selector lists.
A previous iteration of this commit had incorrect matching behavior when called from `RestrictedSelectorListMatches`.
2023-02-20 23:36:26 +08:00
FranklinDM
828c8cc46f
Issue #2078 - Part 3: Rename nsCSSRuleProcessor::SelectorListMatches to RestrictedSelectorListMatches
...
This is in preparation for merging the logic of RestrictedSelectorListMatches and AnySelectorInArgListMatches.
2023-02-20 23:35:55 +08:00
FranklinDM
bc399f7871
Issue #2078 - Part 2: Rename nsPseudoClassList->u.mSelectors to mSelectorList
...
This makes it clear that we're accessing a selector list (nsCSSSelectorList), which is different from the selectors (nsCSSSelector) contained inside a selector list. Previously, both were confusingly referred to as mSelectors.
2023-02-20 23:35:54 +08:00
FranklinDM
024b7500d1
Issue #2078 - Part 1: Update CSS rule processor to handle :is() and :where() CSS pseudo-classes
...
This modifies selector list parsing to accommodate being "forgiving". Aliases for the :is selector's former names were also included. Note that the older and prefixed variant `-moz-any` remains unforgiving.
2023-02-20 23:35:47 +08:00
Moonchild
9b1b294e29
Merge pull request 'Improve fallback handling with mach clobber python command' ( #2116 ) from FranklinDM/UXP-contrib:work_python-clobber-fallback into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2116
2023-02-20 12:24:04 +00:00
Moonchild
33bc5535f2
Merge pull request 'Annotate crash with database name when storage connection not closed' ( #2115 ) from FranklinDM/UXP-contrib:work_js-annotate-crash-with-db-name into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2115
2023-02-20 12:09:47 +00:00
Moonchild
3076df399c
Merge pull request 'Fix invalid assert for decoder type if JXL is not built on debug builds' ( #2114 ) from FranklinDM/UXP-contrib:work_jxl-assert-fix-1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2114
2023-02-20 11:12:10 +00:00
Moonchild
aa43190b9a
Merge pull request 'Split monolithic Intl.* into separate files' ( #2109 ) from martok/UXP-contrib:mr/intl-split into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2109
2023-02-20 11:07:49 +00:00
FranklinDM
ae476cc42c
No issue - Improve fallback handling and resolve PATH issues with python clobber command
2023-02-20 17:32:40 +08:00
FranklinDM
a434994229
Issue #1382 - Annotate crash with database name when storage connection not closed
...
Reported on https://bugzilla.mozilla.org/show_bug.cgi?id=1384036
This was fixed with an unrelated issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1372823
2023-02-20 17:25:09 +08:00
FranklinDM
8d980914af
Issue #1382 - Fix invalid assert for decoder type if JXL is not built on debug builds
2023-02-20 17:22:16 +08:00
Moonchild
97f69387f4
Merge pull request 'Implement CSSStyleRule.selectorText setter' ( #2113 ) from FranklinDM/UXP-contrib:work_css-stylerule-selectortext-setter into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2113
2023-02-20 08:31:46 +00:00
FranklinDM
8d6c043b89
Issue #2111 - Implement CSSStyleRule.selectorText setter
...
Unlike the original patch, this copies Chrome behavior: ignores invalid values of selectorText without any console log.
Partially based on https://bugzilla.mozilla.org/show_bug.cgi?id=37468
2023-02-20 12:56:39 +08:00
Moonchild
41bab244fc
Force clobber
2023-02-19 17:53:21 +01:00
Moonchild
fb73c3aa3b
[NSS] Update NSS to 3.52.9 to pick up fixes.
2023-02-19 15:26:44 +01:00
Moonchild
078a424cf3
[DOM] Check whether module load request was already cancelled when a load fails
2023-02-19 13:10:29 +01:00
Moonchild
576ac835f0
[widget] Properly test for and handle errors in target-surface creation
...
and mapping.
2023-02-19 12:08:17 +01:00
Martok
ac4240f055
Issue #2046 - Move a bunch of functions in builtin/intl/CommonFunctions.js into more-specific files, where those functions are only used in a single more-specific file
2023-02-17 00:21:40 +01:00
Martok
233feee823
Issue #2046 - Move builtin/Intl.js (which now contains only shared functionality) to builtin/intl/CommonFunctions.js
2023-02-17 00:07:06 +01:00
Martok
df8d3c4b0a
Issue #2046 - Move Intl.Collator self-hosted code to a new builtin/intl/Collator.js file
2023-02-17 00:01:59 +01:00
Martok
d3abfaff82
Issue #2046 - Move Intl.NumberFormat self-hosted code to a new builtin/intl/NumberFormat.js file
2023-02-17 00:00:36 +01:00
Martok
5cf6aa9065
Issue #2046 - Move Intl.DateTimeFormat self-hosted code to a new builtin/intl/DateTimeFormat.js file
2023-02-17 00:00:21 +01:00
Martok
1491d55375
Issue #2046 - Move Intl.PluralRules self-hosted code to a new builtin/intl/PluralRules.js file
2023-02-16 23:56:35 +01:00
Martok
f53901c567
Issue #2046 - Move Intl.RelativeTimeFormat self-hosted code to a new builtin/intl/RelativeTimeFormat.js file
2023-02-16 23:55:05 +01:00
Martok
a63ea3fdfb
Issue #2046 - Move the self-hosting of non-constructor properties of Intl to a new builtin/intl/IntlObject.js file
2023-02-16 23:53:01 +01:00
Martok
fe7e00d47f
Issue #2046 - Move various generated files from builtin/Intl* to builtin/intl/*, and add "Generated" to their names for clarity
2023-02-16 23:42:45 +01:00
Martok
face1e6e9b
Issue #2046 - Move builtin/Intl.* to builtin/intl/IntlObject.*
2023-02-16 22:41:00 +01:00
Martok
22b189727f
Issue #2046 - Trim builtin/Intl.*'s #include set down to what is required for Intl itself
2023-02-16 22:24:52 +01:00
Martok
9ad97da85b
Issue #2046 - Move Intl.RelativeTimeFormat functionality into builtin/intl/RelativeTimeFormat.*
2023-02-16 21:26:50 +01:00
Martok
5f9d4f115e
Issue #2046 - Move Intl.PluralRules functionality into builtin/intl/PluralRules.*
2023-02-16 01:33:43 +01:00
Martok
29e2547f26
Issue #2046 - Move Intl.DateTimeFormat functionality into builtin/intl/DateTimeFormat.*
2023-02-16 00:14:24 +01:00
Martok
24f8c4f052
Issue #2046 - Move SharedIntlData into its own builtin/intl/SharedIntlData.* files so the world doesn't have to import all shared Intl functionality.
2023-02-15 22:58:28 +01:00
Martok
52821c2e85
Issue #2046 - Move Intl.Collator functionality into builtin/intl/Collator.*
2023-02-15 22:32:08 +01:00
Martok
2b0f6aea16
Issue #2046 - Move NewUNumberFormatForPluralRules next to its only use
2023-02-15 22:32:07 +01:00
Martok
31adccdffc
Issue #2046 - Move Intl.NumberFormat functionality into builtin/intl/NumberFormat.*
2023-02-15 22:32:07 +01:00
Martok
b13cd385a4
Issue #2046 - Create helper method to call ICU string conversion methods
...
Based-on: m-c 1333844
2023-02-13 01:29:00 +01:00
Martok
3091ff4e57
Issue #2046 - Move functionality used in the implementation of multiple Intl.* constructors into builtin/intl/CommonFunctions.*
2023-02-12 23:27:21 +01:00
Martok
8ca01873c0
Issue #2046 - Move ScopedICUObject into builtin/intl/ScopedICUObject.h
2023-02-12 22:32:41 +01:00
Moonchild
013e19eed6
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2023-02-11 22:52:55 +01:00
Moonchild
6a353ef32d
Issue #1851 - Update TwemojiMozilla to 0.7.0 (Twemoji 14)
2023-02-11 22:52:29 +01:00
Moonchild
05ad5bcb5b
Merge pull request 'Clean up caret when destroying editor.' ( #2108 ) from jobbautista9/UXP:2107-caret into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2108
2023-02-11 09:16:39 +00:00
Job Bautista and Makoto Kato
42742eceae
Issue #2107 - Clean up caret when destroying editor.
...
Editor changes caret visibility during drag and drop. But when destroying
editor, we don't restore caret state. So we should restore it when destroying
editor.
Co-authored-by: Makoto Kato <m_kato@ga2.so-net.ne.jp >
2023-02-09 20:51:34 +08:00
Moonchild
ffdba3d91e
No issue - Accept also video/vp8 as MIME type (bis)
2023-02-08 01:01:25 +01:00
Moonchild
1f32c17fcf
No issue - Accept also video/vp8 as MIME type
2023-02-07 19:58:04 +01:00
Moonchild
8b26fcd0de
Merge pull request 'Implement XUL crop:clip property value for string cropping' ( #2105 ) from FranklinDM/UXP-contrib:work_xul-crop-clip into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2105
2023-02-04 17:00:04 +00:00
FranklinDM
1a2a779aaf
Issue #2104 - Part 2: Indicate if a label was cropped via the "_is_cropped" attribute
2023-02-03 22:44:04 +08:00
FranklinDM
dc14e5a906
Issue #2104 - Part 1: Implement "clip" attribute value for XUL string cropping
...
This implements the "clip" attribute value for the "crop" attribute found in XUL label elements. It functions similarly to having the text-overflow property set to an empty string or "". This shouldn't break previously established behavior as it only adds a new value to be checked.
The behavior of the "none" attribute value in the documentation (https://udn.realityripple.com/docs/Archive/Mozilla/XUL/Attribute/crop ) is incorrect. The "none" attribute value literally means "don't crop anything" if you'd check the code and is also equivalent to not setting the "crop" attribute at all. This has always been the case since Firefox 2 (earliest version I checked) and apparently, this section of the documentation was copied verbatim from XULPlanet without even checking if it's correct.
2023-02-03 22:44:04 +08:00
Moonchild
fb8347c7d2
Issue #2103 - Fix typo in RegExp Parser
...
This corrects the typo where the left-hand character would determine if
the right-hand character would be added or not.
Resolves #2103
2023-02-02 10:50:02 +01:00
Moonchild
aa0d7fc060
Merge pull request 'Promises pt. 3: Implement Promise.any' ( #2102 ) from martok/UXP-contrib:mr/prom-async-pt3 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2102
2023-02-01 22:52:14 +00:00
Martok
04e13794b2
Issue #2089 - Implement the Promise.any combinator
...
Based-on: m-c 1568903/9,1560300
2023-02-01 00:02:45 +01:00
Martok
2421d31e02
Issue #2089 - Rename shared Promise combinator functions, with helpers for element functions
...
Based-on: m-c 1568903/{5-8}
2023-02-01 00:02:45 +01:00
Martok
0148ae5a60
Issue #2089 - Implement AggregateError
...
Based-on: m-c 1568903/4,1641355(partial),1652148,1643397
2023-02-01 00:02:44 +01:00
Martok
ec38c883c6
Issue #2089 - Move ErrorObject parts from jsexn.cpp to ErrorObject.cpp
...
Based-on: m-c 1568903/2
2023-02-01 00:02:44 +01:00
Martok
e3c44ebafa
Issue #2089 - Add cache for Promise property lookups
...
Based-on: m-c 1475678/11
2023-02-01 00:02:44 +01:00
Moonchild
c9764f76ec
Merge pull request 'Remove unnecessary cast in GeneratorObject::suspend's do loop.' ( #2100 ) from jobbautista9/UXP:2099-generatorobject-cast into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2100
2023-01-31 16:22:02 +00:00
Job Bautista
a1d573eb13
Issue #2099 - Remove unnecessary cast in GeneratorObject::suspend's do loop.
...
This resolves build bustage with --enable-debug.
2023-01-31 20:03:09 +08:00
Moonchild
94e2874370
Merge pull request 'Promises pt. 2: Optimization and Unification' ( #2096 ) from martok/UXP-contrib:mr/prom-async-pt2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2096
2023-01-31 11:10:03 +00:00
Moonchild
a13035b1de
Merge pull request 'Make RegExpShared into a proper GC thing' ( #2095 ) from jobbautista9/UXP:2083-regexpshared-gc-final into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095
2023-01-31 09:46:14 +00:00
Moonchild
d7c90a831a
[xpcom] remove incorrect assertion.
...
See https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2095#issuecomment-33796
2023-01-29 19:19:48 +01:00
Moonchild
243c2bd498
No issue - bump default platform UA compatibility mode to 102.0
2023-01-29 19:17:00 +01:00
Moonchild
e57d4347cd
Issue #1382 - Remove incorrect assertion.
...
Tag #2090 #2095
2023-01-29 19:16:16 +01:00
Job Bautista
5732cf1f17
Issue #2083 - Follow-up: RegExpShared::source should be a GCPtr.
...
A hangover from before RegExpShared was a GC thing, as noted by m-c 1399928.
2023-01-28 19:32:24 +08:00
Martok
ae4149e7ee
Issue #2089 - Report unhandled rejection for optimized away promise
...
Based-on: m-c 1498775
2023-01-27 19:31:17 +01:00
Job Bautista
40ef2a5756
PR #2090 - Follow-up: Remove invalid MOZ_ASSERT in js::NativeDefineDataProperty
...
We don't have isHelperThreadContext, and this is breaking debug builds.
2023-01-27 16:47:12 +08:00
Martok
15a0dd6e4c
Issue #2089 - Further runtime perf improvements for PromiseState
...
- Reduce slot size of PromiseReactionRecord to fit into OBJECT8 alloc kind
- Use the Call() helper from Interpreter.h to reduce code duplication
- Clear the incumbent global slot when it's no longer used
Based-on: m-c 1475678/{12-14}
2023-01-27 00:09:15 +01:00
Martok
c1b1638522
Issue #2089 - Create a shared helper for PerformPromiseRace, PerformPromiseAll and PerformPromiseAllSettled
...
Replace the previous non-CommonPerformPromiseAllRace port with the unified one
Based-on: m-c 1475678/10,1539694
2023-01-26 22:33:28 +01:00
Martok
c805a6a526
Issue #2089 - Add a PromiseCapability struct, directly initialize dense elements in PerformPromiseAll using NewbornArrayPush
...
Based-on: m-c 1475678/{8,9}
2023-01-26 22:25:07 +01:00
Martok
82222eb7b4
Issue #2089 - Improve Runtime perf of Promises
...
- reduce typecasting
- reduce rooting already rooted values
- directly handle unwrapped promises
Based-on: m-c 1475678/{1-7}
2023-01-26 20:54:33 +01:00
Martok
0dc2b249dc
Issue #2089 - Don't use BlockOnPromise fast path with non-default resolving functions, combine default resolving functions flags
...
Based-on: m-c 1474348
2023-01-26 20:54:32 +01:00
Martok
f2eeb76969
Issue #2089 - Optimize Promise.then and Promise.all/race with default resolving functions
...
Based-on: m-c 1401508,1412200,1473970/{1-4}
2023-01-26 20:54:32 +01:00
Martok
6445a1bdb4
Issue #2089 - Turn AsyncGeneratorResumeNext recursion into iteration to avoid stack overflow
...
Based-on: m-c 1416809
2023-01-26 20:54:32 +01:00
Martok
94df491338
Issue #2089 - Only create result Promises in Promise#then and Promise#catch if it's used or the creation is otherwise observable
...
Based-on: m-c 1342070
2023-01-26 20:54:31 +01:00
Martok
a6ceedf7b2
Issue #2089 - Shrink Promise instances from 8 to 4 slots by moving debug information to an external object
...
Based-on: m-c 1342050
2023-01-26 20:54:31 +01:00
Job Bautista
47c6fe9cee
Revert "Issue #1382 - RegExpShared::groupsTemplate_ cannot be a GCPtr since RegExpShared is managed by C++"
...
This workaround has been obsoleted by the work on Issue #2083 .
This reverts commit bbd7436086 .
2023-01-26 15:26:32 +08:00
Job Bautista
64370b64d2
Issue #2083 - Part 5: Fix memory leak in RegExpObject.
...
Based on Mozilla bug 1345177.
2023-01-26 15:26:32 +08:00
Job Bautista
523201f3e4
Issue #2083 - Part 4: Give RegExpShared a finalizer.
...
Based on Mozilla bug 1345177.
2023-01-26 15:26:32 +08:00
Job Bautista
997616e308
Issue #2083 - Part 3: Fix RegExpShared rooting hazards now it's a GC thing.
...
Based on Mozilla bug 1345177.
Changes from the original bug's patch:
- The original patch didn't have a dotAll for a call to irregexp::ParsePattern,
so let's make our dotAll a member of the MutableHandleRegExpShared re.
- Make RegExpShared::initializeNamedCaptures, introduced in Issue #1285 , static.
This resolves a build bustage where static RegExpShared::compile was trying to
use a member function.
2023-01-26 15:26:32 +08:00
Job Bautista
f5761df1c7
Issue #2083 - Part 2: Remove use of RegExpGuard.
...
Based on Mozilla bug 1345177.
There were more uses of RegExpGuard in js/src/builtin/RegExp.cpp not found in
the original bug's patch.
2023-01-26 15:26:31 +08:00
Job Bautista
c566c36791
Issue #2083 - Part 1: Make RegExpShared a GC thing.
...
Based on Mozilla bug 1345177.
Changes from the original bug's patch:
- We don't have JS::CurrentThreadIsHeapCollecting, so let's use
trc->runtime()->isHeapCollecting() instead.
- Mozilla bug 1337117 renamed runtimeFromMainThread to
runtimeFromActiveCooperatingThread for Firefox 54, so let's use the former
2023-01-26 15:26:31 +08:00
Moonchild
5a4478b409
Merge pull request 'Fix crash in js::CreateRegExpMatchResult' ( #2094 ) from martok/UXP-contrib:mr/2093-regexp into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2094
2023-01-25 23:02:39 +00:00
Martok
cce4862b70
Issue #2093 - Trace HeapPtr<RegExpShared::groupsTemplate_> for GC move/compact events, regression from #2072
2023-01-25 23:22:07 +01:00
Moonchild
c06a9ae523
Merge pull request 'Parse \p{Extended_Pictographic} too.' ( #2092 ) from jobbautista9/UXP:2091-extended-pictographic into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2092
2023-01-25 21:46:18 +00:00
Job Bautista
aa108a39d6
Issue #2091 - Parse \p{Extended_Pictographic} too.
...
This is essentially a follow up to Issue #1286 . We already have
UCHAR_EXTENDED_PICTOGRAPHIC in our in-tree ICU, so there's no reason to comment
this case out.
2023-01-25 16:33:44 +08:00
Moonchild
b87775f75a
Merge pull request 'Promises pt. 1: Basics' ( #2090 ) from martok/UXP-contrib:mr/prom-async-pt1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2090
Reviewed-by: Moonchild <moonchild@palemoon.org >
2023-01-23 16:55:39 +00:00
Martok
d72c98277b
Issue #2089 - Avoid copying/recreating iterator result, AsyncGeneratorRequest and GeneratorObject expression stacks
...
Based-on: m-c 1394682,1410283,1396499
2023-01-22 00:11:28 +01:00
Martok
9f07ad27f5
Issue #2089 - In Promises, use a C++ version of SpeciesConstructor when calling from C++
...
Based-on: m-c 1344656,1386534
2023-01-22 00:11:28 +01:00
Martok
b1440d285b
Issue #2089 - Use JS engine stack if necessary when reporting errors
...
Based-on: m-c 996060
2023-01-22 00:11:27 +01:00
Martok
d78912ec17
No issue - Throw error when resolving or rejecting promise returned by async function with testing function
...
Based-on: m-c 1418106
2023-01-22 00:11:27 +01:00
Martok
d454045363
No issue - add API to tell Profile Timeline Recording state to JS engine
...
Based-on: m-c 1342070/5
2023-01-21 22:49:10 +01:00
Martok
44adc9e25c
No issue - Cleanup unused function exports to self-hosted global
...
Based-on: m-c 1325696
2023-01-21 22:49:10 +01:00
Martok
7cde54d976
No issue - Remove "code" from jsprototype.h macros
...
Based-on: m-c 1394084
2023-01-21 00:55:40 +01:00
Martok
13eac0ae3f
No issue - reformat GlobalObject::skipDeselectedConstructor
2023-01-21 00:51:34 +01:00
Martok
0d1d366685
No issue - implement js::NativeDefineDataProperty helper
2023-01-21 00:50:37 +01:00
Moonchild
9536cf49ce
[DOM] Make nsHTMLContentSerializer handle noscript depending on the
...
scripting enabled state of the document.
2023-01-18 21:23:40 +01:00
Moonchild
bd9042426a
[devtools] Improve Copy as cURL
...
Windows commonly fails to work because of --compressed, and its string
escaping needed improvement because of the complexities of argument
parsing in command windows.
2023-01-18 19:21:26 +01:00
Moonchild
76f10666f4
[DOM] Add some null checks for PerformanceWorkers
2023-01-18 17:54:34 +01:00
Moonchild
c8b74d4cbd
No issue - factor out some frame iterator helper functions.
2023-01-18 14:08:50 +01:00
Moonchild
25ed473471
[gtk widget] Use text/uri-list for file drag&drop.
2023-01-18 12:32:12 +01:00
Moonchild
304dfb8da2
[network] Avoid queue manipulation inside a loop
2023-01-18 02:26:23 +01:00
Moonchild
2c4410681f
Merge pull request 'Re-unify some more missed sources in js/src' ( #2088 ) from jobbautista9/UXP:js-src-80 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2088
Reviewed-by: Moonchild <moonchild@palemoon.org >
2023-01-10 11:22:52 +00:00
Job Bautista
5b3edcd412
Issue #80 - Re-unify some more missed sources in js/src
2023-01-10 15:50:56 +08:00
Moonchild
8dadf744e3
Issue #2087 - Don't throw on lacking PresShell in SetFontInternal
...
In CanvasRenderingContext2D::SetFontInternal, we should not throw if
there is no PresShell due to (sandboxed/hidden) iframe use that has not
initialized its presentation yet at the time of property manipulation.
This removes the throwing of the error and just silently fails.
Resolves #2087
2023-01-09 10:52:49 +01:00
Moonchild
e7268f447a
Merge pull request 'Remove CSS unprefixing service' ( #2085 ) from FranklinDM/UXP-contrib:work_css-remove-unprefixing-service into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2085
Reviewed-by: Moonchild <moonchild@palemoon.org >
2023-01-06 15:49:41 +00:00
Moonchild
d3830bea8d
Merge pull request 'Fix invalid inequality check on assert in RegExpParser' ( #2086 ) from FranklinDM/UXP-contrib:work_regexp-assert-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2086
2023-01-06 15:04:30 +00:00
Moonchild
4ebfc47dff
Merge pull request 'Performance Enhancements for Animated Images' ( #2081 ) from martok/UXP-contrib:gfx-gifmem into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2081
2023-01-06 15:02:51 +00:00
FranklinDM
9694f5c216
No issue - Fix invalid neq check on assert in RegExpParser
2023-01-06 22:16:32 +08:00
FranklinDM
1264824127
Issue #2084 - Part 2: Simplify logic in CSSParserImpl::LookupKeywordPrefixAware
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1259348
2023-01-06 22:13:16 +08:00
FranklinDM
b5f8fa6479
Issue #2084 - Part 1: Remove CSSUnprefixingService.js and associated code
...
It's effectively dead code since it's been supplanted by built-in webkit-prefixed-CSS support (landed before fork point in Firefox 49).
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1259348
2023-01-06 22:13:08 +08:00
Moonchild
af3a27e838
Merge pull request 'Follow-up fixes to #2060 ' ( #2072 ) from martok/UXP-contrib:irregexp-fix1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2072
2023-01-06 09:06:56 +00:00
Moonchild
1d4532ac5e
Merge pull request 'Fix linking libxul on *nix when using gold, lld, and mold as linker.' ( #2082 ) from jobbautista9/UXP:staticxul-ldmagic into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2082
2023-01-05 17:53:04 +00:00
Job Bautista
2e8442e6ec
Issue #2079 - Fix linking libxul on *nix when using a linker other than bfd.
...
Don't mark the .kPStaticModules section as relro for bfd, as the linkers on
Windows and Mac don't do this anyway.
Add a section insert of .kPStaticModules to config/expandlibs_exec.py, which
seems to be the primary cause of linking bustage on gold, lld, and mold.
2023-01-05 13:12:29 +08:00
Martok
bbd7436086
Issue #1382 - RegExpShared::groupsTemplate_ cannot be a GCPtr since RegExpShared is managed by C++
2023-01-04 20:48:25 +01:00
Martok
61dccf9933
Issue #2073 - m-c 1454149: Do not advance animated images which are not displayed
2023-01-04 00:50:26 +01:00
Martok
cbcf9b9d8e
Issue #2073 - m-c 1546500: Avoid dispatching synchronous thread shutdown runnables
2023-01-04 00:50:17 +01:00
Martok
d28497f2cf
Issue #2073 - m-c 1651587: Make image::Image release efficient on main thread
2023-01-04 00:50:03 +01:00
Martok
919a966dc2
Issue #2073 - m-c 1383404: make SourceBuffer::Compact more efficient (squashed)
...
The first part also means that Compact no longer needs the SurfaceCache lock (used to be via CreateChunk->CanHold),
which avoids potential deadlocks during shutdown that m-c 523950 would otherwise cause
2023-01-04 00:49:05 +01:00
Martok
b618b3fb76
Issue #2073 - m-c 523950: Discard decoded frames of very large GIF animations (squashed)
...
Controlled by image.animated.decode-on-demand.threshold-kb, default 256MB
Includes squashed bugfixes/regressions:
- m-c 1444537: Shutting down the decode pool should make animated decoders bail early
- m-c 1628606: Make sure to mark the surface cache entry available before sending the frame complete notification
- m-c 1502275: Skip recreating the decoder after redecode errors if an animated image is reset
- m-c 1443232: Don't insert frames into our AnimationFrameBuffer that we consider in error and unusable
2023-01-04 00:49:04 +01:00
Martok
e7fd4ba61b
Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of animated images (squashed)
...
Includes squashed changes of:
- m-c 1317907: Refactor FrameAnimator::GetCompositedFrame to be a bit simpler
- m-c 1351434: bugfix
- m-c 686905: Enable the pref image.mem.animated.discardable to allow discarding of animated images
2023-01-03 02:01:10 +01:00
Martok
608ecc9549
Issue #2073 - m-c 1382683: Accelerate GIF decoding to SurfacePipe
...
1. Implement SurfacePipe::WritePixelBlocks for faster writing of pixels
2. Switch nsGIFDecoder2 to write pixels in blocks instead of individually
2023-01-03 02:01:10 +01:00
Moonchild
61b688198a
Merge pull request 'Implement inset-(block|inline)-(start|end)' ( #2076 ) from css-offset-inset-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2076
Reviewed-by: Travis W. <travawine@palemoon.org >
2023-01-01 23:33:27 +00:00
Moonchild
7bcc49489a
Issue #2075 - Part 5: Allow logical aliases in the property database.
2022-12-31 10:19:45 +00:00
Moonchild
45193b1a82
Issue #2075 - Part 4: Update tests
...
* Update reftests to use inset-*
* Update property database
* Update logical properties test
2022-12-31 01:32:15 +00:00
Moonchild
f404243371
Issue #2075 - Part 3: Regenerate devtools CSS database
...
Using `mach devtools-css-db`
2022-12-31 01:30:30 +00:00
Moonchild
a943408c35
Issue #2075 - Part 2: Update devtools for inset-*
2022-12-31 01:29:03 +00:00
Moonchild
34ccfbcc0e
Issue #2075 - Part 1: Rename offset-* logical properties to inset-*
...
This adds aliases behind a pref with the old offset-* names
2022-12-30 22:37:02 +00:00
Martok
4731658b7e
Follow-up #2060 - Correctly handle \k in non-unicode expressions
2022-12-30 15:27:03 +01:00
Moonchild
4a3caaf522
Merge pull request 'Fix deprot in dom/base and js/src when building them de-unified.' ( #2074 ) from jobbautista9/UXP:deprot-hunt1 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2074
2022-12-29 21:12:51 +00:00
Job Bautista
edaddb1e5d
Issue #80 - Fix deprot in js/src/irregexp.
...
Regression seems to have been introduced by PR #2060 ? This tree didn't fail
building before we've reinstated unified building for js/src.
Found while building js/src de-unified.
2022-12-29 22:00:18 +08:00
Job Bautista
028e97d11e
Issue #80 - Fix deprot in dom/base.
...
This regression was introduced by my PR #2015 .
Found while building dom/base de-unified.
2022-12-29 22:00:07 +08:00
Moonchild
a6d113f87b
Issue #2053 - Disable DOM Performance API navigation timing.
...
We may eventually want to make this permanent in the front-end of
Pale Moon for privacy reasons.
Disabling this to avoid usage expecting changed spec results.
2022-12-26 11:21:32 +00:00
Moonchild
413cb600cc
Update README
2022-12-25 16:59:18 +00:00
Moonchild
4ed26484ee
Issue #2070 - When multiple HSTS headers are received, only consider the first.
...
This implements a plain interpretations of RFC 6797, which says to only consider
the first HSTS header.
This slightly conflicts with RFC 7230, which says that sending multiple headers
which can't be merged is illegal (except for a specific whitelist which HSTS isn't in),
so this situation should never occur in the first place (and would therefore not need
the explicit entry in RFC 6797).
It improves HSTS robustness dealing with non-compliant servers.
Resolves #2070
2022-12-25 11:42:42 +00:00
Moonchild
2a77e5662d
Merge pull request 'Terminate some fallthrough attributes with a semicolon.' ( #2071 ) from jobbautista9/UXP:fallthrough-sc into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2071
2022-12-25 08:27:44 +00:00
Moonchild
1555b1d89c
Merge pull request 'Update libjxl to 0.7.0 and highway to 1.0.2.' ( #2062 ) from jobbautista9/UXP:jxl-0.7 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2062
2022-12-25 08:26:16 +00:00
Job Bautista
080877ccec
No issue - Fallthrough attributes must be terminated with semicolon.
...
This also fixes building with Clang 15 on Linux.
2022-12-25 14:50:24 +08:00
Job Bautista and Moonchild
dcf9837607
Issue #2061 Follow-up: Fix moz.build to compile on all platforms.
...
Remove stuff from /extra/ and the JPEG transcoding file from compilation, as
we don't need them.
A disable define for box decoding is also added, but currently commented out as
there's no need to disable the function right now.
Co-authored-by: Moonchild <moonchild@palemoon.org >
2022-12-25 11:33:10 +08:00
Moonchild
5de28553a1
Current changes to the platform warrant a new milestone version for Goanna.
2022-12-24 23:36:07 +00:00
Moonchild
6249e60f41
Merge pull request 'Only wrap the last line of inline elements when positively padding to the right.' ( #2069 ) from jobbautista9/UXP:paddingright-linewrap-fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2069
2022-12-24 23:22:11 +00:00
Moonchild
fb305d451f
Merge pull request 'Restore and fix support for FasterMake' ( #2066 ) from FranklinDM/UXP-contrib:work_restore-faster-make into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2066
2022-12-24 20:56:23 +00:00
Moonchild
154b94d350
Merge pull request 'Ensure a floated ::first-letter inherits from ::first-line.' ( #2064 ) from jobbautista9/UXP:first-letter-floatinherit into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2064
2022-12-24 19:29:20 +00:00
Moonchild
ea2d754647
Merge pull request 'Replace use of deprecated GetPreventDefault in GTK menu bar' ( #2067 ) from FranklinDM/UXP-contrib:work_gtkmb-defaultprevented into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2067
2022-12-24 19:28:28 +00:00
Job Bautista and Jonathan Kew
0063a28576
Issue #2068 - Only wrap the last line of inline elements when positively padding to the right.
...
This fixes the 21 year old Mozilla bug 122795.
Co-authored-by: Jonathan Kew <jfkthame@gmail.com >
2022-12-24 17:41:31 +08:00
FranklinDM
4e9a2f783e
No issue - Replace use of deprecated GetPreventDefault in GTK menu bar
2022-12-24 13:16:03 +08:00
FranklinDM
84acd8c0ef
Issue #2065 - Part 5: Fix incorrect inclusion of base file name in destination path for generated FasterMake track files
...
I'm not sure about what they had in mind when they first wrote this, but this is completely unnecessary. The base name is the file name. This part will break building with `mach faster` once partial filenames with wildcards are included in the package manifest, which became the case when we began supporting the newer MSVC runtime.
This also aligns FasterMake with how RecursiveMake treats wildcard copy directives.
They fixed this in bug 1416465, but it included a conditional that will almost always be true and kept this incorrect joining of the path and base name in the destination path. Since the value for the base name is either empty or contains a partial file name, that conditional effectively does nothing.
2022-12-24 12:57:59 +08:00
FranklinDM
fba59dfc4b
Issue #2065 - Part 4: Revise comments and remove parts dependent on hybrid FasterMake/RecursiveMake backend
2022-12-24 12:57:55 +08:00
FranklinDM
7ff4b0d120
Issue #2065 - Part 3: Process install manifests with --track in the recursive make backend
...
This excludes parts that remove support for building the Mozilla SDK.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1390916
2022-12-24 12:57:52 +08:00
FranklinDM
13e658a200
Issue #2065 - Part 2: Expand pattern when track file is created rather than read
...
This fixes build bustage on Windows when using `mach build faster`.
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1416465
2022-12-24 12:57:48 +08:00
FranklinDM
abf74404c5
Issue #2065 - Part 1: Restore FasterMake build backend
...
I use this for quickly rebuilding and preprocessing the JS/XUL/CSS assets them without the need to recompile the IDL interfaces and other unnecessary items.
2022-12-24 12:57:44 +08:00
Job Bautista
cfc61b4c5d
Issue #2061 Follow-up: Export jxl/version.h.
...
Fixes building on Windows.
I also decided to move the preprocessed jxl/version.h to our include/jxl
instead of relying on moz.build in preprocessing the file. Future me
should note to not forget to update the version number at that new file
2022-12-24 10:42:27 +08:00
Moonchild
012669ee58
Merge pull request 'RegExp: upgrades to the irregexp regex engine' ( #2060 ) from martok/UXP-contrib:irregexp-upgrades into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2060
2022-12-23 19:55:27 +00:00
Job Bautista and Ryo Onodera
6f635acadc
Issue #2063 - Ensure a floated ::first-letter inherits from ::first-line.
...
This fixes the 24 year old Mozilla bug 13610.
Co-authored-by: Ryo Onodera <ryoqun@gmail.com >
2022-12-23 19:21:40 +08:00
Job Bautista
fc4d64665f
Issue #2061 - Part 4: Update build system for highway library update.
2022-12-22 12:55:56 +08:00
Job Bautista
ada110f579
Issue #2061 - Part 3: Update highway source to 1.0.2.
2022-12-22 12:55:25 +08:00
Job Bautista
1356ecde96
Issue #2061 - Part 2: Update build system for libjxl update.
2022-12-22 12:54:52 +08:00
Job Bautista
3d07029232
Issue #2061 - Part 1: Update libjxl source to 0.7.0.
2022-12-22 12:53:52 +08:00
Martok
3f2b011ee6
Issue #1286 - Parse unicode property escapes and property sequences
...
In addition to upstream, we also allow RGI-named sequences since they're used in the wild.
2022-12-21 19:35:56 +01:00
Martok
9a9e4e0c9a
No issue - Refactor CharacterRange + Unicode handling into module for maintainability
...
Collects code from RegExpParser and RegExpEngine (regexp-compiler-tonode.cc)
Simplify parsing AtomEscape/CharacterClassEscape
2022-12-21 18:53:27 +01:00
Martok
58f3b2c581
Issue #1285 - Implement named capturing groups for replacing
2022-12-21 18:53:27 +01:00
Martok
b356d64f4e
Issue #1285 - implement named capturing groups and named backrefs
...
- RegExpParser collects seen groups in named_captures_.
- After irregexp::ParsePattern has finished, RegExpParser::StoreNamedCaptureMap translates
the parser data to RegExpCompileData.capture_name/index
- RegExpShared::initializeNamedCaptures takes these and builds a PlainObject map which
is kept with the compiled expression
This is done because irregexp doesn't have access to the JS context and so can't allocate
any JSValues itself.
- for each match result, this map is used to build PlainObjects of name->match/undefined
(extremely simplified from upstream at the expense of some perf)
IonMonkey switches to non-masm code path for expressions with named groups.
2022-12-21 18:53:27 +01:00
Martok
9a0807a62c
No issue - Refactor parsing of unicode escapes to be more general
2022-12-21 18:53:26 +01:00
Martok
ffab95c3a3
No issue - Fix VectorMatchPairs allocating more memory than required
2022-12-21 18:53:26 +01:00
Martok
4a290b16b0
No issue - Flag to parse 'v' flag as 'u' for automated tests, disabled by default
2022-12-21 18:53:26 +01:00
Martok
4e252574e0
No issue - refactor base classes for easier access
...
- move InfallibleVector into its own header, together with common typedefs
- refactor CapturesVector
2022-12-21 18:53:25 +01:00
Martok
94f456f834
Issue #2056 - Fix handling of captures in lookbehinds
...
- Port unification of CheckNotBackReference*
- Port LoadCurrentCharacter
- Make RegExpMacroAssembler::CheckAtStart understand cp_offset
- Replace magic numbers in ChoiceNode::Emit, Trace::PerformDeferredActions
- CheckBacktrackStackLimit
- Allow backrefs to resist recursion
2022-12-21 18:53:25 +01:00
Moonchild
37bbb4152d
Issue #1279 - Implement regular expressions lookbehind (v3)
...
Based on d10e8a5b with the addition of chromium issue 570241.
2022-12-21 18:53:25 +01:00
Moonchild
fc62ce0076
Merge pull request 'Use gfxPackedPixel + WritePixels instead of WriteBuffer in JPEG-XL decoding' ( #2059 ) from jobbautista9/UXP:jxl-writepixels into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2059
2022-12-19 08:00:40 +00:00
Job Bautista
b9d00e8c27
Issue #2057 - Use gfxPackedPixel + WritePixels instead of WriteBuffer.
...
This means we no longer need the workarounds intended for #2033 and #2040 !
2022-12-19 13:58:32 +08:00
Moonchild (Away until 22-12-14)
a2a0dec11d
Merge pull request '[no issue] fix macro condition' ( #2055 ) from lexx9999/UXP:lx_fix_macro into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2055
2022-12-16 12:25:37 +00:00
Moonchild
3e9621aa59
Issue #1818 - Remove obsolete path hack in widget code.
2022-12-15 13:14:03 +00:00
Moonchild
03875cd609
[network] Align cookie checks with RFC 6265 (bis)
2022-12-15 12:30:21 +00:00
Moonchild
d9fb68d21b
[libjar] Add some extra sanity checks to our Zip reader.
2022-12-15 11:49:39 +00:00
Moonchild
df2b82e2cb
[network] move some generic websocket code to the baseclass
2022-12-15 10:59:40 +00:00
Moonchild
c34cceb678
Revert "Issue #1279 - Implement regular expressions lookbehind (v2)"
...
This reverts commit d10e8a5b06 .
2022-12-15 09:01:05 +00:00
lexx9999
6343937b2c
Issue #2041 follow-up - fix macro condition
2022-12-11 05:26:37 +01:00
Moonchild
b9894f1e93
Merge pull request 'Include the Emoji font on all GTK platforms, not just Linux.' ( #2054 ) from dbsoft/UXP:GTKFont into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2054
2022-12-09 15:32:51 +00:00
Mavridis Philippe
c8bafb9faa
MailNews: Re-check availability of OAuth2 when hostname fields modified.
...
This is for those cases where the hostnme of the email address is not
the actual hostname of the e-mail service (e.g. GMail with a custom
domain).
This should resolve issue athenian200/epyrus#53 .
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com >
2022-12-07 13:22:55 +02:00
Brian Smith
ecd5436c58
No issue - Fix packaging Epyrus on FreeBSD and Solaris.
...
The TwemojiMozilla.ttf font should be bundled on Windows and any GTK platforms.
We should not limit the GTK platform to Linux only.
2022-12-04 08:07:44 -06:00
Moonchild
b019e959d4
Merge pull request 'Add animation support and progressive decoding for JPEG-XL.' ( #2050 ) from jobbautista9/UXP:jxl-anim-progdec into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2050
2022-12-03 14:09:30 +00:00
Moonchild
ab4cc6ebae
PR #2050 follow-up: add symbols to build shared on Windows.
2022-12-03 10:45:25 +00:00
Job Bautista
925b33158b
Issue #2041 Follow-up - Remove opacity check from original patch.
...
Per Issue #2033 we don't support expanding RGB to RGBA yet, so this opacity
check will always return RGBX, which makes images with transparent backgrounds
show up with a black background instead. Feel free to readd once we backport
Mozilla bug 1551088.
2022-12-02 14:17:10 +08:00
Job Bautista
daf859d84c
Issue #2048 - Add progressive decoding for JPEG-XL.
...
Based on Mozilla phab D122159, intended for bug 1709815.
Also moved the temporary RGBA and premultiplication fixes to a macro, since
progressive decoding also needs these fixes.
2022-12-02 13:28:34 +08:00
Job Bautista
b66e0ffdc4
Issue #2041 - Add animation support for JPEG-XL.
...
Based on Mozilla phab D122158, intended for bug 1709818.
2022-12-02 11:15:05 +08:00
Moonchild
8f266bb6e7
Merge pull request 'Allow <button> children to receive pointer events' ( #2043 ) from martok/UXP-contrib:2030-button into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2043
2022-11-30 22:04:23 +00:00
Moonchild
2e888727e0
Issue #2040 - Pre-multiply the alpha values in our JXL decode buffer.
...
Using selective calculation (only if not opaque) and fast integer
math here should optimize well in compilers.
2022-11-30 14:28:09 +00:00
Moonchild
bc165aebf8
Merge pull request 'Prevent GTK color picker from being frozen when launched from a modal XUL window' ( #2037 ) from FranklinDM/UXP-contrib:work_gtk-color-picker-frozen into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2037
2022-11-27 22:32:30 +00:00
Moonchild
9d0a8340d7
Merge pull request 'Follow-up to the Ventura fixes and fix building LDAP on Mac for Epyrus' ( #2044 ) from dbsoft/UXP:Mac into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2044
2022-11-27 22:31:53 +00:00
Brian Smith
abc044bc61
No Issue - Fix building ldap on MacOS.
...
Discovered this problem building Epyrus on MacOS, based on this Mozilla Bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1652906
2022-11-27 13:59:27 -06:00
Brian Smith
a061db91dd
Issue #2022 Follow-Up - Add autorelease to our manual NSView to prevent potential leaks.
...
Also move titlebar overrides from BaseWindow to ToolbarWindow...
This caused problems in Waterfox Classic on Ventura, while this didn't seem to be necessary in UXP...
There is no need for those overrides in BaseWindow, so why risk potential problems.
https://bugzilla.mozilla.org/show_bug.cgi?id=1576387
https://github.com/WaterfoxCo/Waterfox-Classic/commit/d7f5814dc089f615385a00db4dfe187c6aefa1af
2022-11-27 13:57:13 -06:00
Martok
0494d561c5
Issue #2030 - Dispatch click on common interactive ancestor if mousdown/up are not on the same element
...
For example, if the mouse is dragged from one element to another while
staying inside the same button, dispatch from their common ancestor
2022-11-27 16:35:56 +01:00
Martok
41fed1ebf8
Issue #2030 - Pref-gate default button event dispatch logic
2022-11-27 16:35:47 +01:00
Martok
a585aeacf0
Issue #2030 - Allow child nodes of button to participate in mouse hit tests
...
This is needed for web compatibility, even if standards compliance is debatable.
2022-11-27 16:35:38 +01:00
Martok
814fa6e3ba
Issue #2030 - (chore) refactor event dispatch functions
...
Based on selected bits of M-C 1461708:
- EventStateManager::CheckForAndDispatchClick() to early-return style
- split EventStateManager::CheckForAndDispatchClick() into:
EventCausesClickEvents, PostHandleMouseUp, DispatchClickEvents
- Move implementation of UIEvent::GetRangeParent() and UIEvent::RangeOffset() to nsLayoutUtils
2022-11-27 16:35:25 +01:00
Moonchild
541508cd83
Merge pull request '[No issue] Add executable bit to shell scripts in tree' ( #2038 ) from trav90/UXP-contrib:add-executable-bit into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2038
2022-11-25 19:17:40 +00:00
trav90
2770a0588c
[No issue] Add executable bit to shell scripts in tree
2022-11-25 09:37:30 -06:00
Moonchild
88f392397b
Issue #2019 - Follow-up: Make nsPluginInstanceOwner also listen to keypress events in the system event group.
...
nsPluginInstanceOwner only listens to keypress events in the default event group.
However, in our changed operating mode, keypress events are not fired in the
default event group if the key does not result in something printable.
This means that nsPluginInstanceOwner should also listen to keypress events
in the system event group and should handle each keypress that way, but
only once. I.e., if a printable keypress event is received in the system event
group, it should be ignored, since it would've already been handled in the
default event group in that case.
2022-11-24 21:41:28 +00:00
Moonchild
6efb151520
[no issue] fix whitespace.
2022-11-24 15:06:28 +00:00
FranklinDM
058474229d
Issue #2036 - Prevent GTK color picker from being frozen when launched from a modal XUL window
...
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1496836
2022-11-24 21:54:22 +08:00
Moonchild
eb87672d4c
Merge pull request 'Improve the protocol handling dialog' ( #2032 ) from FranklinDM/UXP-contrib:work_protocol-handling-dialog-opener into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2032
2022-11-24 12:42:24 +00:00
Moonchild
4b9789888f
Issue #2033 - Temporary fix of R<->B channel swap.
...
We have a BGR/RGB channel ordering mismatch here. to at least
provide proper display, a quick&dirty byte swap on the output
buffer will fix this for now, but we should look into seeing where
the surface mismatch is caused.
std::swap() should optimize pretty well in any of the used
compilers, but if necessary, a full buffer ASM routine can be
slotted in (although on current hardware I doubt this will be
even noticeable as it is)
2022-11-24 12:37:28 +00:00
FranklinDM
cc98224267
Issue #2029 - Part 2: Protocol handling dialog should be dependent if not modal
...
Following the behavior of the download dialog, the content handling dialog should be `dependent` as well. This means that this dialog should close when the parent window is closed, is not visible on the taskbar, and stays in front of the parent window.
2022-11-23 17:57:11 +08:00
FranklinDM
7001a57aef
Issue #2029 - Part 1: Add preference for opening the protocol handling dialog as window modal
...
This adds the preference, `prompts.content_handling_dialog_modal.enabled`, to control whether the dialog is window modal or not.
2022-11-23 17:56:50 +08:00
Moonchild
173320cf7d
Merge pull request 'Use reserved stack space instead of heap allocation in nsLocalFileUnix' ( #2028 ) from FranklinDM/UXP-contrib:work_issue-2027 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2028
2022-11-22 00:10:09 +00:00
Moonchild
5f243826b4
Revert "Revert "[XPCOM] Deal with lstat potentially lying in nsLocalFileUnix.""
...
This reverts commit 3d4474a977 .
2022-11-22 00:09:27 +00:00
Moonchild
3d4474a977
Revert "[XPCOM] Deal with lstat potentially lying in nsLocalFileUnix."
...
This reverts commit c127f58ef3 .
2022-11-20 14:15:22 +00:00
FranklinDM
06bc499a0d
Issue #2027 - Use reserved stack space instead of heap allocation in nsLocalFile
...
This should resolve the build bustage associated with c127f58ef3 .
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1371279
2022-11-20 18:42:34 +08:00
Moonchild
c127f58ef3
[XPCOM] Deal with lstat potentially lying in nsLocalFileUnix.
2022-11-19 20:11:34 +00:00
Moonchild
5e6006a2bd
[network] Fix Mac buffer overflow.
2022-11-19 14:23:40 +00:00
Moonchild
ac9253e987
WebSocketChannel::CleanupConnection should run on the socket thread
2022-11-19 14:06:18 +00:00
Moonchild
8778d48290
[Network, DOM] Align our implementation with the current CORS/Fetch spec.
2022-11-18 20:00:59 +00:00
Moonchild
fb0c204f2b
Issue #1769 - Follow-up: Default-enable JPEG-XL images if built
...
Sets the pref default to true and also add conneg entry for images
if jxl support is built.
Additionally, ifdefs the GfxPref to only observe when jxl is built.
2022-11-11 12:25:17 +00:00
Moonchild
e6888aa2bd
Merge branch '1769-take2'
2022-11-10 20:15:54 +00:00
Moonchild
d14c78b29d
Issue #1769 : Ensure MIME type is known in URIloader for jxl
2022-11-08 18:16:29 +00:00
Moonchild
76e7290c1a
Issue #1769 : Update symbols for libxul linkage
2022-11-07 15:03:03 +00:00
Moonchild
d19fb35c6a
Merge branch 'master' into 1769-take2
2022-11-07 13:49:11 +00:00
Moonchild
94554142e9
[intl] Update timezone data to 2022e
2022-11-06 21:35:01 +01:00
Moonchild
1c04b522d3
Issue #2024 - Part 2: Add wildcard to Access-Control-Allow-{Method|Headers}
...
For requests without credentials, add wildcard to Access-Control-Allow-Headers
and Access-Control-Allow-Method.
Resolves #2024
2022-11-06 13:22:44 +00:00
Moonchild
84d3226fb1
Issue #2024 - Part 1: Add wildcard to Access-Control-Expose-Headers
...
For requests without credentials, add wildcard to Access-Control-Expose-Headers.
2022-11-06 12:31:17 +00:00
Moonchild
42d1d20efd
[WebGL] Implement webgl.max-size-per-texture-mib
2022-10-26 13:52:42 +00:00
Moonchild
3505c2050a
[XPCOM] Fix Base64 off-by-one issue and safeguard against this mistake in the future.
2022-10-26 09:24:27 +00:00
Moonchild
1139e11f3a
[No issue] Hold some strong references on nsRefreshDriver
2022-10-26 08:05:04 +00:00
athenian200
b19541f1d4
Issue #1824 - Remove dependency on libdemangle.
...
This may be removed from illumos soon, and it is apparently unused anyway, so leaving it in doesn't make sense.
2022-10-26 01:18:43 +00:00
Moonchild
30653de864
Merge pull request 'Support MacOS 13 Ventura' ( #2023 ) from dbsoft/UXP:MacVentura into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2023
2022-10-25 10:02:48 +00:00
Brian Smith
7a82ec5764
Issue #2022 - Part 2 - Add Ventura version detection.
...
Also add Monterey and Ventura to the graphics driver blocklist.
2022-10-24 23:47:42 -05:00
Brian Smith
e73a2fb0fc
Issue #2022 - Part 1 - Fix transparent windows on MacOS 13 Ventura.
...
During the BaseWindow creation contenView is nil on Ventura...
So create a NSView with the requested dimensions and set is as the contenView.
2022-10-24 23:45:38 -05:00
Moonchild
b14db5e91e
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2022-10-23 21:46:30 +00:00
Moonchild
2d752c9259
Merge pull request 'Align keypress events in content with the web' ( #2020 ) from keypress-event-work into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2020
2022-10-23 21:45:26 +00:00
Moonchild
362a84565c
Issue #21 - Remove panning/tab animation performance measurements
...
Based on FranklinDM's follow-up for the issue.
This would require browser FE changes, particularly removing the associated
code in `tabbrowser.xml`, however, that was already done in Pale Moon previously.
Other front-end applications may need to take note, though.
Based on changes from the following bugs:
* Bug 696398 - Need an api to analyze panning performance
* Bug 800031 - Include paint time in tab switch telemetry
* Bug 820167 - Enable performance measurement of tab animation
* Bug 826383 - Improve Start/Stop FrameTimeRecording for telemetry usage
2022-10-23 21:43:46 +00:00
FranklinDM
d8ef6bf7af
Issue #1956 - Look for Visual Studio's path directly in the mozdebug module
...
This change modifies the mozdebug module to include a special case for Visual Studio when looking for its path.
This also removes the workaround implemented in dcb027a718 which can break debugging in certain installations of Visual Studio 2015.
2022-10-23 21:30:17 +00:00
FranklinDM
825fb3a207
Issue #1793 - Follow-up: Fix incorrect media query
2022-10-23 21:29:24 +00:00
FranklinDM
d1345b1da6
Issue #58 - Remove leftover rust build files from /js
2022-10-23 21:29:06 +00:00
FranklinDM
4f95caf7fb
Issue #1829 - Follow-up: Mac-specific shortcut key for closing the developer tools toolbox window should not be excluded from other platforms
2022-10-23 21:28:47 +00:00
Moonchild
528ae6aeb0
Merge pull request 'Issue #1375 - Don't mark nodes in the shadow tree as orphan nodes' ( #2021 ) from Basilisk-Dev/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2021
2022-10-22 14:17:59 +00:00
Basilisk-Dev
ea0a08fcab
Issue #1375 - Don't mark nodes in the shadow tree as orphan nodes
...
Port of Bug 1026714
2022-10-20 18:22:30 -04:00
Moonchild
7ac438f6ad
Issue #2019 - Follow-up: Make autocomplete and satchel listen to keypress events in the system event group
...
The autocomplete module listens to keypress events for both printable keys
and non-printable keys a lot. However, we're stopping dispatching keypress
events for non-printable keys in the default event group of web content.
This means that autocomplete should listen to keypress events in the
system event group.
Note that it's difficult to globally change keypress event listeners to
keydown event listeners because if we stop keypress events at preceding
keydown event in autocomplete or satchel modules, some other modules
fail to handle keydown or keypress events before autocomplete, and it's
not easy to investigate which keypress event listener in which modules
should be changed to a keydown event listener.
Therefore, this patch doesn't do that, and uses the event group approach.
2022-10-18 12:48:23 +00:00
Moonchild
3142f95469
Issue #2019 - Follow-up: Adjust content spellchecker to use keydown
...
Since keypress is no longer triggered on all keypresses in content,
the spellchecker would potentially not be triggered when it should be.
This changes the trigger to keydown, instead.
No behavioral changes otherwise.
2022-10-17 15:22:03 +00:00
Moonchild
74b3ce90d7
Issue #2019 - Do not dispatch keypress event for non-printable keys.
...
This will prevent the keypress DOM event from firing on keypresses
that do not produce printable keys (e.g. editing nav keys) in content.
This should not affect any chrome events that are in use.
Event dispatch can be re-enabled if necessary with the added pref.
2022-10-17 12:28:26 +00:00
Moonchild
ebd7672d6b
[No issue] Ensure LockImpl::Try() returns the correct bool value.
2022-10-16 23:24:19 +00:00
Moonchild
1f78e93f1d
Merge pull request 'Implement regular expressions lookbehind (v2)' ( #2017 ) from regex-lookbehind-v2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2017
2022-10-12 16:44:09 +00:00
Moonchild
69502301fa
Merge pull request 'Implement customElements.upgrade.' ( #2015 ) from jobbautista9/UXP:1375-ceupgrade into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2015
2022-10-12 08:58:55 +00:00
Moonchild
d10e8a5b06
Issue #1279 - Implement regular expressions lookbehind (v2)
...
Because of some additional changes in the JS engine in the meantime,
this implementation should work and not crash due to slot allocation.
2022-10-11 10:59:43 +00:00
Moonchild
fb173db64b
Issue #2016 - Remove non-functional V8 regex import
2022-10-10 19:36:24 +00:00
Job Bautista
5bc4892122
Issue #1375 - Use nsIAtom* instead of nsAtom* for CE Upgrade function.
...
We haven't refactored nsIAtom* as Mozilla did yet.
2022-10-09 12:59:21 +08:00
Job Bautista
58670d66e5
Issue #1375 - Implement customElements.upgrade.
...
Backported from Mozilla bug 1443722.
2022-10-09 10:33:50 +08:00
Jeremy Andrews
4ba7e05b96
Issue #2012 - Follow-up: Make sure Services.jsm is imported earlier.
...
I didn't catch this because I am used to the .jsm files being imported near the
top of the file, not later on. This is the case in the other two files I
worked on. Only AddonUpdateChecker.jsm seems to have this problem.
2022-10-06 03:27:46 -05:00
Moonchild
2dc264047e
Fix some debug assertions.
...
refactored code porting in assertions causing debug build failures.
2022-10-04 16:32:25 +00:00
Moonchild
6d5b934dc0
Merge pull request 'Allow other UXP applications to use dual-GUID system.' ( #2013 ) from athenian200/UXP:generic-dual-guid-system into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2013
Reviewed-by: Moonchild <moonchild@palemoon.org >
2022-10-04 11:45:50 +00:00
Jeremy Andrews
87ef3606e2
Issue #2012 - Change name of feature to AppCompat GUID.
...
It's not just for supporting "Phoenix" extensions anymore.
2022-10-03 17:13:57 -05:00
Jeremy Andrews
4ced37546e
Issue #2012 - Have fallback value and use better term than "fake ID."
...
I also use the pref as a constant rather than calling the pref service
repeatedly to make code look much neater. APPCOMPATID matches
APPCOMPATVERSION, and doesn't give the vibe of a sneaky young lad trying to
enter into a tavern whilst underage.
2022-10-03 08:13:17 -05:00
Jeremy Andrews
cb61e1a354
Issue #2012 - Allow other UXP applications to use dual-GUID system.
2022-10-02 22:17:27 -05:00
Moonchild
b83dd4e5e8
Issue #2010 - Ensure raw tagnames are safe exiting internalEntityParser
...
This resolves #2010
2022-09-28 13:49:41 +00:00
Moonchild
95907ddf88
Revert "Issue #1986 - Use logical coordinates in flex containers."
...
This reverts commit 2a57b39dbc .
2022-09-27 20:04:13 +00:00
Moonchild
5f8d70dacd
Revert "Issue #1986 - Part 2: Add IsItemInlineAxisMainAxis() and rework some nsFrame code."
...
This reverts commit ef4eb3f926 .
2022-09-27 20:04:02 +00:00
Moonchild
4bf2bf74b1
Revert "Issue #1986 - Add in reftests for new behavior."
...
This reverts commit 2fc5e3ad7d .
2022-09-27 20:03:42 +00:00
Moonchild
b575f4a516
Platform version bump
2022-09-24 12:16:43 +00:00
Moonchild
47a7de8aa4
Issue #1977 - Follow-up: Correct pref check to be selective on wave formats only.
2022-09-22 13:14:17 +00:00
Moonchild
1a5e2e32e1
Merge pull request 'Un-prefix -moz-[min|max}-content keyword' ( #2009 ) from 1992 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2009
2022-09-22 11:47:37 +00:00
Moonchild
d06666cd12
[network] Reject cookies with no name and a __Secure- or __Host- prefix
2022-09-21 21:11:53 +00:00
Moonchild
24ee0680b1
[DOM security] Be more explicit about CSP checks and reports.
2022-09-21 14:08:22 +00:00
Moonchild
66a4e02856
Issue #1992 - Part 2: Regenerate devtools CSS database.
...
Using `mach devtools-css-db`
Note: this also picked up a break-spaces entry that was missed previously.
2022-09-20 20:44:57 +00:00
Moonchild
9fea63c9d4
Issue #1992 - Part 1: Un-prefix -moz-{min|max}-content keywords.
2022-09-20 20:41:33 +00:00
Moonchild
fc5b767f5d
Issue #2008 - Implement missing s parameter parsing and align case with spec.
...
This does 2 things.
First, it adds parsing of the 's' parameter parsing to DOM object construction of regexes
Second, it corrects the DOM property to be `dotAll` instead of `dotall`
For consistency's sake, all function names and calls were renamed with the finalized casing.
This resolves #2008
2022-09-18 11:01:27 +00:00
Moonchild
302d46a0f9
Merge pull request 'Media fixes to play nice with MSVC WPO/GL' ( #2006 ) from twivi/UXP:optimize into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2006
Reviewed-by: Moonchild <moonchild@palemoon.org >
2022-09-14 09:42:09 +00:00
twivi
d2683b0ff7
revert 82ac99acb5
...
revert Allow explicit inlines in libaom code, but still prevent automatic inlines due to compiler issues
2022-09-14 02:33:01 +00:00
twivi
92d5680b85
Updated libav/ffvpx patch files to help with upstream library
2022-09-13 14:33:32 +00:00
Moonchild
f9a1ebf886
No issue - Stop pre-processing some files that don't have preprocessor statements in them.
2022-09-12 08:05:25 +00:00
twivi
a68021d41e
Fix ffvpx/libav architecture checks to use preprocessor instead, prevents breakage with LTCG
2022-09-11 21:51:08 +00:00
twivi
82ac99acb5
Allow explicit inlines in libaom code, but still prevent automatic inlines due to compiler issues
2022-09-11 21:49:56 +00:00
Moonchild
c623c47157
Merge pull request 'Update IPC locking code.' ( #2004 ) from athenian200/UXP:ipc-locking-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2004
2022-09-09 08:10:36 +00:00
Moonchild
da835adb48
Merge pull request 'Fix build bustage with spell checker in GCC 12' ( #2002 ) from jobbautista9/UXP:spellcheck-gcc12 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2002
2022-09-08 17:38:29 +00:00
Moonchild
a9c9be4d21
Issue #80 - Re-unify most of gfx
2022-09-08 16:54:07 +00:00
Moonchild
0682d4ac0e
No Issue - prevent build issue in MSVC due to libaom SIMD inlining.
2022-09-08 16:52:26 +00:00
Jeremy Andrews
77bca114d1
Issue #2003 - Update IPC locking code.
2022-09-08 08:10:11 -05:00
Job Bautista
59f6ae3d74
Issue #1995 - Fix build bustage in GCC 12
...
For some reason, GCC 12 is treating this include as a circular dependency.
See athenian200's analysis for more details.
2022-09-08 17:57:06 +08:00
Moonchild
1fba5c3cc7
Issue #80 - Re-unify most of the layout engine
2022-09-08 06:49:40 +00:00
Moonchild
3d99e06afe
Issue #80 - Re-unify most of DOM
2022-09-08 06:49:09 +00:00
Moonchild
ed2a457b0a
Merge branch 're-unify'
2022-09-06 23:42:27 +00:00
Moonchild
c927a660ea
Issue #1720 - Follow-up: Explicitly include X11UndefineNone.h in
...
HTMLOptGroupElement.cpp to fix unified building on X11
2022-09-05 14:00:07 +00:00
Moonchild
cf8bc4541d
Issue #80 - Re-unify building of /js/src
2022-09-05 13:50:53 +00:00
Moonchild
f4e39fc6f4
Revert "Issue #1676 - Part 4: Split builtin sources out of js/src/moz.build"
2022-09-05 13:28:53 +00:00
Moonchild
d10904010a
Revert "Issue #1676 - Part 5: Split devtools sources out of js/src/moz.build"
...
This reverts commit 24b835f0a9 .
2022-09-05 13:25:24 +00:00
Moonchild
22886d3547
Revert "Issue #1676 - Part 6: Split ds sources out of js/src/moz.build"
...
This reverts commit eedfa63a1d .
2022-09-05 13:24:56 +00:00
Moonchild
de87d59cfc
Revert "Issue #1676 - Part 7: Split frontend sources out of js/src/moz.build"
...
This reverts commit 1396383aee .
2022-09-05 13:24:28 +00:00
Moonchild
e67b9b52e3
Revert "Issue #1676 - Part 8: Fix up include for selfhosted.out.h"
...
This reverts commit bc450dab41 .
2022-09-05 13:23:59 +00:00
Moonchild
821cba01be
Revert "Issue #1676 - Part 9: Move DIRS down in js/src/moz.build"
2022-09-05 13:23:16 +00:00
Moonchild
8d79be38cc
Revert "Issue #1676 - Part 10: Split gc sources out of js/src/moz.build"
...
This reverts commit 65eac50e2d .
2022-09-05 13:16:15 +00:00
Moonchild
55c83585d0
Revert "Issue #1676 - Part 11: Split irregexp sources out of js/src/moz.build"
...
This reverts commit 3d9bf5d7a3 .
2022-09-05 13:15:38 +00:00
Moonchild
0ac1b38920
Revert "Issue #1676 - Part 12: Split jit sources out of js/src/moz.build"
...
This reverts commit 95e057e737 .
2022-09-05 13:15:10 +00:00
Moonchild
2d5b40a675
Revert "Issue #1676 - Part 13: Split perf sources out of js/src/moz.build"
...
This reverts commit 383bc182e3 .
2022-09-05 13:14:42 +00:00
Moonchild
cbfbaf026f
Revert "Issue #1676 - Part 14: Split proxy sources out of js/src/moz.build"
...
This reverts commit 6f76f1cb36 .
2022-09-05 13:14:16 +00:00
Moonchild
e17072f3ef
Revert "Issue #1676 - Part 15: Split threading sources out of js/src/moz.build"
...
This reverts commit 2f50f543a2 .
2022-09-05 13:13:49 +00:00
Moonchild
b2ac2b28e0
Revert "Issue #1676 - Part 16: Split WASM sources out of js/src/moz.build"
...
This reverts commit 1abc696f87 .
2022-09-05 13:13:23 +00:00
Moonchild
30a467bf67
Revert "Issue #1676 - Part 17: Put remaining source files which have debug code ifdef'd behind MOZ_DEBUG"
...
This reverts commit ff355fe9ac .
2022-09-05 13:12:57 +00:00
Moonchild
e1f7b842fe
Revert "Issue #1676 - Part 18: Move and separate top level sources from vm sources in js/src/moz.build"
...
This reverts commit 59511eb8dd .
2022-09-05 13:12:30 +00:00
Moonchild
42c4708b34
Revert "Issue #1676 - Part 19: Split ctypes sources out of js/src/moz.build"
...
This reverts commit cdf46e803b .
2022-09-05 13:12:02 +00:00
Moonchild
7e80662a24
Revert "Issue #1676 - Part 20: Split vtune sources out of js/src/moz.build"
...
This reverts commit fd1b2dc2b1 .
2022-09-05 13:11:33 +00:00
Moonchild
982b7bf2a1
Revert "Issue #1676 - Follow-up: Put js/src (including vm), jit, and wasm back into unified sources."
...
This reverts commit a8a397fbce .
2022-09-05 13:10:47 +00:00
Moonchild
b1b57cefa3
Merge pull request 'Stop using deprecated ext/hash_map and FreeBSD/clang fixes.' ( #2001 ) from dbsoft/UXP:freebsdfix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2001
2022-09-05 11:13:36 +00:00
Brian Smith
6619e475ab
No issue - Fix OutputVariable visibility issue, when building with clang.
2022-09-05 04:47:15 -05:00
Brian Smith
f369fbd6f7
Issue #2000 - Stop using deprecated ext/hash_map.
...
This has been long deprecated in favor of std::unsorted_map. Since all platforms
are using modern compilers now it should not be a problem to switch over to
std::unsorted_map in the single place hash_map is used. This allows us to build
on platforms which have removed hash_map such as FreeBSD.
2022-09-04 23:05:10 -05:00
Brian Smith
2db2e0fe58
No issue - Fix FreeBSD NSS build by adding FreeBSD to the list.
2022-09-04 16:57:20 -05:00
Moonchild
92452d7614
Issue #80 - reinstated unified building for some large chunks of our code.
...
This should reduce compile complexity saving time and reducing linker stress.
2022-09-04 11:50:24 +00:00
Moonchild
74124f150b
Issue #1999 - Switch to the unorm2 API for String.normalize()
...
Resolves #1999
2022-09-02 19:29:43 +00:00
Moonchild
4078c2dd1e
Merge pull request 'Support EventSource in workers' ( #1997 ) from dbsoft/UXP:1990fix2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1997
2022-09-01 20:56:43 +00:00
Moonchild
6638cc1e6d
[No issue] Don't use gfxXlibSurface in GLContextGLX.
2022-08-31 11:46:12 +00:00
Moonchild
ea31efd98e
Merge pull request 'Fix a couple miscellaneous Mac specific issues.' ( #1998 ) from dbsoft/UXP:macfixes into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1998
2022-08-30 07:55:06 +00:00
Brian Smith
5f1ef110ff
No Issue - Fix building with WebRTC enabled on non-Intel Macs.
...
int3 is Intel only, so don't use it on ARM, use __builtin_trap() instead.
2022-08-29 18:30:39 -05:00
Brian Smith
6d127920f8
No Issue - Fix building on MacOS Big Sur.
...
The python binary copied reports a valid signature on Big Sur and thus codesign fails.
Add the -f option so it overwrites the supposedly valid signature. Other versions are
either already unsigned or the install_name_tool invalidates the signature.
2022-08-29 18:22:25 -05:00
Moonchild
b1d148fd52
Issue #1996 - Implement at() method on built-in indexables.
...
Resolves #1996
2022-08-29 21:52:04 +00:00
Moonchild
51204afc90
Issue #1956 - Fix C++ code standard conformance issue in webaudio
2022-08-29 01:01:43 +00:00
Moonchild
6d0df6d506
Issue #1956 - Fix C++ code standard conformance issue in StoreBuffer.h
2022-08-28 15:04:19 +00:00
Brian Smith
860800629b
Issue #1990 - Part 6 - Fix for infinite loop from Release() on shutdown worker.
...
If the worker is shut down, call Cancel() on the Runnable, this will prevent
nsInputStreamReadyEvents to be called again when deallocated.
2022-08-26 14:21:47 -05:00
Moonchild
ce11609fe9
Merge pull request 'Support TURN TLS in WebRTC' ( #1993 ) from Basilisk-Dev/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1993
2022-08-26 16:10:54 +00:00
Brian Smith
d6f18548a6
Issue #1990 - Part 5 - Common up the skippability implementations that are basically copy/pastes of the DOMEventTargetHelper one.
...
Mozilla Bug Bug 1333540. Skipped the renamed of various functions, but otherwise a direct port.
2022-08-25 21:59:08 -05:00
Moonchild
29c1150eef
Issue #1975 - Follow-up: Enable Origin header on same-origin by default.
...
I've used this setting without ill effects for weeks, including visiting
many a cloudflare-backed site. There is no issue there.
2022-08-24 02:48:44 +02:00
Moonchild
db1c5741cd
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2022-08-24 00:51:48 +02:00
Moonchild
0488d0b40b
Issue #1994 - Align CSS.supports with the current spec.
...
The current spec makes "implicit" parentheses a thing for feeding
css strings to CSS.supports()
The current spec also implies CSS is a namespace, not an interface
2022-08-24 00:50:36 +02:00
Brian Smith
bbc3e455b0
Issue #1990 - Part 4 - Add a number of Mozilla patches from between Part 1 and 2.
...
1334081 - prevent null pointer dereference in StreamReaderFunc.
1330631 - Convert the EventSourceImpl::Message to be UniquePtr.
1337619 - Reset mGoingToDispatchAllMessages flag before early return.
2022-08-22 13:23:34 -05:00
Basilisk-Dev
aacd52f00f
Issue #1991 - backport Mozilla bug 1266667
2022-08-20 22:08:28 -04:00
Basilisk-Dev
0dad0315dd
Issue #1991 - Remove console log stating TURNS is not supported
...
Port of Mozilla bug 1383575
2022-08-20 14:23:06 -04:00
Basilisk-Dev
d49569ca0d
Issue #1991 - Support TURN TLS Support in WebRTC
...
Backport of Mozilla bug 1056934
2022-08-20 14:21:43 -04:00
Moonchild
d262539fb9
Merge pull request 'Use logical coordinates in flex containers.' ( #1987 ) from athenian200/UXP:flex-container-changes into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1987
2022-08-20 11:59:03 +00:00
Brian Smith
3596656ea4
Issue #1990 - Part 3 - Fix build issue due to missing nsIThreadRetargetableStreamListener definition.
2022-08-18 17:57:47 -05:00
Brian Smith
10dbd42596
Issue #1990 - Part 2 - Fix crash when incorrectly access EventSourceImpl::mEventSource. - Mozilla Bug 1333099
2022-08-18 16:35:40 -05:00
Brian Smith
b52731f9e0
Issue #1990 - Part 1 - EventSource for workers - Mozilla Bug 1267903
2022-08-18 16:30:38 -05:00
Jeremy Andrews
2fc5e3ad7d
Issue #1986 - Add in reftests for new behavior.
...
Almost forgot to do this. This is in case we need to revisit this for
regressions in the future and the tests are not available online. Never know
when they might come in handy again.
2022-08-18 13:27:43 -05:00
Jeremy Andrews
544366e301
Issue #1988 - Use libc's arc4random where available.
...
Configure was defining HAVE_ARC4RANDOM_BUF on systems that have it this whole
time, so the OS specific ifdefs weren't necessary. Maybe the flag that was in
the original patch was an obsolete name for that flag...
2022-08-17 20:43:57 -05:00
Jeremy Andrews
ef4eb3f926
Issue #1986 - Part 2: Add IsItemInlineAxisMainAxis() and rework some nsFrame code.
...
It turns out part 10 was actually needed, but Bug 1449838 had a significantly
better version of what that code does that was easy enough to backport to what
we have. As far as I can tell, this passes the relevant reftests now.
2022-08-16 16:11:48 -05:00
Jeremy Andrews
2a57b39dbc
Issue #1986 - Use logical coordinates in flex containers.
...
This mostly reworks the way nsFlexContainerFrame handles things so that it can
deal with more than just height.
2022-08-16 02:14:53 -05:00
Jeremy Andrews
50bd3acb5b
Issue #1970 - Follow-up: Better fix for Unix that works on newer GCC.
...
My previous fix apparently only worked with GCC 7. Having that return at the
end doesn't seem to hurt anything on Windows, so I see no reason to ifdef it.
I don't remember where I heard this, but I vaguely remember hearing that
ending a function without a return statement may be undefined behavior that
differs between compilers and operating systems. If so, that would explain why
this has behaved so differently across platforms and compilers.
2022-08-13 11:44:09 -05:00
Jeremy Andrews
8fa66368a0
Issue #1970 - Follow-up: Fix GTK3 build for SunOS and CentOS.
...
This seems to work for me, but I haven't tested anything else yet. Still, seems better to have a fix in the tree than to leave it as-is.
2022-08-13 06:47:27 -05:00
Moonchild
d3f82662f5
No issue - Remove directive 4
...
This was a control issue way back when. Since this only really relates to
deviating build configs anymore and no longer to critical system libs of note,
there's no point in retaining this overbearing control through build errors.
People have clear instructions how to build - it is their responsibility to
stick to those.
2022-08-11 19:33:34 +00:00
Jeremy Andrews
7a2f786e0c
Issue #1956 - Account for multiple DLL files in newer CRT.
...
The wildcard seems to work well here for getting files included in the
final target.
2022-08-03 08:53:40 -05:00
Moonchild
a5696dc110
Merge pull request 'Issue #1982 - Fix libopus webrtc build breakage' ( #1983 ) from Basilisk-Dev/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1983
2022-07-30 20:20:17 +00:00
Basilisk-Dev
eab116cde1
Issue #1982 - Fix libopus webrtc build breakage
2022-07-30 15:36:03 -04:00
Moonchild
a46ea601f7
Merge pull request 'Fix build bustage for applications where WebRTC building is enabled.' ( #1981 ) from jobbautista9/UXP:1980-rtcfix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1981
2022-07-30 07:21:46 +00:00
Job Bautista
fad8235ad2
Issue #1980 - Fix build bustage for applications where WebRTC building is enabled.
...
Turns out we have a duplicate VoidFunction callback in the WebIDLs. Per
Mozilla bug 1324169, we should remove this callback from
RTCPeerConnection.webidl and let Function.webidl handle it instead.
The AttributeError faced by the new Basilisk dev wasn't helpful at all;
and turns out Mozilla had this exact same issue on bug 1505504. We're
also backporting that just in case we encounter another case of
callback duplication.
Also doing a minor fix in the MicroTaskRunnable class which Moonchild
forgot to do while working on Issue #1895 .
2022-07-30 13:24:40 +08:00
Moonchild
32c8246e16
Merge pull request 'Revert "Issue #1806 - Follow-up: Fix WebRTC issues with cubeb update."' ( #1979 ) from Basilisk-Dev/UXP:master into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1979
2022-07-29 18:00:14 +00:00
Basilisk-Dev
27bbc35768
Revert "Issue #1806 - Follow-up: Fix WebRTC issues with cubeb update."
...
This reverts commit d0acadd727 .
2022-07-29 13:14:25 -04:00
Moonchild
d60f501490
Merge branch '1970-form-focusring-styling'
2022-07-29 13:24:43 +00:00
Moonchild
900107da1b
Merge pull request 'Allow WAV into media document.' ( #1978 ) from jobbautista9/UXP:1977-wav-videodocument into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1978
Reviewed-by: Moonchild <moonchild@palemoon.org >
2022-07-29 13:10:12 +00:00
Job Bautista
8a10b7bf8b
Issue #1977 - Bring back old behavior behind a pref.
...
I've thought about this before creating the issue, and Moonchild
wanted this as well.
2022-07-29 20:14:27 +08:00
Jeremy Andrews
b673400639
Issue #1312 - Fix potential crashes in MailNews.
...
These are straightforward, one-line changes with no obvious dependencies. Probably could have been taken a long time ago.
Ref: BZ 1638634, 1606091
2022-07-28 08:50:59 -05:00
Job Bautista
28e73defa3
Issue #1977 - Allow WAV into media document.
...
Based on https://hg.mozilla.org/integration/mozilla-inbound/rev/b3f7abd15aeb
2022-07-27 14:16:57 +08:00
Moonchild
cfe63a2434
[NSS] Version bump
2022-07-27 04:47:25 +00:00
Moonchild
0aa19bce59
[NSS] Fix uninitialized value in cert_ComputeCertType.
2022-07-27 04:42:20 +00:00
Moonchild
ef4a433814
[NSS] Avoid potential data race on primary password change.
2022-07-27 04:17:05 +00:00
Moonchild
713d6ed1b4
[NSS] protect SFTKSlot needLogin with slotLock.
2022-07-27 03:06:40 +00:00
Moonchild
515ba7c887
[DOM] Add extra check for performance API Next Hop protocol
2022-07-27 02:39:58 +00:00
Moonchild
562ff3e9ab
Merge pull request 'Implement Origin header CSRF mitigation.' ( #1976 ) from jobbautista9/UXP:origin-csrf into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1976
2022-07-25 20:41:23 +00:00
Moonchild
7802bdb5f7
Merge pull request 'Implement Intl.RelativeTimeFormat.' ( #1974 ) from jobbautista9/UXP:1969-relativetimeformat-take3 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1974
2022-07-25 13:44:43 +00:00
Job Bautista
b20b9797dc
Issue #1975 - Implement Origin header CSRF mitigation.
...
Backported from Mozilla bug 446344.
2022-07-25 18:56:46 +08:00
Job Bautista
824c2f0d40
Issue #1969 - Implement Intl.RelativeTimeFormat.
...
Based on Mozilla bugs 1270140, 1504656, 1483545, and 1504334.
Took note of Mozilla bug 1379222 which changed GetPrototypeFromCallableConstructor
to GetPrototypeFromBuiltinConstructor.
There are many other changes I did myself since the initial implementation by
Mozilla wouldn't work with this codebase.
2022-07-25 14:07:36 +08:00
Moonchild
6542ca6bcd
Merge pull request 'Upgrade ICU to 63.2 and Unicode to 11.0' ( #1973 ) from jobbautista9/UXP:1971-icu63-forreal into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1973
2022-07-24 20:31:14 +00:00
Moonchild
b395befdbd
Bump platform version
2022-07-24 17:53:25 +00:00
Moonchild
071412ab29
Issue #1970 - Part 7: Restore proper spacing in select for CJK/asian
...
The issue is that select elements may contain some non-Latin characters that
need extra block-size to display than the one line-height calculated by using a
Latin font spec in the style.
Before this patch, when a control has an unconstrained block-size, we set
the element's block-size to one line-height in Reflow(), which is intended to
properly initialize `BlockReflowInput::mMinLineHeight` since it uses
`line-height:-moz-block-height`.
However, this simply prevents the display from choosing a larger block-size
after the reflow occurs. Previously, this discrepancy was absorbed by the extra
padding present to make select elements the same intrinsic size as buttons, but
since we did away with that, we're losing the extra space and the font glyphs
get clipped.
This patch fixes the issue by carrying the computed line height over to the
element's display so that its computed block-size is still unconstrained.
This way it can accommodate taller characters in the display text.
After this patch, a <select><option> containing non-Latin characters should have
the same block-size as <button>, and no characters should be clipped.
2022-07-24 17:25:36 +00:00
Job Bautista
b9454f2887
Issue #1971 - Part 6: Updating ICU requires a clobber.
2022-07-24 21:09:52 +08:00
Job Bautista
3b93fb3645
Issue #1971 - Part 5: Update Spidermonkey for Unicode 11.
...
I forgot to do this while working on issue #326 .
2022-07-24 21:09:02 +08:00
Job Bautista
b6185a27f2
Issue #1971 - Part 4: Generated files for Unicode 11.0.
2022-07-24 21:07:13 +08:00
Job Bautista
be2e0f9830
Issue #1971 - Part 3: Update unicharutil perl scripts for Unicode 11 upgrade.
...
ICU 62 (and therefore 63) requires at least Unicode 11.
2022-07-24 21:05:07 +08:00
Job Bautista
62636946ff
Issue #1971 - Part 2: Update ICU source to 63.2.
2022-07-24 21:03:27 +08:00
Job Bautista
970b041574
Issue #1971 - Part 1: Update build system for ICU 63.2 upgrade.
2022-07-24 20:54:59 +08:00
Moonchild
5487515bca
Issue #1970 - Part 6: Rename CalcLineHeight(), and cache used line height
...
To better distinguish the calculation of line height (still present with args)
and simply getting the line height without args, it's now called GetLineHeight()
This also introduces `mLineHeight` to cache specifically calculated line heights
that aren't "auto" (which is a magic value), and it opens up the possibility to
override it in Part 7.
2022-07-23 23:35:18 +00:00
Moonchild
5dace0043a
Issue #1970 - Part 5: Move combobox/select padding to the select rule.
...
This doesn't change behavior by default but allows authors to remove the padding
previously enforced to align with focus ring padding, if they wish to.
2022-07-23 17:36:23 +00:00
Jeremy Andrews
3f0dc49164
Issue #1962 - Follow-up: Fix 32-bit build and remove unused clang-cl codepath.
2022-07-23 07:17:30 -05:00
Job Bautista
81f3903598
Issue #1962 - Follow-up: Fix build issues on Windows.
...
Do not pass -Wno-type-limits to MSVC.
Restore MSVC check for x86_vc
2022-07-22 21:23:21 +00:00
Job Bautista
6957412ab5
Issue #1962 - Update libtheora.
...
Removed some obsolete patches that were either backports from newer
svn revisions, or a fix for older, non-applicable assemblers.
Update our own README to account for upstream's migration to git.
I didn't remove the bug 703135 patch as it's for MSVC it seems, and
we still use MSVC for Windows.
Also deleted some unneeded upstream code deleted by Mozilla as well.
2022-07-22 21:23:07 +00:00
Moonchild
fa714cba35
Issue #1970 - Part 4: Don't overflow -moz-focus-inner border.
2022-07-22 18:25:57 +00:00
Moonchild
d73c4c046d
Issue #1970 - Part 3: Update reftests.
2022-07-22 18:23:50 +00:00
Moonchild
3d954cb29c
Issue #1970 - Part 2: Remove the extra padding on buttons
...
Extra padding was created for a prospective -moz-focus-inner ring.
We now just size that ring the same as the content frame, inflated by its CSS
padding.
2022-07-22 15:06:19 +00:00
Moonchild
1aa650b8ac
Issue #1970 - Part 1: Remove unused moz-focus-outer code for buttons.
2022-07-22 14:47:45 +00:00
Moonchild
e6b3e4ebed
Revert "Issue #1962 - Update libtheora."
...
This reverts commit bd497f7f83 .
2022-07-22 14:45:49 +00:00
Moonchild
a7a76f9a29
Merge pull request 'Update libtremor.' ( #1965 ) from jobbautista9/UXP:tremor-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1965
2022-07-22 08:01:42 +00:00
Moonchild
590835c616
Merge pull request 'Update libtheora.' ( #1963 ) from jobbautista9/UXP:theora-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1963
2022-07-22 08:01:22 +00:00
Moonchild
3bb273771a
Merge pull request 'Remove mozprotocol handler.' ( #1968 ) from jobbautista9/UXP:mozprotocol-remove into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1968
2022-07-22 08:01:10 +00:00
Job Bautista
ba7b5589ab
Issue #1967 - Remove moz://a from mochitest
...
While we don't use mochitest AFAIK, we still want a clean removal.
2022-07-22 15:53:06 +08:00
Job Bautista
69a867fd3a
Issue #1967 - Remove mozprotocol handler (moz://a easter egg).
2022-07-22 10:40:33 +08:00
Moonchild
c6c045a7f7
Issue #1966 - Remove support for Firefox Marketplace "apps"
...
Because UXP may be a platform, but it's not a mobile OS.
2022-07-22 02:30:42 +00:00
Moonchild
a5421542e5
Issue #1837 - Remove unused build back-ends from the tree.
...
This leaves just use of recursive make to build applications.
2022-07-21 08:39:43 +00:00
Job Bautista
aa3828319a
Issue #1964 - Update libtremor.
...
Also removed mozilla patches that are already applied upstream.
2022-07-19 21:59:34 +08:00
Job Bautista
bd497f7f83
Issue #1962 - Update libtheora.
...
Removed some obsolete patches that were either backports from newer
svn revisions, or a fix for older, non-applicable assemblers.
Update our own README to account for upstream's migration to git.
I didn't remove the bug 703135 patch as it's for MSVC it seems, and
we still use MSVC for Windows.
Also deleted some unneeded upstream code deleted by Mozilla as well.
2022-07-19 17:26:42 +08:00
Moonchild
9800079bc2
Merge pull request 'Improve stack size limits for all targets.' ( #1961 ) from 1805-stacksize into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1961
2022-07-17 06:42:01 +00:00
Jeremy Andrews
8442b959f8
Merge branch 'master' of https://repo.palemoon.org/MoonchildProductions/UXP
2022-07-16 11:12:01 -05:00
Jeremy Andrews
ef89146385
Issue #1956 - Work around UTF-8 issue when parsing JSON with Python 2 on some Windows environments.
...
This is a known issue with Python 2 interacting badly with some Windows configurations. Mozilla encountered it as well.
Ref: BZ 1362872
2022-07-16 11:07:35 -05:00
Moonchild
286e7ac205
Issue #1960 - Convert async property syntax to async function syntax in
...
DownloadUIHelper.jsm
2022-07-16 01:14:44 +00:00
Moonchild
f63a7ee3fd
Issue #1805 - Follow-up: Include the same headers for Solaris as well to
...
future-proof gcc versions.
2022-07-15 19:48:18 +00:00
Moonchild
325a49588a
Issue #1805 - Follow-up: provide for Linux builds using rlimit and min/max.
2022-07-15 16:03:43 +00:00
Moonchild
00f22ddbe6
Issue #1805 - Improve stack size limits for all targets.
...
This allows us to use a greater rendering depth for exceedingly-deep DOM trees
in layout, better matching what mainstream browsers are capable of. Note that
for 32-bit Windows the stack size MUST be set to larger than the default or Bad
Things Will Happen™ - we use 1.5 MB for this as a carefully-tuned value.
This needs to be capped specifically for JS use because some JavaScript
obfuscators deliberately trigger stack overflows and would lock up the browser
otherwise as long as there's still stack space to abuse. For web compatibility
we therefore limit this to 2MB in JS only (3x for ASAN) while still allowing
a greater depth for the layout engine.
2022-07-15 11:56:12 +00:00
Jeremy Andrews
dcb027a718
Issue #1956 - Allow debugger to work on newer MSVC.
...
Newer MSVC was failing to find the devenv executable for ./mach run --debug
This isn't the prettiest solution, but at least it's better than just relying
on a hardcoded path.
2022-07-14 23:03:39 -05:00
Moonchild
08c90e00b9
Merge remote-tracking branch 'athenian200/msvc2022-linker-fix'
2022-07-12 15:46:40 +00:00
Moonchild
9ef5006592
Issue #1959 - Don't apply CSPs to explicit data documents and images.
...
This resolves #1959
2022-07-12 12:48:06 +00:00
Jeremy Andrews
61f1adc54d
Issue #1956 - Fix symbol visibility issue more elegantly.
...
All it needed was __declspec(dllexport) on the function I was copy/pasting all over the place...
2022-07-12 01:39:20 -05:00
athenian200
68bfe68581
No Issue - Insert missing typedef for SunOS.
...
We definitely have uint64_t on SunOS. Someone probably just forgot to finish filling out the list...
2022-07-09 12:38:53 +00:00
Jeremy Andrews
1fadb7fa2f
Issue #1956 - Use preprocessor to work around strange template behavior with 32-bit MSVC2022.
2022-07-06 12:52:23 -05:00
Jeremy Andrews
de383de310
Issue #1956 - Follow-up: Fix weird linker issue on 32-bit MSVC2022.
...
I moved Range<bool>::Merge and Range<bool>::FinalizeMerge from MediaTrackConstraints.cpp, into MediaTrackConstraints.h. The header file previously contained only a forward declaration of functions implemented in the .cpp, which can be a problem if other parts of the program are including this header expecting to find the function.
2022-07-05 22:19:08 -05:00
Moonchild
c29f3e8dba
Merge pull request 'Issue #1956 - Fix AV1 on MSVC2022 32-bit build.' ( #1958 ) from athenian200/UXP:libaom_msvc2022_fix into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1958
Reviewed-by: Moonchild <moonchild@palemoon.org >
2022-07-05 11:35:48 +00:00
Jeremy Andrews
932335ea76
Issue #1956 - Fix AV1 on MSVC2022 32-bit build.
2022-07-05 06:16:00 -05:00
Moonchild
ac9e93e5e6
[XPCOM] Crash safely when TArray replacements are OOB.
...
In the unlikely event of TArray element replacement calls are OOB, crash safely
with a debug breakpoint instead of corrupting memory.
2022-07-03 15:38:40 +00:00
Moonchild
2485e982f3
[DOM] use the sanitizer to restrict href in svg:use to fragment-only URLs
2022-07-03 15:37:58 +00:00
Moonchild
ae9de9b891
[network] Clear PAC loader when the load failed
2022-07-03 12:28:57 +00:00
Moonchild
438c04383f
Update NSS to 3.52.7
2022-07-03 11:30:19 +00:00
Moonchild
c830a5f497
[DOM media] Remove potentially unsafe type accesses when debug logging
2022-07-03 10:21:06 +00:00
Moonchild
164800800d
[network] Clean up and update the list of external protocol handlers.
2022-07-03 08:12:45 +00:00
Moonchild
c4e16d8b64
Merge pull request 'Allow building with newer MSVC versions.' ( #1955 ) from athenian200/UXP:msvc-detection-update into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1955
2022-07-02 21:51:14 +00:00
Jeremy Andrews
057c632bee
Issue #1956 - Allow building with newer MSVC versions.
2022-07-02 13:05:26 -05:00
Moonchild
049feac2c8
Merge pull request 'Backport Function.toString changes' ( #1954 ) from martok/UXP-contrib:1952-proxy into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1954
2022-07-02 16:04:39 +00:00
Martok
9221d44207
Issue #1952 - m-c 1440468: Proxied functions can't be passed to Function.prototype.toString.call()
2022-07-01 20:25:05 +02:00
Martok
4bf20fc91e
Issue #1952 - m-c 1383775: Clean up function toString/toSource code, remove remnants of source decompiler
2022-07-01 20:25:01 +02:00
Martok
2a10574d76
Issue #1952 - m-c 1380962/2: Remove unnecessary lambda function in FunctionToString
2022-07-01 20:24:52 +02:00
Martok
16b11770a1
Issue #1952 - m-c 1380962/1: Merge append calls when assembling the source string for native functions
2022-07-01 20:21:54 +02:00
Martok
7277d7c6d7
Issue #1952 - m-c 1371593: Avoid repeated string atomizations when retrieving the unresolved name of a bound function
2022-07-01 20:21:43 +02:00
Martok
0fe63b74b1
Issue #1952 - m-c 1365387: Optimize FinishBoundFunctionInit by delaying atomizing the function name
2022-07-01 20:21:22 +02:00
Moonchild
07689ab83f
Merge pull request 'Update soundtouch library to 2.3.1' ( #1951 ) from jobbautista9/UXP:soundtouch-take2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1951
Reviewed-by: Moonchild <moonchild@palemoon.org >
2022-07-01 12:20:55 +00:00
Moonchild
77e923c146
Merge pull request 'Update nestegg library' ( #1950 ) from jobbautista9/UXP:nestegg into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1950
Reviewed-by: Moonchild <moonchild@palemoon.org >
2022-07-01 11:55:05 +00:00
Job Bautista
10a37f462e
Issue #1769 - Follow-up: Put JXL_DEPRECATED in front of types
...
This fixes building with Clang on Mac.
I also separated our changes to JXL_DEPRECATED into a patch file.
2022-06-30 13:55:14 +08:00
Job Bautista
2d4950d2ae
Issue #1949 - Part 2: Disable exceptions in soundtouch's STTypes.h.
...
I don't know how Mozilla was able to build this without defining
ST_NO_EXCEPTION_HANDLING, but looks like we have to do it so that
the compiler doesn't complain about -fno-exceptions
2022-06-30 10:49:38 +08:00
Job Bautista
6056469e41
Issue #1949 - Part 1: Update soundtouch library to 2.3.1.
2022-06-30 10:48:26 +08:00
Job Bautista
8a92f69986
Issue #1948 - Update nestegg library.
...
I separated out the AVC and AAC support code into a patch file so that
the upstream code can be updated freely without having to re-add AVC
and AAC support again. At least if the upstream changes are not too
extensive...
This should effectively backport Mozilla bug 1539686, which allows the
browser to parse the color information from WebM videos that uses HDR.
2022-06-30 10:31:31 +08:00
Job Bautista
922edb1d93
Issue #1769 - Follow-up: Fix typo in MOZ_ARG_ENABLE_BOOL
...
Silly copy-paste mistake from AV1
2022-06-29 13:53:11 +08:00
Job Bautista
cba46e5628
Issue #1769 - Part 1 Follow-up: Use standard [[deprecated]] for JXL_DEPRECATED.
...
This fixes building with MSVC for Windows.
2022-06-29 13:53:11 +08:00
Job Bautista
3173108a3f
Issue #1769 - Part 2 Follow-up: Do not use namespace parent::child {} for defining nested namespaces.
...
It doesn't build for MSVC on Windows. Also other decoders are using the old
way for defining nested namespaces, so better be consistent here.
2022-06-29 13:53:10 +08:00
Job Bautista
5f4d519194
Issue #1769 - Part 1 Follow-up: Tidy up moz.build for highway and libjxl
...
highway upstream added a new header file to be included in highway.h after
0.15.0 it seems, so we have to account for that in moz.build.
Also brought back allowing compiler warnings for libjxl and highway.
Apparently the equivalent of AllowCompilerWarnings() is a bool whose name
is UPPERCASE and uses under_scores instead of CamelCase.
2022-06-29 13:53:10 +08:00
Job Bautista
2ad17268ed
Issue #1769 - Part 3: Cleanup nsJXLDecoder.
...
The mp4parse Rust component has been removed in Issue #58 . It doesn't seem
like the decoder uses any mp4parse function, so seems like it's safe to
remove it.
Removed const DecoderType named GetType() because we don't have it in our
Decoder.h.
I've decided to abandon the OS_RGBA backporting effort and instead went for
using OS_RGBA's value which is R8G8B8A8. Turns out that there is much more
going on in Mozilla's version of CreateSurfacePipe than I've expected, like
the aInFormat and aOutFormat thing which I really don't want to delve into
right now. Looking at the code it looks like all JPEG-XL images are expected
to have an alpha channel anyway, so I think my workaround should be safe.
I also removed the dependency in OrientedIntSize and used Size() from gfx/2d/
Point.h like our PNG and GIF decoders currently do. Migrating our decoders
to OrientedInt types should be done in another PR instead.
Also also changed the coding style to be closer to UXP's.
Also also also, I made a mistake in Part 1's commit message; the commit used
for libjxl is 192ddd90fdf0c69cd1db1c8d7850db036dd87f4b.
2022-06-29 13:53:10 +08:00
Job Bautista
888c35be89
Issue #1769 - Part 2: Implement JPEG-XL decoder and about:config and MIME plumbing.
...
Backported from Mozilla bug 1707590 whereever possible.
2022-06-29 13:53:09 +08:00
Job Bautista
73e06b6df9
Issue #1769 - Part 1: Add vendored libjxl and highway sources.
...
Used old-configure to add the build option for enabling JPEG-XL support.
Highway version: 0.17.0
libjxl version: tree of commit 318c592d98b97d103941b90d47107f06a10c71da
2022-06-29 13:53:09 +08:00
Moonchild
8c1064bc1c
Merge pull request 'Update libaom to 3.4.0' ( #1938 ) from jobbautista9/UXP:aom into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1938
2022-06-28 17:09:53 +00:00
Job Bautista
5654295d83
Issue #1937 - Follow-up: Remove some unnecessary includes and sources from sources.mozbuild
...
These were used only by the encoder, which has been excluded from the build.
2022-06-28 19:20:29 +08:00
Moonchild
e6baad1f5f
Issue #1937 - Follow-up: Exclude aom_encoder.c/h from our build
...
We don't need an encoder!
2022-06-28 19:09:45 +08:00
Moonchild
0051421990
Merge pull request 'Fix volume handling in sndio backend.' ( #1945 ) from jobbautista9/UXP:sndio-volumehandling into master
...
Untested by me but assuming this all works as it's straightforward enough of a change otherwise.
2022-06-28 09:19:07 +00:00
Moonchild
58e418aeb0
Merge pull request 'Fix building libjpeg-turbo on ARM.' ( #1947 ) from jobbautista9/UXP:libjpeg into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1947
2022-06-28 00:02:38 +00:00
Moonchild
904af3005d
Issue #21 - Follow-up: Remove some left-over telemetry plumbing.
2022-06-27 08:03:48 +00:00
Moonchild
7e5ab94e0c
Issue #1053 - Follow-up: Correct conditional define on POSIX systems.
...
This conditional was incorrectly changed when removing Android support.
This potentially causes issues on Linux systems by not using pthreads correctly,
which may lead to high idle CPU usage.
2022-06-27 08:02:42 +00:00
Job Bautista
ae8639dc24
Issue #1933 - Follow-up: Remove cmakedefine directives from neon-compat.h.
...
Apparently it wasn't preprocessed yet. Just took the version from
mozilla-central, and it worked, according to dbsoft.
2022-06-27 14:10:21 +08:00
Job Bautista
c56a635ba2
Issue #1937 - Follow-up: Add missing sources, and remove unneeded ones in sources.mozbuild
...
This should (hopefully) fix building for Windows.
The ones I removed are not used for decoding, but for encoding, which
we don't need.
2022-06-27 10:11:33 +08:00
Job Bautista
f8767c563d
Issue #1933 - Follow-up: Fix building on ARM.
...
neon-compat should be imported as a .h header, not an .in file.
2022-06-27 09:10:56 +08:00
Job Bautista
79e782e53f
Issue #1944 - Follow-up: Make it clear that volume is a float.
...
1. => 1.0, 0. => 0.0
2022-06-27 02:14:05 +08:00
Job Bautista
adafcc36fc
Issue #1937 - Follow-up: Add missing sources and includes in sources.mozbuild
2022-06-27 02:07:45 +08:00
Job Bautista
411e6879ee
Issue #1937 - Follow-up: Fix sources.mozbuild not having exports
...
Thankfully I already redundantly edited this file myself before to
account for updates in the source, and backed this up to another
location just in case the shell script breaks my build files,
which it did!
2022-06-26 22:42:56 +08:00
Moonchild
9a52ed3bfb
Merge pull request 'Update libvorbis to 1.3.7' ( #1942 ) from jobbautista9/UXP:vorbis37 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1942
2022-06-26 11:48:09 +00:00
Moonchild
a08f152454
Merge pull request 'Update libwebp to 1.2.2' ( #1940 ) from jobbautista9/UXP:libwebp into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1940
2022-06-26 11:47:44 +00:00
Moonchild
20c80bcbc1
Merge pull request 'Update libogg to 1.3.5' ( #1936 ) from jobbautista9/UXP:libogg into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1936
2022-06-26 11:47:07 +00:00
Moonchild
016efb9f37
Merge pull request 'Update libjpeg-turbo to 2.1.3' ( #1934 ) from jobbautista9/UXP:libjpeg into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1934
2022-06-26 11:46:49 +00:00
Moonchild
dcddfbe7af
Merge pull request 'Remove support for non-ICU unicode character property tables.' ( #1932 ) from jobbautista9/UXP:326-nukenonicu into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1932
2022-06-26 11:41:56 +00:00
Moonchild
4a1f2294a5
Merge pull request 'Update Unicode to version 10.0, and UTR-50 data to version 17' ( #1931 ) from jobbautista9/UXP:326-u10-take2 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1931
2022-06-26 11:41:11 +00:00
Job Bautista
f9e0ed9849
Issue #1944 - Fix volume handling in sndio backend.
...
Backported from Mozilla bug 1467882.
2022-06-26 19:20:24 +08:00
Job Bautista
61cd8ae52b
Issue #1941 - Update libvorbis to 1.3.7.
2022-06-26 14:12:52 +08:00
Job Bautista
76f825276d
Issue #1939 - Part 2: Update libwebp source.
2022-06-26 12:52:04 +08:00
Job Bautista
3c7fcec8a0
Issue #1939 - Part 1: Update build system for libwebp.
2022-06-26 12:51:41 +08:00
Job Bautista
b900a6e486
Issue #1937 - Part 2: Update libaom source.
2022-06-25 18:15:40 +08:00
Job Bautista
e3fd2e48e0
Issue #1937 - Part 1: Update build system for libaom.
2022-06-25 18:15:10 +08:00
Job Bautista
a2cc16a276
Issue #1935 - Update libogg to 1.3.5
...
I've also added some notes in the update.sh script that should've been
documented, as well as changed README to README.md which Mozilla
somehow forgot to do when they updated to 1.3.3...
2022-06-25 11:31:22 +08:00
Job Bautista
c6c6ba4e2d
Issue #1933 - Part 2: Update libjpeg-turbo source.
2022-06-24 22:35:22 +08:00
Job Bautista
0f61aed51f
Issue #1933 - Part 1: Update build system for libjpeg-turbo.
2022-06-24 22:33:06 +08:00
Job Bautista
2c92077deb
Issue #326 - Part 6: Regenerate Unicode data tables with the stripped-down tool
2022-06-23 15:45:09 +08:00
Job Bautista
fcc171ddb7
Issue #326 - Part 5: Simplify the genUnicodePropertyData.pl tool to generate only the data we need to supplement ICU properties
...
Backported from Mozilla bug 1402271.
Some removals were already done by Part 1b.
2022-06-23 15:44:03 +08:00
Job Bautista
bbb68510ee
Issue #326 - Part 4: Update Unicode data to release 10.0
...
genUnicodePropertyData.pl's output:
unknown ICU script MASARAM_GONDI at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2641.
unknown ICU script SOYOMBO at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2663.
unknown ICU script ZANABAZAR_SQUARE at ../tools/genUnicodePropertyData.pl line 442, <FH> line 2679.
Data for CharProp2 = 14864
Data for FullWidth = 2176
Data for FullWidthInverse = 2688
Total data = 19728
2022-06-23 13:28:04 +08:00
Job Bautista
d4d80438a3
Issue #326 - Part 3: Explicitly make the Script enum a 16-bit type
...
This is so we can add a field to gfxShapedWord without making it bigger.
Backported from Mozilla bug 1353000.
2022-06-23 13:23:20 +08:00
Moonchild
785a7c8198
Merge pull request 'Update Unicode to version 9.0, and UTR-50 data to version 16' ( #1929 ) from jobbautista9/UXP:326 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1929
2022-06-22 15:17:51 +00:00
Job Bautista
52da5f2644
Issue #326 - Part 2: Update UTR-50 data to version 16
...
Based on Mozilla bug 1288961.
2022-06-22 18:09:59 +08:00
Job Bautista
aabe1e7517
Issue #326 - Part 1c: Generated files for Unicode 9.0.
...
In order to generate these files, refer to
https://wiki.mozilla.org/I18n:Updating_Unicode_version
For those too lazy to go to the link (or if the link no longer works), we need the
following files from http://www.unicode.org/Public/9.0.0/ucd/ :
- UnicodeData.txt
- Scripts.txt
- EastAsianWidth.txt
- BidiMirroring.txt
- HangulSyllableType.txt
- SpecialCasing.txt
- ReadMe.txt (to record version/date of the UCD)
- Unihan_Variants.txt (from Unihan.zip)
As well as Identifier*.txt from http://www.unicode.org/Public/security/9.0.0/ ,
which should be put in a "security" subdirectory under the UCD folder, and
http://www.unicode.org/Public/vertical/revision-15/VerticalOrientation-15.txt put
in a "vertical" subdirectory.
I suggest downloading all files with GetEmAll, just in case.
Change the perl command a bit, as the guide seems to be outdated:
perl ../tools/genUnicodePropertyData.pl /path/to/platform/gfx/harfbuzz/src/ /path/to/platform/intl/icu/source/common/unicode/ /path/to/UCD-directory/
2022-06-22 18:07:24 +08:00
Job Bautista
bc08ae75fe
Issue #326 - Part 1b: Remove outdated ENABLE_INTL_API code.
...
ENABLE_INTL_API has been removed since Issue #324 .
2022-06-22 18:06:20 +08:00
Job Bautista
26adb1ff41
Issue #326 - Part 1a: Update character property table generator script for Unicode 9, and adjust APIs to fit the new identifier-type property model
...
Backported from Mozilla bug 1281448.
2022-06-22 16:38:14 +08:00
Moonchild
6558fea833
Merge pull request 'Update image/Orientation.h' ( #1927 ) from jobbautista9/UXP:1926 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1927
2022-06-21 16:14:08 +00:00
Moonchild
4af7884929
Merge pull request 'Collected ports for async functions in the JS parser' ( #1924 ) from martok/UXP-contrib:1918-asyncgenerator into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1924
2022-06-21 15:14:23 +00:00
Moonchild
27347bc827
Merge pull request 'Final set of Apple Silicon (ARM64) Macintosh changes.' ( #1923 ) from dbsoft/UXP:AppleARMPart4 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1923
2022-06-21 14:25:47 +00:00
Moonchild
e837b693ba
Merge pull request 'Table sticky and directionality handling improvements' ( #1922 ) from jobbautista9/UXP:1916-finalpr3 into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1922
2022-06-21 13:44:08 +00:00
Job Bautista
334c951f93
Issue #1926 - Update image/Orientation.h
2022-06-19 20:03:54 +08:00
Martok
324f6a0ea3
Issue #1918 - m-c 1353693: Correct parsing of async generator methods
2022-06-17 21:12:01 +02:00
Martok
a492c5bdb9
Issue #1918 - m-c 1353690: Properly exclude |await| from consideration as a |let| variable name in async functions, so that a newline between the two separates them into two distinct expressions.
2022-06-17 21:02:38 +02:00
Martok
5d0bc8e811
Issue #1918 - m-c 1345960: Handle shorthand property and destructuring with async keyword properly.
...
This was previously partially present, but got lost along the way
2022-06-17 21:00:15 +02:00
Martok
a90b552eb4
Issue #1918 - m-c 1358246: Report syntax error for stray "async" keyword in object literal property name.
2022-06-17 20:42:40 +02:00
Job Bautista
165df0f7b5
Issue #1916 - Part 3: Sticky/relative position fixes in nsTableWrapperFrame.
...
Backported from Mozilla bug 1472602.
Didn't include the change in StickyScrollContainer.cpp because it breaks
linking to libxul.so in the end. It's not important anyway.
2022-06-17 21:33:03 +08:00
Job Bautista
9842b6054c
Issue #1916 - Part 2: Add a flag to allow FinishReflowChild to handle relative positioning, and convert the caller for which this makes sense.
...
Backported from Mozilla bug 1547759.
2022-06-17 19:16:53 +08:00
Job Bautista
b3cacb2c3a
Issue #1916 - Part 1: Convert flags passed to ReflowChild, FinishReflowChild, etc into an enum class.
...
Backported from Mozilla bug 1571250.
2022-06-17 16:05:57 +08:00
Brian Smith
532cd0ae7a
Issue #1905 - Part 4d - Fix a crash calling a date and time function.
...
Fixed by updating the xptcinvoke ARM64 code to the latest Mozilla version.
2022-06-15 04:34:44 -05:00
Brian Smith
5e9342a622
Issue #1905 - Part 4c - Follow Firefox and Safari in reporting "Intel" for Mac ARM64 devices.
...
Based on Mozilla bug 1655285.
2022-06-15 01:29:53 -05:00
Brian Smith
f924d979d5
Issue #1905 - Part 4b - Fix issue loading the profile and saving changes to the profile.
...
Based on the following Mozilla bugs: 1659904, 1659905 and 1659077.
2022-06-15 01:27:04 -05:00
Brian Smith
2d9b9a9617
Issue #1905 - Part 4a - Change "as" test to "Apple" from "LLVM".
...
This will make this test Mac only, but it should work with any Xcode.
2022-06-15 01:16:15 -05:00
Moonchild
5652238ba8
Merge pull request 'Add Apple Silicon (ARM64) Mac Support' ( #1915 ) from dbsoft/UXP:AppleARM into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1915
2022-06-11 16:07:26 +00:00
Moonchild
a164537057
Merge pull request 'Ensure UpdateChecker and UpdateParser can handle empty manifest URLs.' ( #1913 ) from athenian200/UXP:1909_second_attempt into master
...
Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/1913
2022-06-11 16:05:53 +00:00
Jeremy Andrews
2b8f6866cb
Fix whitespace.
2022-06-10 19:43:12 -05:00
Brian Smith
0c99c0ca2e
Issue #1905 - Part 3k - Separate the GNU and LLVM-as tests.
...
While we should be able to test these together, I don't want to risk breakages on different *nixes.
2022-06-10 16:33:04 -05:00
Jeremy Andrews
ec277eacb8
Issue #1909 - Ensure UpdateChecker and UpdateParser can handle empty manifest URLs.
2022-06-10 12:54:15 -05:00
Moonchild
9ad788853f
Issue #1914 - Implement white-space: break-spaces
...
This also simplifies GetCSSWhitespaceToCompressionMode (FFS with the function
names, Mozilla!) to be less fragile.
2022-06-10 07:35:22 +00:00
Brian Smith
79c3747465
Issue #1905 - Part 3j - Rename the ARM64 assembly files to .S.
...
Missed the moz.build file in the last commit.
2022-06-10 02:00:29 -05:00
Brian Smith
90307d8552
Issue #1905 - Part 3i - Rename the ARM64 assembly files to .S.
...
Necessary because they now need to be preprocessed.
2022-06-10 01:53:05 -05:00
Brian Smith
0828fe1232
Issue #1905 - Part 3h - Fix breakages on other platforms.
...
Mac Intel broke due to incorrect FFI target_dir for Intel.
Linux and possibly other platforms use a secondary aclocal.m4 that still referenced ios.m4.
2022-06-10 01:28:08 -05:00
Brian Smith
a977ba55eb
Issue #1905 - Part 3g - Final set of changes connecting ARM64 support for Mac.
...
Back out some of the xptcstubs changes that are not viable for our codebase.
2022-06-09 22:05:20 -05:00
Brian Smith
8199a0d551
Issue #1905 - Part 3f - Collection of fixes connecting ARM support to the Mac build.
...
Also update ARM XPT code to add Mac/Apple support.
2022-06-09 18:08:04 -05:00
Brian Smith
6996115924
Issue #1905 - Part 3e - Fix NSPR build on ARM.
...
The dynamic loader had been falling through to the ancient PowerPC code without __aarch64__ #ifdef
2022-06-09 14:57:21 -05:00
Brian Smith
56ff5a50d4
Issue #1905 - Part 3d - Report GNU AS when the system "as" is LLVM-as.
...
LLVM as is generally compatible with GNU, this should allow ICU to build on ARM Macs.
2022-06-09 14:38:33 -05:00
Brian Smith
357463d9d7
Issue #1905 - Part 3c - Remove iOS from the rest of the configure system.
2022-06-09 14:35:28 -05:00
Brian Smith
e515299477
Issue #1905 - Part 3b - Remove iOS support from old-configure.
...
iOS is not really a viable target and Apple Silicon Macs report the same core system.
2022-06-09 14:19:05 -05:00
Brian Smith
ad1bd19571
Issue #1905 - Part 3a - Resign python binary ad-hoc since install_name_tool invalidates code signature.
...
The code signature is invalidated on Intel as well, but on ARM the binary fails to run with an invalid code signature error.
2022-06-09 14:12:00 -05:00
Moonchild
d8070a8e0d
Issue #1877 - Follow-up: Disable WMF VP9 decoding due to playback issues
...
On some systems this breaks frame pacing and causes stuttery playback,
especially in combination with MSE and stream switching/chunked delivery.
2022-06-08 19:00:30 +00:00
Moonchild
cd7fab2f80
Revert "Issue #1909 - Guard against empty update manifest URL"
...
This reverts commit d7fadcdef9 .
2022-06-07 11:58:39 +00:00
Jeremy Andrews
9733f9d2e5
[MailNews] Disable leftover Account Provisioner code.
2022-06-06 11:22:22 -05:00
Brian Smith
e65f15fb4c
Issue #1905 - Part 2c - Fix OpenGL crash caused by calling [NSOpenGLContext setView:] on the Compositor thread.
...
Starting with SDK 10.14 I believe, many functions have main thread checks, including setView: and update.
So we now move the code in the updateGLContext method into doDrawRect which runs on the main thread.
2022-06-04 17:13:45 -05:00
Jeremy Andrews
9c395967cc
[MailNews] Allow shift-clicking on Edit As New to edit a message as plaintext.
...
Ref: BZ 731688
2022-06-04 16:13:32 -05:00