Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | ua.css: add plaintext | bptato | 2023-12-20 | 1 | -1/+1 | |
| | ||||||
* | html/dom: do not submit implicitly if there is a submit button | bptato | 2023-12-18 | 1 | -8/+10 | |
| | | | | | | | | | | | | | | | | See e.g. the sr.ht issue tracker, now forever tainted by the tickets I accidentally submitted :P Chawan will gladly autosubmit without the user having written anything in the textbox just by writing some text in the title. The problem is that graphical web browsers typically have a "submit" keybinding (enter), and a "next field" keybinding (tab). The implicit submission mechanism was created with graphical browsers in mind; like w3m, Chawan only has an "ok" keybinding, which may or may not also mean "submit". With this solution, only forms that could not otherwise be submitted will autosubmit. | |||||
* | socketstream: get rid of emits | bptato | 2023-12-18 | 3 | -50/+75 | |
| | | | | Use .compile, as that is supported by nlvm too. | |||||
* | strwidth & url fixes | bptato | 2023-12-16 | 3 | -7/+7 | |
| | | | | | | * actually search Combining for isCombining * fix searchInMap * fix cmpRange of url | |||||
* | Fix compilation on Nim 1.6.14 | bptato | 2023-12-16 | 5 | -5/+16 | |
| | ||||||
* | container: fix multi-byte selections, do not append newline | bptato | 2023-12-16 | 1 | -7/+11 | |
| | | | | | | We need to select (first byte of first char)..(last byte of last char). Also, in line/block mode we no longer add the final newline to selections. | |||||
* | config/toml: fix consumeComment overriding nodes | bptato | 2023-12-15 | 1 | -1/+2 | |
| | | | | | We must first check if there is really no node to attach the comment to... | |||||
* | about: actually error out on error | bptato | 2023-12-15 | 1 | -5/+8 | |
| | ||||||
* | Fix for sourcehut markdown parsing, small doc improvements | bptato | 2023-12-15 | 8 | -63/+31 | |
| | | | | hopefully this works | |||||
* | Add doc/protocols | bptato | 2023-12-15 | 3 | -2/+154 | |
| | ||||||
* | config: allow overriding default prepended scheme | bptato | 2023-12-15 | 4 | -5/+19 | |
| | ||||||
* | Implement local CGI error message handling | bptato | 2023-12-15 | 7 | -8/+44 | |
| | | | | | | This was documented, but not implemented until now. Also, improve the loader module's protocol documentation. |