Henning Thielemann
4fe51cb911
doc: hledger.m4.md: add FODS to all CompoundBalance commands in output format matrix
2024-10-19 16:49:24 -10:00
Simon Michael
b940254025
imp:cli: detect --color more safely in most cases
...
--color now also works in a config file, like --pager, except for two
cases: it does not affect colouring of debug output, or the colouring
helpers used in the check recentassertions error message.
2024-10-19 16:28:36 -10:00
Simon Michael
711d921774
imp:cli: --no-pager -> --pager, make this and --color safe options
2024-10-19 16:28:36 -10:00
Simon Michael
7fee69d7ab
imp:cli: deprecate always/never --color values (though still support)
2024-10-19 16:28:36 -10:00
Simon Michael
9317354f20
doc: note issues with --color, --debug in config files
2024-10-19 16:28:36 -10:00
Simon Michael
66df5ed40f
imp: expose config file args to getArgs; make --no-pager work there
2024-10-19 16:28:36 -10:00
Simon Michael
3e48451c3f
imp: note unsafe args / config file limitation; make --no-pager safe
2024-10-19 16:28:36 -10:00
Simon Michael
18dceef1ce
imp:cli: move --no-pager/--color to the help flags, available everywhere
2024-10-19 16:28:36 -10:00
Simon Michael
ba786752d1
imp 📟 add a --no-pager general flag
2024-10-19 16:28:36 -10:00
Simon Michael
db748465a8
fix 📟 when the $PAGER is not in PATH, print instead of failing
2024-10-19 16:28:36 -10:00
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