Commit Graph

293 Commits

Author SHA1 Message Date
Simon Michael
dee5b1ca39 make unelided transaction printing the default 2009-12-03 20:54:56 +00:00
Simon Michael
2cdc21959e web: switch to hack/loli/hsp, allow web data entry, detect file changes 2009-08-12 09:38:48 +00:00
Simon Michael
5493a604e3 parsing: fix timelog parsing 2009-12-07 23:29:19 +00:00
Simon Michael
9560073b2a make historical prices more robust, fix a runtime Map.find error 2009-12-09 20:51:00 +00:00
Simon Michael
cc92bde095 fix warnings 2009-11-28 14:49:38 +00:00
Simon Michael
cafa59ac3d price history support, first cut
P directives now work, but differently from current c++ ledger for now.
Each posting amount is assigned a fixed unit price from the price history
when available (unless overridden by @). This is simple and useful for
fixed-rate transactions such as foreign currency expenses.
2009-11-25 12:15:53 +00:00
Simon Michael
a17346149c a ledger remembers when it was read from disk 2009-08-12 09:21:46 +00:00
Simon Michael
472b65c5ab whitespace 2009-07-31 17:02:47 +00:00
marko.kocic
b197693197 Hlint: Warning: Redundant brackets 2009-09-22 16:51:27 +00:00
marko.kocic
2855fe9e0a Hlint: Error: Redundant do 2009-09-22 12:08:28 +00:00
marko.kocic
8fdd28d446 Hlint: Error: Redundant $ 2009-09-22 11:55:11 +00:00
Simon Michael
550357934f print: fix long account name truncation, align amounts 2009-08-06 20:19:00 +00:00
Simon Michael
5d6c6d778e there shouldn't be brackets in transaction's effective date, my mistake 2009-12-12 03:03:41 +00:00
Simon Michael
b6a5a3398e parsing: tighten up dates, error messages, tests 2009-11-25 21:21:49 +00:00
Simon Michael
e3e935e129 parsing: require whitespace between date and status code, prevent silent effective date breakage 2009-11-25 20:12:09 +00:00
Simon Michael
f209305eef print: show effective dates (issue #12) 2009-12-07 23:28:33 +00:00
marko.kocic
ddc176d83e Hlint: Warning: Eta reduce 2009-09-22 15:56:59 +00:00
Simon Michael
4e5d463927 refactor parseWithCtx utility 2009-06-20 03:59:37 +00:00
Simon Michael
d98d136fc7 allow comment lines intermixed with posting lines 2009-06-20 04:02:10 +00:00
Simon Michael
6fb1804cfd refactor IOArgs -> FilterSpec and make haddock happy 2009-07-09 20:25:50 +00:00
Simon Michael
a8bfb06da4 refactor effective date support, fix warnings 2009-07-09 19:22:27 +00:00
Simon Michael
06eb2a9aa8 --effective option uses transactions' effective dates, if any 2009-07-08 23:37:44 +00:00
Simon Michael
1a491e883a more accountNameTreeFrom optimisation experiments, included for easier collaboration 2009-05-29 10:06:50 +00:00
Simon Michael
43549704c0 tracewith 2009-06-05 10:41:57 +00:00
Simon Michael
d1418a2a21 show better errors for unbalanced transaction and missing default year 2009-06-05 19:35:12 +00:00
Simon Michael
3be793f108 fix nafai's bug: fail on empty account name components, don't just ignore 2009-06-05 18:02:22 +00:00
Simon Michael
cb8ea69dfc fix warnings all over - hledger is now -W-clean 2009-06-05 09:44:20 +00:00
Simon Michael
92d67926f5 print, register: show virtual accounts bracketed/parenthesised 2009-05-24 06:22:44 +00:00
Simon Michael
8cb526f655 accountNameTreeFrom optimisation experiments 2009-05-29 03:00:56 +00:00
Simon Michael
e91560989c drop regex-compat/regex-posix dependency 2009-06-03 23:19:47 +00:00
Simon Michael
96fd2142aa move some unrelated things out of AccountName, drop unused pattern match code 2009-05-29 11:31:51 +00:00
Simon Michael
568e752484 allow parentheses and brackets inside account names, as ledger does 2009-05-25 17:28:41 +00:00
Simon Michael
fe5498f6c2 various utilities & doc updates - commodities, daysInSpan, underline 2009-05-29 10:02:14 +00:00
Simon Michael
6c6eb2691e drop old-locale dependency 2009-06-03 23:44:01 +00:00
Simon Michael
dc3be35eef fix a silly failure to open ledger file paths containing ~
And drop a misconception: there's no need to tilde-expand paths in command
line arguments. Just the hard-coded ones.
2009-06-05 05:03:10 +00:00
Simon Michael
7e6df61889 better Transaction doc 2009-04-04 22:09:30 +00:00
Simon Michael
7d1c01ec8a consistent lower-case aliases for working with Ledgers, and examples 2009-04-04 22:38:18 +00:00
Simon Michael
1572622ae6 use a consistent prefix for Transaction field accessors 2009-04-04 21:26:55 +00:00
Simon Michael
622db5f25d datespan utils 2009-04-04 11:19:15 +00:00
Simon Michael
ca16e98655 haddock 2009-04-04 23:15:42 +00:00
Simon Michael
4c9f0e5d9e more haddock cleanups 2009-04-04 22:38:36 +00:00
Simon Michael
1ef777a1b8 improve type docs 2009-04-03 20:55:49 +00:00
Simon Michael
a78f5a1f04 model timelog entry codes precisely 2009-04-03 20:04:51 +00:00
Simon Michael
247563a336 haddock fix 2009-04-04 21:53:46 +00:00
Simon Michael
2edd2da7b8 nullentry -> nullledgertxn 2009-04-07 21:38:15 +00:00
Simon Michael
2c989522da add missing type signatures, for tags 2009-04-07 21:38:38 +00:00
Simon Michael
f40d561273 fix bug in eliding of posting amounts 2009-04-07 23:58:04 +00:00
Simon Michael
cfaacd26b6 parse error fixes 2009-04-10 04:38:46 +00:00
Simon Michael
ac307957e5 rstrip, lstrip 2009-04-10 04:59:43 +00:00
Simon Michael
1085d476f1 parse zero-length input as an empty ledger 2009-04-10 05:42:26 +00:00