John Wiegley
0eb597a681
Restructured the code to use the new utility code in utils.h.
2008-04-13 03:38:31 -04:00
John Wiegley
9039e728b2
All system headers (except Boost) now included through system.hh;
...
also, added support for pre-compiled headers since I'm now using a
centralized resource for system headers.
2008-04-13 03:38:31 -04:00
John Wiegley
b84f676946
Did some optimization and memory cleanup
2008-04-13 03:38:28 -04:00
John Wiegley
539370ff1b
More refactoring
2008-04-13 03:38:28 -04:00
John Wiegley
0a6b5726ec
Made the amount/balance/value interface a bit more rational; added
...
back a useless version of the register command (just to prove the
command sequence); and added smart XML semantics to the XPath
implementation so that nodes can be coerced to values.
2008-04-13 03:38:28 -04:00
John Wiegley
ba2a54f3d2
Initial round of changes to use boost_date_time
2008-04-13 03:35:37 -04:00
John Wiegley
a087e6ea97
Cleared out all warnings; started work on getting Python up again.
2008-04-13 03:35:32 -04:00
John Wiegley
0e02961b00
Cleaned up warnings revealed by building with Xcode.
2008-04-13 03:35:32 -04:00
John Wiegley
e65c62d5a4
Removed all uses of PCH (which was far more trouble than it was worth).
2008-04-13 03:35:31 -04:00
John Wiegley
42f43b7686
Check in all changes made so far toward 3.0.
2008-04-13 03:35:00 -04:00
John Wiegley
f261d82df5
*** empty log message ***
2008-04-13 02:41:33 -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
b1a04923fe
*** empty log message ***
2008-04-13 02:41:30 -04:00
John Wiegley
4a96c8d7d8
*** empty log message ***
2008-04-13 02:41:30 -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
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
0c55a5ee1b
(read_binary_journal): Fixed a tiny memory leak when reading from a
...
binary cache.
2008-04-13 02:41:28 -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
a8012940f4
Removed Python integration support.
2008-04-13 02:41:21 -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
66bc51db6d
added pysample.dat, which provides a more realistic example of using Python
2004-09-25 03:30:23 -04:00
John Wiegley
528019ce25
added support for "equity" in main.py
2004-09-24 07:00:52 -04:00
John Wiegley
9f8a32ab48
fixed several issues in value_t's core
2004-09-21 03:41:40 -04:00
John Wiegley
bd72c0cf90
added more math operators for value_t types
2004-09-14 05:05:56 -04:00
John Wiegley
a013b520ba
python integrated both ways (see sample.dat), and initialized on-demand
2004-09-14 04:47:41 -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
a4c5380a7f
some fixes to value_t in python; still more work to go
2004-09-07 20:03:01 -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
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
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
ba0a928883
moved code from value.h into value.cc
2004-08-21 05:54:04 -04:00