summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove spurious print statement.Bradley M. Kuhn2013-02-181-1/+0
|
* Subtotaling of BRANCH DEPOSITs.Bradley M. Kuhn2013-02-181-2/+43
| | | | | | | | The auditors seem to like to see the check deposits made to be subtotaled, so that's done here. I attempted to aid this by using a --sort and/or --sort-xacts option (or combo thereof) on the ledger command line, but this didn't work as expected. I opened a bug in ledger about this: http://bugs.ledger-cli.org/show_bug.cgi?id=901
* Remove extra newlineBradley M. Kuhn2013-02-181-1/+1
|
* Rework report to be just two files (disbursements and receipts).Bradley M. Kuhn2013-02-181-19/+18
| | | | Ensure that tagged linked files appear for all lines.
* Sort solution by date in output.Bradley M. Kuhn2013-02-181-1/+1
|
* Searching is better when you can set the begin date, end date and then go ↵Bradley M. Kuhn2013-02-181-6/+6
| | | | back from begin date.
* Improve spreadsheet and debugging output.Bradley M. Kuhn2013-02-181-6/+10
|
* This could be for any period, not just the FY.Bradley M. Kuhn2013-02-181-1/+1
|
* Correct account names due to renaming of Conference accounts in chart of ↵Bradley M. Kuhn2013-02-181-4/+4
| | | | accounts.
* Remove output of TXT files. CSV output is adequate.Bradley M. Kuhn2013-02-181-13/+0
|
* Correct regular expression for account queries to avoid inclusion of ↵Bradley M. Kuhn2013-02-181-2/+2
| | | | | | | | | | | | | sub-accounts. The previous queries had a bug whereby an account in the form "A:B" would include all transactions for sub accounts such as "A:B:C". That's not the intended effect. Entries should appear in the lowest level account, and not in their parent. The regular expression now is anchored at start and finish in both queries to ensure this works correctly.
* Support for title: field, to name sheets in the ODS file.Bradley M. Kuhn2013-02-181-1/+4
| | | | | If "title:SOMETHING" occurs in the CSV file, use SOMETHING as the title of the sheet.
* Start search from date: easy way to resume searches.Bradley M. Kuhn2013-02-181-5/+5
| | | | | | Instead of always starting a search from the end date, allow a CLI option that is the data to use for the start of searching (back from the end date). This is useful when resuming a search (since they take a long time).
* Finish reporting details for STDOUT; change command line arg to bank balance.Bradley M. Kuhn2013-02-181-20/+40
| | | | | | | Report in CSV now goes to STDOUT. The command line argument that was the difference to seek is now the bank balance.
* Default to brute-force subset sum solution.Bradley M. Kuhn2013-02-181-8/+44
| | | | | | The dynamic programming version of the subset sum problem required far too much RAM for larger bank balances. Meanwhile, the brute-force is not to bad now that the loop tries the closer dates *first*.
* Support for a list of known checksums of files already copied over.Bradley M. Kuhn2013-02-181-9/+70
| | | | | | | | | | For the times when we want to make shorter names of files by doing copies of the documentation files for hyperlink usage, allow input of a new command line option which is a list in the form of: PATH_TO_FILE : sha25sum so that those files can be used rather than new copies made.
* Rename the function to note it's the dynamic programming one.Bradley M. Kuhn2013-02-181-2/+2
|
* Loop through to build smaller sets when testing.Bradley M. Kuhn2013-02-181-29/+52
| | | | | | | Usually, transactions that didn't appear are nearby in date to the statement date. This loop cycles through. Overall, this would take longer to find a solution, but since most solutions are in the early dates "back" from the statement date, this will probably be faster in typical cases.
* Basic implementation probably correct, but needs much RAM.Bradley M. Kuhn2013-02-181-9/+36
| | | | | This is the basic implementation but for large numbers, it needs a *LOT* of RAM.
* Began work on script to reconcile bank accounts.Bradley M. Kuhn2013-02-181-0/+122
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal here is to take as input an account, a monthly balance amount that appears on a bank statement, and the date of that bank statement and output the list of transactions that likely weren't cleared properly as of that date that caused the balance in the accounts to fail to match the balance that appeared on the statement. Note that determining this answer requires solving the known NP-Complete problem called the subset sum problem. There is a known pseudo-polynomial dynamic programming solution to this problem, but it's still exponential in the size of the numbers you have to balance. So, if you have *big* account balances, this will make take quite a while to run. For smaller accounts, the pseudo-polynomial solution might be helpful. (BTW, the wikipedia entry on the subset sum problem isn't, at the time of this commit, particularly good, but it's "good enough" to give you a sense of what the subset sum problem is: http://en.wikipedia.org/wiki/Subset_sum_problem ) I originally wrote the subset sum problem solution implementation here: https://gitorious.org/bkuhn/small-hacks/commit/2dca069d810b61cdfad46e00abcb1a3edaf56d1b The code is just cut and pasted in here with some minor modifications. This rest of this first commit just has that aforementioned paste, plus the beginnings of the CLI and query to run to get the proper entries.
* Add --single-file-directory option: create single directory with all linked ↵Bradley M. Kuhn2013-02-181-5/+46
| | | | | | | | | | | | | | | | files. This new option copies all files to the directory specified as an argument to the --single-file-directory option, and also creates dummy shorter filenames for the files. This feature was implemented to get around a problem found when zip'ing the spreadsheet up with the supporting files for users on Windows. The Windows users encounter the error 0x80010135 related to some of the ZIP files going beyond the maximum path name length on windows. Apparently, opening ZIP files with long path names just doesn't work on Microsoft systems. I've suggested our accountants switch to a Free Software operating system, but they declined.
* Merge branch 'next' of https://github.com/ledger/ledger into nextCraig Earls2013-02-18128-129/+129
|\
| * Bump copyright information to 2013John Wiegley2013-02-18128-129/+129
| |
* | Fixes Bug 900Craig Earls2013-02-181-13/+12
|/ | | | | | If the buffer being reconciles was killed with the *Reconcile* buffer still around their were dirty hooks left around that caused bug problems. This fix adds a local kill-buffer hook that calls the ledger-quit routines
* A better try to deal with decimal-comma from ledgerCraig Earls2013-02-175-29/+51
|
* Merge pull request #156 from tubaman/embedded_python_doc_fixJohn Wiegley2013-02-171-2/+2
|\ | | | | Small corrections in the Embedded Python section
| * Small corrections in the Embedded Python sectionRyan Nowakowski2013-02-171-2/+2
|/
* Make sure ledger-fully-complete-entry copies the rest of the payee lineCraig Earls2013-02-161-1/+6
|
* Changed prompt for reconciliation target.Craig Earls2013-02-152-7/+6
|
* Fixed overrun when ledger report would expand argument and cmd would get shortCraig Earls2013-02-151-3/+17
|
* Corrects problem clearing a transactionCraig Earls2013-02-151-1/+1
| | | | toggle-current in the payee line will override all posting statuses and clear or unclear the entire transaction.
* Fixes Bug 897. toggle now works correctly if there are comment lines in the xactCraig Earls2013-02-151-12/+20
|
* Oops. This adds missing parenthesis to the last commit.Craig Earls2013-02-152-2/+2
|
* Improved error reportingCraig Earls2013-02-154-10/+4
|
* Bug 894 Changing reconciliation account now repositions point in the ↵Craig Earls2013-02-141-2/+3
| | | | Reconcile buffer correctly.
* Code commenting cleanup.Craig Earls2013-02-1413-174/+309
|
* Added a copy transaction function to ledger-modeCraig Earls2013-02-142-7/+29
|
* Add highlighting in the report window if the line is mapped to a fileCraig Earls2013-02-142-15/+24
|
* Fix to target change function in leg-reconcileCraig Earls2013-02-141-0/+1
| | | | Took out the (interactive) statement and it needed to be there.
* Improved ledger-report visit source capabilitiesCraig Earls2013-02-141-43/+48
|
* Added menu entry for complete entry.Craig Earls2013-02-133-35/+37
| | | | Refactored leg-complete to get rid of some side effect usage
* Added rudimentary target checking to reconcile.Craig Earls2013-02-134-11/+152
|
* Bug 893 Ledger reconcile loses alignmentCraig Earls2013-02-132-15/+15
| | | | | | An earlier change to multi-file support stored the actual markers to the beginnings of the transaction/postings. When reconcile would insert characters it would invalidate those marker and after many items and been cleared could result in severe misalignment. This change brings back storing the line-numbers as reported by emacs.
* Correct behavior of ledger report when entering a new reportCraig Earls2013-02-132-28/+36
| | | | ledger-report-save would fail if you entered a new report with a name. It wouldn't save the customization to the disk, and if you tried to save manually it would complain about an identical command.
* Merge pull request #155 from vanicat/t/reconcile_and_windowsCraig Earls2013-02-131-21/+25
|\ | | | | T/reconcile and windows
| * Ensure that the reconcile buffer is shown when ledger-reconcile is called.Rémi Vanicat2013-02-131-10/+14
| |
| * In ledger-do-reconcile, don't act on windows when reconcile hasn't oneRémi Vanicat2013-02-131-11/+11
| | | | | | | | | | | | Ledger-do-reconcile might be called indirectly (in the after-save-hook for example) and one might not want this buffer she has buried to show up again when she is saving another (even related) buffer.
* | Fixes workflow for using toggle-pending with clear-whole-transactionsCraig Earls2013-02-132-6/+12
|/
* Bug 882 Calc mode doesn't play nice with decimal commaCraig Earls2013-02-121-2/+15
| | | | Added a few lines to transform the amount to decimal period format before pushing it to calc.
* Comment and code cleanupCraig Earls2013-02-128-49/+58
|