Commit Graph

1596 Commits

Author SHA1 Message Date
Simon Michael
078e9c8e9c ;doc: hledger: merge examples, options, commands files
[ci skip]
2020-02-08 11:15:27 -08:00
Simon Michael
d60b053e11 ;doc: regen manuals
[ci skip]
2020-02-08 11:11:40 -08:00
Simon Michael
e52a6281fb ;doc: hledger: inline troubleshooting, cleanups, m4 docs
[ci skip]
2020-02-08 11:10:23 -08:00
Simon Michael
9a52523438 ;doc: hledger: not git commit -am, just -m
[ci skip]
2020-02-07 16:44:52 -08:00
Simon Michael
8c5aa130e7 ;doc: hledger: reorder OPTIONS sections, move one to COMMON TASKS
[ci skip]
2020-02-07 12:14:43 -08:00
Simon Michael
202d2e945b ;doc: regen manuals
[ci skip]
2020-02-07 12:14:08 -08:00
Simon Michael
fd64d7bb3a ;doc: regen manuals
[ci skip]
2020-02-07 10:45:57 -08:00
Simon Michael
6878f74174 ;doc: hledger: write the new examples (Common Tasks) section
Examples are tested and should be correct.

[ci skip]
2020-02-07 10:42:57 -08:00
Simon Michael
743a63c319 ;doc: consolidate hledger manual a bit 2020-02-06 17:52:37 -08:00
Simon Michael
659a034393 ;doc: makde some comments less like markdown headings
[ci skip]
2020-02-05 19:32:38 -08:00
Simon Michael
6830139b70 ;checkdupes: help: fix link 2020-01-28 09:20:42 -08:00
Simon Michael
7011160bfd ;allow base 4.14/GHC 8.10 2020-01-26 08:12:25 -08:00
Simon Michael
b1de2f2308 ;doc: drop redundant version message from web manuals
[ci skip]
2020-01-25 19:33:12 -08:00
Simon Michael
24c6828a5c ;doc: regen manuals
[ci skip]
2020-01-25 17:10:34 -08:00
Simon Michael
444c4342ed ;doc: manuals: hide NAME/SYNOPSIS/DESCRIPTION headings in web manuals
[ci skip]
2020-01-25 16:57:51 -08:00
Simon Michael
a6ec6b40da ;doc: manuals: tweak standard description, make hledger's consistent
[ci skip]
2020-01-25 16:55:58 -08:00
Simon Michael
f1f32e8341 ;close: doc: cleanups, remove dangerous >> example (#1165)
[ci skip]
2020-01-22 15:32:36 -08:00
Simon Michael
b4ced3188e ;doc: regen manuals
[ci skip]
2020-01-22 15:22:56 -08:00
Simon Michael
5ba3cc6f42 close: regularise the --open*/--close* flags for memorability (#1165)
--closing -> --close
--opening -> --open
--close-to -> --close-acct
--open-from -> --open-acct

The old flags are still accepted for backward compatibility, but are
not shown in --help or docs, to conserve screen and brain space.
2020-01-22 15:19:24 -08:00
Simon Michael
cda8909aae close: don't repeat the description by default (#1165)
You'll almost certainly want the opening/closing descriptions to be
different, for filtering, so making --close-desc and --open-desc fully
independent is a better default.

And more doc cleanups.
2020-01-22 15:04:05 -08:00
Simon Michael
ceedcb1a18 ;doc: regen manuals
[ci skip]
2020-01-22 14:50:21 -08:00
Simon Michael
458de89aae ;close: doc tweaks
[ci skip]
2020-01-22 14:42:01 -08:00
Simon Michael
f14ae7df3a ;doc: regen manuals
[ci skip]
2020-01-22 14:41:08 -08:00
Simon Michael
72d0190d1d ;close: doc tweaks
[ci skip]
2020-01-22 14:40:20 -08:00
Simon Michael
d93c69146d ;doc: regen manuals
[ci skip]
2020-01-22 14:30:50 -08:00
Simon Michael
f1110d163d close: --close-desc/--open-desc customise the descriptions (#1165) 2020-01-22 14:30:12 -08:00
Simon Michael
4bb840a0f3 close: use the same default equity account for both (#1165)
And some doc cleanups.

"equity:opening/closing balances" is now the default account for both.
2020-01-22 14:29:31 -08:00
Simon Michael
9710c86c7f ;doc: regen manuals
[ci skip]
2020-01-22 12:52:41 -08:00
Simon Michael
7500002ee5 close: hide equity amounts by default, for simpler entries (#1165)
-x/--explicit shows them, as with print.
2020-01-22 12:52:16 -08:00
Simon Michael
2645b76ff0 close: hide prices by default, show them with --show-costs (#1165)
close no longer preserves costs, generating huge entries when there
are many foreign currency/investment transactions, unless you ask it to.
2020-01-22 12:52:01 -08:00
Simon Michael
dee9c0f150 ;close: --close-to also sets --open-from and vice versa (#1165) 2020-01-22 08:52:20 -08:00
Simon Michael
aa8c18fcc8 ;close: refactor (#1165) 2020-01-22 08:34:13 -08:00
Simon Michael
42840dd4c2 ;close: dedent (#1165) 2020-01-22 08:27:01 -08:00
Simon Michael
98b90a8a7b ;close: cleanups (#1165) 2020-01-22 08:26:59 -08:00
Simon Michael
090f65ec83 ;doc: regen manuals
[ci skip]
2020-01-20 18:02:42 -08:00
Simon Michael
69bc8f803b close: fix some inappropriate rounding, ensure the txn balances (#1164) 2020-01-20 18:01:33 -08:00
Simon Michael
1e9f30bafc close: add the --interleaved flag; refactor a little
Interleaved equity postings make troubleshooting easier.
2020-01-20 18:01:29 -08:00
Simon Michael
9bd7a713f9 ;print: expand -x doc, mention that it also shows prices
[ci skip]
2020-01-20 12:58:47 -08:00
Simon Michael
42dfde141a ;doc: changelogs: update from 1.16.2, cleanups 2020-01-14 11:19:05 -08:00
Simon Michael
dba0b117f4 ;doc: draft changelogs 2020-01-14 10:08:59 -08:00
Simon Michael
445e8aa3cc add support for megaparsec 8 (#1175) 2020-01-14 09:54:06 -08:00
Brian Wignall
473b3376ab ;doc: update shell output in hledger*/*.m4.md to use ISO date formatting 2020-01-13 12:32:41 -08:00
Brian Wignall
24026d629a Change "showEndDates" formatting to yyyy-mm-dd in CompoundBalanceCommand 2020-01-07 15:58:54 -08:00
Brian Wignall
00eb0b3c8f Make "stack test" pass again 2020-01-07 15:58:22 -08:00
Brian Wignall
35481a665b Change Date output to yyyy-mm-dd 2020-01-07 15:58:22 -08:00
Aleksandar Dimitrov
8df4e1ed83 Remove --separator command line argument 2020-01-05 14:45:57 -08:00
Simon Michael
65d0fda245 ;doc: regen manuals
[ci skip]
2020-01-05 10:54:11 -08:00
Simon Michael
2101939345 ;doc: update arg file doc, note syntax limitations
[ci skip]
2020-01-05 10:53:22 -08:00
Simon Michael
07029047f5 ;doc: regen manuals again
[ci skip]
2020-01-05 09:17:02 -08:00
Simon Michael
cfb2a61ae1 ;bump to dev version; bump man page dates
[ci skip]
2020-01-05 09:04:50 -08:00
Simon Michael
4a7a700d93 ;doc: fix flags marker appearing in manuals
$FLAGS$ didn't work (nor =FLAGS=); _FLAGS it is..

[ci skip]
2020-01-05 07:41:01 -08:00
Simon Michael
f91076cc6a ;doc: regen manuals
I think all the non-content changes are due to newer
doc tools and harmless, including this one hopefully:

    -.B \f[C]--watch\f[R]
    +\f[B]\f[CB]--watch\f[B]\f[R]

[ci skip]
2020-01-05 07:06:42 -08:00
Simon Michael
c186eb6084 ;doc: change flags marker in command helps to suit latest pandoc
From _FLAGS_ to $FLAGS$, since latest pandoc strips the underscores
at a certain point in our docs rendering.
2020-01-04 21:17:51 -08:00
Stephen Morgan
228edf6ba6 Don't store leaf name in PeriodReport.
Calculate at the point of consumption instead.
2020-01-04 21:15:42 -08:00
Stephen Morgan
8882b6fc85 cli: Use PeriodicReport. 2020-01-04 17:23:17 -08:00
Stephen Morgan
74778efcf5 Use nubSort instead of nub . sort. 2020-01-04 08:31:10 -08:00
Brian Wignall
2852f9dbee Fix typos 2019-12-21 12:09:05 -08:00
Gaith Hallak
9b6652b93f Update the instructions for the add command 2019-12-18 23:24:10 +03:00
Gaith Hallak
e1bbefbd1b Remember the previously entered values when stepping forward 2019-12-18 23:14:43 +03:00
Gaith Hallak
ee18227a12 Show the previous input in the input area after the back command 2019-12-18 19:53:45 +03:00
Gaith Hallak
6f26eef832 Change the '<' command to go back one step during addition 2019-12-18 00:38:29 +03:00
Simon Michael
46d516e7a3 move JSON instances from hledger-web to hledger-lib 2019-12-16 17:17:00 -08:00
Simon Michael
5a19d604b6 ; sort commands list 2019-12-16 16:32:26 -08:00
Simon Michael
47567cd770 ;fix some warnings with GHC 8.10 alpha
hledger is GHC 8.10 ready!
2019-12-14 17:30:19 -08:00
Simon Michael
4d20ce2ee0 ;doc: cli: update addons list, drop builtin ones 2019-12-09 13:55:16 -08:00
Simon Michael
95aa2e16cc ;doc: fix some old wiki and Cookbook references (hledger_site/#10) 2019-12-09 06:08:03 -08:00
Simon Michael
13e6c7dfdf lib: drop "assertion" alias for nullassertion
Perhaps we'll stick with the null* convention. Fixes a warning in Transaction.hs.
2019-12-09 06:08:03 -08:00
Simon Michael
9d6db33278 close: doc: mention --close-to/--open-from in the manual
[ci skip]
2019-12-06 12:27:07 -08:00
Simon Michael
f319bef945 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:49:05 -08:00
Simon Michael
0866b30838 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:44:50 -08:00
Simon Michael
38d64a6f79 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:43:13 -08:00
Simon Michael
46ac93cf5a ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:34:56 -08:00
Simon Michael
ace867d7ed ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:33:41 -08:00
Simon Michael
592e0125fe ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:33:08 -08:00
Simon Michael
4efe397ba4 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:31:15 -08:00
Simon Michael
c54c15fccd ;cli: doc: drop changelog whitespace
[ci skip]
2019-12-03 12:28:59 -08:00
Simon Michael
5a2bcecf26 ;doc: finalise changelogs 2019-12-03 08:41:44 -08:00
Simon Michael
06b70194c0 ;doc: regen manuals 2019-12-03 08:41:44 -08:00
Simon Michael
093dca570d lib, cli, web: bump version to 1.16.1 2019-12-03 08:41:44 -08:00
Simon Michael
6ae837f820 ;doc: changelogs 2019-12-03 08:41:44 -08:00
Simon Michael
13f95327e3 ;doc: clarify changelog item for #1085 2019-12-03 08:41:44 -08:00
Simon Michael
e032eff8eb ;doc: changelog updates 2019-12-02 08:59:58 -08:00
Simon Michael
35e70e8f36 ;cli: doc: rewrite CSV changelog entries 2019-12-02 08:58:26 -08:00
Simon Michael
0ce890e5ff lib, cli, web: drop unnecessary mtl-compat dependency 2019-12-02 08:23:00 -08:00
Simon Michael
a0b92e02b9 Revert "remove old fail compatibility imports that are obsolete ?"
They are needed with ghc <8.4, not for fail but for <> I think.
Try cleaning up again another time.
This reverts commit 318ce7eb07.
2019-12-01 11:32:51 -08:00
Simon Michael
d922b6e798 ;doc: regen manuals 2019-12-01 10:12:29 -08:00
Simon Michael
6daebf60ea ;regen cabal files 2019-12-01 10:05:37 -08:00
Simon Michael
87d0491103 ;bump version to 1.16 2019-12-01 10:03:58 -08:00
Simon Michael
c90c0867c4 ;doc: changelogs
[ci skip]
2019-12-01 09:59:01 -08:00
Simon Michael
318ce7eb07 remove old fail compatibility imports that are obsolete ? 2019-12-01 08:31:50 -08:00
Simon Michael
5b6dbe86b3 close: don't strip decimal zeros, causing misparsing (fix #1137) 2019-11-30 16:58:54 -08:00
Simon Michael
359a118900 ;doc: draft changelog updates
[ci skip]
2019-11-29 07:57:54 -08:00
Simon Michael
caf8cdf0ca ;test: consistent singular naming for test suites and files 2019-11-29 06:35:29 -08:00
Simon Michael
c7574b8005 ;lib, cli: test suite cleanups, don't run hledger-lib tests twice 2019-11-29 06:11:25 -08:00
Simon Michael
2b2a0b3cf8 ;tests: use "test" alias for testCase everywhere
Easier to type and read, and a little clearer to my eyes;
"testCase" implies a single case, but it can contain many assertions.
2019-11-28 15:33:33 -08:00
Simon Michael
57a534a42f ;cli: drop obsolete test-framework dep 2019-11-28 15:06:52 -08:00
Simon Michael
ebedae01cf ;cabal: remove special cases for unsupported GHC 7 2019-11-28 14:59:18 -08:00
Simon Michael
08951ac3e8 ;cabal: add ghc 8.8 to tested-with
[ci skip]
2019-11-28 14:59:10 -08:00
Simon Michael
843d394077 cli, ui, web: support GHC 8.8, add stack-ghc8.8.yaml (#1090)
hledger-web needs an unreleased version of json.
2019-11-28 14:31:48 -08:00
Simon Michael
5dac8af2ef ;ui: fix build error due to tests rewrite 2019-11-27 21:54:31 -08:00