summaryrefslogtreecommitdiff
path: root/value.cc
Commit message (Collapse)AuthorAgeFilesLines
* Journal data structures now use date_t instead of datetime_t.John Wiegley2008-08-011-1/+91
| | | | | | | | This means transactions can only have day-level granularity -- which has always been the case from an data file point of view. The advantage to this restriction is that reports will now be immune from daylight savings related bugs, where a transaction falls to the wrong side of a --monthly report, for example.
* Change many uses of for+iterator to use Boost.Foreach.John Wiegley2008-07-311-4/+2
|
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-311-12/+1
| | | | | | | 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.
* Cleaned up some method names and documentation relating to values.John Wiegley2008-07-311-30/+37
|
* A new binary_cache_t object has been creating to manage saving and restoring aJohn Wiegley2008-07-311-0/+56
| | | | | Ledger session from a cache file. It doesn't work at all yet, though at least the major structures are in place now.
* Enabled a huge number of warning flags for g++ in acprep, and fixed them allJohn Wiegley2008-07-301-12/+15
| | | | | | 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.
* The register report has begun printing real data, although not all the piecesJohn Wiegley2008-07-291-6/+4
| | | | are in place yet and the formatting is still off.
* The next value expression scheme is working, but the individual accessorJohn Wiegley2008-07-291-1/+0
| | | | functions for each of the journal objects has yet to be ported.
* Cleaned up the value expression code a bit before undertaking the real work ofJohn Wiegley2008-07-271-33/+64
| | | | getting everything back up to what it was (plus the new code written for 3.0).
* Updated all copyright messages to 2003-2008.John Wiegley2008-07-271-1/+1
|
* Parsing now works again. And there was much rejoicing.John Wiegley2008-07-241-18/+55
|
* There are no more asserts or exceptions while parsing, but still there areJohn Wiegley2008-07-241-5/+23
| | | | many balancing errors.
* More work toward getting the textual parser working again. Since this meansJohn Wiegley2008-07-241-17/+32
| | | | that value expressions must work, there are a lot of details involved.
* Fixed a memory bug due to a shallow copy in value_t::storage_t.John Wiegley2008-07-221-21/+40
|
* Added the var_t helper class, which can be seen in the beginningJohn Wiegley2008-07-211-5/+17
| | | | implementation of register_command in main.cc.
* Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-0/+1
|\
| * Changes to allow DATETIME values to be negated, for the purposes of reverseJohn Wiegley2008-07-171-1/+3
| | | | | | | | sorting.
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-8/+71
| |
* | Migrated over both code and build environment from was-v3.0 branch.John Wiegley2008-05-081-1201/+941
|/
* Added missing casts to amount_t.John Wiegley2008-04-131-2/+2
|
* *** empty log message ***John Wiegley2008-04-131-7/+7
|
* Reworked the way date/times are handled.John Wiegley2008-04-131-6/+6
|
* Several fixes to lot price handling.John Wiegley2008-04-131-0/+19
|
* *** empty log message ***John Wiegley2008-04-131-3/+1
|
* *** empty log message ***John Wiegley2008-04-131-6/+4
|
* *** empty log message ***John Wiegley2008-04-131-0/+49
|
* Added much better error location.John Wiegley2008-04-131-65/+114
|
* Added a DATETIME value type.John Wiegley2008-04-131-92/+268
|
* *** empty log message ***John Wiegley2008-04-131-242/+535
|
* Began support for improved commodity handling.John Wiegley2008-04-131-13/+38
|
* (read_binary_journal): Fixed a tiny memory leak when reading from aJohn Wiegley2008-04-131-0/+271
| | | | binary cache.
* *** empty log message ***John Wiegley2008-04-131-2/+1
|
* Further improvements to lot pricing.John Wiegley2008-04-131-27/+20
|
* Checked in all major updates.John Wiegley2008-04-131-0/+32
|
* Removed Python integration support.John Wiegley2008-04-131-270/+0
|
* updated to version 2.0John Wiegley2008-04-131-0/+1062
|
* changesJohn Wiegley2008-04-131-787/+0
|
* fixed another value_t comparison issueJohn Wiegley2004-09-251-6/+6
|
* added pysample.dat, which provides a more realistic example of using PythonJohn Wiegley2004-09-251-0/+1
|
* added support for "equity" in main.pyJohn Wiegley2004-09-241-0/+2
|
* fixed several issues in value_t's coreJohn Wiegley2004-09-211-43/+88
|
* added more math operators for value_t typesJohn Wiegley2004-09-141-0/+20
|
* python integrated both ways (see sample.dat), and initialized on-demandJohn Wiegley2004-09-141-0/+24
|
* balances and values can now be iterated, to get at the component amountsJohn Wiegley2004-09-081-0/+59
|
* made value_t into a more complete type. amounts.py now works.John Wiegley2004-09-081-3/+50
|
* some fixes to value_t in python; still more work to goJohn Wiegley2004-09-071-0/+2
|
* the amount/balance/value logic is now a library, completely separate from ledgerJohn Wiegley2004-08-291-45/+34
|
* redid the way amount_t::commodity is handled; no more direct accessJohn Wiegley2004-08-291-25/+27
|
* added (disabled) code for Boost.PythonJohn Wiegley2004-08-271-0/+15
|
* fixed another memory strangeness (too much destruction)John Wiegley2004-08-261-0/+1
|