Commit graph

26 commits

Author SHA1 Message Date
John Wiegley
e52a6a9bd8 More infrastructure work toward getting journal objects to provide their own
information in an abstract manner.
2008-08-02 16:32:16 -04:00
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
2aff35215f Enabled a huge number of warning flags for g++ in acprep, and fixed them all
except for several unused parameter warnings (because there is so much code
still #if 0'd out), and one implicit conversion from long long to long which
still has to be dealt with.
2008-07-30 05:12:46 -04:00
John Wiegley
9e9f25b566 'make check' is now working again. Also, conversion from amount_t to/from
double has been disabled, because I am no longer packaging the gdtoa library
with Ledger (because double conversion really has nothing to do with what
Ledger does).  If you wish to use it, you can find gdtoa in cpp-rewrite-2006,
under a sub-directory of the same name.
2008-07-27 01:03:41 -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
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
b45037e334 Migrated over both code and build environment from was-v3.0 branch. 2008-05-08 02:50:19 -04:00
John Wiegley
db0ef2e257 *** empty log message *** 2008-04-13 02:41:32 -04:00
John Wiegley
47e2a34176 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
e32d9e64a7 Added much better error location. 2008-04-13 02:41:29 -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
84259bde51 changed ledger.h to journal.h; moved adding of autoxact hook 2004-09-23 21:37:39 -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
1fd37a432d cleanup; fully switched to autoconf -- use scripts/acprep 2004-08-24 02:11:32 -04:00
John Wiegley
7dbd7bce59 more cleanup 2004-08-21 04:58:49 -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
7610aec86d added support for interval reporting; changed some option flags 2004-08-12 20:06:06 -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
1741c80fe4 rewrote the way registers are computed -- again 2004-08-04 03:12:26 -04:00
John Wiegley
94e76ae87e two major changes
Complete changed the way format strings are handled.  They are now
compiled first, which is far more efficient than what was being done
before.

Also, there is now a global ledger::commodity_t::commodities map,
which saves me from having to pass the current journal around to a
zillion different functions, for the sole purpose of making sure that
all commodity symbols that are parsed refer to the same commodity
object.
2004-07-30 21:57:02 -04:00
John Wiegley
5087a60dee added error checking to value expression parsing 2004-07-30 20:06:56 -04:00
John Wiegley
a2f805ef73 Exit if parsing errors are encountered 2004-07-29 01:56:53 -04:00
John Wiegley
c598550d50 call c_str() 2004-07-29 01:50:40 -04:00
John Wiegley
6215627935 n 2004-07-29 01:50:07 -04:00
John Wiegley
e2432a4000 added error.h 2004-07-29 01:49:31 -04:00