about summary refs log tree commit diff stats
path: root/src/io/loader.nim
Commit message (Collapse)AuthorAgeFilesLines
* Name negative response codesbptato2023-05-141-4/+12
|
* Fix some fetch crashesbptato2023-05-111-1/+5
| | | | Now it should work for very basic use-cases
* Improve debugging, reduce crashesbptato2023-05-091-3/+11
| | | | Loader no longer dies when not everything is read from the stream.
* Temporarily disable multipartbptato2023-04-301-1/+1
| | | | It never really worked, and I can't be bothered to fix it now
* Make it compilebptato2023-04-301-0/+1
|
* Merge branch 'wip_fetch'bptato2023-04-301-23/+76
|\
| * WIP fetchbptato2023-04-301-23/+76
| |
* | loader: remove unused importbptato2023-04-301-1/+0
|/
* Loader: use curl_multibptato2023-04-281-44/+123
| | | | | Note: for now it's only used for http requests. The doRequest API still needs an async rework.
* Slightly improve request api (less crashes)bptato2023-02-051-4/+3
|
* loader: proper redirect handlingbptato2023-01-011-2/+15
|
* Only set Location for redirect status codesbptato2022-12-301-2/+3
|
* Add file browserbptato2022-12-181-25/+1
|
* Make load() slightly less dumbbptato2022-12-151-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 windowChangebptato2022-12-131-14/+16
|
* Fix stream error handling confusion, title displaybptato2022-12-131-2/+1
| | | | Also probably other fixes.
* Add more cookie optionsbptato2022-12-131-3/+4
|
* Add all sorts of config options and cookiesbptato2022-12-131-1/+6
|
* Add urlfilterbptato2022-12-121-5/+10
|
* Fix blocking socketstream recv/send, clean up ips/serialize & types/colorbptato2022-12-101-1/+1
| | | | Write always blocks for now, as it's too big of a footgun not to
* Optimize sendCursorPosition/updateHover, close streams after loadResourcebptato2022-12-061-0/+2
|
* Add -M, -Vbptato2022-12-051-0/+3
|
* Rework broken non-blocking iobptato2022-11-271-1/+1
| | | | | Piped input works correctly again! (Also fix hash's setter not working with url's without a fragment)
* Avoid forking child processes from the main processbptato2022-11-241-39/+27
| | | | Caveat: this breaks piped streams.
* Move ips stuff to src/ips/bptato2022-11-221-3/+3
|
* Rewrite buffer/pager for multi-processingbptato2022-11-191-1/+6
|
* Implement tree buffers, fix a js bug, refactorbptato2022-10-191-13/+10
|
* More JS bindingsbptato2022-09-131-0/+1
|
* Add JS binding generationbptato2022-09-121-45/+38
|
* Use unix domain sockets for IPCbptato2022-09-061-52/+74
|
* Add a network stream wrapper, improve eprintbptato2022-09-051-3/+2
|
* Small refactoringbptato2022-08-201-16/+8
|
* Fix request error handlingbptato2022-08-181-11/+8
|
* Clean up client request methods, add DUPE_BUFFERbptato2022-08-181-19/+25
|
* Use a separate process for file loadingbptato2022-08-181-18/+107
| | | | | Not very useful for now, since we still have to load the entire page before parsing it.
* Refactor fileloaderbptato2022-08-081-204/+33
|
* Remove httpclient dependencybptato2022-08-041-23/+58
|
* Fix incorrect selector parsing, remove httpclient from loaderbptato2022-08-031-2/+0
|
* Implement HTTP Authbptato2022-07-301-13/+33
| | | | | Also use our own redirection implementation instead of curl follow redirects.
* Remove unmaintained networking callsbptato2022-07-241-126/+2
|
* Link to libcurlbptato2022-07-241-1/+109
|
* getPageCurl: avoid loading pages that couldn't be loadedbptato2022-07-141-0/+4
|
* Fix a tokenizer bug, clean up some warningsbptato2022-07-121-1/+0
|
* Fix curl getting stuck while reading headersbptato2022-06-171-2/+3
|
* Add curl supportbptato2022-06-071-4/+128
| | | | This calls the curl binary, not libcurl.
* Update loader.nimbptato2022-05-211-3/+9
|
* Slightly change header handlingbptato2022-05-101-4/+11
|
* Fix a windows compilation errorbptato2022-02-221-1/+1
|
* Some loader polishingbptato2022-02-091-2/+4
|
* Cleanup form method codebptato2022-02-081-7/+13
|