Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added missing call to _dup() in value_t::in_place_cast | John Wiegley | 2009-11-05 | 1 | -0/+2 |
| | |||||
* | Change the value_t::POINTER type to value_t::SCOPE | John Wiegley | 2009-10-30 | 1 | -11/+11 |
| | | | | | 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. | ||||
* | Removed unnused parameter to value_t::print | John Wiegley | 2009-10-27 | 1 | -16/+8 |
| | |||||
* | Fixed a display issue with the balance report | John Wiegley | 2009-10-27 | 1 | -5/+5 |
| | |||||
* | Fixed an error with post-simplified math | John Wiegley | 2009-10-27 | 1 | -1/+12 |
| | |||||
* | If doing math between amount and balance, simplify | John Wiegley | 2009-10-27 | 1 | -3/+25 |
| | |||||
* | Fixed some debug code | John Wiegley | 2009-10-27 | 1 | -3/+3 |
| | |||||
* | Allow any amount to be multipled by another | John Wiegley | 2009-10-27 | 1 | -7/+2 |
| | | | | | The result carries the commodity of the first amount, or the second if the first had no commodity. | ||||
* | Added debug code | John Wiegley | 2009-10-27 | 1 | -0/+3 |
| | |||||
* | Rewrote the way date and time I/O is managed | John Wiegley | 2009-10-25 | 1 | -8/+9 |
| | |||||
* | Fixed many compiler warnings from g++ 4.4 | John Wiegley | 2009-10-25 | 1 | -0/+11 |
| | |||||
* | value_t::dump now faithfully represents strings | John Wiegley | 2009-06-28 | 1 | -1/+15 |
| | |||||
* | Restored --price option, added baseline test | John Wiegley | 2009-06-26 | 1 | -0/+12 |
| | | | | | | | 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. | ||||
* | Split commodity.h/cc into three files | John Wiegley | 2009-06-24 | 1 | -1/+3 |
| | | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management | ||||
* | value_t::in_place_unround wasn't doing it in-place | John Wiegley | 2009-06-21 | 1 | -2/+2 |
| | |||||
* | The -X option now accepts price settings | John Wiegley | 2009-06-18 | 1 | -0/+21 |
| | | | | | | | 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 | -7/+13 |
| | | | | | | | | 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 | ||||
* | Allow integers to be multiplied with amounts | John Wiegley | 2009-06-15 | 1 | -0/+1 |
| | | | | Fixes other part of 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 | -0/+1 |
| | |||||
* | Changed many assert() calls to VERIFY() | John Wiegley | 2009-03-04 | 1 | -3/+0 |
| | |||||
* | Added a "null" value for value expressions | John Wiegley | 2009-03-03 | 1 | -1/+1 |
| | |||||
* | Gave round/unround/truncate all in_place_ variants | John Wiegley | 2009-02-27 | 1 | -18/+24 |
| | |||||
* | Print better error msg if evaluating mask as bool | John Wiegley | 2009-02-26 | 1 | -0/+7 |
| | |||||
* | Added a truncated() method for amounts and values | John Wiegley | 2009-02-26 | 1 | -0/+23 |
| | | | | | When an amount is truncated, it drops all of the extra precision and becomes exactly the value would have seen were it printed. | ||||
* | Allow sequences to be rounded and unrounded | John Wiegley | 2009-02-25 | 1 | -0/+12 |
| | | | | | The result is that every member of the sequence has the given operation applied. | ||||
* | Marked all strings needing internationalization | John Wiegley | 2009-02-25 | 1 | -28/+25 |
| | | | | | | | | | | | | | | | | 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". | ||||
* | Allow any two amount values to be divided | John Wiegley | 2009-02-24 | 1 | -6/+2 |
| | |||||
* | Allow sequences to be compared to 0 | John Wiegley | 2009-02-23 | 1 | -0/+40 |
| | | | | It is true if every member of the sequence passes the test. | ||||
* | Corrects to code that compares balances to zero | John Wiegley | 2009-02-23 | 1 | -12/+12 |
| | |||||
* | Expr (a,b)+(c,d) is now equivalent to (a+c,b+d) | John Wiegley | 2009-02-23 | 1 | -7/+17 |
| | |||||
* | A sequence is false if all it contains is false | John Wiegley | 2009-02-23 | 1 | -1/+7 |
| | |||||
* | Allow date and datetime values to inter-convert | John Wiegley | 2009-02-22 | 1 | -0/+6 |
| | |||||
* | --exchange option now accepts multiple commodities | John Wiegley | 2009-02-22 | 1 | -3/+3 |
| | | | | They must be separated by a comma, and all whitespace is ignored. | ||||
* | Added --exchange (-x) option | John Wiegley | 2009-02-22 | 1 | -9/+11 |
| | | | | | | | 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 | -6/+12 |
| | |||||
* | Allow balances to be rounded and unrounded | John Wiegley | 2009-02-22 | 1 | -0/+4 |
| | |||||
* | Allow balance values to be compared < or > 0 | John Wiegley | 2009-02-21 | 1 | -0/+42 |
| | |||||
* | Fixed a memory leak in value_t::storage_t | John Wiegley | 2009-02-21 | 1 | -2/+2 |
| | |||||
* | Justify integers correctly when printing | John Wiegley | 2009-02-21 | 1 | -6/+8 |
| | |||||
* | Allow date and datetime values to be formatted into strings | John Wiegley | 2009-02-20 | 1 | -0/+19 |
| | |||||
* | Simplify account total values before comparison | John Wiegley | 2009-02-19 | 1 | -3/+2 |
| | | | | | | This way, if two account values are BALANCE types containing only a single AMOUNT, then it will do the sorting comparison of the amounts -- since otherwise balances are ignored for the purposes of sorting. | ||||
* | Fixed another sort issue | John Wiegley | 2009-02-19 | 1 | -1/+1 |
| | |||||
* | A key fix to the ways accounts were sorted | John Wiegley | 2009-02-19 | 1 | -9/+16 |
| | | | | Comparing integer < amount was doing the reverse comparison. | ||||
* | Allow for sorting of the balance report | John Wiegley | 2009-02-19 | 1 | -1/+4 |
| | | | | | | Sorting is repeated at each level of the hierarchy, unless --flat was specified in which case it applies to the entire applicable accounts list. | ||||
* | Moved amount_t::right_justify to simply ::justify | John Wiegley | 2009-02-19 | 1 | -5/+12 |
| | |||||
* | Always print zero amounts as "0" | John Wiegley | 2009-02-16 | 1 | -1/+4 |
| | |||||
* | Print <POINTER> if value_t::is_pointer() | John Wiegley | 2009-02-16 | 1 | -0/+4 |
| | |||||
* | If a boolean value is to an amount, use 1 or 0 | John Wiegley | 2009-02-15 | 1 | -0/+3 |
| | |||||
* | Removed "total_cost" valexpr, and value_t::cost | John Wiegley | 2009-02-15 | 1 | -16/+0 |
| | | | | | Since cost reports are now calculated by setting the amount_ expression, there is no need to track a separate "total cost" entity. |