summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fixed "show" keywords, and added // syntaxJohn Wiegley2009-10-284-32/+82
|
* Fixes to the new query expression parserJohn Wiegley2009-10-284-9/+34
|
* Rewrote the report query parserJohn Wiegley2009-10-284-153/+460
| | | | | | 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.
* Changed some debug textJohn Wiegley2009-10-281-2/+2
|
* Pushing null values into a sequence is legitimateJohn Wiegley2009-10-282-30/+26
|
* Render an expr if expr_t::text() has no stringJohn Wiegley2009-10-282-4/+11
|
* Fixed a gcc warningJohn Wiegley2009-10-281-2/+0
|
* Make "less" the default pager, similar to GitJohn Wiegley2009-10-281-1/+28
|
* Colorization at the terminal now on by defaultJohn Wiegley2009-10-281-0/+3
|
* Added some whitespace for clarityJohn Wiegley2009-10-281-0/+2
|
* The default ledger file is now ~/.ledgerJohn Wiegley2009-10-281-2/+10
|
* No more trailing spaces in the print reportJohn Wiegley2009-10-281-3/+3
|
* Disabled a memory check when --verify is onJohn Wiegley2009-10-281-0/+7
| | | | The check is not complete enough to be trustworthy.
* Revised the forecasting logicJohn Wiegley2009-10-281-31/+65
| | | | | There were cases involving sorting when the old logic could go on forever.
* -D now means --daily, not --deviationJohn Wiegley2009-10-282-3/+3
| | | | | | | | | | | | 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.
* Further improvements to handling temporariesJohn Wiegley2009-10-286-31/+10
|
* Added TRUE_CURRENT_TIME() macroJohn Wiegley2009-10-283-11/+12
| | | | Because CURRENT_TIME() can now be a past date if --now is used.
* Sort by default unless --unsorted is selectedJohn Wiegley2009-10-283-0/+12
|
* Added some additional assertion tests re: tempsJohn Wiegley2009-10-282-5/+14
|
* Whitespace changeJohn Wiegley2009-10-271-4/+2
|
* Removed unnused parameter to value_t::printJohn Wiegley2009-10-273-23/+11
|
* Added --actual-dates, for overriding --effectiveJohn Wiegley2009-10-273-1/+7
| | | | | This is so that if someone has --effective in their .ledgerrc, they can force the use of actual dates.
* Renamed two methods, for consistency's sakeJohn Wiegley2009-10-274-10/+10
|
* Support a --now option, for testing purposesJohn Wiegley2009-10-274-3/+21
| | | | | | 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.
* Fixed a display issue with the balance reportJohn Wiegley2009-10-277-81/+79
|
* In budget report, color large percentages magentaJohn Wiegley2009-10-271-4/+20
|
* Fixed an error with post-simplified mathJohn Wiegley2009-10-271-1/+12
|
* If doing math between amount and balance, simplifyJohn Wiegley2009-10-272-3/+28
|
* Support balancing of postings with integer amountsJohn Wiegley2009-10-271-1/+6
|
* Fixed some debug codeJohn Wiegley2009-10-271-3/+3
|
* Added a new "cleared" reportJohn Wiegley2009-10-273-1/+35
| | | | | | This is a balance report with three columns: Current balance | Cleared balance | Last cleared date
* Added a new "budget" reportJohn Wiegley2009-10-274-10/+51
| | | | | | This is a balance report with four columns: Amount spent | Budgeted Amount | Difference | Percentage
* Allow any amount to be multipled by anotherJohn Wiegley2009-10-271-7/+2
| | | | | The result carries the commodity of the first amount, or the second if the first had no commodity.
* Added debug codeJohn Wiegley2009-10-271-0/+3
|
* Use the WRITTEN date format for idstringsJohn Wiegley2009-10-271-1/+1
|
* Redid the way temporaries are handled in filteringJohn Wiegley2009-10-279-172/+323
|
* Fixed a data lifetime bugJohn Wiegley2009-10-271-2/+7
| | | | | | This was causing budget totals not to appear in balance reports. Fixes 8254755E-7B61-47C8-B48E-A2A7FD79EB80
* When creating temp posts, add them to the accountJohn Wiegley2009-10-271-0/+7
|
* Added a comment about a confusing bit of codeJohn Wiegley2009-10-271-0/+1
|
* Removed two invalid commentsJohn Wiegley2009-10-271-2/+0
|
* Made the id function available in post contextsJohn Wiegley2009-10-274-21/+64
|
* Output pointer values correctly for 64-bit systemsJohn Wiegley2009-10-271-1/+1
|
* Balance assertions now really assertJohn Wiegley2009-10-261-17/+25
| | | | | | | | There are two kinds of balance related options for a posting: a balance assignment, where the amount of the posting is blank and so it fills it in to make the assertion true; and plain assertions, where the amount is not blank and an error is reported if the balance does not match the given amount after the posting is taken into account.
* Added t and T as valexpr synonymsJohn Wiegley2009-10-261-0/+7
| | | | t = display_amount, T = display_total
* Fixed sorting in bal reports when --flat is usedJohn Wiegley2009-10-267-80/+81
| | | | | | | 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.
* In the balance report, don't output any account twiceJohn Wiegley2009-10-261-1/+2
|
* Added an "echo" command, for REPL testingJohn Wiegley2009-10-262-0/+11
|
* If a pricing entry fails to parse, give an errorJohn Wiegley2009-10-261-1/+2
|
* Improved argument parsing logic used by the REPLJohn Wiegley2009-10-263-15/+55
| | | | | It now handles quoted strings, although it doesn't understand escape sequences yet.
* Fixed the Boost facet-based time parsing codeJohn Wiegley2009-10-251-13/+24
|