aboutsummaryrefslogtreecommitdiff
path: root/compiler/app/Main.hs
Commit message (Collapse)AuthorAge
* 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: 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
* license: make it more obvious for end userspacien2021-06-25
|
* compiler: trivial code simplificationspacien2020-06-13
| | | | Following HLint's advice.
* compiler: fix typopacien2020-05-21
|
* compiler: allow explicit dist path for viewer deploymentpacien2020-02-27
|
* compiler: clarify dependent path documentationpacien2020-02-27
|
* compiler: add cli arg for output gallery indexpacien2020-02-27
| | | | GitHub: closes #143
* compiler: make --clean-output remove old viewer filespacien2020-02-25
| | | | GitHub: closes #138
* compiler: add gallery config file CLI argumentpacien2020-02-23
| | | | GitHub: closes #136
* compiler: remove timestamp field from generated viewer configpacien2020-02-13
| | | | | | As this field isn't used by the viewer anymore. GitHub: closes #124
* compiler: reject input and output directories that coincidepacien2020-02-03
| | | | GitHub: closes #80
* compiler: fix viewer output directory exclusionpacien2020-02-03
| | | | GitHub: closes #87
* compiler: output viewer config.jsonZero~Informatique2020-01-31
| | | | | Write a file at the root of the viewer directory with some info about the gallery root path and generation date time.
* compiler: add flag for output dir cleanuppacien2020-01-30
| | | | | | Making it explicit. GitHub: closes #62
* compiler: enable language extensions on whole projectpacien2020-01-05
|
* compiler: enable warnings and fix thempacien2020-01-05
| | | | GitHub: fixes #9
* add manualpacien2020-01-05
|
* compiler: add option to include static web app in the outputpacien2019-12-31
| | | | GitHub: closes #6
* compiler: switch to cmdargspacien2019-12-27
|
* compiler: exclude output dir from inputpacien2019-12-27
|
* compiler: add command line interfacepacien2019-12-27
|
* compiler: implement resource processingpacien2019-12-27
| | | | but break directory cleanup
* compiler: add base structures and encodingpacien2019-12-23
|
* compiler: init stack projectpacien2019-12-21