Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Preserve the given cost for print | Martin Michlmayr | 2014-07-14 | 3 | -3/+6 |
| | | | | Patch from John Wiegley | ||||
* | Add a regression test for bug #712 | Martin Michlmayr | 2014-07-14 | 2 | -0/+22 |
| | |||||
* | Add regression tests for bug #713 | Martin Michlmayr | 2014-07-14 | 2 | -0/+88 |
| | |||||
* | Regenerate tests for fix for bug #713 | Martin Michlmayr | 2014-07-14 | 5 | -1799/+639 |
| | | | | | | | | | | | | | | | | | | | | | | | | | The fix for bug #713 changes the way capital gains as well as basis costs are shown. All of these tests use the same input file, which includes capital gains and losses. The tests are too long to update and verify manually but I verified some files and believe the output is correct. I've therefore updated the tests with the output of the fixed ledger. Let's take baseline/opt-lot-dates.test as one example. In the past, ledger generated the following incorrect Equity entries: 190.42G Equity 236.83G Capital Gains -46.41G Capital Losses If you compare the end of the diff of the test, you'll see: - 35.42G + -155.00G The difference is: 35.42 - -155.00 = 190.42 This matches exactly the Equity entries previously generated, which shouldn't be there. | ||||
* | Update tests for fix for bug #713 | Martin Michlmayr | 2014-07-14 | 6 | -42/+37 |
| | | | | | | | John's fix for bug #713 changes the way basis cost are calculated. The patch also fixes #712, which caused ledger to create automatic Equity:Capital Gains that were not correct. Update the test cases accordingly after verifying the new output. | ||||
* | 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. | ||||
* | Make the reconcile balance status message more clear. | Craig Earls | 2014-07-13 | 1 | -1/+1 |
| | |||||
* | make leder-mode-dump-configuration interactive | Craig Earls | 2014-07-13 | 1 | -0/+1 |
| | |||||
* | Added ledger-report-auto-refresh customization variable. | Craig Earls | 2014-07-12 | 1 | -2/+8 |
| | |||||
* | Improve report redo logic. | Craig Earls | 2014-07-12 | 1 | -10/+12 |
| | |||||
* | ledger-redo added as after-save-hook | Craig Earls | 2014-07-12 | 2 | -1/+3 |
| | |||||
* | Merge branch 'master' into ledger-mode-bug-1063-auto-refresh-reports | Craig Earls | 2014-07-12 | 1 | -11/+10 |
|\ | |||||
| * | Merge pull request #309 from holomorph/master | Steve Purcell | 2014-07-12 | 1 | -11/+10 |
| |\ | | | | | | | use inherits for related faces that are the same | ||||
| | * | ledger-fonts.el: untabify | Mark Oteiza | 2014-07-12 | 1 | -2/+2 |
| | | | |||||
| | * | use inherits for related faces that are the same | Mark Oteiza | 2014-07-12 | 1 | -9/+8 |
| |/ | |||||
* / | Code cleanup | Craig Earls | 2014-07-12 | 5 | -69/+26 |
|/ | |||||
* | Merge pull request #308 from vanicat/t/dont-use-flatten | Craig Earls | 2014-07-09 | 1 | -2/+2 |
|\ | | | | | Thanks for catching this. I wonder why they took it out? This is much less readable than 'flatten'. | ||||
| * | ledger-reconcile.el: don't use flatten | Rémi Vanicat | 2014-07-09 | 1 | -2/+2 |
|/ | | | | The flatten function is not part of Emacs, so better not use it. | ||||
* | Merge branch 'ledger-mode-bbug-875-configurable-reconcile-line' | Craig Earls | 2014-07-03 | 1 | -28/+73 |
|\ | |||||
| * | Finished configurable reconcile format line. | Craig Earls | 2014-07-03 | 1 | -4/+15 |
| | | |||||
| * | ledger-reconcile-compile-format-string returns a lambda that is used to ↵ | Craig Earls | 2014-07-02 | 1 | -17/+25 |
| | | | | | | | | format the posting data | ||||
| * | Refactor code to pull posting format into separate defun. Added reconcile ↵ | Craig Earls | 2014-07-02 | 1 | -27/+53 |
| | | | | | | | | buffer header and line configuration defcustom. | ||||
* | | Merge pull request #307 from redstreet/master | Craig Earls | 2014-07-03 | 1 | -22/+74 |
|\ \ | | | | | | | Updated out of date value expression section in the documentation. | ||||
| * | | Fix to 90519fc6e132bd (moved paragraph to end of section). | Redstreet | 2014-07-03 | 1 | -5/+4 |
| | | | |||||
| * | | Updated out of date value expression section in the documentation. | Redstreet | 2014-07-03 | 1 | -22/+75 |
|/ / | |||||
* / | Unify debugging categories | Martin Michlmayr | 2014-07-01 | 3 | -10/+10 |
|/ | | | | | Debugging categories follow the filename, which in this case is singular (rather than plural) "account" and "amount". | ||||
* | Fix bug 1051 ledger-posting-amount-face doesn't work | Craig Earls | 2014-06-30 | 1 | -0/+7 |
| | |||||
* | Add regression test for commit de17ccf1 | Martin Michlmayr | 2014-06-30 | 1 | -0/+61 |
| | | | | | Add regression test for commit de17ccf1 (" When a status flag (! or *) is explicitly specified for an individual…") | ||||
* | Format commands properly | Martin Michlmayr | 2014-06-30 | 1 | -2/+7 |
| | |||||
* | Typo fix | Martin Michlmayr | 2014-06-30 | 1 | -1/+1 |
| | |||||
* | Document --values | Martin Michlmayr | 2014-06-30 | 2 | -1/+4 |
| | |||||
* | Document --unrealized | Martin Michlmayr | 2014-06-30 | 2 | -1/+4 |
| | |||||
* | Merge pull request #306 from maxsatula/status-behavior | John Wiegley | 2014-06-30 | 1 | -2/+1 |
|\ | | | | | Status (cleared/pending/uncleared) processing behavior | ||||
| * | When a status flag (! or *) is explicitly specified for an individual ↵ | Max Satula | 2014-06-30 | 1 | -2/+1 |
|/ | | | | posting, it always has a priority over entire transaction status. | ||||
* | ledger reconcile will recommend the account in the posting, even if point ↵ | Craig Earls | 2014-06-29 | 1 | -2/+1 |
| | | | | isn't in it. | ||||
* | ensures that account with spaces in the names are correctly rested by ↵ | Craig Earls | 2014-06-29 | 1 | -9/+10 |
| | | | | ledger-context | ||||
* | context was not handling decimal-comma properly. | Craig Earls | 2014-06-29 | 1 | -2/+2 |
| | |||||
* | ledger-reconcile clean byte-compile | Craig Earls | 2014-06-28 | 1 | -5/+5 |
| | |||||
* | ledger-complete clean byte compile | Craig Earls | 2014-06-28 | 1 | -20/+4 |
| | |||||
* | Fix Bug 1057: Emacs output does not escape special characters. | Craig Earls | 2014-06-26 | 2 | -74/+81 |
| | |||||
* | Fix bug 1052 ledger-mode mangles transactions with tabs. | Craig Earls | 2014-06-25 | 3 | -4/+14 |
| | |||||
* | Merge pull request #301 from csrhodes/master | Craig Earls | 2014-06-25 | 1 | -1/+2 |
|\ | | | | | | | | | don't add a space when completing. Sorry it took so long. Somehow I got it in my mind that this was a bug report and I just didm;t have time to look. | ||||
| * | don't add a space when completing | Christophe Rhodes | 2014-06-13 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | completing payees with ledger-magic-tab would add a space when there was only one possible completion. That space, in ledger's file format, would always need to be deleted again it might be helpful when completing accounts to add two spaces, but the current completion code organization can't (easily) distinguish between payee and account completion. Adding one space is harmful to account completion too, in that `ledger-account.*regex' parse accounts by looking for two spaces, and treat an account name ending with a single space before the newline as having the space as part of the account name. | ||||
* | | Fix bug 1059, ledger mode deletes character if a posting is cleared but ↵ | Craig Earls | 2014-06-24 | 1 | -1/+2 |
| | | | | | | | | there are less that four space between the account and the amount. | ||||
* | | Merge pull request #304 from thdox/save-in-reconcile-buffer | Craig Earls | 2014-06-22 | 1 | -0/+1 |
|\ \ | | | | | | | Restore C-x C-s keyboard shortcut in reconcile buffer | ||||
| * | | Was introduced with commit 73f336a, which removed a functionality from | thdox | 2014-06-22 | 1 | -0/+1 |
| |/ | | | | | | | | | | | ledger.el old ledger mode. I maintain a branch locally to always restore C-x C-s keyboard shortcut that is so deeply inside my Emacs muscle memory. I propose to restore this definitely. | ||||
* | | Merge pull request #302 from thdox/bash-completion | Martin Michlmayr | 2014-06-22 | 1 | -1/+1 |
|\ \ | | | | | | | Add latest contributed options to bash completion | ||||
| * | | Restore --raw that I erroneously deleted | thdox | 2014-06-22 | 1 | -1/+1 |
| | | | |||||
| * | | Add latest contributed options to bash completion | thdox | 2014-06-22 | 1 | -1/+1 |
| |/ | |||||
* | | Merge pull request #303 from thdox/fix-typo-documentation | Martin Michlmayr | 2014-06-22 | 1 | -2/+2 |
|\ \ | |/ |/| | Fix minor typo |