summaryrefslogtreecommitdiff
path: root/src/journal.cc
Commit message (Collapse)AuthorAgeFilesLines
* Add support for --hashes=sha512_256 as another algorithmJohn Wiegley2024-08-051-2/+3
|
* Add support for hash chaining to detect modifications in postingsJohn Wiegley2024-08-051-2/+2
| | | | | | | | | | | | | | | | | | | The following details of a posting contribute to its hash: fullname of account string representation of amount Each posting hashes contributes to the transaction hash, which is compromised of: previous transaction’s hash (as encountered in parsing order) actual date optional auxiliary date optional code payee hashes of all postings Note that this means that changes in the “code” or any of the comments
* Update copyright yearAlexis Hildebrandt2023-02-021-1/+1
| | | | [skip ci]
* Update copyright statement for 2022Alexis Hildebrandt2022-07-021-1/+1
|
* Fix issues related to payees declared on posting's metadataDiogo Trentini2021-02-021-15/+31
| | | | | Payees declared on posting's metadata are now validated with `--check-payees` option. Also, their aliases are now considered on reports as well.
* Make explicit option a no-opCandyAngel2020-04-031-13/+0
| | | | Fixes #1877
* fix #1850: segfault when using ledger printTobias Pankrath2020-01-081-1/+1
|
* Remove know-ification of elements due to post stateCandyAngel2019-08-271-20/+0
|
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2018-01-271-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2017Alexis Hildebrandt2017-01-051-1/+1
| | | | [ci skip]
* [misc] Update year in copyright notice to 2016Alexis Hildebrandt2016-01-021-1/+1
| | | | [ci skip]
* 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.