Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Removed an invalid called to VERIFY() | John Wiegley | 2010-06-13 | 1 | -1/+0 |
| | |||||
* | In value_t::_dup, test if storage is uninitialized | John Wiegley | 2010-06-13 | 1 | -1/+1 |
| | |||||
* | For value_t, use boost::any to refer to objects | John Wiegley | 2010-06-13 | 1 | -27/+54 |
| | |||||
* | Moved value_t::label() to value.cc | John Wiegley | 2010-06-13 | 1 | -33/+1 |
| | |||||
* | Added a new scope_value() inline helper function | John Wiegley | 2010-06-13 | 1 | -0/+4 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -63/+63 |
| | |||||
* | Use ptr_deque for value_t::sequence_t | John Wiegley | 2010-06-10 | 1 | -3/+3 |
| | | | | | | | | | This is to work around undefined behavior according to the Standard, [lib.res.on.functions]/2: "In particular, the effects are undefined in the following cases: [..] - if an incomplete type (3.9) is used as a template argument when instantiating a template component." | ||||
* | A further simplification of -V and -X | John Wiegley | 2010-06-07 | 1 | -2/+1 |
| | | | | | | | | 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 flags | John Wiegley | 2010-06-07 | 1 | -5/+5 |
| | |||||
* | Value expression sequences are now comparable | John Wiegley | 2010-06-05 | 1 | -2/+0 |
| | | | | Fixes #228 / ED9388D7-E523-40EB-841B-9AE9BAA70329 | ||||
* | Allow expr_t& to be passed in a value_t | John Wiegley | 2010-05-08 | 1 | -2/+27 |
| | |||||
* | Rewrite the "print" command as a custom function | John Wiegley | 2010-03-08 | 1 | -5/+5 |
| | | | | | There ended up being too many corner cases for the generalized formatter to handle. | ||||
* | 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 | -1/+1 |
| | |||||
* | Added floored() and in_place_floor() methods | John Wiegley | 2009-11-11 | 1 | -0/+7 |
| | |||||
* | account.amount and .total return simplified values | John Wiegley | 2009-11-10 | 1 | -0/+2 |
| | |||||
* | Added basic foundation for XML reporting | John Wiegley | 2009-11-09 | 1 | -0/+2 |
| | |||||
* | Redesigned the expr_t, predicate_t, query_t classes | John Wiegley | 2009-11-09 | 1 | -0/+4 |
| | |||||
* | Report sought magnitude when balancing errors occur | John Wiegley | 2009-11-05 | 1 | -0/+2 |
| | |||||
* | Added value_t::push_front | John Wiegley | 2009-11-04 | 1 | -1/+9 |
| | |||||
* | Whitespace fix | John Wiegley | 2009-11-04 | 1 | -2/+2 |
| | |||||
* | Completed Python bindings for value_t | John Wiegley | 2009-11-02 | 1 | -2/+1 |
| | |||||
* | Added serialization methods for most type | John Wiegley | 2009-10-30 | 1 | -0/+28 |
| | | | | | This allows journal_t objects to be completed serialized to disk and deserialized. | ||||
* | Change the value_t::POINTER type to value_t::SCOPE | John Wiegley | 2009-10-30 | 1 | -47/+17 |
| | | | | | scope_t pointers are the only kind that are ever stored in value objects, so there was no need to make it generic and use boost::any. | ||||
* | Pushing null values into a sequence is legitimate | John Wiegley | 2009-10-28 | 1 | -14/+6 |
| | |||||
* | Removed unnused parameter to value_t::print | John Wiegley | 2009-10-27 | 1 | -2/+1 |
| | |||||
* | Added some extra storage checks to value_t | John Wiegley | 2009-10-25 | 1 | -0/+5 |
| | |||||
* | Rewrote the way date and time I/O is managed | John Wiegley | 2009-10-25 | 1 | -1/+1 |
| | |||||
* | Fixed many compiler warnings from g++ 4.4 | John Wiegley | 2009-10-25 | 1 | -2/+3 |
| | |||||
* | Restored --price option, added baseline test | John Wiegley | 2009-06-26 | 1 | -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. | ||||
* | The -X option now accepts price settings | John Wiegley | 2009-06-18 | 1 | -0/+4 |
| | | | | | | | For example, if you had 100 AU (onces of gold) and wanted to report it in dollars, but at a price of $997 per ounce, you could now easily say: ledger bal -X '$,AU=$997' | ||||
* | Move amount colorization deeper into the core | John Wiegley | 2009-06-16 | 1 | -0/+1 |
| | | | | | | | | 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 | ||||
* | Added a value_t macro: VALUE_OR_VERO | John Wiegley | 2009-03-05 | 1 | -0/+2 |
| | |||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -1/+1 |
| | |||||
* | Changed many assert() calls to VERIFY() | John Wiegley | 2009-03-04 | 1 | -38/+36 |
| | |||||
* | Gave round/unround/truncate all in_place_ variants | John Wiegley | 2009-02-27 | 1 | -3/+20 |
| | |||||
* | Added a truncated() method for amounts and values | John Wiegley | 2009-02-26 | 1 | -0/+1 |
| | | | | | 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 internationalization | John Wiegley | 2009-02-25 | 1 | -12/+12 |
| | | | | | | | | | | | | | | | | 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". | ||||
* | Fixed an alignment bug in value context display | John Wiegley | 2009-02-24 | 1 | -3/+1 |
| | |||||
* | Added non-const value_t::begin and value_t::end | John Wiegley | 2009-02-23 | 1 | -0/+12 |
| | |||||
* | Push a sequence onto a sequence only appends now | John Wiegley | 2009-02-23 | 1 | -8/+1 |
| | | | | Previously, it would merge sequences A and B. | ||||
* | Added --exchange (-x) option | John Wiegley | 2009-02-22 | 1 | -2/+3 |
| | | | | | | | 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 printing | John Wiegley | 2009-02-22 | 1 | -3/+4 |
| | |||||
* | Fixed a memory leak in value_t::storage_t | John Wiegley | 2009-02-21 | 1 | -12/+16 |
| | |||||
* | Restored the --budget option | John Wiegley | 2009-02-20 | 1 | -2/+2 |
| | |||||
* | Moved amount_t::right_justify to simply ::justify | John Wiegley | 2009-02-19 | 1 | -2/+2 |
| | |||||
* | Changed some value_t method names | John Wiegley | 2009-02-16 | 1 | -2/+2 |
| | | | | | | | - simplify -> simplified - cast -> casted This is to differentiate them from in_place_cast and in_place_simplify. | ||||
* | Removed "total_cost" valexpr, and value_t::cost | John Wiegley | 2009-02-15 | 1 | -2/+0 |
| | | | | | Since cost reports are now calculated by setting the amount_ expression, there is no need to track a separate "total cost" entity. | ||||
* | Renamed a function to sort_value_is_less_than | John Wiegley | 2009-02-12 | 1 | -2/+2 |
| | | | | | The purpose was to provided a clearer relationship between the function name and its expected arguments. | ||||
* | Sorting expr now uses "-" to indicate descending | John Wiegley | 2009-02-12 | 1 | -0/+11 |
| | | | | | For example: -S payee,-date sorts 1) ascending by payee, then 2) descending by date. |