summaryrefslogtreecommitdiff
path: root/amount.cc
Commit message (Expand)AuthorAgeFilesLines
* Re-enabled almost all of the code in main.cc.John Wiegley2008-07-201-0/+1
* Some basic fixes to get things almost running, although we still can't parseJohn Wiegley2008-07-191-0/+4
* Merged in bug fixes from master (done for 2.6.1b)John Wiegley2008-07-191-1/+1
|\
| * If AMOUNT_PARSE_NO_MIGRATE is set, do not set a commodity's precision even ifJohn Wiegley2008-07-171-4/+3
| * Removed unnecessary assert.John Wiegley2008-07-171-1/+0
| * Added #include lines for building on Debian lenny.John Wiegley2008-07-131-1/+0
| * Fix compile errors with gcc 4.3Nathan Jones2008-05-201-0/+1
* | The code is compiling again, but it's far from being able to run yet.John Wiegley2008-05-081-1/+11
* | Migrated over both code and build environment from was-v3.0 branch.John Wiegley2008-05-081-1535/+920
|/
* Fixes to the commodity comparison logic.John Wiegley2008-04-131-6/+8
* *** empty log message ***John Wiegley2008-04-131-1/+1
* Reworked the way date/times are handled.John Wiegley2008-04-131-25/+26
* Several fixes to lot price handling.John Wiegley2008-04-131-4/+9
* Further refinement of commodity lot information.John Wiegley2008-04-131-7/+71
* *** empty log message ***John Wiegley2008-04-131-0/+34
* *** empty log message ***John Wiegley2008-04-131-33/+44
* Tons of corrections and fixes to value expressions and lot figures.John Wiegley2008-04-131-4/+38
* *** empty log message ***John Wiegley2008-04-131-5/+24
* *** empty log message ***John Wiegley2008-04-131-0/+23
* *** empty log message ***John Wiegley2008-04-131-158/+109
* *** empty log message ***John Wiegley2008-04-131-1/+2
* Added --ansi and --ansi-invert options.John Wiegley2008-04-131-6/+6
* Added much better error location.John Wiegley2008-04-131-19/+30
* Added a DATETIME value type.John Wiegley2008-04-131-26/+32
* *** empty log message ***John Wiegley2008-04-131-16/+23
* *** empty log message ***John Wiegley2008-04-131-2/+6
* *** empty log message ***John Wiegley2008-04-131-97/+166
* Began support for improved commodity handling.John Wiegley2008-04-131-16/+45
* Began support for improved commodity handling.John Wiegley2008-04-131-158/+432
* (read_binary_journal): Fixed a tiny memory leak when reading from aJohn Wiegley2008-04-131-0/+177
* Checked in all major updates.John Wiegley2008-04-131-73/+115
* (amount_t::valid): Don't verify the commodity as being non-null, sinceJohn Wiegley2008-04-131-10/+14
* Removed Python integration support.John Wiegley2008-04-131-165/+0
* *** empty log message ***John Wiegley2008-04-131-2/+2
* Moved the setting of time quantities to the commodity initializationJohn Wiegley2008-04-131-0/+20
* (amount_t::value): Corrected a problem with commodity rounding afterJohn Wiegley2008-04-131-8/+23
* (find_commodity): Don't copy over the NOMARKET flag from the defaultJohn Wiegley2008-04-131-1/+2
* (parse): Allow "-$100.00" as the equivalent of "$-100.00".John Wiegley2008-04-131-2/+12
* (amount_t::parse): Only set the SUFFIXED flag if there is actually aJohn Wiegley2008-04-131-1/+2
* (parse_conversion): When defining a commodity conversion, always markJohn Wiegley2008-04-131-1/+2
* (value): Use `std::map<>::lower_bound' to search for the nearest priceJohn Wiegley2008-04-131-6/+11
* *** empty log message ***John Wiegley2008-04-131-4/+4
* (parse): A fix to the way commodity flags are applied to newly parsedJohn Wiegley2008-04-131-7/+26
* Changes to support building with gcc 2.95.John Wiegley2008-04-131-0/+11
* (AMOUNT_CMP_AMOUNT): Fixed a very serious error in basic amount math,John Wiegley2008-04-131-1/+1
* Added preliminary support for OFX, using libofx. Needs muchJohn Wiegley2008-04-131-3/+3
* (operator/): Added a more complete divide-by-zero check.John Wiegley2008-04-131-1/+1
* Added commodity_t::default_commodity. Initialize the same.John Wiegley2008-04-131-2/+4
* *** empty log message ***John Wiegley2008-04-131-12/+10
* updated to 2.02John Wiegley2008-04-131-0/+3