summaryrefslogtreecommitdiff
path: root/src/journal.cc
Commit message (Collapse)AuthorAgeFilesLines
* 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}/"
* Cosmetic change - format code consistentlyMartin Michlmayr2014-05-181-4/+4
| | | | | Add a space between if and the opening bracket, between a closing round bracket and the following opening curly bracket, etc.
* rename payee_mappings to payee_alias_mappingsChristophe Rhodes2014-05-121-1/+1
| | | | (and similar renames) in preparation for payee_uuid_mappings
* Initialize journal_t::no_aliases to false upon costructionJohn Wiegley2014-04-211-0/+1
| | | | This fixes a bug introduced by ecd5097d515f53703eb5dc6096da80182c452ad9.
* Require the use of C++11John Wiegley2014-04-171-3/+2
|
* Add a safety check when using deferred postingsJohn Wiegley2014-04-151-4/+46
|
* Apply any outstanding deferred postings at the end of parsingJohn Wiegley2014-04-141-0/+1
|
* Add the concept of "deferred postings"John Wiegley2014-04-131-1/+16
| | | | | 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-1/+1
|
* Adding option --no-aliases to completely disable alias expansionPeter Feigl2014-02-261-0/+3
|
* Adding option --recursive-aliases, adding documentation to man-page and manualPeter Feigl2014-02-261-2/+3
|
* fixing problem with previous commit if no aliases are registeredPeter Feigl2014-02-261-0/+2
|
* Adding support for recursive aliases.Peter Feigl2014-02-251-19/+53
| | | | | | | | | | | 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.
* Bump copyright information to 2014Alexis Hildebrandt2014-02-021-1/+1
|
* Guard against a possible null valueJohn Wiegley2013-09-201-1/+1
|
* Resolve new compiler warnings from ClangJohn Wiegley2013-05-191-3/+3
|
* Bump copyright information to 2013John Wiegley2013-02-181-1/+1
|
* whitespace cleanupJohann Klähn2013-01-161-4/+4
|
* Improvement to account alias expansionJohn Wiegley2013-01-111-1/+12
| | | | | | | Aliases are now expanded not only if they occur by themselves, but also if they occur as the beginning of a multi-part account. Given <alias Food=Expenses:Food> the account <Food:Tomatos> should now be expanded to <Expenses:Food:Tomatos>.
* Switch to using Boost.FormatJohn Wiegley2012-05-141-15/+14
|
* Always call TRACE_CTOR at the end of constructorsJohn Wiegley2012-03-201-3/+3
|
* Added option --day-breakJohn Wiegley2012-03-171-0/+1
|
* Added parsing support for the many value directivesJohn Wiegley2012-03-071-2/+4
|
* Added a few commentsJohn Wiegley2012-03-071-0/+9
|
* Refactored the notion of "the current parsing context"John Wiegley2012-03-011-77/+62
|
* Increased file copyrights to 2012John Wiegley2012-02-291-1/+1
|
* Added some missing variable namesJohn Wiegley2012-02-271-1/+2
|
* OptimizationsJohn Wiegley2012-02-271-52/+58
|
* Added --check-payees optionJohn Wiegley2012-02-271-17/+19
|
* Implement the "tag" metadata directiveJohn Wiegley2012-02-271-3/+63
|
* Enable payee mappingsJohn Wiegley2012-02-271-13/+10
|
* Move when Unknown accounts are processedJohn Wiegley2012-02-271-10/+9
|
* Added new account/payee/commodity directivesJohn Wiegley2012-02-271-16/+148
| | | | | Also added supporting options: --explicit, --permissive, --pedantic, as well as new behavior for --strict.
* The "id" of an item now maps to its UUIDJohn Wiegley2012-02-271-0/+17
|
* Corrected an error messageJohn Wiegley2012-02-261-1/+1
|
* Added --rich-data for 'convert', and SHA1 checksum checkingJohn Wiegley2012-02-261-0/+11
|
* Fixes for variable shadowing (18/28)John Wiegley2012-02-171-2/+2
|
* Cleanup whitespaceJohn Wiegley2011-08-181-1/+1
|
* Revised how Ledger handles the "current year"John Wiegley2010-06-141-6/+4
| | | | | 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.
* Automated xacts may now contain "deferred tags"John Wiegley2010-06-131-4/+6
| | | | | | | | | | | | | | | | 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.
* Untabified all source filesJohn Wiegley2010-06-111-9/+9
|
* Updated copyrights to 2003-2010John Wiegley2010-03-051-1/+1
|
* Reformatted a commentJohn Wiegley2010-02-051-3/+2
|
* Many improvements to Ledger's Python bindingsJohn Wiegley2009-11-191-16/+0
|
* Added has_xdata() methods for journal_t and xact_tJohn Wiegley2009-11-121-0/+20
|
* Did away with the "finalizer" abstractionJohn Wiegley2009-11-111-1/+8
| | | | | This was from an earlier time, when it was intended to be used by Python. But it's not needed anymore.
* Automated postings defer amount expression calculationJohn Wiegley2009-11-111-3/+1
| | | | | | | | | | | | | | | | | This allows for value expressions to be used which reference the incoming posting, for example: = Income:Clients: (Liabilities:Taxes:VAT1) (floor(amount) * 1) (Liabilities:Taxes:VAT2) 0.19 2009/07/27 * Invoice Assets:Bank:Checking $1,190.45 Income:Clients:ACME_Inc The automated posting for VAT1 will use the floored amount multiplied by a factor, while the posting for VAT2 multiples the whole amount as before.
* Renamed journal_t::basket to bucketJohn Wiegley2009-11-071-1/+1
|
* The binary cache is working againJohn Wiegley2009-11-061-1/+2
|
* Moved journal reading code into journal_tJohn Wiegley2009-11-051-13/+84
|