9 Commits
Author SHA1 Message Date
Taylor C. Richberger 0285c15d5b Fix embedding from other libraries without cutils 2026-02-12 12:13:11 +01:00
Ben Noordhuis bbcfcd5bc7 Add Iterator.zipKeyed (#1277) 2026-01-08 00:02:31 +01:00
Ben Noordhuis 210ecb2b27 Add Iterator.zip (#1274) 2026-01-07 23:07:34 +01:00
bptatoandFabrice Bellard a13b04f509 Port bellard/quickjs Math.sumPrecise (#1170)
Co-authored-by: Fabrice Bellard <[email protected]>
2025-09-29 16:10:10 +02:00
844bb026d5 Port bellard/quickjs "dtoa library" commits
Added new dtoa library to print and parse float64 numbers. It is necessary to fix corner cases (e.g. radix != 10) and to have correct behavior regardless of the libc implementation.

Port of:
bellard/quickjs@993660621a
bellard/quickjs@dbbca3dbf3

Includes alternative fix for bellard/quickjs@638ec8c from 0191aea

Co-authored-by: Fabrice Bellard <[email protected]>
Co-authored-by: Ben Noordhuis <[email protected]>
2025-09-25 23:41:33 +02:00
Ben Noordhuis a9a8ece429 Move builtin-array-fromasync.h to toplevel (#1034)
Putting it in gen/ is inconvenient for downstream users that vendor or
repackage the source files.
2025-04-22 21:16:28 +02:00
Saúl Ibarra Corretgé ad1d1af0bf New BigInt implementation
Manually port the following commits from bellard/quickjs

https://github.com/bellard/quickjs/commit/61e8b9442840bf94a2a9b0b872c8b3a197c1eac3
https://github.com/bellard/quickjs/commit/ee4cd4deaced6b5966b594e257ff1dd10b5d02d4
https://github.com/bellard/quickjs/commit/6de88859e7fdb8c6418e1033e75ca4900e022b51
https://github.com/bellard/quickjs/commit/5a16c0c1eba084742ed328eff75b9e886e63d166
https://github.com/bellard/quickjs/commit/6d6893bfa3d383d4952b67954003800aba1f4be8
https://github.com/bellard/quickjs/commit/131408fa07254ba6c44b1d3804ba43aadd4440a1

Co-authored-by: Fabrice Bellard <[email protected]>

Since libbf is gone, incorporate xsum as the backing for the
Math.sumPrecise implementation.

Changes made to xsum:

- Removed printf debug statements since many contained type errors
- Removed unneeded debug functions
- Added incldue guards
2025-04-02 22:35:25 +02:00
Ben Noordhuis bfc9e3cc01 Add Array.fromAsync (#975)
Implement Array.fromAsync as a lazily loaded bytecode function.

Fixes: https://github.com/quickjs-ng/quickjs/issues/962
2025-03-15 22:44:30 +01:00
Ben Noordhuis e29a713deb Release amalgamated builds (#933)
Roll all the source files into a single jumbo file and release that
along with quickjs.h in a zip file to make embedding for downstream
users easy.

Fixes: https://github.com/quickjs-ng/quickjs/issues/688
2025-02-28 21:12:39 +01:00