Martin Michlmayr
c3f0d23f66
Use .Nm to refer to ledger in the man page
...
Thanks to Alexis for the suggestion.
2015-07-28 17:52:18 -04:00
Martin Michlmayr
94d4f5c195
Document --no-revalued
2015-07-28 17:50:13 -04:00
Martin Michlmayr
852ece54fe
Add baseline test for --no-revalued option
2015-07-28 17:46:42 -04:00
Martin Michlmayr
e65ead2770
Document --explicit
2015-07-28 17:40:05 -04:00
Martin Michlmayr
1cf473ca50
Add Debian testing and sid to install instructions
2015-07-28 17:32:36 -04:00
Martin Michlmayr
2c8c6524bd
Improve --explicit test case
...
Since --explicit tells ledger to require pre-declarations to establish
"known-ness" (rather than taking it from cleared transactions), make
sure the transactions are cleared.
2015-07-28 17:31:14 -04:00
Martin Michlmayr
b60a12a6ce
Add missing known functions to test
2015-07-28 17:30:00 -04:00
Alexis Hildebrandt
c4db52614e
[travis] Run documentation checks as reports
...
which are allowed to fail instead of strict tests.
2015-07-28 23:28:41 +02:00
Alexis Hildebrandt
69fa2fc671
[tests] Remove compiler warnings for unit tests
...
warning: relational comparison result unused [-Wunused-comparison]
BOOST_CHECK_THROW(x6 < x7, amount_error);
~~~^~~~
2015-07-28 22:43:16 +02:00
Alexis Hildebrandt
68ecc043cc
[tests] Allow string continuation in documentation
...
in long documentation examples.
2015-07-28 22:07:10 +02:00
Alexis Hildebrandt
d0fba947ad
[cmake] Use CMAKE_SYSTEM_NAME to test the platform.
...
APPLE and CMAKE_HOST_APPLE only check the host system,
whereas CMAKE_SYSTEM_NAME checks the target system when
cross-compiling.
2015-07-28 20:55:56 +02:00
Alexis Hildebrandt
f5d59159f1
[tests] Fix Util and Math tests on Mac OS X
...
by explicitly linking the testing targets against Python
2015-07-28 20:54:44 +02:00
Alexis Hildebrandt
f0f4d7e66f
[travis] Remove multi-os build configuration
2015-07-28 20:35:56 +02:00
Alexis Hildebrandt
844796972a
[travis] Switch to container-based build
...
using plain cmake and make
2015-07-28 20:32:13 +02:00
Alexis Hildebrandt
53cdde527d
Merge pull request #416 from tdsmith/python-exec-link
...
link ledger executable to Python on OS X
2015-07-28 20:20:35 +02:00
Johann Klähn
a1cb25ad2d
fix build for boost 1.58
2015-07-28 18:22:20 +02:00
John Wiegley
21c3569a70
Merge pull request #422 from jwakely/issue-417
...
Convert boost::optional objects to bool explicitly.
2015-07-27 18:11:19 -07:00
Jonathan Wakely
bcaca24de4
Convert boost::optional objects to bool explicitly.
...
Fixes #417 .
2015-07-27 20:37:16 +01:00
Craig Earls
5b31641a75
Merge pull request #421 from cwarden/patch-2
...
Fix Total Commodity Price Example
2015-07-16 06:56:38 -07:00
Christian G. Warden
cf993fd077
Fix Total Commodity Price Example
...
Replace `{$5.00}` with `{$50.00}` to be consistent with the example being presented.
[ci skip]
2015-07-15 16:20:54 -07:00
Craig Earls
a8eb9cb64c
Merge pull request #419 from kanru/patch-1
...
Fix ledger-magic-tab: Wrong number of arguments
2015-06-28 19:39:30 -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
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
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