Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Many improvements to Ledger's Python bindings | John Wiegley | 2009-11-19 | 1 | -9/+8 |
| | |||||
* | Added an --unrealized option, for use with bal -V | John Wiegley | 2009-11-19 | 1 | -0/+1 |
| | | | | | | When this option is on, then in balance report which show market values, any gains or losses in value will be balanced into a pair of accounts called Equity:Unrealized Gains and Equity:Unrealized Losses. | ||||
* | Decompile all amount expressions for accounts reports | John Wiegley | 2009-11-18 | 1 | -0/+6 |
| | | | | | This happens after running through all the post handlers, before running any of the account handlers. | ||||
* | It's OK for a report query to be empty | John Wiegley | 2009-11-18 | 1 | -14/+10 |
| | | | | It's always possible the user only specified a display predicate. | ||||
* | The new period parser is passing all tests | John Wiegley | 2009-11-18 | 1 | -6/+7 |
| | |||||
* | Renamed date_interval_t::end to finish | John Wiegley | 2009-11-17 | 1 | -2/+2 |
| | |||||
* | Added historical support for single-letter valexprs | John Wiegley | 2009-11-14 | 1 | -0/+39 |
| | |||||
* | Reorganized a bit of the reporting code | John Wiegley | 2009-11-12 | 1 | -48/+25 |
| | |||||
* | Moved report normalization into report.cc | John Wiegley | 2009-11-12 | 1 | -0/+171 |
| | |||||
* | Removed unused code | John Wiegley | 2009-11-12 | 1 | -2/+0 |
| | |||||
* | Renamed the pricesdb command to pricedb | John Wiegley | 2009-11-12 | 1 | -4/+4 |
| | |||||
* | Added new value expressions for value conversion | John Wiegley | 2009-11-11 | 1 | -0/+81 |
| | | | | | | | | | | | | | | They are: to_boolean to_int to_datetime to_date to_amount to_balance to_string to_mask to_sequence | ||||
* | Added --date, similar to --account and --payee | John Wiegley | 2009-11-11 | 1 | -0/+1 |
| | | | | | | | This lets you do things like store a date as the value of a tag, then run: ledger --date='has_tag("Foo") ? to_date(tag("Foo")) : date' reg | ||||
* | Added floor() value expression function | John Wiegley | 2009-11-11 | 1 | -0/+8 |
| | |||||
* | Added a --prepend-format option | John Wiegley | 2009-11-11 | 1 | -7/+15 |
| | | | | | | | | This lets you, for example, debug registers that cull data from many different sources, without having to change the basic formatting string. You can locate each posting's location with this: ledger reg --prepend-format='%-25(filename + ":" + beg_line)' | ||||
* | Moving the #include of unistring.h into format.h | John Wiegley | 2009-11-10 | 1 | -1/+0 |
| | |||||
* | Fixes to Python importing; removed "hello" precommand | John Wiegley | 2009-11-10 | 1 | -18/+2 |
| | |||||
* | account_amount() is now account().amount | John Wiegley | 2009-11-10 | 1 | -27/+0 |
| | |||||
* | XML reporting now works via the "xml" command | John Wiegley | 2009-11-09 | 1 | -0/+2 |
| | |||||
* | Added basic foundation for XML reporting | John Wiegley | 2009-11-09 | 1 | -0/+1 |
| | |||||
* | Redesigned the draft_t class | John Wiegley | 2009-11-09 | 1 | -1/+1 |
| | |||||
* | Redesigned the expr_t, predicate_t, query_t classes | John Wiegley | 2009-11-09 | 1 | -20/+11 |
| | |||||
* | Added support for Boost.Regex w/ ICU | John Wiegley | 2009-11-07 | 1 | -1/+1 |
| | | | | | This allows for correct searching of UTF-8 encoded strings, such as lower-case versions of Russian words to find mixed-case words. | ||||
* | Renamed --set-reported-account to just --account | John Wiegley | 2009-11-06 | 1 | -11/+3 |
| | | | | | | | 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. | ||||
* | Added new account_total value expression | John Wiegley | 2009-11-05 | 1 | -0/+27 |
| | | | | | This is used for accessing an account's current total within one's Ledger file. | ||||
* | Moved xdata clearing code into each type proper | John Wiegley | 2009-11-05 | 1 | -5/+4 |
| | |||||
* | Segregated symbols into 5 separate namespaces | John Wiegley | 2009-11-04 | 1 | -275/+287 |
| | | | | | | | | | | | | | | | | | | | | | 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) | ||||
* | Added error message if a predicate query is invalid | John Wiegley | 2009-11-03 | 1 | -1/+9 |
| | |||||
* | New: --set-reported-account, --set-reported-payee | John Wiegley | 2009-11-01 | 1 | -0/+2 |
| | |||||
* | Removed most #if 0 blocks and callout comments | John Wiegley | 2009-10-31 | 1 | -6/+2 |
| | |||||
* | Improved arg checking for several valexpr functions | John Wiegley | 2009-10-31 | 1 | -4/+4 |
| | |||||
* | Add valexpr functions for lot dates, prices and tags | John Wiegley | 2009-10-31 | 1 | -0/+33 |
| | |||||
* | Added a --forecast-years option | John Wiegley | 2009-10-31 | 1 | -0/+1 |
| | | | | | This sets how many years of forecasting Ledger will do before it terminates the attempt. | ||||
* | Moved ownership of master account into journal_t | John Wiegley | 2009-10-30 | 1 | -2/+2 |
| | | | | 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 | -0/+2 |
| | |||||
* | Fixed "show" keywords, and added // syntax | John Wiegley | 2009-10-28 | 1 | -11/+9 |
| | |||||
* | Fixes to the new query expression parser | John Wiegley | 2009-10-28 | 1 | -2/+5 |
| | |||||
* | Rewrote the report query parser | John Wiegley | 2009-10-28 | 1 | -2/+2 |
| | | | | | | It is now a full parser that parses report queries directly into value expression trees. These then get rendered into text so that other options may extend the expression. | ||||
* | -D now means --daily, not --deviation | John Wiegley | 2009-10-28 | 1 | -1/+1 |
| | | | | | | | | | | | | Because --daily is more commonly desired, and fits the pattern of the other periodic switches: -D --daily -W --weekly -M --monthly -Y --yearly Only --quarterly doesn't have its own short option. | ||||
* | Sort by default unless --unsorted is selected | John Wiegley | 2009-10-28 | 1 | -0/+1 |
| | |||||
* | Removed unnused parameter to value_t::print | John Wiegley | 2009-10-27 | 1 | -5/+2 |
| | |||||
* | Added --actual-dates, for overriding --effective | John Wiegley | 2009-10-27 | 1 | -0/+1 |
| | | | | | This is so that if someone has --effective in their .ledgerrc, they can force the use of actual dates. | ||||
* | Support a --now option, for testing purposes | John Wiegley | 2009-10-27 | 1 | -0/+1 |
| | | | | | | This sets Ledger's notion of the "current time" to the given date. This makes it possible to have stable output from budgeting and forecasting reports, for the sake of baseline tests. | ||||
* | Added a new "cleared" report | John Wiegley | 2009-10-27 | 1 | -1/+11 |
| | | | | | | This is a balance report with three columns: Current balance | Cleared balance | Last cleared date | ||||
* | Added a new "budget" report | John Wiegley | 2009-10-27 | 1 | -1/+14 |
| | | | | | | This is a balance report with four columns: Amount spent | Budgeted Amount | Difference | Percentage | ||||
* | Fixed a data lifetime bug | John Wiegley | 2009-10-27 | 1 | -2/+7 |
| | | | | | | This was causing budget totals not to appear in balance reports. Fixes 8254755E-7B61-47C8-B48E-A2A7FD79EB80 | ||||
* | Added t and T as valexpr synonyms | John Wiegley | 2009-10-26 | 1 | -0/+7 |
| | | | | t = display_amount, T = display_total | ||||
* | Fixed sorting in bal reports when --flat is used | John Wiegley | 2009-10-26 | 1 | -4/+7 |
| | | | | | | | Note that sorting on the "total" is not the same thing as sorting on the "display_total" when multiple commodities are in use and the -X flag is selected! One should always sort on display_total, since that's the value which is shown in the report. 'T' is a synonym for display_total. | ||||
* | Added an "echo" command, for REPL testing | John Wiegley | 2009-10-26 | 1 | -0/+10 |
| | |||||
* | Rewrote the way date and time I/O is managed | John Wiegley | 2009-10-25 | 1 | -3/+7 |
| |