Commit Graph

4883 Commits

Author SHA1 Message Date
Dominik Süß
962ddb3c3a Adopted Bootstrap classes everywhere 2016-10-26 10:05:50 -07:00
Simon Michael
aec7d2fa3c doc: release notes cleanup 2016-10-25 12:00:54 -07:00
Simon Michael
97e7fd67f4 extra: simplify, fix mint CSV rules 2016-10-23 14:34:37 -07:00
Simon Michael
99b13544df extra: add a bunch of CSV rules examples 2016-10-23 14:06:43 -07:00
Simon Michael
b322ba995c don't symlink stack.yaml, I think windows doesn't like it 2016-10-21 17:58:17 -07:00
Simon Michael
647e559db6 doc: catch release notes up with latest commits 2016-10-21 17:50:47 -07:00
Simon Michael
97ef9d621c disable failing test #415 2016-10-21 17:50:47 -07:00
Simon Michael
5aa4c91332 stack/cabal cleanups; drop GHC 7.6, 7.8 support
A (disabled) stack build plan for GHC 7.8 is included; supporting it
would need small code changes and a maintainer.
2016-10-21 14:47:22 -07:00
Simon Michael
275f98b3be lib: getCurrentZonedTime 2016-10-21 11:47:07 -07:00
Simon Michael
843c417079 tools: simplebench is now quickbench 2016-10-21 11:46:50 -07:00
Simon Michael
bdf8f5ca88 doc: update generated docs, fixing typos 2016-10-20 16:57:35 -07:00
Simon Michael
146ba133c6 update recommended snapshots, make GHC8/lts-7 the default 2016-10-20 16:56:29 -07:00
Simon Michael
1953f20136 shake: small comment fix 2016-10-17 08:53:38 -07:00
Simon Michael
ca9a247d99 tools: drop stats from defaults bench tests 2016-10-11 14:48:29 -07:00
Simon Michael
d2b458197d site: devguide: link stargazers forks list 2016-10-11 14:43:30 -07:00
Dominik Süß
36d2998b77 Added .btn-default to unify buttons across browsers (#418) 2016-10-11 14:00:30 -07:00
Simon Michael
cf71a803f9 csv: add a failing test for #415 2016-10-08 15:20:26 -10:00
Moritz Kiefer
981b6f6594 Add a cabal.project file (#411) 2016-10-05 07:15:13 -10:00
Moritz Kiefer
c7cd540bff Ignore dist-newstyle (#408) 2016-10-04 08:11:43 -10:00
Hans-Peter Deifel
ae73c525d8 Fix csv rules parsing (#407)
* csv rules: Show prettier parsing errors

This goes from

  hledger: user error ("ParseError {errorPos = SourcePos {sourceName = \"foo.csv.rules\",
  sourceLine = Pos 20, sourceColumn = Pos 1} :| [], errorUnexpected =
  fromList [Tokens (' ' :| \"\")], errorExpected = fromList [Label ('b' :| \"lank or comment
  line\"),EndOfInput], errorCustom = fromList []}")

to

  hledger: user error (foo.csv.rules:20:1:
  unexpected space
  expecting blank or comment line or end of input
  )

* csv rules: Fix parsing of empty field values

A single line containing `account1 ` (note the space at the end) should
parse as assignment of the empty string to account1. At least it did
until commit 4141067.

The problem is that megaparsec's `space` parses multiple space
characters as opposed to parsec. So in the example above it would
incorrectly consume the newline.

This commit also adds a new test case for this bug.
2016-09-25 12:56:28 -07:00
Simon Michael
3efa123812 api: add request logging 2016-09-22 11:56:38 -07:00
Simon Michael
c53005f121 doc: punctuation, doesn't look right 2016-09-22 11:13:42 -07:00
Simon Michael
458a8735d7 makefile, doc tweaks 2016-09-21 09:35:11 -07:00
Simon Michael
18bed45e1a bal: draft some tests for #373 2016-09-21 09:34:01 -07:00
Simon Michael
c3326ba943 git: don't ignore filenames beginning with a number 2016-09-21 09:32:54 -07:00
Simon Michael
f23438ce80 stack: use latest snapshots 2016-09-21 08:51:19 -07:00
Simon Michael
55bced296b commit ascii journal test file referenced by #373 2016-09-19 11:56:20 -07:00
Simon Michael
02bdbd8877 site: download updates
[ci skip]
2016-09-14 17:20:07 -07:00
Simon Michael
86c23bde7f doc: journal: fix posting dates link (fixes #401)
[ci skip]
2016-09-14 06:57:44 -07:00
Simon Michael
885d6974a9 site: download: cleanups 2016-09-13 12:11:48 -07:00
Simon Michael
992fd214f9 site: download: switch html table to markdown 2016-09-13 11:38:56 -07:00
Simon Michael
68051d35f5 site: download: more cleanups
[ci skip]
2016-09-13 09:29:32 -07:00
Simon Michael
233251b06a doc: journal: clarify D directive
Example added, per #399 discussion.
2016-09-13 09:11:08 -07:00
Simon Michael
55bc2e3e38 site: download page updates (#400)
Update commands, more detail, mention cabal again, begin suggesting os-specific C libs
2016-09-13 09:00:17 -07:00
Simon Michael
17d96d351b extra: hledger-rewrite: doc tweak
[ci skip]
2016-09-07 07:49:08 -07:00
Simon Michael
6439744fa2 extra: give hledger-rewrite.hs a stack script header
and some guidance for compiling or interpreting it.
This may be helpful for getting started, although the suggested
commands still require that you're in the hledger source tree.
2016-09-07 07:39:10 -07:00
Simon Michael
98250d043d Merge branch 'ascjones-master' 2016-09-07 07:00:01 -07:00
Andrew Jones
96fc6ced6a extra: fix up hledger-rewrite to work with Megaparsec 2016-09-06 21:02:41 +01:00
Simon Michael
8c7e7c02c3 ui, lib: another historical balance fix for accountTransactionsReport 2016-09-06 08:43:25 -07:00
Simon Michael
2f4dde3699 lib: debug utils cleanup 2016-09-06 08:31:53 -07:00
Simon Michael
b262be7838 ui: fix wrong register start balance in historical mode
90c0d40 a few weeks ago miscalculated the starting balance
in accountTransactionsReport. Possibly also affects
-web and -api.
2016-09-05 14:45:02 -07:00
Simon Michael
9396bc6711 lib: fix ghc 8 warnings in Read.Common 2016-09-05 14:31:56 -07:00
Simon Michael
1362784546 ui: help: reset wording 2016-09-05 10:57:05 -07:00
Simon Michael
8c32af581b ui: use full narrow terminal width for help dialog 2016-09-05 10:56:38 -07:00
Simon Michael
4ceda8f985 timeclock: fix order of transaction indexes #394
Timeclock transaction ids now count up rather than down.

Also, remove old code for appending timeclock transactions to journal transactions,
a holdover from the days when both were allowed in one file.
2016-08-14 14:50:03 -07:00
Simon Michael
72c39470d6 lib: non-journal formats now produce transaction ids #394
Transactions are now numbered consistently during journal finalisation,
rather than just in the journal reader. Also transaction knot-tying has been
moved out of journalBalanceTransactions.
2016-08-14 12:44:19 -07:00
Simon Michael
f864efdb07 reg: csv: include txn index, rename total field (fixes #391) 2016-08-14 10:15:45 -07:00
Simon Michael
332a19ccd8 print: csv: show proper txn index, rename to "txnidx" 2016-08-14 10:15:00 -07:00
Simon Michael
2585c1eedf lib: rename sample.timelog to sample.timeclock 2016-08-14 10:13:28 -07:00
Simon Michael
389385f2b5 lib: delete unused sample file 2016-08-14 10:13:11 -07:00