about summary refs log tree commit diff stats
path: root/src/loader/gopher.nim
Commit message (Collapse)AuthorAgeFilesLines
* Move gopher to adapter/bptato2023-12-121-149/+0
| | | | Also, move default urimethodmap config to res.
* Separate gopher conversion from main binarybptato2023-12-101-115/+10
| | | | | | | | | | | | | | | | | | | | | Now we use a (much simplified) gopher2html binary in libexec, instead of converting gopher directories to HTML in loader/gopher. This has two advantages: * Less ugly conversion logic in the loader module; we can just convert the file line by line. (The previous converter also had some correctness issues, that is fixed now as well.) * If the user desires, they can replace the gopher converter with another binary using the mailcap mechanism. The disadvantages are: * For now, source display is broken. This is a problem with all mailcap filters in general, and should be fixed in the future. (That said, the previous version also only displayed the converted HTML source, which was not really useful anyway.) * The proper directory structure is required for this to work; OTOH plenty of work has been done so that this is as frictionless as possible, so it should not really be a problem.
* fix compilation on 1.6.14bptato2023-09-201-1/+1
|
* loader: add gopher supportbptato2023-09-201-0/+254
works