summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Reformatted a commentJohn Wiegley2010-06-131-3/+3
|
* Fixed a spelling errorJohn Wiegley2010-06-131-3/+1
|
* Minor whitespace fixJohn Wiegley2010-06-131-3/+3
|
* Add support for typed metadataJohn Wiegley2010-06-121-6/+8
| | | | | | | | | | The metadata construct 'Key: Value' is now just a special case for 'Key:: "Value"'. Another after a :: in metadata setting is parsed as a full value expression and typed as such. For example: ; Key:: $400 + $500 ledger -l 'tag("Key") < $1000'
* Untabified all source filesJohn Wiegley2010-06-111-290/+290
|
* Allow fixated costs, as well as pricesJohn Wiegley2010-06-101-0/+11
| | | | | | | | | You can now establish a fixated price automatically by way of a fixated cost. The syntax for this is: 2009/11/01 Sample Assets 1 apple @ =$0.10 Equity
* Allow opt -NDEBUG build to complete without warningsJohn Wiegley2010-06-041-0/+10
|
* Further improved parsing of query expressionsJohn Wiegley2010-06-011-1/+1
| | | | Fixes #210 / D4C2DD6F-8967-4FFC-BBBC-A941F9C53475
* For Boost 1.35 and earlier, use is_regularJohn Wiegley2010-05-231-1/+6
| | | | Fixes 0F17CB7F-A000-4F99-8471-739948AD575F
* Corrected handling of context stack in the parserJohn Wiegley2010-05-221-23/+8
| | | | Fixes F4A477E6-C4F6-43B1-ABCC-4DC325C2869A
* Guard against NULL value passed to "end" directiveJohn Wiegley2010-05-221-1/+1
| | | | Fixes 89233B6D-CB21-4162-98E3-BE38B9336070
* The include directive now supports file globbingJohn Wiegley2010-03-171-5/+33
| | | | | This only happens at the base filename, not for any of the directory names for now.
* Tags were not being set properly on postingsJohn Wiegley2010-03-171-4/+4
|
* Extended regexp syntax for "payee" and "capture"John Wiegley2010-03-101-4/+32
|
* Rewrite the "print" command as a custom functionJohn Wiegley2010-03-081-0/+1
| | | | | There ended up being too many corner cases for the generalized formatter to handle.
* Added new "payee" and "capture" directivesJohn Wiegley2010-03-051-1/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The payee directive allows for transformation of payee names during the parsing of a Ledger file. This means you can record the payee name in one form, but always have it reported in another form. The syntax is (and will be): payee PAYEE_NAME REGEXP or payee PAYEE_NAME REGEXP1 REGEXP2 ... The account directive sets the account automatically based on the payee iff the base account name is Unknown. For example, if you have a bunch of transaction in Expenses:Unknown, you can assign accounts for several automatically using: account ACCOUNT_NAME PAYEE_REGEXP or account ACCOUNT_NAME PAYEE_REGEXP1 PAYEE_REGEXP2 ...
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|