Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | cha-finger: proper error message output | bptato | 2023-12-15 | 1 | -6/+12 | |
| | ||||||
* | ftp: fix unnecessary slashes being added to path; move bindings/curl | bptato | 2023-12-15 | 7 | -29/+39 | |
| | | | | also in ftp: clean up resources before exit | |||||
* | buffer: use BufferSize constant | bptato | 2023-12-15 | 1 | -1/+1 | |
| | ||||||
* | Set ishtml in the correct place, take ishtml on clone | bptato | 2023-12-15 | 1 | -1/+2 | |
| | ||||||
* | container: track ishtml status | bptato | 2023-12-15 | 2 | -1/+4 | |
| | | | | | This way we can at least view HTML source of x-htmloutput filtered buffers. TODO: make it render the actual source instead. | |||||
* | charcategory: move out isDigitAscii | bptato | 2023-12-14 | 3 | -6/+4 | |
| | | | | so we do not have to import unicode | |||||
* | bonus: add libfetch HTTP backend | bptato | 2023-12-14 | 2 | -0/+163 | |
| | | | | | | | It has roughly zero utility, but maybe it's a good demonstration of local CGI? (TODO: add libfetch FTP too, that might actually be useful.) | |||||
* | socketstream, serversocket: portable bindUnix | bptato | 2023-12-14 | 5 | -11/+51 | |
| | | | | | reimplementing it portably in Nim seems incredibly annoying, so we just use C | |||||
* | client: nil check connectSocketStream result | bptato | 2023-12-14 | 1 | -0/+5 | |
| | | | | | It may fail if the buffer process could not successfully create a server socket. | |||||
* | client: avoid nil defect in flushConsole | bptato | 2023-12-14 | 1 | -0/+5 | |
| | ||||||
* | config: do not override user-defined urimethodmap | bptato | 2023-12-14 | 2 | -1/+6 | |
| | | | | UMM resolution takes the first entry. | |||||
* | Makefile: add missing mkdir commands | bptato | 2023-12-14 | 1 | -0/+9 | |
| | ||||||
* | Update readme | bptato | 2023-12-14 | 1 | -1/+1 | |
| | ||||||
* | fixed 'return' handling with 'yield' in 'for of' or with finally blocks ↵ | Fabrice Bellard | 2023-12-14 | 2 | -73/+121 | |
| | | | | (gihub ticket #166) | |||||
* | fixed async generator in case of exception in the implicit await in the ↵ | Fabrice Bellard | 2023-12-14 | 1 | -9/+20 | |
| | | | | 'return' statement | |||||
* | Fix AsyncGenerator.prototype.return error handling (bnoordhuis) | Fabrice Bellard | 2023-12-14 | 1 | -4/+13 | |
| |