Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -190/+190 |
| | |||||
* | New display flag AMOUNT_PRINT_ELIDE_COMMODITY_QUOTES | John Wiegley | 2010-06-09 | 1 | -2/+2 |
| | | | | | | | | This is used by reports like register and balance so that separated commodities without spaces in them needed be surrounded by quotes. It will still occur in most other places. Fixes #200 / F82CF11F-BFD9-4512-A562-202B04B68051 | ||||
* | A further simplification of -V and -X | John Wiegley | 2010-06-07 | 1 | -25/+28 |
| | | | | | | | | 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. | ||||
* | Fixed the way prices and costs are print'd | John Wiegley | 2010-06-07 | 1 | -2/+2 |
| | |||||
* | amount_t::print and value_t::print now use flags | John Wiegley | 2010-06-07 | 1 | -1/+1 |
| | |||||
* | Allow opt -NDEBUG build to complete without warnings | John Wiegley | 2010-06-04 | 1 | -0/+4 |
| | |||||
* | Removed a redundant check | John Wiegley | 2010-06-03 | 1 | -2/+1 |
| | |||||
* | Short-circuit annotated commodity valuation | John Wiegley | 2010-06-03 | 1 | -1/+3 |
| | |||||
* | Minor optimization of amount_t::operator* | John Wiegley | 2010-06-03 | 1 | -10/+18 |
| | |||||
* | Removed some debug code | John Wiegley | 2010-06-03 | 1 | -4/+0 |
| | |||||
* | Correct display of amounts with keep_precision | John Wiegley | 2010-06-02 | 1 | -13/+39 |
| | | | | Fixes #167 / 1D275740-D1A6-42B7-BDE4-F2F85E30CE8E | ||||
* | Throw an exception if mpfr_asprintf fails | John Wiegley | 2010-06-02 | 1 | -1/+4 |
| | |||||
* | Changed --european option to --decimal-comma | John Wiegley | 2010-06-01 | 1 | -19/+20 |
| | | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC | ||||
* | Optimized amount_t::in_place_truncate | John Wiegley | 2010-05-26 | 1 | -0/+38 |
| | |||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -23/+31 |
| | |||||
* | Made the amount_t::bigint_t refcount holder 32-bits | John Wiegley | 2009-11-14 | 1 | -6/+2 |
| | | | | It was overflowing on a full register report of just 3M of data. | ||||
* | Added floored() and in_place_floor() methods | John Wiegley | 2009-11-11 | 1 | -93/+106 |
| | |||||
* | Added a few missing explicit instantiations | John Wiegley | 2009-11-10 | 1 | -2/+9 |
| | |||||
* | Improved the numerical parser for basic amounts | John Wiegley | 2009-11-10 | 1 | -51/+105 |
| | | | | | 1,00,000 now causes an error, for example, whereas before the commas were largely ignored. | ||||
* | XML reporting now works via the "xml" command | John Wiegley | 2009-11-09 | 1 | -4/+4 |
| | |||||
* | Added basic foundation for XML reporting | John Wiegley | 2009-11-09 | 1 | -0/+13 |
| | |||||
* | Made --european more pervasive in its effect | John Wiegley | 2009-11-08 | 1 | -4/+8 |
| | |||||
* | Added Python interface for commodity_t | John Wiegley | 2009-11-02 | 1 | -2/+2 |
| | |||||
* | Use is_annotated() method rather than "annotated" | John Wiegley | 2009-11-02 | 1 | -3/+3 |
| | |||||
* | Added serialization methods for most type | John Wiegley | 2009-10-30 | 1 | -0/+73 |
| | | | | | This allows journal_t objects to be completed serialized to disk and deserialized. | ||||
* | Renamed bigint_t::refc, for consistency with value_t | John Wiegley | 2009-10-29 | 1 | -14/+14 |
| | |||||
* | Added some whitespace for clarity | John Wiegley | 2009-10-28 | 1 | -0/+2 |
| | |||||
* | Fixed many compiler warnings from g++ 4.4 | John Wiegley | 2009-10-25 | 1 | -5/+5 |
| | |||||
* | Restored --price option, added baseline test | John Wiegley | 2009-06-26 | 1 | -2/+14 |
| | | | | | | | 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. | ||||
* | More refactoring for --download | John Wiegley | 2009-06-24 | 1 | -4/+13 |
| | |||||
* | Split commodity.h/cc into three files | John Wiegley | 2009-06-24 | 1 | -0/+2 |
| | | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management | ||||
* | Restored --unround, added baseline test | John Wiegley | 2009-06-21 | 1 | -0/+3 |
| | |||||
* | Temporarily stubbed out an inaccurate assert | John Wiegley | 2009-06-15 | 1 | -1/+3 |
| | |||||
* | Don't increase precision so much when dividing | John Wiegley | 2009-06-15 | 1 | -3/+3 |
| | | | | | | | | | Slow the increase in internal precision when dividing amounts. Use "--debug amount.convert" if you wish to see this logic in action, if a case where incorrect rounding is suspected comes up. Fixes B68FFB0D-A9A0-479C-A6C0-68853F229333 | ||||
* | Ignore attempts to annotate the null commodity | John Wiegley | 2009-06-15 | 1 | -1/+1 |
| | | | | Fixes 04C5E1CA-1B39-4214-81C7-FD5AA785308F | ||||
* | Enabled use of pre-compiled headers by default | John Wiegley | 2009-03-10 | 1 | -0/+2 |
| | |||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -1/+0 |
| | |||||
* | Changed many assert() calls to VERIFY() | John Wiegley | 2009-03-04 | 1 | -6/+6 |
| | |||||
* | Added "fixated commodity pricing" | John Wiegley | 2009-03-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | If you put '=' before an annotated commodity's price, it will cause any future market valuation of that commodity to use that price, and ignore whatever changes may have happened since in the market price. This can be useful if you are tracking gas expenses based on a standard rate which, although it changes over time, should not adjust the historical valuation of how much the gas cost at the time it was purchased: 2009/01/01 Payee Expenses:Gas 100 GAL {=$2} Liabilities:MasterCard $-200 | ||||
* | Corrected warnings g++-4.3.3 was complaining about | John Wiegley | 2009-02-28 | 1 | -14/+21 |
| | |||||
* | Corrected a potential invalid memory access | John Wiegley | 2009-02-28 | 1 | -4/+7 |
| | |||||
* | Fix to amount unreduction (aka, 120m -> 2h) | John Wiegley | 2009-02-27 | 1 | -3/+4 |
| | |||||
* | Be smarter about trimming off trailing zeroes | John Wiegley | 2009-02-27 | 1 | -6/+7 |
| | |||||
* | Don't propagate display flags from cost amounts | John Wiegley | 2009-02-27 | 1 | -4/+4 |
| | |||||
* | Gave round/unround/truncate all in_place_ variants | John Wiegley | 2009-02-27 | 1 | -14/+8 |
| | |||||
* | Refinements to amount_t validation code | John Wiegley | 2009-02-27 | 1 | -8/+13 |
| | |||||
* | Allow uncommoditized amounts to +/- with an amount | John Wiegley | 2009-02-25 | 1 | -6/+10 |
| | | | | Thus, you can say "$100 + 10" to increase it by $10. | ||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -48/+46 |
| | | | | | | | | | | | | | | | | 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". | ||||
* | Propagate commodity flags in costs sometimes | John Wiegley | 2009-02-24 | 1 | -5/+3 |
| | | | | | If a commodity has never been seen before, and it is used in a cost amount, remember the display flags. |