Commit Graph

12814 Commits

Author SHA1 Message Date
Simon Michael
e89bea8563 fix: handle account type declarations in multiple files correctly [#2202]
Tags and types declared in account directives in sibling files or
included files are now combined more carefully.

In particular, when merging two Journals into one,

- jdeclaredaccounttags and jdeclaredaccounttypes no longer lose information;
  any duplicated/conflicting tag/type values are preserved.

- jaccounttypes now prefers the last type declared in case of
  conflict, not the first.
2024-06-10 08:32:54 +01:00
Simon Michael
7804685b09 ;dev: test: multiple-files: convert to latest shelltest format 2024-06-10 08:26:58 +01:00
Simon Michael
8d1ad8a3fe lib: add journalDbg, for inspecting Journal fields 2024-06-10 08:26:58 +01:00
Simon Michael
a3a0f87997 ;doc: cli: mention --tldr near the start [#2201] 2024-06-08 13:29:35 -07:00
Simon Michael
4900072ff8 imp: mention the tldr --render flag in the failure warning [#2201] 2024-06-08 13:29:32 -07:00
Simon Michael
971396a34e imp: discourage auto-update of tldr db when using tldr-node-client 2024-06-08 10:23:05 -07:00
Simon Michael
4772001fe5 fix: make --tldr compatible with the tealdeer client also 2024-06-08 10:22:44 -07:00
Simon Michael
1d7fdd423d ;tools: Shake: fix partial warnings 2024-06-07 18:49:23 -07:00
Simon Michael
8e0326b521 ;tools: Shake cmddocs: ignore failures when running hledger -h
Eg if it's not yet built/buildable, carry on without updating the flag docs.
2024-06-07 18:46:58 -07:00
Simon Michael
91d5308783 ;tools: Shake cmdhelp -> cmddocs, now runs hledger to update flag docs
Now, updating a command's docs (for hledger manual and for --help) requires
running the command (with stack exec -- hledger). The sequence is now
a bit recursive:

1. Run hledger CMD -h to update CMD.md with the latest cmdargs help output for CMD's flags.
   CMD.md is included in the hledger manual, when rendering that.
2. Convert CMD.md to CMD.txt, with pandoc.
3. Build hledger, embedding CMD.txt for cmdargs to use as -h output.

This need only be done after changing command docs or flags, and
hopefully won't be a hassle. Shake cmddocs now shows progress output
to make things clearer.
2024-06-07 14:35:31 -07:00
Simon Michael
c3e9255488 ;imp: bal: drop blank line in flags help 2024-06-07 14:11:44 -07:00
Simon Michael
c4e138dfb1 ;doc: update help 2024-06-07 07:05:52 -07:00
Simon Michael
2139505c02 ;doc: update manuals 2024-06-07 07:05:51 -07:00
Simon Michael
3e13f39f94 imp: diff, prices: improve help layout 2024-06-07 07:05:35 -07:00
Simon Michael
c787286844 imp: doc: show flags help in manuals
Each CMD.md file now contains a snapshot of the flags help as rendered
by --help. For now these must be updated manually.
2024-06-07 06:55:33 -07:00
Simon Michael
9a7ba1ecab ;tools: Shake cmdhelp: simplify commit message 2024-06-07 06:49:43 -07:00
Simon Michael
0ccfc78844 ;dev: cleanup 2024-06-07 06:32:52 -07:00
Simon Michael
f4bdf80e71 ;ci: oldest: cleanup 2024-06-07 06:32:35 -07:00
Simon Michael
30dbb9f393 ;doc: ghrelnotes: cleanups 2024-06-02 07:10:24 -10:00
Simon Michael
e85171c842 ;doc: ghrelnotes: fix mac, linux install commands 2024-06-02 07:02:02 -10:00
Simon Michael
245b082eb9 ;doc: relnotes.github: link to the build from source doc 2024-06-01 16:00:07 -10:00
Simon Michael
ef249b385d ;install: 1.34 2024-06-01 16:00:02 -10:00
Simon Michael
91591cd6cc ;doc: relnotes: 1.34: unwrap long lines 2024-06-01 15:50:51 -10:00
Simon Michael
18771d4dd6 ;doc: relnotes: fixes 2024-06-01 15:48:39 -10:00
Simon Michael
33d30bd188 ;doc: relnotes: update 2024-06-01 15:37:06 -10:00
Simon Michael
0e440a82c2 ;tools: just installrel: update for .tar.gz 2024-06-01 15:34:41 -10:00
Simon Michael
50c3f9720c ;doc: RELEASING: updates 2024-06-01 15:22:58 -10:00
Simon Michael
f86e170124 ;ci: release: fix a macos-ism, part 2 2024-06-01 14:39:20 -10:00
Simon Michael
0c0addde18 ;ci: release: fix a macos-ism 2024-06-01 14:36:29 -10:00
Simon Michael
5c695ebce2 ;ci: release: note, not triggering 2024-06-01 14:31:19 -10:00
Simon Michael
4f0e07d024 ;doc: changelogs: bump to latest commit 2024-06-01 14:14:24 -10:00
Simon Michael
8f24fad909 ;doc: merge 1.34 release docs 2024-06-01 14:13:57 -10:00
Simon Michael
2448744ce9 ;ci: binaries-mac-*: use architecture-specific cache keys 2024-06-01 13:51:47 -10:00
Simon Michael
3f3672e999 ;doc: update manuals 2024-06-01 13:30:47 -10:00
Simon Michael
d18c00e1ec ;cabal: update cabal files 2024-06-01 13:30:21 -10:00
Simon Michael
aec28842c7 ;pkg: bump version to 1.34.99 2024-06-01 13:30:20 -10:00
Simon Michael
6716e3a503 ;doc: edit 2024-06-01 09:46:14 -10:00
Simon Michael
84d788b2df ;doc: edit 2024-06-01 09:39:29 -10:00
Simon Michael
e2c2594d60 ;doc: edit 2024-06-01 09:34:51 -10:00
Simon Michael
76882319a7 ;doc: officially deprecate secondary dates, harder 2024-06-01 09:31:55 -10:00
Simon Michael
6376f459f5 ;doc: officially deprecate secondary dates and --date2 2024-06-01 08:46:42 -10:00
Simon Michael
6fd856aa47 ;cabal: update cabal files 2024-05-31 19:55:33 -10:00
Simon Michael
311be367b0 ;doc: cli: simplify, use generic help flags again 2024-05-31 19:54:18 -10:00
Simon Michael
e7b60be4b0 ;dev: drop old extra-source-file 2024-05-31 19:52:40 -10:00
Simon Michael
0f8b536055 ;doc: Generating data: rewrite 2024-05-31 19:41:56 -10:00
Simon Michael
a5a067204e ;doc: JSON output, web: link to OpenAPI spec 2024-05-31 19:41:23 -10:00
Simon Michael
88f70eba6b ;doc: cli, ui, web: synopsis, options cleanup/consistency 2024-05-31 19:41:01 -10:00
Simon Michael
7f583a8414 ;doc: correction, NO_COLOR does not override --color=yes 2024-05-31 18:16:33 -10:00
Simon Michael
c3c95990fa ;tools: just twih: template tweaks 2024-05-31 14:48:50 -10:00
Simon Michael
4aa81da931 ;doc: sync with tldr docs 2024-05-29 17:30:50 -10:00