summaryrefslogtreecommitdiff
path: root/src/amount.cc
Commit message (Expand)AuthorAgeFilesLines
...
* Corrected a potential invalid memory accessJohn Wiegley2009-02-281-4/+7
* Fix to amount unreduction (aka, 120m -> 2h)John Wiegley2009-02-271-3/+4
* Be smarter about trimming off trailing zeroesJohn Wiegley2009-02-271-6/+7
* Don't propagate display flags from cost amountsJohn Wiegley2009-02-271-4/+4
* Gave round/unround/truncate all in_place_ variantsJohn Wiegley2009-02-271-14/+8
* Refinements to amount_t validation codeJohn Wiegley2009-02-271-8/+13
* Allow uncommoditized amounts to +/- with an amountJohn Wiegley2009-02-251-6/+10
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-48/+46
* Propagate commodity flags in costs sometimesJohn Wiegley2009-02-241-5/+3
* Be smarter about printing uncommoditized amountsJohn Wiegley2009-02-241-4/+23
* Fixes to the way annotated prices are displayedJohn Wiegley2009-02-241-12/+6
* Made commodity reduction during parsing consistentJohn Wiegley2009-02-241-5/+15
* Many fixes to --market and --exchangeJohn Wiegley2009-02-221-5/+18
* Added --exchange (-x) optionJohn Wiegley2009-02-221-5/+11
* Moved amount_t::right_justify to simply ::justifyJohn Wiegley2009-02-191-14/+0
* Fixed several unused value and param warningsJohn Wiegley2009-02-161-1/+0
* Properly handle UTF-8 characters in commodity strings.John Wiegley2009-02-121-0/+15
* Rewrote the "entry" command. It's ALIVE!John Wiegley2009-02-111-2/+2
* amount_t::in_place_* now returns void. Added value_t::unreduce.John Wiegley2009-02-071-6/+3
* Fixed some #include ordering issues.John Wiegley2009-02-071-0/+10
* Only initialize the amount_t module if it hasn't been already.John Wiegley2009-02-061-9/+16
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-52/+25
* Removed unneeded member variables.John Wiegley2009-02-041-8/+2
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-220/+0
* Values can now be streamed to XML, and all the types they refer to.John Wiegley2009-02-011-5/+7
* Corrected the way that thousands markers are output.John Wiegley2009-01-311-6/+10
* amount_t::is_zero() wasn't checking for '-'.John Wiegley2009-01-311-1/+1
* Made amount_t::is_zero() slightly more efficient.John Wiegley2009-01-311-1/+12
* Added a more efficient amount_t::operator==, which changed semantics slightly.John Wiegley2009-01-311-0/+12
* Removed the special "one" variable, and added amount_t::inverted().John Wiegley2009-01-311-6/+12
* Rationals based math is now passing the unit tests.John Wiegley2009-01-311-526/+58
* Several corrections to the way rationals are handled.John Wiegley2009-01-311-89/+107
* Changed to using rational numbers instead of integer approximations.John Wiegley2009-01-301-109/+378
* Removed all dependency on gdtoa.John Wiegley2009-01-301-12/+0
* Updated comments and other whitespace changes.John Wiegley2009-01-301-27/+13
* Stopped using the generic "unsigned int" in favor of more specific types.John Wiegley2009-01-291-1/+1
* Update Doxygen documentation. Still much more work to be done.John Wiegley2009-01-291-1/+1
* Revised the way that parsing flags get passed around.John Wiegley2009-01-291-9/+9
* amount_t and commodity_t objects can now stream themselves to XML.John Wiegley2009-01-281-0/+16
* Moved sha1 and gdtoa inclusions into system.hh.John Wiegley2009-01-241-3/+0
* Include gdtoa.h if it's being used.John Wiegley2009-01-231-0/+3
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
* Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.John Wiegley2009-01-191-2/+2
* Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flagJohn Wiegley2009-01-191-1/+1
* Added argument to amount_t::value() for request a market value in terms of aJohn Wiegley2009-01-191-3/+3
* Create an unrounded global amount variable 'one' for creating inverse priceJohn Wiegley2009-01-191-3/+9
* Added a missing call to _dup() in amount_t::in_place_round. Thanks to unitJohn Wiegley2008-11-231-0/+1
* Abstracted precision extension constant, and added a note that precision mustJohn Wiegley2008-11-231-8/+17
* Did more restructing of commodity price histories, although the completedJohn Wiegley2008-09-211-1/+1
* Created several alternate 'value' methods to support the upcoming commodityJohn Wiegley2008-09-211-1/+2