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
|
c9e32170ba
|
use standard '_t' fixed-width types instead of rolling our own, where available
|
2018-10-28 12:07:34 -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
|
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
|
f1525a267a
|
Bump version & copyright year
|
2018-01-01 17:44:15 -08: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
|
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
|
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
|
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
|
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
|
2d49bf6630
|
Report an error if requested feature isn't available on current platform -- SMTP mail, syslog, direct i/o hashing. And limit direct i/o to Linux for now, since elsewhere it either doesn't work the way we need it to (e.g. OSX, FreeBSD) or hasn't been tested adequately.
|
2016-07-09 10:49:14 -07:00 |
Brian Cox
|
b410bdf87f
|
Merge branch 'master' of https://github.com/brc0x1/tripwire-open-source
|
2016-07-03 14:30:53 -07:00 |
Brian Cox
|
c4440c5d29
|
Make direct i/o option work properly (ie don't use fread(), and use full block size on EOF), & rename it to HASH_DIRECT_IO for clarity
|
2016-07-03 14:29:05 -07:00 |
Brian Cox
|
0d8bdcc4d8
|
Support native-style paths on DOS/DJGPP
|
2016-06-29 21:02:12 -07:00 |
Brian Cox
|
207189dafd
|
Update platform macros in platform.h, and use them instead of compiler-defined OS macros.
|
2016-06-23 23:12:22 -07:00 |
Brian Cox
|
bb863522f2
|
[AROS] hide interactive passphrases; delete temp files after use; validate temp dir even if config value isn't set.
|
2016-06-12 17:27:14 -07:00 |
Brian Cox
|
e42921d04a
|
Caching & direct i/o stuff for HP-UX, via VX_xxx ioctls.
|
2016-06-09 18:35:40 -07:00 |
Brian Cox
|
3ce7d71749
|
Enable use of O_NOATIME on GNU/Hurd, via the _GNU_SOURCE macro.
|
2016-06-07 22:58:19 -07:00 |
Brian Cox
|
48801a41a7
|
Add direct i/o for Solaris, via the directio() syscall.
|
2016-05-25 23:42:26 -07:00 |
Brian Cox
|
64a5bab856
|
Use both POSIX_FADV_SEQUENTIAL & POSIX_FADV_NOREUSE when scanning (if available) since they aren't mutually exclusive.
|
2016-05-25 12:14:55 -07:00 |
Brian Cox
|
dbb7a57cdc
|
Merge branch 'master' of https://github.com/brc0x1/tripwire-open-source
|
2016-05-24 18:50:12 -07:00 |
Brian Cox
|
0082db13fa
|
Use O_NOATIME while scanning (if available) to avoid updating file access times.
|
2016-05-24 18:50:00 -07:00 |
Brian Cox
|
5ffab7f278
|
Only posix_fadvise() on close if stream is nonnull, since fileno() segfaults (on Linux) if you try that.
|
2016-05-09 10:34:53 -07:00 |
Brian Cox
|
b543a36d89
|
Use posix_fadvise() maybe-correctly; only use O_DIRECT for hashing, if requested; better exception handling in fspropcalc & fsdatasourceiter to prevent errors scanning individual objects from blowing up the whole init/check.
|
2016-05-06 11:24:24 -07:00 |
Brian Cox
|
eaca9fcedf
|
Support posix_fadvise() where available; optionally enable O_DIRECT/F_NOCACHE if DIRECT_IO=true in tw.cfg; fix internal naming of update 'secure mode' flag for clarity.
|
2016-05-05 00:19:56 -07:00 |
Brian Cox
|
728795af3d
|
Replace tabs with 4 spaces in all remaining OST code, since this inconsistency can now result in 'misleading indentation' warnings in GCC 6.0+.
|
2016-04-23 00:33:17 -07:00 |
Brian Cox
|
9e5dd61e39
|
Fix various compiler warnings; enable -Wextra warnings except for unused params.
|
2016-04-15 12:42:31 -07:00 |
Brian Cox
|
36eee10956
|
Large file tweaks for e.g. 32-bit Linux; update ReadMe & ChangeLog again.
|
2016-04-11 20:29:37 -07:00 |
Brian Cox
|
c41aba17db
|
Set _LARGEFILE_SOURCE; use O_NONBLOCK where available, in case of file-to-fifo switch or mandatory file locking
|
2016-04-07 18:56:39 -07:00 |
Brian Cox
|
e71023730e
|
Add Posix<-->Native path conversion, and handle absence of Unix unlinked-but-open tempfile trick on AROS
|
2016-04-01 18:01:59 -07:00 |
Ken Westin
|
c8dc58df50
|
Open Source Tripwire 2.4.2.2
Initial commit of code from Sourceforge repository.
|
2015-05-03 22:26:18 -07:00 |