Simon Michael
d2feaf6f97
imp: cli: a little less flag-moving debug output
2024-10-12 13:35:15 -10:00
Simon Michael
e2599e85a4
fix:cli: order of last flag could be lost, disrupting --no-conf eg
...
Move pre-command flags more carefully, including the last one,
so that the relative order of options is preserved.
(This caused --conf foo --no-conf to sometimes ignore the --no-conf.)
Debug output has also been improved.
2024-10-12 13:23:49 -10:00
Simon Michael
21e27a0283
imp: avoid ugly GHC 9.10.1 stack trace with nonexistent --conf file
2024-10-12 12:14:21 -10:00
Simon Michael
2db4b8ed56
imp: cli: improve debug output for finding config file
2024-10-12 11:28:13 -10:00
Simon Michael
46897cd30b
imp: cli: config files can now provide the command name
...
If the first thing in a config file's general section is a non-flag
argument, that will be used as the command name argument,
taking precedence over any command line arguments.
2024-10-12 10:38:35 -10:00
Simon Michael
a928ed994b
dev: cli: command line processing clarifications
2024-10-12 08:03:07 -10:00
Simon Michael
490ea3ccf1
;doc:output:beancount: mention operating_currency
2024-10-11 16:30:05 -10:00
Simon Michael
aff3cd0591
imp:print:beancount: more robust conversion of commodity names
2024-10-11 14:56:03 -10:00
Simon Michael
4eff3ed8a0
;cabal: update cabal files
2024-10-11 14:56:03 -10:00
Simon Michael
6dd9c92d32
lib: add Hledger.Data.Currency, currencySymbolToCode, currencyCodeToSymbol
2024-10-11 14:56:03 -10:00
Simon Michael
ceeea69264
;examples: hledger2beancount.conf: fix unsupported quoting, add stuff
2024-10-11 14:56:03 -10:00
Simon Michael
13030b2826
;tools: just doctest: pass through doctest arg(s)
2024-10-11 14:56:03 -10:00
Dmitry Astapov
1fefbe9159
;bin: fix build errors in all scripts
2024-10-11 14:55:35 -10:00
Dmitry Astapov
92f022dee4
;lib: export budgetReportAs* functions (to use in scripts)
2024-10-11 14:55:35 -10:00
Simon Michael
5f92fbd99a
;cabal: update cabal files
2024-10-10 23:25:07 -10:00
Simon Michael
66fce53c0b
dev: extract beancount output helpers to Hledger.Write.Beancount
2024-10-10 23:25:07 -10:00
Simon Michael
a6a1b2c28e
dev:bal: multiperiod balance now has two hledger.css links, fix
2024-10-10 22:00:27 -10:00
Simon Michael
efe9bd9f04
;doc: REGRESSIONS: update
2024-10-10 09:54:32 -10:00
Simon Michael
7a88130922
;examples: csv: add an example python converter script
2024-10-10 09:54:01 -10:00
Simon Michael
a6542e67db
;doc: REGRESSIONS: simplify, drop dates
2024-10-10 09:17:09 -10:00
Simon Michael
13f5361ecc
;doc: REGRESSIONS: edits
2024-10-10 08:30:15 -10:00
Simon Michael
bfad0ab2c4
;doc: REGRESSIONS: drop colons, shrink
2024-10-10 08:24:30 -10:00
Simon Michael
16651c237d
;doc: REGRESSIONS: cleanup
2024-10-10 08:18:48 -10:00
Simon Michael
47277a1cd4
;doc: REGRESSIONS: updates
2024-10-10 07:26:25 -10:00
Simon Michael
889de75839
;doc: REGRESSIONS: update
2024-10-10 06:54:18 -10:00
Simon Michael
0cbb90cbaf
;tools: gtree: -u shows untracked files, -I adds ignored files
2024-10-10 06:51:30 -10:00
Simon Michael
ffe86d3541
doc: REGRESSIONS: update
2024-10-09 08:52:58 -10:00
Henning Thielemann
6b5a158935
cli: CompoundBalanceCommand: row_total_ -> multiBalanceHasTotalsColumn (bugfix)
...
This way, total column header is not shown in balancesheet.
This is consistent with table data and with compoundBalanceReportAsText.
2024-10-09 08:52:28 -10:00
Simon Michael
c969e66049
doc: REGRESSIONS: update
2024-10-08 23:21:33 -10:00
Simon Michael
4285efc013
;doc: beancount output: edits
2024-10-08 23:11:57 -10:00
Simon Michael
21a84fb336
fix: calculate value correctly when P amounts have few decimal digits [ #2254 ]
...
Valuation in another commoditay could sometimes be inaccurate if the P
price amounts did not have enough decimal places.
2024-10-08 23:11:57 -10:00
Simon Michael
4e6f6611a6
dev: fix DisplayName's off-by-one indent value, noted in #2246
...
Now displayIndent (and prrIndent) 0 means no indent, 1 means one
indent step, etc.
2024-10-08 23:11:57 -10:00
Simon Michael
05fd8e1d69
dev: refactor
2024-10-08 23:11:57 -10:00
Simon Michael
6ce5e85e99
dev: clarify: rename displayDepth/prrDepth to displayIndent/prrIndent
...
These are about indentation for rendering, not account depth;
these are not always directly related, eg when boring parents are elided.
2024-10-08 23:11:57 -10:00
Henning Thielemann
75ad734edf
test: balance: adapt to newly implemented tree mode
2024-10-08 23:07:07 -10:00
Henning Thielemann
ccc605a6a0
cli: Cli.Commands.Balance.renderBalanceAcct: respect that depth is zero-based here (bugfix)
...
The depth in BalanceReportItem is zero-based,
whereas prrDepth in PeriodicReportRow DisplayName is one-based.
2024-10-08 23:07:07 -10:00
Henning Thielemann
6b0cca4fa8
cli: Cli.Commands.Balance.budgetReportAsSpreadsheet: support for tree mode
...
use renderPeriodicAcct
2024-10-08 23:07:07 -10:00
Henning Thielemann
e21a8e6d76
cli: Cli.Commands.Balance: use normal space for indentation in text output format
2024-10-08 23:07:07 -10:00
Henning Thielemann
3e2685fe95
cli: Cli.Commands.Balance: support tree mode for HTML, CSV and FODS output
...
indentation using non-breakable space character
2024-10-08 23:07:07 -10:00
Bas van Dijk
f8daba5e98
dev: remove the dead link: hledger/embeddedfiles/hledger-journal.md
2024-10-05 15:08:02 -10:00
Simon Michael
27c7b7489d
;doc: beancount output: discuss commodity names
2024-10-04 12:46:47 -10:00
Simon Michael
a248cc5bc8
;doc: beancount output doc/conf file updates
2024-10-03 23:35:36 -10:00
Simon Michael
8c71d071d7
imp:print:beancount:convert account names more robustly; better errors
2024-10-03 23:19:32 -10:00
Simon Michael
cd101882f5
;examples: hledger2beancount.conf
2024-10-03 23:19:32 -10:00
Simon Michael
79bc5852eb
;doc: output formats: expand, document beancount export and FODS
2024-10-03 22:57:59 -10:00
Simon Michael
b9426616f7
;doc: bal: improve --layout doc
2024-10-03 22:57:59 -10:00
Simon Michael
e2e1afd8e6
;examples: hledger.conf.sample: mention --infer-equity and account checking
2024-10-03 05:51:13 -10:00
Simon Michael
c50de03fd0
;doc: note --infer-equity requires account declarations for check accounts
...
As reported on mail list.
2024-10-03 05:39:14 -10:00
Simon Michael
f54805a034
;doc: update changelogs
2024-10-03 04:47:50 -10:00
Henning Thielemann
eeb070195c
cli: Cli.Commands.Balance.multiBalanceReportAsHtml: now uses multiBalanceReportAsSpreadsheet
...
instead of multiBalanceReportHtmlRows.
This way, HTML output automatically supports transposition.
2024-10-02 17:32:57 -10:00