aboutsummaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAge
* release: v2.3pacien2023-07-26
|
* project: release v2.2pacien2023-02-17
|
* 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.
* 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.
* compiler: fix build for ghc 9.2pacien2022-12-01
|
* compiler/stack: update lts for ghc 9.2pacien2022-12-01
|
* project: fix licence spdx identifierpacien2022-12-01
|
* compiler,viewer: register EPUB item typepacien2022-11-19
|
* 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
* compiler: fix exif-rotated image dimension retrievalpacien2022-10-25
| | | | GitHub: fixes #336
* Merge branch 'release-2.1' into developpacien2022-09-04
|\ | | | | | | GitHub: related to #315
| * project: set new version for release 2.1pacien2022-09-04
| |
* | compiler: reword log action for image processingpacien2022-09-04
|/ | | | Images aren't generated out of nowhere, they're processed.
* compiler: register distinct markdown item typepacien2022-04-12
|
* compiler: updated build script with arguments matching the CIZero~Informatique2021-06-29
|
* compiler: add "portable" targetpacien2021-06-29
| | | | | | | | | | | This adds a build flag for generating a portable version of the compiler binary which make it look in its own runtime directory for its assets. This is useful in particular for the portable release tarballs which contain the web viewer at the same location instead of a pre-defined one in the FHS. GitHub: closes #286
* compiler/Input: remove duplicate assertion on input file treepacien2021-06-25
|
* license: make it more obvious for end userspacien2021-06-25
|
* compiler/Caching: fix cache thumbnail masking in indexpacien2020-10-26
| | | | GitHub: closes #280
* Merge branch 'compiler-register-webp' into developpacien2020-10-25
|\
| * compiler/ItemProcessors: register .webp as picture file extensionpacien2020-10-25
| | | | | | | | GitHub: closes #278
* | compiler/stack: update Stackage LTS to 16.19pacien2020-10-25
|/
* release: set package versions to v2.0pacien2020-09-25
|
* docs: document new features and optionspacien2020-09-19
|
* compiler: allow setting thumbnails for all itemspacien2020-06-16
| | | | | | Not only for directories. GitHub: closes #224
* compiler: reuse derived item properties from last compilationpacien2020-06-16
| | | | | | | | | | | | | | | | A benchmark on an already bulit gallery with ~600 pictures shows a ~90% speedup: Before: Time (mean ± σ): 2.879 s ± 0.125 s [User: 14.686 s, System: 5.511 s] Range (min … max): 2.774 s … 3.203 s 10 runs After: Time (mean ± σ): 289.5 ms ± 15.1 ms [User: 596.1 ms, System: 359.3 ms] Range (min … max): 272.8 ms … 323.0 ms 10 runs GitHub: closes #97
* compiler: split ItemProcessors, FileProcessors and Cachingpacien2020-06-16
|
* compiler: make GalleryIndex loadable from JSONpacien2020-06-16
|
* compiler/Files: simplify subPaths computationpacien2020-06-16
| | | | Ignoring subsequences that aren't rooted
* compiler: trivial code simplificationspacien2020-06-13
| | | | Following HLint's advice.
* compiler: add audio and video extensionspacien2020-05-22
|
* compiler: add pdf resource typepacien2020-05-22
|
* compiler: add plain text file format support through simple copypacien2020-05-22
|
* compiler: fix typopacien2020-05-21
|
* doc: add quickstart guidepacien2020-05-02
| | | | GitHub: closes #206
* compiler: set version number for first releasepacien2020-05-01
|
* compiler: ghc 8.8.2 is required on Windows (crash during compilation)Zero~Informatique2020-04-30
| | | | | | https://gitlab.haskell.org/ghc/ghc/issues/17926 github: resolves #169
* compiler: add picture size to indexpacien2020-04-28
| | | | This is needed for the picture viewer fancy loading phase.
* compiler: bump stackage lts to 15.9pacien2020-04-25
|
* docs: prepare docs for releasepacien2020-04-17
| | | | commenting out references to not yet fully implemented features
* compiler: add tagCategories setting to gallery.yamlpacien2020-02-29
|
* compiler: add tag inclusion and exclusion globspacien2020-02-27
| | | | GitHub: closes #30
* viewer: use colon as tag separator instead of dotpacien2020-02-27
| | | | | | | | | For consistency with the query language and allowing the use of the very common dot in tags. This also introduces a migration script. GitHub: closes #164
* docs: document viewerpacien2020-02-27
| | | | GitHub: closes #128
* compiler: allow explicit dist path for viewer deploymentpacien2020-02-27
|
* compiler: re-introduce gallery titlepacien2020-02-27
|
* compiler: clarify dependent path documentationpacien2020-02-27
|
* compiler: add cli arg for output gallery indexpacien2020-02-27
| | | | GitHub: closes #143