about summary refs log tree commit diff stats
path: root/adapter/protocol
Commit message (Collapse)AuthorAgeFilesLines
* twtstr: misc refactoringsbptato2024-02-091-1/+1
| | | | | | * move out half width <-> full width converters * snake_case -> camelCase * improve toScreamingSnakeCase slicing
* man: fix man -kbptato2024-01-271-20/+37
|
* Add mancha man page viewerbptato2024-01-261-0/+241
| | | | | | | | | | derived from w3mman2html.cgi, there are only a few minor differences: * different man page opener command * use man:, man-k:, man-l: instead of query string to specify action * no form input (C-lC-uman:pageC-m is faster anyway) TODO rewrite in Nim so we don't have to depend on Perl...
* about: fix compilation error on Nim 1.14bptato2024-01-061-1/+4
|
* cha-finger: skip leading slash in pathbptato2024-01-031-1/+1
|
* Add spartan supportbptato2024-01-031-0/+47
| | | | why not
* file: remove symlink codebptato2023-12-211-19/+4
| | | | It was never reached anyway.
* file: do not use streamsbptato2023-12-211-23/+19
|
* Fix compilation on Nim 1.6.14bptato2023-12-165-5/+16
|
* about: actually error out on errorbptato2023-12-151-5/+8
|
* cha-finger: proper error message outputbptato2023-12-151-6/+12
|
* ftp: fix unnecessary slashes being added to path; move bindings/curlbptato2023-12-156-26/+461
| | | | also in ftp: clean up resources before exit
* file: complain about hostnamebptato2023-12-141-0/+5
| | | | fixes error on reloading stdin
* Various fixesbptato2023-12-135-37/+62
| | | | | | | * Makefile: fix parallel build, add new binaries to install target * twtstr: split out libunicode-related stuff to luwrap * config: quote default gopher2html URL env var for unquote * adapter/: get rid of types/url dependency, use CURL url in all cases
* http: use CURLU for URLsbptato2023-12-132-2/+23
|
* break up twtstr somewhatbptato2023-12-131-0/+1
| | | | | Avoid computing e.g. charwidth data for http which does not need it at all.
* Move http out of main binarybptato2023-12-138-32/+236
| | | | | | | | | | | | Now it is (technically) no longer mandatory to link to libcurl. Also, Chawan is at last completely protocol and network backend agnostic :) * Implement multipart requests in local CGI * Implement simultaneous download of CGI data * Add REQUEST_HEADERS env var with all headers * cssparser: add a missing check in consumeEscape
* Move gopher to adapter/bptato2023-12-121-0/+113
| | | | Also, move default urimethodmap config to res.
* Move out ftp: protocol; fix some local CGI bugsbptato2023-12-121-0/+193
|
* Move out file: protocol handling to adapter/bptato2023-12-121-0/+111
|
* adapter/: re-structurebptato2023-12-124-0/+770