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
Simon Michael
1d78b4ee9c
site, doc:manual: pre/code styling
...
- less styling on inline and block pre and code elements by default
- different styles for journal (green), timelog (yellow), csv
rules (blue), and shell examples (black/bordered/bold)
- shrink pre blocks to fit their content. I used display:inline-block
for this, so some care is needed when you want a line break between
adjacent pre's.
2015-05-22 16:41:41 -07:00
Simon Michael
6ec38b56b5
doc: manual: lots of examples, rewrites, cleanups
2015-05-22 16:40:18 -07:00
Simon Michael
7ab2380fd2
doc: manual: promote some amount subtopics
2015-05-21 17:23:52 -07:00
Simon Michael
87d5ddfb71
query: drop the empty: query term
...
This seems to be equivalent to the --empty option, and overlaps
a bit confusingly with amt:0. I think we can drop it.
2015-05-21 16:44:11 -07:00
Simon Michael
20acc45fbb
activity: don't exclude 0-amount postings by default
2015-05-21 16:38:17 -07:00
Simon Michael
131259105d
doc: manual: clarify date:
2015-05-21 16:25:29 -07:00
Simon Michael
fdc507bd13
match tag names with a regexp, like everything else
2015-05-21 16:25:19 -07:00
Simon Michael
92aaeb1109
doc: manual: rewrites & cleanups
...
Conflicts:
doc/manual.md
2015-05-21 15:42:06 -07:00
Simon Michael
e23f61b771
doc: manual: de-emphasize troubleshooting subtopics
2015-05-21 15:38:11 -07:00
Simon Michael
cdc4abb497
doc: manual: reorganise the intro
...
Try to provide a smoother and shorter path for getting started,
and expose the interesting stuff (what commands are available) early.
2015-05-21 07:11:51 -07:00
Simon Michael
915ab1a0c9
doc: manual: commands cleanups
2015-05-19 22:04:21 -07:00
Simon Michael
797c900256
doc: devguide: link new hackage builder, other updates
2015-05-19 16:26:10 -07:00
Simon Michael
4aef02a722
doc: manual: mention hledger-diff
2015-05-19 16:26:09 -07:00
Simon Michael
7c2ebe6c7a
doc: manual: document our regular expressions ( #224 )
2015-05-17 16:46:47 -07:00
Simon Michael
e63ca9766d
doc: manual: demote final sections to appendices
2015-05-17 16:44:35 -07:00
Simon Michael
6fa54c94a9
Merge pull request #254 from ricklupton/make-test-fixes
...
Changes to make `make test` run
2015-05-17 11:07:15 -07:00
Rick Lupton
36535b73d6
Changes to make make test
run
...
- test/ADDONS -> test/addons
- add bin/ to path when running shelltest so hledgerdev is found
- use `cabal exec` to find shelltest in cabal sandbox
2015-05-17 18:24:57 +01:00
Simon Michael
9e2111106b
drop regexpr dependency
2015-05-17 08:32:45 -07:00
Simon Michael
64bc422b85
forgot to commit status tests
2015-05-16 13:04:22 -07:00
Simon Michael
68c71de25d
tighten up status:X parsing, cleanups
2015-05-16 12:21:50 -07:00