Commit Graph

11721 Commits

Author SHA1 Message Date
Simon Michael
19ea31dd61 fix: close: restore --open-acct option (#2020) 2023-04-06 11:12:35 -10:00
Simon Michael
3acd0a33df imp: close: reorder flags, rewrite help/doc (#2020) 2023-04-06 11:12:35 -10:00
Simon Michael
53aeabebbc dev: print: fix a date-sensitive JSON test 2023-04-06 11:12:35 -10:00
Simon Michael
c2aae60cf0 fix: doc: rewrite/correct Date adjustment section 2023-04-06 11:12:35 -10:00
Simon Michael
3fb1a5840a ;doc: update manuals 2023-03-31 18:31:16 -10:00
Simon Michael
ffe22846d9 ;doc: file renamed 2023-03-31 18:20:28 -10:00
Simon Michael
23bc23108d ;doc: journal: costs: mention sign 2023-03-31 18:20:11 -10:00
Simon Michael
de5cf45032 ;doc: i18n: improve display order 2023-03-31 14:04:32 -10:00
Simon Michael
b6d06f01a3 ;examples: i18n: streamline declarations, add draft CJK translations 2023-03-31 12:12:25 -10:00
Simon Michael
49c825e253 ;examples: i18n: more danish 2023-03-31 11:29:27 -10:00
Simon Michael
0f3e17e0e1 ;doc: get started link 2023-03-31 11:22:47 -10:00
Simon Michael
ef54ec4126 ;examples: top level account/type declarations in several languages 2023-03-31 11:22:04 -10:00
Simon Michael
22ef4d44de ;doc: faq cleanup 2023-03-31 08:46:54 -10:00
Simon Michael
2fbf3423de ;doc: bin: note scripts are not required 2023-03-31 05:57:13 -10:00
Simon Michael
e8cf09f477 imp: acc: reorder/clean up flags 2023-03-30 10:58:46 -10:00
Simon Michael
c03d6b1123 imp: print: --match makes better choices
Previously, similarity completely outweighed recency, so a
slightly-more-similar transaction would always be selected no matter
how old it was. Now similarity and recency are more balanced,
and it should produce the desired transaction more often.
There is also new debug output (at debug level 1) for
troubleshooting.
2023-03-27 15:21:42 -10:00
Simon Michael
6bf2afe80c ;doc: update manuals 2023-03-27 11:07:56 -10:00
Chris Lemaire
891853d2f2 queries: Update boolean queries to be case-insensitive
That is, the query operators AND, OR, and NOT are now case-insensitive.
Queries are otherwise left the same as they were.
2023-03-27 10:29:26 -10:00
Chris Lemaire
cddbae6467 queries: Prefix boolean queries with expr:
Boolean queries are now prefixed with an 'expr:' prefix, making them
completely separable from old queries and making the addition of them a
little more migration proof.

The tests are updated accordingly, changes made to the tests previously
are removed and extra cautious documentation is also removed.
2023-03-27 10:29:26 -10:00
Chris Lemaire
4f143d6bec queries: Update documentation on boolean queries
Also add a test to check that the assertion on how boolean queries
combine with space-separated queries works.
2023-03-27 10:29:26 -10:00
Chris Lemaire
35db1cae4f queries: Add generalised boolean queries
This commit changes some of the functions in the Query module and
changes the overall way to parse queries. Instead of using the words''
split function, this commit starts to fully parse the query, as it's
seen as a type of expression.

AND, OR, NOT, and space operators can be used. The space operator
simulates the behaviour from before, leaving a minimal amount of tests
that need to be adjusted to comply to the new behaviour.
2023-03-27 10:29:26 -10:00
Simon Michael
790b6ca9da fix: ui: add new screen missing from commit 2023-03-24 15:08:13 -10:00
Simon Michael
0f4413f011 doc: ui: note transaction screen's inability to update; code cleanup 2023-03-24 12:44:53 -10:00
Simon Michael
056553e8a9 imp: ui: improve screens' help footer 2023-03-24 11:33:36 -10:00
Simon Michael
6b80d2e83a ;install: bump version 2023-03-24 10:43:55 -10:00
Simon Michael
4c29669750 ;doc: update manuals 2023-03-24 10:33:17 -10:00
Simon Michael
ce07424164 ;cabal: update cabal files 2023-03-24 10:33:08 -10:00
Simon Michael
8ff0584a3c dev: ui: update tests 2023-03-24 10:32:14 -10:00
Simon Michael
5d69c09366 imp: ui: help tweak 2023-03-24 10:09:52 -10:00
Simon Michael
6cbf354206 imp: ui: show menu screen by default; drop the --menu flag
It's a simpler and more natural default; power users can use a flag to
start in the desired screen.
2023-03-24 10:07:53 -10:00
Simon Michael
3705e4c15e imp: ui: menu: move "All accounts" screen last 2023-03-24 08:03:04 -10:00
Simon Michael
a4b3476e2f feat: ui: add "Cash accounts" screen 2023-03-24 07:59:16 -10:00
Simon Michael
13cd01ca36 ;install: also list installed cabal, stack, pip versions 2023-03-24 07:25:38 -10:00
Simon Michael
69a8834803 dev: demo: notes 2023-03-18 20:49:12 -10:00
Simon Michael
c2ab616c2d dev: unbreak recent change, don't re-export Color/ColorIntensity for now 2023-03-18 20:19:50 -10:00
Simon Michael
b9af9ab367 ;doc: update changelogs 2023-03-18 20:10:25 -10:00
Simon Michael
13531b5b86 ;doc: update manuals 2023-03-18 20:07:18 -10:00
Simon Michael
4d7d982f83 ;cabal: update cabal files 2023-03-18 20:06:55 -10:00
Simon Michael
062559cbd5 imp: demo: nicer output, show clearer start/stop indicators, don't show "exit" 2023-03-18 20:06:24 -10:00
Simon Michael
33876905f1 dev: lib: Hledger.Cli.Script: cleanup 2023-03-18 20:02:22 -10:00
Simon Michael
be8e64e498 imp: lib: export more terminal size, ANSI style/color helpers
Hledger.Utils.IO (and therefore Hledger and Hledger.Cli.Script) added:

    getTerminalHeightWidth
    getTerminalHeight
    getTerminalWidth
    Color(..)
    ColorIntensity(..)
    bold'
    faint'
    black'
    red'
    green'
    yellow'
    blue'
    magenta'
    cyan'
    white'
    brightBlack'
    brightRed'
    brightGreen'
    brightYellow'
    brightBlue'
    brightMagenta'
    brightCyan'
    brightWhite'
    rgb'
2023-03-18 19:59:00 -10:00
Simon Michael
96b2cede0b ;dev: demo: balance, print: display "exit" at the end like the others 2023-03-18 01:53:29 -10:00
Simon Michael
207cad0dfb ;doc: update changelogs 2023-03-18 01:43:05 -10:00
Simon Michael
8ec59eafac imp: demo: Getting help 2023-03-18 01:33:34 -10:00
Simon Michael
0520ef03f6 ;imp: demo: titles cleanup 2023-03-18 01:32:40 -10:00
Simon Michael
7632321b3c ;imp: cli: commands list cleanups 2023-03-18 01:14:31 -10:00
Simon Michael
6588020e64 ;doc: update CLI help text files 2023-03-17 00:53:57 -10:00
Simon Michael
8b2efe3c33 ;imp: demo: help updates 2023-03-17 00:53:30 -10:00
Simon Michael
bbb58c3804 imp: demo: Watching the built-in demos (demo) 2023-03-17 00:09:24 -10:00
Simon Michael
12247c8767 ;dev: shake cmdhelp: simplify commit message 2023-03-16 23:20:14 -10:00