Commit Graph

  • f121cbdb5a added forgotten js_weakref_is_live() tests Fabrice Bellard 2025-04-05 15:41:51 +02:00
  • b342502a31 avoid freeing an object structure in js_weakref_free() if it is about to be freed in free_zero_refcount() Fabrice Bellard 2025-04-05 15:21:57 +02:00
  • 8b5b1277ad reworked weak references so that cycles are (hopefully) correctly handled - added Symbol as WeakMap key, WeakRef and FinalizationRegistry Fabrice Bellard 2025-04-05 12:49:29 +02:00
  • bf164d640f fixed eval with empty argument scope (#249) Fabrice Bellard 2025-03-31 18:33:22 +02:00
  • 6ac04e1bf2 removed useless printf() (#257) Fabrice Bellard 2025-03-31 18:00:27 +02:00
  • 0d7aaed71c ensure that JS_IteratorNext() returns JS_UNDEFINED when done = TRUE (#394) Fabrice Bellard 2025-03-31 13:37:37 +02:00
  • 2634856087 removed invalid tests Fabrice Bellard 2025-03-28 10:19:28 +01:00
  • 56c47f7d2a fixed exception handling in AsyncFromSyncIterator and async for of Fabrice Bellard 2025-03-28 10:11:15 +01:00
  • 67de495254 fixed typed array set operation when obj != receiver Fabrice Bellard 2025-03-27 17:06:26 +01:00
  • b0c1a12196 fixed set_date_field() Fabrice Bellard 2025-03-27 16:28:56 +01:00
  • d045a13b4b disable rejection tracker in the repl - repl cleanup Fabrice Bellard 2025-03-27 15:34:20 +01:00
  • e8cfe8fede removed memory leak in string padding (issue #274) Fabrice Bellard 2025-03-27 14:43:25 +01:00
  • d20ffec831 exit by default on unhandled promise rejections (issue #305) Fabrice Bellard 2025-03-27 14:22:58 +01:00
  • dec4aca27a update test262_errors.txt Fabrice Bellard 2025-03-25 19:17:19 +01:00
  • b31bb20666 updated to unicode 16.0.0 (bnoordhuis) - updated test262 Fabrice Bellard 2025-03-25 19:08:19 +01:00
  • 29630bcea6 added missing header Fabrice Bellard 2025-03-25 16:49:41 +01:00
  • 2a4f629a3b added -Wno-infinite-recursion Fabrice Bellard 2025-03-25 16:42:05 +01:00
  • 6cc02b4421 more use of js_new_string8 - inlined JS_NewString() (initial patch by Charlie Gordon) Fabrice Bellard 2025-03-25 16:33:47 +01:00
  • 156d981afe added string ropes for faster concatenation of long strings (issue #67) Fabrice Bellard 2025-03-25 16:01:40 +01:00
  • 372ad84e9a more dtoa bench (Charlie Gordon) Fabrice Bellard 2025-03-22 12:50:11 +01:00
  • a44011ed5a enable dtoa tests on win32 Fabrice Bellard 2025-03-22 12:40:37 +01:00
  • d1bb520f29 reduced memory usage of Map hash table Fabrice Bellard 2025-03-22 11:28:23 +01:00
  • 49413985eb fixed hash_map_resize() - added Map/WeakMap in microbench Fabrice Bellard 2025-03-22 10:54:21 +01:00
  • 9f65ef1950 simplified and fixed backtrace_barrier (#306) Fabrice Bellard 2025-03-20 13:37:07 +01:00
  • 978756ad37 protect against printf errors (#319) Fabrice Bellard 2025-03-20 11:47:07 +01:00
  • 993660621a 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. Fabrice Bellard 2025-03-19 19:07:57 +01:00
  • 9f1864a268 msan fix (#389) Fabrice Bellard 2025-03-19 14:27:01 +01:00
  • 131408fa07 simplified js_bigint_from_float64() Fabrice Bellard 2025-03-19 13:56:10 +01:00
  • 7399069dc1 fixed examples/hello_module compilation (#240) Fabrice Bellard 2025-03-19 13:29:54 +01:00
  • 6d6893bfa3 fixed BigInt hashing - removed -fno-bigint in qjsc and JS_AddIntrinsicBigInt() (BigInt is now considered as a base object) Fabrice Bellard 2025-03-19 12:33:54 +01:00
  • 5a16c0c1eb fixed JS_DumpValue() for BigInt Fabrice Bellard 2025-03-19 11:59:47 +01:00
  • 6de88859e7 more bignum cleanup Fabrice Bellard 2025-03-19 11:43:31 +01:00
  • 96e7965cf4 removed the ability to do simultaneous 64 and 32 bit x86 builds in order to simplify the Makefile Fabrice Bellard 2025-03-19 10:54:04 +01:00
  • 22dbf49e25
    Merge pull request #391 from nickva/try-to-fix-multiplatform-builds bellard 2025-03-19 10:33:03 +01:00
  • e9c69f7ae8
    Fix multiarch CI builds Nick Vatamaniuc 2025-03-18 19:29:55 -04:00
  • ee4cd4deac compilation fix Fabrice Bellard 2025-03-18 18:45:21 +01:00
  • 543897ab7b added missing variable Fabrice Bellard 2025-03-18 18:34:05 +01:00
  • 61e8b94428 removed bignum support and qjscalc - added optimized BigInt implementation Fabrice Bellard 2025-03-18 18:29:10 +01:00
  • 837a697588 regexp: allow [\-] in unicode mode (#373) Fabrice Bellard 2025-03-13 19:00:25 +01:00
  • 1be68b3345 fixed CONFIG_ALL_UNICODE compilation Fabrice Bellard 2025-03-13 18:13:25 +01:00
  • 9bd10d8eb9 simplified the handling of closures Fabrice Bellard 2025-03-13 17:44:55 +01:00
  • dfd9c93ab0 added missing stack overflow check in JSON.stringify() Fabrice Bellard 2025-03-13 17:27:38 +01:00
  • 25aaa77370 allow regexp interruption (e.g. with Ctrl-C in the REPL) Fabrice Bellard 2025-03-13 17:17:51 +01:00
  • 027f3cb5e4 fix crash when add_property() fails on build arguments (penneryu) Fabrice Bellard 2025-03-13 16:30:02 +01:00
  • c739debf0f microbench: use toFixed() Fabrice Bellard 2025-03-13 16:23:13 +01:00
  • 6474793e38 JS_SetPropertyInternal(): avoid recursing thru the prototypes if the property is found in a prototype Fabrice Bellard 2025-03-13 16:04:38 +01:00
  • 030333cff6 fixed date parsing in case there is more than nine initial digits (initial patch by nickva) Fabrice Bellard 2025-03-13 15:52:53 +01:00
  • 6e2e68fd08 Fix termination in Worker test Akos Kiss 2024-07-27 11:34:49 +02:00
  • 012451d5f3 Define a fallback PATH_MAX if not available Pino Toscano 2024-06-09 09:23:49 +02:00
  • 8624b5c6f0 Use ftello() & fseeko() on any OS based on GNU libc Pino Toscano 2024-06-09 09:21:01 +02:00
  • 34894936d8 Use malloc_usable_size() on any OS based on GNU libc Pino Toscano 2024-06-09 09:18:38 +02:00
  • 5417ab0159
    Fix JS_HasException() when null is thrown (#313) Kasper Isager Dalsgarð 2024-07-17 13:58:08 +02:00
  • b3715f7cb1
    Fix GC leak in js_proxy_get() (#302) Dmitry Volyntsev 2024-07-14 15:08:40 -07:00
  • 36911f0d3a regexp: fix non greedy quantizers with zero length matches Fabrice Bellard 2024-05-30 16:41:37 +02:00
  • d86aaf0b8f updated test262.patch Fabrice Bellard 2024-05-30 15:49:31 +02:00
  • adec734346 fixed test of test262 directory Fabrice Bellard 2024-05-30 15:36:20 +02:00
  • e02472dabc
    Revert "Add JS_HasException() (#265)" revert-265-has-exception bellard 2024-05-30 14:28:49 +02:00
  • d378a9f3a5
    Improve js_os_exec (#295) Charlie Gordon 2024-05-10 01:57:55 +02:00
  • 97be5a32af
    Add js_resolve_proxy (#293) Charlie Gordon 2024-05-09 14:14:50 +02:00
  • f3f2f42717
    Add JS_StrictEq(), JS_SameValue(), and JS_SameValueZero() (#264) Kasper Isager Dalsgarð 2024-05-09 13:07:40 +02:00
  • 6f9d05fd2b
    Expose JS_SetUncatchableError() (#262) Kasper Isager Dalsgarð 2024-05-09 12:45:47 +02:00
  • d53aafe0f3
    Add the missing fuzz_common.c (#292) Renáta Hodován 2024-05-09 12:36:12 +02:00
  • db9dbd0a2b
    Add JS_HasException() (#265) Kasper Isager Dalsgarð 2024-05-08 23:19:15 +02:00
  • 6c43013140
    Add JS_NewTypedArray() (#272) Dmitry Volyntsev 2024-05-08 14:17:00 -07:00
  • 01454caf78
    OSS-Fuzz targets improvements (#267) Renáta Hodován 2024-05-08 18:19:48 +02:00
  • 0c8fecab23
    Improve class parser (#289) Charlie Gordon 2024-05-05 19:54:47 +02:00
  • d9c699f528
    fix class method with name get (#258) Richard Davison 2024-05-05 18:46:30 +02:00
  • 7a2c6f42d4
    Improve libunicode and libregexp headers (#288) Charlie Gordon 2024-05-05 17:47:40 +02:00
  • 1402478d8d
    Improve unicode table handling (#286) Charlie Gordon 2024-05-05 12:10:24 +02:00
  • 3b45d155c7 Fix endianness handling in js_dataview_getValue / js_dataview_setValue Charlie Gordon 2024-03-23 13:19:04 +01:00
  • 653b2276cb Improve error handling Charlie Gordon 2024-03-23 12:58:53 +01:00
  • 203fe2d539 Improve JSON.stringify Charlie Gordon 2024-03-23 12:43:45 +01:00
  • ce6b6dcacd Use more explicit magic values for array methods Charlie Gordon 2024-03-23 09:52:23 +01:00
  • c0e67c47cd Simplify redundant initializers for JS_NewBool() Charlie Gordon 2024-03-23 09:28:38 +01:00
  • 06651314f5 Fix compilation with -DCONFIG_BIGNUM Charlie Gordon 2024-03-22 11:23:33 +01:00
  • 65ecb0b0d6 Improve Date.parse, small fixes Charlie Gordon 2024-03-22 00:47:17 +01:00
  • 6a89d7c270
    Add CI targets, fix test_std.js (#247) Charlie Gordon 2024-03-03 21:57:38 +01:00
  • ebe7496d14
    Fix build: use LRE_BOOL in libunicode.h (#244) Kanstantsin Sokal 2024-03-03 06:36:00 -08:00
  • 1a5333bcb3 prevent 0 length allocation in js_worker_postMessage Charlie Gordon 2024-03-03 14:42:01 +01:00
  • e17cb9fc7a Add github CI tests Ben Noordhuis 2024-03-03 14:14:23 +01:00
  • 06c100c9bf Prevent UB on memcpy and floating point conversions Charlie Gordon 2024-03-03 14:05:40 +01:00
  • 3dd93eb4e4
    fix microbench when microbench.txt is missing (#246) Charlie Gordon 2024-03-03 03:38:49 +01:00
  • 35b7b3c379 Improve Date.parse Charlie Gordon 2024-03-03 02:59:08 +01:00
  • 8d64731eb8 Improve Number.prototype.toString for radix other than 10 Charlie Gordon 2024-03-02 15:13:18 +01:00
  • a78d2cbf7c Improve repl regexp handling Charlie Gordon 2024-03-02 14:36:44 +01:00
  • 8180d3dd87 Improve microbench.js Charlie Gordon 2024-02-26 00:14:31 +01:00
  • 78db49cf95 Improve Date.parse Charlie Gordon 2024-02-25 23:47:26 +01:00
  • 6428ce0c8b show readable representation of Date objects in repl Charlie Gordon 2024-02-25 22:53:29 +01:00
  • 27928ce491 Fix Map hash bug Charlie Gordon 2024-02-22 19:31:57 +01:00
  • b70e764427 Rewrite set_date_fields to match the ECMA specification Charlie Gordon 2024-02-21 21:22:10 +01:00
  • b91a2aec67 Add C API function JS_GetClassID() Tyler Rockwood 2024-02-20 09:29:08 +01:00
  • 12c91df577 Improve surrogate handling readability Charlie Gordon 2024-02-20 00:22:32 +01:00
  • 8d932deb49 Rename regex flag and field utf16 -> unicode Charlie Gordon 2024-02-19 16:30:08 +01:00
  • 97ae6f39e6 Add benchmarks target Charlie Gordon 2024-02-18 17:52:35 +01:00
  • c24a865a29 Improve run-test262 Charlie Gordon 2024-02-18 15:00:04 +01:00
  • bbf36d5b84 Fix big endian serialization Charlie Gordon 2024-02-18 08:29:04 +01:00
  • 530ba6a631 handle missing test262 gracefully Charlie Gordon 2024-02-17 22:57:57 +01:00
  • 0a361b7c0f handle missing test262 gracefully Charlie Gordon 2024-02-17 22:56:54 +01:00
  • 74bdb4967c Improve tests Charlie Gordon 2024-02-17 21:54:19 +01:00
  • 85fb2caeae Fix UB signed integer overflow in js_math_imul Charlie Gordon 2024-02-17 21:15:29 +01:00