hledger/hledger-lib/Hledger
Simon Michael 7ec25da13a web: edit/upload: normalise line endings, avoiding parse errors (#1194)
Renamed: writeValidJournal -> writeJournalTextIfValidAndChanged

Added comments clarifying line ending behaviour of:
add, import, appendToJournalFileOrStdout, readFilePortably,
writeFileWithBackupIfChanged, writeJournalTextIfValidAndChanged

Summary of current behaviour:

- hledger add and import commands will append with (at least some)
  unix line endings, possibly causing the file to have mixed line
  endings

- hledger-web edit and upload forms will write the file with
  the current system's native line endings, ie changing all
  line endings if the file previously used foreign line endings.
2020-02-24 14:04:44 -08:00
..
Data ;doc:journal: edits, Amount display format -> Amount display style (#1187) 2020-02-11 10:23:52 -08:00
Read web: edit/upload: normalise line endings, avoiding parse errors (#1194) 2020-02-24 14:04:44 -08:00
Reports ;add then and t to --value's error message 2020-02-10 12:40:02 -08:00
Utils web: edit/upload: normalise line endings, avoiding parse errors (#1194) 2020-02-24 14:04:44 -08:00
Data.hs move JSON instances from hledger-web to hledger-lib 2019-12-16 17:17:00 -08:00
Query.hs ;lib: couple of doctests 2020-02-03 10:10:32 -08:00
Read.hs web: edit/upload: normalise line endings, avoiding parse errors (#1194) 2020-02-24 14:04:44 -08:00
Reports.hs ;lib: rename MultiBalanceReports.hs -> MultiBalanceReport.hs 2019-06-14 11:45:25 -07:00
Utils.hs web: edit/upload: normalise line endings, avoiding parse errors (#1194) 2020-02-24 14:04:44 -08:00