Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unsafe sprintf() and strcat() calls | Ben Noordhuis | 2024-03-02 | 1 | -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 Gordon | 2024-03-02 | 1 | -2/+4 | |
| | ||||||
* | Fix UB in js_dtoa1 | Saúl Ibarra Corretgé | 2024-03-02 | 1 | -1/+3 | |
| | ||||||
* | Fix runtime bugs | Charlie Gordon | 2024-03-02 | 1 | -13/+9 | |
| | | | | | - fix string leak in `js_printf_internal` on errors - read `errno` before potential side effects in `js_os_stat` | |||||
* | Strip trailing spaces | Charlie Gordon | 2024-03-02 | 14 | -760/+760 | |
| | ||||||
* | avoid using INT64_MAX in double comparisons because it cannot be exactly ↵ | Fabrice Bellard | 2024-03-02 | 1 | -2/+3 | |
| | | | | represented as a double (bnoordhuis) | |||||
* | fixed Promise return in the REPL by using a wrapper object in async ↵ | Fabrice Bellard | 2024-03-02 | 1 | -2/+14 | |
| | | | | std.evalScript() (github issue #231) | |||||
* | export JS_GetModuleNamespace (github issue #34) | Fabrice Bellard | 2024-03-02 | 2 | -7/+6 | |
| | ||||||
* | simplified and fixed arrow function parsing (github issue #226) | Fabrice Bellard | 2024-03-02 | 1 | -46/+57 | |
| | ||||||
* | new release | Fabrice Bellard | 2024-03-02 | 1 | -1/+1 | |
| | ||||||
* | fixed JS_GetScriptOrModuleName() in direct or indirect eval code | Fabrice Bellard | 2024-03-02 | 1 | -11/+24 | |
| | ||||||
* | quickjs: reduce diff with upstream | bptato | 2024-03-02 | 2 | -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 Chagashi | bptato | 2024-02-26 | 1 | -0/+0 | |
| | ||||||
* | Update Chagashi | bptato | 2024-02-23 | 1 | -0/+0 | |
| | ||||||
* | Replace Chakasu with Chagashi | bptato | 2024-02-22 | 2 | -0/+0 | |
| | | | | | | The API is horrid :( but at least it copies less. TODO: think of a better API. | |||||
* | Update chame | bptato | 2024-02-21 | 1 | -0/+0 | |
| | ||||||
* | Update chame | bptato | 2024-02-08 | 1 | -0/+0 | |
| | ||||||
* | Update chame | bptato | 2024-02-07 | 1 | -0/+0 | |
| | ||||||
* | Incremental rendering | bptato | 2024-02-07 | 1 | -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 chame | bptato | 2024-02-07 | 1 | -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 commit | bptato | 2024-02-05 | 1 | -1/+1 | |
| | | | | it's 0, not 1 :( | |||||
* | regex: fix 8-bit narrow strings in JS | bptato | 2024-02-05 | 1 | -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_BOOL | bptato | 2024-01-15 | 1 | -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 build | Fabrice Bellard | 2024-01-11 | 1 | -16/+5 | |
| | ||||||
* | more portable and Windows version for getTimezoneOffset() (github issue #122) | Fabrice Bellard | 2024-01-11 | 1 | -9/+24 | |
| | ||||||
* | regexp: fixed the zero advance logic in quantifiers (github issue #158) | Fabrice Bellard | 2024-01-11 | 2 | -74/+42 | |
| | ||||||
* | optional chaining fixes (github issue #103) | Fabrice Bellard | 2024-01-11 | 2 | -7/+111 | |
| | ||||||
* | fixed Date.toLocaleString() (kuzmas) | Fabrice Bellard | 2024-01-11 | 1 | -1/+1 | |
| | ||||||
* | fixed regexp case insensitive flag | Fabrice Bellard | 2024-01-11 | 4 | -196/+374 | |
| | ||||||
* | fixed next token parsing after a function definition (github issue #77) | Fabrice Bellard | 2024-01-11 | 1 | -27/+51 | |
| | ||||||
* | fixed class name init in static initializers | Fabrice Bellard | 2024-01-11 | 1 | -17/+10 | |
| | ||||||
* | avoid potentially undefined behavior and make valgrind happy (bnoordhuis) ↵ | Fabrice Bellard | 2024-01-11 | 1 | -14/+12 | |
| | | | | (github issue #153) | |||||
* | make for in faster and spec compliant (github issue #137) | Fabrice Bellard | 2024-01-11 | 1 | -86/+143 | |
| | ||||||
* | fixed test262: derived-this-uninitialized-realm.js | Fabrice Bellard | 2024-01-11 | 2 | -4/+28 | |
| | ||||||
* | added a comment for non-initialized warning in Valgrind (github issue #153) | Fabrice Bellard | 2024-01-11 | 1 | -0/+10 | |
| | ||||||
* | added 'in' operator for private fields | Fabrice Bellard | 2024-01-11 | 2 | -75/+162 | |
| | ||||||
* | class static block (initial patch by bnoordhuis) | Fabrice Bellard | 2024-01-11 | 1 | -17/+76 | |
| | ||||||
* | fixed crash in JS_DumpMemoryUsage (github issue #65) | Fabrice Bellard | 2024-01-11 | 1 | -2/+2 | |
| | ||||||
* | allow 'await' in the REPL and added os.sleepAsync() | Fabrice Bellard | 2024-01-11 | 2 | -2/+5 | |
| | ||||||
* | make JS_NewClassID thread safe | Fabrice Bellard | 2024-01-11 | 1 | -1/+10 | |
| | ||||||
* | added Error cause | Fabrice Bellard | 2024-01-11 | 2 | -6/+21 | |
| | ||||||
* | added os.now() | Fabrice Bellard | 2023-12-28 | 1 | -30/+0 | |
| | ||||||
* | define the same atoms with or without CONFIG_ATOMICS (github issue #76) | Fabrice Bellard | 2023-12-28 | 1 | -2/+2 | |
| | ||||||
* | fixed JS module autodetection with shebang (github issue #91) | Fabrice Bellard | 2023-12-28 | 1 | -26/+28 | |
| | ||||||
* | fixed crash when resizing property shapes in case of OOM (github issue #129) | Fabrice Bellard | 2023-12-28 | 1 | -23/+18 | |
| | ||||||
* | fixed the garbage collection of async functions with closures (github issue ↵ | Fabrice Bellard | 2023-12-28 | 1 | -244/+277 | |
| | | | | #156) | |||||
* | removed memory leak | Fabrice Bellard | 2023-12-28 | 1 | -1/+3 | |
| | ||||||
* | added RegExp 'd' flag (bnoordhuis) | Fabrice Bellard | 2023-12-28 | 3 | -54/+139 | |
| | ||||||
* | added Promise.withResolvers | Fabrice Bellard | 2023-12-28 | 1 | -10/+6 | |
| | ||||||
* | added Array.prototype.{with,toReversed,toSpliced,toSorted} and ↵ | Fabrice Bellard | 2023-12-28 | 1 | -0/+379 | |
| | | | | TypedArray.prototype.{with,toReversed,toSorted} (initial patch by bnoordhuis) |