Moritz Kiefer
4141067428
Replace Parsec with Megaparsec (see #289 ) ( #366 )
...
* Replace Parsec with Megaparsec (see #289 )
This builds upon PR #289 by @rasendubi
* Revert renaming of parseWithState to parseWithCtx
* Fix doctests
* Update for Megaparsec 5
* Specialize parser to improve performance
* Pretty print errors
* Swap StateT and ParsecT
This is necessary to get the correct backtracking behavior, i.e. discard
state changes if the parsing fails.
2016-07-29 08:57:10 -07:00
Simon Michael
90c0d40777
lib, ui, web: more careful dates in account transactions report/registers
...
Clarify the account transactions report, and don't change original transactions' dates.
Show a more accurate date in hledger-ui and hledger-web's account registers
when postings have their own dates. This is now called the "transaction register date":
the date which is displayed for that transaction in a register for some current account
and filter query. It is either the transaction date from the journal ("transaction general date"),
or if postings to the current account and matched by the register's filter query have
their own dates, the earliest of those dates.
2016-07-27 12:12:42 -07:00
Simon Michael
ffb40870ce
ui: register: be inclusive for a depth-clipped account, matching displayed balance
...
And drop F key from register screen again.
2016-07-26 17:28:29 -07:00
Simon Michael
b540b4336e
web: looser dependency on hledger/hledger-lib #353
2016-07-24 18:16:29 -07:00
Simon Michael
9b0cadc179
ui: support/require brick 0.7+ #379
2016-07-24 18:06:49 -07:00
Simon Michael
326c1f6931
site: download: link appveyor exes, clarify hledger-ui support #376
2016-07-23 11:36:13 -07:00
Simon Michael
f7fbb990c2
ui: skip hledger-ui again #376
...
With the latest change in the package.yaml file, stack does
skip building hledger-ui on windows as intended, however
this causes all-package stack commands to exit with an error.
So yes, on appveyor we must explicitly name the packages to build.
2016-07-23 11:09:51 -07:00
Simon Michael
b91877fd72
ui: one more try, forgot about the package.yaml #376
2016-07-23 10:41:26 -07:00
Simon Michael
99deeb5c55
appveyor: nope #376
2016-07-23 10:37:30 -07:00
Simon Michael
67f4741f3c
appveyor: and try building all packages again.. #376
2016-07-23 09:27:25 -07:00
Simon Michael
d037989355
ui: try hiding problem deps on windows as well #376
2016-07-23 09:22:58 -07:00
Simon Michael
5355447e04
stack: update ghc 7 & 8 stack configs
2016-07-22 18:08:34 -07:00
Simon Michael
66c1278ae6
site: devguide: link appveyor windows binaries
2016-07-22 15:08:09 -07:00
Simon Michael
68169aad2b
appveyor: skip hledger-ui again, not sure that's working #376
2016-07-22 13:00:52 -07:00
Simon Michael
92903769e5
appveyor: save binaries #376
2016-07-22 12:57:28 -07:00
Simon Michael
889af710ff
appveyor: try building all packages, caching .stack-work #376
2016-07-22 12:37:52 -07:00
Simon Michael
2f67dbebd5
site: devguide: update travis link, add appveyor link
2016-07-22 12:35:47 -07:00
Simon Michael
34f4dc9dcd
ui: don't attempt to build hledger-ui on windows #376
2016-07-22 12:30:12 -07:00
Simon Michael
560729a2a8
appveyor: stack setup still needed #376
2016-07-22 11:56:12 -07:00
Simon Michael
5bdaeef182
appveyor: try skipping stack setup like stack project #376
2016-07-22 11:53:37 -07:00
Simon Michael
088e3bff76
appveyor: also cache stack appdata dir like stack project #376
2016-07-22 11:43:06 -07:00
Simon Michael
a6fa859d46
appveyor: exclude hledger-ui #376
2016-07-22 11:34:09 -07:00
Simon Michael
d6ea7178ed
appveyor: drop unnecessary stack init #376
2016-07-22 11:24:09 -07:00
Simon Michael
d3283a446e
tools: add basic appveyor.yml for windows builds #376
2016-07-22 11:22:16 -07:00
Simon Michael
63b9f288f5
doc: csv: small rewordings
2016-07-21 19:47:34 -07:00
Simon Michael
538b7087df
site: faq: note -p combining issue
2016-07-21 19:47:04 -07:00
Simon Michael
e33df3f024
doc: devguide: explain time annotations
2016-07-19 18:08:32 -07:00
Simon Michael
841cd562fa
docs: how to read csv: fix CSV format links
2016-07-19 17:25:18 -07:00
Simon Michael
378331a67e
site: devguide: update tracker links, new help/tracker docs
2016-07-17 17:10:41 -07:00
Simon Michael
ef7621d30f
doc: start managing release notes in org, 0.28 WIP
2016-07-13 09:21:42 -07:00
Simon Michael
d5799d0ac5
doc: README
2016-07-13 09:21:14 -07:00
Simon Michael
6ec4426edd
journal: fix balance assertion test
2016-07-06 15:22:29 -07:00
Simon Michael
9ccd4e226f
doc: update generated manuals
2016-07-06 15:17:09 -07:00
Simon Michael
1953748972
cli: clarify --debug flag's help
2016-07-06 15:11:10 -07:00
Simon Michael
e17a834e2b
site: faq: update h/ledger differences
2016-07-06 15:09:50 -07:00
Simon Michael
7eeb5e01ee
ui: I toggles balance assertions
...
This was a bit tricky.
2016-07-06 15:08:57 -07:00
Simon Michael
19fc5b61f7
ui: indicate when balance assertions are ignored
...
The indication takes up lots of space, may need refinement.
It's currently not shown on the error screen.
2016-07-06 15:07:27 -07:00
Simon Michael
347e9dc701
ui: clarify and refine journal reloading a bit
...
The CLI options saved in the UI state are not updated if reloading fails.
(I didn't need this change after all, but it seems reasonable.)
Reloading on the error screen just updates the message, rather than
entering a new error screen.
Docs have been clarified.
2016-07-06 14:58:55 -07:00
Simon Michael
0b465f61e7
cli: make -I short for --ignore-assertions
...
Differs from Ledger, but will be useful for hledger-ui.
2016-07-06 14:56:29 -07:00
Simon Michael
9a7fe756b9
ui: help: tweak direction key help
2016-07-06 14:51:26 -07:00
Simon Michael
479a4138fe
journal: better errors and debug output for balance assertions
...
With --debug=2, better information about assertions is printed.
Balance assertion errors now have a more standard and parseable layout.
The asserted balance is now shown with the diff, let's see if that's better.
2016-07-05 14:12:46 -07:00
Simon Michael
2d7a1904b4
dbgtrace takes a level parameter
2016-07-05 14:09:21 -07:00
Simon Michael
427953728e
ui: doc: note movement speed / keyboard repeat rate linkage
2016-07-05 14:07:14 -07:00
Simon Michael
2054f58f6a
tools: add a shebang line to cabal script
2016-07-05 14:07:14 -07:00
Moritz Kiefer
991204d59a
Support vty 0.7 ( #365 )
2016-07-05 13:23:00 -07:00
Simon Michael
6476944330
tools: update, rename cabal installation script
2016-06-29 15:01:24 -07:00
Simon Michael
1056556b6f
stack: ghc8: add required text-zipper extra dep
2016-06-29 14:40:26 -07:00
Simon Michael
b9d8c15014
ui: doc: clarify which editors support positioning
2016-06-24 19:27:57 -07:00
Simon Michael
aff8b98ce5
ui: doc: link to edit keys supported in minibuffer
2016-06-24 19:22:28 -07:00
Simon Michael
dbeb4e3020
ui: add vi-style movement keys, use ? for help ( #357 )
2016-06-24 18:54:54 -07:00