about summary refs log tree commit diff stats
path: root/src/buffer
Commit message (Collapse)AuthorAgeFilesLines
* Fix 'F' missing from fullwidth chars + display bugsbptato2023-06-091-0/+1
|
* Add support for visibilitybptato2023-06-071-18/+15
|
* Add support for width, height media querybptato2023-06-071-4/+6
|
* Add XTERM title renamingbptato2023-06-071-2/+2
|
* Clean up stream error handlingbptato2023-06-071-6/+6
| | | | | | * sread now raises EOFError if readData returns too few bytes * buffer handleError ignores unregistered fds like client * client handleError ignores unregistered fds like buffer
* buffer: call handleError before handleRead & miscbptato2023-06-051-6/+6
|
* Add support for canvas and multipartbptato2023-06-051-82/+28
| | | | | | | | | | | | | | | Quite incomplete canvas implementation. Crucially, the layout engine can't do much with whatever is drawn because it doesn't support images yet. I've re-introduced multipart as well, with the FormData API. For the append function I've also introduced a hack to the JS binding generator that allows requesting the JSContext pointer in nim procs. Really I should just fix the union generator thing and add support for overloading. In conclusion, for now the only thing canvas can be used for is exporting it as PNG and uploading it somewhere. Also, we now have PNG encoding and decoding too. (Now if only we had sixels as well...)
* Fix more config inconsistenciesbptato2023-06-011-1/+1
| | | | So that the default config actually works again. Also some doc updates.
* Add setTimeout, setInterval to windowbptato2023-06-011-49/+60
|
* Refactor config, add charset optsbptato2023-05-161-11/+12
| | | | Only document-charset supported for now.
* Set buffer state to LOADED on finishLoadbptato2023-05-141-2/+2
|
* Name negative response codesbptato2023-05-142-3/+5
|
* Async resource loading, exception handling fixesbptato2023-05-141-18/+60
|
* Fix some fetch crashesbptato2023-05-111-0/+1
| | | | Now it should work for very basic use-cases
* Temporarily disable multipartbptato2023-04-301-1/+1
| | | | It never really worked, and I can't be bothered to fix it now
* WIP fetchbptato2023-04-301-0/+10
|
* buffer: disable popup confirmation for formsbptato2023-04-102-5/+15
|
* buffer: adapt onload to PosixStream and SocketStreambptato2023-02-131-15/+14
|
* buffer: do not move cursor in scrollLeftbptato2023-01-201-2/+0
|
* buffer/container: fix cursor overwriting double-width charsbptato2023-01-111-1/+22
| | | | | In some terminals, placing the cursor on the second cell of a double-width character deletes half of said character, so let's not do that.
* Slightly refactor commandModebptato2023-01-061-1/+1
|
* Add ask()bptato2023-01-051-0/+3
|
* renderdocument: add StyledNodes to backgroundsbptato2023-01-031-17/+4
| | | | | | This makes it possible to e.g. click on this: <a href=x style="display: inline-block; width: 5em; height: 5em; background-color: red"></a>
* buffer: fix infinite loop in getClickablebptato2023-01-031-2/+3
|
* buffer: fix infinite loopbptato2023-01-031-1/+2
|
* container, pager: work around bad codegenbptato2023-01-021-3/+3
|
* dom: add better attribute reflectionbptato2023-01-021-2/+3
| | | | | Instead of creating a new function for each attribute, use a single magic function for reflected attributes.
* Add support for <label>bptato2023-01-021-93/+111
|
* Fix connection load info not being shownbptato2023-01-021-1/+1
|
* loader: proper redirect handlingbptato2023-01-012-6/+4
|
* buffer: fix some search bugs & refactor regex stuffbptato2023-01-012-50/+44
| | | | | | | | cursorBytes uses twidth now. cursorNextMatch matches the byte *after* the cursor (somewhat more consistently than before). match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes through the entire string.
* Add promise support to JSbptato2022-12-312-86/+47
|
* buffer/container: fix highlighting widthbptato2022-12-281-2/+2
|
* Proper support for tabsbptato2022-12-271-35/+32
|
* Consistent naming of parseURL, non-public newURLParamsbptato2022-12-261-4/+4
|
* container: fix requestLines not setting setxbptato2022-12-251-0/+1
|
* pager: proxy values in container; js: bugfixesbptato2022-12-201-52/+73
| | | | Also, a little bonus: w3m keybindings
* Add unicode normalization, etcbptato2022-12-191-0/+1
|
* More DOM workbptato2022-12-191-9/+1
|
* Add JS support to documentsbptato2022-12-181-15/+21
|
* Allow cycling through hover-texts with ubptato2022-12-162-28/+59
|
* container: do not load all lines at once in readLinesbptato2022-12-152-10/+26
|
* makeCRLF: move to twtstr, write last charbptato2022-12-151-16/+0
|
* Fix console display bugs, add container.locationbptato2022-12-151-1/+4
|
* Add discardTree, update docsbptato2022-12-151-2/+2
|
* Fix error handling on buffer closebptato2022-12-151-14/+18
|
* Make load() slightly less dumbbptato2022-12-152-53/+101
| | | | | This gets rid of the inefficient timeout thing. Still, the ideal solution would be to move the timeout into the container; TODO.
* cssparser: check for EOF in first read chunkbptato2022-12-141-2/+2
| | | | To-do: use decoderstream...
* Add referer support, re-render on windowChangebptato2022-12-132-11/+37
|
* Fix stream error handling confusion, title displaybptato2022-12-132-10/+22
| | | | Also probably other fixes.