about summary refs log tree commit diff stats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Simplify request.json, remove unused bindingsbptato2023-06-094-90/+7
|
* Show error messages, fix some fetch crashesbptato2023-06-094-1/+14
|
* Fix 'F' missing from fullwidth chars + display bugsbptato2023-06-094-41/+44
|
* Remove JSObject again, add File API constructorbptato2023-06-086-28/+62
|
* Add missing null checkbptato2023-06-071-1/+2
|
* Add support for visibilitybptato2023-06-074-44/+65
|
* Add support for width, height media querybptato2023-06-077-51/+234
|
* layout: fix min-height/max-height handlingbptato2023-06-072-20/+22
|
* Add XTERM title renamingbptato2023-06-074-29/+29
|
* Clean up stream error handlingbptato2023-06-073-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 handlingbptato2023-06-062-2/+8
| | | | + run JS jobs after every poll in headless mode
* Refactor bitmap, add png color modesbptato2023-06-065-592/+631
| | | | | Now PNG encoding/decoding, painting, etc. are done in separate files. Plus we support all color modes except indexed color.
* Fix stupid overflowbptato2023-06-051-3/+3
|
* Pre-allocate alternative objects for finalizerbptato2023-06-051-3/+12
| | | | Not sure if this helps
* js: fix string regression, throw on invalid ctorbptato2023-06-051-3/+5
|
* Fix empty string crash/regressionbptato2023-06-051-1/+1
| | | | Oops
* buffer: call handleError before handleRead & miscbptato2023-06-052-7/+7
|
* Refactor Request constructorbptato2023-06-052-28/+41
|
* Fix 16bit grayscale bugbptato2023-06-051-1/+1
|
* Add support for canvas and multipartbptato2023-06-0529-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 inconsistenciesbptato2023-06-013-33/+35
| | | | So that the default config actually works again. Also some doc updates.
* config: fix omnirulesbptato2023-06-011-3/+3
| | | | Rename variable so it's mapped properly...
* Add some console functions to DOMbptato2023-06-011-0/+17
| | | | Mainly to avoid errors
* Add module loading to clientbptato2023-06-015-3/+81
| | | | Files only, for now.
* Add setTimeout, setInterval to windowbptato2023-06-017-148/+256
|
* Some bindingsbptato2023-05-241-1/+10
|
* 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-2110-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 requestbptato2023-05-201-2/+9
|
* Support all whatwg encodingsbptato2023-05-202-25/+143
|
* Add display/output encodingbptato2023-05-199-84/+524
| | | | Some encodings are still missing
* make it compile...bptato2023-05-161-1/+1
|
* Refactor config, add charset optsbptato2023-05-1616-331/+549
| | | | Only document-charset supported for now.
* min-height, max-height fixesbptato2023-05-141-4/+4
|
* Set buffer state to LOADED on finishLoadbptato2023-05-141-2/+2
|
* Name negative response codesbptato2023-05-143-7/+17
|
* Async resource loading, exception handling fixesbptato2023-05-144-24/+102
|
* remove stray eprint, remove unused make*bptato2023-05-132-7/+0
|
* layout: disregard negative underflowbptato2023-05-131-1/+2
|
* Working position: absolute, some other fixesbptato2023-05-133-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 crashesbptato2023-05-114-14/+20
| | | | Now it should work for very basic use-cases
* Improve debugging, reduce crashesbptato2023-05-094-7/+44
| | | | Loader no longer dies when not everything is read from the stream.
* Add elogbptato2023-05-011-0/+16
| | | | Like eprint, but writes to `a'
* Actually set proxybptato2023-04-301-1/+1
|
* only call Response.unregisterFun if not nilbptato2023-04-301-2/+4
|
* what 003ca26b was supposed to dobptato2023-04-302-1/+2
|
* url: remove eprintbptato2023-04-301-1/+0
|
* Temporarily disable multipartbptato2023-04-303-6/+6
| | | | It never really worked, and I can't be bothered to fix it now
* Make it compilebptato2023-04-301-0/+1
|