summaryrefslogtreecommitdiff
path: root/quickjs-libc.c
Commit message (Collapse)AuthorAge
* better promise rejection tracker heuristics (#112)Fabrice Bellard3 days
|
* 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
|
* fixed js_std_await() so that it behaves the same way as js_std_loop() (#402)Fabrice Bellard2025-04-28
|
* enabled os.Worker on Windows (bnoordhuis)Fabrice Bellard2025-04-14
|
* - 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
* qjs: added performance.now()Fabrice Bellard2025-04-07
|
* flush stdout in console.log() (#309)Fabrice Bellard2025-04-05
|
* exit by default on unhandled promise rejections (issue #305)Fabrice Bellard2025-03-27
|
* Define a fallback PATH_MAX if not availablePino Toscano2024-07-21
| | | | | | | PATH_MAX is optional in POSIX, and it is not available on GNU/Hurd. While it could be possible to not rely on PATH_MAX, for now provide a fallback definition (which should be safe enough) to get quickjs built on GNU/Hurd.
* Use ftello() & fseeko() on any OS based on GNU libcPino Toscano2024-07-21
| | | | | | | | | | Strictly speaking, they are available in POSIX.1-2008 [1][2], so they could be used on more platforms/OSes. To be cautious, enable them when using GNU libc, since they have been available with that libc for a very long time. [1] https://pubs.opengroup.org/onlinepubs/9699919799/functions/ftell.html [2] https://pubs.opengroup.org/onlinepubs/9699919799/functions/fseek.html
* Improve `js_os_exec` (#295)Charlie Gordon2024-05-10
| | | | | | - use $(shell) make command to test if closefrom() is available - use closefrom() if available in js_os_exec() - limit the fallback loop to 1024 handles to avoid costly loop on linux alpine. PR inspired by @nicolas-duteil-nova
* Simplify redundant initializers for `JS_NewBool()`Charlie Gordon2024-03-23
|
* prevent 0 length allocation in `js_worker_postMessage`Charlie Gordon2024-03-03
|
* Simplify and clarify URL quoting js_std_urlGetCharlie Gordon2024-02-12
|
* FreeBSD QuickJS Patch (#203)Nick Vatamaniuc2024-02-12
|
* Fix shell injection bug in std.urlGet (#61)Felix S2024-02-12
|
* Fix runtime bugsCharlie Gordon2024-02-11
| | | | | - fix string leak in `js_printf_internal` on errors - read `errno` before potential side effects in `js_os_stat`
* Strip trailing spacesCharlie Gordon2024-02-10
|
* fixed js_std_await() in case 'obj' is not a promise (github issue #222)Fabrice Bellard2024-01-22
|
* fixed and simplified setTimeout() by using an integer timer handle (github ↵Fabrice Bellard2024-01-19
| | | | issue #218)
* added js_std_await() and use it to wait for the evaluation of a module ↵Fabrice Bellard2024-01-19
| | | | (github issue #219)
* added os.getpid()Fabrice Bellard2024-01-11
|
* allow 'await' in the REPL and added os.sleepAsync()Fabrice Bellard2024-01-02
|
* added os.now()Fabrice Bellard2023-12-27
|
* 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
* 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