Commit Graph

131 Commits

Author SHA1 Message Date
Simon Michael
c3bec2a3de options cleanup 2008-11-27 06:48:46 +00:00
Simon Michael
57c31f5ab0 support basic --period expressions, containing a single smart date 2008-11-27 06:29:29 +00:00
Simon Michael
1e7679176c help tweaks 2008-11-27 02:57:13 +00:00
Simon Michael
d25995c1c8 refactor with DateSpan 2008-11-27 04:31:01 +00:00
Simon Michael
630e22312b remove DateTime and Date types, use Day and UTCTime directly
This seems simplest for now, I might bring type synonyms back later.
2008-11-27 04:01:07 +00:00
Simon Michael
884ebf2979 gather date stuff together, FuzzyDate -> SmartDate 2008-11-27 00:35:00 +00:00
Simon Michael
8c56c3c4b3 refactoring date parsing, FuzzyDate 2008-11-26 23:21:24 +00:00
Simon Michael
3e1a615dbf misc cleanup 2008-11-26 05:21:44 +00:00
Simon Michael
4d49177117 hacking in more date parsing.. today/tomorrow/yesterday 2008-11-26 04:51:15 +00:00
Simon Michael
6c88197c6a do IO date parsing up front, and support (english) month names 2008-11-26 04:04:05 +00:00
Simon Michael
1c60514973 tighten up date parsing, make it io-friendly and parse Y, M/D, D 2008-11-25 23:52:42 +00:00
Simon Michael
dc007e69a5 --options-anywhere to use ^ for negative patterns and permit options anywhere in command-line 2008-11-25 19:29:33 +00:00
Simon Michael
20bf9ae7ad bump version number 2008-11-23 22:30:20 +00:00
Simon Michael
dfe59676fb support all five date comparisons in --display 2008-11-26 21:18:24 +00:00
Simon Michael
33b2deba75 correction, dates in display expressions should be in brackets 2008-11-25 18:47:26 +00:00
Simon Michael
0582046648 preliminary --display/-d support (-d "d>DATE", sufficient for reconciling) 2008-11-24 21:51:31 +00:00
Simon Michael
5f47e4d259 --help improvements 2008-11-24 00:14:28 +00:00
Simon Michael
f40696fa47 small doc edits 2008-10-17 16:54:10 +00:00
Simon Michael
565feb594e add a --verbose/-v flag, use it to show more test-running detail 2008-11-22 04:49:00 +00:00
Simon Michael
f3f74cb64f drop --usage flag 2008-10-16 09:53:50 +00:00
Simon Michael
d520929244 document the test command in --help, I guess 2008-11-22 04:49:20 +00:00
Simon Michael
27c1f06055 make --depth activate -s like ledger's -d'<=N' 2008-11-23 21:21:18 +00:00
Simon Michael
52ff46a326 --basis/-B flag, to show all priced amounts on cost basis. Also a --cost alias. 2008-11-22 20:35:17 +00:00
Simon Michael
fcdc4dc273 use smart dates for -b and -e 2008-11-22 12:37:55 +00:00
Simon Michael
86b510917d quick --depth option, a hledger feature 2008-11-22 13:11:54 +00:00
Simon Michael
6fc8cdfe3e -n flag for balance command 2008-11-22 09:46:57 +00:00
Simon Michael
42bfc4afd9 --empty/-E flag 2008-11-22 09:39:58 +00:00
Simon Michael
f831064644 convert multi-line strings to non-slash style for now so I can use sp to auto-build 2008-10-17 01:29:53 +00:00
Simon Michael
2388af0150 tweak -s help 2008-11-22 09:40:22 +00:00
Simon Michael
5df70bb3f4 rename --showsubs to --subtotal, like ledger 2008-10-17 16:58:09 +00:00
Simon Michael
6cd97f3f64 "make release" extracts version number from Options.hs, tags and uploads to hackage 2008-11-23 22:15:51 +00:00
Simon Michael
47cf7c3eb6 gather match functions in one place 2008-11-22 05:48:56 +00:00
Simon Michael
17ab6cb0ab support --real/-R flag 2008-10-16 09:50:16 +00:00
Simon Michael
57603db7b9 support -C/--cleared flag to filter by entry status (not transaction status) 2008-10-16 09:04:44 +00:00
Simon Michael
44be5e79a1 bump version number 2008-11-23 19:56:58 +00:00
Simon Michael
576fe76192 bump version 2008-10-16 09:04:53 +00:00
Simon Michael
b4ade0985f fix --version 2008-10-15 21:47:56 +00:00
Simon Michael
06a363dc6e improve command-line help 2008-10-15 17:34:55 +00:00
Simon Michael
c404ae45d6 allow command-line options to be anywhere when negativepatternchar is something other than - 2008-10-15 17:06:40 +00:00
Simon Michael
8de6d3b0a9 show help instead of register report if there is no command 2008-10-15 07:10:15 +00:00
Simon Michael
73c49ec060 reduce unnecessary imports 2008-10-10 02:19:53 +00:00
Simon Michael
cdc5a23192 clean up imports whitespace, minimise explicit intra-app import/export declarations for now 2008-10-10 01:53:39 +00:00
Simon Michael
2f59135953 simple --version option 2008-10-10 01:36:21 +00:00
Simon Michael
1a608044d9 move regexp utilities to Utils 2008-10-09 07:08:36 +00:00
Simon Michael
dff086a69d cleanups 2008-10-08 19:36:22 +00:00
Simon Michael
fa1b4bdfa2 rename parseError, parsePatternArgs, fix a bug 2008-10-08 18:02:34 +00:00
Simon Michael
b00dc34b4f rename Flag to Opt, cleanup 2008-10-08 17:24:59 +00:00
Simon Michael
91802391a1 um.. refactor option handling, filtering, and support -b/-e date filtering options 2008-10-08 17:00:22 +00:00
Simon Michael
26b6130a9b fix filter pattern handling, filtered non -s balance report showing full account names 2008-10-03 11:52:07 +00:00
Simon Michael
e5834ffe2f minor cleanups.. time to go 2008-10-03 03:38:33 +00:00
Simon Michael
9a2dc41d30 move parseLedgerAndDo back to hledger main 2008-10-03 02:25:18 +00:00
Simon Michael
6ce6029c7a move type docs to the corresponding module descriptions and update 2008-10-03 02:04:15 +00:00
Simon Michael
c699b979f8 move the rest of the core code to the Ledger package 2008-10-03 00:40:06 +00:00
Simon Michael
82e4e14e8f move Types to Ledger/ 2008-10-03 00:12:59 +00:00
Simon Michael
627f78a730 first step towards a library, move Utils to Ledger.Utils 2008-10-03 00:05:16 +00:00
Simon Michael
5cb1ea228f some import cleanups 2008-10-02 21:47:11 +00:00
Simon Michael
b90c015d9a haddock fixes 2008-10-01 11:44:47 +00:00
Simon Michael
bf136fae5c drop the FilterPatterns type 2008-10-01 11:43:18 +00:00
Simon Michael
8c6d93701b try to simplify FilterPatterns a bit 2008-10-01 11:08:30 +00:00
Simon Michael
efcbd29dc8 preliminary haddockification 2008-10-01 00:29:58 +00:00
Simon Michael
d52b365fa0 combine patterns into single regexps, fix a bug with print & patterns 2007-07-11 06:58:47 +00:00
Simon Michael
ce0d4ec85a clean up account/description pattern handling 2007-07-11 05:46:20 +00:00
Simon Michael
42ba85c4e1 print command 2007-07-04 09:28:07 +00:00
Simon Michael
255e061e6f fix non-display of single-child accounts when balance report depth is restricted, test support 2007-07-03 17:25:16 +00:00
Simon Michael
f5a41220ea --help 2007-05-01 05:55:35 +00:00
Simon Michael
12a9a03f1a cleanup 2007-03-12 07:58:44 +00:00
Simon Michael
510d39095c big overhaul of options, support -f-, rudimentary timelog file handling 2007-03-12 07:40:33 +00:00
Simon Michael
ee8ac17909 allow tilde in LEDGER env var 2007-03-10 23:18:46 +00:00
Simon Michael
1524dffbe2 rename old Account module to AccountName, extract new Account module from Models 2007-02-18 18:12:02 +00:00
Simon Michael
5475a3868c fix -f option 2007-02-16 12:24:13 +00:00
Simon Michael
1322bcb4a0 refactor, fix balance report 2007-02-16 11:51:30 +00:00
Simon Michael
ba40fbf733 reorg, split types into separate modules 2007-02-16 09:00:17 +00:00
Simon Michael
7b32caa0aa balance report, refactoring .. not finished but feeling paranoid about systems today\! 2007-02-15 02:08:18 +00:00
Simon Michael
41e83c4688 support ~/... in LEDGER env var 2007-02-13 04:37:44 +00:00
Simon Michael
3c20b0941f cleanup 2007-02-13 04:06:26 +00:00
Simon Michael
edbedab32c ledger-style account and description regexp matching 2007-02-13 03:48:16 +00:00
Simon Michael
6bf13fb262 much refactoring, get quickcheck working, beginnings of account matching 2007-02-10 23:24:33 +00:00
Simon Michael
30fe7ac225 cleanup 2007-02-10 17:36:50 +00:00
Simon Michael
2e8665a4d6 working test framework 2007-02-09 03:17:12 +00:00
Simon Michael
1fa5e09dfd split into modules 2007-02-09 01:23:12 +00:00
Simon Michael
a316e901e7 option processing 2007-01-30 09:07:12 +00:00