about summary refs log tree commit diff stats
path: root/src/xhr/formdata.nim
Commit message (Collapse)AuthorAgeFilesLines
* Move around some modulesbptato2024-03-141-177/+0
| | | | | | | | * extern -> gone, runproc absorbed by pager, others moved into io/ * display -> local/ (where else would we display?) * xhr -> html/ * move out WindowAttributes from term, so we don't depend on local from server
* catom: merge TagType with AttrTypebptato2024-03-041-1/+1
| | | | | it's inefficient and pointless to treat them differently, so just derive a new enum from TagType with a macro
* buffer: more form fixesbptato2024-02-131-14/+12
|
* buffer: form fixesbptato2024-02-121-38/+35
| | | | | * show submission URL on hover for all form-associated elements * skip non-checked checkbox/radio inputs
* dom: enumize attribute namesbptato2024-02-081-15/+20
|
* Update chamebptato2024-02-071-1/+1
| | | | | | | | * Update chame to the latest version * Get rid of nodeType usage * Add atoms * Re-implement DOM attributes * document.write
* Use errDOMException template everywherebptato2024-01-111-4/+4
|
* 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...)