Commit graph

52 commits

Author SHA1 Message Date
John Wiegley
b1aa1344ae sorting optimization 2004-09-25 06:50:18 -04:00
John Wiegley
528019ce25 added support for "equity" in main.py 2004-09-24 07:00:52 -04:00
John Wiegley
d110df6741 added a custom transaction formatter, format_entries, used by "print" 2004-09-24 06:29:01 -04:00
John Wiegley
84259bde51 changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -04:00
John Wiegley
8a7cee24c8 fixed a bug with interval reporting 2004-09-23 19:17:21 -04:00
John Wiegley
c57a2e74b8 shored up error checking of value expressions 2004-09-23 06:34:27 -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
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
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
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
5f30c790db fixed another memory strangeness (too much destruction) 2004-08-26 02:01:29 -04:00
John Wiegley
69bd31b4d0 added usual operator 2004-08-25 21:51:11 -04:00
John Wiegley
ac000a67c4 fixed two memory corruption bugs 2004-08-25 21:02:07 -04:00
John Wiegley
1091f0d07b slight cleanup 2004-08-23 02:11:58 -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
6d5333b896 use value_t instead of balance_pair_t; gains for 10% binary, 2% textual 2004-08-21 23:18:45 -04:00
John Wiegley
000bfe1cec only compute the cost when it differs from the amount 2004-08-21 15:55:03 -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
8af33274fb more time interval support: last month, last feb, next year, etc. 2004-08-18 02:15:31 -04:00
John Wiegley
e98144ee28 further performance tweaks 2004-08-17 22:30: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
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
7189b181ef further restructuring 2004-08-15 17:08:56 -04:00
John Wiegley
0c8dff61ed fixed problem with writing binary amounts 2004-08-13 17:29:46 -04:00
John Wiegley
a4f5abe860 Added a days-of-the-week report, under -w 2004-08-12 23:21:57 -04:00
John Wiegley
7610aec86d added support for interval reporting; changed some option flags 2004-08-12 20:06:06 -04:00
John Wiegley
0cf1d8fe69 more reorg 2004-08-11 23:16:00 -04:00
John Wiegley
69c587681a more reorg 2004-08-11 23:03:54 -04:00
John Wiegley
a77c20a772 many more formatting changes 2004-08-11 22:54:42 -04:00
John Wiegley
33b6cfa801 more fixes 2004-08-11 03:39:58 -04:00
John Wiegley
cd8f61fb2d more cleanup 2004-08-11 03:23:19 -04:00
John Wiegley
3edf298633 added several kinds of transaction filters 2004-08-11 01:37:12 -04:00
John Wiegley
c5a137d9e9 changed the way changed_value_filter is called 2004-08-10 18:36:30 -04:00
John Wiegley
a2efee0a8e use polymorphism, instead of templates, for walking items 2004-08-10 18:19:36 -04:00
John Wiegley
7a1d0d4614 new debug code; automated transactions now use value expression predicates 2004-08-10 17:54:47 -04:00
John Wiegley
799e97e420 more bug fixes 2004-08-09 17:49:06 -04:00
John Wiegley
05b2cc46fd fixed account display bug 2004-08-09 17:32:20 -04:00
John Wiegley
59c0692233 moved display only flags to dflags in both transactions and accounts 2004-08-07 23:20:10 -04:00
John Wiegley
38e9c6c76c print is working again 2004-08-07 21:46:05 -04:00
John Wiegley
c6c0179545 got more reports working again 2004-08-07 21:03:25 -04:00
John Wiegley
5db1e1165b improvements to transaction formatting 2004-08-06 21:38:27 -04:00
John Wiegley
c0205f0204 -s bal is functional again 2004-08-06 00:06:40 -04:00
John Wiegley
6048ae7c05 fixed cache by clear transaction flags before writing 2004-08-05 23:51:20 -04:00
John Wiegley
ef2e0beb64 fixed the "-o bal rent" report again 2004-08-05 22:49:18 -04:00
John Wiegley
50f75e0a5c added support for account sorting 2004-08-05 21:47:53 -04:00