summaryrefslogtreecommitdiff
path: root/src/prefs.h
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-23 23:30:55 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-23 23:30:55 +0300
commit770b06f6755b7ac87d397b6ea823214b5d35f5d6 (patch)
tree48dea4069e3eda108e4bb5c92257d1298aa4721e /src/prefs.h
parentb0e0160ef5d8624d855d7226529e04c1b37ea05b (diff)
File URLs support directories and ZIP archives
One is now able to view directory and ZIP archive contents using file URLs. Directory contents are shown as a list of links, enabling previewing supported formats. A link to the parent directory is included at the top of the page. ZIP archives behave like directories, except they also recognize "index.gmi" and "index.gemini" files and display them instead of the regular directory index (when viewing a directory inside a ZIP archive). This enables archiving a Gemini capsule and browsing it as a ZIP archive. Added a preference to disable loading of index pages.
Diffstat (limited to 'src/prefs.h')
-rw-r--r--src/prefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/prefs.h b/src/prefs.h
index 160bb974..7f02a100 100644
--- a/src/prefs.h
+++ b/src/prefs.h
@@ -58,6 +58,7 @@ struct Impl_Prefs {
58 iBool loadImageInsteadOfScrolling; 58 iBool loadImageInsteadOfScrolling;
59 iBool collapsePreOnLoad; 59 iBool collapsePreOnLoad;
60 iString searchUrl; 60 iString searchUrl;
61 iBool openArchiveIndexPages;
61 /* Network */ 62 /* Network */
62 iString caFile; 63 iString caFile;
63 iString caPath; 64 iString caPath;