Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up stream error handling | bptato | 2023-06-07 | 1 | -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 handling | bptato | 2023-06-06 | 1 | -2/+6 |
| | | | | + run JS jobs after every poll in headless mode | ||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 1 | -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...) | ||||
* | Add module loading to client | bptato | 2023-06-01 | 1 | -0/+24 |
| | | | | Files only, for now. | ||||
* | Add setTimeout, setInterval to window | bptato | 2023-06-01 | 1 | -83/+27 |
| | |||||
* | Run JS jobs in headless mode too | bptato | 2023-05-22 | 1 | -0/+2 |
| | | | | As previous commit, just for headless mode | ||||
* | Run JS jobs on timeout handlers | bptato | 2023-05-21 | 1 | -0/+2 |
| | |||||
* | Refactor config, add charset opts | bptato | 2023-05-16 | 1 | -11/+14 |
| | | | | Only document-charset supported for now. | ||||
* | Fix some fetch crashes | bptato | 2023-05-11 | 1 | -1/+4 |
| | | | | Now it should work for very basic use-cases | ||||
* | Improve debugging, reduce crashes | bptato | 2023-05-09 | 1 | -1/+23 |
| | | | | Loader no longer dies when not everything is read from the stream. | ||||
* | WIP fetch | bptato | 2023-04-30 | 1 | -0/+4 |
| | |||||
* | setTimeout, setInterval: hack to fix 0 timeout | bptato | 2023-02-09 | 1 | -2/+2 |
| | | | | Timers with a timeout < 1 seem to block indefinitely. No clue why. | ||||
* | Slightly improve request api (less crashes) | bptato | 2023-02-05 | 1 | -1/+1 |
| | |||||
* | Slightly refactor commandMode | bptato | 2023-01-06 | 1 | -4/+12 |
| | |||||
* | display/client: quit when pager.buffer is null | bptato | 2023-01-05 | 1 | -0/+3 |
| | |||||
* | Add ask() | bptato | 2023-01-05 | 1 | -5/+14 |
| | |||||
* | client, pager, dom, ...: better error handling | bptato | 2023-01-04 | 1 | -73/+85 |
| | | | | Now the browser shouldn't completely die when a buffer crashes. | ||||
* | Fix connection load info not being shown | bptato | 2023-01-02 | 1 | -2/+5 |
| | |||||
* | Add promise support to JS | bptato | 2022-12-31 | 1 | -1/+9 |
| | |||||
* | dom: fix collection caching | bptato | 2022-12-27 | 1 | -0/+6 |
| | | | | Use ids instead of pure pointers, so we can utilize the JS finalizer. | ||||
* | pager: improve title display, fix alert display | bptato | 2022-12-25 | 1 | -0/+1 |
| | |||||
* | pager: proxy values in container; js: bugfixes | bptato | 2022-12-20 | 1 | -8/+7 |
| | | | | Also, a little bonus: w3m keybindings | ||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -25/+23 |
| | |||||
* | Allow cycling through hover-texts with u | bptato | 2022-12-16 | 1 | -9/+8 |
| | |||||
* | Fix console display bugs, add container.location | bptato | 2022-12-15 | 1 | -2/+5 |
| | |||||
* | Fix stream error handling confusion, title display | bptato | 2022-12-13 | 1 | -1/+1 |
| | | | | Also probably other fixes. | ||||
* | Add more cookie options | bptato | 2022-12-13 | 1 | -2/+2 |
| | |||||
* | Add all sorts of config options and cookies | bptato | 2022-12-13 | 1 | -2/+6 |
| | |||||
* | Fix -d | bptato | 2022-12-10 | 1 | -0/+27 |
| | |||||
* | Catch EOFError in console.readChar | bptato | 2022-12-07 | 1 | -1/+4 |
| | |||||
* | Do not set client.console.tty twice | bptato | 2022-12-06 | 1 | -3/+2 |
| | |||||
* | Handle events after input too | bptato | 2022-12-05 | 1 | -0/+3 |
| | |||||
* | Add event loop to headless mode | bptato | 2022-12-03 | 1 | -0/+24 |
| | |||||
* | Fix some screen update issues, remove redraw timer | bptato | 2022-12-01 | 1 | -5/+1 |
| | | | | | For now it's unnecessary; may be re-added later to support some dynamic document features. | ||||
* | Add siteconf, fix lineedit bugs | bptato | 2022-11-29 | 1 | -2/+2 |
| | | | | | | This enables rule-based dynamic url rewriting. Also, lineedit is a bit less broken now (though it's still less than ideal.) | ||||
* | Add line editing history, other lineedit fixes | bptato | 2022-11-29 | 1 | -0/+4 |
| | | | | It's still kind of broken... | ||||
* | Add textarea | bptato | 2022-11-28 | 1 | -1/+1 |
| | | | | Editing is implemented using an external editor (like vi). | ||||
* | Fix some regressions, add loading progress bar | bptato | 2022-11-27 | 1 | -17/+20 |
| | |||||
* | Also, implement proper async | bptato | 2022-11-27 | 1 | -3/+3 |
| | | | | Well, not really proper, but better than nothing? Maybe not. | ||||
* | Improve status messages, fix regressions, etc | bptato | 2022-11-25 | 1 | -43/+63 |
| | |||||
* | Fix user style regression, add minimum-contrast | bptato | 2022-11-25 | 1 | -12/+14 |
| | |||||
* | Buffer improvements | bptato | 2022-11-25 | 1 | -22/+25 |
| | |||||
* | Avoid forking child processes from the main process | bptato | 2022-11-24 | 1 | -28/+62 |
| | | | | Caveat: this breaks piped streams. | ||||
* | Termcap support (?) | bptato | 2022-11-21 | 1 | -1/+5 |
| | |||||
* | Color & term improvements | bptato | 2022-11-21 | 1 | -29/+33 |
| | |||||
* | Terminal refactorings | bptato | 2022-11-20 | 1 | -23/+22 |
| | |||||
* | Incremental loading of text files, etc. | bptato | 2022-11-20 | 1 | -147/+114 |
| | |||||
* | Fix weird screen shift behavior | bptato | 2022-11-19 | 1 | -2/+3 |
| | | | | (or at least I hope this fixed it) | ||||
* | Re-implement highlighting | bptato | 2022-11-19 | 1 | -1/+2 |
| | |||||
* | Rewrite buffer/pager for multi-processing | bptato | 2022-11-19 | 1 | -65/+88 |
| |