Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify request.json, remove unused bindings | bptato | 2023-06-09 | 4 | -90/+7 |
| | |||||
* | Show error messages, fix some fetch crashes | bptato | 2023-06-09 | 4 | -1/+14 |
| | |||||
* | Fix 'F' missing from fullwidth chars + display bugs | bptato | 2023-06-09 | 4 | -41/+44 |
| | |||||
* | Remove JSObject again, add File API constructor | bptato | 2023-06-08 | 6 | -28/+62 |
| | |||||
* | Add missing null check | bptato | 2023-06-07 | 1 | -1/+2 |
| | |||||
* | Add support for visibility | bptato | 2023-06-07 | 4 | -44/+65 |
| | |||||
* | Add support for width, height media query | bptato | 2023-06-07 | 7 | -51/+234 |
| | |||||
* | layout: fix min-height/max-height handling | bptato | 2023-06-07 | 2 | -20/+22 |
| | |||||
* | Add XTERM title renaming | bptato | 2023-06-07 | 4 | -29/+29 |
| | |||||
* | Clean up stream error handling | bptato | 2023-06-07 | 3 | -8/+13 |
| | | | | | | * 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 | 2 | -2/+8 |
| | | | | + run JS jobs after every poll in headless mode | ||||
* | Refactor bitmap, add png color modes | bptato | 2023-06-06 | 5 | -592/+631 |
| | | | | | Now PNG encoding/decoding, painting, etc. are done in separate files. Plus we support all color modes except indexed color. | ||||
* | Fix stupid overflow | bptato | 2023-06-05 | 1 | -3/+3 |
| | |||||
* | Pre-allocate alternative objects for finalizer | bptato | 2023-06-05 | 1 | -3/+12 |
| | | | | Not sure if this helps | ||||
* | js: fix string regression, throw on invalid ctor | bptato | 2023-06-05 | 1 | -3/+5 |
| | |||||
* | Fix empty string crash/regression | bptato | 2023-06-05 | 1 | -1/+1 |
| | | | | Oops | ||||
* | buffer: call handleError before handleRead & misc | bptato | 2023-06-05 | 2 | -7/+7 |
| | |||||
* | Refactor Request constructor | bptato | 2023-06-05 | 2 | -28/+41 |
| | |||||
* | Fix 16bit grayscale bug | bptato | 2023-06-05 | 1 | -1/+1 |
| | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 29 | -400/+2557 |
| | | | | | | | | | | | | | | | 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 inconsistencies | bptato | 2023-06-01 | 3 | -33/+35 |
| | | | | So that the default config actually works again. Also some doc updates. | ||||
* | config: fix omnirules | bptato | 2023-06-01 | 1 | -3/+3 |
| | | | | Rename variable so it's mapped properly... | ||||
* | Add some console functions to DOM | bptato | 2023-06-01 | 1 | -0/+17 |
| | | | | Mainly to avoid errors | ||||
* | Add module loading to client | bptato | 2023-06-01 | 5 | -3/+81 |
| | | | | Files only, for now. | ||||
* | Add setTimeout, setInterval to window | bptato | 2023-06-01 | 7 | -148/+256 |
| | |||||
* | Some bindings | bptato | 2023-05-24 | 1 | -1/+10 |
| | |||||
* | 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 |
| | |||||
* | Rewrite new Request binding | bptato | 2023-05-21 | 10 | -50/+143 |
| | | | | | Still far from perfect, but now at least it has a bit more to do with what the standard mandates. | ||||
* | Add url getter to request | bptato | 2023-05-20 | 1 | -2/+9 |
| | |||||
* | Support all whatwg encodings | bptato | 2023-05-20 | 2 | -25/+143 |
| | |||||
* | Add display/output encoding | bptato | 2023-05-19 | 9 | -84/+524 |
| | | | | Some encodings are still missing | ||||
* | make it compile... | bptato | 2023-05-16 | 1 | -1/+1 |
| | |||||
* | Refactor config, add charset opts | bptato | 2023-05-16 | 16 | -331/+549 |
| | | | | Only document-charset supported for now. | ||||
* | min-height, max-height fixes | bptato | 2023-05-14 | 1 | -4/+4 |
| | |||||
* | Set buffer state to LOADED on finishLoad | bptato | 2023-05-14 | 1 | -2/+2 |
| | |||||
* | Name negative response codes | bptato | 2023-05-14 | 3 | -7/+17 |
| | |||||
* | Async resource loading, exception handling fixes | bptato | 2023-05-14 | 4 | -24/+102 |
| | |||||
* | remove stray eprint, remove unused make* | bptato | 2023-05-13 | 2 | -7/+0 |
| | |||||
* | layout: disregard negative underflow | bptato | 2023-05-13 | 1 | -1/+2 |
| | |||||
* | Working position: absolute, some other fixes | bptato | 2023-05-13 | 3 | -153/+148 |
| | | | | | | | | Fix margin-top being used instead of margin-bottom. Content width resolving makes somewhat more sense now. min-width, max-width doesn't completely break width calculation anymore. Finally, position: absolute is no longer implemented as a horribly broken hack. | ||||
* | Fix some fetch crashes | bptato | 2023-05-11 | 4 | -14/+20 |
| | | | | Now it should work for very basic use-cases | ||||
* | Improve debugging, reduce crashes | bptato | 2023-05-09 | 4 | -7/+44 |
| | | | | Loader no longer dies when not everything is read from the stream. | ||||
* | Add elog | bptato | 2023-05-01 | 1 | -0/+16 |
| | | | | Like eprint, but writes to `a' | ||||
* | Actually set proxy | bptato | 2023-04-30 | 1 | -1/+1 |
| | |||||
* | only call Response.unregisterFun if not nil | bptato | 2023-04-30 | 1 | -2/+4 |
| | |||||
* | what 003ca26b was supposed to do | bptato | 2023-04-30 | 2 | -1/+2 |
| | |||||
* | url: remove eprint | bptato | 2023-04-30 | 1 | -1/+0 |
| | |||||
* | Temporarily disable multipart | bptato | 2023-04-30 | 3 | -6/+6 |
| | | | | It never really worked, and I can't be bothered to fix it now | ||||
* | Make it compile | bptato | 2023-04-30 | 1 | -0/+1 |
| |