Commit Graph

  • 87b66fb67a
    Merge c35e6bf288ab69b3e9ce083c667ee536bcbc051b into 9d3776d0d45ca437ddb7f9079ae0367102abc90f #381 Michael Hughes 2025-04-08 19:17:55 +09:00
  • eef5bd66b5
    Merge 83fa0503121a1363bc3586fe02cb31115b54f06f into 9d3776d0d45ca437ddb7f9079ae0367102abc90f #361 jiangjieke 2025-04-07 18:45:05 -03:00
  • 903d2cc099
    Merge 1df5cbe990bdf2f475f4ec27e0b2c23c8a9fe46c into 9d3776d0d45ca437ddb7f9079ae0367102abc90f #367 pitust 2025-04-07 13:34:51 -04:00
  • 997a0a3118
    Merge 90f05487b5e04f7daba842c0fdafc5f532c6bdd2 into 9d3776d0d45ca437ddb7f9079ae0367102abc90f #396 John Sebastian Peterson 2025-04-07 13:27:50 -04:00
  • bf0c4f69ef
    Merge 1d0514eb1ec41c6674d1dcb49b5211dc943e7c21 into 9d3776d0d45ca437ddb7f9079ae0367102abc90f #393 Nick Vatamaniuc 2025-04-07 17:10:10 +00:00
  • 1d0514eb1e
    More CI tragets: Linux 32bit, LTO, Windows and Cosmopolitan #393 Nick Vatamaniuc 2025-03-25 17:36:09 -04:00
  • 9d3776d0d4 fixed break statement in the presence of labels (bnoordhuis) (#275) master Fabrice Bellard 2025-04-07 19:01:30 +02:00
  • 00e6f29b17 added JS_GetAnyOpaque() (oleavr) Fabrice Bellard 2025-04-07 18:45:11 +02:00
  • 1eb05e44fa fixed buffer overflow in BJSON String and BigInt reader (#399) Fabrice Bellard 2025-04-07 18:40:49 +02:00
  • 2c827a1727
    Merge 9c2a19eaac5d1a2b79e924f480fd0a4f3500b525 into a151ce19e5aa684c4c70346fd45f27cc9cdbef93 #294 Dmitry Volyntsev 2025-04-07 17:01:10 +02:00
  • 032709c36d
    Merge 752a3cac22e29416faa496a6e8320188d75b8c00 into a151ce19e5aa684c4c70346fd45f27cc9cdbef93 #346 Dmitry Volyntsev 2025-04-07 17:00:05 +02:00
  • edc5e8d1d4
    Merge 619be5b1a4d32a6356567f0d7a0ad5d36f44e874 into a151ce19e5aa684c4c70346fd45f27cc9cdbef93 #252 Zia 2025-04-07 15:06:15 +02:00
  • a151ce19e5 fixed and improved Map/Set hashing Fabrice Bellard 2025-04-07 14:42:07 +02:00
  • f05760c585 qjs: added performance.now() Fabrice Bellard 2025-04-07 14:33:30 +02:00
  • 2b6cf578af removed unused slack in hash_map_resize() (saghul) Fabrice Bellard 2025-04-07 12:05:40 +02:00
  • 083b7bab01 Fix UB in BigInt left shift (saghul) Fabrice Bellard 2025-04-07 12:02:01 +02:00
  • fa706d5622 Fix leak in BigInt unary plus (saghul) Fabrice Bellard 2025-04-07 12:00:08 +02:00
  • ec83bd2098 qjs: allow SI suffixes in memory sizes - set default stack size to 1 MB Fabrice Bellard 2025-04-07 11:47:57 +02:00
  • c805d4f784 fixed weakmap gc (#398) Fabrice Bellard 2025-04-07 11:44:28 +02:00
  • 19431019d5 updated Changelog Fabrice Bellard 2025-04-07 10:21:17 +02:00
  • 68fc63730e
    Merge ab2c449585ae457768a8449d877846fe7547f033 into 00b709dfff9d858b53edfd9cb8a185b120e0cbd8 #335 Renáta Hodován 2025-04-05 22:18:43 -04:00
  • d757a4cb6c
    Merge 95b81bf454844a07ec73279ad521d49aafb7fcd8 into 00b709dfff9d858b53edfd9cb8a185b120e0cbd8 #297 Bozo Kopic 2025-04-05 22:18:30 -04:00
  • 408a437fdb
    Merge 696fadb3d5583854d4b5bb490f9237b82a32e241 into 00b709dfff9d858b53edfd9cb8a185b120e0cbd8 #291 Dmitry Volyntsev 2025-04-05 22:18:16 -04:00
  • 00b709dfff flush stdout in console.log() (#309) Fabrice Bellard 2025-04-05 18:22:34 +02:00
  • 159fe289e3 fixed module cyclic imports (#329) Fabrice Bellard 2025-04-05 18:05:15 +02:00
  • c1bf4e99db workaround for overflow test in JS_GetOwnPropertyNamesInternal() (#111) Fabrice Bellard 2025-04-05 16:19:25 +02:00
  • beeb2725cd 'undefined' is a valid let/const variable name. It gives a SyntaxError at top level because it is already defined (#370) Fabrice Bellard 2025-04-05 15:52:55 +02:00
  • 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
  • 969f70c4f9
    Fix segfault on large number of properties #397 Nick Vatamaniuc 2025-04-04 00:40:46 -04:00
  • e840c9f13a
    Merge b049cf070404b2de0fb49790a9ae6bd835360102 into 0d7aaed71c8ddd0c2d2da5cbbfc82a6600985a2b #317 Emill 2025-04-03 22:31:08 +02:00
  • 46709212ab
    Merge ed3b3516a763bc606a278a598aa9ae54a1fdc0e1 into 0d7aaed71c8ddd0c2d2da5cbbfc82a6600985a2b #360 Léo-Paul Géneau 2025-04-02 02:21:28 +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
  • 90f05487b5 shared lib and config file #396 John Sebastian Peterson 2025-03-26 04:22:38 +11: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
  • b9b2b5b5f6
    Merge d3da16b7cc15676d9ec18e2395c0c3886722c7c3 into 29630bcea6854123574f5c5d0bc18f479bac3f3e #318 Renáta Hodován 2025-03-27 14:45:52 +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
  • d391fd285b
    Add Linux 32bit and Cosmopolitan CI #392 Nick Vatamaniuc 2025-03-19 13:16:26 -04: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 #391 Nick Vatamaniuc 2025-03-18 19:29:55 -04:00
  • a0272cfcaf
    Cleanup remnants of BigDecimal and BigFloat #388 Nick Vatamaniuc 2025-03-18 17:28:22 -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
  • bfa59aa99c
    Merge 0b8d00444d6e444b8b3c1b27b5e201f2abd7be9f into 1be68b3345953c94e8072d12ad116e14403b66a8 #371 Rubén López 2025-03-15 16:20:17 +08: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
  • abb4315527
    Fix parsing dates with more than 9 contiguous digits #385 Nick Vatamaniuc 2025-03-10 19:57:34 -04:00
  • 24e23e039e
    Display errors in async methods and at top level #386 soulofmischief 2025-03-11 16:12:51 -05:00
  • 0b8d00444d Deal with JS_ATOM_NULL when deciding on the function names to log #371 Ruben 2025-02-14 13:44:43 +01:00
  • f209a8556b
    Merge pull request #2 from HarlonWang/fix/ntr_in_oom #353 Harlon Wang 2025-02-11 10:38:53 +08:00
  • 5a30248a95 解决 OOM 场景下触发的对象空异常 #383 HarlonWang 2025-02-11 10:30:13 +08:00
  • c35e6bf288 missing atomic references... #381 bsekisser 2025-01-15 17:11:34 -05:00
  • fd7b105441 Fix vuln crash-373847f2ab24971f9a3bcf573368d2c1f4bba5d0 #376 aled-ua 2024-12-22 06:38:59 +00:00
  • 93a8d71838 Fix vuln crash-e12fe074e2b662d65aac5ebf6c5e0cfe3735ff62 #377 aled-ua 2024-12-22 06:38:54 +00:00
  • db8b3b9c45 regexp: Allow [\-] even in unicode mode #373 Parnikkapore 2024-12-13 15:32:24 +07:00
  • 1dafd6b04f fix crash when add property maybe failed on build arguments #372 Penner 2024-11-25 17:20:00 +08:00
  • cae84d06d5 Implements profiling support by hooking into the function execution. qjs outputs chrome devtools-compatible profiling data Ruben 2024-11-24 00:18:38 +01:00
  • 1df5cbe990
    Fix undefined behavior #367 pitust 2024-11-16 19:45:35 +00:00
  • 80f97204cb Nan bug fix #366 Alex Denford SBL 2024-10-30 14:41:49 -07:00
  • 83fa050312 Improve JS_GetArrayBuffer #361 jieke 2024-10-12 12:01:58 +08:00
  • ed3b3516a7 examples/point.c: add PointEnumerable class #360 Leo-Paul Geneau 2024-10-11 15:23:03 +02:00
  • 77b100d5e6 skip verification of class ID in JS_GetOpaque if class_id is 0 #356 Ben Morris 2024-09-25 13:43:41 -04:00
  • 93453ee07c Fix compiling with undefined to bfdec_normalize_and_round (https://github.com/bellard/quickjs/issues/241) #354 HarlonWang 2024-09-19 11:56:43 +08:00
  • c46516996d Add JS_DumpObjects support HarlonWang 2024-09-18 18:10:24 +08:00