summaryrefslogtreecommitdiff
path: root/value.h
Commit message (Collapse)AuthorAgeFilesLines
* Journal data structures now use date_t instead of datetime_t.John Wiegley2008-08-011-2/+28
| | | | | | | | 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.
* Revised the way that exceptions are thrown around. Instead of context being aJohn Wiegley2008-07-311-12/+10
| | | | | | | 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-55/+72
|
* A new binary_cache_t object has been creating to manage saving and restoring aJohn Wiegley2008-07-311-0/+9
| | | | | 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-32/+32
| | | | | | 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.
* Cleaned up the value expression code a bit before undertaking the real work ofJohn Wiegley2008-07-271-2/+3
| | | | 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
|
* 'make check' is now working again. Also, conversion from amount_t to/fromJohn Wiegley2008-07-271-1/+8
| | | | | | | 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.
* --verify works again, but the memory totals at the end still need work.John Wiegley2008-07-261-1/+1
|
* Parsing now works again. And there was much rejoicing.John Wiegley2008-07-241-0/+1
|
* More work toward getting the textual parser working again. Since this meansJohn Wiegley2008-07-241-25/+46
| | | | 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-6/+2
|
* Added the var_t helper class, which can be seen in the beginningJohn Wiegley2008-07-211-2/+2
| | | | implementation of register_command in main.cc.
* The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-10/+23
|
* Migrated over both code and build environment from was-v3.0 branch.John Wiegley2008-05-081-348/+737
|
* *** empty log message ***John Wiegley2008-04-131-1/+1
|
* Reworked the way date/times are handled.John Wiegley2008-04-131-1/+1
|
* Several fixes to lot price handling.John Wiegley2008-04-131-0/+8
|
* *** empty log message ***John Wiegley2008-04-131-0/+19
|
* Added much better error location.John Wiegley2008-04-131-11/+1
|
* Added a DATETIME value type.John Wiegley2008-04-131-39/+33
|
* *** empty log message ***John Wiegley2008-04-131-31/+65
|
* Began support for improved commodity handling.John Wiegley2008-04-131-4/+5
|
* Further improvements to lot pricing.John Wiegley2008-04-131-3/+5
|
* Checked in all major updates.John Wiegley2008-04-131-1/+2
|
* updated to version 2.0John Wiegley2008-04-131-0/+395
|
* changesJohn Wiegley2008-04-131-383/+0
|
* added support for "equity" in main.pyJohn Wiegley2004-09-241-2/+10
|
* fixed several issues in value_t's coreJohn Wiegley2004-09-211-4/+43
|
* added more math operators for value_t typesJohn Wiegley2004-09-141-0/+17
|
* made value_t into a more complete type. amounts.py now works.John Wiegley2004-09-081-0/+118
|
* some fixes to value_t in python; still more work to goJohn Wiegley2004-09-071-0/+21
|
* changed constructors to downgrade BALANCE and BALANCE_PAIR types when possibleJohn Wiegley2004-09-061-2/+3
|
* the amount/balance/value logic is now a library, completely separate from ledgerJohn Wiegley2004-08-291-19/+18
|
* fixed another memory strangeness (too much destruction)John Wiegley2004-08-261-25/+44
|
* slight cleanupJohn Wiegley2004-08-231-2/+1
|
* use value_t instead of balance_pair_t; gains for 10% binary, 2% textualJohn Wiegley2004-08-211-3/+32
|
* fixes so that ledger will build optimizedJohn Wiegley2004-08-211-0/+1
|
* moved code from value.h into value.ccJohn Wiegley2004-08-211-887/+34
|
* tracked down a tricky memory leak in value.hJohn Wiegley2004-08-211-26/+16
|
* speed improvements; my "bal" script is cut to a thirdJohn Wiegley2004-08-171-0/+995