Commit Graph

3849 Commits

Author SHA1 Message Date
Simon Michael
45698b03cf doc: readme: fix a line break with github markdown 2015-08-11 14:37:34 -07:00
Simon Michael
0d6f47282b doc: readme: add bountysource, license badges
(and a few more commented out)
2015-08-11 14:31:57 -07:00
Simon Michael
69818f0ca5 doc: manual: typo, clarifications 2015-08-09 21:09:50 -07:00
Simon Michael
a47ba50e8a doc: manual: clarify transaction vs market prices 2015-08-09 21:02:36 -07:00
Simon Michael
2dc9926fd4 doc: manual: document balance -V/--value 2015-08-09 16:45:43 -07:00
Simon Michael
94094252be rename historical prices to market prices
Simpler and clearer. We now have "transaction prices" (recorded as part
of transaction amounts) and "market prices" (recorded with P
directives). Both are matters of historical record, also this avoids
confusion with the balance command's "historical balances".
2015-08-09 16:20:02 -07:00
Simon Michael
49be1f646e balance: add -V/--value to show as market value
Initial support of market value reporting and currency conversion,
similar in spirit to Ledger's.  The balance command now has a -V/--value
flag that converts all the reported amounts using their "default market
price". That is the latest market price (P directive, formerly called
"historical prices") found in the journal for their commodity that is on
or before the report end date.

Unlike Ledger, hledger's -V only uses the market prices recorded with P
directives, ignoring transaction prices recorded as part of posting
amounts (which -B/--cost uses). Using -B and -V together is allowed.
2015-08-09 16:03:16 -07:00
Simon Michael
040d00e8fb also canonicalise historical price amounts
So that when we convert amounts to market value, the result will have
the canonical style of the target commodity.
2015-08-09 15:12:16 -07:00
Simon Michael
bf4c9221be doc: download: don't mention hledger-web on fedora 2015-08-05 06:52:32 -07:00
Simon Michael
ee81005796 doc: update fedora links/download info 2015-08-02 16:58:34 -07:00
Simon Michael
9f2cce6928 docs: manual: clarify real: 2015-08-02 16:58:08 -07:00
Simon Michael
72f080bc16 docs: manual: mention stack, cleanups 2015-07-28 17:30:50 -07:00
Simon Michael
dee282d8cf docs: download: more cleanups 2015-07-28 17:30:17 -07:00
Simon Michael
0a0ef2c213 site: add travis badge to front page and dev guide 2015-07-28 17:29:06 -07:00
Simon Michael
b7ab5112a3 tools: travis: consistent layout 2015-07-28 17:04:47 -07:00
Simon Michael
1cdc8a43a3 tools: travis: don't join/leave channel 2015-07-28 16:48:19 -07:00
Simon Michael
1950192586 tools: travis: is --no-terminal needed ? 2015-07-28 16:37:07 -07:00
Simon Michael
a6f7d1ef36 tools: travis: cleanups, simplify irc template 2015-07-28 16:34:20 -07:00
Simon Michael
25b8b60664 tools: travis: disable .stack-work caching
Maybe this is not needed, leave it off and watch builds for a while..
2015-07-28 16:30:59 -07:00
Simon Michael
d3a7439575 tools: travis: it broke.. remove this flag ? 2015-07-28 16:06:11 -07:00
Simon Michael
e33e3c3cc5 tools: travis: try to cache a bit more 2015-07-28 16:02:31 -07:00
Simon Michael
0d9bbe6653 tools: fix duplicated quote in travis config 2015-07-28 15:48:27 -07:00
Simon Michael
85cadabdb3 tools: have travis run tests as well 2015-07-28 15:43:22 -07:00
Simon Michael
80ff66a5c9 tools: enable travis notifications on IRC 2015-07-28 15:34:11 -07:00
Simon Michael
31fe0e9243 doc: devguide: link to travis 2015-07-28 15:06:58 -07:00
Simon Michael
00f716a2d4 tools: add travis build status to README 2015-07-28 15:00:17 -07:00
Simon Michael
a06e612095 Merge pull request #263 from kmels/pr-251-fix-broken-shortcut
hledger-web: Fixes keyboard shortcut for adding a transaction.
2015-07-28 14:16:34 -07:00
Simon Michael
0aafee1396 tools: enable travis CI build test on github push
A preliminary config, from cloud-haskell via the stack wiki.
2015-07-28 14:05:06 -07:00
Simon Michael
2c16dded6e docs: simplify download page 2015-07-23 07:05:28 -07:00
Simon Michael
fba4e126fe docs: download: equalise column widths 2015-07-22 15:34:09 -07:00
Simon Michael
6998de1036 docs: download: 0.26 binaries for windows
and drop the donations-for-binaries policy
2015-07-22 15:20:24 -07:00
Simon Michael
6ca4a35a6d docs: download: stack build tips for windows 2015-07-22 13:58:10 -07:00
Simon Michael
649f7aa168 tools: heap profiling
"make quickheap-CMD" generates a heap profile for CMD, in
hledgerprof.ps, and tries to open it in a viewer (currently the
mac-friendly "open" executable, so you may need to adjust this in the
makefile).

As with quickprof, CMD must be one word and runs against one of the
sample journals.
2015-07-22 08:59:41 -07:00
Simon Michael
523ab4331a tools: update profiling rules
A bunch of cleanups to make profiling possible again, and easier.

"make quickprof-CMD" generates a profile for CMD, which must be one
word and runs against one of the sample journals (the usual
quickprof-"SOME WORDS" quoting trick isn't working here for some
reason)

Also,

"make hledgerprof" builds the hledgerprof executable (in stack's bin dir) for profiling.

"make hledgercov" builds the hledgercov executable (in ./bin) for coverage reports
(renamed from hledgerhpc to remind me that HPC is nothing to do with heap coverage)
2015-07-22 08:52:30 -07:00
Simon Michael
9da0ab6af9 doc: give hledger a README on hackage (via symlink) 2015-07-21 12:23:31 -07:00
Simon Michael
10163f698a doc: devguide: how to run ghci (#274) 2015-07-19 09:34:34 -07:00
Simon Michael
7c02959944 doc: devguide: how to run tests 2015-07-19 09:34:23 -07:00
Simon Michael
53eb580b48 doc: devguide: undeprecate trello 2015-07-19 09:33:51 -07:00
Simon Michael
d94cf3c726 doc: re-order devguide topics 2015-07-19 09:33:36 -07:00
Simon Michael
b4320e08d4 tools: re-enable the ghci and ghci-web rules 2015-07-19 09:31:50 -07:00
Simon Michael
892b0b226a doc: devguide: how to suggest enhancements 2015-07-18 12:40:54 -07:00
Simon Michael
4b2c448a00 tools: ensure a locale in makefile again (eg for cron) 2015-07-14 17:52:14 -07:00
Simon Michael
c5d6f3308f tools: also clean .dyn_o etc, and avoid .stack-work 2015-07-14 17:38:02 -07:00
Simon Michael
78018cc24d tools: yaml definitions for the hledger cabal files
Here are hpack package.yaml files for the other hledger cabal files.
These remove a lot of human-error-prone duplication.
They are not used yet as hpack isn't quite mature enough -
when it supports flags and benchmarks we will probably switch.
2015-07-14 17:32:49 -07:00
Simon Michael
4a3b09e1ed tools: start generating cabal files with hpack
hakyll-std's cabal file is now generated by hpack from an easier yaml
config file, which looks like a valuable timesaver. "make gencabalfiles"
will regenerate this cabal file (and soon the others) when needed.
2015-07-14 15:19:05 -07:00
Simon Michael
9a93a2b5f5 site: make hakyll-std's stack config work on osx 2015-07-14 15:16:01 -07:00
Simon Michael
852c4115fa doc: update build instructions 2015-07-13 21:56:39 -07:00
Simon Michael
b993716222 doc: release notes: hide contact info 2015-07-13 21:06:00 -07:00
Simon Michael
f788c53217 site: commit and use hakyll-std, a generic site builder 2015-07-13 20:47:53 -07:00
Simon Michael
7d81ca0e8f doc: dev guide updates 2015-07-13 20:24:58 -07:00