Commit Graph

278 Commits

Author SHA1 Message Date
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 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 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 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 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
Brian Cox 0f236fabf4 Use system/popen on Syllable since msystem/mpopen fail there; root cause is still TBD. 2018-02-24 22:50:25 -08:00
Brian Cox 9c645498e2 Tweak twest usage/help, & add version info and zero-tests-ran error 2018-02-10 16:44:31 -08:00
Brian Cox 098d91a03b One more version update; remove an unneeded include 2018-01-02 00:32:07 -08:00
Brian Cox f1525a267a Bump version & copyright year 2018-01-01 17:44:15 -08:00
Brian Cox d06b001efe Platform macros for QNX, & recognize the QNX-only 'Named special file' filetype 2017-09-27 20:25:24 -07:00
Brian Cox 38ba317588 Update ChangeLog for 2.4.3.6 (finally); Tweak a TWUtil test so it expects the right uid value on AROS 2017-09-27 00:07:59 -07:00
Brian Cox 249c2cd33f Additional unit test tweaks to make DOS+DJGPP happier 2017-09-24 23:48:57 -07:00
Brian Cox 9872bef2f2 Fix/implement more unit tests that were marked as 'skipped' 2017-09-24 18:44:47 -07:00
Brian Cox 1333f3c15e LibertyBSD platform detection 2017-09-23 18:21:13 -07:00
Brian Cox 99641c468f Add a platform macro indicating whether OS lets temp files be unlinked while open 2017-09-23 13:19:40 -07:00
Brian Cox ea885446c2 Small Redox path tweaks 2017-09-22 23:40:36 -07:00
brc0x1 9b6750a98c More for Redox support, & cleaner exclusion of SMTP stuff when SUPPORTS_NETWORKING is false 2017-09-22 21:02:50 -07:00
Brian Cox 6a104efd03 Update config.guess & config.sub to GNU latest (but re-adding MidnightBSD fix); add config macros for struct stat fields that aren't always present (instead of static defines in platform.h); platform detection & path handling for Redox 2017-09-22 20:20:17 -07:00
Brian Cox 3924c4376c Add unit test to verify IS_xxx platform macros are defined correctly 2017-09-21 23:34:41 -07:00
Brian Cox 4f0b019ef3 Tinker with BSD platform detection (now including Bitrig); add policy files for various BSDs (adapted from policy for the closest BSD, Free or Open), plus one for HP-UX adapted from the generic policy 2017-09-21 19:46:56 -07:00
Brian Cox b60dcfa7d6 Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next 2017-09-21 13:07:46 -07:00
Brian Cox 096a96ad55 Platform.h tweak & policy file for MirOS BSD 2017-09-21 13:06:52 -07:00
Brian Cox 7545beb0e6 Make sure cFile_i is constructed & destructed cleanly; clean up GetSymLinkStr a bit more; improve Debug/Basic & UnixFSServices/GetExecutableFilename unit tests 2017-09-21 01:12:28 -07:00
brc0x1 a4ae3af444 Fix/implement RISC OS path handling 2017-09-18 17:55:17 -07:00
Brian Cox e18003bb14 AROS path fix 2017-09-13 23:39:50 -07:00
Brian Cox f67c370f29 Enable some new path unit tests 2017-09-13 23:01:22 -07:00