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
|
25ddcc0ca6
|
Break some big unit tests into smaller ones
|
2017-09-04 11:47:35 -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
|
2fc9faaee1
|
remove a backup file I hadn't meant to commit
|
2017-07-09 00:11:05 -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
|
dbc00a2ed4
|
Fix logic error in cFCOPropVector::isExtended(), which only manifests with large prop vectors we currently won't see in the wild. Exposed by intermittently failing test in fcopropvector_t.cpp circa line 132, which now passes reliably on platforms where it used to fail.
|
2017-07-08 19:51:23 -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
|
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
|
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
|
2b067176ad
|
Fix some clang extended warnings: non-virtual-dtor, shadow, unneeded-internal-declaration
|
2017-03-17 00:04:21 -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 |
Brian Cox
|
d6df22f9dc
|
Fix various Clang static analyzer quibbles
|
2017-02-20 23:21:00 -08:00 |
brc0x1
|
86baf94ddf
|
Fix man page handling in make install
|
2017-02-20 17:03:24 -08:00 |
Brian Cox
|
aaa132d211
|
Support paths w/ leading double slash (per an obscure corner of the POSIX spec) on platforms that implement it, currently just Cygwin. (Cygwin uses this for UNC paths.)
|
2016-08-07 23:24:15 -07:00 |
Brian Cox
|
33e8f4d76b
|
Remove static direct i/o buffer & blocksize cfg option.
|
2016-07-21 20:22:52 -07:00 |
Brian Cox
|
ad85c15f07
|
Initial tweaks for RTEMS support, though linking is still a work in progress.
|
2016-07-10 22:33:23 -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
|
78fdac5efc
|
Tweak include paths so we're buildable outside of source tree.
|
2016-06-20 19:49:21 -07:00 |
Brian Cox
|
eec52685c4
|
Delete a few unused source files (package.cpp, userstring.*, fcopropsetimpl.*) to avoid confusion.
|
2016-06-19 15:13:05 -07:00 |
Brian Cox
|
f41e3e06b6
|
Use the right 'ar' when cross compiling, instead of always wanting to use default system 'ar'. This happened because autoconf doesn't have a builtin AC_PROG_AR macro, so we have to provide our own.
|
2016-06-17 20:33:10 -07:00 |
Brian Cox
|
03622ed0f0
|
Specify headers in makefiles, so 'make dist' knows to include them
|
2016-06-14 01:15:37 -07:00 |
Brian Cox
|
7ad2b52d14
|
Remove UCS2-related dead code, in the name of clarity
|
2016-06-13 20:11:13 -07:00 |
Brian Cox
|
c79a6af7b1
|
[OSX] Use CommonCrypto md5 & sha1 impls by default, with a --disable-commoncrypto configure option to disable them and use the old builtin impls.
|
2016-06-07 19:06:10 -07:00 |
Brian Cox
|
48a4392343
|
Update buildsys to automake 1.15 and fix resulting warnings. This involved an autoreconf -if, and then reverting config.guess and config.sub since they're actually newer than the ones automake wants to install, and they've been customized a bit to detect e.g. MidnightBSD
|
2016-06-06 19:51:38 -07:00 |
Brian Cox
|
9214316bbd
|
Align buffer on page boundary if user enables HASH_DIRECT (formerly DIRECT_IO); let user specify num blocks per read.
|
2016-05-16 19:32:38 -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
|
5819201c68
|
GCC 6's new 'misleading indentation' warning showed up a few times in OST, so this commit squashes all the current examples of that. Also adds Fedora 24 alpha 7 (x64) + gcc 6.0.0 to the list of tested platforms.
|
2016-04-22 18:27:02 -07:00 |
Brian Cox
|
0cb48a433a
|
Squash more warnings, including char* / string constant ones in msystem & policy parser.
|
2016-04-21 00:16:14 -07:00 |
Brian Cox
|
a9207128e2
|
Test fixes so twtest runs to completion, mostly by adding ifdef+todo for the time being. Also add twtest to .gitignore
|
2016-04-16 22:45:59 -07:00 |
Brian Cox
|
677162cc6e
|
Revive the old unit test suite. Needs autoconf/buildsys work, and tests don't all pass yet.
|
2016-04-16 19:16:32 -07:00 |
Brian Cox
|
ea361e91fe
|
Fix warnings around explicitly calling base class constructors in copy constructors
|
2016-04-15 17:16:32 -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
|
f47e5e7a9d
|
Resolve a bunch of non-virtual destructor warnings
|
2016-04-14 21:45:46 -07:00 |
Brian Cox
|
da16d91146
|
Add option to show hashes as hex instead of base64. Siggen already provided this.
|
2016-04-09 16:36:39 -07:00 |
Brian Cox
|
f666409d8f
|
String handling tweaks (string <--> dbchar) so AROS build works properly.
|
2016-04-02 10:38:21 -07:00 |
Brian Cox
|
ec90cdc0a5
|
Duplicate separator fix, AROS seems to need this.
|
2016-04-01 09:36:29 -07:00 |
Brian Cox
|
1e06389361
|
Fix SHA hashes when using OpenSSL impl; build fix for SkyOS 5.0 which doesn't have syslog().
|
2016-03-26 16:08:04 -07:00 |
Brian Cox
|
bb4ef956c0
|
Build fix for with-OpenSSL SHA handling
|
2016-03-26 01:38:25 -07:00 |
Brian Cox
|
184bfe63eb
|
Fix non-OpenSSL SHA brokenness; fix OpenSolaris/OpenIndiana build issue; tweak filelist in touchconfig script; update ChangeLog, RPM spec, & MAINTAINERS
|
2016-03-26 01:08:03 -07:00 |