Commit graph

93 commits

Author SHA1 Message Date
John Wiegley
4518ea9540 Value expression architecture is now rewritten, but the functionality of the
old system (for example, the meaning of 'a') has yet to be restored.  In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
2008-07-29 05:59:38 -04:00
John Wiegley
4bc29e1351 A great deal of reorganization to restore the old parsing code (since the
newer XML stuff was pulled).
2008-07-22 02:23:45 -04:00
John Wiegley
d86a91d45b The new XPath parser has been integrated, although I have removed the
XML-related bits -- I just wanted the better infrastructure that had been
created during the rewrite.  It doesn't work, but it compiles and links now.
This means that all of the previous 3.0 code has been moved over, although
there are still snippets of code in pending/old that need to be restored.
2008-07-20 23:12:04 -04:00
John Wiegley
d159501993 The code is compiling again, but it's far from being able to run yet. 2008-05-08 02:50:19 -04:00
John Wiegley
7ecbf3e125 Added full copyright notice. 2008-05-08 02:50:19 -04:00
John Wiegley
04dfda2282 Made separate modules for the csv command, since the prior method was
not fully correct.
2008-04-13 02:41:33 -04:00
John Wiegley
a5aff9eee9 Several fixes to lot price handling. 2008-04-13 02:41:31 -04:00
John Wiegley
f691735c6c Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build
process by default (for the sake of speed).
2008-04-13 02:41:21 -04:00
John Wiegley
9618057215 Added an Emacs formatter, accessible with the new "emacs" command. 2008-04-13 02:40:56 -04:00
John Wiegley
193a801c03 Added preliminary support for OFX, using libofx. Needs much
real-world testing.
2008-04-13 02:40:55 -04:00
John Wiegley
9c60361e17 #include'd reconcile.h. 2008-04-13 02:40:54 -04:00
John Wiegley
c9fb11bd60 updated to version 2.0 2008-04-13 02:40:47 -04:00
John Wiegley
a32173ace6 changes 2008-04-13 02:40:47 -04:00
John Wiegley
3038b7cee8 finalizer fixes; removed use of timing.h from main.cc 2004-09-24 04:56:46 -04:00
John Wiegley
1416f3b978 a bit more refactoring 2004-09-23 21:54:11 -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
c57bfb72c3 moved entry hooking mechanism to journal_t; further improvements to "entry" 2004-09-23 21:08:42 -04:00
John Wiegley
d0ba09f1e0 greatly improved the flexibility of the "entry" command; no more bogus 1-liners 2004-09-23 20:06:00 -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
a2bbd7dc8f fixes to main.py 2004-09-17 19:33:10 -04:00
John Wiegley
79b664f6f0 changed the management of "xdata" in walk.h 2004-09-17 04:38:24 -04:00
John Wiegley
50a322adcf main.py (via ledger.so) and main.cc can now use the same shared library 2004-09-14 20:32:42 -04:00
John Wiegley
72d69d3ec9 Python fixes; starting adding support for using item_handlers in python 2004-09-08 21:21:21 -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
6febfc3b4c Bulk alloc bigints in the binary reader; this gains another 20% 2004-08-25 01:47:55 -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
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
b85a536be7 change to binary loading that increases speed by another 20% 2004-08-23 07:23:33 -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
47cb7891c8 changed RELEASE_LEVEL to DEBUG_LEVEL 2004-08-21 05:45:33 -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
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
fadab59e87 changes to value expressions, and to how the display predicate is computed 2004-08-17 18:19:25 -04:00
John Wiegley
bbcb49fed2 fixes 2004-08-17 16:41:07 -04:00
John Wiegley
aeb2fd0d39 misc cleanup 2004-08-17 03:39:51 -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
6944e5950a more options fixes 2004-08-13 17:02:25 -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
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
c6c0179545 got more reports working again 2004-08-07 21:03:25 -04:00