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
|
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
|
b3b74fd76e
|
Delete cParseRules when we're done with them. I think this is the last real valgrind issue.
|
2017-08-27 17:22:31 -07:00 |
brc0x1
|
92580983ec
|
Remove more leakage in cHashTable & policy parser
|
2017-08-25 04:43:52 -07:00 |
Brian Cox
|
265bc4701e
|
Turn #ifdef YACC_WINDOWS to #if 0 to make sure untested & unused code stays unused.
|
2017-08-25 21:37:15 -07:00 |
Brian Cox
|
dbc48d0326
|
Merge branch 'dev/next' of https://github.com/Tripwire/tripwire-open-source into dev/next
|
2017-08-25 19:02:30 -07:00 |
Brian Cox
|
f4263cf2b8
|
Comment out some #line directives in twparser, since they confuse gcov
|
2017-08-25 19:00:39 -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 |
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
|
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
|
9c38b49839
|
Prefer prefix ++/-- operators where possible, for performance reasons (per CppCheck)
|
2017-03-23 19:30:52 -07:00 |
Brian Cox
|
4cb15a741a
|
Remove 'util_EatAllSpaces' method, which did shady things with iterators and didn't even eat all whitespace
|
2017-03-22 00:11:20 -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
|
b2f21c3d55
|
Assorted bounds checks (via flawfinder)
|
2017-03-15 19:06:52 -07:00 |
brc0x1
|
86baf94ddf
|
Fix man page handling in make install
|
2017-02-20 17:03:24 -08: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
|
78fdac5efc
|
Tweak include paths so we're buildable outside of source tree.
|
2016-06-20 19:49:21 -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
|
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
|
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
|
00fb3538ab
|
Add casts to short in yyparse.cpp, to avoid -Wnarrowing warnings. GCC 6.x will treat these as errors, so this needed to be fixed. It's probably better to regenerate the parser from the .y files in src/parser, but I'm told those specifically require MKS Toolkit lex & yacc, and don't work with GNU Flex/Bison. So I suspect that's going to be a longer-term project.
|
2016-04-18 15:46:27 -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
|
9e5dd61e39
|
Fix various compiler warnings; enable -Wextra warnings except for unused params.
|
2016-04-15 12:42:31 -07:00 |
Brian Cox
|
5490bd3a2f
|
Build fixes for Android. Cross-compiling for any platform currently requires configuring with the --disable-openssl option, due to use of an AC_TRY_RUN macro for OpenSSL detection. Depending on the targeted Android version, it may be necessary to supply 'CFLAGS=-fPIE' and 'LDFLAGS=-fPIE -pie' to create runnable binaries.
|
2016-03-29 00:04:40 -07:00 |
Brian Cox
|
9698ca5333
|
Update buildsys for oddball platforms that don't support hardlinks, or have gethostbyname() in a weird library. Still generated w/ older v1.8.x automake/aclocal in order to keep diffs a reviewable size.
|
2016-03-25 10:59:56 -07:00 |
Brian Cox
|
261cef1392
|
Additional build fixes: Warning fixes from FreeBSD ports patch set, plus platform-specific build fixes for OpenBSD, Minix, Hurd, Syllable, (possibly) Android.
|
2016-03-22 21:30:23 -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 |