summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add unit test Absolute for balance_ttripun2014-08-111-0/+25
|
* add unit test negation for balance_ttripun2014-08-111-0/+35
|
* add unit test for balance divisiontripun2014-08-111-0/+45
|
* add test for multiplicationtripun2014-08-111-0/+45
|
* edited subraction testtripun2014-08-111-1/+1
|
* add Equality unit test for balancetripun2014-08-111-2/+65
|
* added boost subtraction unit testtripun2014-08-111-0/+39
|
* added balance addition unit testtripun2014-08-111-4/+42
|
* add balance Test constructorstripun2014-08-111-2/+22
|
* Merge pull request #315 from tripun/options_testsMartin Michlmayr2014-08-101-0/+49
|\ | | | | add test for --equity
| * removing test with reg --lot-prices --equity until issue is fixedtripun2014-08-101-13/+0
| |
| * add test for --equitytripun2014-08-101-0/+62
|/
* Rename test since the equity command is being tested, not the optionMartin Michlmayr2014-08-101-0/+0
|
* Define payees to get rid of trailing whitespaceMartin Michlmayr2014-08-101-10/+10
|
* Fix minor whitespace issuesMartin Michlmayr2014-08-103-7/+7
|
* fixed --rich-data testtripun2014-08-101-6/+6
|
* add test for --datetime-formattripun2014-08-101-0/+22
|
* add test for --time-colontripun2014-08-101-0/+45
|
* add test for --time-reporttripun2014-08-101-0/+44
|
* add test for --immediatetripun2014-08-101-0/+32
|
* add test for alternative of tail, i.e lasttripun2014-08-101-0/+14
|
* add test for --date exprtripun2014-08-101-0/+50
|
* add tests for --detail and --rich-datatripun2014-08-101-0/+32
|
* add alternative for --head , i.e --firsttripun2014-08-101-0/+14
|
* added test for alternatives of --gain , i.e --change and -Gtripun2014-08-101-1/+10
|
* add test for --dctripun2014-08-101-0/+22
|
* Merge commit '689112d3c0ffeb895ad4d8b9f61b50c5f537f0ed'Craig Earls2014-07-291-1/+1
|\
| * Merge pull request #311 from tripun/code_coverageJohn Wiegley2014-07-241-1/+1
| |\ | | | | | | fix code coverage problem
| | * fix code coverage problemtripun2014-07-241-1/+1
| | |
* | | Improve ledger-report-redo buffer type checking.Craig Earls2014-07-291-1/+1
|/ /
* | For ledger-post-align-postings to run on xacts added with ledger-addCraig Earls2014-07-152-2/+2
| |
* | Merge pull request #310 from tbm/712-713-costsMartin Michlmayr2014-07-1419-1846/+796
|\ \ | |/ |/| Change the definition of cost
| * Preserve the given cost for printMartin Michlmayr2014-07-143-3/+6
| | | | | | | | Patch from John Wiegley
| * Add a regression test for bug #712Martin Michlmayr2014-07-142-0/+22
| |
| * Add regression tests for bug #713Martin Michlmayr2014-07-142-0/+88
| |
| * Regenerate tests for fix for bug #713Martin Michlmayr2014-07-145-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 #713Martin Michlmayr2014-07-146-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 madeMartin Michlmayr2014-07-141-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 Earls2014-07-131-1/+1
|
* make leder-mode-dump-configuration interactiveCraig Earls2014-07-131-0/+1
|
* Added ledger-report-auto-refresh customization variable.Craig Earls2014-07-121-2/+8
|
* Improve report redo logic.Craig Earls2014-07-121-10/+12
|
* ledger-redo added as after-save-hookCraig Earls2014-07-122-1/+3
|
* Merge branch 'master' into ledger-mode-bug-1063-auto-refresh-reportsCraig Earls2014-07-121-11/+10
|\
| * Merge pull request #309 from holomorph/masterSteve Purcell2014-07-121-11/+10
| |\ | | | | | | use inherits for related faces that are the same
| | * ledger-fonts.el: untabifyMark Oteiza2014-07-121-2/+2
| | |
| | * use inherits for related faces that are the sameMark Oteiza2014-07-121-9/+8
| |/
* / Code cleanupCraig Earls2014-07-125-69/+26
|/
* Merge pull request #308 from vanicat/t/dont-use-flattenCraig Earls2014-07-091-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 flattenRĂ©mi Vanicat2014-07-091-2/+2
|/ | | | The flatten function is not part of Emacs, so better not use it.