summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
...
* Ensure that high-levels directives have arguments if they need oneMartin Michlmayr2014-05-141-0/+8
| | | | | Ensure that high-levels directives, such as account, alias and commodity, have arguments if they need one. Bug fix for #1036
* Ensure that directives have arguments if they need oneMartin Michlmayr2014-05-141-0/+11
| | | | | Ensure that account, commodity and payee directives have arguments if they need one. Bug fix for #785
* support payee uuid directiveChristophe Rhodes2014-05-131-0/+21
| | | | | | | | | | | | | The semantics of this are a little bit tricky: we want, if we come across a transaction with exactly the given UUID, to set the transaction's payee to be the specified one. We need to set that payee before the first post in the transaction is parsed, otherwise that post will inherit the wrong payee; however, we need to do it after the transaction's tags have been parsed. The implementation as it is in this commit is potentially a little wasteful, if there are post-like (non-comment non-assertion) entries in the transaction that don't successfully parse as posts.
* rename payee_mappings to payee_alias_mappingsChristophe Rhodes2014-05-121-2/+2
| | | | (and similar renames) in preparation for payee_uuid_mappings
* Improve an error message relating to balance assertionsJohn Wiegley2014-04-161-3/+8
|
* Apply any outstanding deferred postings at the end of parsingJohn Wiegley2014-04-141-0/+3
|
* Add the concept of "deferred postings"John Wiegley2014-04-131-0/+6
| | | | | This is pretty much exclusively for allowing one to use balance assertions with replicated transactions across multiple files.
* The option --permissive now quiets balance assertionsJohn Wiegley2014-04-131-6/+9
|
* Adding support for recursive aliases.Peter Feigl2014-02-251-0/+5
| | | | | | | | | | | Alias expansion is now a loop. If you define alias A=B:A alias B=C:B then A will expand to C:B:A. Also added a short section to the manual about this.
* Fix apply_year_directiveAlexis Hildebrandt2014-02-121-2/+2
| | | | | | Using the Y 2014 syntax works fine, but using apply year 2014 resulted in the following error: Error: Year is out of valid range: 1400..10000 since part of the given year string was chopped off.
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Fixed parsing of the "fixed" directiveJohn Wiegley2013-05-191-4/+7
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* Added missing call to timelog.close()John Wiegley2013-01-301-0/+4
|
* Properly handle metadata tags on auto-postingsJohn Wiegley2012-11-121-1/+1
|
* Corrected a typoJohn Wiegley2012-10-311-2/+2
|
* fix bucket directive (bug 765)Johann Klähn2012-10-231-4/+4
| | | | | | | | This was caused by both 'A' and 'bucket' using default_account_directive. This function was still stripping the 'A' directive, so the first character of the account name used with 'bucket' was cut off. Maybe the code for the other directives should be changed accordingly for consistency (put line + 1 in call instead of function).
* Always store absolute paths internallyJohn Wiegley2012-08-021-3/+2
|
* Converted the Ledger build system to use CMakeJohn Wiegley2012-05-201-13/+4
|
* Switch to using Boost.FormatJohn Wiegley2012-05-141-16/+16
|
* Added "last_checkout_cleared" valexpr variableJohn Wiegley2012-05-071-4/+4
|
* Whitespace fixJohn Wiegley2012-04-041-5/+4
|
* Fixed #711: Parsing of alias directiveJohn Wiegley2012-03-171-8/+4
|
* Added option --day-breakJohn Wiegley2012-03-171-2/+1
|
* Improved error reports about leading whitespaceJohn Wiegley2012-03-161-4/+13
|
* Unexpected initial whitespace is an error (again)John Wiegley2012-03-161-3/+2
| | | | Fixes #565
* Fixed a few bugs related to apply directivesJohn Wiegley2012-03-121-33/+56
|
* Allow payee names to contain multiple spacesJohn Wiegley2012-03-121-1/+24
|
* Ignore all trailing whitespace in Ledger journalsJohn Wiegley2012-03-121-13/+12
|
* Added the notion of "virtual costs"John Wiegley2012-03-091-2/+9
|
* Added some missing DEBUG #if'sJohn Wiegley2012-03-071-0/+2
|
* Added parsing support for the many value directivesJohn Wiegley2012-03-071-0/+22
|
* Fixed parsing of "deferred notes" in auto xactsJohn Wiegley2012-03-071-6/+1
|
* 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
|