summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Check examples in documentation when running testsAlexis Hildebrandt2014-02-073-23/+203
| | | | | The DocTests.py script will parse a given texinfo file for specially marked examples, run the ledger command from the example, and check the result against the example output from the documentation.
* Merge pull request #239 from afh/pull/copyrightCraig Earls2014-02-041-1/+1
|\ | | | | | | | | Bump copyright notice to 2014 in the documentation Thanks.
| * Bump copyright notice to 2014 in the documentationAlexis Hildebrandt2014-02-041-1/+1
| |
* | Merge pull request #238 from mbork/masterCraig Earls2014-02-041-36/+42
|\ \ | | | | | | | | | | | | Add option ledger-complete-ignore-case Thanks! This works very well.
| * | Add option ledger-complete-ignore-caseMarcin Borkowski2014-02-031-36/+42
| | | | | | | | | | | | and change ledger-pcomplete accordingly
* | | Merge pull request #237 from afh/pull/linux-rpathJohn Wiegley2014-02-041-1/+1
|\ \ \ | |/ / |/| | Correctly set runtime path on Linux on install
| * | Correctly set runtime path on Linux on installAlexis Hildebrandt2014-02-031-1/+1
|/ /
* | Merge pull request #235 from afh/pull/acprep-saucyJohn Wiegley2014-02-021-2/+21
|\ \ | | | | | | Update dependencies installation
| * | Update dependencies installationAlexis Hildebrandt2014-02-021-2/+21
| | | | | | | | | | | | for Ubuntu Saucy Salamander
* | | Merge pull request #236 from afh/pull/copyrightSteve Purcell2014-02-02145-146/+146
|\ \ \ | |/ / |/| / | |/ Bump copyright information to 2014
| * Bump copyright information to 2014Alexis Hildebrandt2014-02-02145-146/+146
|/
* update travis notification settingsJohann Klähn2014-02-011-0/+5
|
* initialize member variables of posts_to_org_tableJohann Klähn2014-02-011-1/+2
| | | | This fixes test/baseline/cmd-org.test when built with clang.
* Correct log output for acprep checkAlexis Hildebrandt2014-02-011-1/+1
|
* Add continuous integration using Travis CIAlexis Hildebrandt2014-02-012-0/+11
|
* Update dependencies installationAlexis Hildebrandt2014-02-011-5/+45
| | | | for Mac Hombrew and Ubuntu Precise Pangolin
* Create default scope from python session only if neededAlexis Hildebrandt2014-02-011-3/+5
| | | | | | Fixes test failures introduced with the commit "Create default scope to read journal" a9078767b8224a223f8942a1cb80d4544024387b
* python module file suffix is platform dependentJohann Klähn2014-02-011-3/+13
|
* Fix shared library and python moduleAlexis Hildebrandt2014-02-011-3/+12
| | | | | Conflicts: src/CMakeLists.txt
* no RENAME option on older CMake versionsJohann Klähn2014-02-011-2/+9
| | | | | The RENAME option for install(TARGETS ...) does not seem to be available on all CMake versions.
* build shared library/python module, clean up CMakeJohann Klähn2014-02-013-19/+38
| | | | | libledger will now be built as a shared library. You can 'import ledger' from python IFF you copy libledger.so to ledger.so or create a symlink.
* Merge pull request #231 from afh/dev/pylibJohn Wiegley2014-01-273-0/+15
|\ | | | | Create shared python module
| * Make time-colon commodity flag available to pythonAlexis Hildebrandt2014-01-271-0/+1
| |
| * Create default scope to read journalAlexis Hildebrandt2014-01-271-0/+5
| | | | | | when using ledger python module
| * Build and shared python moduleAlexis Hildebrandt2014-01-271-0/+9
|/ | | when building library
* Merge pull request #229 from EvilBit/masterJohann Klähn2014-01-251-2/+12
|\ | | | | Fixed emacs lisp compilation
| * Move emacs lisp installation destination to subdirectoryOskar Kohout2014-01-041-1/+1
| |
| * Fix emacs lisp build chainOskar Kohout2014-01-041-1/+11
| |
* | Fixed some formatting problems and fixed bug 1007 aligning decimal comma ↵Craig Earls2014-01-132-63/+63
| | | | | | | | amounts with period thousand separators.
* | Fix issue in ledger-fully-complete-xact to deal with possible trailing ↵Craig Earls2014-01-131-8/+13
| | | | | | | | spaces after a payee
* | ledger-mode: only modify completion-at-point-functions locallySteve Purcell2014-01-071-1/+1
| | | | | | | | | | | | | | Without this patch, the addition of pcomplete-completions-at-point leaks into the global value of completion-at-point-functions. See #227
* | Backed out recent changes that broke the complete cycling behavior.Craig Earls2014-01-074-77/+32
| |
* | Merge pull request #230 from purcell/fix-csv-commodity-columnJohn Wiegley2014-01-062-3/+3
|\ \ | |/ |/| Commodity column in default CSV format should match the displayed amount
| * Commodity column in default CSV format should match the displayed amountSteve Purcell2014-01-062-3/+3
|/ | | | | | | | If one uses --exchange to force CSV display amounts into a particular currency, then the commodity output column should match that currency. Without this patch, the commodity column contains the original commodity, not the commodity for the exported amount.
* Merge pull request #228 from the-kenny/emacs-prompt-effective-dateCraig Earls2014-01-023-13/+33
|\ | | | | Emacs: Improve effictive-date-handling
| * Use `ledger-read-date' where applicable.Moritz Ulrich2014-01-021-3/+4
| |
| * `ledger-read-date': Use `ledger-minibuffer-history'.Moritz Ulrich2014-01-021-1/+2
| |
| * ledger-reconcile: Add option to insert an effective date when clearing ↵Moritz Ulrich2014-01-021-1/+9
| | | | | | | | transactions.
| * `ledger-insert-effective-date': use `ledger-read-date'.Moritz Ulrich2014-01-021-9/+8
| | | | | | | | | | | | | | Running `ledger-insert-effective-date' will now prompt for a date with a pre-filled value of the `(ledger-year-and-month)' ("2014/01/"). Just pressing RET without inserting the 'day'-portion will insert the date of today.
| * Add `ledger-read-date' - Read date & default to today.Moritz Ulrich2014-01-021-0/+11
|/
* Merge pull request #227 from 4ourbit/patch-2Craig Earls2014-01-015-34/+84
|\ | | | | | | | | More context-aware ledger pcomplete rules. Thanks.
| * Fix for pcomplete Metadata rule.4ourbit2014-01-011-0/+2
| |
| * Plugging ledger pcomplete into completion-at-point.4ourbit2014-01-012-0/+6
| | | | | | | | Added documentation on how to use pcomplete transparently via completion-at-point.
| * Context-aware pcomplete rules.4ourbit2013-12-313-34/+76
|/ | | | | | | | | Provide completions based on information retrieved with 'ledger-context-at-point'. To support step-by-step completion of transactions some more patterns were added to 'ledger-line-config'. The actual completion rules mostly reuse some of the convenient input commands that are buried in ledger-mode. Using the standard pcomplete termination string (" ") to allow a "context switch" at the end of each completion step.
* Merge pull request #226 from the-kenny/emacs-bugfixesCraig Earls2013-12-295-47/+95
|\ | | | | | | | | Bugfixes & Improvements for Emacs Support Thanks!
| * ledger-mode: Introduce `ledger-default-date-format'.Moritz Ulrich2013-12-304-9/+16
| | | | | | | | | | | | Some elisp functions depend on a date-format supplied in ~/.ledgerrc. Change these by introducing a default ("%Y/%m/%d"). Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
| * Improve `ledger-insert-effective-date'.Moritz Ulrich2013-12-301-10/+27
| | | | | | | | | | | | | | | | | | The function now replaces already existing effective dates in the same line. With a prefix (C-u C-c C-t), remove the current effective date. Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
| * ledger-mode: Add `ledger-remove-effective-date'.Moritz Ulrich2013-12-301-0/+23
| | | | | | | | Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
| * emacs-mode: Prefix every function/variable/macro with ledger-.Moritz Ulrich2013-12-292-32/+33
|/ | | | | | | | This is the common convention in Emacs Lisp. Not following it might cause problems with other packages as functions/variables/macros are always visible to other modules. Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
* Fix `ledger-string-to-number' for decimal-commaMoritz Ulrich2013-12-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | --=-=-= Content-Type: text/plain Hi John, Small bug, caused by ill-formatted elisp. This is a small patch, so i think making a fork & opening a Pull Request is a bit too much. I'll go this route if I make bigger contributions in the future. From de1fb19ded5300a227d58e3d3094928b211db09b Mon Sep 17 00:00:00 2001 From: Moritz Ulrich <moritz@tarn-vedra.de> Date: Sat, 28 Dec 2013 22:37:54 +0100 Subject: [PATCH] ledger-string-to-number: Fix nil return value with decimal-comma. Unfavorable formatting hid this bug pretty well. In case of true-ish `decimal-comma' or "decimal-comma' in `ledger-environment-alist', the ill-formatted `if' (and the whole function) returns nil. Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>