373 Commits

Author SHA1 Message Date
Daniel Aarno
0a475929b8 Update copyright notices. 2019-05-06 19:44:57 +01:00
Daniel Aarno
38af929982 Correctly name variable for caching (fixes warning by autotools.sh) 2018-07-30 19:51:18 +01:00
Daniel Aarno
a219293c87 Rename configure.in configure.ac (as this is recomended) 2018-07-30 19:48:58 +01:00
Daniel Aarno
1dcad08845 Simplify tests by using common test script.
This reduces duplicated checking logic between each test and makes it easier
to run and check result of individual tests.
2018-07-30 18:06:55 +01:00
Daniel Aarno
eb877b0fab Script to simlify all tests 2018-07-30 18:04:15 +01:00
Daniel Aarno
b39f11f01d Hide test-driver (temporary binary) from git 2018-07-30 18:04:15 +01:00
Daniel Aarno
f327450dd5 Script to add emacs mode line to all files 2018-07-30 18:04:15 +01:00
Daniel Aarno
7b51917592 Hide intermediate test files from git. 2018-07-30 18:04:15 +01:00
Daniel Aarno
6db23c03b5 Break out some common test code to a separate file.
Next step to refactor remaining tests.
2018-07-30 18:03:45 +01:00
Daniel Aarno
81e4e8bba5 Add emacs mode-lines to all header files 2018-03-19 10:13:46 +00:00
Daniel Aarno
81bba06d20 Add emacs mode-lines to all test files 2018-03-19 10:12:25 +00:00
Daniel Aarno
c937a87071 Added script to upload documentation to SF 2018-03-19 09:42:45 +00:00
Daniel Aarno
b239b8845a Point people to the forum/tickets instead of to Mike. 2018-03-19 09:07:01 +00:00
Daniel Aarno
9a310a7c39 Check that all .h files in include/tclap are in Makefile.am
check_dead_headers.py can be called as a pre-commit hook.
2018-01-15 22:44:38 +00:00
Daniel Aarno
3adc1d1ff7 Pre-commit check for including test files in Makefile
Script to be called from pre-commit hook to make sure any new test
files were added to Makefile.am

Example pre-commit hook (in .git/hooks):

function pyhook {
    CMD="./scripts/$1.py"
    $CMD
    local status=$?
    if [ $status -ne 0 ]; then
        echo
        echo "Pre-commit failed"
        exit 1
    fi
}

pyhook check_tests_enabled
2018-01-07 15:35:09 +00:00
Daniel Aarno
d4a36f2ba5 Use make check to run tests (instead of custom logic).
This way the list/number of tests only has to be updated in one place.

Conflicts:
	tests/runtests.sh
2018-01-07 15:33:10 +00:00
Daniel Aarno
c6fedbbe9d Add .gitignore file to 1.2 branch 2018-01-02 16:23:45 +01:00
Daniel Aarno
de93e6b2ca Remove some unused code related to sstream fixes. 2018-01-02 16:21:29 +01:00
Daniel Aarno
ec3ddcfe41 IWYU: sstream
Explicitly include sstream in tets wherever it is used.
2017-12-26 15:40:35 +01:00
Daniel Aarno
8dab34491d Update changelog with sstream fixes 2017-12-26 15:30:31 +01:00
Daniel Aarno
6c2ef7d6ef Fix sstream/strstream (and config.h) compiler issues.
Code would not compile with HAVE_STRSTREAM defined.

Code would not compile without HAVE_CONFIG_H defined (unless
-DHAVE_STRSTREAM or -DHAVE_SSTREAM was specified).

Code would not compile with HAVE_CONFIG_H defined if config.h did not
also define HAVE_SSTREAM.

This patch moves annoying logic for sstream/strstream logic to it's
own file and fixes the above mentioned issues.

https://sourceforge.net/p/tclap/bugs/23/
2017-12-26 15:28:52 +01:00
Daniel Aarno
fb0d5f1f3e Updated NEWS with new release 2017-12-26 15:18:54 +01:00
Daniel Aarno
8bc3652fe2 Fix make distcheck issue with stale files in build dir. 2017-12-26 15:11:09 +01:00
Daniel Aarno
6d80988c37 Update changelog with new 1.2.2 release info 2017-12-26 14:26:18 +01:00
Daniel Aarno
75f440bcac Bump version to 1.2.2 2017-12-26 14:03:31 +01:00
Daniel Aarno
68fb0f35a2 Quick fix for ZshCompletionOutput test
The test was failing because elipsis changed from "..." to
"... ". This is a quick and dirty fix and should be cleaned up.

Also updated copyright notice

# Conflicts:
#	tests/test85.out
#	tests/test85.sh
2017-12-26 14:03:13 +01:00
Daniel Aarno
5879dff268 Fixed more typos 2017-12-26 14:00:18 +01:00
Daniel Aarno
4c04f3e965 Fixed typo 2017-12-26 14:00:13 +01:00
Daniel Aarno
221a79bf17 Fix } outside of include guards
You get an extra brace if ArgTraits.h ends up included more than once

https://sourceforge.net/p/tclap/patches/13/
2017-12-26 13:56:34 +01:00
Daniel Aarno
ad5345dfb7 Initialize theDelimiter (supress warning), found by test23. 2017-12-26 13:55:34 +01:00
Mike Smoot
0980af54f2 added patch to fix brief output with TCLAP_NAMESTRING defined 2017-12-26 13:54:15 +01:00
mes5k
3627d9402e updated changelog, news, docs, and added tests for flag and name defines tclap-1-2-1-release-final 2011-04-16 22:31:18 +00:00
mes5k
122b50e26d patch that allows arg start strings to be pound defined to easily conform to different platforms tclap-1-2-1-release 2011-04-11 00:08:41 +00:00
mes5k
d0cddc3183 being slightly more precise about what we clean 2011-04-09 18:58:33 +00:00
mes5k
89f4aacf98 fixed shadow variable name problem 2011-04-09 18:30:32 +00:00
mes5k
cbc24a3b58 fixed minor memory leak 2011-04-09 18:05:35 +00:00
macbishop
95dad7832b Check if compiler supports Weffec++ and if so use it (fixes
compilation issue with e.g. SunStudio compiler)
2011-03-15 11:26:48 +00:00
macbishop
e2eb7b522e Updated documentation for ArgTraits to reference StringLike and ValueLike classes. 2011-01-15 17:45:17 +00:00
macbishop
234fe9c7ff Added explicit cast to supress warning about deprecated conversion from string constant to char* 2011-01-15 17:32:08 +00:00
mes5k
ff7b9f89aa now using a slightly different variable for doc install to support out-of-tree builds 2011-01-03 01:18:49 +00:00
mes5k
febbb86d9d bumped version number to 1.2.1 tclap-1-2-1 2011-01-03 00:37:07 +00:00
mes5k
66846b5741 tweaked style so it doesn't blink 2011-01-03 00:30:39 +00:00
mes5k
94ed69a0d9 tweaked tests to reflect fix for mutually exclusive switches 2011-01-03 00:21:19 +00:00
mes5k
fc9d87a003 finally fixed bug relating to mutually exclusive combined switched 2011-01-03 00:20:46 +00:00
mes5k
4ba45abdb9 minor reformat 2011-01-02 23:12:56 +00:00
mes5k
82d187771b minor reformatting 2011-01-02 23:10:18 +00:00
mes5k
d6f5047688 added failing tests for XOR error message bug 2011-01-02 20:13:59 +00:00
mes5k
09c1d2a113 applied Tom Fogal's win64 patch for size_t 2011-01-02 19:52:54 +00:00
mes5k
fda780a4a5 hopefully fixed out-of-tree doc installation 2011-01-02 19:38:33 +00:00
mes5k
e9dfb0394b fixed all effective c++ warnings based on patch from Andrew Marlow 2011-01-02 18:50:47 +00:00