Commit Graph

1175 Commits

Author SHA1 Message Date
Simon Michael
c08bccb158 parsing: use actual (ie, first) date's year as a default for the effective (ie, second) date 2010-02-03 21:19:01 +00:00
Simon Michael
86020e8f4a web: remove debug print 2010-02-03 21:20:32 +00:00
Simon Michael
a8045c7c32 tools: do specify an upper bound on base, hackage requires it 2010-02-03 21:54:10 +00:00
Simon Michael
f2737bb7da tools: drop upper bounds from package dependencies, they seem a hindrance 2010-02-03 21:13:00 +00:00
Simon Michael
4b6d478c68 bump version number 2010-02-03 21:54:32 +00:00
Simon Michael
533b9d65b6 tools: version cleanup 2009-12-12 20:40:54 +00:00
Simon Michael
3a8906b956 resolve conflicts (Make previous entered day a default one) 2010-02-03 22:53:55 +00:00
Simon Michael
8274de5e92 resolve conflicts (Add: --no-new-accounts: don't allow to create new accounts) 2010-02-03 22:49:02 +00:00
Roman Cheplyaka
acecc28ce5 Make previous entered day a default one 2010-02-03 01:56:36 +00:00
Roman Cheplyaka
b2e89a8c13 Add: --no-new-accounts: don't allow to create new accounts 2010-02-03 01:23:14 +00:00
Simon Michael
8310eaa6ff resolve conflicts/explain (Add: filter relevant transactions by account)
Previously, we supported "hledger add [DESCRIPTION]". A DESCRIPTION just
pre-filled the description field and bypassed that prompt, after which
existing transactions with similar descriptions were offered as
defaults/reminders.

Now, we support "hledger add [ACCOUNTPATTERN]" instead. After the
description prompt, existing transactions with similar descriptions *and*
which match ACCOUNTPATTERN are offered as defaults. This can be helpful eg
with a multi-person ledger, to match only your own transactions.
2010-02-04 15:57:19 +00:00
Roman Cheplyaka
20b243a3a3 Add: filter relevant transactions by account 2009-10-11 20:12:10 +00:00
Simon Michael
30dee8cc7d resolve conflicts (Add Ledger.Amount.convertMixedAmountTo function) 2010-02-04 16:40:30 +00:00
Roman Cheplyaka
5c23ebd01b Add Ledger.Amount.convertMixedAmountTo function 2009-09-26 22:52:30 +00:00
Simon Michael
34506f3518 relax upper bound on Chart lib 2010-02-04 18:28:44 +00:00
Simon Michael
3aba40c5b6 fix warnings 2010-02-04 18:32:54 +00:00
Simon Michael
b8c6f6fc5a tools: enable all optional code when running ghci 2010-02-04 19:23:34 +00:00
Simon Michael
357b27fb63 fix an unsafe ! in ledgerAccount; clarify that withLedgerDo does not cache the ledger 2010-02-04 20:55:12 +00:00
Roman Cheplyaka
d449a64814 Signed contributor agreement 2010-02-06 12:25:23 +00:00
Simon Michael
03da9afe58 docs: note devs who have not yet signed CONTRIBUTORS 2010-02-04 16:04:59 +00:00
Simon Michael
812a800303 stats: fix number of accounts 2010-02-06 20:47:14 +00:00
Simon Michael
0734da2bbe chart: handle positive/negative balances better; tune defaults
Mixed positive and negative balances were confusing things. Now, the chart
will omit any balances which do not match the sign of the first balance.
Various other size/font/colour tweaks. 

Charts are now red for positive balances (like expense accounts) and green
for negative balances (like income accounts). This is fun, but falls down
for eg assets and liabilities.. better ideas welcome.
2010-02-06 21:45:41 +00:00
Simon Michael
160f8dc5b8 chart: show top 10 (or --items N) accounts, sorted by amount 2010-02-05 01:18:51 +00:00
Simon Michael
71c6b13717 chart: filter based on opts & args 2010-02-04 21:11:59 +00:00
Simon Michael
a2b8faa4d6 big refactoring, do filtering afresh in each command
We now do data filtering/massage as late as possible, not just once at
startup. This should work better for multiple commands, as with web or ui.
The basic benchmark seems at least as good as before thanks to laziness.
2009-12-21 05:23:07 +00:00
Simon Michael
7bd14a367a web: get static files from the cabal data dir, or the current dir when using make (#13) 2009-12-18 22:33:02 +00:00
Simon Michael
23e3c81acc cleanups 2009-12-19 06:26:33 +00:00
Simon Michael
60bda57a26 drop LedgerPosting, it's no longer needed; more rename cleanups 2009-12-19 05:57:54 +00:00
Simon Michael
19ff69bb83 docs: haddock 2009-12-19 01:56:04 +00:00
Simon Michael
de48b8ce46 docs: update LedgerPosting haddock 2009-12-19 01:17:28 +00:00
Simon Michael
42e5382673 docs: haddock 2009-12-19 01:56:12 +00:00
Simon Michael
dbfc9f3624 docs: fix haddock 2009-12-16 17:59:06 +00:00
Simon Michael
59c199e1a8 docs: wording 2009-12-19 03:09:55 +00:00
Simon Michael
ec95b0723c make Postings reference their parent Transaction
With this change, Transactions and Postings reference each other
co-recursively.  This makes constructing them more tedious, but it
may also allow LedgerPostings to be dropped and code to be simplified.
Time and space performance of register and balance is as before.
2009-12-19 03:44:52 +00:00
Simon Michael
8405072ff6 refactor 2009-12-20 15:50:54 +00:00
Simon Michael
f1813fbb0e more LedgerTransaction/Transaction/LedgerPosting field renames 2009-12-16 17:58:51 +00:00
Simon Michael
30b83bb105 rename LedgerTransaction to Transaction 2009-12-16 08:07:26 +00:00
Simon Michael
39fd143c84 web: update help link 2009-12-12 20:32:10 +00:00
Simon Michael
0656d575ac rename Transaction to LedgerPosting 2009-12-16 07:58:06 +00:00
Simon Michael
2e9b27da0d rename RawLedger to Journal 2009-12-16 07:00:43 +00:00
Simon Michael
83f9aa5693 resolve conflicts (New command 'chart': generate balances pie chart) 2010-02-04 20:59:07 +00:00
Simon Michael
885ec16f58 chart: messing with colours 2010-02-06 16:08:51 +00:00
Roman Cheplyaka
e96350c3f1 New command 'chart': generate balances pie chart 2009-09-26 22:53:54 +00:00
Simon Michael
c8c62ef4c2 docs: another example 2010-02-06 21:50:12 +00:00
Simon Michael
a5d9cd3af7 wording 2010-02-06 21:52:53 +00:00
Simon Michael
203a57487a site: bump year in footer 2010-02-07 20:27:21 +00:00
Simon Michael
7989be1ab0 release notes 2010-02-12 00:57:40 +00:00
Simon Michael
ff9bdb506c docs: fix the silly date in release notes 2009-12-12 08:15:35 +00:00
Simon Michael
72e7831a23 docs: wording, installation issue 2010-02-12 01:41:52 +00:00
Simon Michael
d2332cf067 chart: update docs 2010-02-06 21:45:05 +00:00