Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | Fixed problem finding the default priced file. | Craig Earls | 2013-01-29 | 1 | -7/+8 |
| | | | | Bug fix to detect badly specified priced files on the command line didn't handle the default correctly. | ||||
* | Merge pull request #107 from afh/pull/time_colon | John Wiegley | 2013-01-29 | 1 | -1/+3 |
|\ | | | | | Add --time-colon option | ||||
| * | Add --time-colon option | Alexis Hildebrandt | 2012-11-10 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | | | The --time-colon option will display the value for a seconds based commodity as real hours and minutes. For example 8100 seconds by default will be displayed as 2.25 whereas with the --time-colon option they will be displayed as 2:15. | ||||
* | | Fixes bugs 705 and 862. Ledger now fails if init or pricedb files are ↵ | Craig Earls | 2013-01-29 | 1 | -1/+5 |
| | | | | | | | | specified on the command line but not found. | ||||
* | | change handling of standard input | Johann Klähn | 2013-01-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `-f /dev/stdin`, the `pathname` of the parsing context will be empty as for any other streamed input. `instance_t::include_directive` did not work as expected for `-f /dev/stdin` and relative file names. One would expect them to be relative to the current directory rather than `/dev`. This will lead to `While parsing file ""` messages. This could be adjusted to read `While parsing standard input`, but maybe it's not worth the special cases. This commit also fixes bug 788: behaviour of source_context for '-f -' | ||||
* | | Revert "fix bug 788: behaviour of source_context for '-f -'" | John Wiegley | 2013-01-16 | 1 | -1/+0 |
| | | | | | | | | This reverts commit 0a1ff035421d5f97675ad769a7fcdbc68399f3dc. | ||||
* | | fix bug 788: behaviour of source_context for '-f -' | Johann Klähn | 2013-01-15 | 1 | -0/+1 |
|/ | | | | | | `session_t::read_data` did not set context.pathname to `/dev/stdin` for the special case `-f -`. I chose to adjust `source_context` too as there is no sensible context if no file name is provided. | ||||
* | Converted the Ledger build system to use CMake | John Wiegley | 2012-05-20 | 1 | -4/+4 |
| | |||||
* | Always call TRACE_CTOR at the end of constructors | John Wiegley | 2012-03-20 | 1 | -2/+2 |
| | |||||
* | Added option --day-break | John Wiegley | 2012-03-17 | 1 | -0/+3 |
| | |||||
* | Fixed options processing of --value-expr | John Wiegley | 2012-03-09 | 1 | -2/+5 |
| | |||||
* | Added --value-expr option | John Wiegley | 2012-03-09 | 1 | -0/+2 |
| | |||||
* | Added int and str value expression functions | John Wiegley | 2012-03-09 | 1 | -0/+19 |
| | |||||
* | Allow --options to be added by the user in Python | John Wiegley | 2012-03-01 | 1 | -0/+2 |
| | |||||
* | Started writing Python unit tests | John Wiegley | 2012-03-01 | 1 | -3/+36 |
| | |||||
* | Refactored the notion of "the current parsing context" | John Wiegley | 2012-03-01 | 1 | -6/+25 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | --explicit wasn't being handled correctly | John Wiegley | 2012-02-27 | 1 | -1/+3 |
| | |||||
* | Added --check-payees option | John Wiegley | 2012-02-27 | 1 | -0/+3 |
| | |||||
* | Added new account/payee/commodity directives | John Wiegley | 2012-02-27 | 1 | -0/+13 |
| | | | | | Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict. | ||||
* | Cleanup whitespace | John Wiegley | 2011-08-18 | 1 | -1/+1 |
| | |||||
* | Support Boost 1.46 and Boost.Filesystem v3 | John Wiegley | 2011-02-28 | 1 | -1/+2 |
| | |||||
* | Increase display precision of hours to 2 places | John Wiegley | 2010-12-12 | 1 | -1/+1 |
| | |||||
* | Transactions no longer needed for budget/forecast | John Wiegley | 2010-06-20 | 1 | -4/+6 |
| | | | | | This means you can forecast or budget against a file containing only periodic transactions. | ||||
* | Added initial implementation of lot_*() functions | John Wiegley | 2010-06-14 | 1 | -1/+34 |
| | |||||
* | Revised how Ledger handles the "current year" | John Wiegley | 2010-06-14 | 1 | -3/+1 |
| | | | | | Now when the Y directive sets the current year for a region, it affects everything, as if the clock really were set back to that year. | ||||
* | Restored min() and max() virtual functions | John Wiegley | 2010-06-13 | 1 | -0/+18 |
| | |||||
* | Completely reworked argument passing in expressions | John Wiegley | 2010-06-13 | 1 | -4/+3 |
| | |||||
* | Added a new scope_value() inline helper function | John Wiegley | 2010-06-13 | 1 | -4/+2 |
| | |||||
* | account(NAME) function can lookup account objects | John Wiegley | 2010-06-13 | 1 | -2/+25 |
| | | | | | | For example, just the word "account" returns the name of the current posting's account, but account("Expenses:Food") returns the actual account object, so that it's total may be accessed. | ||||
* | Untabified all source files | John Wiegley | 2010-06-11 | 1 | -24/+24 |
| | |||||
* | Changed --european option to --decimal-comma | John Wiegley | 2010-06-01 | 1 | -3/+1 |
| | | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC | ||||
* | 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 | -2/+2 |
| | |||||
* | session_t now holds a std::auto_prt<journal_t> | John Wiegley | 2009-11-12 | 1 | -3/+3 |
| | |||||
* | Don't use archive_t if boost_serialization unavailable | John Wiegley | 2009-11-06 | 1 | -0/+4 |
| | |||||
* | Renamed --set-reported-account to just --account | John Wiegley | 2009-11-06 | 1 | -5/+5 |
| | | | | | | | This fits better with the --amount and --total options, which both change the amount and total used for calculation. Same with --account: it happens after filtering, but before calculation so that balance reports look as you'd expect. | ||||
* | The binary cache is working again | John Wiegley | 2009-11-06 | 1 | -11/+1 |
| | |||||
* | Moved journal reading code into journal_t | John Wiegley | 2009-11-05 | 1 | -41/+5 |
| | |||||
* | Moved xdata clearing code into each type proper | John Wiegley | 2009-11-05 | 1 | -19/+0 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -13/+16 |
| | | | | | | | | | | | | | | | | | | | | | The different namespaces are: Function Value expression functions, which receive a "context" Option Command-line options Precommand Commands which are invoked before reading the journal Command Commands which are invoked after reading the journal Directive Directives that occur at column 0 in a data file This greatly eases the ability for Python uses to add intercept hooks to change how the basic Ledger module functions. An example of what should be possible soon: import ledger def my_foo_handler(value): print "--foo received:", value ledger.add_handler(ledger.Option, "foo=", my_foo_handler) | ||||
* | Removed an unnecessary comment | John Wiegley | 2009-11-03 | 1 | -3/+0 |
| | |||||
* | Added a --european flag, to use commas for decimals | John Wiegley | 2009-11-02 | 1 | -0/+3 |
| | | | | | | 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. | ||||
* | Improved archive header logic for cache files | John Wiegley | 2009-11-01 | 1 | -1/+3 |
| | |||||
* | Removed most #if 0 blocks and callout comments | John Wiegley | 2009-10-31 | 1 | -2/+0 |
| | |||||
* | Don't add price_db to sources if it doesn't exist | John Wiegley | 2009-10-31 | 1 | -3/+5 |
| | |||||
* | Create a --cache option, for using a binary cache | John Wiegley | 2009-10-31 | 1 | -29/+69 |
| | |||||
* | Moved ownership of master account into journal_t | John Wiegley | 2009-10-30 | 1 | -49/+7 |
| | | | | The journal_t now completely represents the data part of a session. | ||||
* | Added serialization methods for most type | John Wiegley | 2009-10-30 | 1 | -0/+20 |
| | | | | | This allows journal_t objects to be completed serialized to disk and deserialized. |