Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Optimizations | John Wiegley | 2012-02-27 | 1 | -3/+4 |
| | |||||
* | Implement the "tag" metadata directive | John Wiegley | 2012-02-27 | 1 | -3/+3 |
| | |||||
* | Fixed the scoping of auto xact predicates | John Wiegley | 2012-02-27 | 1 | -4/+6 |
| | |||||
* | Whitespace fix | John Wiegley | 2012-02-27 | 1 | -3/+2 |
| | |||||
* | The "id" of an item now maps to its UUID | John Wiegley | 2012-02-27 | 1 | -27/+0 |
| | |||||
* | Removed unneeded break statements | John Wiegley | 2012-02-17 | 1 | -1/+0 |
| | |||||
* | Cleanup whitespace | John Wiegley | 2011-08-18 | 1 | -3/+3 |
| | |||||
* | Corrected a transient display order flaw | John Wiegley | 2011-03-28 | 1 | -1/+10 |
| | | | | This was harmless, but affected the testability of results. | ||||
* | Price annotation no longer inject an implied cost | John Wiegley | 2010-06-22 | 1 | -21/+7 |
| | | | | | | | | | | | | | | | | | | | | | | | Consider the following transaction: 2010-06-22 Sample Assets:Brokerage 10 AAPL {$30} Assets:Brokerage Previously, this would have been equivalent to: 2010-06-22 Sample Assets:Brokerage 10 AAPL @ $30 Assets:Brokerage However, this is not always what the user expects to happen. When @ is not being used, the transaction should reflect a mere transfer of commodities. This is now how it works, and thus the above transaction is now equivalent to the following instead: 2010-06-22 Sample Assets:Brokerage 10 AAPL {$30} Assets:Brokerage -10 AAPL {$30} | ||||
* | Don't do cost finalization for auto/period xacts | John Wiegley | 2010-06-22 | 1 | -48/+50 |
| |