Simon Michael
e2ce7c4802
doc, tests: clarify what --date2 does
2016-05-06 16:57:24 -07:00
Simon Michael
8dec8b2630
doc: drop commented table
2016-05-06 16:44:29 -07:00
Simon Michael
2c21ca9bf4
web: update wai-launch-handler location
2016-05-04 11:43:02 -07:00
Simon Michael
2dc375e0f8
site: home: shrink heading to fit 320px screens ( #324 )
2016-05-04 11:34:19 -07:00
Simon Michael
5f3ec5827d
site: home: fix semicolon placement
2016-05-04 11:33:58 -07:00
Simon Michael
525ca6041d
lib: tweak balance assertion message
2016-05-04 09:08:53 -07:00
Simon Michael
0a90ef4658
ui: preserve --ignore-assertions & flags on reload
2016-05-02 20:12:11 -07:00
Simon Michael
9a424d77fc
lib: more thorough journal reloading
...
Reloading a journal should now reload all included files as well.
2016-05-02 20:07:53 -07:00
Simon Michael
a4dc094be3
travis: try another way to show git/stack version
2016-04-29 09:06:20 -07:00
Simon Michael
a036d5cf18
travis: report git & stack versions as well
2016-04-29 06:58:56 -07:00
Simon Michael
1de722a34a
update wai-handler-launch git reference for stack
2016-04-29 06:58:49 -07:00
Thomas R. Koll
a1ca86db7a
Website: Change indent styles to fit smaller screens
...
Only indent when the display is landscape and wide enough.
2016-04-29 10:35:30 +02:00
Simon Michael
46767406ed
web: document how initial query works ( fixes #314 )
2016-04-28 21:58:08 -07:00
Simon Michael
739c8dc4cc
web: preserve initial query when journal changes ( #314 )
...
The initial query specified by command line arguments is now preserved
when the journal is reloaded. This does not appear in the web UI, it's
like an invisible extra filter.
2016-04-28 21:48:30 -07:00
Simon Michael
f3360c8cfe
lib: after reloading a journal, also refilter it ( #314 )
...
After reloading a journal due to a file change, we now also re-apply any
query specified by the options.
2016-04-28 21:47:49 -07:00
Simon Michael
7b1b1f5f8d
web: focus field after clicking add txn ( fixes #338 )
2016-04-28 20:53:08 -07:00
Simon Michael
b175b8cddf
web: drop redundant onClick; fix add txn tooltip ( #338 )
2016-04-28 20:52:24 -07:00
Simon Michael
3739f0e364
web: leave date field blank, avoid problems ( #322 )
2016-04-28 18:27:00 -07:00
Simon Michael
7ec3ebb66b
update tested-with
...
Note we seem to have lost GHC 7.4 compatibility. It should be fixable if
anyone cares.
2016-04-28 17:32:17 -07:00
Simon Michael
71339d545f
ui: use new lens release instead of fork
2016-04-28 17:31:02 -07:00
Simon Michael
856c0b3042
lib: fix bracketed posting dates, parser cleanup ( #304 )
...
Bracketed posting dates were fragile; they worked only if you wrote full
10-character dates. Also some semantics were a bit unclear. Now they
should be robust, and have been documented more clearly. This is a
legacy undocumented Ledger syntax, but it improves compatibility and
might be preferable to the more verbose "date:" tags if you write
posting dates often (as I do).
Internally, bracketed posting dates are no longer considered to be tags.
Journal comment, tag, and posting date parsers have been reworked, all
with doctests. Also the journal parser types generally have been
tightened up and clarified, making it much easier to know how to combine
and run them. There's now
-- | A parser of strings with generic user state, monad and return type.
type StringParser u m a = ParsecT String u m a
-- | A string parser with journal-parsing state.
type JournalParser m a = StringParser JournalContext m a
-- | A journal parser that runs in IO and can throw an error mid-parse.
type ErroringJournalParser a = JournalParser (ExceptT String IO) a
and corresponding convenience functions (and short aliases) for running them.
2016-04-28 13:34:57 -07:00
Simon Michael
259e7bfbe3
lib: add a doctest suite
2016-04-28 13:34:57 -07:00
Simon Michael
9946e7df88
lib: organise JournalReader a bit
2016-04-28 13:34:57 -07:00
Simon Michael
50aeb90596
lib, ui: GHC 8 compatibility
2016-04-28 12:55:19 -07:00
Simon Michael
a82239f307
GHC 8 stack config that builds all but hledger-api
2016-04-28 12:55:19 -07:00
Simon Michael
df1040014e
web: exit if an instance is already running ( #226 )
...
Also
- pause for 0.1s before opening the browser, to ensure the app is ready
- don't open a browser if the app fails to start
- terminate the server thread more carefully on exit, may resolve some
lingering background thread issues eg on windows
2016-04-22 11:21:33 -07:00
Simon Michael
e2126fe480
make: re-enable multi-package ghci prompts
2016-04-21 08:45:29 -07:00
Simon Michael
a3e975bdb8
doc: use new file-embed to fix ghci cwd dependence
...
See https://github.com/snoyberg/file-embed/issues/18
2016-04-21 08:45:22 -07:00
Simon Michael
b0f40bd7c8
tools: fix make functest in a fresh copy
2016-04-21 08:37:37 -07:00
Simon Michael
91847fc6fd
data-files does not support wildcards after all
2016-04-20 13:23:05 -07:00
Simon Michael
33b5c5dc94
declare generated docs as data-files, sync hpack yamls
2016-04-20 12:47:17 -07:00
Simon Michael
80948d1db7
doc: also commit info files, should fix travis
2016-04-20 12:47:17 -07:00
Simon Michael
a77f0a3835
doc: cli: link to hledger-rewrite add-on
2016-04-20 07:24:51 -07:00
Simon Michael
42c12fe631
cli, ui, web, api: --info, --man, info & man cmds
2016-04-19 19:21:29 -07:00
Simon Michael
1fc34d76f8
cli: adapt func tests pass to new --help
2016-04-19 10:44:43 -07:00
Simon Michael
57626dc9fb
bal: output CSV item amounts on one line #336
2016-04-19 10:38:40 -07:00
Simon Michael
6ffc2b2392
remove confusing comment from stack.yaml #335
2016-04-19 10:31:54 -07:00
Simon Michael
3d129f6d31
shake: also generate info manuals
2016-04-18 17:54:55 -07:00
Simon Michael
165bf008da
site: api: hide link to non-existent released doc
2016-04-18 17:17:33 -07:00
Simon Michael
53e8b928ea
api: document the --swagger option
2016-04-18 17:07:11 -07:00
Simon Michael
d317836442
api: add options to manual
2016-04-18 17:01:16 -07:00
Simon Michael
25e2534794
doc: update all docs mentioning -h and --help
2016-04-18 17:00:54 -07:00
Simon Michael
df4b82740b
lib: make the supported format names accessible
2016-04-18 16:43:57 -07:00
Simon Michael
f9362707b6
ui, web, api: fix -h, --help
2016-04-18 16:43:51 -07:00
Simon Michael
ee279fd438
ui: fix stack ghci does not export main warning
2016-04-18 15:48:18 -07:00
Simon Michael
57d7d931ae
retire broken make ghci rules, prefer stack ghci
2016-04-18 15:41:35 -07:00
Simon Michael
ecbafba594
site: devguide: simplify pre markup
2016-04-18 15:40:25 -07:00
Simon Michael
de542e52ac
web: drop cruft from .ghci
2016-04-18 15:28:54 -07:00
Simon Michael
b4a72da355
web: fix stack ghci duplicate main error
2016-04-18 15:26:54 -07:00
Simon Michael
8839136f02
cli: fix --help
2016-04-18 15:26:29 -07:00