Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | xact metadata searches get passed up to the entry | John Wiegley | 2009-02-14 | 1 | -0/+3 | |
| | | | | | | That is, if a metadata tag cannot be found in a transaction, look in the parent entry to see if it was set there. Transactions "inherit" notational details from their entries. | |||||
* | The formatting code no longer justifies values | John Wiegley | 2009-02-13 | 1 | -0/+3 | |
| | | | | | This is done in the value code, which knows -- based on the value's type -- how best to apply the justification. | |||||
* | 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/+21 | |
| | | | | | For example: -S payee,-date sorts 1) ascending by payee, then 2) descending by date. | |||||
* | Re-enabled some code, and removed a bunch of deadwood. | John Wiegley | 2009-02-12 | 1 | -1/+1 | |
| | ||||||
* | Fixed a typo which was causing all boolean values to show as "false". | John Wiegley | 2009-02-12 | 1 | -5/+5 | |
| | ||||||
* | Moved value_t::set_type into value.cc, since it had grown. | John Wiegley | 2009-02-12 | 1 | -0/+20 | |
| | ||||||
* | Properly handle UTF-8 characters in commodity strings. | John Wiegley | 2009-02-12 | 1 | -1/+1 | |
| | ||||||
* | Changed value_t to use boost::any (more type-safe). | John Wiegley | 2009-02-10 | 1 | -164/+23 | |
| | ||||||
* | Fixed a case where adding an amount to an integer failed. | John Wiegley | 2009-02-09 | 1 | -0/+4 | |
| | ||||||
* | Removed the balance_pair_t type, since it's now an unneeded abstraction. | John Wiegley | 2009-02-09 | 1 | -273/+0 | |
| | | | | | This type was a holdback from the days before the amount_expr was used everywhere to determine a transaction's value. | |||||
* | Added support for value expression definitions. | John Wiegley | 2009-02-08 | 1 | -1/+1 | |
| | | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200 | |||||
* | amount_t::in_place_* now returns void. Added value_t::unreduce. | John Wiegley | 2009-02-07 | 1 | -0/+19 | |
| | ||||||
* | Don't allow regexps to be evaluated in a boolean context. | John Wiegley | 2009-02-07 | 1 | -5/+3 | |
| | ||||||
* | Allow regular expressions to be "printed". | John Wiegley | 2009-02-07 | 1 | -0/+4 | |
| |