Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify request.json, remove unused bindings | bptato | 2023-06-09 | 1 | -13/+4 |
| | |||||
* | Show error messages, fix some fetch crashes | bptato | 2023-06-09 | 2 | -0/+9 |
| | |||||
* | Remove JSObject again, add File API constructor | bptato | 2023-06-08 | 1 | -4/+6 |
| | |||||
* | Fix bug in client's unregistered fd handling | bptato | 2023-06-06 | 1 | -0/+2 |
| | | | | + run JS jobs after every poll in headless mode | ||||
* | buffer: call handleError before handleRead & misc | bptato | 2023-06-05 | 1 | -1/+1 |
| | |||||
* | Refactor Request constructor | bptato | 2023-06-05 | 1 | -22/+33 |
| | |||||
* | Add support for canvas and multipart | bptato | 2023-06-05 | 2 | -39/+32 |
| | | | | | | | | | | | | | | | 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 | 5 | -33/+116 |
| | | | | | 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 |
| | |||||
* | Name negative response codes | bptato | 2023-05-14 | 1 | -4/+12 |
| | |||||
* | Async resource loading, exception handling fixes | bptato | 2023-05-14 | 2 | -1/+23 |
| | |||||
* | Fix some fetch crashes | bptato | 2023-05-11 | 2 | -13/+15 |
| | | | | Now it should work for very basic use-cases | ||||
* | Improve debugging, reduce crashes | bptato | 2023-05-09 | 2 | -5/+15 |
| | | | | Loader no longer dies when not everything is read from the stream. | ||||
* | 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 | 2 | -5/+5 |
| | | | | It never really worked, and I can't be bothered to fix it now | ||||
* | Make it compile | bptato | 2023-04-30 | 1 | -0/+1 |
| | |||||
* | Merge branch 'wip_fetch' | bptato | 2023-04-30 | 2 | -25/+101 |
|\ | |||||
| * | WIP fetch | bptato | 2023-04-30 | 2 | -25/+101 |
| | | |||||
* | | Add initial proxy support | bptato | 2023-04-30 | 2 | -3/+10 |
| | | | | | | | | For now, API-only. | ||||
* | | loader: remove unused import | bptato | 2023-04-30 | 1 | -1/+0 |
|/ | |||||
* | Loader: use curl_multi | bptato | 2023-04-28 | 2 | -108/+195 |
| | | | | | Note: for now it's only used for http requests. The doRequest API still needs an async rework. | ||||
* | Slightly improve request api (less crashes) | bptato | 2023-02-05 | 2 | -5/+7 |
| | |||||
* | io/window: use all available columns | bptato | 2023-01-08 | 1 | -5/+7 |
| | | | | should always work now | ||||
* | promise: set get, cb, next to nil after then is called | bptato | 2023-01-04 | 1 | -7/+5 |
| | | | | | | Actually we don't even need a state variable, just set cb to nil when resolving. (I'm sure this is a great idea that will absolutely not backfire in the future.) | ||||
* | loader: proper redirect handling | bptato | 2023-01-01 | 2 | -3/+16 |
| | |||||
* | posixstream: fix incorrect read() usage | bptato | 2023-01-01 | 1 | -1/+1 |
| | | | | It was overwriting our buffer, instead of appending to it... | ||||
* | posixstream/socketstream: fix cross-platform compilation | bptato | 2022-12-31 | 1 | -8/+17 |
| | |||||
* | Add promise support to JS | bptato | 2022-12-31 | 2 | -2/+109 |
| | |||||
* | Only set Location for redirect status codes | bptato | 2022-12-30 | 1 | -2/+3 |
| | |||||
* | Add about:blank | bptato | 2022-12-30 | 1 | -1/+6 |
| | |||||
* | Add unicode normalization, etc | bptato | 2022-12-19 | 1 | -54/+28 |
| | |||||
* | lineedit: fix crash in prevHist/nextHist | bptato | 2022-12-19 | 1 | -0/+3 |
| | |||||
* | File browser: sort files | bptato | 2022-12-19 | 1 | -1/+20 |
| | |||||
* | Add file browser | bptato | 2022-12-18 | 2 | -25/+75 |
| | |||||
* | Add JS support to documents | bptato | 2022-12-18 | 1 | -22/+59 |
| | |||||
* | Update visual home page, use name consistently | bptato | 2022-12-16 | 1 | -3/+3 |
| | |||||
* | Make load() slightly less dumb | bptato | 2022-12-15 | 1 | -2/+6 |
| | | | | | This gets rid of the inefficient timeout thing. Still, the ideal solution would be to move the timeout into the container; TODO. | ||||
* | Add referer support, re-render on windowChange | bptato | 2022-12-13 | 3 | -20/+22 |
| | |||||
* | Fix stream error handling confusion, title display | bptato | 2022-12-13 | 4 | -15/+28 |
| | | | | Also probably other fixes. | ||||
* | Add more cookie options | bptato | 2022-12-13 | 2 | -10/+27 |
| | |||||
* | Add all sorts of config options and cookies | bptato | 2022-12-13 | 2 | -23/+27 |
| | |||||
* | Add urlfilter | bptato | 2022-12-12 | 2 | -5/+30 |
| | |||||
* | Fix blocking socketstream recv/send, clean up ips/serialize & types/color | bptato | 2022-12-10 | 1 | -1/+1 |
| | | | | Write always blocks for now, as it's too big of a footgun not to | ||||
* | Add support for the encoding standard, fix parseLegacyColor | bptato | 2022-12-10 | 2 | -0/+84 |
| | | | | Also, fix a bug in the | ||||
* | Optimize sendCursorPosition/updateHover, close streams after loadResource | bptato | 2022-12-06 | 1 | -0/+2 |
| | |||||
* | Add -M, -V | bptato | 2022-12-05 | 2 | -0/+26 |
| | |||||
* | Add siteconf, fix lineedit bugs | bptato | 2022-11-29 | 1 | -3/+5 |
| | | | | | | This enables rule-based dynamic url rewriting. Also, lineedit is a bit less broken now (though it's still less than ideal.) | ||||
* | Add line editing history, other lineedit fixes | bptato | 2022-11-29 | 1 | -83/+112 |
| | | | | It's still kind of broken... | ||||
* | Add textarea | bptato | 2022-11-28 | 2 | -468/+1 |
| | | | | Editing is implemented using an external editor (like vi). |