Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added option --day-break | John Wiegley | 2012-03-17 | 1 | -0/+2 |
| | |||||
* | Fixed options processing of --value-expr | John Wiegley | 2012-03-09 | 1 | -2/+2 |
| | |||||
* | Added --value-expr option | John Wiegley | 2012-03-09 | 1 | -0/+3 |
| | |||||
* | Reworked the way that options are handled | John Wiegley | 2012-03-09 | 1 | -11/+7 |
| | |||||
* | Added int and str value expression functions | John Wiegley | 2012-03-09 | 1 | -0/+2 |
| | |||||
* | Use unique_ptr instead of std::auto_ptr | John Wiegley | 2012-03-05 | 1 | -2/+2 |
| | |||||
* | Allow --options to be added by the user in Python | John Wiegley | 2012-03-01 | 1 | -0/+1 |
| | |||||
* | Started writing Python unit tests | John Wiegley | 2012-03-01 | 1 | -1/+3 |
| | |||||
* | Refactored the notion of "the current parsing context" | John Wiegley | 2012-03-01 | 1 | -0/+3 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Added --check-payees option | John Wiegley | 2012-02-27 | 1 | -0/+2 |
| | |||||
* | Added new account/payee/commodity directives | John Wiegley | 2012-02-27 | 1 | -0/+6 |
| | | | | | Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict. | ||||
* | Scopes can now provide a description of themselves | John Wiegley | 2010-06-24 | 1 | -0/+4 |
| | | | | | | This isn't being used yet, but it likely will to improve the information presented to users if their value expressions fail to compile or evaluate. | ||||
* | Added initial implementation of lot_*() functions | John Wiegley | 2010-06-14 | 1 | -0/+3 |
| | |||||
* | Revised how Ledger handles the "current year" | John Wiegley | 2010-06-14 | 1 | -2/+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/+2 |
| | |||||
* | Completely reworked argument passing in expressions | John Wiegley | 2010-06-13 | 1 | -4/+3 |
| | |||||
* | account(NAME) function can lookup account objects | John Wiegley | 2010-06-13 | 1 | -0/+2 |
| | | | | | | 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 | -3/+3 |
| | |||||
* | A little bit of code cleanup | John Wiegley | 2010-06-04 | 1 | -1/+0 |
| | |||||
* | Changed --european option to --decimal-comma | John Wiegley | 2010-06-01 | 1 | -3/+3 |
| | | | | Fixes #211 / 1736ACA5-5DE6-4826-AEB4-DB5B2A2217AC | ||||
* | Updated copyrights to 2003-2010 | John Wiegley | 2010-03-05 | 1 | -1/+1 |
| | |||||
* | session_t now holds a std::auto_prt<journal_t> | John Wiegley | 2009-11-12 | 1 | -3/+3 |
| | |||||
* | Removed a bunch of empty comments | John Wiegley | 2009-11-08 | 1 | -9/+0 |
| | |||||
* | Renamed --set-reported-account to just --account | John Wiegley | 2009-11-06 | 1 | -2/+2 |
| | | | | | | | 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. | ||||
* | Moved journal reading code into journal_t | John Wiegley | 2009-11-05 | 1 | -8/+0 |
| | |||||
* | Moved xdata clearing code into each type proper | John Wiegley | 2009-11-05 | 1 | -8/+0 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Changed protection level of many parts of commodity_t | John Wiegley | 2009-11-02 | 1 | -1/+1 |
| | |||||
* | Wire up the --european option | John Wiegley | 2009-11-02 | 1 | -1/+5 |
| | |||||
* | 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. | ||||
* | Create a --cache option, for using a binary cache | John Wiegley | 2009-10-31 | 1 | -0/+2 |
| | |||||
* | Moved ownership of master account into journal_t | John Wiegley | 2009-10-30 | 1 | -6/+3 |
| | | | | The journal_t now completely represents the data part of a session. | ||||
* | Setting --date-format in ~/.ledgerrc works again | John Wiegley | 2009-10-29 | 1 | -2/+4 |
| | |||||
* | Rewrote the way date and time I/O is managed | John Wiegley | 2009-10-25 | 1 | -3/+3 |
| | |||||
* | Removed reliance on strptime/strftime | John Wiegley | 2009-10-11 | 1 | -1/+1 |
| | | | | | | | | The code now uses Boost's input and output facets for times and dates. This ensures completely consistency regarding timezones and times, and fixes the regression test that was broken while I was away coding in London (where it was GMT-0 and I didn't notice the difference between local and GMT). | ||||
* | Restored --download, although not done yet | John Wiegley | 2009-06-24 | 1 | -3/+3 |
| | | | | | | 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. | ||||
* | Restored --input-date-format option | John Wiegley | 2009-06-18 | 1 | -1/+6 |
| | |||||
* | When --end is used, set a "terminus" date | John Wiegley | 2009-06-16 | 1 | -7/+0 |
| | | | | | | | This means that final balance valuations (with -V or -X) will be done in terms of the date given to --end, rather than based on the current day. Fixes 647D5DB9-DBBB-47C8-80CE-F3F70E3B0253 | ||||
* | Added new debug option --options | John Wiegley | 2009-06-02 | 1 | -3/+14 |
| | | | | | This reports which options are in place before invoking a command, and where exactly each option value came from. | ||||
* | Reduced the #include dependency tree to a minimum | John Wiegley | 2009-03-04 | 1 | -3/+6 |
| | |||||
* | The Great Renaming, Part II | John Wiegley | 2009-02-23 | 1 | -3/+3 |
| | | | | | The last commit did not contain the majority of changes because of a slight mishap. This contains the real changeset. | ||||
* | Added --exchange (-x) option | John Wiegley | 2009-02-22 | 1 | -0/+3 |
| | | | | | | | This is like -V, except it lets you specify the goal commodity to report in terms of, for example: reg -x CAD | ||||
* | Enabled --current option | John Wiegley | 2009-02-20 | 1 | -0/+4 |
| | |||||
* | Added a --strict session option | John Wiegley | 2009-02-19 | 1 | -0/+1 |
| | | | | | | | When enabled, if any accounts or commodities are seen in an uncleared transaction, which were not seen previously in a cleared or pending transaction or a textual directive dealing with accounts or commodities, a warning is generated about the unknown item. | ||||
* | Fixed several unused value and param warnings | John Wiegley | 2009-02-16 | 1 | -1/+1 |
| | |||||
* | Split up session_t::reread_journal_files() | John Wiegley | 2009-02-15 | 1 | -1/+1 |
| | | | | | You now call session_t::close_journal_files() followed by session_t::read_journal_files(). | ||||
* | Added a "reload" command, for use at the REPL | John Wiegley | 2009-02-13 | 1 | -0/+3 |
| | | | | | | | Created a new function, session_t::reread_journal_files, which throws away all previous state data and reads in the same files again. This is needed to allow Emacs to communicate with Ledger via the REPL, so that it tell Ledger when it has made changes to the user's data file. | ||||
* | If a ledger file is specified in .ledgerrc, ignore the environment. | John Wiegley | 2009-02-08 | 1 | -1/+1 |
| | |||||
* | Added support for value expression definitions. | John Wiegley | 2009-02-08 | 1 | -1/+1 |
| | | | | | | | | Example: ] expr f(x) := x + 100 ] expr f(100) 200 |