Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Remove --cache from untested options in CheckBaselinetests.py | thdox | 2015-02-24 | 1 | -1/+0 | |
| | | | | | | | | | | | | | | | | | | | | As per commit d5e1308d07e9a7d9da33aed6f7f617b2209cba40 | |||||
| * | | | | Add baseline test for --init-file option. | thdox | 2015-02-24 | 3 | -1/+11 | |
| |/ / / | ||||||
* / / / | Fix alignment of cleared-format with 4 spaces as separator. | thdox | 2015-02-23 | 1 | -1/+1 | |
|/ / / | ||||||
* | | | Improve documentation about --rich-data. | thdox | 2015-02-21 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | Conflicts: doc/ledger.1 | |||||
* | | | [tests] Minor test/DocTests.py clean up | Alexis Hildebrandt | 2015-02-20 | 1 | -16/+7 | |
| | | | ||||||
* | | | [doc] Add support for additional input files | Alexis Hildebrandt | 2015-02-20 | 1 | -2/+12 | |
| | | | | | | | | | in test/DocTests.py by allowing file: and with_file: options on examples. | |||||
* | | | [tests] Improve error reporting for test/DocTests.py | Alexis Hildebrandt | 2015-02-20 | 1 | -7/+9 | |
| | | | ||||||
* | | | [tests] Add output when skipping incomplete tests | Alexis Hildebrandt | 2015-02-20 | 1 | -1/+7 | |
| | | | | | | | | | in test/DocTests.py | |||||
* | | | [tests] Clean-up test/DocTests.py | Alexis Hildebrandt | 2015-02-20 | 1 | -17/+19 | |
| | | | | | | | | | | | | * Replace hard-coded strings with token variables * Use os.path.join to create file paths | |||||
* | | | [tests] Allow testing of multi-line examples | Alexis Hildebrandt | 2015-02-18 | 1 | -1/+1 | |
| | | | ||||||
* | | | [doc] Report undocumented value expression functions | Alexis Hildebrandt | 2015-01-27 | 3 | -12/+78 | |
| | | | | | | | | | | | | in the manpage and texinfo manual. | |||||
* | | | [doc] Improve @smallexample command line parsing | Alexis Hildebrandt | 2015-01-27 | 1 | -2/+4 | |
| | | | | | | | | | | | | by using Python shlex. | |||||
* | | | Merge pull request #383 from thdox/add-to-doc2 | Alexis Hildebrandt | 2015-01-27 | 2 | -19/+19 | |
|\ \ \ | | | | | | | | | | | | | | | | | Add documentation for option --permissive. [ci skip] | |||||
| * | | | Rename file from test/regress/634AA589.test to | thdox | 2015-01-22 | 2 | -19/+19 | |
| | | | | | | | | | | | | | | | | | | | | test/baseline/opt-permissive.test. Actually 634AA589 is the initial commit that created permissive option. | |||||
* | | | | [tests] Grep for option alternates during checks | Alexis Hildebrandt | 2015-01-25 | 1 | -11/+17 | |
| | | | | ||||||
* | | | | [tests] Ignore comment lines when checking texinfo | Alexis Hildebrandt | 2015-01-23 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | so that "empty" options are also reported as undocumented. | |||||
* | | | | [tests] Move untested_options to CheckBaselineTests | Alexis Hildebrandt | 2015-01-22 | 2 | -29/+29 | |
|/ / / | ||||||
* | | | [tests] Capture stderr when running DocTests | Alexis Hildebrandt | 2015-01-21 | 1 | -1/+1 | |
| | | | ||||||
* | | | [tests] Improve option parsing in CheckTexinfo.py | Alexis Hildebrandt | 2015-01-21 | 1 | -0/+34 | |
| | | | | | | | | | | | | | | | | | | | | | * Replace @ftable @code argument with @option of @command depending on the documented items * Remove @c option comment from @items documenting options | |||||
* | | | [tests] Refactor CheckTests.py into custom scripts | Alexis Hildebrandt | 2015-01-21 | 7 | -141/+244 | |
| | | | ||||||
* | | | [fix] Make trim function trim trailing whitespace | Alexis Hildebrandt | 2015-01-20 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | | | | | std::isspace(*e) returns false for the end of c-string null-byte. Bugzilla: 1106 | |||||
* | | | Fix -i short-option for --init-file | Alexis Hildebrandt | 2015-01-15 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | Bugfix for #1102 Signed-off-by: Alexis Hildebrandt <afh@surryhill.net> | |||||
* | | | [doc] Add CheckTests to ctest | Alexis Hildebrandt | 2015-01-15 | 6 | -79/+156 | |
| | | | | | | | | | | | | | | | | | | | | | to check whether all available ledger options documented and are being tested. Signed-off-by: Alexis Hildebrandt <afh@surryhill.net> | |||||
* | | | [tests] Fix compiler warning | Alexis Hildebrandt | 2015-01-11 | 1 | -0/+3 | |
|/ / | ||||||
* | | Merge pull request #358 from afh/pull/DocTests | John Wiegley | 2014-12-30 | 1 | -2/+15 | |
|\ \ | | | | | | | [tests] Add examples parameter to DocTests | |||||
| * | | [tests] Add examples parameter to DocTests | Alexis Hildebrandt | 2014-12-30 | 1 | -2/+15 | |
| | | | | | | | | | to test the given examples only instead of every example. | |||||
* | | | Bugfix 1038: empty reg report for this month period | Alexis Hildebrandt | 2014-12-29 | 3 | -0/+56 | |
|/ / | | | | | | | | | when year was specified with literal Y or year directive, but not when using apply year. | |||||
* | | Bump copyright notice to 2015 | Alexis Hildebrandt | 2014-12-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | The following script makes it a no-brainer: % NEXT_YEAR=2015; ag -l 'Copyright.*Wiegley' \ | xargs sed -i '' -e "s/\(Copyright.*\)-20[0-9]\{2\}/\1-${NEXT_YEAR}/" | |||||
* | | Merge pull request #346 from afh/pull/trace_level | John Wiegley | 2014-12-24 | 1 | -0/+15 | |
|\ \ | | | | | | | Fix crash when using --trace 10 or above | |||||
| * | | Fix crash when using --trace 10 or above | Alexis Hildebrandt | 2014-12-23 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | uint8_t is typedef'd to char, thus boost::lexical_cast treats it as such instead of a number. | |||||
* | | | [test] Use --args-only option in DocTests.py | Alexis Hildebrandt | 2014-12-24 | 1 | -1/+1 | |
|/ / | | | | | | | instead of --init-file /dev/null | |||||
* | | Fix crash when using -M with empty result | Alexis Hildebrandt | 2014-12-16 | 1 | -0/+37 | |
| | | | | | | | | | | | | | | ledger -f /dev/null reg -M test causes a segmentation fault, see bug 730 and duplicates 1080 and 1084 for details. Kudos to Ikke for helping with debugging. | |||||
* | | Add test case for off by one error in textual.cc fixed in a013a73b | Martin Michlmayr | 2014-12-11 | 1 | -0/+10 | |
| | | ||||||
* | | Fix DocTests running in non-standard width terminal | Alexis Hildebrandt | 2014-12-03 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | The changes introduced with 56976a127c081a6a008c81966360003a8711a319 make --columns default to terminal width, as returned by ioctl() break the DocTests when run in a terminal with a width different from the standard of 80 columns. | |||||
* | | Fix and re-enable DocTests | Alexis Hildebrandt | 2014-11-29 | 1 | -12/+11 | |
| | | ||||||
* | | Add ISO 8601 date as recognized date string | Martin Michlmayr | 2014-10-02 | 1 | -0/+31 | |
| | | | | | | | | | | | | | | | | Dates specified via --begin and --end are converted to a value expression using an ISO 8601 (yyyy-mm-dd) date, but this date was not recognized by ledger. Bug fix for #1072 | |||||
* | | Fix period expression parsing for month to month without year | Martin Michlmayr | 2014-10-02 | 1 | -0/+161 | |
| | | | | | | | | Bug fix for #1074, a regression introduced by the fix for bug #375 | |||||
* | | avoid policy warning with recent CMake versions | Johann Klähn | 2014-09-10 | 1 | -8/+6 | |
| | | | | | | | | See `cmake --help-policy CMP0026` with CMake ≥ 3.0. | |||||
* | | fix regression test | Johann Klähn | 2014-09-10 | 1 | -1/+1 | |
| | | | | | | | | see pull request #320 / commit 4c8604266580b2 | |||||
* | | Merge pull request #316 from tripun/code_coverage | John Wiegley | 2014-08-12 | 1 | -2/+494 | |
|\| | | | | | expand unit tests in t_balance.cc | |||||
| * | Revert "add unit test printing for balance_t" until issue is fixed. | tripun | 2014-08-11 | 1 | -31/+0 | |
| | | | | | | | | | | | | Getting different output on system than travis-ci. This reverts commit 272e3cb3799937dcd3c379de56b299a3cbde52ca. | |||||
| * | add unit test printing for balance_t | tripun | 2014-08-11 | 1 | -0/+31 | |
| | | ||||||
| * | add unit test of Zero for balance_t | tripun | 2014-08-11 | 1 | -0/+26 | |
| | | ||||||
| * | add unit test Truth for balance_t | tripun | 2014-08-11 | 1 | -0/+20 | |
| | | ||||||
| * | add unit test Round for balance_t | tripun | 2014-08-11 | 1 | -0/+50 | |
| | | ||||||
| * | add unit test Floor for balance_t | tripun | 2014-08-11 | 1 | -0/+43 | |
| | | ||||||
| * | add unit test Ceiling for balance_t | tripun | 2014-08-11 | 1 | -0/+43 | |
| | | ||||||
| * | add unit test Absolute for balance_t | tripun | 2014-08-11 | 1 | -0/+25 | |
| | | ||||||
| * | add unit test negation for balance_t | tripun | 2014-08-11 | 1 | -0/+35 | |
| | | ||||||
| * | add unit test for balance division | tripun | 2014-08-11 | 1 | -0/+45 | |
| | |