Commit Graph

190 Commits

Author SHA1 Message Date
Simon Michael
e4c4405c62 refactor: simplify some imports 2011-07-17 23:05:56 +00:00
Simon Michael
848a081d29 report haddocks 2011-07-18 00:21:13 +00:00
Simon Michael
df7dc1464e refactor: move basic report generation to hledger-lib 2011-07-17 23:47:52 +00:00
Simon Michael
b27c90aea5 fix "import Hledger", and also include Hledger.Utils, for easier scripting 2011-06-13 20:46:29 +00:00
Simon Michael
35f145f03d web: 1. move templates back into main code 2. begin adding content titles 2011-07-01 20:37:48 +00:00
Simon Michael
3dccfcad68 web: show account+subs by default 2011-07-01 00:32:09 +00:00
Simon Michael
05cd38458b web: fix inacctsonly: with spaces 2011-06-24 19:15:00 +00:00
Simon Michael
4bb0f2efbd web: "empty:" to select postings with zero or non-zero amount 2011-06-29 00:53:31 +00:00
Simon Michael
6b92997487 web: "real:1" to select real postings (or transactions with real postings) 2011-06-29 00:31:37 +00:00
Simon Michael
11409bb834 web: "status:" to filter by cleared status 2011-06-28 23:18:36 +00:00
Simon Michael
8d0b42e1d5 web: an "a" parameter specifies a query expression for filtering the accounts sidebar
Useful for ui experiments, at least
2011-06-28 22:34:45 +00:00
Simon Michael
d343614690 web: "inacctsonly:" narrows the sidebar to current account and subs 2011-06-24 18:52:40 +00:00
Simon Michael
d5ab811796 web: inacctsubs: -> inaccts: 2011-06-14 19:21:22 +00:00
Simon Michael
d35fbac422 web: inacctsubs: includes subs in an account register, with confusing balance 2011-06-14 14:29:31 +00:00
Simon Michael
94208e44d5 fix that silly pattern warning 2011-06-13 21:16:10 +00:00
Simon Michael
0c216cb2cd distinguish query search criteria (like acct:) and query options (like inacct:) 2011-06-13 19:46:35 +00:00
Simon Michael
06331c71a8 account register balance not right.. more fixes and plans 2011-06-12 22:35:54 +00:00
Simon Michael
94709e5139 preliminary single-account register report 2011-06-11 16:11:38 +00:00
Simon Michael
d2e6b8cbae query parser fixes, add date: and edate: matching 2011-06-12 18:30:18 +00:00
Simon Michael
957c349780 --alias command-line option 2011-08-05 00:05:39 +00:00
Simon Michael
30b7448f45 parsing: alias/end aliases directives, like ledger's but a bit more powerful 2011-08-04 08:45:18 +00:00
Simon Michael
4015e02097 account directive should preserve virtual/balanced virtual posting type 2011-08-02 23:29:13 +00:00
Simon Michael
345c2343b6 refactor ledgerDirective 2011-08-04 07:49:10 +00:00
Johann Klähn
8e7d20e4d5 parsing: support pop as well as end tag 2011-05-31 17:41:12 +00:00
Simon Michael
75f0886ad4 parsing: make the leading ! in directives optional, like ledger 2011-08-02 23:28:53 +00:00
Simon Michael
d4545966b5 amount code, test cleanups 2011-08-31 00:40:21 +00:00
Simon Michael
379184fd31 Amount haddock & code cleanups 2011-08-30 13:16:30 +00:00
Trygve Laugstol
28dbb8864f Adding basic ledger FORMAT parser. 2011-06-20 21:33:26 +00:00
Simon Michael
96aa9bfc76 matcher improvements, tests 2011-06-11 18:35:20 +00:00
Simon Michael
6a185bc51f refactor: abstract regular expression lib 2011-06-05 18:31:19 +00:00
Trygve Laugstøl
170154edfb explicit-rules-file-argument-and-converting-stdin
* Adding support for telling which rules file to use with "--rules FILE".
* Adding support for using stdin when converting files.
2011-05-29 19:22:55 +00:00
Simon Michael
5084280879 imports, api cleanup 2011-05-28 04:11:44 +00:00
Simon Michael
b344f797d3 whitespace/quoting utilities 2011-06-05 18:34:12 +00:00
Simon Michael
bea6fb7464 matcher enhancements for account register 2011-06-11 16:00:00 +00:00
Simon Michael
a9eb8b57c2 fix warnings 2011-06-07 06:18:23 +00:00
Simon Michael
9734ed47a6 web: acct: -> in:/inacct:, match only one account (CI exact string match on full name), old acct: re-enabled 2011-06-08 22:02:49 +00:00
Simon Michael
f7956d1ab7 web: account matching works like --related by default; dim excluded accounts
A step closer to working like standard accounting programs where you click
an account to see transactions "in" that account.  acct:PAT (or just PAT)
now matches the other postings in transactions matching the account
pattern, like ledger --related. When matching an account (or several) this
way, the unmatched accounts are dimmed to clarify what's happening.
Still to do: fix the sign of the running total, and find out how this
style of search will really coexist with the other ways of searching.
2011-06-07 06:11:38 +00:00
Simon Michael
32a1b921df consolidate new matching support 2011-06-05 18:36:32 +00:00
Simon Michael
aa41350a16 begin more powerful query expressions (filter patterns) 2011-06-03 23:14:26 +00:00
Simon Michael
dc7a692a19 refactor: remove costbasis and whichdate from FilterSpec 2011-06-03 02:14:36 +00:00
Simon Michael
910e5c2bee bump version 2011-09-02 00:42:50 +00:00
Simon Michael
ac5059ea53 bump version 2011-05-24 04:28:21 +00:00
Omari Norman
4ec0cc474f Fix postingCleared for individually-cleared postings
The previous code simply looked directly to the parent transaction's
status to determine whether the posting was cleared. This gave
erroneous information for postings that were individually cleared
even though the parent transaction was not cleared.
2010-12-26 22:39:28 +00:00
Simon Michael
2b1ea5160f change of mind: "every Nth X of Y" intervals' length shall be Y, not X 2011-01-14 05:01:00 +00:00
Simon Michael
810c6a5dac print: don't show a trailing space when description is blank 2011-01-19 18:55:16 +00:00
Simon Michael
8980dd9336 parser cleanup 2011-01-19 23:27:44 +00:00
Simon Michael
0cda8e4c3f add appendFile and hGetContents support to utf8 layer 2011-01-21 01:09:46 +00:00
Simon Michael
46422a7460 copy JGM's utf8 IO module from pandoc 2011-01-21 01:08:12 +00:00
Simon Michael
6a845eb5e4 i18n: always read and write UTF-8, ignoring current locale (#34)
Also remove a bunch of CPP conditions.
Uses the GHC-version-independent UTF-8 layer from pandoc.
2011-01-21 01:24:51 +00:00
Simon Michael
5f1ebc694a parsing: assume current year when transaction dates have no year and there is no default year 2011-03-11 18:45:57 +00:00