Commit Graph

410 Commits

Author SHA1 Message Date
brc0x1 523882f8e9 build & run correctly w/ gcc 2.95+ and w/o STLport 2021-04-14 23:55:55 -07:00
Brian Cox ed558c1578 fix building w/ ancient gcc versions that require STLport; also fix some tests & typos 2020-09-26 12:01:07 -07:00
Brian Cox c617ed56bb fix silly recent breakage in signature.cpp; clean up signature unit tests and minor tweaks to the test framework 2019-10-16 22:59:21 -07:00
Brian Cox 4e0c1249e4 Start removing deprecated IS_xxx macros; don't look for a C compiler at configure time, just a C++ one; clean up some builtin type handling stuff so we prefer compiler-provided values instead of rolling our own; remove a bunch of vestigial unused Win32 stuff 2019-10-10 14:11:21 -07:00
Brian Cox a4e53b9e64 tweak compiler identification: check GNU compatibility first & then do ID checks. 2019-09-29 21:48:20 -07:00
Brian Cox 6455c3966c mingw build stuff 2019-09-29 17:36:14 -07:00
Brian Cox ba981b075a more per-platform support ifdef work for displaying permissions 2019-09-29 15:13:07 -07:00
Brian Cox c1d21ff630 language level macro cleanup; don't roll our own dbstrings when that's avoidable 2019-09-29 14:40:58 -07:00
Brian Cox 70cd4ab27d macOS build fix 2019-09-28 19:24:08 -07:00
Brian Cox ce0189dc1e clang build fixes 2019-09-28 19:09:26 +00:00
Brian Cox a260b75db5 buildsys cleanup, mostly to help with AIX,HP-UX,MinGW builds 2019-09-28 06:13:38 -07:00
Brian Cox c0a67bc3c2 buildsys tweaks for HP-UX & AIX+OS400 2019-09-27 18:59:09 -07:00
Brian Cox b3f86242a8 add a file type for IBM i (AS/400) native objects 2019-09-22 23:33:48 -07:00
Brian Cox 458d8652b3 use clib locale code whenever compiler is gcc; try to use stdint.h types in cryptlib when possible 2019-09-21 16:03:51 -07:00
Brian Cox 0467ede8d9 fix C vs C++ locale handling on AIX+gcc; tweak mini-setup script 2019-09-20 16:07:20 -07:00
Brian Cox e4a1a1666d Fix another annoying buildsys issue; add mini-setup script as a n aid to dev & testing 2019-09-20 05:58:34 +00:00
Brian Cox 1ca2b86ed1 fix several clang-analyzer issues 2019-09-15 16:21:01 -07:00
Brian Cox f5f9f4e1a7 add some diagnostic logging to test-harness tests to capture expected vs observed add/remove/change values 2019-09-15 16:17:38 -07:00
brc0x1 01ee6bcd85 fix debug builds 2019-09-04 07:35:14 +00:00
Brian Cox a9443df76d build fixes for Solaris 11.4 (gcc & Oracle Studio compilers) 2019-08-19 23:16:35 -07:00
Brian Cox 97ef149c40 comment out more unused includes, to be removed entirely if this doesn't break on known platforms 2019-08-17 14:57:00 -07:00
Brian Cox 9f2f18ed92 buildsys tweaks for various platforms incl. AIX + XL C, Solaris + Oracle Studio 2019-08-13 09:52:09 -07:00
Brian Cox edec2a4bdd Build & link successfully with a cross compiler targeting VxWorks, though I can't actually test it yet; clean up & extend platform & file type detection a bit 2019-08-06 15:15:16 -07:00
Brian Cox e52b84518c tweak to random device detection 2019-08-05 08:45:10 -07:00
Brian Cox f3e3308968 more buildsys tweaks, mostly trying to make RH7 + gcc 2.96 happy 2019-08-04 21:25:59 -07:00
Brian Cox 69f15df805 fix two warnings that show up with Apple clang++ & -std=c++2a, including one where we called empty() on a string (uselessly) instead of the clear() that was obviously intended 2019-08-03 18:55:11 -07:00
Brian Cox 7fa7d01f7c more buildsys tinkering -- default compiler args, unicode escapes, swab() detection, setting autoconf language to c++ early on 2019-07-28 09:30:26 -07:00
Brian Cox 7eac9533b8 detect need for large file support flags instead of just setting them everywhere; set base compiler flags per compiler; detect availability of -Wall and -Wextra 2019-07-27 14:52:02 -07:00
Brian Cox b308f6871b Bump © year to 2019, because 2019 2019-01-03 20:30:41 -08:00
Brian Cox a95dd9e2a4
Merge pull request #31 from Tripwire/feature/standard-types
Use standard '_t' fixed-width types instead of rolling our own, where available
2018-10-28 14:10:58 -07:00
Brian Cox 15dfea4d85 clean up some formatting issues w/ standard type PR, etc. 2018-10-28 14:04:29 -07:00
Brian Cox c9e32170ba use standard '_t' fixed-width types instead of rolling our own, where available 2018-10-28 12:07:34 -07:00
Brian Cox b36af8598d Update buildsys with automake 1.16 2018-10-15 19:49:19 -07:00
Brian Cox ab48bd9560 Tweak for gcc buildability 2018-10-13 21:09:11 -07:00
Brian Cox d504fbd37e Tweak so it still builds w/ -std=c++98 2018-10-13 21:07:13 -07:00
Brian Cox 432efb34fb Make OST buildable w/ Apple Clang with -std=c++17. Changes are mostly avoiding conflict w/ std::byte, and replacing std::ptr_fun with lambdas, and getting rid of set_unexpected calls 2018-10-13 20:56:05 -07:00
Brian Cox ee71c537a8 Fix assorted warnings on gcc 8.2.2 2018-10-13 16:54:16 -07:00
Brian Cox b2e7db6ba9 Ifdef a test case that doesn't work w/ gxlc; add a test to verify exception handing works, because we've seen it not work 2018-09-25 01:11:46 -07:00
Brian Cox 84983b13d4 Add compiler detection for several non-gcc compilers, & fix a gxlc++ compilation issue 2018-09-23 23:54:53 -07:00
Brian Cox 4b54324733 Bump version to 2.4.3.8 & add gxlc++ detection 2018-09-21 22:56:37 -07:00
Brian Cox 1eef710a2b
Merge pull request #30 from hallcristobal/readme
Correct README formatting
2018-04-25 00:15:22 -07:00
Cristobal Hall-Ramos 62b04550cd Correct README formatting 2018-04-24 15:08:55 -04:00
Brian Cox 6e64a9e5b7
Merge pull request #29 from Tripwire/dev/q1-2018
Open Source Tripwire 2.4.3.7
2018-03-30 23:05:50 -07:00
Brian Cox 4a40b22487 Update BSD & generic policies to use same SEC_ naming conventions as other policies 2018-03-30 19:13:49 -07:00
Brian Cox 29efce4805 update changelog; change param names in some test-harness tests for consistency 2018-03-30 17:56:20 -07:00
Brian Cox 55b6e78584 Add test-harness tests for new twprint options (verbosity in print-db, object-list in print-report) 2018-03-30 01:21:49 -07:00
Brian Cox 6d82f3b6b1 Add ability to print report by object list, like we already do w/ print-db mode 2018-03-29 23:40:34 -07:00
Brian Cox 4d3c188cac Add --output-level/DBPRINTLEVEL to twprint's print-dbfile mode 2018-03-27 20:29:49 -07:00
Brian Cox de9ca5cbec Update ChangeLog for clang-format stuff 2018-03-24 21:58:49 -07:00
Brian Cox ccf8a62fa4 Clean up code formatting with clang-format; add a custom clang-format style that tries to approximate the existing OST code style 2018-03-24 21:28:30 -07:00