summaryrefslogtreecommitdiff
path: root/js
Commit message (Collapse)AuthorAge
* Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]Moonchild2023-11-11
| | | | Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
* Merge pull request 'Replace MOZ_MUST_USE with [[nodiscard]]' (#2375) from ↵Moonchild2023-11-11
|\ | | | | | | | | | | 2342-nodiscard-work into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2375
| * Issue #2342 - Fix attribute order in misc files (found by clang builds)Moonchild2023-11-10
| |
| * Issue #2342: Use [[nodiscard]] in /jsMoonchild2023-11-08
| |
* | Merge pull request 'Remove --enable-stdcxx-compat option.' (#2374) from ↵Moonchild2023-11-09
|\ \ | |/ |/| | | | | | | athenian200/UXP:old-stdcxx-compat-cleanup into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2374
| * Issue #2373 - Remove all remaining traces of CHECK_STDCXX.Jeremy Andrews2023-11-05
| | | | | | | | | | | | | | As far as I can tell, all this code is unused in our platform. GCC older than 7 didn't have the macro _GLIBC_RELEASE. As far as I can tell, using newer GCC means you don't have to check for incompatible symbol versions in the build system, not even if you are compiling with clang against GCC's libc.
* | Merge pull request 'Switch our tree to building with c++17' (#2372) from ↵Moonchild2023-11-08
|\ \ | |/ |/| | | | | | | 2281-c++17-buildwork into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2372
| * Issue #2281 - Avoid class-static constexpr in TypedArrayObjectMoonchild2023-11-05
| |
| * Issue #2281 - Replace std::iterator inheritance with iterator traitsMoonchild2023-11-05
| | | | | | | | definitions (as required by C++17).
* | Merge pull request 'No Issue - Structured Clone Spec Compliance and Bugfix' ↵Moonchild2023-11-05
|\ \ | | | | | | | | | | | | | | | (#2365) from Basilisk-Dev/UXP-contrib:master into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2365
| * | No Issue - StructuredClone serialize and deserialize should treat back ↵Basilisk-Dev2023-10-30
| | | | | | | | | | | | | | | | | | reference consistently Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1538622
| * | No issue - Structured clone algorithm doesn't serialize Array Length ↵Basilisk-Dev2023-10-30
| |/ | | | | | | | | | | contrary to HTML spec, resulting in truncation of trailing sparse arrays like [1,2,3,,] Backport of https://bugzilla.mozilla.org/show_bug.cgi?id=1476955
* / Issue #1824 - Move to GCC 10.athenian2002023-11-04
|/ | | | | | It seems to work, but it is a lot slower than compiling with GCC 7. Signed-off-by: athenian200 <athenian200@outlook.com>
* Issue #2354 - Restore ARM32 buildability on Linux.Brian Smith2023-10-25
| | | | | | Fix ION breakages due to BigInt changes. Fix breakages from libjpeg, libyuv and libvpx upgrades. Restore ARM(32/64) NEON FPU support in libyuv.
* Issue #2350 - Part 2: Allow "maximumFractionDigits" option inMoonchild2023-10-19
| | | | | | | | | | | | | Intl.NumberFormat to be less than the default minimum fraction digits. This implements the changes from the "has consensus" PR in TC39 The second pair of `DefaultNumberOption()` calls was inlined, because only the fallback case is relevant anyway. Steps 12.d and 12.e from the spec PR were combined into a single `if`-block. That way it also matches step 12.f more closely. Also changed the single `if` steps into an `if-else if` chain, because the steps are mutually exclusive.
* Issue #2350 - Part 1: Apply "minimumIntegerDigits" to number-formattersMoonchild2023-10-19
| | | | | | | | | with fraction-digits. Implements the changes to `SetNumberFormatDigitOptions` and `FormatNumberToString`, except for the support of the new "compact-rounding" mode. This also includes a few minor fixes for edge cases (like -0 vs. 0)
* Issue #2350 - Part 0: Add a helper function DefaultNumberOptionMoonchild2023-10-19
| | | | | | This is the abstract operation that converts an option value to a number value, checking whether it is in the allowed range, and filling in a fallback value if necessary.
* Issue #1442 Follow-up: Stop pretending proxies have a JSNative ↵Brian Smith2023-10-16
| | | | | | | | call/construct hook. https://bugzilla.mozilla.org/show_bug.cgi?id=1471924 Part 1 Also remove an erroneous debug assert and guard against future issues. This fixes crashes on vk.com but still does not behave correctly.
* Merge pull request 'Initial implementation of readable streams' (#2324) from ↵Moonchild2023-10-03
|\ | | | | | | | | | | dbsoft/UXP:readablestreams into master Reviewed-on: https://repo.palemoon.org/MoonchildProductions/UXP/pulls/2324
| * Issue #1442 & #1691 Follow-up - Part 22 - Changes that came with Dynamic ↵Brian Smith2023-09-29
| | | | | | | | | | | | | | | | Module Import. At the time we did not have ReadableStreams in our tree so these changes were left out. https://bugzilla.mozilla.org/show_bug.cgi?id=1499140 Implement support for dynamic module import in the interpreter.
| * Issue #1442 - Part 5: Implement WebIDL bindings for Streams.Brian Smith2023-09-27
| | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1128959
| * Issue #1442 - Part 4: Add JSAPI functions for working with ReadableStream.Brian Smith2023-09-27
| | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
| * Issue #1442 - Part 3: Implement ReadableStream and associated classes in the ↵Brian Smith2023-09-27
| | | | | | | | | | | | JS engine. https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
| * Issue #1442 - Part 2: Add a run-time preference for toggling the streams API.Brian Smith2023-09-27
| | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
| * Issue #1442 - Part 1: Change ArrayBufferCopyData self-hosting intrinsic to ↵Brian Smith2023-09-27
| | | | | | | | | | | | | | take a start offset for the destination. This will be needed to manage stream chunks. https://bugzilla.mozilla.org/show_bug.cgi?id=1272697
* | No Issue - IonMonkey: Don't test for a 3-byte opcode in a 2-byte opcode ↵Brian Smith2023-09-27
| | | | | | | | | | | | | | predicate. https://bugzilla.mozilla.org/show_bug.cgi?id=1390214 Silence increasingly loud warnings from clang, also could cause errant behavior.
* | [js] Handle dead wrappersAndré Bargull2023-09-27
|/
* Issue #2313 - Implement WebAssembly sign extension opcodes.Brian Smith2023-09-22
| | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1389461
* Issue #2307 - Follow-up: remove some missed SIMD scalar types.Moonchild2023-09-22
|
* Merge branch 'master' into simdjs-removalMoonchild2023-09-20
|\
| * Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for ↵Brian Smith2023-09-18
| | | | | | | | Doubles in Ion.
| * Issue #2308 & #1240 Follow-up - Replace JSOP_POS in ++/-- with JSOP_TONUMERIC.Brian Smith2023-09-17
| | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1519135
| * Issue #2308 & #1240 Follow-up - Fill in missing JSOP_INC/DEC cases for Ion ↵Brian Smith2023-09-17
| | | | | | | | on Intel32/64.
| * Issue #2308 & #1240 Follow-up - Add BigInt support to JSOP_INC and JSOP_DEC.Brian Smith2023-09-17
| | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1526309
| * Issue #2308 & #1240 Follow-up - Introduce new increment and decrement ↵Brian Smith2023-09-16
| | | | | | | | | | | | operations. https://bugzilla.mozilla.org/show_bug.cgi?id=1508521
| * Issue #2308 - Fix JSON BigInt regressions.Brian Smith2023-09-11
| | | | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1522433
| * Issue #2026 Follow-up: Fill in missing BigInt64 cases in ↵Brian Smith2023-09-06
| | | | | | | | | | | | js::IsTypedArrayConstructor(). Hopefully fixes RSA errors on ProtonMail.
* | Issue #2307 - Part 3b: Fix build bustage.Moonchild2023-09-19
| |
* | Issue #2307 - Part 3: Remove SIMD.js supportMoonchild2023-09-18
| | | | | | | | | | | | This gets rid of the SIMD-specific scalar types in JS. This considerably deviates from Mozilla's work because of our divergent path.
* | Issue #2307 - Part 2b: Remove superfluous dev commentMoonchild2023-09-13
| |
* | Issue #2307 - Part 2: Move SIMD code generation to masm methodsMoonchild2023-09-12
| |
* | Issue #2307 - Part 1: Extend masm with the pmovmskb SSE2 instruction.Moonchild2023-09-12
|/
* Issue #2298 - Support '#x in obj' ergonomic brand check syntaxMartok2023-08-30
|
* Issue #2298 - Carry private-ness of names through ParseNodeHandlerMartok2023-08-30
|
* Issue #2255 - Disable untested code path in Stopwatch.(h|cpp).Brian Smith2023-08-14
| | | | | | https://bugzilla.mozilla.org/show_bug.cgi?id=1325299 Multiprocessor support in Windows returned bogus times causing debug asserts. This may or may not be related to the issue but found it trying to debug it.
* Issue #2172 - add null zone sanity checksMartok2023-08-09
|
* Issue #2172 - ensure pointers in RegExpShared are updated after GC compactingMartok2023-08-08
|
* Issue #2172 - add missing RegExpShared TraceKind declarationMartok2023-08-08
|
* No Issue - Fix building with --enable-js-ltoBrian Smith2023-08-06
| | | | Needed to include jscntxt.h due to de-unified building.
* Issue #1240 - Follow-up: Add missing JSVAL_TYPE_BIGINT cases in JitFrames.cpp.Brian Smith2023-07-28
| | | | As pointed out by roytam1 during testing with Discord.