about summary refs log tree commit diff stats
path: root/src/display
Commit message (Collapse)AuthorAgeFilesLines
* Show error messages, fix some fetch crashesbptato2023-06-091-1/+4
|
* Fix 'F' missing from fullwidth chars + display bugsbptato2023-06-092-40/+42
|
* Add missing null checkbptato2023-06-071-1/+2
|
* Add XTERM title renamingbptato2023-06-072-27/+26
|
* Clean up stream error handlingbptato2023-06-071-0/+2
| | | | | | * sread now raises EOFError if readData returns too few bytes * buffer handleError ignores unregistered fds like client * client handleError ignores unregistered fds like buffer
* Fix bug in client's unregistered fd handlingbptato2023-06-061-2/+6
| | | | + run JS jobs after every poll in headless mode
* Add support for canvas and multipartbptato2023-06-051-0/+6
| | | | | | | | | | | | | | | 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-10/+11
| | | | So that the default config actually works again. Also some doc updates.
* Add module loading to clientbptato2023-06-011-0/+24
| | | | Files only, for now.
* Add setTimeout, setInterval to windowbptato2023-06-011-83/+27
|
* Run JS jobs in headless mode toobptato2023-05-221-0/+2
| | | | As previous commit, just for headless mode
* Run JS jobs on timeout handlersbptato2023-05-211-0/+2
|
* Rewrite new Request bindingbptato2023-05-211-1/+1
| | | | | Still far from perfect, but now at least it has a bit more to do with what the standard mandates.
* Add display/output encodingbptato2023-05-192-12/+49
| | | | Some encodings are still missing
* Refactor config, add charset optsbptato2023-05-163-42/+56
| | | | Only document-charset supported for now.
* Fix some fetch crashesbptato2023-05-111-1/+4
| | | | Now it should work for very basic use-cases
* Improve debugging, reduce crashesbptato2023-05-091-1/+23
| | | | Loader no longer dies when not everything is read from the stream.
* WIP fetchbptato2023-04-301-0/+4
|
* setTimeout, setInterval: hack to fix 0 timeoutbptato2023-02-091-2/+2
| | | | Timers with a timeout < 1 seem to block indefinitely. No clue why.
* Slightly improve request api (less crashes)bptato2023-02-051-1/+1
|
* pager, term: fix inefficiencies, off by one errorsbptato2023-01-112-13/+15
| | | | and other weird things I forgot to remove while debugging
* display/pager: correct maximum status message widthbptato2023-01-071-4/+6
|
* Slightly refactor commandModebptato2023-01-062-10/+19
|
* display/client: quit when pager.buffer is nullbptato2023-01-051-0/+3
|
* Get rid of eprint in place of stderr.writebptato2023-01-051-1/+1
| | | | eprint should only be used for debugging.
* Add ask()bptato2023-01-052-47/+80
|
* pager: fix prevBuffer, nextBuffer, replace weirdnessbptato2023-01-041-8/+16
| | | | Now they should behave as expected. (I hope.)
* client, pager, dom, ...: better error handlingbptato2023-01-042-83/+92
| | | | Now the browser shouldn't completely die when a buffer crashes.
* container, pager: work around bad codegenbptato2023-01-021-7/+7
|
* term: hack to avoid a weird crashbptato2023-01-021-2/+8
| | | | Looks like we can't just assign canvas to pcanvas.
* Fix connection load info not being shownbptato2023-01-022-3/+6
|
* loader: proper redirect handlingbptato2023-01-011-3/+4
|
* buffer: fix some search bugs & refactor regex stuffbptato2023-01-011-1/+1
| | | | | | | | 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.
* pager: fix bug with tab on screen shiftingbptato2023-01-011-2/+3
|
* Add promise support to JSbptato2022-12-311-1/+9
|
* Proper support for tabsbptato2022-12-272-11/+15
|
* dom: fix collection cachingbptato2022-12-271-0/+6
| | | | Use ids instead of pure pointers, so we can utilize the JS finalizer.
* pager: improve title display, fix alert displaybptato2022-12-252-4/+35
|
* pager: proxy values in container; js: bugfixesbptato2022-12-202-70/+55
| | | | Also, a little bonus: w3m keybindings
* Add unicode normalization, etcbptato2022-12-191-6/+18
|
* Add JS support to documentsbptato2022-12-182-26/+27
|
* Allow cycling through hover-texts with ubptato2022-12-162-15/+14
|
* Fix a processFormat bugbptato2022-12-162-6/+8
|
* discardTree only kills child buffers, fix discardBufferbptato2022-12-161-3/+5
|
* container: do not load all lines at once in readLinesbptato2022-12-151-4/+2
|
* pager: fix getRoot returning nothingbptato2022-12-151-0/+1
|
* Fix console display bugs, add container.locationbptato2022-12-151-2/+5
|
* Add discardTree, update docsbptato2022-12-151-19/+34
|
* term: improve screen/line clearingbptato2022-12-151-4/+12
|
* Fix searchbptato2022-12-141-1/+5
|