Commit graph

5904 commits

Author SHA1 Message Date
thdox
fb5a1bed5c Add --file to tested options. 2015-07-31 22:51:55 +02:00
thdox
4451452db3 Fix test file regress/25A099C9.test. 2015-07-31 22:51:55 +02:00
thdox
89119c68ca Whitespace fix for cmd-convert.test 2015-07-31 22:51:54 +02:00
thdox
4cad4b327d Revert "Disable three tests preventing Jenkins from succeeding"
This reverts commit 8d1067c89c.
2015-07-31 22:51:54 +02:00
Alexis Hildebrandt
523413d8f1 [travis] Use boost 1.49.0 for master branch builds
and boost 1.58.0 for all other branches.
2015-07-31 13:00:10 +02:00
Alexis Hildebrandt
0364e598e3 [doc] Update status badges in README
[ci skip]
2015-07-31 10:51:20 +02:00
Alexis Hildebrandt
81ee98c17c [travis] Add multi-os build configuration
and use a custom build of boost.
2015-07-31 03:30:58 +02:00
Alexis Hildebrandt
3008a6a6be [tests] Fix typo in --cleared option baseline test 2015-07-31 00:25:53 +02:00
Martin Michlmayr
09f61ded0f Fix description 2015-07-30 18:06:48 -04:00
Martin Michlmayr
4e12580789 Add test for --value-expr
See John's email "A solution to the commodity pricing problem" on how
this works:
https://groups.google.com/forum/#!topic/ledger-cli/gpOW50XtCTo
2015-07-30 17:44:32 -04:00
Martin Michlmayr
61995d6a20 Add test for --no-rounding 2015-07-30 17:41:40 -04:00
Martin Michlmayr
89c3eaa388 Update documentation to reflect <Rounding> was changed to <Adjustment> 2015-07-30 17:38:38 -04:00
John Wiegley
76f057c14c Re-indent some code that was indented incorrectly 2015-07-30 14:06:49 -07:00
Alexis Hildebrandt
3d1c59aa81 [tests] Add baseline test for --cleared-format 2015-07-30 13:35:32 +02:00
Alexis Hildebrandt
dd3d28f7b6 [tests] Remove empty baseline test files.
The --generated and --verify-memory options are already ignored by
CheckBaselineTests.py

The --no-pager and --no-rounding options currently fail and need
a proper baseline test or be ignored in CheckBaselineTests.py.
2015-07-29 15:38:32 +02:00
Martin Michlmayr
60c387fed7 Update NEWS 2015-07-28 18:25:37 -04:00
Martin Michlmayr
3a0e41dd03 Document some changes in NEWS 2015-07-28 18:18:57 -04:00
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