summaryrefslogtreecommitdiff
path: root/src/balance.h
Commit message (Collapse)AuthorAgeFilesLines
* balance_t is no longer a superclassJohn Wiegley2009-02-271-10/+9
|
* Gave round/unround/truncate all in_place_ variantsJohn Wiegley2009-02-271-3/+18
|
* Added a truncated() method for amounts and valuesJohn Wiegley2009-02-261-0/+7
| | | | | When an amount is truncated, it drops all of the extra precision and becomes exactly the value would have seen were it printed.
* Marked all strings needing internationalizationJohn Wiegley2009-02-251-5/+5
| | | | | | | | | | | | | | | | These strings are now collected automagically in the file po/ledger.pot. If you'd like to produce a translation, just run this command after building Ledger: msginit -l LOCALE -o LANG.po -i po/ledger.pot Where LOCALE is a string like de or en_GB, and LANG is a short descriptive word for your language. Then send me this .po file so I can commit it to the Ledger sources (alternatively, you could maintain the file in a fork on GitHub), and setup the build script to format and install your new message catalog during a "make install".
* Added --exchange (-x) optionJohn Wiegley2009-02-221-2/+4
| | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD
* Fixed the way values are justified for printingJohn Wiegley2009-02-221-2/+4
|
* Made (un)reduce rvalue methods more consistentJohn Wiegley2009-02-121-4/+4
| | | | | | They names were changed from reduce/unreduce to reduced/unreduced, since they return the modified value. This is more consistent with the naming of rounded/rounded.
* Fixed some #include ordering issues.John Wiegley2009-02-071-1/+1
|
* Largely removed all of Ledger's use of global variables, for the REPL's sake.John Wiegley2009-02-041-4/+1
|
* Removed the binary caching code, and the XML, QIF and Gnucash parsers.John Wiegley2009-02-031-9/+0
|
* Values can now be streamed to XML, and all the types they refer to.John Wiegley2009-02-011-0/+9
|
* Rationals based math is now passing the unit tests.John Wiegley2009-01-311-25/+4
|
* Changed to using rational numbers instead of integer approximations.John Wiegley2009-01-301-0/+4
| | | | | As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added.
* Removed all dependency on gdtoa.John Wiegley2009-01-301-6/+0
|
* Update Doxygen documentation. Still much more work to be done.John Wiegley2009-01-291-4/+3
|
* Increased copyright range to include 2009.John Wiegley2009-01-201-1/+1
|
* Fixed the market valuation function for balances.John Wiegley2009-01-191-1/+2
|
* Added in_place_round method to all Ledger numerical types.John Wiegley2008-09-141-0/+12
|
* Removed more "pending" type comments.John Wiegley2008-08-171-4/+0
|
* Updated the Doxygen docs so that all the core numerics files are in the sameJohn Wiegley2008-08-051-0/+6
| | | | module group.
* Moved around most of the files so that source code is in src/, documentationJohn Wiegley2008-08-051-0/+526
is in doc/, etc.