Commit Graph

115 Commits

Author SHA1 Message Date
Simon Michael
921cbe5a9e bump suggested stack snapshot to lts-4.1 2016-01-10 08:40:33 -08:00
Simon Michael
68f56764ab api: begin a web API server with examples (#316) 2016-01-09 07:48:24 -08:00
Simon Michael
6c1f847c90 stack: some versions don't like empty flags (#300)
Apparently. Also, reorder things and update doc link.
2015-11-16 15:14:49 -08:00
Simon Michael
fd9f87d08f recommended the current nightly stackage snapshot 2015-11-05 20:26:14 -08:00
Simon Michael
bb13ca4c56 don't build with rtsopts by default 2015-10-30 13:22:30 -07:00
Simon Michael
1777c0a214 require nightly stackage snapshot for hledger-ui
vty and brick are not yet in the LTS snapshots.
We don't want to list them explicitly as extra-deps since that
can't be conditionalised for windows, which doesn't support them.
So, require a nightly snapshot which does include them.
A downside of this is that most people won't have this
particular snapshot installed. But with luck, stack will
reuse bits from their older snapshots and there won't be too much building.
2015-10-26 06:49:24 -07:00
Simon Michael
f8f2d457b9 lib: memoize toRegex[CI] (#244)
The regex helpers were converting strings to regex-tdfa regular
expressions on the fly every time, but this appears to be quite
expensive. The simplest memoisation lib seems to solve it nicely.
2015-09-26 15:39:21 -10:00
Simon Michael
b0dc4d9f6f ui: depend on brick 0.2 2015-08-24 16:24:12 -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
0df43a15a1 tools: stack yaml cleanup 2015-08-23 09:36:42 -07:00
Simon Michael
207ae772d4 ui: revive the curses UI, now named hledger-ui 2015-08-13 11:22:40 -07:00
Simon Michael
9536db384d bump stack resolver to lts-3.0 2015-08-13 08:16:54 -07:00
Simon Michael
5c421a3a70 bump suggested stack snapshot to nightly-2015-07-01 2015-07-12 17:57:40 -07:00
Simon Michael
01db48fcfc cli: a more robust and featureful bench test
The bench script invoked by cabal bench or stack bench now links the
benchmarked code directly, avoiding any dependence on the shell and
$PATH. Also, it reports the journal parse time and the various reports
on the parsed data separately, and runs quicker.

You can get more accurate benchmark times by running with --criterion.
This will usually give much the same numbers and takes much longer.

Benchmarking via simplebench is still available, by running with
--simplebench. In this mode it benchmarks whatever commands are
configured in bench/default.bench. A disadvantage is that it uses the
first "hledger" executable in $PATH, so check which one it reports.
2015-06-25 16:08:27 -07:00
Simon Michael
429d720e8a add a stack.yaml, using today's stackage nightly 2015-06-17 13:57:15 -07:00