summaryrefslogtreecommitdiff
path: root/amount.cc
Commit message (Expand)AuthorAgeFilesLines
* 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
* updated to version 2.0John Wiegley2008-04-131-412/+1117
* changesJohn Wiegley2008-04-131-915/+417
* fixed several segfaults (using new option-scrambler test harness)John Wiegley2004-09-271-2/+4
* made several of the buffers used non-staticJohn Wiegley2004-09-261-6/+5
* fixed printing of amounts that have a null commodity (was always precision 0)John Wiegley2004-09-241-4/+14
* improved error checking in parser, in case parts of an amount are missingJohn Wiegley2004-09-241-8/+12
* fixed a rather obscure memory bug, which also simplified some codeJohn Wiegley2004-09-241-29/+8
* fixed several issues in value_t's coreJohn Wiegley2004-09-211-46/+3
* improvements to python exposure of commodity_tJohn Wiegley2004-09-111-5/+25
* change commodity->symbol to const, and added set_symbolJohn Wiegley2004-09-101-4/+2
* the amount/balance/value logic is now a library, completely separate from ledgerJohn Wiegley2004-08-291-82/+121
* redid the way amount_t::commodity is handled; no more direct accessJohn Wiegley2004-08-291-102/+65
* a bit of a reorg; still much more to goJohn Wiegley2004-08-291-1/+1
* ledger.so (the python module) now builds based on autoconf discoveryJohn Wiegley2004-08-281-3/+3
* added (disabled) code for Boost.PythonJohn Wiegley2004-08-271-2/+113
* read all binary data in at one go; gains 33%John Wiegley2004-08-261-2/+34
* don't placement new() amount_t in binary.cc when it isn't necessaryJohn Wiegley2004-08-261-6/+4
* added usual operatorJohn Wiegley2004-08-251-5/+6
* fixed two memory corruption bugsJohn Wiegley2004-08-251-31/+57
* added asserts to, and proof-read, amount.ccJohn Wiegley2004-08-251-210/+188
* Bulk alloc bigints in the binary reader; this gains another 20%John Wiegley2004-08-251-13/+24
* cleanup; fully switched to autoconf -- use scripts/acprepJohn Wiegley2004-08-241-36/+54
* a little cleanup; reversed the meaning of -z and -p (to be more mnemonic)John Wiegley2004-08-231-11/+8
* Removed dependency on libgmpxx.aJohn Wiegley2004-08-231-17/+7
* simplified some codeJohn Wiegley2004-08-221-6/+4
* a little more reorganizing, but only fractionally faster. diminishing returns!John Wiegley2004-08-221-5/+8
* use value_t instead of balance_pair_t; gains for 10% binary, 2% textualJohn Wiegley2004-08-211-35/+8