Commit graph

6058 commits

Author SHA1 Message Date
Craig Earls
6e92d87d90 Merge commit '45e74103607a77c5945615692c3a35f9ce6aadde' into next 2015-06-28 19:35:31 -07:00
Kan-Ru Chen
67c9e2d43f Fix ledger-magic-tab: Wrong number of arguments
ledger-post-align-postings expects (beg end) not to be optional
2015-06-28 18:52:32 -07:00
Johann Klähn
45e7410360 enable access to item's position in python bindings 2015-06-09 17:51:23 +02:00
Craig Earls
46b0cad75a Merge pull request #418 from egh/fix/remove-set-mark
Do not use set-mark in ledger-post-align-postings
2015-06-04 07:22:12 -07:00
Erik Hetzner
41c8b3ad3e Use (interactive "r") in ledger-post-align-postings
Use standard method (interactive "r") to get the current active region
for use in ledger-post-align-postings.
2015-05-31 10:38:47 -07:00
John Wiegley
a78e7358ec Revert "boost::none_t no longer convertible from literal 0 in 1.58"
This reverts commit 48aec0f093.
2015-05-17 17:50:45 -05:00
John Wiegley
7df6a515e2 Revert "fix build for boost 1.58"
This reverts commit 68c9d649ca.
2015-05-17 17:50:44 -05:00
John Wiegley
2e02e0862f Merge pull request #417 from kljohann/boost
build fixes for boost 1.58
2015-05-11 09:42:20 -05:00
Johann Klähn
68c9d649ca fix build for boost 1.58 2015-05-10 13:41:26 +02:00
Johann Klähn
48aec0f093 boost::none_t no longer convertible from literal 0 in 1.58
Instead we use boost::none, which has been documented since boost 1.34.0.
2015-05-10 12:50:19 +02:00
Tim D. Smith
249527c985 link ledger executable to Python
Since the ledger executable embeds the Python interpreter, it does need
an explicit link to a Python framework on OS X after all.
2015-05-09 20:01:32 -07:00
John Wiegley
c586e1e494 Add a --no-revalued option 2015-05-05 13:26:57 -05:00
John Wiegley
974da27ed4 Merge pull request #415 from tdsmith/darwin-python
Don't explicitly link libpython on OS X
2015-05-04 22:34:27 -05:00
Tim D. Smith
5f08e2786d Don't explicitly link libpython on OS X
Use -undefined dynamic_lookup to allow Python symbols to be discovered
when the ledger module is imported instead of at build time. Without
this change, the Python interpreter crashes when ledger is imported from
a python that is different from (but compatible with) the python against
which the module was built.
2015-05-04 14:55:14 -07:00
Craig Earls
5f03a94b52 Merge commit '61156c861818642fb624932af3c7c7b63b14a5b3' into next 2015-04-30 22:07:27 -07:00
John Wiegley
61156c8618 Merge pull request #414 from davidsklar/next
Use ./.ledgerrc if ~/.ledgerrc doesn't exist
2015-04-27 09:28:27 -05:00
David Sklar
6439ea4799 Use ./.ledgerrc if ~/.ledgerrc doesn't exist 2015-04-27 10:12:14 -04:00
Martin Michlmayr
de7d8466c0 Fix description of --unrealized-losses 2015-04-23 15:36:35 -04:00
John Wiegley
59375e5e2c Merge pull request #412 from thdox/baseline-test-revalued-total
Improve baseline tests
2015-04-05 22:15:05 -05:00
Craig Earls
17a267e101 Merge commit 'dd6185a12091045831fc3e0a0c36217e44762333' into next 2015-04-05 09:41:44 -07:00
Craig Earls
dd6185a120 Merge pull request #409 from thdox/ledger-mode-doc
Some documentation improvments about Ledger mode
2015-04-05 09:40:11 -07:00
Craig Earls
86e11c14b6 Merge pull request #411 from thdox/bug-1060
[emacs] Fix bug 1060.
2015-04-05 09:37:45 -07:00
Craig Earls
4aab1078ae Merge pull request #410 from thdox/bug-1108
Fix Bug 1108.  Thanks.
2015-04-05 09:36:26 -07:00
thdox
f5ba76442c [emacs] Fix bug 1060.
Set as an option to kill (or not) the reconcile buffer after
ledger-reconcile-finish.  The default is set to *not* kill the
buffer. This is justified as the facts that:

1. In old ledger mode (the one from Ledger 2.6), the default is to *not*
kill the buffer. Also for the ones who will migrate from 2.6 to 3 when
package will be available in their linux distribution, this will be the
path of least surprise.
2. The current documentation does state that the buffer is to be killed
with 'q' after 'C-c C-c'.

This has been made configurable, as killing buffer may already be part
of the workflow of some persons.

[ci skip]
2015-04-05 16:00:15 +02:00
thdox
98d5d18993 [doc] Use @option consistently.
[ci skip]
2015-04-05 15:58:49 +02:00
thdox
1e3def2bb5 [doc] Small typo.
[ci skip]
2015-04-05 15:58:44 +02:00
thdox
f2dd9a6003 [doc] Improve documentation about C-c C-c to clear a transaction.
[ci skip]
2015-04-05 15:58:39 +02:00
thdox
47247ee918 [doc] Improve documentation about "choose account to reconcile"".
[ci skip]
2015-03-23 23:47:42 +01:00
thdox
d3344243c9 [emacs] Fix bug 1108, enabling correct account context.
The old way of working was keeping spaces before and after the
account. Now the space before is associated to the "status" and
"separator" is enlarged to not be maxed to 2 chars

[ci skip]
2015-03-23 23:47:42 +01:00
thdox
befb06f941 Add --generated to untested options list.
--generated will generate each time new entries, this cannot be
reproduced safely.
2015-03-23 23:35:07 +01:00
thdox
2bcfb0df5a Add --verify-memory to untested options.
This --verify-memory option is very system (Linux/Mac) dependent on how
the memory is allocated. This cannot be reproduce with same results.
2015-03-23 23:35:07 +01:00
thdox
57bd08efce Add --revalued-total to "to be tested" options.
I have not yet understood the meaning of --revalued-total, but as it
output something, it should be tested. So add it to "to be tested"
options list.
2015-03-23 23:35:07 +01:00
Alexis Hildebrandt
c7fa772310 Merge pull request #408 from kk12l/next
Fix clang compile error (FreeBSD 10).
2015-03-13 14:13:57 +01:00
Ilya T
d0f2b64cbe Fix clang compile error (FreeBSD 10). 2015-03-13 08:20:37 +07:00
Alexis Hildebrandt
61ef633c92 Merge pull request #403 from thdox/baseline-test-no-pager
Fix baseline test for --no-pager.
2015-02-26 07:12:05 +01:00
Craig Earls
1f803d6294 Merge commit 'af0da737fc4ef8f9ccebd3d43519610b8a8fcaa1' into next
Conflicts:
	lisp/ledger-reconcile.el
2015-02-25 22:01:33 -07:00
thdox
6abcf2109d Fix baseline test for --no-pager. 2015-02-25 19:01:30 +01:00
Alexis Hildebrandt
af0da737fc Merge pull request #402 from thdox/documentation
Documentation improvements
2015-02-24 20:42:50 +01:00
thdox
71e77570b7 ledger --help actually prints the man page. 2015-02-24 20:33:55 +01:00
Alexis Hildebrandt
5e6d5e33af Merge pull request #396 from thdox/auto-match
Fix Auto match
2015-02-24 20:27:30 +01:00
thdox
87d938f9c3 Improve documentation for --auto-match option. 2015-02-24 20:23:01 +01:00
thdox
fd8386eb23 Minor documentation consistency fixes about --leeway option. 2015-02-24 20:17:57 +01:00
thdox
5cb3ca04a7 Improve documentation about --version and -v. 2015-02-24 20:17:57 +01:00
Alexis Hildebrandt
7358ced548 Merge pull request #401 from thdox/baseline-tests
Improve baseline tests
2015-02-24 19:54:33 +01:00
thdox
df944929f8 Add baseline test for --price-db option. 2015-02-24 19:27:07 +01:00
thdox
e6a967b860 Add baseline test for --script option. 2015-02-24 19:27:07 +01:00
thdox
72cb48727d Add --no-pager to untested options of CheckBaselineTests.py
As per comment in Pull Request #382
2015-02-24 19:27:07 +01:00
thdox
83bde60ec1 Remove --*help* from untested options in CheckBaselineTests.py
As per commit f59abd4c76
2015-02-24 19:26:50 +01:00
thdox
fce467fba9 Remove --cache from untested options in CheckBaselinetests.py
As per commit d5e1308d07
2015-02-24 19:26:28 +01:00
thdox
ddf17b6246 Add baseline test for --init-file option. 2015-02-24 19:25:18 +01:00