Commit graph

22 commits

Author SHA1 Message Date
John Wiegley
99313ebc6c Revised the way that exceptions are thrown around. Instead of context being a
complicated string of pointers, it's now just a global block of text that gets
appended to as the error is being thrown up, and can be displayed at the catch
point if desired.  There are almost no cases where a thrown exception will not
result in an error message being displayed to the user.
2008-07-31 06:24:45 -04:00
John Wiegley
ea27d1b45a Moved around and renamed a very large amount of code in order to rationalize
the way that value expressions extract information from journal objects.
2008-07-29 20:10:03 -04:00
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
162d982b0c The --verify option is now working properly again. Use "--verify --verbose"
if you wish to see memory usage statistics along with a top-level trace.
2008-07-26 05:06:06 -04:00
John Wiegley
961b30926b --verify works again, but the memory totals at the end still need work. 2008-07-26 04:08:55 -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
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
47e2a34176 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
4aea9709bb Made several changes to the parsing infrastructure to allow passing
the "config_t" object around.  This is needed for parsing option
settings in the initialization file.
2008-04-13 02:41:23 -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
a1c6758265 (test): Added a test for the presence of <?xml... in the input stream;
if it is there, report an error based on whether XML support was
actually compiled in or not.
2008-04-13 02:41:07 -04:00
John Wiegley
3b112af362 Added new "output" command. Likely not to be documented, as these are
intended primarily for future GUI development.
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
c57bfb72c3 moved entry hooking mechanism to journal_t; further improvements to "entry" 2004-09-23 21:08:42 -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
f19aeb6d44 fixes 2004-08-19 22:05:22 -04:00
John Wiegley
7e87a0a0b1 added back sorting support 2004-08-05 19:12:23 -04:00
John Wiegley
1741c80fe4 rewrote the way registers are computed -- again 2004-08-04 03:12:26 -04:00
John Wiegley
f570e6644f brought back the "print" and "equity" reports; this time much better! 2004-07-31 07:42:34 -04:00
John Wiegley
a2f805ef73 Exit if parsing errors are encountered 2004-07-29 01:56:53 -04:00
John Wiegley
161d6f79bd initial rev of 2.0 2004-07-26 23:33:51 -04:00