60e235888bAdd some testing for HashTableX
master
Zachary D. Rowitsch
2024-12-22 20:54:06 -05:00
de3c4e99a8Add more tests to Abbreviations and some more minor cleanup
Zachary D. Rowitsch
2024-12-22 18:53:33 -05:00
f6252e633cCleanup Pages.* and PageHosts.cpp
twistdroach
2024-08-17 01:30:23 -04:00
c3660f7794Update readme with cmake/catch2
twistdroach
2024-08-16 00:24:25 -04:00
2bde13ce1bSimple template test, not to be merged
inja-template
twistdroach
2024-08-15 23:59:21 -04:00
117587e81bMove ancient script dir to junkdrawer, create a new gen_cluster_config cmd line tool in fresh script dir
twistdroach
2024-07-02 00:08:44 -04:00
1e39c7616eCleanup Linkdb.cpp/h, remove much commented code. IMPORTANT: removed some this==null checks. Fixed Cmake builds for macos.
twistdroach
2024-06-29 19:34:18 -04:00
0e5009d510Add some validation to the url value passed in Advanced->Parser, url field to prevent an assert being hit with a malformed url
twistdroach
2024-06-30 00:26:46 -04:00
178c374e75Query::clear() is writing beyond the bounds of some arrays
twistdroach
2024-06-26 23:49:47 -04:00
5680564647Add -wno-misleading-indentation to avoid soo many warnings
twistdroach
2024-06-26 23:49:09 -04:00
ad92f1e2eeMove SafeList.h and Sanity.h to the junkdrawer
Zachary D. Rowitsch
2024-06-24 16:45:36 -04:00
f446f0ce69Copy runtime requirements into cmake build dir, so that gb can be run directly from cmake build directory and not affect src dir at all
twistdroach
2024-06-24 06:28:49 -04:00
1b5c8100cfConvert more assertions to gbassert (Dates.cpp)
twistdroach
2024-06-24 05:30:13 -04:00
69da425b70Convert more assertions to gbassert
twistdroach
2024-06-23 02:46:28 -04:00
bf6d353291Convert more assertions to gbassert
twistdroach
2024-06-20 01:26:19 -04:00
8048c7db38Tune up Abbreviations.cpp to silence some warnings
twistdroach
2024-06-19 19:03:52 -04:00
3080705025Minor fixes to cmake config and tests
zrowitsch
2024-06-11 11:02:38 -04:00
f1e9424356Start to get CMake working
devel
Zachary D. Rowitsch
2024-06-10 19:06:00 -04:00
7c27b93098Add some const to eliminate a bunch of write-strings errors
Zachary D. Rowitsch
2024-06-07 05:09:34 -04:00
8edfe70f7aMove Ads.h to the junkdrawer
Zachary D. Rowitsch
2024-06-07 04:17:22 -04:00
4020b5e3b2Add some simple test cases for Abbreviations.cpp, mostly to test testing
Zachary D. Rowitsch
2024-06-06 02:06:31 -04:00
4991119cd0Eliminate many intentional assertion checking segfaults with gbassert() in Spider.cpp and XmlDoc.cpp
zrowitsch
2024-05-28 01:29:56 -04:00
2bb4f48c4aCleanup of asserts in XmlDoc.cpp (first commit)
zrowitsch
2024-05-26 00:52:27 -04:00
3d98f0aa44Move gbassert into its own header file (out of gb-include.h)
zrowitsch
2024-05-25 23:21:15 -04:00
7e50e163ddReplace std::for_each with std::ranges::for_each
zrowitsch
2024-05-25 01:10:38 -04:00
a406fa8c7cCleanup Abbreviations.cpp - remove commented code, fix assertions and some variable shadowing
zrowitsch
2024-05-24 23:11:01 -04:00
a0cde5502dAdd gbassert_false() for easier conversion. Tried replacing some of the xx=NULL intentional segfaults with gbassert/gbassert_false. I think much cleaner
zrowitsch
2024-05-24 22:40:15 -04:00
45dbff2045Fix stack dump on crash to dump symbols rather than log addr2line command. Add gbassert() so the purposeful segfaults can be replaced by just raising a SIGSEGV & it's purpose will be more clear
zrowitsch
2024-05-24 15:53:16 -04:00
d7c5762556Get some basic test infrastructure built so it's possible to write tests when making changes
zrowitsch
2024-05-23 20:04:30 -04:00
3ba8a20ac7Separate sources that are used to build gb, put them in src, and put everything else in the junkdrawer dir. Start a new/clean Makefile.
zrowitsch
2024-05-15 22:29:34 -04:00
fc43b3f666Stop memseting objects in TcpServer, use clear() instead
zrowitsch
2024-05-14 22:53:12 -04:00
1df70c2d59Merge branch 'master' into devel
zrowitsch
2024-05-01 23:26:24 -04:00
ad9f671acaVarious minor undefined behavior fixes - aliasing issues, checking error on filehandle that's been closed, etc
zrowitsch
2024-05-01 23:25:38 -04:00
c85db512d6Turn optimizations back on (-O3)
twistdroach
2024-04-23 21:25:48 -04:00
6c83d81c74Add a dockerfile and entrypoint to make it easy to play with
twistdroach
2024-04-10 23:16:21 -04:00
d4c60a2086Attempt to fix segfault I just reverted
Zachary D. Rowitsch
2023-11-30 20:08:26 -05:00
35e7935779Revert change to TcpServer to avoid a segfault - breaks Spidering due to inadvertant change in behavior, need to fix segfault deeper in stack
Zachary D. Rowitsch
2023-11-30 01:03:04 -05:00
09a3216899Fix a number of segfaults that occur under higher optimization levels
Zachary D. Rowitsch
2023-11-29 19:17:55 -05:00
e1044559e2Remove call to mlockall() at application start
twistdroach
2023-11-27 00:31:04 -05:00
c81861316cCleanup Mem & Loop, remove tons of commented code
twistdroach
2023-11-27 00:07:42 -05:00
ea551c9e7bUp c++ standard to c++23. Eliminate some warnings from the deprecation of register keyword.
Zachary D. Rowitsch
2023-11-25 19:55:38 -05:00
18fb2d3122Remove more unused includes
Zachary D. Rowitsch
2023-11-25 16:39:29 -05:00
93aafa5b67Remove more unused includes
Zachary D. Rowitsch
2023-11-25 01:02:01 -05:00
4ef25b0d78Remove unused includes
Zachary D. Rowitsch
2023-11-24 19:00:07 -05:00
8907fd0b79Remove unused macros
Zachary D. Rowitsch
2023-11-24 07:18:15 -05:00
723130eecaSimplify printf formatting macros to use the cinttypes versions. Should probably do a massive find/replace on these at some point to eliminate them completely.
Zachary D. Rowitsch
2023-11-23 20:03:12 -05:00
b1c4dae6fdFix GbErrno.cpp include (for case sensitive filesystems)
Zachary D. Rowitsch
2023-11-23 20:01:38 -05:00
81ede57b87Rename Errno.h/Errno.cpp to GbErrno.h/GbErrno.cpp to keep from conflicting with errno.h on case-insensitive filesystems
twistdroach
2023-11-04 16:57:58 -04:00
fe48f34badMinor changes to get gb to compile on macos, not perfect but better. Also minor changes to avoid immediate cores when running gb on macos
Zachary D. Rowitsch
2023-11-03 19:41:35 -04:00
1f6f6bbe93Addressed deprecated OPENSSL functions ERR_remove_state() and ERR_remove_thread_state() was deprecated in OpenSSL 1.1.0 when the thread handling functionality was entirely rewritten
CompunixAu
2021-06-23 13:39:56 +00:00
32f6030a13Addressed class-memaccess compiler warnings related to clearing an object of non-trivial type
CompunixAu
2021-06-22 13:46:44 +00:00