Daniel Aarno
c51fb519d6
Merge branch '1.2'
2018-08-02 12:12:56 -07: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
1e1cc4fb9a
Merge branch '1.2'
2018-01-15 22:44:59 +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
1a6966726d
Update README to point to discussion forum instead of e-mail.
2018-01-15 22:22:55 +00:00
Daniel Aarno
76626f569e
Merge branch '1.2'
2018-01-07 15:36:33 +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
f48369d765
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.
2018-01-02 17:16:54 +01:00
Daniel Aarno
f737be38c5
Update ignore file
2018-01-02 16:56:23 +01:00
Daniel Aarno
fcc6ba6dd6
Add new tests to makefile
2018-01-02 16:28:28 +01:00
Daniel Aarno
420fe8e13d
Merge branch '1.2'
2018-01-02 16:24:10 +01: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
642e48a667
Merge branch '1.2'
...
# Conflicts:
# include/tclap/ZshCompletionOutput.h
# tests/Makefile.am
# tests/runtests.sh
# tests/test79.sh
2017-12-26 21:28:10 +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
Daniel Aarno
5489dc9597
Formatting change: Don't print space after elipsis in usage
2017-12-26 08:01:03 +01:00
Daniel Aarno
9ccc290a07
Mark test as executable
2017-12-23 16:56:16 +01:00
Daniel Aarno
d2e5525760
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-23 16:55:56 +01:00
Daniel Aarno
d3ae484f7f
IWYU: sstream
...
Explicitly include sstream in tets wherever it is used.
2017-12-23 16:50:07 +01:00
Daniel Aarno
3d02fed104
Fixed more typos
2017-09-02 17:37:56 +01:00
Daniel Aarno
3ccab57178
Fixed typo
2017-09-02 17:16:53 +01:00
Daniel Aarno
7ab738957c
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
2017-08-30 14:26:02 +01:00
Daniel Aarno
1a40e8f5a8
Add const to iterators and xorAdd
...
No need to modify the passed vector, it should be a const reference.
https://sourceforge.net/p/tclap/patches/14/
2017-08-24 21:50:17 +01:00
Daniel Aarno
0333b277a5
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-08-24 21:44:33 +01:00
Daniel Aarno
4970b7e793
Check for NULL constraint and raise exception if found.
...
User is not allowed to provide a NULL constraint to the various ARG
constructors. This patch makes sure the Constraint is not NULL before
dereferencing and raises a logic_error if it is NULL.
Also included the two new tests test88 and test89 in runtests script.
2015-05-11 22:47:42 +02:00
Daniel Aarno
e2ed6cfbc4
Correctly run test88 (fixed arguments)
2015-05-11 22:45:09 +02:00