Commit Graph

228 Commits

Author SHA1 Message Date
Simon Michael
cf8ebd4ae2 pkg: rename, clean up oldtime flag 2016-08-09 12:03:23 -07:00
Simon Michael
4c313be10e reorder yaml files consistently 2016-08-09 11:39:42 -07:00
Simon Michael
570de3a0a5 format package descriptions more nicely 2016-08-09 11:29:17 -07:00
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
9b0cadc179 ui: support/require brick 0.7+ #379 2016-07-24 18:06:49 -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
34f4dc9dcd ui: don't attempt to build hledger-ui on windows #376 2016-07-22 12:30:12 -07:00
Moritz Kiefer
991204d59a Support vty 0.7 (#365) 2016-07-05 13:23:00 -07:00
Simon Michael
1d419eb7e6 ui: editor: jump to current txn or error location (emacs, emacsclient, vi) 2016-06-19 16:15:17 -07:00
Simon Michael
4923efefb9 ui: basic editor integration
The E key (on all screens) edits the main journal file using
$HLEDGER_UI_EDITOR or $EDITOR or "emacs -nw",
jumping to the end if it's Emacs.
2016-06-19 09:00:04 -07:00
Simon Michael
3cc0173094 ui: remove obsolete comment from package.yaml 2016-06-12 16:44:53 -07:00
Mitchell Rosen
42e7a2c32c Use hpack in hledger-ui (#356) 2016-06-12 16:02:44 -07:00
Simon Michael
494c74f81b tools: hide package.yaml files to fix travis
The latest stack runs a buggy hpack that generates invalid
cabal files. Rename them to future-package.yaml for now.
2016-02-20 19:07:49 -08:00
Simon Michael
142c52e5b9 ui: changelog, bump version to 0.27.3 2016-01-14 20:43:02 -08:00
Simon Michael
5b7040fecd ui: allow brick 0.4 2016-01-14 20:43:02 -08:00
Simon Michael
2c6aa5d75d ui: changelog, bump version to 0.27.2 2016-01-11 10:44:06 -08:00
Simon Michael
921cbe5a9e bump suggested stack snapshot to lts-4.1 2016-01-10 08:40:33 -08:00
Simon Michael
b28d8d9c01 ui: bump version to 0.27.1, changelog 2015-12-03 08:53:29 -08:00
Simon Michael
5c0c883c1e ui: bump lens upper bound to suit latest nightlys 2015-11-27 11:29:08 -08:00
Simon Michael
a5fd56223c bump version to 0.27 2015-10-30 13:21:51 -07:00
Simon Michael
36d97a2e50 update cabal docs and other fields 2015-10-30 13:08:03 -07:00
Simon Michael
27b46e7b41 ui: allow vty 5.4 2015-10-26 06:47:36 -07:00
Simon Michael
570e340b7c ui: fix missing dependencies/bounds 2015-08-28 11:28:40 -07:00
Simon Michael
b38db8610f ui: add filepath to cabal file 2015-08-25 10:23:17 -07:00
Simon Michael
e7aa150e52 ui: solidified register screen, added themes
- register screen:
  - smarter width-sensitive layout, with multi-commodity amounts on one line
  - items are sorted in date order
  - jumps to the latest item by default, with consistent scroll position
  - more prerendering, might speed up movement/paging slightly

- themes! --theme to select, --help to list (current themes: default, terminal, greenterm)

- border tweaks - dropped side borders, added side padding
2015-08-24 16:24:11 -07:00
Simon Michael
ebcfdac109 ui: require split
For splitOn. The extra package is an alternative to consider.
2015-08-24 16:24:11 -07:00
Simon Michael
49e1840a0f ui: rewrite the ui using brick
hledger-ui (formerly hledger-vty) is now built on brick, a new
declarative UI layer built on vty. This brings much new power, and
should make the UI much easier to grow and maintain.

At this point, functionality and performance are similar to the old
version. There's no journal entries screen, but entering the postings
screen jumps to the latest posting, and layout is better (multiple
commodities are rendered on one line).

Requires unreleased brick from github (HEAD or some branch) for now.
2015-08-24 16:24:11 -07:00
Simon Michael
64cc886bb5 ui: update cabal file, readme, changelog 2015-08-13 11:52:10 -07:00