Simon Michael
4441680d7b
fix:lib:Hledger.Utils.IO.pager: avoid a crash; avoid an extra newline
2024-10-19 16:28:36 -10:00
Simon Michael
3b7420b97c
feat: use a pager for all large terminal output, not just for help
2024-10-19 16:28:36 -10:00
Henning Thielemann
a758eb0b5a
doc: hledger.m4: add HTML+FODS to register
in output format matrix
2024-10-18 00:07:11 -10:00
Henning Thielemann
86c3d7d656
cli: Commands.Register: support hyperlinks to hledger-web in HTML and FODS output
...
new option --base-url as in `balance` et.al.
Cli.Anchor: new module initialized with functions from Commands.Balance
2024-10-18 00:07:11 -10:00
Henning Thielemann
96e0500ea7
cli: Commands.Register.postingsReportItemAsRecord: format transaction index as integer
...
lib: Write.Spreadsheet.Type: new TypeInteger
2024-10-18 00:07:11 -10:00
Henning Thielemann
b23753f5ae
cli: Commands.Register.postingsReportItemAsRecord: export amounts as number plus commodity
...
lib: Write.Spreadsheet.cellFromMixedAmount, cellsFromMixedAmount: taken from Cli.Balance
2024-10-18 00:07:11 -10:00
Henning Thielemann
d7b713f958
lib: Write.Ods.styleNames: common generation of ODS style names for both formatCell and cellConfig
2024-10-18 00:07:11 -10:00
Henning Thielemann
fe53b9b6ee
lib: Write.Ods: disambiguate style names for DataMixedAmount and DataString (bugfix)
2024-10-18 00:07:11 -10:00
Henning Thielemann
991c56caef
cli: Commands.Register.postingsReportAsSpreadsheet: generalize CSV output to HTML and FODS
2024-10-18 00:07:11 -10:00
Simon Michael
121b648bdb
;doc: output: edits
2024-10-17 20:18:02 -10:00
Simon Michael
4cf064e526
;doc: text output: fix formatting, 2
2024-10-17 19:50:35 -10:00
Simon Michael
12cc571441
;doc: text output: fix formatting
2024-10-17 19:47:14 -10:00
Simon Michael
7cbe75c523
;doc: output format: updates, consolidate terminal topics
2024-10-17 19:30:02 -10:00
Simon Michael
733fec604b
;doc: text output: expand
2024-10-17 18:25:10 -10:00
Simon Michael
0f7aaa9600
imp: check accounts: simplify confusing suggestion in error message, 2
2024-10-16 21:19:51 -10:00
Simon Michael
d82c860f0d
;doc: special characters: edit
2024-10-16 18:39:06 -10:00
Simon Michael
7793ffe17d
;doc: special characters: edit
2024-10-16 18:14:16 -10:00
Simon Michael
e91be9e799
;doc: special characters: more edits, more precision
2024-10-16 18:12:24 -10:00
Simon Michael
8683d5feb2
;doc: special characters: edits
2024-10-16 16:23:45 -10:00
Simon Michael
0dbcafdebb
;doc: special characters: updates
2024-10-16 16:03:20 -10:00
Simon Michael
391bd6fac9
;doc: special characters: clarify windows differences
2024-10-16 15:01:57 -10:00
Simon Michael
1fa8b79640
;doc: update manuals
2024-10-15 16:36:54 -10:00
Simon Michael
b1677e8b2c
;doc: update help
2024-10-15 16:36:54 -10:00
Simon Michael
6bd5012b9b
;doc: changelogs
2024-10-15 16:36:54 -10:00
Simon Michael
d6d93e33ac
;doc: REGRESSIONS: update
2024-10-15 16:36:54 -10:00
Simon Michael
36d1093b84
imp: check accounts: simplify confusing suggestion in error message
2024-10-15 16:36:54 -10:00
Henning Thielemann
49f1af04ef
cli: CompoundBalance.compoundBalanceReportAsSpreadsheet: somehow support layout tidy
...
However, it is not quite correct since it contains totals and net values.
2024-10-15 14:13:53 -10:00
Henning Thielemann
270360a103
cli: Commands.Balance: hide total rows for all output formats for layout=tidy
2024-10-15 14:13:53 -10:00
Henning Thielemann
fa58dc11f4
cli: Commands.Balance: remove lambda on ropts1 for balanceReport*
...
This is consistent with the calls to multiBalanceReport* and budgetReport*.
2024-10-15 14:13:53 -10:00
amano.kenji
f6c98ec1d6
feat(hledger-ui): add helix as a supported editor
2024-10-15 08:03:12 -10:00
Henning Thielemann
9d1ba5c588
cli: CompoundBalanceCommand.compoundBalanceReportAsSpreadsheet: common function for CSV, HTML, FODS export
2024-10-14 20:59:51 -10:00
Simon Michael
71a7879213
fix:check tags: _price-matched -> _cost-matched, and whitelisted [ #2247 ]
2024-10-14 14:49:18 -10:00
Henning Thielemann
b8497c830e
lib: Write.Spreadsheet.headerCell, addRowSpanHeader, rawTableContent: taken from Commands.Balance
2024-10-14 11:35:12 -10:00
Henning Thielemann
b8570c2aa0
cli: Commands.Balance.headerCell: do not automatically add a bottom border anymore
...
addHeaderBorders: do it explicitly
2024-10-14 11:35:12 -10:00
Henning Thielemann
dce24ea08f
cli: Commands.Balance: remove some trailing spaces and unnecessary parentheses
2024-10-14 11:35:12 -10:00
Henning Thielemann
4d88b47aa7
cli: CompoundBalanceCommand: use List.foldl' with qualification
...
no need for import guarded by CPP
2024-10-14 11:35:12 -10:00
Henning Thielemann
746c927cee
cli: Cli.CompoundBalanceCommand.compoundBalanceReportAsHtml.headerrow: collect all column headers
...
colspanattr: count those headers
This way, we can assert that colspanattr covers all columns.
2024-10-14 11:35:12 -10:00
Henning Thielemann
2122444c4b
cli: Cli.Commands.Balance.multiBalanceReportAsSpreadsheetParts: parameter ishtml::Bool -> fmt::AmountFormat
...
arguments machineFmt, oneLineNoCostFmt are more descriptive than False, True
2024-10-14 11:35:12 -10:00
Henning Thielemann
2fd2110f3d
cli: Cli.Commands.Balance.multiBalanceReportHtmlRows: removed
...
export multiBalanceReportAsSpreadsheetParts for use in compoundBalanceReportAsHtml
2024-10-14 11:35:12 -10:00
Simon Michael
2a374668e4
dev: Write.Beancount: isUpperCase -> isUpper to support ghc < 9.6
2024-10-14 11:02:21 -10:00
Simon Michael
7ac154e0b8
dev: cli: fix recent command parsing breakage; more tests
2024-10-14 09:12:59 -10:00
Simon Michael
b71634a4ee
dev: notes, debug output tweaks
2024-10-14 09:12:59 -10:00
Simon Michael
c6bc020609
fix:cli: don't ignore first cli arg when there's a conf command arg
2024-10-12 21:33:06 -10:00
Simon Michael
b04a0e4e79
;doc: config files: edit
2024-10-12 14:38:56 -10:00
Simon Michael
1228444d3e
;doc: config files: rewrite, clearer warning
2024-10-12 14:21:36 -10:00
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