1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-05-26 23:18:26 +00:00
Commit Graph

1019 Commits

Author SHA1 Message Date
Moonchild 75ec48bc41 Issue #2895 - Part 3: Add manual test.
To visually verify random uniformity and make a quick check on performance.
2026-01-13 23:54:02 +08:00
Moonchild 5a0f190104 Issue #2895 - Part 2: Remove incorrect debug asserts.
x86/x64 MacroAssembler front-end rotate functions had comparison asserts
that do not seem to be correct; values being the same doesn't mean the
same regs were used.
2026-01-13 23:50:16 +08:00
Moonchild d23afa84e5 Issue #2895 - Part 1b: Update license block.
Adjust the BSD 2-clause license in `ExecutableAllocator.h` to reflect
multiple authors.
2026-01-13 23:49:50 +08:00
Moonchild d4341ea07a Issue #2895 - Part 1: Replace XorShift128+ with Xoroshiro128++
Surrounding structures remain the same because the bit width remains 128.
The more complicated algorithm requires more temp registers in LRandom
to account for intermediate result placeholders in the JITed version of
this algorithm.
2026-01-13 23:49:11 +08:00
Moonchild 628f7cd764 Issue #2898 - Don't unroll to large stack probe loops.
Resolves #2898
2026-01-09 23:05:53 +08:00
Andy 13b8ede31d Sort replacements per language and per script to ensure the generated file has stable contents.
From BZ 1651032
2026-01-07 23:03:44 +08:00
Andy 0471f3bb8c Automatically determine current CLDR version when updating langtags.
From BZ 1642934
2026-01-07 23:03:30 +08:00
Andy c77fea8760 Issue #2863 - Part 24 - Remove special-casing for Etc/UCT
From BZ 1543641 Part 3
2025-12-23 22:01:45 +08:00
Andy f728497818 Issue #2863 - Part 23 - Update tzdata in Spidermonkey 2025-12-23 22:01:23 +08:00
Andy 666b590bd4 Issue #2863 - Part 19 - Update CLDR to 48 2025-12-23 22:00:02 +08:00
Andy 852e690460 Issue #2863 - Part 18 - Update Unicode in Spidermonkey 2025-12-23 21:59:43 +08:00
Andy a29a80493f Issue #2863 - Part 17 - Update ICU source to 78.1 2025-12-23 16:42:38 +08:00
Andy 3f06fa4c2a Issue #2863 - Part 16 - Update locale canonicalization algorithm for changes from CLDR 39
From BZ 1718198
2025-12-23 16:32:13 +08:00
Andy f47df7a663 Issue #2863 - Part 14 - Update switch to handle new UNumberFormatFields entries. 2025-12-23 16:31:36 +08:00
Andy 77f1baf2ce Issue #2863 - Part 13 - Remove non-IANA Zones
Adapted from BZ 1673027
2025-12-23 16:31:17 +08:00
Andy 25caba3df9 Issue #2863 - Part 12 - Filter SCRIPT_CODE extensions from CLDR 2025-12-23 16:30:58 +08:00
Andy b31a7165e5 Issue #2863 - Part 11 - Remove no longer needed locale maximization when removing likely subtags.
Adapted from BZ 1686052 Part 9
2025-12-23 16:30:40 +08:00
Andy 53662b13d8 Issue #2863 - Part 1 - Update patches for ICU 78.1 2025-12-23 15:26:55 +08:00
Basilisk-Dev c171ddeace Issue #2306: Add test js 2025-12-23 15:25:56 +08:00
Basilisk-Dev d43e57f885 Issue #2306: Remove unneeded addition of streams_ in ContextOptions() 2025-12-23 15:25:21 +08:00
Basilisk-Dev 5895253f46 Issue #2306: Add pref-gated WeakRef with safe stub when disabled
* Add javascript.options.weakrefs and plumb it through context options, XPConnect, and workers
* Keep referents alive via strong tracing when the pref is off so deref() still returns the target
* Retain weak-edge semantics when the pref is enabled
2025-12-23 15:24:25 +08:00
Basilisk-Dev 5eab8c0aff Issue #2306: Implement WeakRef functionality 2025-12-23 15:23:56 +08:00
Moonchild 81bcafc331 [js] Append InstSize factor for secondary range veneers.
Ensure branch padding is correct on ARM64/M*SoC
2025-12-17 22:43:48 +08:00
Moonchild 34d1d5a650 Issue #2869 - Make Purple Buffer additions check if cell is tenured.
This should avoid a CTD if `cell` is not tenured by moving this check to
CC instead of having it fatally fail at marking grey.

Resolves #2869
2025-11-29 07:14:15 +08:00
Moonchild 425f38ff84 [js] Error-check pthread calls
These calls return error states (int) that weren't checked for success.
Failures here are fatal, so using MOZ_RELEASE_ASSERT to safely crash.
2025-08-21 16:06:31 +08:00
Moonchild fcc58bfbba Issue #2838 - Update tests 2025-08-08 09:28:58 +08:00
Moonchild c07ea665ea Issue #2838 - Use ToIndex in TypedArray CTORs
Also adjusts index handling to be more accurate/spec compliant.
2025-08-08 09:28:38 +08:00
Moonchild 3f297457d8 [js] Align br_table limits with V8/Gecko. 2025-07-25 07:31:43 +08:00
Andy abb891ff26 Issue #2106 - Follow-up: Un-prefix DOM Attribute MozUserSelect 2025-07-08 10:00:32 +08:00
Moonchild 71ba67cfbe No issue - Don't support modulo math space in ExtractLinearSum. 2025-05-27 23:18:24 +08:00
Moonchild 01ebabde5b No issue - Fix promise combinator function state. 2025-05-27 23:18:09 +08:00
Brian Smith e8b3077d4f No Issue - Fixes for building with LLVM 19 included with FreeBSD 13.5. Fix a conflict with libc++ 19 and the old Mozilla (re)alloc macros. LLVM 18+ does not allow std::char_traits<unsigned char> so avoid it. https://bugzilla.mozilla.org/show_bug.cgi?id=1849070 Partial NSS upgrade to replace ByteString with a class. https://bugzilla.mozilla.org/show_bug.cgi?id=1851092 2025-05-14 14:20:07 +08:00
Moonchild d7f01911b8 Issue #2731 - Fix crashes on unknown BigInt types in JIT
This only works around the unknown type crashes but doesn't actually fix
attempts at using 64-bit BigInts in Ion.
Resolves #2731
2025-04-30 22:58:27 +08:00
Brian Smith 59977aa358 No issue - Various updates for Mac buildability with XCode 16.3 2025-04-18 10:30:02 +08:00
Martok 7d3dc5a2f2 Issue #2692 - Follow-Up: fix compilation in debug 2025-03-27 09:04:21 +08:00
Moonchild c31cda6c74 No issue - Fix incorrect js message ref in js shell. 2025-03-27 09:04:00 +08:00
Moonchild 788cc4acb2 No issue - Add range checking to SharedArrayBuffer references.
This avoids a potential crash when juggling SAB allocations.
2025-03-27 09:02:33 +08:00
Moonchild 5fd304507d Issue #2692 - Part 7: De-globalize {*}CompileOptions.
Make all users of the various *CompileOptions classes #include "js/CompileOptions.h"
so that nothing but that file has to know about these classes having a
JS_PUBLIC_API on them, that would have to be present in forward-declarations.
2025-03-13 23:03:43 +08:00
Moonchild 2e4620b5af Issue #2692 - Part 6: Don't #include js/SourceBufferHolder.h in jsapi.h.
Instead, require users to do so. This is a minor translation-unit size
improvement for anyone who never has to use SourceBufferHolder other than
by reference.
2025-03-13 23:01:46 +08:00
Moonchild 40ed1b10f4 Issue #2692 - Part 5: Split out compilation and evaluation APIs into its own header. 2025-03-13 22:59:38 +08:00
Moonchild 307621db50 Issue #2692 - Part 4: Split out off-thread compilation API to its own header. 2025-03-13 22:59:23 +08:00
Moonchild eca185aa79 Issue #2692 - Part 3: Split out JS compiled script transcoding to its own header. 2025-03-13 22:59:08 +08:00
Moonchild 565fb4b05a Issue #2692 - Part 2: Split out JS SourceBufferHolder to its own header. 2025-03-13 22:58:50 +08:00
Moonchild 9436bfa175 Issue #2692 - Part 1: Split out JS CompileOptions to its own header. 2025-03-13 22:58:36 +08:00
Moonchild 43a2299480 Disable potentially unsafe attempts at recovering JIT operations. 2025-03-07 21:49:32 +08:00
Shadow 37dcef684a PR #2695 - Simplify block-value popping in Ion compilation 2025-03-07 21:43:39 +08:00
Moonchild 3bac3ab0b5 No issue - avoid potential underflow in StructuredClone.
Prevents potential loop-around if there's bogus internal Map data.
2025-02-18 19:10:57 +08:00
Moonchild 7163430d1a Null-check inputs for String and BigInt
Crash fix for null crash when feeding bogus strings or BigInts to
StructuredClone.
2025-02-06 09:26:42 +08:00
Moonchild 6c6ab6de1a [js] Avoid potential crash if GC cell is no longer valid. 2024-11-29 20:50:26 +08:00
Moonchild 7f086f216c Issue #2653 - Part 3: Remove support for packaged apps from asmjscache 2024-11-21 21:02:19 +08:00