summaryrefslogtreecommitdiff
path: root/src/textual.cc
Commit message (Collapse)AuthorAgeFilesLines
* Fix Bug 1147: Check balance assertions against the amount AFTERMitchell Kember2016-03-221-10/+12
|
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* Bugfix 1038: empty reg report for this month periodAlexis Hildebrandt2014-12-291-0/+5
| | | | | when year was specified with literal Y or year directive, but not when using apply year.
* Improve error handling when parsing year directivesAlexis Hildebrandt2014-12-281-9/+14
| | | | | | | A literal Y directive or ‘year’ directive with an empty or invalid argument, e.g. ‘2o14’ (that is a small letter ‘oh’ instead of a zero) would fail with the following rather unhelpful error message: Error: bad lexical cast: source type value could not be interpreted as target
* Fix plain year directiveAlexis Hildebrandt2014-12-281-0/+7
| | | | Only Y2014 or apply year 2014 would actually set the year for the following transactions; year 2014 would silently do nothing.
* Bump copyright notice to 2015Alexis Hildebrandt2014-12-271-1/+1
| | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/"
* Correct no-python error messagesAlexis Hildebrandt2014-12-251-2/+2
| | | | [ci skip]
* Fix off by one error in textual.ccAdrian Lang2014-12-111-1/+1
| | | This fixes parsing of transactions with single-character payees and comments.
* Preserve the given cost for printMartin Michlmayr2014-07-141-0/+2
| | | | Patch from John Wiegley
* When a status flag (! or *) is explicitly specified for an individual ↵Max Satula2014-06-301-2/+1
| | | | posting, it always has a priority over entire transaction status.
* Don't lose commodity when cost is not separated by whitespaceMartin Michlmayr2014-06-051-3/+2
| | | | | | | | When a cost was specified without a whitespace after the @ symbol, as in @$5.01, this was incorrectly parsed as 5.01 (losing the commodity) rather than $5.01. Bug fix for #1050
* Fix bug introduced by commit AA2FF2Bthdox2014-05-171-4/+3
| | | | Correction is to not use uninitialized amount
* 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.