about summary refs log tree commit diff stats
path: root/src/xhr/formdata.nim
Commit message (Collapse)AuthorAgeFilesLines
* Move http out of main binarybptato2023-12-131-2/+13
| | | | | | | | | | | | Now it is (technically) no longer mandatory to link to libcurl. Also, Chawan is at last completely protocol and network backend agnostic :) * Implement multipart requests in local CGI * Implement simultaneous download of CGI data * Add REQUEST_HEADERS env var with all headers * cssparser: add a missing check in consumeEscape
* update chamebptato2023-09-191-0/+1
| | | | and with that, resolve the unknown input type issue
* javascript: refactorbptato2023-08-281-2/+3
| | | | | | | Split out parts of the JS module, because it was starting to confuse the compiler a little. (Peakmem is back at 750M. Interesting.)
* Move HTML parsing into Chamebptato2023-08-151-1/+2
| | | | Operation "modularize Chawan somewhat" part 2
* FormData fixesbptato2023-07-021-6/+21
|
* Use or type for FormData.appendbptato2023-07-021-30/+8
|
* Get rid of the .jserr pragmabptato2023-06-191-5/+10
|
* Remove JSObject again, add File API constructorbptato2023-06-081-4/+10
|
* Add support for canvas and multipartbptato2023-06-051-0/+159
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...)