Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | cha-finger: skip leading slash in path | bptato | 2024-01-03 | 1 | -1/+1 | |
| | ||||||
* | Add spartan support | bptato | 2024-01-03 | 4 | -1/+68 | |
| | | | | why not | |||||
* | buffer: do not trap SIGINT to cleanup | bptato | 2024-01-03 | 2 | -2/+2 | |
| | | | | | | | We trap SIGINT with setControlCHook to avoid buffers being killed by the process group receiving a SIGINT; trapping it to cleanup has the opposite effect. SIGTERM should be enough, as that is what we use for cleaning up buffers. | |||||
* | loader: send error message str for disallowed URL | bptato | 2023-12-29 | 1 | -3/+3 | |
| | | | | buffer was crashing with an EOFError otherwise | |||||
* | 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) | |||||
* | added Object.groupBy and Map.groupBy (initial patch by bnoordhuis) | Fabrice Bellard | 2023-12-28 | 1 | -0/+121 | |
| | ||||||
* | added String.prototype.isWellFormed and String.prototype.toWellFormed | Fabrice Bellard | 2023-12-28 | 1 | -0/+80 | |
| | ||||||
* | fixed detached TypedArray in sort() | Fabrice Bellard | 2023-12-28 | 1 | -40/+47 | |
| | ||||||
* | quickjs: remove unnecessary forward declaration | bptato | 2023-12-28 | 1 | -4/+0 | |
| | | | | was causing conflicts with applying upstream patches | |||||
* | top-level-await support - follow the spec in the implementation of the ↵ | Fabrice Bellard | 2023-12-28 | 2 | -89/+635 | |
| | | | | module linking and evaluation to avoid errors with cycling module dependencies | |||||
* | Revert TLA support patch | bptato | 2023-12-28 | 2 | -126/+19 | |
| | | | | | | Importing it from upstream. (Hoping this revert actually worked...) | |||||
* | Compile with styleCheck:usages | bptato | 2023-12-28 | 25 | -67/+69 | |
| | | | | much better | |||||
* | Remove outdated readme in adapter/ | bptato | 2023-12-25 | 1 | -7/+0 | |
| | | | | the "long-term goal" is already achieved :) | |||||
* | dom: export import maps allowed | bptato | 2023-12-25 | 1 | -1/+1 | |
| | | | | whoops | |||||
* | dom: use JS_EvalFunction; add module fetching stubs | bptato | 2023-12-25 | 6 | -51/+164 | |
| | | | | (still no module support in buffer...) | |||||
* | Fix warnings on Nim 2.0.2 | bptato | 2023-12-24 | 2 | -3/+3 | |
| | | | | | | | | One is a false-positive (in dom). The other one in pager is something I hadn't noticed before, that's nice. For now I want to avoid making a change that may break things, so I just removed the dead code. | |||||
* | bindings/quickjs: cint -> csize_t | bptato | 2023-12-23 | 2 | -3/+5 | |
| | | | | | | cint was incorrect :/ Makes me wonder if maybe we should just use futhark after all... | |||||
* | dom: use std/ in imports | bptato | 2023-12-22 | 1 | -8/+8 | |
| | ||||||
* | dom: simplify fetch classic script | bptato | 2023-12-22 | 1 | -22/+21 | |
| | ||||||
* | fix broken link | bptato | 2023-12-22 | 1 | -1/+1 | |
| | ||||||
* | update doc/protocols | bptato | 2023-12-22 | 1 | -3/+3 | |
| | ||||||
* | reduced JS_MAX_LOCAL_VARS (github issue #123) | Fabrice Bellard | 2023-12-22 | 1 | -1/+1 | |
| | ||||||
* | removed unused JSContext field | Fabrice Bellard | 2023-12-22 | 1 | -1/+0 | |
| | ||||||
* | use Unicode normalization in String.prototype.localeCompare | Fabrice Bellard | 2023-12-22 | 1 | -31/+100 | |
| | ||||||
* | 'for of' expression cannot start with 'async' | Fabrice Bellard | 2023-12-22 | 1 | -0/+3 | |
| | ||||||
* | removed incorrect await in async yield* | Fabrice Bellard | 2023-12-22 | 1 | -1/+0 | |
| | ||||||
* | fixed define own property with writable=false on module namespace | Fabrice Bellard | 2023-12-22 | 1 | -3/+7 | |
| | ||||||
* | added container_of macro | Fabrice Bellard | 2023-12-22 | 3 | -3/+5 | |
| | ||||||
* | safer typed array finalizer | Fabrice Bellard | 2023-12-22 | 1 | -2/+17 | |
| | ||||||
* | fixed js_strtod with large integers (github issue #206) | Fabrice Bellard | 2023-12-22 | 1 | -2/+6 | |
| | ||||||
* | test 128 bit integer support (github issue #125) | Fabrice Bellard | 2023-12-22 | 1 | -1/+1 | |
| | ||||||
* | quickjs: avoid an unnecessary null check for can_destroy | bptato | 2023-12-22 | 1 | -4/+4 | |
| | ||||||
* | buffer: prevent crash in reshape before document is parsed | bptato | 2023-12-22 | 1 | -0/+2 | |
| | | | | Can happen e.g. if the window is resized or the user manually reshapes. | |||||
* | gmi2html: rewrite | bptato | 2023-12-22 | 3 | -246/+74 | |
| | | | | | | | | * Rewrite in Nim * This time, do not use a state machine (it was a very bad idea) * Do not emit <br> for every line; use CSS instead * Avoid double-newline caused by margins using CSS * Properly support list items | |||||
* | gopher2html: do not use streams | bptato | 2023-12-21 | 1 | -4/+2 | |
| | ||||||
* | buffer: clean up ssock on being killed | bptato | 2023-12-21 | 3 | -21/+40 | |
| | | | | | | * use signal handlers to avoid littering tmpdir with dead sockets * add connection reset error (for socketstream) * convert some imports to new style | |||||
* | cgi: return ConnectionError when script is not executable | bptato | 2023-12-21 | 3 | -6/+8 | |
| | ||||||
* | loader: refactor onRead/onError | bptato | 2023-12-21 | 1 | -19/+22 | |
| | | | | | | It was originally written this way to accomodate for the broken std file API. We no longer use that in buffer, so we can use a more correct version now. | |||||
* | container: fix gotoMarkY | bptato | 2023-12-21 | 2 | -3/+3 | |
| | | | | | | Now it actually does what it was supposed to do. Also, clarify what it does in config.md | |||||
* | file: remove symlink code | bptato | 2023-12-21 | 1 | -19/+4 | |
| | | | | It was never reached anyway. | |||||
* | file: do not use streams | bptato | 2023-12-21 | 1 | -23/+19 | |
| | ||||||
* | js: fix nil deref in jsgetprop | bptato | 2023-12-20 | 1 | -4/+9 | |
| | | | | Turns out desc can in fact be nil. |