about summary refs log tree commit diff stats
path: root/src/bindings/zlib.nim
Commit message (Collapse)AuthorAgeFilesLines
* Update code stylebptato2024-04-171-7/+7
| | | | | | * separate params with ; (semicolon) instead of , (colon) * reduce screaming snake case use * wrap long lines
* Compile with styleCheck:usagesbptato2023-12-281-1/+1
| | | | much better
* Remove trailing spacesbptato2023-10-231-5/+5
|
* Add support for canvas and multipartbptato2023-06-051-0/+79
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...)