Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add support for --hashes=sha512_256 as another algorithm | John Wiegley | 2024-08-05 | 1 | -2/+3 |
| | |||||
* | Make xact hashes independent of posting order | John Wiegley | 2024-08-05 | 1 | -3/+31 |
| | | | | | Also, support matching provided hashes against a prefixed of the generated hash. | ||||
* | Add support for hash chaining to detect modifications in postings | John Wiegley | 2024-08-05 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | fix #2220, bucket transactions ignored with reg --related | Tavis Ormandy | 2023-04-18 | 1 | -1/+1 |
| | | | | | | This adds a new item flag, `ITEM_INFERRED`, that differentiates generated items from bucket items. This makes them show up as related items in reports. | ||||
* | Update copyright year | Alexis Hildebrandt | 2023-02-02 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Fix balancing commodity with smaller unit. | Maria | 2022-10-11 | 1 | -1/+1 |
| | |||||
* | Update copyright statement for 2022 | Alexis Hildebrandt | 2022-07-02 | 1 | -1/+1 |
| | |||||
* | Add an assertion to src/xact.cc | John Wiegley | 2020-03-27 | 1 | -0/+2 |
| | |||||
* | Simple whitespace fix | John Wiegley | 2020-03-27 | 1 | -1/+1 |
| | |||||
* | Ignore null deferred postings | Michael Budde | 2019-01-23 | 1 | -3/+5 |
| | | | | | | | | | | | | | | | | | | All-null transactions (i.e. a transaction where all postings have a null amount) are discarded during parsing and the `xact` object is free'd. But if the transaction contains a deferred posting this results in a use-after-free vulnerability because a reference to the deferred posting is stored in the account object which is later read when deferred postings are applied after parsing is finished. Ignore null deferred postings to prevent this – they should not have any effect any way. Thanks to Cory Duplantis for reporting this issue and providing an initial analysis. Ref TALOS-2017-0304, CVE-2017-2808 Fixes #1723 | ||||
* | Make automated transactions work with assertions | Christoph Dittmann | 2018-06-09 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | This fixes issue #1127. In my understanding, PR #552 was meant to fix this, but was incomplete. Without this patch, automated transactions are invisible to assertions. This patch fixes this by adding a flag to the account to tell it that there is a new posting, analogous to the behavior of finalize(). I dug up issue #1127 too late to find that this is the same solution proposed by @tbm. Although I wrote this independently, credit goes to Martin Michlmayr (@tbm). | ||||
* | Fix auto xact posts not getting applied to account total durring journal parse | DJ Edmonson | 2018-03-23 | 1 | -3/+6 |
| | |||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2018-01-27 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Transfer null_post flags to generated postings | Aaron Lindsay | 2018-01-09 | 1 | -1/+1 |
| | | | Resolve issue where generated balanced postings would become real when the original null post was virtual. | ||||
* | [misc] Update year in copyright notice to 2017 | Alexis Hildebrandt | 2017-01-05 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | [misc] Update year in copyright notice to 2016 | Alexis Hildebrandt | 2016-01-02 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Bump copyright notice to 2015 | Alexis Hildebrandt | 2014-12-27 | 1 | -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}/" | ||||
* | "mispelled" was misspelled | Joseph Mornin | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | Preserve original cost basis when gain or loss is made | Martin Michlmayr | 2014-07-14 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | Change the definition of cost: in the past, if you bought 1 AAA for $10 and then sold it for $12, ledger would take $12 as the cost. With the patch, the original cost of $10 is preserved ss the cost basis. In my opinion, this brings ledger in line with accounting expectations. This change fixes bugs #712 and #713. Bug #712 is about Equity:Capital Gains and Equity:Capital Loss entries ledger automatically generates that are in my opinion incorrect. Bug #713 is about strange behaviour with -B after a capital gain or loss is made. Patch from John Wiegley. | ||||
* | Use the POST_COST_VIRTUAL flag when exchange commodities | John Wiegley | 2014-05-08 | 1 | -3/+3 |
| | | | | Fixes #999 | ||||
* | Add the concept of "deferred postings" | John Wiegley | 2014-04-13 | 1 | -1/+4 |
| | | | | | This is pretty much exclusively for allowing one to use balance assertions with replicated transactions across multiple files. | ||||
* | Bump copyright information to 2014 | Alexis Hildebrandt | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Remove some unnecessary and complicated logic | John Wiegley | 2013-05-19 | 1 | -34/+5 |
| | | | | Fixes #712 | ||||
* | fix ledger xml output, remove ledger json command | Johann Klähn | 2013-03-08 | 1 | -12/+6 |
| | | | | | | | | | | | | As the format used by property trees to represent valid JSON and that for valid XML is too different and given that there are more requests for valid XML output I decided to pursue a quick fix and remove the json command in favor of a working xml command. See bug #782, #909, recent discussion on mailing list. JSON support is postponed until I or someone else finds time to work on this or the python bindings are more stable. | ||||
* | Bump copyright information to 2013 | John Wiegley | 2013-02-18 | 1 | -1/+1 |
| | |||||
* | whitespace cleanup | Johann Klähn | 2013-01-16 | 1 | -5/+5 |
| | |||||
* | Properly handle metadata tags on auto-postings | John Wiegley | 2012-11-12 | 1 | -6/+21 |
| | |||||
* | Account names in auto-xacts can be format strings | John Wiegley | 2012-11-12 | 1 | -0/+9 |
| | |||||
* | Implemented Bug551 Automatic Transactions are cleared base on parent | Craig Earls | 2012-10-23 | 1 | -0/+8 |
| | |||||
* | Fixed a subtle memory overwrite | John Wiegley | 2012-06-27 | 1 | -8/+10 |
| | | | | Fixes #608 | ||||
* | Converted the Ledger build system to use CMake | John Wiegley | 2012-05-20 | 1 | -5/+5 |
| | |||||
* | Switched to Boost.PropertyTree for XML generation | John Wiegley | 2012-05-18 | 1 | -42/+16 |
| | |||||
* | Switch to using Boost.Format | John Wiegley | 2012-05-14 | 1 | -5/+4 |
| | |||||
* | Resolve some issues with proof builds | John Wiegley | 2012-04-15 | 1 | -1/+2 |
| | |||||
* | Add 'data' member to account/journal objects | John Wiegley | 2012-04-13 | 1 | -0/+3 |
| | |||||
* | Simplified some code in xact.cc | John Wiegley | 2012-03-23 | 1 | -62/+42 |
| | |||||
* | Improved error reporting for bad account names | John Wiegley | 2012-03-16 | 1 | -2/+21 |
| | | | | Fixes #374 | ||||
* | Added the notion of "virtual costs" | John Wiegley | 2012-03-09 | 1 | -1/+1 |
| | |||||
* | Added some missing DEBUG #if's | John Wiegley | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | Deferred notes were being processed too late | John Wiegley | 2012-03-07 | 1 | -8/+8 |
| | |||||
* | Added parsing support for the many value directives | John Wiegley | 2012-03-07 | 1 | -0/+2 |
| | |||||
* | Call register_account for posts created by auto xacts | John Wiegley | 2012-03-07 | 1 | -2/+3 |
| | |||||
* | Corrected several compile and link problems | John Wiegley | 2012-03-06 | 1 | -0/+2 |
| | |||||
* | Added (disabled) code to stop sorting generated balancing postings | John Wiegley | 2012-03-05 | 1 | -3/+25 |
| | |||||
* | Added some DEBUG statements | John Wiegley | 2012-03-05 | 1 | -0/+2 |
| | |||||
* | When deleting a post from an xact, remove it from its account | John Wiegley | 2012-03-05 | 1 | -0/+2 |
| | |||||
* | Refactored the notion of "the current parsing context" | John Wiegley | 2012-03-01 | 1 | -2/+4 |
| | |||||
* | Increased file copyrights to 2012 | John Wiegley | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Renamed actual/effective dates to primary/auxiliary | John Wiegley | 2012-02-28 | 1 | -3/+3 |
| | |||||
* | Added a TODO comment | John Wiegley | 2012-02-27 | 1 | -0/+2 |
| |