summaryrefslogtreecommitdiff
path: root/src/balance.h
Commit message (Collapse)AuthorAgeFilesLines
* Fixed sorting of equity outputJohn Wiegley2012-03-231-0/+8
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-3/+3
|
* Tighten up argument passing related to fn_market()John Wiegley2012-03-111-2/+2
|
* Removed value_t::price and balance_t::priceJohn Wiegley2012-03-071-2/+0
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Untabified all source filesJohn Wiegley2010-06-111-33/+33
|
* A further simplification of -V and -XJohn Wiegley2010-06-071-3/+2
| | | | | | | | With -X COMM, all values are computed in terms of COMM, regardless. With -V, only secondary commodities will ever be computed, never primaries. Further, if a secondary commodities has an associated price, the valuation is done in terms of that price's commodity.
* amount_t::print and value_t::print now use flagsJohn Wiegley2010-06-071-5/+4
|
* Optimized several "in_place" function in balance_tJohn Wiegley2010-05-231-16/+8
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* The Python web server now uses jQuery TablesorterJohn Wiegley2009-11-211-2/+2
|
* Added string conversion op for amounts and balancesJohn Wiegley2009-11-201-0/+9
|
* Added floored() and in_place_floor() methodsJohn Wiegley2009-11-111-0/+12
|
* Added basic foundation for XML reportingJohn Wiegley2009-11-091-0/+2
|
* Report sought magnitude when balancing errors occurJohn Wiegley2009-11-051-0/+7
|
* Whitespace fixJohn Wiegley2009-11-041-1/+1
|
* Corrected balance_t's arithmetic interfaceJohn Wiegley2009-11-021-5/+30
|
* Added serialization methods for most typeJohn Wiegley2009-10-301-0/+12
| | | | | This allows journal_t objects to be completed serialized to disk and deserialized.
* balance_t does not need to refer to const commoditiesJohn Wiegley2009-10-301-1/+1
|
* If doing math between amount and balance, simplifyJohn Wiegley2009-10-271-0/+3
|
* Restored --price option, added baseline testJohn Wiegley2009-06-261-0/+2
| | | | | | | This option reports only in terms of the annotated price of the commodities involved, otherwise it reports the amounts themselves. It can be used in conjunction with other reports, as it applies to the displayed amounts, not the actual amounts being calculated.
* Move amount colorization deeper into the coreJohn Wiegley2009-06-161-1/+2
| | | | | | | | This is necessary in order to redden negative amounts correctly under all circumstances, such as component amounts of a multi-commodity balance. Fixes 727B2DF8-A2A1-4716-9C15-547F20D5F933
* Temporarily stubbed out an inaccurate assertJohn Wiegley2009-06-151-1/+3
|
* Reduced the #include dependency tree to a minimumJohn Wiegley2009-03-041-16/+4
|
* 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.