Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Display value booleans as 0 and 1. | John Wiegley | 2009-02-05 | 1 | -4/+1 |
| | |||||
* | Largely removed all of Ledger's use of global variables, for the REPL's sake. | John Wiegley | 2009-02-04 | 1 | -36/+43 |
| | |||||
* | Don't allow boolean operations to be applied to masks. | John Wiegley | 2009-02-03 | 1 | -7/+0 |
| | |||||
* | Removed the binary caching code, and the XML, QIF and Gnucash parsers. | John Wiegley | 2009-02-03 | 1 | -146/+0 |
| | |||||
* | Don't allow implicit matching of strings against masks, =~ is needed. | John Wiegley | 2009-02-02 | 1 | -4/+0 |
| | |||||
* | Added support for metadata and tagging, and made regexs a first-class type. | John Wiegley | 2009-02-01 | 1 | -3/+58 |
| | |||||
* | Values can now be streamed to XML, and all the types they refer to. | John Wiegley | 2009-02-01 | 1 | -0/+57 |
| | |||||
* | Rationals based math is now passing the unit tests. | John Wiegley | 2009-01-31 | 1 | -33/+5 |
| | |||||
* | Changed to using rational numbers instead of integer approximations. | John Wiegley | 2009-01-30 | 1 | -0/+4 |
| | | | | | As a result, dependency on the gdtoa was dropped, and dependency on mpfr was added. | ||||
* | Changed around the ==, < and > operators in value.h to be correct. | John Wiegley | 2009-01-28 | 1 | -5/+3 |
| | |||||
* | Added is_nonzero and a stream-based read() method to value_t. | John Wiegley | 2009-01-26 | 1 | -0/+28 |
| | |||||
* | Corrected a parse-time optimization of "! CONSTANT". | John Wiegley | 2009-01-22 | 1 | -0/+29 |
| |