diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-23 23:30:55 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-04-23 23:30:55 +0300 |
commit | 770b06f6755b7ac87d397b6ea823214b5d35f5d6 (patch) | |
tree | 48dea4069e3eda108e4bb5c92257d1298aa4721e /src/defs.h | |
parent | b0e0160ef5d8624d855d7226529e04c1b37ea05b (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/defs.h')
-rw-r--r-- | src/defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -63,6 +63,7 @@ enum iFileVersion { | |||
63 | #define ballotCheck_Icon "\U0001f5f9" | 63 | #define ballotCheck_Icon "\U0001f5f9" |
64 | #define inbox_Icon "\U0001f4e5" | 64 | #define inbox_Icon "\U0001f4e5" |
65 | #define book_Icon "\U0001f56e" | 65 | #define book_Icon "\U0001f56e" |
66 | #define folder_Icon "\U0001f4c1" | ||
66 | #define openTab_Icon "\u2750" | 67 | #define openTab_Icon "\u2750" |
67 | #define openTabBg_Icon "\u2b1a" | 68 | #define openTabBg_Icon "\u2b1a" |
68 | #define openExt_Icon "\u27a0" | 69 | #define openExt_Icon "\u27a0" |