Commit Graph

194 Commits

Author SHA1 Message Date
Brian Cox 8cdca39103 Prefer strl* string functions over strn* ones 2017-03-25 15:06:22 -07:00
Brian Cox 911e051091 Fix more warnings, & make TestFCOSpec() do something useful in non-debug builds 2017-03-23 23:45:20 -07:00
Brian Cox 9c38b49839 Prefer prefix ++/-- operators where possible, for performance reasons (per CppCheck) 2017-03-23 19:30:52 -07:00
Brian Cox 5c1cfe4702 Use unique_ptr instead of auto_ptr where available (and define a macro to pick which one to use); fix a few other remaining warnings. 2017-03-22 20:00:08 -07:00
Brian Cox 4cb15a741a Remove 'util_EatAllSpaces' method, which did shady things with iterators and didn't even eat all whitespace 2017-03-22 00:11:20 -07:00
Brian Cox ea2170fd20 Tweak a memory alignment unit test that doesn't (and should not be expected to) work on HP-UX. 2017-03-21 23:36:26 -07:00
Brian Cox 5275975d86 Correctly handle rule w/ leading whitespace within a quoted path. Uncomment test case that validates correct behavior. 2017-03-19 23:09:05 -07:00
Brian Cox a2e82147eb update old 'directives.txt' policy test file for current syntax 2017-03-19 10:40:29 -07:00
Brian Cox 2c57dd824a Update test policy files in src/parser/testfiles to (largely) match current policy language 2017-03-17 23:37:05 -07:00
Brian Cox 6ea9c0b92e fix debug builds in debug.cpp 2017-03-17 18:38:56 -07:00
Brian Cox 2b067176ad Fix some clang extended warnings: non-virtual-dtor, shadow, unneeded-internal-declaration 2017-03-17 00:04:21 -07:00
Brian Cox aaee78c061 Tweaks for 'make check': Don't assume location of perl, or existence of /etc/hosts 2017-03-16 20:51:12 -07:00
Brian Cox 8bd86fe60d Address more cppcheck warnings, mostly around assignment operators & explicit constructors 2017-03-15 23:41:23 -07:00
Brian Cox b1147d65cf Add sanity check in cFCODataSourceIterImpl::SeekToFCO() to fix a unit test that fails on some platforms 2017-03-15 21:44:54 -07:00
Brian Cox 900fad8ca4 Remove some dead code, including objectpool & Unicode-only utf8 stuff 2017-03-15 20:58:49 -07:00
Brian Cox 1fb5f332e6 For clarity, remove a bunch of IS_UNIX ifdefs, since configure.ac always defines IS_UNIX to 1 no matter the OS. 2017-03-15 20:31:38 -07:00
Brian Cox b2f21c3d55 Assorted bounds checks (via flawfinder) 2017-03-15 19:06:52 -07:00
Brian Cox d3f859bfbd Address some cppcheck warnings around initializers & catching by reference 2017-03-15 00:47:52 -07:00
brc0x1 63168d9880 Update copyright/tm notice in installer script 2017-03-14 13:16:43 -07:00
brc0x1 91e19716d0 Merge branch 'dev/2435' of https://github.com/Tripwire/tripwire-open-source into dev/2435 2017-03-14 13:08:00 -07:00
Brian Cox 062523a60e Add a working 'make check' target, which runs both the test suite in src/test-harness, and all the twtest unit tests; update unit test binary to return standard success/fail values, to keep make happy 2017-03-14 01:23:23 -07:00
Brian Cox 2e39db661b Comment out a known-problematic assert in zdeflate.cpp (though I haven't actually seen it fail in OST). Later versions of Crypto++ comment out or remove this line, so this seems reasonable to do until I can figure out how to update the whole library 2017-03-14 00:32:16 -07:00
brc0x1 58dafd1d9e Tweak path to install.sh so 'make distcheck' works; update installer to pick up additional files for docs directory. 2017-03-13 17:25:44 -07:00
brc0x1 306b7a7a5f Tweak 'make uninstall' to nuke twexes & docs 2017-03-13 15:42:47 -07:00
Brian Cox db44ff8faf Add 'disable-extrawarnings' configure option to support old compilers that don't support the -Wextra compiler flag. 2017-03-12 01:59:25 -08:00
Brian Cox b0b95667f3 Bump version; tweak install script so install-strip works when not sudo'd; detect compiler properly when g++ goes by 'c++' 2017-03-11 14:46:27 -08:00
Brian Cox 38f089f701 Merge pull request #21 from Tripwire/dev/2.4.3.4
OST 2.4.3.4
2017-03-04 23:31:49 -08:00
Brian Cox e88df2f226 update ChangeLog 2017-03-04 23:27:27 -08:00
Brian Cox c4c8821145 Fix install-strip target so it actually strips binaries 2017-03-04 22:56:55 -08:00
Brian Cox 1ad9ead388 Update version to 2.4.3.4; fix level 2 reporting that got broken in 2.4.3.3 2017-02-26 22:06:20 -08:00
Brian Cox 2617c9acec Merge pull request #16 from Tripwire/dev/2.4.3.3
Open Source Tripwire 2.4.3.3 update
2017-02-21 20:10:02 -08:00
Brian Cox e5a0ee308d Merge branch 'dev/2.4.3.3' of https://github.com/Tripwire/tripwire-open-source into dev/2.4.3.3 2017-02-21 19:56:14 -08:00
Brian Cox 388a29a175 Update changelog for 2.4.3.3 2017-02-21 19:56:05 -08:00
brc0x1 d230711044 Fix no-op install & uninstall targets in src 2017-02-21 01:03:29 -08:00
Brian Cox a717107e9a Merge branch 'dev/2.4.3.3' of https://github.com/Tripwire/tripwire-open-source into dev/2.4.3.3 2017-02-20 23:21:07 -08:00
Brian Cox d6df22f9dc Fix various Clang static analyzer quibbles 2017-02-20 23:21:00 -08:00
brc0x1 530e7d3186 Fix filename case issue w/ make dist 2017-02-20 17:54:20 -08:00
brc0x1 05b6d7c860 Fix twexe install in install.sh 2017-02-20 17:38:19 -08:00
brc0x1 86baf94ddf Fix man page handling in make install 2017-02-20 17:03:24 -08:00
Brian Cox f52ddb9c6f Add an include to fix Alpine Linux build issue (issue #15) 2017-02-20 14:50:25 -08:00
Brian Cox 005be38165 Fix permissions on a couple of cpp files (issue #14) 2017-02-20 14:49:52 -08:00
Brian Cox 35cb9bb6a7 Create 2.4.3.3 branch & update version string 2017-02-20 14:48:30 -08:00
Brian Cox 2f41ee1e5f Merge pull request #10 from brc0x1/master
Open Source Tripwire 2.4.3.2
2017-01-31 21:35:07 -08:00
Brian Cox b69b1cf01c Use a non-default compiler list in AC_PROG_CC and AC_PROG_CXX, since autoconf/automake still doesn't know what Clang is. 2017-01-16 20:56:58 -08:00
Brian Cox 6b3b361bb2 update ChangeLog 2017-01-15 21:15:55 -08:00
Brian Cox 953c9755dc Update 2.4.3 readme with more about what's new. 2017-01-15 21:11:14 -08:00
Brian Cox b9cef48cb7 Update copyright dates, add new config options and command line args to man pages 2017-01-15 20:47:58 -08:00
Brian Cox cdc1b4d182 Update COMMERCIAL file to be more informative & remove non-working links 2017-01-15 18:06:20 -08:00
Brian Cox 0cb7989c79 Tweak a missing include 2016-12-11 00:44:06 -08:00
Brian R. Cox e7b63b6f96 Include stdlib.h in asn.cpp (non-linux build fix) 2016-12-03 16:26:11 +00:00