Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move around more modules | bptato | 2023-09-14 | 1 | -332/+0 |
| | | | | | | | | | | * ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/ | ||||
* | remove obsolete comment | bptato | 2023-09-09 | 1 | -1/+0 |
| | |||||
* | fetch: use JSDict | bptato | 2023-09-09 | 1 | -22/+85 |
| | |||||
* | javascript: factor out fromJS | bptato | 2023-08-29 | 1 | -0/+1 |
| | |||||
* | javascript: refactor | bptato | 2023-08-28 | 1 | -1/+2 |
| | | | | | | | Split out parts of the JS module, because it was starting to confuse the compiler a little. (Peakmem is back at 750M. Interesting.) | ||||
* | Add mailcap, mime.types & misc refactorings | bptato | 2023-08-13 | 1 | -2/+5 |
| | | | | | | | | * add mailcap: works with copiousoutput, needsterminal, etc. * add mime.types (only works with mailcap) * refactor pipeBuffer * remove "dispatcher" * fix bug in directory display where baseurl would not be used | ||||
* | Add platform object conversion to union type | bptato | 2023-07-02 | 1 | -17/+43 |
| | | | | And with that, implement Request constructor with a Request init. | ||||
* | return Result[T, JSError] from fromJS | bptato | 2023-07-02 | 1 | -6/+6 |
| | |||||
* | Factor out headers into separate module | bptato | 2023-07-01 | 1 | -58/+1 |
| | |||||
* | use =destroy instead of finalizers | bptato | 2023-07-01 | 1 | -0/+3 |
| | | | | | This should help with moving to ORC in the future. (Also, finalizers do not work very well in the first place.) | ||||
* | Get rid of the .jserr pragma | bptato | 2023-06-19 | 1 | -10/+8 |
| | |||||
* | Rework JS exception system | bptato | 2023-06-19 | 1 | -8/+8 |
| | | | | | Now we use Result for passing exceptions to JS. As a result, we can finally get rid of the .jserr pragma. | ||||
* | Cleanups & bug fixes involving promises | bptato | 2023-06-15 | 1 | -46/+5 |
| | | | | | Now a promise returning nil doesn't just leave the rest of the then chain hanging. Hooray. | ||||
* | Make Result.text, json return promise | bptato | 2023-06-13 | 1 | -10/+9 |
| | |||||
* | Add indexed color, other png improvements | bptato | 2023-06-09 | 1 | -1/+1 |
| | |||||
* | Simplify request.json, remove unused bindings | bptato | 2023-06-09 | 1 | -13/+4 |
| | |||||
* | Show error messages, fix some fetch crashes | bptato | 2023-06-09 | 1 | -0/+2 |
| | |||||
* | Remove JSObject again, add File API constructor | bptato | 2023-06-08 | 1 | -4/+6 |
| | |||||
* | Refactor Request constructor | bptato | 2023-06-05 | 1 | -22/+33 |
| | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 1 | -31/+22 |
| | | | | | | | | | | | | | | | 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...) | ||||
* | Rewrite new Request binding | bptato | 2023-05-21 | 1 | -24/+107 |
| | | | | | Still far from perfect, but now at least it has a bit more to do with what the standard mandates. | ||||
* | Add url getter to request | bptato | 2023-05-20 | 1 | -2/+9 |
| | |||||
* | Fix some fetch crashes | bptato | 2023-05-11 | 1 | -12/+10 |
| | | | | Now it should work for very basic use-cases | ||||
* | Actually set proxy | bptato | 2023-04-30 | 1 | -1/+1 |
| | |||||
* | only call Response.unregisterFun if not nil | bptato | 2023-04-30 | 1 | -2/+4 |
| | |||||
* | Temporarily disable multipart | bptato | 2023-04-30 | 1 | -4/+4 |
| | | | | It never really worked, and I can't be bothered to fix it now | ||||
* | Merge branch 'wip_fetch' | bptato | 2023-04-30 | 1 | -2/+25 |
|\ | |||||
| * | WIP fetch | bptato | 2023-04-30 | 1 | -2/+25 |
| | | |||||
* | | Add initial proxy support | bptato | 2023-04-30 | 1 | -3/+7 |
|/ | | | | For now, API-only. | ||||
* | loader: proper redirect handling | bptato | 2023-01-01 | 1 | -1/+1 |
| | |||||
* | Add promise support to JS | bptato | 2022-12-31 | 1 | -2/+2 |
| | |||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -22/+59 |
| | |||||
* | Add referer support, re-render on windowChange | bptato | 2022-12-13 | 1 | -0/+1 |
| | |||||
* | Add all sorts of config options and cookies | bptato | 2022-12-13 | 1 | -22/+21 |
| | |||||
* | Binding & macro refactorings | bptato | 2022-10-01 | 1 | -1/+5 |
| | |||||
* | More JS bindings | bptato | 2022-09-13 | 1 | -12/+38 |
| | |||||
* | Use unix domain sockets for IPC | bptato | 2022-09-06 | 1 | -47/+52 |
| | |||||
* | Add a network stream wrapper, improve eprint | bptato | 2022-09-05 | 1 | -1/+59 |
| | |||||
* | Small refactoring | bptato | 2022-08-20 | 1 | -6/+0 |
| | |||||
* | Fix request error handling | bptato | 2022-08-18 | 1 | -0/+1 |
| | |||||
* | Clean up client request methods, add DUPE_BUFFER | bptato | 2022-08-18 | 1 | -12/+1 |
| | |||||
* | Use a separate process for file loading | bptato | 2022-08-18 | 1 | -0/+109 |
Not very useful for now, since we still have to load the entire page before parsing it. |