Commit Graph

215 Commits

Author SHA1 Message Date
Brian Cox 7af2781a19 Merge pull request #23 from Tripwire/dev/2435
Open Source Tripwire 2.4.3.5
2017-04-02 00:18:57 -07:00
Brian Cox 65e0a0d664 Tweak unit test error reporting slightly 2017-03-31 23:08:44 -07:00
Brian Cox 7b86cdd134 Unit test build fix, make sure <typeinfo> is included 2017-03-31 15:09:43 -07:00
Brian Cox a0d04d89ad Merge branch 'dev/2435' of https://github.com/Tripwire/tripwire-open-source into dev/2435 2017-03-31 14:34:10 -07:00
Brian Cox 65625c6d0e Tweak message about documentation location at end of install, so it points somewhere real vs. an empty string 2017-03-31 00:02:14 -07:00
Brian Cox 87750882e4 Update Changelog & fix a hyphen in ReadMe 2017-03-30 23:05:37 -07:00
Brian Cox 2df8802a71 Update readme file 2017-03-30 22:52:03 -07:00
Brian Cox a67d3c3a86 Clean up installer (remove unneeded checks, better editor & pager detection & path handling); update twtest to count failures instead of exiting on first one. 2017-03-30 22:22:52 -07:00
Brian Cox 9e1b078aac Fix setting of IS_xxx OS macros for various platforms 2017-03-29 00:13:22 -07:00
Brian Cox 4af1375fb1 More unit test cleanup, + fix a warning in msystem le_set() 2017-03-27 22:45:55 -07:00
Brian Cox ffd6dd8720 Merge branch 'dev/2435' of https://github.com/Tripwire/tripwire-open-source into dev/2435 2017-03-27 18:49:17 -07:00
Brian Cox f549b069af Remove installer check for tar since installer doesn't actually use it; remove some cleanup meant for an ancient patch lost in the mists of time 2017-03-27 18:49:07 -07:00
Brian Cox 7d66656c10 Build fix for tests, since you don't always have an ifstream/ofstream constructor that takes a string reference 2017-03-27 16:43:00 -07:00
Brian Cox 2c03fdf878 Enable/repair more unit tests, and undo an earlier change to hex_to_char() that was causing test failures 2017-03-27 00:50:33 -07:00
Brian Cox cdb7310dae Enable & (at least partly) fix charutil, displayencoder, & policyparser tests, which weren't running until now. 2017-03-26 20:16:37 -07:00
Brian Cox be0b374cad Tweak le_set() for clarity in msystem.cpp 2017-03-26 00:28:04 -07:00
Brian Cox c931a13ecd Disable unused tss::mbsdec() 2017-03-26 00:06:09 -07:00
Brian Cox da8748b6f2 fix file mode printing 2017-03-25 23:41:37 -07:00
Brian Cox 76868c5ccc Resolve assorted GCC 7 warnings 2017-03-25 19:40:54 -07:00
Brian Cox e04b97132b Ok, actually don't use strl* string functions since they're a BSD-ism & Linux doesn't have them. 2017-03-25 16:02:51 -07:00
Brian Cox 7ce1df0a04 Remove the few remaining exception specifications, since they're deprecated in C++11 & cause warnings in GCC 7 2017-03-25 15:31:47 -07:00
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