Commit graph

109 commits

Author SHA1 Message Date
John Wiegley
4e6157b74a added some error checking 2004-09-23 02:37:42 -04:00
John Wiegley
e59ba74814 if --file and the --cache refer to the same file, don't use caching 2004-09-20 06:18:24 -04:00
John Wiegley
5429792edc the "bal" command mostly works now in main.py; added a finalize_entry hook 2004-09-20 03:25:28 -04:00
John Wiegley
18879bbe85 some changes in the way formatting strings are handled; for simplicity 2004-09-18 02:33:51 -04:00
John Wiegley
79b664f6f0 changed the management of "xdata" in walk.h 2004-09-17 04:38:24 -04:00
John Wiegley
5d99b1e241 using main.py is now only 50% slower than using main.cc 2004-09-14 19:15:08 -04:00
John Wiegley
0c890de44b main.py now implements nearly all the functionality of main.cc 2004-09-14 17:34:48 -04:00
John Wiegley
061e19e302 make config_t visible to Python; almost possible to implement main.cc in main.py 2004-09-14 06:25:29 -04:00
John Wiegley
435b9ed779 added python support for Format() objects. see main.py 2004-09-10 19:52:51 -04:00
John Wiegley
e1d6c4bff2 interval_t objects now play nicely with python. see the bottom of main.py 2004-09-10 18:38:52 -04:00
John Wiegley
6261da4660 slight changed semantics of item_handler<T>, to play better with Boost.Python 2004-09-10 04:38:38 -04:00
John Wiegley
842359474e optimize python iterations of entries, transactions; use exceptions more 2004-09-08 03:33:56 -04:00
John Wiegley
fcaaa37201 switch from using deque back to list; affects speed by up to 30%! 2004-09-06 05:38:32 -04:00
John Wiegley
63367e3aac the amount/balance/value logic is now a library, completely separate from ledger 2004-08-29 23:32:29 -04:00
John Wiegley
032afa5657 a bit of a reorg; still much more to go 2004-08-29 03:23:55 -04:00
John Wiegley
b4304515ff ledger.so (the python module) now builds based on autoconf discovery 2004-08-28 04:26:48 -04:00
John Wiegley
16841fbae3 added (disabled) code for Boost.Python 2004-08-27 23:38:39 -04:00
John Wiegley
3c50b2fb7a read all binary data in at one go; gains 33% 2004-08-26 15:35:14 -04:00
John Wiegley
ac000a67c4 fixed two memory corruption bugs 2004-08-25 21:02:07 -04:00
John Wiegley
c6860970f2 removed all uses of std::vector; simplified some code 2004-08-24 20:01:51 -04:00
John Wiegley
5b0bfeac0c added validation code, to walk through a journal_t and make sure it's ok 2004-08-24 04:41:39 -04:00
John Wiegley
c3b1de42de fixed a few minor bugs 2004-08-24 02:59:22 -04:00
John Wiegley
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
73e2abd1b2 a little cleanup; reversed the meaning of -z and -p (to be more mnemonic) 2004-08-23 18:23:31 -04:00
John Wiegley
1091f0d07b slight cleanup 2004-08-23 02:11:58 -04:00
John Wiegley
6365b8b7a8 simplified some code 2004-08-22 18:34:18 -04:00
John Wiegley
5619a1d5be a little more reorganizing, but only fractionally faster. diminishing returns! 2004-08-22 02:13:41 -04:00
John Wiegley
06ac87ab20 support arbitrary precision after the decimal point; increase speed 0-10% 2004-08-21 01:43:50 -04:00
John Wiegley
19de076b4d updated gnucash support 2004-08-20 02:51:14 -04:00
John Wiegley
f19aeb6d44 fixes 2004-08-19 22:05:22 -04:00
John Wiegley
a9b207205f several fixes 2004-08-19 22:03:23 -04:00
John Wiegley
aba3d3037a added support for parsing QIF files 2004-08-19 17:55:33 -04:00
John Wiegley
bf923ab33e use std::auto_ptr wherever a thrown exception might otherwise leak memory 2004-08-19 03:28:48 -04:00
John Wiegley
f62a4906d1 fix to textual parsing, and a bit of reconstruction in main.cc 2004-08-19 02:30:56 -04:00
John Wiegley
e1086a3040 added --help docs, and fixed some problems with balance reproting 2004-08-18 05:26:59 -04:00
John Wiegley
8af33274fb more time interval support: last month, last feb, next year, etc. 2004-08-18 02:15:31 -04:00
John Wiegley
9d1bdd0989 added inclusion specifiers: -z june, -z 2004, -z "monthly in 2003", etc. 2004-08-18 01:20:01 -04:00
John Wiegley
fadab59e87 changes to value expressions, and to how the display predicate is computed 2004-08-17 18:19:25 -04:00
John Wiegley
de39574e89 fixed a memory corruption bug stemming from not using an input iterator 2004-08-17 16:46:24 -04:00
John Wiegley
bbcb49fed2 fixes 2004-08-17 16:41:07 -04:00
John Wiegley
b009998930 if NO_CLEANUP is defined in the Makefile (now default), no cleanup is done 2004-08-17 03:09:46 -04:00
John Wiegley
c0d7feac7f don't allocate config_t within config.cc 2004-08-17 02:43:09 -04:00
John Wiegley
3a44545540 more binary format changes 2004-08-16 22:18:07 -04:00
John Wiegley
7189b181ef further restructuring 2004-08-15 17:08:56 -04:00
John Wiegley
b10ff955a3 cleaned up binary data writing, and file handling 2004-08-15 02:39:13 -04:00
John Wiegley
24e8977b57 fixed -G report 2004-08-14 04:29:41 -04:00
John Wiegley
bb044f8820 fix to amount printing 2004-08-14 00:32:44 -04:00
John Wiegley
c6b82f8359 added timing debug code 2004-08-14 00:12:59 -04:00
John Wiegley
0279827768 added timing code 2004-08-13 18:23:34 -04:00
John Wiegley
6944e5950a more options fixes 2004-08-13 17:02:25 -04:00