Commit Graph

56 Commits

Author SHA1 Message Date
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 f1525a267a Bump version & copyright year 2018-01-01 17:44:15 -08:00
Brian Cox 9872bef2f2 Fix/implement more unit tests that were marked as 'skipped' 2017-09-24 18:44:47 -07:00
Brian Cox 769874d34b Path fixes for FreeDOS/DJGPP 2017-09-13 21:35:56 -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 6582fb77fb Remove a bunch of unused methods in cTWUtil 2017-08-19 19:54:35 -07:00
Brian Cox db60f15f23 Fix misspelling of 'UNKNOWN' in a constant name; add a missing bracket in twprint print-db mode help 2017-08-04 23:14:54 -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 5a425591ce Redo hierdatabase & dbdatasource unit tests so they do something useful; add sanity checks to cBlockRecordFile::FindRoomForData and cDbDataSourceIter::SetFCOData, the need for these was exposed by the new tests. Also update debug-only DB Explore mode with a few more commands 2017-04-19 20:20:08 -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 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 76868c5ccc Resolve assorted GCC 7 warnings 2017-03-25 19:40:54 -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 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 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 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 d3f859bfbd Address some cppcheck warnings around initializers & catching by reference 2017-03-15 00:47:52 -07:00
Brian Cox 1ad9ead388 Update version to 2.4.3.4; fix level 2 reporting that got broken in 2.4.3.3 2017-02-26 22:06:20 -08: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 b9cef48cb7 Update copyright dates, add new config options and command line args to man pages 2017-01-15 20:47:58 -08: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 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 3135aaea4f More dead code removal: Remaining MAPI stuff, & integration code for the long-defunct GeoPlex/GMMS. 2016-06-22 23:45:46 -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 0ee24bc84b New platform: MS-DOS/FreeDOS with DJGPP (i586-pc-msdosdjgpp). Detect & handle if sys/socket.h isn't present, which is default for DJGPP. Also handle slightly different struct stat, file type macros, absence of Posix signals. 2016-06-17 19:57:06 -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 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 7d304be407 Use version text from configure script, so we only have to change it in one spot. 2016-06-09 21:49:00 -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 afd11628fd AROS build fix 2016-06-03 19:07:10 -07:00
Brian Cox 43d2ff1a04 Display multibyte characters properly, and accept them in interactive db update. 2016-06-01 22:08:25 -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 ccf149c978 Bump version to 2.4.3.2 2016-04-25 15:38:14 -07:00
Brian Cox 773e3b5487 Fix a couple of 'misleading indentation' warnings exposed by the big tab->spaces commit yesterday. 2016-04-23 12:34:04 -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 210a394b1c Bump version to 2.4.3.1; update ChangeLog 2016-04-19 11:45:11 -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