Commit Graph

11239 Commits

Author SHA1 Message Date
Simon Michael
abd104ccee imp: journal: ignore more ledger directives (ledger compat)
apply fixed, apply tag, assert, bucket, A, capture, check, define, expr

And reorder the directivep parsers.
2022-12-21 23:04:58 -10:00
Simon Michael
e09ab0936a imp: journal: accept @ as a prefix of directives (ledger compat) 2022-12-21 22:56:32 -10:00
Simon Michael
95d7679f6d imp: journal: accept year as a synonym for Y (ledger compat) 2022-12-21 22:27:08 -10:00
Simon Michael
826a7cfb2a imp: journal: ignore payee subdirectives 2022-12-21 22:09:15 -10:00
Simon Michael
bf6a2a7ccf imp: journal: ignore commodity subdirectives other than format 2022-12-21 22:08:54 -10:00
Simon Michael
a454b47ad9 ;dev: journal: better account subdirectives test 2022-12-21 22:01:40 -10:00
Simon Michael
befded96d2 ;dev: journal: test all h/ledger syntax by status: main, other, unsupported 2022-12-21 17:12:33 -10:00
Simon Michael
03d0799f2f ;doc: CREDITS: update for 2021q4/2022 2022-12-21 15:07:42 -10:00
Simon Michael
9149a9b0f3 ;doc: cli: cheatsheet: tweaks 2022-12-21 14:35:35 -10:00
Simon Michael
d3b99e9c95 ;doc: cli: cheatsheet: directives cleanup 2022-12-21 09:05:56 -10:00
Simon Michael
1003cdb142 ;doc: cli: cheatsheet: directives cleanup 2022-12-21 08:56:12 -10:00
Simon Michael
d97259b275 ;doc: cli: split journal syntax into "main" and "other"
This comes from a review of journal syntax, in preparation for
supporting more Ledger syntax.

To reduce overload for learners, I have trimmed the "main" feature
list, and de-emphasised a number of my not-so-favourite features by
moving them under "Other syntax", with downsides noted for good
measure. Secondary dates, balance assignments, and auto postings
are some of the de-emphasised features.
2022-12-21 08:11:08 -10:00
Simon Michael
704d52cfeb ;doc: cli: add a cheatsheet showing all the main journal syntax
This comes from a review of journal syntax, in preparation for
supporting more Ledger syntax. I think these are the most important
syntax features to teach. See next commit for a corresponding cleanup
of the docs.
2022-12-21 08:11:03 -10:00
Simon Michael
a65e601bcd ;dev: ledger compat tests: README 2022-12-18 12:25:52 -10:00
Simon Michael
c3e17db23e ;dev: ledger compat tests: improve org outline navigability
fixup:
2022-12-18 12:25:47 -10:00
Simon Michael
15646ab999 ;dev: convert ledger compat tests to individual shell tests
Also comment ledger's tests more robustly,
and log as an org outline.
2022-12-18 11:50:15 -10:00
Simon Michael
7195cebbb0 ;dev: cli: ledger-compat: ignore tests expecting failure 2022-12-18 08:32:27 -10:00
Simon Michael
b20c3e1036 ;doc: cli: add a BC anchor for #transaction-prices 2022-12-18 07:54:08 -10:00
Simon Michael
ccb553197f ;dev: cli: ledger tests: replace runner with shelltest 2022-12-18 01:33:38 -10:00
Simon Michael
688c56aa90 ;dev: cli: ledger tests: runner improvements 2022-12-18 01:33:10 -10:00
Simon Michael
470e906e97 ;dev: cli: ledger tests: summary, failures 2022-12-18 01:33:10 -10:00
Simon Michael
1b56687708 ;dev: cli: ledger tests: move test runner up, start collected tests 2022-12-18 01:33:10 -10:00
Simon Michael
370948a357 ;dev: cli: ledger tests: add a test runner 2022-12-18 01:33:10 -10:00
Simon Michael
5cc0080776 ;dev: cli: ledger tests: snapshot of ledger regress tests' data 2022-12-18 01:33:10 -10:00
Simon Michael
caffb22320 ;dev: cli: a snapshot of ledger's baseline functional tests' data
;dev: cli: ledger tests: comment out all but the sample data
2022-12-18 01:33:04 -10:00
Simon Michael
faa5f00f1a ;doc: cli: more guidance on comments 2022-12-17 07:53:58 -10:00
Simon Michael
40df381cb2 ;doc: cli: better directives quick link 2022-12-17 07:23:38 -10:00
Simon Michael
ae87b1efd5 fix: web: add form's typeahead now shows non-ascii text correctly (#1961)
(Fix contributed by Arsen Arsenović)
2022-12-16 12:48:42 -10:00
Simon Michael
331b419c97 ;doc: cli: improve Directives summaries 2022-12-16 12:48:42 -10:00
Simon Michael
9004372e3c ;doc: fix pandoc rendering issue caused by blank line in m4 file 2022-12-14 21:37:57 -10:00
Simon Michael
1ac5c0b03e ;doc: web: fix typo in macro 2022-12-14 21:26:23 -10:00
Simon Michael
f6c865bbab ;doc: cli: introduction improvements 2022-12-14 12:23:44 -10:00
Simon Michael
43023d3d86 ;doc: some changes to hledger and input files description macros 2022-12-14 12:23:10 -10:00
Simon Michael
5a8e63d24d ;fix: bal: add missing --layout=tidy to help 2022-12-14 12:21:35 -10:00
Simon Michael
e819e02372 ;doc: bal: more balance doc cleanups 2022-12-14 09:03:55 -10:00
Simon Michael
36a20b7dfd ;doc: update manuals 2022-12-14 07:53:09 -10:00
Simon Michael
cf607adfcf ;doc: update CLI usage texts 2022-12-14 07:53:03 -10:00
Simon Michael
2ba91b1195 ;doc: bal: clean up/reorder balance command doc 2022-12-14 07:52:53 -10:00
Simon Michael
2902769616 ;doc: cli, bal: cleanups 2022-12-14 06:36:28 -10:00
Simon Michael
919c6c1a57 ;doc: cli: fix duplicate market prices heading breaking info navigation 2022-12-14 06:36:04 -10:00
Simon Michael
7d4cdb4333 ;doc: cli: why are we shouting ? we don't need to shout so much 2022-12-14 06:08:06 -10:00
Simon Michael
16b7b924e0 ;dev: make man-watch 2022-12-14 05:55:44 -10:00
Simon Michael
64d29a3e68 doc: cli: document --infer-market-prices with signed costs (#1870) 2022-12-13 21:09:00 -10:00
Simon Michael
ea85faf0f0 dev: tests demonstrating signed costs and market price inference (#1870) 2022-12-13 20:56:51 -10:00
Simon Michael
e9064ac4d2 ;doc: cli: move file formats up for better sequencing
CONCEPTS -> REPORTING CONCEPTS
COST -> COST REPORTING
2022-12-13 06:34:17 -10:00
Simon Michael
96bbe4b24e ;doc: cli: cost tweaks 2022-12-13 05:46:30 -10:00
Simon Michael
260cfe4637 ;doc: cli: more mention of posting order effect on inferring cost (#1959) 2022-12-13 05:37:44 -10:00
Simon Michael
824aa77d49 ;doc: cli: reassurance 2022-12-11 15:49:35 -10:00
Simon Michael
600e263a9a ;doc: cli, ui, web: consistent boilerplate 2022-12-11 15:44:09 -10:00
Simon Michael
e07d290338 ;dev: tools: cleanup 2022-12-11 15:31:40 -10:00