Commit Graph

11681 Commits

Author SHA1 Message Date
Simon Michael
76f336695c lib: Hledger.Utils: added multicol 2023-05-18 07:19:36 -10:00
Simon Michael
ae4f58beb7 lib: Hledger.Cli.Commands: findCommand -> findBuiltinCommand 2023-05-18 07:13:58 -10:00
Simon Michael
3961dbc044 dev: ghci: disable color, which sometimes obscures pretty-printed output 2023-05-18 07:12:51 -10:00
Simon Michael
3dd497d94d dev: make etags-ls 2023-05-18 07:12:33 -10:00
Simon Michael
9f324ea379 ;doc: github release notes: add download count badges 2023-05-12 11:28:30 -10:00
Simon Michael
577e4b6347 fix!: csv: skip now counts non-blank lines more robustly (fix #2024)
Inner empty lines were not being skipped automatically, contrary to
docs. Now all empty lines are skipped automatically, and the `skip`
rule is needed only for non-empty lines, as intended.

This may be a breaking change: it's possible that the `skip` count
might need to be adjusted in some CSV rules files.
2023-05-11 17:06:12 -10:00
Simon Michael
69be1d4ef7 ;dev: csv: refactor, clarify 2023-05-11 15:44:56 -10:00
Simon Michael
70d4c0c638 ;dev: csv: refactor, clarify 2023-05-11 15:35:05 -10:00
Simon Michael
755c3d3dbb ;dev: csv: refactor 2023-05-11 15:34:31 -10:00
Simon Michael
fc6282898b ;examples: csv: Makefile cleanup 2023-05-11 14:16:12 -10:00
Simon Michael
78e088d982 ;examples: add a more up-to-date CSV/scripts makefile in examples/csv/ 2023-05-10 23:24:06 -10:00
Simon Michael
e2c1348a0e ;doc: add VS Code notebooks: github issues, hledger-web REST API 2023-05-10 17:08:12 -10:00
Simon Michael
7592674416 ci: windows: try ghc 9.4.4 to work around ghc#23309 2023-05-10 10:03:51 -10:00
Simon Michael
4a55a515ba ;doc: journal: change wording wrt ledger compatibility (fix (#1306) 2023-05-10 02:18:17 -10:00
Simon Michael
0fe9c2f215 ;doc: bin: fix link name (2) 2023-05-09 13:03:41 -10:00
Simon Michael
fc11cd6ce0 ;doc: bin: fix link name 2023-05-09 13:02:07 -10:00
Simon Michael
705c1bec93 ;fix: hledger-bar: detect non-interactive output properly for ANSI 2023-05-09 11:30:46 -10:00
Simon Michael
57c0205107 imp: cli: make some reporting flags toggle on/off when repeated
This can be useful to override defaults in scripts.
These flags will now toggle when repeated on the command line:

--invert
--transpose
-r/--related
-%/--percent
-E/--empty
-N/--no-total
-T/--row-total
-A/--average
-S/--sort-amount
2023-05-09 11:10:12 -10:00
Simon Michael
8735af77df lib: add toggleopt, for flags that toggle when repeated 2023-05-09 10:08:52 -10:00
Simon Michael
2d03148d7f dev: lib: drop unused pragma 2023-05-09 10:03:15 -10:00
Simon Michael
147d49c66c dev: cln: drop Hledger.Data.RawOptions.inRawOpts 2023-05-09 10:02:24 -10:00
Simon Michael
a1da8f2899 dev: fix a date-sensitive test (#2032) 2023-05-09 09:58:11 -10:00
Simon Michael
c5b2465fb0 ;imp: hledger-bar: disable ANSI if terminal is non-interactive 2023-05-06 16:25:51 -10:00
Simon Michael
515e8622a2 ;doc: ISSUES: drop old easy/good-first/other links
Easy label no longer exists, and good-first-issue isn't being used.
In fact unless you assume fairly high base level of experience it's
hard to find issues that justify either label.
2023-05-05 12:54:54 -10:00
Simon Michael
75a6c1e510 fix: "every 29th/30th/31st day of month" dates with a start date (fix #2032)
Since hledger 1.25, "every Nth day of month" period rules with N > 28
could be off by a couple of days if given certain forecast start dates.
Eg `~ every 31st day of month` with `--forecast='2023-03-30..'`.
2023-05-03 19:18:35 -10:00
Simon Michael
6749866d9e ;dev: drop hie.yaml, hls 0.10.0.0 seems to work better without it now 2023-05-03 19:18:35 -10:00
Simon Michael
24bf536f74 ;install: bump to ghc 9.4.5, hledger-lots 0.3.0 2023-05-03 19:18:35 -10:00
Simon Michael
5fa5e3f0f0 ;dev: stack: bump to ghc 9.4.5 2023-05-03 19:18:35 -10:00
Simon Michael
b4665d80d3 ;doc: fix sample.timeclock, account names may contain semicolon 2023-05-03 19:18:35 -10:00
Simon Michael
bbecd611f1 imp: timedot: make one multi-posting transaction per date line (#1754)
Descriptions and comments are now more straightforward and similar to
journal format.
2023-05-03 19:18:35 -10:00
Simon Michael
50349f81f7 imp: timeclock: support comments and tags (fix #1220)
Breaking change: previously timeclock descriptions could contain
semicolons. Now a semicolon in the description will end it and
start a comment (which may contain tags).
2023-05-03 00:05:11 -10:00
Simon Michael
f7f86a709b imp: timedot: fix day description/comment parsing; parse posting comments/tags 2023-05-02 17:03:03 -10:00
Simon Michael
1b19f3d330 dev: timedot: clarify, cleanup 2023-05-02 17:02:30 -10:00
Simon Michael
c026e74611 ;doc: auto postings: note _tag:generated trick 2023-05-02 15:52:53 -10:00
Simon Michael
559f436d3e dev: web: refactor: ViewData q, m -> qparam, q 2023-05-01 13:23:33 -10:00
Simon Michael
981ebb6518 fix: web: a startup depth limit now works, does not hide txns (fix #1763) 2023-05-01 13:11:03 -10:00
Simon Michael
a771c8fc19 imp: revert 2b5194238 imp: generate auto postings on forecast transactions by default (#2027)
I found at least one user for whom this would be a breaking change
(they generate forecast txns, and have auto posting rules, but don't
want the latter applied to the former). I guess it's better to keep
things as they were for now: if you need auto postings on your
forecast txns you must use two flags, --forecast --auto.
2023-04-30 08:08:26 -10:00
Simon Michael
4885b3ad32 ;doc: cli: improve Generating data; document --verbose-tags 2023-04-29 18:58:30 -10:00
Simon Michael
7f713f6a44 imp: Generated/modified txns/postings are now tagged only with --verbose-tags 2023-04-29 18:25:11 -10:00
Simon Michael
ca42b0aaca imp: cli: clean up some flags' help and sync docs 2023-04-29 18:11:53 -10:00
Simon Michael
2b5194238b imp: generate auto postings on forecast transactions by default 2023-04-29 16:00:14 -10:00
Simon Michael
765742ab9c ;doc: bin: cleanup 2023-04-28 14:26:14 -10:00
Simon Michael
de25142345 ;doc: bin: hledger-fifo -> hledger-lots 2023-04-28 14:21:18 -10:00
Simon Michael
9ebcd9ec28 fix: process postings in date order when inferring balance assignments (fix #2025) 2023-04-27 17:15:21 -10:00
Simon Michael
9d0eb20ac5 ;dev: improve comment 2023-04-27 09:17:29 -10:00
Simon Michael
400f401d11 ;dev: tools: fix make etags 2023-04-27 09:17:03 -10:00
Simon Michael
f5c3bbcaf0 fix: cli: posting comment lines no longer disturb the error marker (fix #1927) 2023-04-26 22:53:01 -10:00
Simon Michael
8b3b63b495 ;doc: journal: cheatsheet: fix typo (#1982) 2023-04-25 12:48:39 -10:00
Simon Michael
fe6df964b4 ;doc: bal: try to improve description of budget report differences 2023-04-25 12:39:28 -10:00
Simon Michael
f3be461045 ;doc: 1.29 relnotes: slight edit 2023-04-25 12:38:42 -10:00