Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added "value" sub-directive for commodity directive | John Wiegley | 2012-03-06 | 1 | -0/+26 |
| | |||||
* | Changed the category of a few DEBUG statements | John Wiegley | 2012-03-06 | 1 | -2/+4 |
| | |||||
* | All tests are working again but one | John Wiegley | 2012-03-05 | 1 | -13/+41 |
| | |||||
* | Implemented first cut at price conversion logic | John Wiegley | 2012-03-05 | 1 | -1/+3 |
| | |||||
* | Changes to get all the code to compile | John Wiegley | 2012-03-05 | 1 | -22/+32 |
| | |||||
* | Switched to using Boost.Graph for commodity pricing | John Wiegley | 2012-03-05 | 1 | -403/+39 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Fixed many Clang type conversion warnings with static_cast | John Wiegley | 2012-02-17 | 1 | -2/+2 |
| | |||||
* | Fixes for variable shadowing (6/28) | John Wiegley | 2012-02-17 | 1 | -1/+1 |
| | |||||
* | Cleanup whitespace | John Wiegley | 2011-08-18 | 1 | -2/+2 |
| | |||||
* | Fixes for compilation as C++0x code | John Wiegley | 2011-02-04 | 1 | -1/+0 |
| | |||||
* | Based symbol_needs_quotes an invalid_chars (#386) | John Wiegley | 2010-07-29 | 1 | -32/+32 |
| | |||||
* | Don't elide quotes for all-digit commodities | John Wiegley | 2010-06-14 | 1 | -3/+7 |
| | |||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -161/+161 |
| | |||||
* | New display flag AMOUNT_PRINT_ELIDE_COMMODITY_QUOTES | John Wiegley | 2010-06-09 | 1 | -0/+11 |
| | | | | | | | | 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 | -6/+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. | ||||
* | Corrected a verification test | John Wiegley | 2010-06-05 | 1 | -1/+3 |
| | |||||
* | commodity_t::find_price now uses memoization | John Wiegley | 2010-06-04 | 1 | -11/+100 |
| | | | | | This reduces the slowdown of using -V and -X from 36x in some cases down to around 4-5x (for a debug build). | ||||
* | any and all do not need to be reserved tokens | John Wiegley | 2010-06-04 | 1 | -3/+1 |
| | |||||
* | More debug code cleanup | John Wiegley | 2010-06-04 | 1 | -25/+25 |
| | |||||
* | Made the behavior of -V a bit more rational | John Wiegley | 2010-06-04 | 1 | -0/+4 |
| | | | | It now only values non-primary commodities in terms of primary ones. | ||||
* | Reorganized some debug code | John Wiegley | 2010-06-04 | 1 | -17/+20 |
| | |||||
* | Simplified some debug code | John Wiegley | 2010-06-03 | 1 | -33/+16 |
| | |||||
* | Avoid unnecessary object copying when using foreach | John Wiegley | 2010-06-03 | 1 | -1/+1 |
| | |||||
* | Changed --european option to --decimal-comma | John Wiegley | 2010-06-01 | 1 | -5/+5 |
| | | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC | ||||
* | Changed a comment | John Wiegley | 2010-06-01 | 1 | -1/+1 |
| | |||||
* | Added any() and all() value expression macros | John Wiegley | 2010-05-08 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | | | any() matches an expression against every post in a transaction or account, and returns true if any of them are true. all() tests if all are true. For example: ledger -l 'account =~ /Expense/ & any(account =~ /MasterCard/)' reg This reports every posting affecting an Expense account (regex match), but only if some other posting in the same transaction affects the MasterCard account. Both functions also take a second boolean argument. If it is false, the "source" posting is not considered. For example: ledger -l 'any(/x/, false)' This matches any posting where a *different* posting in the same transaction contains the letter 'x'. | ||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | Refactored some comparison helper classes | John Wiegley | 2010-02-05 | 1 | -2/+2 |
| | |||||
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -5/+5 |
| | |||||
* | Fixed several time and date duration type uses | John Wiegley | 2009-11-17 | 1 | -1/+2 |
| | |||||
* | XML reporting now works via the "xml" command | John Wiegley | 2009-11-09 | 1 | -4/+40 |
| | |||||
* | Added basic foundation for XML reporting | John Wiegley | 2009-11-09 | 1 | -0/+11 |
| | |||||
* | Throw an error if UTF-8 encoding is incorrect | John Wiegley | 2009-11-07 | 1 | -2/+2 |
| | |||||
* | Added Python interface for commodity_t | John Wiegley | 2009-11-02 | 1 | -6/+6 |
| | |||||
* | Changed protection level of many parts of commodity_t | John Wiegley | 2009-11-02 | 1 | -25/+21 |
| | |||||
* | Use is_annotated() method rather than "annotated" | John Wiegley | 2009-11-02 | 1 | -4/+4 |
| | |||||
* | Added a --european flag, to use commas for decimals | John Wiegley | 2009-11-02 | 1 | -0/+2 |
| | | | | | | Ledger can often figure this out for itself, but this flag just makes it the default behavior. It is meant to be added to one's ~/.ledgerrc file. | ||||
* | Removed most #if 0 blocks and callout comments | John Wiegley | 2009-10-31 | 1 | -6/+0 |
| | |||||
* | Added TRUE_CURRENT_TIME() macro | John Wiegley | 2009-10-28 | 1 | -1/+1 |
| | | | | Because CURRENT_TIME() can now be a past date if --now is used. | ||||
* | Fixed many compiler warnings from g++ 4.4 | John Wiegley | 2009-10-25 | 1 | -5/+4 |
| | |||||
* | Reject downloaded quotes price in the wrong commodity | John Wiegley | 2009-06-28 | 1 | -1/+4 |
| | |||||
* | More refactoring for --download | John Wiegley | 2009-06-24 | 1 | -20/+36 |
| | |||||
* | Split commodity.h/cc into three files | John Wiegley | 2009-06-24 | 1 | -543/+20 |
| | | | | | | commodity.h - code for commodity_t annotate.h - commodity annotations pool.h - commodity pool management | ||||
* | Restored --download, although not done yet | John Wiegley | 2009-06-24 | 1 | -13/+128 |
| | | | | | | The problem at this point is that it's recording prices in the price database multiple times; it should only need to download a price for each commodity once per day. | ||||
* | Revert "Added % suffix operator, as in "$1.00 * 10%"" | John Wiegley | 2009-06-21 | 1 | -2/+2 |
| | | | | This reverts commit 0e9f782a05ab9bc892af40abef84346a16d3baec. | ||||
* | The -X option now accepts price settings | John Wiegley | 2009-06-18 | 1 | -12/+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' | ||||
* | Allow an amount to be zero, even if cost is non-zero | John Wiegley | 2009-06-16 | 1 | -2/+4 |
| | | | | | | | The only real change is that exchanges of zero-amount will not result in any exchange at all, just the "motions". Fixes 6DAB9FE3-1399-4727-9AB1-FE413FB85A03 | ||||
* | Added % suffix operator, as in "$1.00 * 10%" | John Wiegley | 2009-05-26 | 1 | -2/+2 |
| | |||||
* | Added a missing * operation | John Wiegley | 2009-03-15 | 1 | -1/+1 |
| |