about summary refs log tree commit diff stats
path: root/src/loader/headers.nim
Commit message (Collapse)AuthorAgeFilesLines
* Update code stylebptato2024-04-171-8/+8
| | | | | | * separate params with ; (semicolon) instead of , (colon) * reduce screaming snake case use * wrap long lines
* config: clean up/simplifybptato2024-03-171-8/+5
| | | | | | | | | * Parse the default config at runtime. There's no significant performance difference, but this makes it much less painful to write config code. * Add better error reporting * Make fromJS2 easier to use * Unquote ChaPaths while parsing config
* Use std/* imports everywherebptato2024-01-071-1/+1
|
* loader: add local-cgibptato2023-09-301-12/+21
| | | | | | | | | | | Add w3m-style local CGI support. It is not quite as powerful as w3m's local CGI, because it lacks an equivalent to W3m-control. Not sure if it's worth adding; we certainly shouldn't allow passing JS in headers, but a custom language for headers does not sound like a great idea either... eh, idk. also, TODO add multipart
* remove unnecessary toTable callsbptato2023-09-201-6/+6
| | | | | | | We did this to please the compiler at one point, but it seems to be fine to remove now. (Also, use withValue when possible.)
* loader: add gopher supportbptato2023-09-201-0/+10
| | | | works
* move around more modulesbptato2023-09-141-0/+100
* ips -> io/ * loader related stuff -> loader/ * tempfile -> extern/ * buffer, forkserver -> server/ * lineedit, window -> display/ * cell -> types/ * opt -> types/