about summary refs log tree commit diff stats
path: root/src/bindings
Commit message (Collapse)AuthorAgeFilesLines
* Simplify request.json, remove unused bindingsbptato2023-06-092-68/+3
|
* Show error messages, fix some fetch crashesbptato2023-06-091-0/+1
|
* Add support for canvas and multipartbptato2023-06-052-1/+80
| | | | | | | | | | | | | | | 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...)
* Add module loading to clientbptato2023-06-011-0/+3
| | | | Files only, for now.
* Some bindingsbptato2023-05-241-1/+10
|
* Merge branch 'wip_fetch'bptato2023-04-301-0/+5
|\
| * WIP fetchbptato2023-04-301-0/+5
| |
* | Add initial proxy supportbptato2023-04-301-0/+1
|/ | | | For now, API-only.
* Loader: use curl_multibptato2023-04-281-1/+61
| | | | | Note: for now it's only used for http requests. The doRequest API still needs an async rework.
* quickjs: make JSValue distinct on 32-bitbptato2023-02-051-2/+4
|
* buffer: fix some search bugs & refactor regex stuffbptato2023-01-011-4/+4
| | | | | | | | cursorBytes uses twidth now. cursorNextMatch matches the byte *after* the cursor (somewhat more consistently than before). match() no longer counts capture groups. LRE_FLAG_GLOBAL now goes through the entire string.
* Remove non-existing JS type uint64bptato2022-12-311-1/+0
| | | | Oops.
* Add promise support to JSbptato2022-12-311-0/+6
|
* dom: fix collection cachingbptato2022-12-271-0/+1
| | | | Use ids instead of pure pointers, so we can utilize the JS finalizer.
* Remove todobptato2022-12-211-1/+0
|
* pager: proxy values in container; js: bugfixesbptato2022-12-201-1/+3
| | | | Also, a little bonus: w3m keybindings
* Fix JS_GetPropertyNames bindingsbptato2022-12-201-1/+1
|
* Add unicode normalization, etcbptato2022-12-191-0/+23
|
* More work on DOM (incl. bugfixes)bptato2022-12-191-0/+1
|
* Add JS support to documentsbptato2022-12-181-4/+31
|
* Remove libregexp headersbptato2022-12-113-222/+4
| | | | we should be fine.....
* Termcap support (?)bptato2022-11-211-0/+20
|
* Terminal refactoringsbptato2022-11-201-1/+11
|
* Rewrite buffer/pager for multi-processingbptato2022-11-191-1/+1
|
* Add basic notcurses bindingsbptato2022-11-091-0/+56
|
* Binding & macro refactoringsbptato2022-10-012-27/+64
|
* Rename jsget/jsset to jsfget/jsfset for functionsbptato2022-09-161-1/+1
| | | | | The original idea was to use the same pragmas as object members, but unfortunately this doesn't seem to work consistently after all.
* Tweaks/bugfixes for armbptato2022-09-141-1/+1
|
* More JS bindingsbptato2022-09-131-35/+53
|
* Add JS binding generationbptato2022-09-121-34/+262
|
* Use unix domain sockets for IPCbptato2022-09-061-0/+4
|
* Implement HTTP Authbptato2022-07-301-1/+22
| | | | | Also use our own redirection implementation instead of curl follow redirects.
* Remove unmaintained networking callsbptato2022-07-241-1/+1
|
* Link to libcurlbptato2022-07-242-22/+244
|
* Improved incremental search: support unicodebptato2022-07-231-0/+2
|
* Add search functionbptato2022-07-224-0/+238
| | | | | Uses libregexp from QuickJS. Incremental search is quite hacky for now, but overall it seems to work OK.
* Initial QuickJS integrationbptato2022-07-131-0/+129