Simon Michael
1e7b7529af
tools: archive old Makefile and start afresh
2015-07-12 12:29:53 -07:00
Simon Michael
25d41acadf
update a functional test
...
the parse error has changed
2015-07-12 12:26:21 -07:00
Simon Michael
cddaa2724d
rendering a June 30 date span properly ( #272 )
...
30 days hath september, april, JUNE and november
2015-07-02 20:44:39 -07:00
Simon Michael
b827f1a146
more balanceTransaction cleanup
...
Clarify: it's fine to try to infer prices on a transaction that has had
an amount inferred, it just won't have any effect.
2015-07-02 18:06:03 -07:00
Simon Michael
b735107f43
print: show inferred unit prices with at least 2 decimal places
...
We don't do a good job of calculating good-looking unit prices when the
commodity display precisions are low. Eg when a journal doesn't use any
decimal places, any inferred unit prices are shown by the print command
also with no decimal places, which makes them look wrong.
Now inferred unit prices always have a minimum display precision of 2,
which helps a bit. Could do better.
2015-07-02 17:36:09 -07:00
Simon Michael
a5295bd216
tools: fix functest rule breakage
2015-07-02 17:00:55 -07:00
Simon Michael
5978a19b15
finish refactoring balanceTransaction
2015-07-02 16:59:43 -07:00
Simon Michael
4da22cd846
tools: tweak some cabal make rules
2015-06-28 14:18:23 -07:00
Simon Michael
2d46ee4448
tools: git ignore everything beginning with . or _
2015-06-28 14:15:37 -07:00
Simon Michael
61e4034de5
Journal's Show instance reported one too many accounts
2015-06-28 14:14:56 -07:00
Simon Michael
ba18f4a25a
begin refactoring balanceTransaction
2015-06-28 12:03:42 -07:00
Simon Michael
4c6979c3fc
register: comment
2015-06-27 06:40:43 -07:00
Simon Michael
f9f0f16a9c
tools: benchmark cleanup
2015-06-27 06:35:00 -07:00
Simon Michael
89513fc256
stats: support -o/--outputfile, useful for benchmarks
2015-06-25 16:31:57 -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
206887db43
tools: more git ignores
2015-06-25 15:23:44 -07:00
Simon Michael
cbc51ce67f
web: fix breakage in test script
2015-06-25 09:50:00 -07:00
Simon Michael
d156173647
web: make j keybinding respect --base-url ( fixes #271 )
2015-06-25 07:33:55 -07:00
Simon Michael
8e370692e6
web: make ViewData showable for debugging
2015-06-25 07:33:03 -07:00
Simon Michael
c2da13eb39
web: actually use the command line options ( fixes #225 )
2015-06-25 07:32:37 -07:00
Simon Michael
f64d3c7944
web: re-add unminified jquery source ( #161 )
2015-06-23 06:09:15 -07:00
Simon Michael
e516aa6c3c
stats: fix O(n^2) performance, now much faster on large journals
2015-06-19 11:07:35 -07:00
Simon Michael
745f2dd788
cli: a cabal bench test that works
2015-06-18 09:49:51 -07:00
Simon Michael
335deec496
cli: cabal test suite cleanup
2015-06-18 09:48:18 -07:00
Simon Michael
0f19bfee21
web: drop unused items from cabal file
2015-06-17 13:57:59 -07:00
Simon Michael
429d720e8a
add a stack.yaml, using today's stackage nightly
2015-06-17 13:57:15 -07:00
Simon Michael
2df9b84118
tools: git ignore local.mk, and .stack-work
2015-06-17 13:56:58 -07:00
Simon Michael
88d0f38f4e
tools: makefile and makefile help cleanup
2015-06-17 13:52:04 -07:00
Simon Michael
9617380f3c
tools: makefile tweaks
2015-06-17 12:14:46 -07:00
Simon Michael
976e34cd7c
doc: mention postingless transactions
2015-06-12 13:54:31 -07:00
Simon Michael
b9883d9eb1
query: make real: equivalent to real:1
2015-06-12 06:23:34 -07:00
Simon Michael
ba6269981b
begin reviving journalreader unit tests
2015-06-11 10:16:46 -07:00
Simon Michael
d1769d9d62
journal: allow journal entries with no postings
...
We now parse, and also print, posting-less journal entries, as I
proposed on the lists.
These are not real General Journal entries/transactions, but here is my
rationale:
- Ledger and beancount parse them
- if we parse them, we should print them
- they provide a natural way to record and report non-transaction events
- most of all, they permit more gradual introduction and learning of the concepts.
Eg a beginner can keep a simple journal even before learning about accounts and postings.
2015-06-11 10:16:46 -07:00
Simon Michael
049baed4d8
register: fix a runtime error with amountless postings
2015-06-11 10:16:45 -07:00
Simon Michael
892718a5d9
doc: faq: ui surprises
2015-06-05 17:23:06 -07:00
Simon Michael
0de0f6ab01
group related imports
2015-06-04 09:45:43 -07:00
Simon Michael
bb8918a709
web: fix build breakage from #165 ( fixes #268 )
2015-06-04 09:44:58 -07:00
Simon Michael
ce5d87177a
update journalFilePathFromOpts haddock
2015-06-04 09:43:15 -07:00
Simon Michael
b9b0417e41
doc: manual: more width-setting examples
2015-06-02 14:12:54 -07:00
Simon Michael
2b30ed91a6
doc: manual: virtual postings, and with assertions
2015-06-01 13:05:47 -07:00
Simon Michael
cd981532da
Merge pull request #264 from imuli/master
...
handle multiple -f parameters sensibly
2015-05-29 10:06:57 -07:00
Imuli
5fd5d77685
doc: manual: read multiple files
2015-05-28 10:40:49 -07:00
Imuli
67432f1220
read multiple files: tests
2015-05-28 10:40:48 -07:00
Imuli
49f1744ae5
read multiple files: internals
2015-05-28 10:40:48 -07:00
Imuli
8385da205e
read multiple files: options
2015-05-28 10:40:48 -07:00
Simon Michael
46bbc9e0aa
fix simple aliases that match the whole account name
2015-05-28 10:40:48 -07:00
Simon Michael
c138852dab
maybe stop numbering functional tests
2015-05-28 10:40:48 -07:00
Imuli
0eb9f49a6e
doc: manual: read multiple files
2015-05-28 12:42:22 -04:00
Imuli
a7ba436116
read multiple files: tests
2015-05-28 11:58:30 -04:00
Simon Michael
ef890e1b23
add: quote file name consistently in output
...
Don't show quotes around the journal file path in the "Creating..."
message since there aren't any in the subsequent "Adding..." message.
2015-05-27 14:41:23 -07:00