summaryrefslogtreecommitdiff
path: root/quickjs.h
Commit message (Collapse)AuthorAge
* added Float16Array (bnoordhuis) - optimized float16 conversion functionsFabrice Bellard2025-05-05
|
* avoid relying on 'FILE *' in JS_PrintValue() APIFabrice Bellard2025-05-05
|
* added JS_PrintValue() and use it in console.log(), print() and the REPL (#256)Fabrice Bellard2025-04-30
|
* simplified uncatchable exception handlingFabrice Bellard2025-04-29
|
* added more C callbacks for exotic objects (#324)Fabrice Bellard2025-04-26
|
* - removed the 'use strip' extensionFabrice Bellard2025-04-12
| | | | | | - removed the JS_EVAL_FLAG_STRIP eval flag and replaced it with JS_SetStripInfo() which has simpler semantics. - qjs: added the '-s' and '--strip-source' options - qjsc: added the '-s' and '--keep-source' options
* fixed JS_IsString() with ropesFabrice Bellard2025-04-10
|
* added JS_GetAnyOpaque() (oleavr)Fabrice Bellard2025-04-07
|
* qjs: allow SI suffixes in memory sizes - set default stack size to 1 MBFabrice Bellard2025-04-07
|
* reworked weak references so that cycles are (hopefully) correctly handled - ↵Fabrice Bellard2025-04-05
| | | | added Symbol as WeakMap key, WeakRef and FinalizationRegistry
* added missing headerFabrice Bellard2025-03-25
|
* more use of js_new_string8 - inlined JS_NewString() (initial patch by ↵Fabrice Bellard2025-03-25
| | | | Charlie Gordon)
* added string ropes for faster concatenation of long strings (issue #67)Fabrice Bellard2025-03-25
|
* fixed BigInt hashing - removed -fno-bigint in qjsc and ↵Fabrice Bellard2025-03-19
| | | | JS_AddIntrinsicBigInt() (BigInt is now considered as a base object)
* more bignum cleanupFabrice Bellard2025-03-19
|
* removed bignum support and qjscalc - added optimized BigInt implementationFabrice Bellard2025-03-18
|
* Add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` (#264)Kasper Isager Dalsgarð2024-05-09
| | | | | | * add `JS_StrictEq()`, `JS_SameValue()`, and `JS_SameValueZero()` all accepting `JSValueConst` * make `js_strict_eq` accept `JSValueConst`, remove uses of this function internally and replace them with `js_strict_eq2` instead.
* Expose `JS_SetUncatchableError()` (#262)Kasper Isager Dalsgarð2024-05-09
| | | | | * Expose `JS_SetUncatchableError()` * Remove unnecessary `JS_SetUncatchableError` declaration
* Add `JS_HasException()` (#265)Kasper Isager Dalsgarð2024-05-08
|
* Add `JS_NewTypedArray()` (#272)Dmitry Volyntsev2024-05-08
|
* Improve Date.parse, small fixesCharlie Gordon2024-03-22
| | | | | | | | - add `minimum_length` to enforce array length validation - add `JS_NewDate()` API - add `[Symbol.toStringTag]` property in the global object - simplify `string_get_milliseconds` - support more timezone abbrevs using `string_get_tzabbr` and array
* Prevent UB on memcpy and floating point conversionsCharlie Gordon2024-03-03
| | | | | | | - add `memcpy_no_ub` that accepts null pointers for 0 count - prevent 0 length allocation in `js_worker_postMessage` - use safer test for `int` value in `JS_NewFloat64`, `JS_ToArrayLengthFree` and `js_typed_array_indexOf`
* Add C API function JS_GetClassID()Tyler Rockwood2024-02-21
| | | | | | | | | If you want to extend a built-in class you need it's class ID and there is no robust way to get that without this accessor. * add JS_INVALID_CLASS_ID constant for invalid class ID. Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
* Strip trailing spacesCharlie Gordon2024-02-10
|
* export JS_GetModuleNamespace (github issue #34)Fabrice Bellard2024-01-27
|
* allow 'await' in the REPL and added os.sleepAsync()Fabrice Bellard2024-01-02
|
* top-level-await support - follow the spec in the implementation of the ↵Fabrice Bellard2023-12-27
| | | | module linking and evaluation to avoid errors with cycling module dependencies
* reworked set property and fixed corner cases of typed array set propertyFabrice Bellard2023-12-09
|
* 2021-03-27 releasebellard2021-03-27
|
* 2020-11-08 releasebellard2020-11-08
|
* 2020-09-06 releasebellard2020-09-06
|
* 2020-07-05 releasebellard2020-09-06
|
* 2020-04-12 releasebellard2020-09-06
|
* 2020-03-16 releasebellard2020-09-06
|
* 2020-01-19 releasebellard2020-09-06
|
* 2020-01-05 releasebellard2020-09-06