summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace fixesJohn Wiegley2012-03-071-9/+9
|
* Corrected several compile and link problemsJohn Wiegley2012-03-061-3/+7
|
* Added "value" sub-directive for commodity directiveJohn Wiegley2012-03-061-0/+8
|
* Simplified Python import in a journal fileJohn Wiegley2012-03-051-7/+28
|
* Rewrote the way annotated commodities are managedJohn Wiegley2012-03-051-9/+2
| | | | | The new scheme should be much more efficient, and allows for future growth of what annotations may appear on a commodity.
* Use unique_ptr instead of std::auto_ptrJohn Wiegley2012-03-051-5/+5
|
* This now works: ledger --import os eval 'os.path.isdir("/tmp")'John Wiegley2012-03-021-2/+2
|
* Allow --options to be added by the user in PythonJohn Wiegley2012-03-011-2/+3
|
* Propagate out parsing context countsJohn Wiegley2012-03-011-3/+15
|
* Fixed a typoJohn Wiegley2012-03-011-1/+1
|
* Was missing an assignment of context.scopeJohn Wiegley2012-03-011-0/+2
|
* Added a new 'python' directiveJohn Wiegley2012-03-011-0/+62
|
* Fixed a bug that was causing includes to crashJohn Wiegley2012-03-011-0/+1
| | | | Fixes #661
* Started writing Python unit testsJohn Wiegley2012-03-011-1/+1
|
* Refactored the notion of "the current parsing context"John Wiegley2012-03-011-245/+203
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Removed incorrect session.h include in textual.ccJohn Wiegley2012-02-291-1/+0
|
* Renamed actual/effective dates to primary/auxiliaryJohn Wiegley2012-02-281-1/+1
|
* Allow xact notes on periodic transactionsJohn Wiegley2012-02-281-3/+6
| | | | Fixes #448
* Fixed display problem in an error messageJohn Wiegley2012-02-281-2/+2
|
* 'end apply' doesn't need a qualifierJohn Wiegley2012-02-271-4/+4
|
* Added a TODO commentJohn Wiegley2012-02-271-0/+2
|
* Added 'note' sub-directive to 'commodity'John Wiegley2012-02-271-0/+2
|
* Added a TODO commentJohn Wiegley2012-02-271-0/+2
|
* Implement the "tag" metadata directiveJohn Wiegley2012-02-271-13/+45
|
* Implemented account and commodity directivesJohn Wiegley2012-02-271-95/+174
|
* Output some line numbers with warningsJohn Wiegley2012-02-271-2/+4
|
* Added new account/payee/commodity directivesJohn Wiegley2012-02-271-179/+200
| | | | | Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict.
* Added --rich-data for 'convert', and SHA1 checksum checkingJohn Wiegley2012-02-261-4/+6
|
* Keep notes on their own line if parsed that wayJohn Wiegley2012-02-261-0/+2
|
* Fixed many Clang type conversion warnings with static_castJohn Wiegley2012-02-171-11/+12
|
* Added a missing call to context.close() in the parserJohn Wiegley2012-02-171-0/+1
|
* Fixes for variable shadowing (25/28)John Wiegley2012-02-171-3/+4
|
* Do not evaluate strings as booleansJohn Wiegley2012-02-111-1/+1
|
* Cleanup whitespaceJohn Wiegley2011-08-181-5/+5
|
* Removed unused variablesJohn Wiegley2011-08-181-4/+2
|
* Rely on a default argument in textual.ccJohn Wiegley2011-07-171-1/+1
|
* Fix for Boost 1.46 and the new Filesystem libraryJohn Wiegley2011-03-231-1/+1
|
* Corrections to the regression testsJohn Wiegley2011-03-031-2/+2
|
* Support Boost 1.46 and Boost.Filesystem v3John Wiegley2011-02-281-1/+15
|
* Added "comment" and "test" directivesJohn Wiegley2011-02-121-1/+20
|
* Fixes for compilation as C++0x codeJohn Wiegley2011-02-041-1/+1
|
* Scopes can now provide a description of themselvesJohn Wiegley2010-06-241-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 new "bold" modifier to query expressionsJohn Wiegley2010-06-221-3/+7
| | | | | | | | | | | | | | For example: ledger bal assets bold checking Or you can use expressions: ledger bal assets bold '=total > 1000' This last is identical to saying: ledger bal -l 'account =~ /assets/' --bold-if='total > 1000'
* Filename globs now surrounded by ^$John Wiegley2010-06-181-2/+2
|
* Changes for building with Visual Studio 2008John Wiegley2010-06-151-4/+4
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-25/+32
| | | | | 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.
* Fixed several misplaced parenthesesJohn Wiegley2010-06-131-4/+4
|
* Added support for assert, check and expr directivesJohn Wiegley2010-06-131-18/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These can occur in many places: ; Within an automated transaction, the assert is evaluated every time ; a posting is matched, with the expression context set to the ; matching posting. = /Food/ assert account("Expenses:Food").total >= $100 2010-06-12 Sample Expenses:Food $100 Assets:Checking ; At file scope, the expression is evaluated with "global" scope. assert account("Expenses:Food").total == $100 ; At the top of a transction, the assertion's scope is the ; transaction. After a posting, the scope is that posting. Note ; however that account totals are only adjusted after successful ; parsing of a transaction, which means that all the assertions below ; are true, even though it appears as though the middle posting should ; affect the total immediately (which is not the case). 2010-06-12 Sample 2 assert account("Expenses:Food").total == $100 Expenses:Food $50 assert account("Expenses:Food").total == $100 Assets:Checking assert account("Expenses:Food").total == $100
* Automated xacts may now contain "deferred tags"John Wiegley2010-06-131-3/+3
| | | | | | | | | | | | | | | | For example, consider the following automated transaction: = /Food/ ; Next Date:: date + 10 (Expenses:Tax) 1.00 ; Next Date:: date + 20 This will add a metadata field named 'Next Date' to the _matching posting_, with a value that is 10 days later than that posting. It will also generate a new posting for that transaction, whose amount is the same as the matching posting. Further, it will add a 'Next Date' metadata tag to the _generated posting_ whose value is 20 days later than the date of the matching posting.