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
Simon Michael
8d75635505
print: limit display precision of generated prices ( #262 )
...
When a transaction posts to two commodities without specifying the
conversion price, we generate a price which makes it balance
(cf http://hledger.org/manual.html#prices ).
Until now, these generated prices were always shown with full precision
(all available decimal digits) so that a manual calculation with the
displayed numbers would agree.
If there's just one posting in the commodity being priced, we can use an
exact total price and the precision is no problem.
But if there are multiple postings in the commodity being priced, we
must show the averaged unit price. This can be an irrational number,
which with our current Decimal-based implementation would display an
excessive 255 decimal digits. So in this case we now set the price's
display precision to the sum of the (max) display precisions of the
commodities involved. An example:
hledgerdev -f- print
<<<
1/1
c C 10.00
c C 11.00
d D -320.00
>>>
2015/01/01
c C 10.00 @ D 15.2381
c C 11.00 @ D 15.2381
d D -320.00
>>>=0
There might still be cases where this will show more price decimal
places than necessary. For now, YAGNI.
2015-05-27 14:21:19 -07:00
Imuli
3f15b80520
read multiple files: internals
2015-05-26 22:34:03 -04:00
Imuli
2eb4073651
read multiple files: options
2015-05-26 22:33:43 -04:00
Carlos Lopez-Camey
c79396e662
hledger-web: Clear the form when clicking 'Add a transaction' (just like the shortcut)
2015-05-25 21:29:31 -06:00
Carlos Lopez-Camey
d14941ab4d
hledger-web: Fixes keyboard shortcut for adding a transaction. 'addformShow' and 'addformReset' were broken.
2015-05-25 20:44:50 -06:00
Simon Michael
77280676d4
doc: manual: change journal screenshot
2015-05-25 18:25:31 -07:00
Simon Michael
4b33ad81e0
site: a few front page screenshots
2015-05-25 18:15:02 -07:00
Simon Michael
6d0343817c
doc: style devguide, howtos
2015-05-25 17:56:45 -07:00
Simon Michael
5e7fd191f2
doc: update/style tutorial
2015-05-25 17:55:39 -07:00
Simon Michael
7a8f813d2f
tools: fix make bin/hledger-webdev
2015-05-25 08:44:42 -07:00
Simon Michael
5df44c711e
doc: web rewrites/screenshots, add-on examples
2015-05-25 08:44:00 -07:00
Simon Michael
96343bf615
site: enable highslide for image thumbnails
2015-05-25 08:42:00 -07:00
Simon Michael
28175a456c
site: fix styles and js when browsing on localhost
2015-05-25 08:40:27 -07:00
Simon Michael
5d1ea71568
extra: fix hledger-equity, hledger-rewrite compilation
2015-05-25 08:39:50 -07:00
Simon Michael
35fb60d773
site: some hledger-web/sample.journal screenshots
2015-05-25 08:38:40 -07:00
Simon Michael
74268f6624
doc: manual: float-clearing tweaks
2015-05-22 17:53:16 -07:00
Simon Michael
ef5c7f5471
doc: manual: adjust register examples to 80 columns
2015-05-22 17:42:08 -07:00
Simon Michael
68409eca7b
doc: manual: clarify secondary & posting dates
2015-05-22 17:41:36 -07:00
Simon Michael
be56a140f6
site: bigger main heading
2015-05-22 16:48:52 -07:00