Commit Graph

8126 Commits

Author SHA1 Message Date
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
7fa7ccc033 ToJSON instances for all (?) remaining data types, up to Ledger 2019-12-16 17:17:00 -08: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
43159f4fea ;ui: E key: comment
[ci skip]
2019-12-15 11:07:26 -08:00
Simon Michael
44da1e1cb7 ;ui: E key: simplify; drop buggy emacs end-of-file positioning 2019-12-15 11:03:05 -08:00
Simon Michael
67635106d2 fix help 2019-12-14 18:06:24 -08:00
Simon Michael
4cd2c35ad4 ;ui: E key: support positioning with nano editor 2019-12-14 17:57:24 -08:00
Simon Michael
1bf271a8c4 ;ui: clarify editorOpenPositionCommand 2019-12-14 17:54:29 -08:00
Simon Michael
a09513c3fb ;ui: refactor: consolidate EditorType definition and related code 2019-12-14 17:43:52 -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
9612c1f917 ;stack: add a config for ghc 8.10 alpha
[ci skip]
2019-12-14 17:30:19 -08:00
Simon Michael
b6c0668695 ;stack: ghc 8.8 cleanups
[ci skip]
2019-12-14 14:11:36 -08:00
Simon Michael
2a2f08bb58 ;doc: csv: mention that fields rule's separator != csv separator
[ci skip]
2019-12-14 14:00:59 -08:00
Simon Michael
2825a06e8e ;doc: csv: expand help on other separator characters
[ci skip]
2019-12-14 13:57:48 -08:00
Simon Michael
f099fb558e ;doc: csv: mention entr for rapid feedback
[ci skip]
2019-12-09 14:46:02 -08:00
Simon Michael
4d20ce2ee0 ;doc: cli: update addons list, drop builtin ones 2019-12-09 13:55:16 -08:00
Simon Michael
8b3e7ea72b ;Shake: consistency tweak in the webmanuals help 2019-12-09 06:36:45 -08:00
Simon Michael
ccc42d4c2b ;Shake: add "webmanuals" to the default help 2019-12-09 06:35:04 -08:00
Simon Michael
eb1bb0702d ;Shake webmanuals: add a "generated by" comment (hledger_site/#10)
[ci skip]
2019-12-09 06:33:08 -08:00
Simon Michael
3aaea1ef4e ;doc: note that doc dev docs need update 2019-12-09 06:22:49 -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
c759c9b3de ;lib: fix some more warnings in Transaction 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
63aec5ef56
Merge pull request #1140 from jacg/amt-redirect-issue-457
fix parsing of < and > in add-on commands (#457)
2019-12-08 10:18:00 -08:00
Jacek Generowicz
24fbe313dd ;Fix rewrite tests after #457 fix
As a consequence of fixing #457, two rewrite tests fail, because extra
quotes appear in the output of the commands being tested.

These quotes appear in comments which reflect the command which was
run in order to produce the output. Instead of

   ; generated-posting: = assets:bank and amt:<0

we now get

   ; generated-posting: = assets:bank and "amt:<0"

Given that the quotes around `amt:<0` are necessary for the command to
work properly, these quotes should really be there in the expected
output.

Hence this commit modifies the expected output of the tests, by adding
in the quotes. This makes the tests pass once more.
2019-12-08 18:33:43 +01:00
Jacek Generowicz
c6da152e9a ;convert extant addon tests to shellrunner format 3 2019-12-08 18:33:43 +01:00
Jacek Generowicz
4593963fef ;Disable tests according to discussion in #457
https://github.com/simonmichael/hledger/pull/1140#issuecomment-562793255
2019-12-08 18:33:43 +01:00
Jacek Generowicz
29211868bb Fix issue 457
Issue #457 pointed out that commands such as

    hledger ui 'amt:>200'

failed. This was becasue the process of dispatching from `hledger ui`
to `hledger-ui` (note addition of `-`) lost the quotes around
`amt:>20` and the `>` character was interpreted as a shell redirection
operator, rather than as part of the argument.

The machinery for quoting or escaping arguements which cointain
characters which require quoting or escaping (thus far whitespace and
quotes) already existed. This solution simply adds shell stdio
redirection characters to this set.

Fixes #457
2019-12-08 18:33:43 +01:00
Jacek Generowicz
7394441728 ;Add shelltests demonstrating bug reported in issue 457 2019-12-08 18:33:43 +01:00
Simon Michael
9d6db33278 close: doc: mention --close-to/--open-from in the manual
[ci skip]
2019-12-06 12:27:07 -08:00
Evilham
60b26b8e4b Add a basic example of rule parsing for the output of csb2format.
csb2format deals with the CSB43/AEB43 format, which all banks operating in
Spain must support.
Having these example rules enables easens bootstraping for users with a
Spanish bank account.
2019-12-06 05:51:10 -08:00
Simon Michael
1aac7e97b1 install: re-enable hledger-iadd & hledger-interest
hledger-iadd has been revised on hackage, and hledger-interest has no upper bound.
2019-12-04 11:20:00 -08:00
Simon Michael
1238ebc18b ;web: doc: add a missing 1.16.1 changelog item
[ci skip]
2019-12-03 16:34:11 -08:00
Simon Michael
3a594a8115 ;doc: readme: link to travis/appveyor build history (#1142)
Like the contributor's guide.

[ci skip]
2019-12-03 15:38:54 -08:00
Simon Michael
8a6e15f1f2 ;doc: announcement: slight tweak for next time
[ci skip]
2019-12-03 13:54:21 -08:00
Simon Michael
01e6504bd1 ;doc: 1.16 announcement
[ci skip]
2019-12-03 13:44:18 -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
e77541a270 ;doc: drop minor heading from project changelog
[ci skip]
2019-12-03 12:26:36 -08:00
Simon Michael
3d98f0b5aa install: always do stack update, to help ensure we get the latest
https://github.com/commercialhaskell/stack/issues/5112
2019-12-03 11:30:46 -08:00
Simon Michael
b58a350803 install: update hledger-install for 1.16.1, disable addons for now 2019-12-03 08:41:44 -08:00
Simon Michael
5a2bcecf26 ;doc: finalise changelogs 2019-12-03 08:41:44 -08:00