aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Merge pull request #354 from ldgallery/p_revert_utf8_term_fixpacien2023-02-17
|\ | | | | Revert "compiler: fix support for non-utf8 terminals"
| * Revert "compiler: fix support for non-utf8 terminals"pacien2023-02-16
|/ | | | | | | | | | | | | The reverted changeset fixed some crash due to character encoding mismatch in terminal emulators. Doing so, it made it possible for the compiler to complete without reporting any error, while outputting wrongly encoded files. It's better to revert that changeset until all the encoding issue are solved consistently. This reverts commit 0fddc74a3f9add47841124b4d77b097f4646d14f.
* Merge pull request #353 from ldgallery/p_compiler_magick_identify_rotation_pingpacien2023-01-02
|\ | | | | compiler: handle dimension flip internally
| * compiler: handle dimension flip internallypacien2022-12-27
|/ | | | | | | | ImageMagick's `-auto-rotate` flag prevents the use of `-ping`, forcing the whole files to be loaded just to read the adjusted width and height. This makes the compiler handle the dimension flipping internally while using `-ping`, which should be way faster.
* ci: update ghc versionpacien2022-12-01
|
* compiler: fix build for ghc 9.2pacien2022-12-01
|
* compiler/stack: update lts for ghc 9.2pacien2022-12-01
|
* flake: update input for ghc 9.2pacien2022-12-01
|
* project: fix licence spdx identifierpacien2022-12-01
|
* Merge pull request #348 from ldgallery/p_viewer_epubpacien2022-11-28
|\ | | | | viewer: render EPUB ebooks
| * viewer/epub: expand navbar links clickble areapacien2022-11-28
| |
| * viewer/epub: normalise item handler background for bookspacien2022-11-28
| | | | | | | | Book files expect a clear background.
| * viewer/epub: use LdLink for nav linkspacien2022-11-28
| |
| * viewer/epub: use icons for navigationpacien2022-11-28
| |
| * viewer/epub: resize on drawer movementZéro~Informatique2022-11-27
| | | | | | | | Fixed data leaks (view.innerHTML + rendered event)
| * viewer/epub: add EPUB item handlerpacien2022-11-19
| | | | | | | | This adds a paginated ePub viewer using epub.js.
| * viewer: update lock filepacien2022-11-19
| | | | | | | | It was missing vue-tsc and its dependencies.
| * viewer: add Epub.js as new dependencypacien2022-11-19
| |
| * viewer/man: add EPUB to the list of supported formatspacien2022-11-19
| |
| * viewer: set icon type for EPUB itemspacien2022-11-19
| |
| * compiler,viewer: register EPUB item typepacien2022-11-19
| |
| * example: add sample EPUB filepacien2022-11-19
|/
* viewer/build: use poll-based live reload in sandboxpacien2022-11-19
| | | | Continuing to use a watch-based approach by default elsewhere.
* viewer/build: exclude node_modules from live reloadpacien2022-11-19
| | | | | That directory can be huge and expensive to watch for changes. The documenation recommends excluding it.
* flake/sandbox: increase allocated resources for viewer buildpacien2022-11-19
|
* viewer: typescript check before buildZéro~Informatique2022-11-18
|
* flake: update flaky-utils, use tools argumentpacien2022-11-15
|
* flake: avoid making a new pkgs instancepacien2022-11-13
|
* flake: update flaky-utils, use single pkgs instancepacien2022-11-13
|
* flake: add devshell and VM sandboxpacien2022-11-12
|
* ci: update github workflow action versionspacien2022-11-11
| | | | | | Getting rid of some some deprecation warnings. GitHub: closes #350
* ci/compiler: update ghc version to match the stackage ltspacien2022-11-11
|
* Merge pull request #346 from ldgallery/p_compiler_loggingzeroinformatique2022-11-11
|\ | | | | compiler: fix support for non-utf8 terminals, add more steps prints
| * compiler: update stack resolver lts-16.19 -> lts-19.30pacien2022-10-30
| | | | | | | | | | | | | | To have with-utf8 1.0.2.3, because 1.0.2.1 fails building on Windows with the following error: Module `GHC.IO.Encoding.Iconv' does not export `localeEncodingName'
| * compiler: add log messages for early stepspacien2022-10-30
| | | | | | | | | | | | | | | | | | This adds some messages signaling that the compiler is doing something when it is enumerating the input tree and reading metadata files, which may take a while on systems with slow IO such as when using a network share. GitHub: closes #344
| * compiler: fix support for non-utf8 terminalspacien2022-10-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compiler echoes the names of the files being processed. Those file names may contain UTF-8 characters. However, some consoles may not support those. This is notably the case of the Windows CMD or on Linux with the legacy C locale. This caused the following error: ldgallery: <stdout>: commitBuffer: invalid argument (invalid character) This patch adds automatic transliteration when a non-UTF8 terminal is detected, so that neither the compiler or the terminal crash due to UTF8 characters. GitHub: closes #341
* | Merge pull request #347 from ldgallery/p_viewer_download_buttonpacien2022-11-06
|\ \ | |/ |/| viewer/command: add item download button
| * viewer/command: add item download buttonZéro~Informatique2022-11-06
| | | | | | | | | | | | Fixed a reactivity issue with props used in a composition function (useItemResource) Fixed crash with null items in LayoutTop Changed how downloadable items are identified: We use the fact they are materialized in the gallery instead of a hardly defined "listing condition". This also simplifies the code.
| * viewer/command: add item download buttonpacien2022-10-30
|/ | | | | | | | | | | | | | This adds a download button which allows the user to save the current item as a file. This is necessary because some item viewers do not expose a download option on their own. The download icon appears together with the other command buttons at the top-left corner of the screen, replacing the listing sorting menu which is only relevant for item lists (directory and search views). GitHub: closes #308
* changelog: update with current changespacien2022-10-29
|
* Merge pull request #338 from ldgallery/p_compiler_exif_picture_dimensionspacien2022-10-27
|\ | | | | compiler: fix exif-rotated image dimension retrieval
| * compiler: fix exif-rotated image dimension retrievalpacien2022-10-25
| | | | | | | | GitHub: fixes #336
* | Merge pull request #333 from ldgallery/p_devdoc_viewer_index_2.1pacien2022-10-27
|\ \ | | | | | | devdoc: describe the viewer's index as of v2.1
| * | devdoc/index-v2.1: include review remarkspacien2022-10-25
| | |
| * | devdoc: describe the viewer's index as of v2.1pacien2022-10-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The viewer's internal tag indexing wasn't documented. This is a brief "reverse-engineering" of it accompanied with a few notes about its current issues. This constitutes some preliminary work before writing proper specification to clarify the otherwise undefined, dubious or conflicting behaviours.
* | | Merge pull request #342 from ldgallery/p_flake_examplepacien2022-10-27
|\ \ \ | | | | | | | | flake: add example as a package
| * | | flake: add example as a packagepacien2022-10-26
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows quickly testing compiling the example gallery with a given version of ldgallery. For example: ```sh nix build github:ldgallery/ldgallery?rev=commithash#example -o result python -m http.server --directory result ``` GitHub: closes #339
* | | Merge pull request #337 from ldgallery/oz-ctrl-k-focuspacien2022-10-26
|\ \ \ | | | | | | | | viewer: CTRL+K to focus in search field
| * | | viewer/manual: add keyboard shortcut sections with current onespacien2022-10-26
| | | |
| * | | viewer: CTRL+K to focus in search fieldZéro~Informatique2022-10-25
| | |/ | |/| | | | | | | github: closes #328