Commit Graph

6860 Commits

Author SHA1 Message Date
Simon Michael
e6556e4760 site: shake: also generate the 1.11 web manual
[ci skip]
2018-10-06 09:48:03 -10:00
Simon Michael
862fb873b4 update embedded manuals 2018-10-06 09:42:27 -10:00
Simon Michael
ff2a546319 bump version to 1.11.99 2018-10-06 09:42:12 -10:00
Simon Michael
9597f1891b install: bump hledger versions to 1.11.1 2018-10-06 09:40:52 -10:00
Simon Michael
e687ef1a79 doc: changelogs, relnotes 2018-10-06 09:40:06 -10:00
Simon Michael
dcbedadcc4 add: fix wrong txn rendering during data entry & in journal file 2018-10-06 09:31:22 -10:00
Simon Michael
2ba135e402 lib: journal: fix wrong txn rendering in balance assertion errors 2018-10-06 09:31:22 -10:00
Simon Michael
3dbf97babd site: download: tweaks
[ci skip]
2018-10-06 09:12:55 -10:00
Simon Michael
92e9cbaa0f site: download: overhaul platform instructions
[ci skip]
2018-10-06 07:57:50 -10:00
Simon Michael
6f4088edbd doc: relnotes: linkify issue numbers since hledger 1.1
[ci skip]
2018-10-05 18:59:50 -10:00
Simon Michael
093c6c7e3e doc: relnotes: add ui/web/api
[ci skip]
2018-10-05 18:54:20 -10:00
Simon Michael
d2ec8469c8 doc: new announcement template with tweaked install docs
[ci skip]
2018-10-05 16:56:35 -10:00
Simon Michael
30e0768e86 doc: save 1.11 announcement
[ci skip]
2018-10-05 14:43:05 -10:00
Felix Yan
9c0648b46a test: fix a typo 2018-10-05 11:06:47 -10:00
Simon Michael
08e02024b2 install: warn and stop if old stack shadows installed one; clearer output
[ci skip]
2018-10-05 11:05:39 -10:00
Simon Michael
273f744718 install: be more informative about the choice of install tool
[ci skip]
2018-10-05 11:05:39 -10:00
Simon Michael
896e58c054 install: warn when installed stack is too old
[ci skip]
2018-10-05 11:05:39 -10:00
Simon Michael
bcf6f8ab4d install: make cmpver available earlier
[ci skip]
2018-10-05 11:05:39 -10:00
Simon Michael
190eee5485 lib: comment
[ci skip]
2018-10-05 11:05:39 -10:00
Simon Michael
2c9c4ebf79
Merge branch 'master' into ExceptTLayer 2018-10-04 21:04:02 -10:00
Nikhil Jha
611ad9d5c7 Remove Twitter
Fix #870
2018-10-01 15:00:59 -10:00
Simon Michael
0db44dd8b8 site: download: update stack install command
[ci skip]
2018-10-01 10:22:30 -10:00
Simon Michael
c46175158f site: download: add -s to curl commands
[ci skip]
2018-10-01 10:07:51 -10:00
Simon Michael
4fb0e401a1 install: bump version 2018-10-01 10:01:17 -10:00
Simon Michael
aba0db8490 install: ensure a new-enough version of stack; output improvements 2018-10-01 10:00:46 -10:00
Simon Michael
87e54507e0 install: fix missing cassava-megaparsec dependency 2018-10-01 09:38:54 -10:00
Simon Michael
ca4a7fae3b install: clean up vars 2018-10-01 09:25:39 -10:00
Simon Michael
4e30ac8e9e install: cleanups 2018-10-01 09:25:39 -10:00
Simon Michael
ef792493d0 site: download page
[ci skip]
2018-09-30 20:39:36 -10:00
Simon Michael
04d5b73d2b site: download page
[ci skip]
2018-09-30 20:36:56 -10:00
Simon Michael
3a7a37475d doc: release notes: fix link
[ci skip]
2018-09-30 20:27:09 -10:00
Simon Michael
d5b7e961d3 doc: release notes: fix link
[ci skip]
2018-09-30 20:26:03 -10:00
Simon Michael
fb6f669684 doc: release notes 2018-09-30 20:22:33 -10:00
Simon Michael
d15fbb5a6b doc: add 1.11 manuals snapshot 2018-09-30 20:20:23 -10:00
Simon Michael
0699cf8734 doc: release notes 2018-09-30 20:15:54 -10:00
Simon Michael
7bc500ccd2 update embedded manuals 2018-09-30 20:08:15 -10:00
Simon Michael
b798c48040 bump version to 1.11 2018-09-30 20:07:45 -10:00
Simon Michael
92c8a6fffb changelogs 2018-09-30 20:05:26 -10:00
Alex Chen
3d2584d869 lib: switch to megaparsec 7 2018-09-30 20:15:12 -06:00
Simon Michael
fa74840206 install: drop hledger-irr 2018-09-30 14:37:34 -10:00
Alex Chen
26369c28a3 lib: remove old code for include file parse errors 2018-09-29 22:55:10 -06:00
Alex Chen
31d4e930e7 lib: Re-implement 'includedirectivep' with the new 'ExceptT' layer
- Parse errors encountered in include files are treated as "final" parse
  errors in the parent file, preventing backtracking and fixing an issue
  in #853
2018-09-29 22:54:49 -06:00
Alex Chen
3e54fc77a4 lib: make 'includedirectivep' an 'ErroringJournalParser'
- Update tests as well, requiring test utilities in Utils/Test.hs
  analogous to the those for 'JournalParser' but instead for
  'ErroringJournalParser'
2018-09-29 22:34:52 -06:00
Alex Chen
855a8f1985 lib: Re-implement the 'ExceptT' layer of the parser
We previously had another parser type, 'type ErroringJournalParser =
ExceptT String ...' for throwing parse errors without the possibility of
backtracking. This parser type was removed under the assumption that it
would be possible to write our parser without this capability. However,
after a hairy backtracking bug, we would now prefer to have the option
to prevent backtracking.

- Define a 'FinalParseError' type specifically for the 'ExceptT' layer
- Any parse error can be raised as a "final" parse error
- Tracks the stack of include files for parser errors, anticipating the
  removal of the tracking of stacks of include files in megaparsec 7
  - Although a stack of include files is also tracked in the 'StateT
    Journal' layer of the parser, it seems easier to guarantee correct
    error messages in the 'ExceptT FinalParserError' layer
  - This does not make the 'StateT Journal' stack redundant because the
    'ExceptT FinalParseError' stack cannot be used to detect cycles of
    include files
2018-09-29 22:33:34 -06:00
Alex Chen
2b3c97e1af lib: tweak custom parse errors
- Don't immediately throw custom parse errors into 'ParsecT'; rather,
  just construct and return them
- This anticipates the re-implementation of an 'ExceptT' layer of the
  parser, which should be able throw custom parse errors
2018-09-29 22:32:34 -06:00
Alex Chen
5e1f0ba6f7 lib: add a field to 'Journal' for a stack of include files
- In anticipation of megaparsec 7, which removes support for stacks of
  include files (as far as I can tell)
- Intended for the 'StateT Journal' layer of the parser
  - A stack of include files would be better in a 'ReaderT' layer, but I
    don't want to add another layer to the parser
- Intended for detecting cycles of include files
  - Potential issue: for proper error messages for include file cycles,
    we must remember to provide the filepath of the root journal file via
    the initial journal state passed to a 'JournalParser'; I imagine
    that we may forget to do so because in all other cases it is okay
    not to do so.
2018-09-29 22:32:27 -06:00
Simon Michael
e670bd4e9a tests: typo 2018-09-27 13:51:31 -10:00
Dmitry Astapov
743098034b tests: return on investment 2018-09-27 13:42:31 -10:00
Dmitry Astapov
3397ccdd4c cli: command to compute return on investment 2018-09-27 13:42:31 -10:00
Simon Michael
2960c9209f lib: whitespace 2018-09-27 10:51:36 -10:00