about summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
...
* update doc/protocolsbptato2023-12-221-3/+3
|
* reduced JS_MAX_LOCAL_VARS (github issue #123)Fabrice Bellard2023-12-221-1/+1
|
* removed unused JSContext fieldFabrice Bellard2023-12-221-1/+0
|
* use Unicode normalization in String.prototype.localeCompareFabrice Bellard2023-12-221-31/+100
|
* 'for of' expression cannot start with 'async'Fabrice Bellard2023-12-221-0/+3
|
* removed incorrect await in async yield*Fabrice Bellard2023-12-221-1/+0
|
* fixed define own property with writable=false on module namespaceFabrice Bellard2023-12-221-3/+7
|
* added container_of macroFabrice Bellard2023-12-223-3/+5
|
* safer typed array finalizerFabrice Bellard2023-12-221-2/+17
|
* fixed js_strtod with large integers (github issue #206)Fabrice Bellard2023-12-221-2/+6
|
* test 128 bit integer support (github issue #125)Fabrice Bellard2023-12-221-1/+1
|
* quickjs: avoid an unnecessary null check for can_destroybptato2023-12-221-4/+4
|
* buffer: prevent crash in reshape before document is parsedbptato2023-12-221-0/+2
| | | | Can happen e.g. if the window is resized or the user manually reshapes.
* gmi2html: rewritebptato2023-12-223-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 streamsbptato2023-12-211-4/+2
|
* buffer: clean up ssock on being killedbptato2023-12-213-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 executablebptato2023-12-213-6/+8
|
* loader: refactor onRead/onErrorbptato2023-12-211-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 gotoMarkYbptato2023-12-212-3/+3
| | | | | | Now it actually does what it was supposed to do. Also, clarify what it does in config.md
* file: remove symlink codebptato2023-12-211-19/+4
| | | | It was never reached anyway.
* file: do not use streamsbptato2023-12-211-23/+19
|
* js: fix nil deref in jsgetpropbptato2023-12-201-4/+9
| | | | Turns out desc can in fact be nil.
* ua.css: add plaintextbptato2023-12-201-1/+1
|
* html/dom: do not submit implicitly if there is a submit buttonbptato2023-12-181-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 emitsbptato2023-12-183-50/+75
| | | | Use .compile, as that is supported by nlvm too.
* strwidth & url fixesbptato2023-12-163-7/+7
| | | | | | * actually search Combining for isCombining * fix searchInMap * fix cmpRange of url
* Fix compilation on Nim 1.6.14bptato2023-12-165-5/+16
|
* container: fix multi-byte selections, do not append newlinebptato2023-12-161-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 nodesbptato2023-12-151-1/+2
| | | | | We must first check if there is really no node to attach the comment to...
* about: actually error out on errorbptato2023-12-151-5/+8
|
* Fix for sourcehut markdown parsing, small doc improvementsbptato2023-12-158-63/+31
| | | | hopefully this works
* Add doc/protocolsbptato2023-12-153-2/+154
|
* config: allow overriding default prepended schemebptato2023-12-154-5/+19
|
* Implement local CGI error message handlingbptato2023-12-157-8/+44
| | | | | | This was documented, but not implemented until now. Also, improve the loader module's protocol documentation.
* cha-finger: proper error message outputbptato2023-12-151-6/+12
|
* ftp: fix unnecessary slashes being added to path; move bindings/curlbptato2023-12-157-29/+39
| | | | also in ftp: clean up resources before exit
* buffer: use BufferSize constantbptato2023-12-151-1/+1
|
* Set ishtml in the correct place, take ishtml on clonebptato2023-12-151-1/+2
|
* container: track ishtml statusbptato2023-12-152-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 isDigitAsciibptato2023-12-143-6/+4
| | | | so we do not have to import unicode
* bonus: add libfetch HTTP backendbptato2023-12-142-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 bindUnixbptato2023-12-145-11/+51
| | | | | reimplementing it portably in Nim seems incredibly annoying, so we just use C
* client: nil check connectSocketStream resultbptato2023-12-141-0/+5
| | | | | It may fail if the buffer process could not successfully create a server socket.
* client: avoid nil defect in flushConsolebptato2023-12-141-0/+5
|
* config: do not override user-defined urimethodmapbptato2023-12-142-1/+6
| | | | UMM resolution takes the first entry.
* Makefile: add missing mkdir commandsbptato2023-12-141-0/+9
|
* Update readmebptato2023-12-141-1/+1
|
* fixed 'return' handling with 'yield' in 'for of' or with finally blocks ↵Fabrice Bellard2023-12-142-73/+121
| | | | (gihub ticket #166)
* fixed async generator in case of exception in the implicit await in the ↵Fabrice Bellard2023-12-141-9/+20
| | | | 'return' statement
* Fix AsyncGenerator.prototype.return error handling (bnoordhuis)Fabrice Bellard2023-12-141-4/+13
|