Commit Graph

120 Commits

Author SHA1 Message Date
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 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 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
Brian Cox 769874d34b Path fixes for FreeDOS/DJGPP 2017-09-13 21:35:56 -07:00
Brian Cox b648b2493f Fix various unit tests that didn't test anything, or needed cleanup; disable some cTWLocale methods that were unused outside of their own unit tests. 2017-09-08 16:31:36 -07:00
Brian Cox 2a3d69e8c9 Fixes for Cygwin: Use local swab() impl, and tweak policy update test-harness test path handling -- it was prepending a path variable that's always empty, but we were also using absolute paths so we didn't notice elsewhere, though we were using paths of the form //foo/bar/baz. Leading double slashes are significant on Cygwin since they're used to denote UNC paths, so tests failed there & uncovered this problem 2017-09-08 11:58:19 -07:00
Brian Cox 078bf28164 A few little tweaks for SkyOS unit tests & configure robustitude (i.e. relying on stdint.h (if present) to tell us which intrinsic type is 64 bits) 2017-09-07 01:00:58 -07:00
Brian Cox a56bae5397 Only use /dev/urandom if --enable-urandom configure arg is used, since current impl falls over on HP-UX & Solaris 10 SPARC & possibly elsewhere 2017-09-05 19:14:27 -07:00
Brian Cox 7a262bf1c1 Fix AROS build issue that crept in somehow 2017-09-01 17:13:57 -07:00
Brian Cox 5184fe01c4 Customize 'make clean' to also remove test data dirs and gcov files 2017-08-31 19:51:50 -07:00
Brian Cox 7fe1e4f79a Detect support for doors & event ports in a proper autoconf way. 2017-08-31 18:50:02 -07:00
Brian Cox 7310422053 Clean up iCodeConverter singleton on exit 2017-08-28 20:08:38 -07:00
brc0x1 92580983ec Remove more leakage in cHashTable & policy parser 2017-08-25 04:43:52 -07:00
Brian Cox 55020401d9 Fix a few simple leaks inside twtest; fix some file permissions that got set wrong in last commit 2017-08-25 18:28:09 -07:00
Brian Cox b3bcdbbcd9 Fix low hanging fruit items from valgrind memcheck results, mostly array deletes 2017-08-25 12:36:15 -07:00
brc0x1 8cec86246f Fix build issues cross compiling for RISC OS (haven't verified we actually work yet, though); fix a couple of build issues left over from recent test-dir changes to twtest 2017-08-24 19:20:40 -07:00
Brian Cox bd3b071e1b ifdef out some unused methods in our HAVAL impl. 2017-08-24 00:57:11 -07:00
Brian Cox 01e25eb493 Remove a couple of unused FSServices methods 2017-08-19 20:38:57 -07:00
Brian Cox d8e323e186 Rename 2038 epoch check to something more accurate & less alarming than 'TimeBombExploded' (sheesh), and only bother with it if time_t is 32 bits. 2017-07-31 18:49:36 -07:00
Brian Cox 24dba1b374 Remove or disable a little dead code uncovered by gcov 2017-07-28 20:15:50 -07:00
Brian Cox 180bf761e0 Buildsys files regenerated with automake 1.15.1, with no exciting new features 2017-07-08 22:18:04 -07:00
Brian Cox dae64c48ed Update copyright years 2017-04-25 18:31:11 -07:00
Brian Cox 8ba032c424 Change uses of _DEBUG and _DEBUG_DB defines to be DEBUG, since that's the only symbol that gets defined by configuring with --enable-debug. 2017-04-12 21:44:51 -07:00
Brian Cox a1e614d694 Remove irritating 'eof:' comments, and some ancient dead code in stringutil.cpp 2017-04-11 21:29:32 -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 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 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 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 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 900fad8ca4 Remove some dead code, including objectpool & Unicode-only utf8 stuff 2017-03-15 20:58:49 -07:00