John Wiegley
e5048ec71b
Change many uses of for+iterator to use Boost.Foreach.
2008-07-31 17:48:29 -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
ebfe2d1011
Updated all copyright messages to 2003-2008.
2008-07-27 02:26:35 -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
171f79dda2
There are no more asserts or exceptions while parsing, but still there are
...
many balancing errors.
2008-07-24 09:13:03 -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
5a93d4819e
Reworked the way date/times are handled.
2008-04-13 02:41:32 -04:00
John Wiegley
a5aff9eee9
Several fixes to lot price handling.
2008-04-13 02:41:31 -04:00
John Wiegley
32bdfe20d9
Tons of corrections and fixes to value expressions and lot figures.
2008-04-13 02:41:31 -04:00
John Wiegley
b1a04923fe
*** empty log message ***
2008-04-13 02:41:30 -04:00
John Wiegley
e32d9e64a7
Added much better error location.
2008-04-13 02:41:29 -04:00
John Wiegley
b737cd8e6d
Added a DATETIME value type.
2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9
*** empty log message ***
2008-04-13 02:41:29 -04:00
John Wiegley
2ebfddf401
Began support for improved commodity handling.
2008-04-13 02:41:28 -04:00
John Wiegley
96d6d62ad9
Began support for improved commodity handling.
2008-04-13 02:41:28 -04:00
John Wiegley
2930b89ea3
*** empty log message ***
2008-04-13 02:41:27 -04:00
John Wiegley
73b9d060c0
*** empty log message ***
2008-04-13 02:41:27 -04:00
John Wiegley
a2423f99db
*** empty log message ***
2008-04-13 02:41:27 -04:00
John Wiegley
a597b0fb5e
Further improvements to lot pricing.
2008-04-13 02:41:27 -04:00
John Wiegley
7901598f1d
Checked in all major updates.
2008-04-13 02:41:27 -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
2eb2b1428b
fixed another value_t comparison issue
2004-09-25 06:02:31 -04:00
John Wiegley
9f8a32ab48
fixed several issues in value_t's core
2004-09-21 03:41:40 -04:00
John Wiegley
3d4259e6d0
balances and values can now be iterated, to get at the component amounts
2004-09-08 04:13:02 -04:00
John Wiegley
6cfdd704a9
made value_t into a more complete type. amounts.py now works.
2004-09-08 01:54:28 -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
2d62f7b633
redid the way amount_t::commodity is handled; no more direct access
2004-08-29 04:31:59 -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
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
55d58940ce
speed improvements; my "bal" script is cut to a third
2004-08-17 22:18:38 -04:00
John Wiegley
42298cefd5
optimized printing of amounts
2004-08-14 00:29:52 -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
2dc822291f
fixed < bug
2004-08-09 16:30:00 -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
161d6f79bd
initial rev of 2.0
2004-07-26 23:33:51 -04:00