Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clean up stream error handling | bptato | 2023-06-07 | 1 | -2/+5 |
| | | | | | | * sread now raises EOFError if readData returns too few bytes * buffer handleError ignores unregistered fds like client * client handleError ignores unregistered fds like buffer | ||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 1 | -33/+56 |
| | | | | | | | | | | | | | | | 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 setTimeout, setInterval to window | bptato | 2023-06-01 | 1 | -0/+2 |
| | |||||
* | Rewrite new Request binding | bptato | 2023-05-21 | 1 | -1/+3 |
| | | | | | Still far from perfect, but now at least it has a bit more to do with what the standard mandates. | ||||
* | Refactor config, add charset opts | bptato | 2023-05-16 | 3 | -6/+8 |
| | | | | Only document-charset supported for now. | ||||
* | Async resource loading, exception handling fixes | bptato | 2023-05-14 | 1 | -5/+19 |
| | |||||
* | WIP fetch | bptato | 2023-04-30 | 1 | -8/+10 |
| | |||||
* | Slightly improve request api (less crashes) | bptato | 2023-02-05 | 1 | -1/+3 |
| | |||||
* | Make width table at compile-time | bptato | 2023-01-27 | 1 | -1/+1 |
| | |||||
* | socketstream: remove todo | bptato | 2023-01-05 | 1 | -1/+0 |
| | |||||
* | client, pager, dom, ...: better error handling | bptato | 2023-01-04 | 1 | -5/+21 |
| | | | | Now the browser shouldn't completely die when a buffer crashes. | ||||
* | NOW it should work | bptato | 2022-12-31 | 1 | -4/+9 |
| | |||||
* | Fix C macro insanity | bptato | 2022-12-31 | 1 | -1/+2 |
| | | | | | No, you can't just use CMSG_SPACE inside the alloc call, it has to be stored in a variable first. | ||||
* | posixstream/socketstream: fix cross-platform compilation | bptato | 2022-12-31 | 1 | -12/+9 |
| | |||||
* | Add promise support to JS | bptato | 2022-12-31 | 1 | -1/+1 |
| | |||||
* | ips/editor: don't write file for empty input, check for conflicting files | bptato | 2022-12-25 | 1 | -7/+12 |
| | |||||
* | ips/editor: make default line 1 | bptato | 2022-12-25 | 1 | -1/+1 |
| | |||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -1/+0 |
| | |||||
* | Make load() slightly less dumb | bptato | 2022-12-15 | 1 | -2/+2 |
| | | | | | This gets rid of the inefficient timeout thing. Still, the ideal solution would be to move the timeout into the container; TODO. | ||||
* | Add referer support, re-render on windowChange | bptato | 2022-12-13 | 2 | -19/+35 |
| | |||||
* | Fix stream error handling confusion, title display | bptato | 2022-12-13 | 3 | -13/+24 |
| | | | | Also probably other fixes. | ||||
* | Add all sorts of config options and cookies | bptato | 2022-12-13 | 2 | -10/+24 |
| | |||||
* | Add urlfilter | bptato | 2022-12-12 | 1 | -5/+9 |
| | |||||
* | Add border-collapse, border-spacing; fix fd sending hack | bptato | 2022-12-11 | 1 | -3/+4 |
| | | | | | | Note that they don't actually work correctly because of rounding errors. The fd sending hack now emits C directly. Let's hope this actually works. | ||||
* | Fixes & QOL improvements | bptato | 2022-12-11 | 1 | -2/+11 |
| | | | | | | | | * fix infinite loop after closing buffer * fix setx not triggering hover updates * fix D not going back to PREV but to parent * add M-d, M-,, M-., M-/ for old D behavior, cycle through siblings, back to parent | ||||
* | Fix blocking socketstream recv/send, clean up ips/serialize & types/color | bptato | 2022-12-10 | 2 | -152/+235 |
| | | | | Write always blocks for now, as it's too big of a footgun not to | ||||
* | Add support for the encoding standard, fix parseLegacyColor | bptato | 2022-12-10 | 1 | -1/+9 |
| | | | | Also, fix a bug in the | ||||
* | Fix stupid cmsg_len hack | bptato | 2022-12-06 | 1 | -3/+3 |
| | | | | | It's still stupid, but now it also does what it should've in the first place... | ||||
* | Fix hack of previous commit | bptato | 2022-12-05 | 1 | -1/+2 |
| | |||||
* | sigh | bptato | 2022-12-05 | 1 | -1/+2 |
| | |||||
* | Clean up ips/serialize generics | bptato | 2022-11-30 | 1 | -86/+53 |
| | |||||
* | Remove useless sread/swrite procs | bptato | 2022-11-30 | 1 | -51/+16 |
| | |||||
* | Add textarea | bptato | 2022-11-28 | 5 | -19/+83 |
| | | | | Editing is implemented using an external editor (like vi). | ||||
* | Rework broken non-blocking io | bptato | 2022-11-27 | 1 | -10/+6 |
| | | | | | Piped input works correctly again! (Also fix hash's setter not working with url's without a fragment) | ||||
* | Fix some regressions, add loading progress bar | bptato | 2022-11-27 | 1 | -1/+8 |
| | |||||
* | Also, implement proper async | bptato | 2022-11-27 | 1 | -1/+20 |
| | | | | Well, not really proper, but better than nothing? Maybe not. | ||||
* | Improve status messages, fix regressions, etc | bptato | 2022-11-25 | 2 | -1/+2 |
| | |||||
* | Fix user style regression, add minimum-contrast | bptato | 2022-11-25 | 1 | -0/+7 |
| | |||||
* | Buffer improvements | bptato | 2022-11-25 | 2 | -4/+122 |
| | |||||
* | Avoid forking child processes from the main process | bptato | 2022-11-24 | 4 | -12/+193 |
| | | | | Caveat: this breaks piped streams. | ||||
* | Move ips stuff to src/ips/ | bptato | 2022-11-22 | 3 | -0/+287 |