Commit graph

5132 commits

Author SHA1 Message Date
Alexis Hildebrandt
960ebc2a57 Print summary list of failed doc tests if any 2014-02-09 07:20:03 +01:00
Alexis Hildebrandt
a1cc8ca15a Add support to check documentation examples with inline data 2014-02-07 18:39:35 +01:00
Alexis Hildebrandt
fbbb379fe0 Check examples in documentation when running tests
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.
2014-02-07 00:21:38 +01:00
Craig Earls
ffc8bf30f4 Merge pull request #239 from afh/pull/copyright
Bump copyright notice to 2014 in the documentation

Thanks.
2014-02-04 13:03:26 -08:00
Alexis Hildebrandt
df9771f7a9 Bump copyright notice to 2014 in the documentation 2014-02-04 21:58:03 +01:00
Craig Earls
1003c24103 Merge pull request #238 from mbork/master
Add option ledger-complete-ignore-case

Thanks!  This works very well.
2014-02-04 06:15:36 -08:00
John Wiegley
0184255ca3 Merge pull request #237 from afh/pull/linux-rpath
Correctly set runtime path on Linux on install
2014-02-04 05:29:04 -08:00
Marcin Borkowski
b1cfeb0015 Add option ledger-complete-ignore-case
and change ledger-pcomplete accordingly
2014-02-03 22:52:08 +01:00
Alexis Hildebrandt
b359e851fe Correctly set runtime path on Linux on install 2014-02-03 12:02:03 +01:00
John Wiegley
dcb24fbb5c Merge pull request #235 from afh/pull/acprep-saucy
Update dependencies installation
2014-02-02 13:50:23 -08:00
Steve Purcell
8155cd5839 Merge pull request #236 from afh/pull/copyright
Bump copyright information to 2014
2014-02-02 04:53:28 -08:00
Alexis Hildebrandt
2b9208e850 Bump copyright information to 2014 2014-02-02 12:36:22 +01:00
Alexis Hildebrandt
021e0ecde9 Update dependencies installation
for Ubuntu Saucy Salamander
2014-02-02 09:16:35 +00:00
Johann Klähn
f300cfccb7 update travis notification settings 2014-02-01 21:04:06 +01:00
Johann Klähn
e0ee1eb810 initialize member variables of posts_to_org_table
This fixes test/baseline/cmd-org.test when built with clang.
2014-02-01 19:41:20 +01:00
Alexis Hildebrandt
b98662e713 Correct log output for acprep check 2014-02-01 19:34:45 +01:00
Alexis Hildebrandt
4b0563044f Add continuous integration using Travis CI 2014-02-01 19:34:45 +01:00
Alexis Hildebrandt
31705094c1 Update dependencies installation
for Mac Hombrew and Ubuntu Precise Pangolin
2014-02-01 19:33:21 +01:00
Alexis Hildebrandt
e362a481ec Create default scope from python session only if needed
Fixes test failures introduced with the commit
"Create default scope to read journal"
a9078767b8
2014-02-01 19:29:25 +01:00
Johann Klähn
0dc2b97813 python module file suffix is platform dependent 2014-02-01 12:10:53 +01:00
Alexis Hildebrandt
6eeda8bcea Fix shared library and python module
Conflicts:
	src/CMakeLists.txt
2014-02-01 12:00:32 +01:00
Johann Klähn
36b4fc3e2f no RENAME option on older CMake versions
The RENAME option for install(TARGETS ...) does not seem to be available
on all CMake versions.
2014-02-01 10:23:51 +01:00
Johann Klähn
89c21e9967 build shared library/python module, clean up CMake
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.
2014-02-01 01:30:53 +01:00
John Wiegley
35c1bf03ec Merge pull request #231 from afh/dev/pylib
Create shared python module
2014-01-27 16:58:59 -08:00
Alexis Hildebrandt
7f96b654a7 Make time-colon commodity flag available to python 2014-01-27 21:08:13 +01:00
Alexis Hildebrandt
a9078767b8 Create default scope to read journal
when using ledger python module
2014-01-27 21:07:39 +01:00
Alexis Hildebrandt
82486f6d43 Build and shared python module
when building library
2014-01-27 21:06:44 +01:00
Johann Klähn
61a466636b Merge pull request #229 from EvilBit/master
Fixed emacs lisp compilation
2014-01-25 05:20:52 -08:00
Craig Earls
0ed6b0f1c3 Fixed some formatting problems and fixed bug 1007 aligning decimal comma amounts with period thousand separators. 2014-01-13 14:55:48 -07:00
Craig Earls
aec2c7af3f Fix issue in ledger-fully-complete-xact to deal with possible trailing spaces after a payee 2014-01-13 13:14:02 -07:00
Steve Purcell
3b5f496536 ledger-mode: only modify completion-at-point-functions locally
Without this patch, the addition of pcomplete-completions-at-point
leaks into the global value of completion-at-point-functions.

See #227
2014-01-07 20:33:08 +00:00
Craig Earls
af84005a52 Backed out recent changes that broke the complete cycling behavior. 2014-01-07 13:25:07 -07:00
John Wiegley
f5d5149d76 Merge pull request #230 from purcell/fix-csv-commodity-column
Commodity column in default CSV format should match the displayed amount
2014-01-06 12:51:49 -08:00
Steve Purcell
d7742cd654 Commodity column in default CSV format should match the displayed amount
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.
2014-01-06 17:37:04 +00:00
Oskar Kohout
5fdb7fe6e7 Move emacs lisp installation destination to subdirectory 2014-01-04 12:07:59 +01:00
Oskar Kohout
ba60418991 Fix emacs lisp build chain 2014-01-04 11:52:23 +01:00
Craig Earls
bde5e69c9a Merge pull request #228 from the-kenny/emacs-prompt-effective-date
Emacs: Improve effictive-date-handling
2014-01-02 10:09:23 -08:00
Moritz Ulrich
741a275cc9 Use `ledger-read-date' where applicable. 2014-01-02 19:00:37 +01:00
Moritz Ulrich
8406adce0e ledger-read-date': Use ledger-minibuffer-history'. 2014-01-02 18:55:25 +01:00
Moritz Ulrich
09ef323a73 ledger-reconcile: Add option to insert an effective date when clearing transactions. 2014-01-02 18:44:15 +01:00
Moritz Ulrich
26bc890d88 ledger-insert-effective-date': use ledger-read-date'.
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.
2014-01-02 18:43:53 +01:00
Moritz Ulrich
3ff5fddafd Add `ledger-read-date' - Read date & default to today. 2014-01-02 18:24:54 +01:00
Craig Earls
876cfa1f78 Merge pull request #227 from 4ourbit/patch-2
More context-aware ledger pcomplete rules.

Thanks.
2014-01-01 13:26:19 -08:00
4ourbit
e00ed8c770 Fix for pcomplete Metadata rule. 2014-01-01 22:00:26 +01:00
4ourbit
316b1b7cfe Plugging ledger pcomplete into completion-at-point.
Added documentation on how to use pcomplete transparently via completion-at-point.
2014-01-01 22:00:26 +01:00
4ourbit
383f17f114 Context-aware pcomplete rules.
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.
2013-12-31 03:16:57 +01:00
Craig Earls
c00e4eb8c6 Merge pull request #226 from the-kenny/emacs-bugfixes
Bugfixes & Improvements for Emacs Support

Thanks!
2013-12-29 16:55:54 -08:00
Moritz Ulrich
9f694169a8 ledger-mode: Introduce `ledger-default-date-format'.
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>
2013-12-30 01:41:31 +01:00
Moritz Ulrich
7dd82f8bac Improve `ledger-insert-effective-date'.
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>
2013-12-30 00:50:48 +01:00
Moritz Ulrich
6dbb36f525 ledger-mode: Add `ledger-remove-effective-date'.
Signed-off-by: Moritz Ulrich <moritz@tarn-vedra.de>
2013-12-30 00:22:43 +01:00