about summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unsafe sprintf() and strcat() callsBen Noordhuis2024-03-021-22/+24
| | | | | Prep work for enabling the sanitizers on macos CI since they are marked as deprecated and cause the build to fail when -Werror is enabled.
* Fix undefined behavior (UBSAN)Charlie Gordon2024-03-021-2/+4
|
* Fix UB in js_dtoa1Saúl Ibarra Corretgé2024-03-021-1/+3
|
* Fix runtime bugsCharlie Gordon2024-03-021-13/+9
| | | | | - fix string leak in `js_printf_internal` on errors - read `errno` before potential side effects in `js_os_stat`
* Strip trailing spacesCharlie Gordon2024-03-0214-760/+760
|
* avoid using INT64_MAX in double comparisons because it cannot be exactly ↵Fabrice Bellard2024-03-021-2/+3
| | | | represented as a double (bnoordhuis)
* fixed Promise return in the REPL by using a wrapper object in async ↵Fabrice Bellard2024-03-021-2/+14
| | | | std.evalScript() (github issue #231)
* export JS_GetModuleNamespace (github issue #34)Fabrice Bellard2024-03-022-7/+6
|
* simplified and fixed arrow function parsing (github issue #226)Fabrice Bellard2024-03-021-46/+57
|
* new releaseFabrice Bellard2024-03-021-1/+1
|
* fixed JS_GetScriptOrModuleName() in direct or indirect eval codeFabrice Bellard2024-03-021-11/+24
|
* quickjs: reduce diff with upstreambptato2024-03-022-61/+18
| | | | | | * the uint8array thing is probably from txiki.js, but we never used it * upstream now has JS_GetClassID, importing that instead... (so this commit won't build :/)
* Update Chagashibptato2024-02-261-0/+0
|
* Update Chagashibptato2024-02-231-0/+0
|
* Replace Chakasu with Chagashibptato2024-02-222-0/+0
| | | | | | The API is horrid :( but at least it copies less. TODO: think of a better API.
* Update chamebptato2024-02-211-0/+0
|
* Update chamebptato2024-02-081-0/+0
|
* Update chamebptato2024-02-071-0/+0
|
* Incremental renderingbptato2024-02-071-0/+0
| | | | | | | | | | | | Yay! Admittedly, it is not very useful in its current form, except maybe on very slow networks. The problem is that renderDocument is *slow*, so we only run it when onload fails to consume all bytes from the network in a single pass. Even then, we are guaranteed to get a FOUC, since CSS is only downloaded in finishLoad(). Well, I think it's cool, anyway.
* Update chamebptato2024-02-071-0/+0
| | | | | | | | * Update chame to the latest version * Get rid of nodeType usage * Add atoms * Re-implement DOM attributes * document.write
* fix bug in prev commitbptato2024-02-051-1/+1
| | | | it's 0, not 1 :(
* regex: fix 8-bit narrow strings in JSbptato2024-02-051-25/+39
| | | | | The previous approach to add UTF-8 support to libregexp was broken. This time, we use a separate flag (cbuf_len == 3) to indicate UTF-8 input.
* quickjs: patch libunicode.h to use LRE_BOOLbptato2024-01-151-2/+2
| | | | | | | This way it actually compiles :) (QJS includes cutils.h too, so BOOL works there. We don't, so this is the easiest fix.)
* native cosmopolitan buildFabrice Bellard2024-01-111-16/+5
|
* more portable and Windows version for getTimezoneOffset() (github issue #122)Fabrice Bellard2024-01-111-9/+24
|
* regexp: fixed the zero advance logic in quantifiers (github issue #158)Fabrice Bellard2024-01-112-74/+42
|
* optional chaining fixes (github issue #103)Fabrice Bellard2024-01-112-7/+111
|
* fixed Date.toLocaleString() (kuzmas)Fabrice Bellard2024-01-111-1/+1
|
* fixed regexp case insensitive flagFabrice Bellard2024-01-114-196/+374
|
* fixed next token parsing after a function definition (github issue #77)Fabrice Bellard2024-01-111-27/+51
|
* fixed class name init in static initializersFabrice Bellard2024-01-111-17/+10
|
* avoid potentially undefined behavior and make valgrind happy (bnoordhuis) ↵Fabrice Bellard2024-01-111-14/+12
| | | | (github issue #153)
* make for in faster and spec compliant (github issue #137)Fabrice Bellard2024-01-111-86/+143
|
* fixed test262: derived-this-uninitialized-realm.jsFabrice Bellard2024-01-112-4/+28
|
* added a comment for non-initialized warning in Valgrind (github issue #153)Fabrice Bellard2024-01-111-0/+10
|
* added 'in' operator for private fieldsFabrice Bellard2024-01-112-75/+162
|
* class static block (initial patch by bnoordhuis)Fabrice Bellard2024-01-111-17/+76
|
* fixed crash in JS_DumpMemoryUsage (github issue #65)Fabrice Bellard2024-01-111-2/+2
|
* allow 'await' in the REPL and added os.sleepAsync()Fabrice Bellard2024-01-112-2/+5
|
* make JS_NewClassID thread safeFabrice Bellard2024-01-111-1/+10
|
* added Error causeFabrice Bellard2024-01-112-6/+21
|
* added os.now()Fabrice Bellard2023-12-281-30/+0
|
* define the same atoms with or without CONFIG_ATOMICS (github issue #76)Fabrice Bellard2023-12-281-2/+2
|
* fixed JS module autodetection with shebang (github issue #91)Fabrice Bellard2023-12-281-26/+28
|
* fixed crash when resizing property shapes in case of OOM (github issue #129)Fabrice Bellard2023-12-281-23/+18
|
* fixed the garbage collection of async functions with closures (github issue ↵Fabrice Bellard2023-12-281-244/+277
| | | | #156)
* removed memory leakFabrice Bellard2023-12-281-1/+3
|
* added RegExp 'd' flag (bnoordhuis)Fabrice Bellard2023-12-283-54/+139
|
* added Promise.withResolversFabrice Bellard2023-12-281-10/+6
|
* added Array.prototype.{with,toReversed,toSpliced,toSorted} and ↵Fabrice Bellard2023-12-281-0/+379
| | | | TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis)