Simon Michael
4037d56080
drop the --options-anywhere flag, make it the default
...
Also drop support for ledger-2-style - and -- in account patterns.
For the time being ^ and ^^ must be used.
2009-02-27 03:56:26 +00:00
Simon Michael
991d3ce909
help cleanups
2009-01-25 08:44:14 +00:00
Simon Michael
c0885f7c76
another iteration of the version number system; simpler and more efficient
...
The release version is defined in VERSION, make or make release do the rest.
2009-02-27 02:55:54 +00:00
Simon Michael
00a89bf472
fix a build error with certain flags
2009-01-26 20:24:51 +00:00
Simon Michael
20ef2dde04
a new version numbering system, more automated and hopefully usable
...
See comments in Makefile. The major.minor[.bugfix] release version is
defined there, then "make" and "make release" should take care of
everything. Excerpt:
Goals and constraints for version numbering:
1 automation, robustness, simplicity, platform independence
2 cabal versions must be all-numeric
3 release versions should be concise
4 releases should have a corresponding darcs tag
5 development builds should have a precise version appearing in --version
6 development builds should generate cabal packages with non-confusing versions
7 would like a way to mark builds/releases as alpha or beta
8 would like to easily darcs get the .0 even with bugfix releases present
2009-02-26 17:37:46 +00:00
Simon Michael
f807c0f095
Options cleanups
2009-01-25 08:09:26 +00:00
Simon Michael
aed74a9ef9
add happs command to --help
2009-01-20 04:31:34 +00:00
Simon Michael
f910357093
include ui commands in --help
2009-01-20 04:31:11 +00:00
Simon Michael
bb6745962b
include happs configure flag in version string
2009-01-20 06:09:16 +00:00
Simon Michael
56c99bdfd6
simplify config flag display
2009-01-20 06:05:37 +00:00
Simon Michael
8dcd53c9ba
clean up version string and include configure flags
2009-01-20 05:57:25 +00:00
Simon Michael
7bf18cd4f4
bump version
2009-01-20 04:28:49 +00:00
Simon Michael
9c5338793e
clarify hours argument help
2009-01-23 20:07:31 +00:00
Simon Michael
a26a56eafe
more convenient timelog querying when invoked as "hours"
2009-01-23 02:04:31 +00:00
Simon Michael
eacea41dac
when options are repeated, use the last instead of the first
2008-12-04 20:11:35 +00:00
Simon Michael
958c4eb891
bump version to 0.3
2009-01-17 17:33:47 +00:00
Simon Michael
dd040f9ca2
a simple interactive text ui
...
Lets you navigate around the balance, register, print reports and the raw
ledger, and drill down on a single account. Adds a dependency on vty.
2008-12-08 17:27:16 +00:00
Simon Michael
b8f8dad7d6
docs
2008-12-05 10:02:58 +00:00
Simon Michael
fae380e914
help tweak
2008-11-27 07:43:10 +00:00
Simon Michael
41a3fb91d5
support reporting intervals in period expressions and register report, and -W/-M/-D
2008-12-03 23:20:38 +00:00
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