* origin/topic/vern/usage-usage:
fixes for double-delete and reducing '?' operator with constant alternatives
additional test suite updates for "-u" usage issues
test suite updates for "xform" and "usage" alternatives, plus test name change
removed unused script variable
correct usage info for -u flag; -uu no longer supported
fix typo in btest filename
* origin/topic/vern/cpp-incr:
tweak to keep clang-format happy
minor note regarding improving performance of C++-generated code
factoring of generating C++ initializations, no semantic changes
restored support for incremental compilation of scripts to C++
fixes for -O gen-standalone-C++
new ZEEK_FILE_ONLY and ZEEK_FUNC_ONLY environment variables for debugging script optimization - replaces ZEEK_ONLY
fix for compiling record constructors to C++
fixes for compiling vector operations to C++
fixed for profiling missing some profile elements
removing vestigial methods
minor efficiency tweak for ZAM record construction
* origin/topic/timw/null-checks:
Check for sets before attempting to check for same Yield types
Add early bail-outs to same_type()
Fix types for Analyzer::register_for_port(s) to be the same
* origin/topic/vern/which-opt2:
btests for new --optimize-funcs and --optimize-files
update btest to no longer use (unsupported) %S formatting, no longer needed
replace --optimize-only with --optimize-funcs and --optimize-files
* origin/topic/vern/cpp-maint-dec21:
fixes for vector operations
flag globals initialized to opaque values as non-compilable
skip type signatures for lambdas
fix for translating filenames beginning with numbers to C++ variable names
remove unnecessary includes
* origin/topic/timw/1740-table-key-error:
GH-1741: Print error if calling a non-hook with hook keyword
GH-1740: Report a better error message if table key is not a list
* topic/christian/doctest-in-packages:
Update cmake and auxil/zeek-aux submodules
Remove the --enable-cpp-tests configure flag in Cirrus CI
Add testcases for plugin with doctest usage
Flip unit tests to being enabled by default
Support for unit tests in plugins
Alphabetically sort configure's enable/disable/with options
* origin/topic/vern/CPP-cond:
fix btest comment to more accurately describe the test
clang-format issue
btests for erroneous script conditionals
avoid compiling-to-C++ for functions potentially influenced by conditionals
track the use of conditionals in functions and files
AST profiles track the associated function/body/expression
* origin/topic/vern/CPP-speedup:
use iterator-based idiom for check-if-present-then-access
const-ify member function
switch looping over vectors to use iterators
remove unused local variables
efficiency fix - return a reference rather than a copy of a map
fix for case-sensitive file systems
geez sometimes it's signed sometimes it's not
documentation updates
remove -O add-C++ and -O update-C++ options
extensive rewrite of generation & execution of run-time initialization
factoring out CPPEscape to be a standalone function
removing unused SubNetType class
* origin/topic/timw/1571-move-tunnel-analyzers-2:
Update NEWS and some minor fixes for docs/zeekygen
Remove the old session-based tunnel analyzers
Add GTPv1 packet analyzer, disable old analyzer
Add Teredo packet analyzer, disable old analyzer
Add VXLAN packet analyzer, disable old analyzer
Add Geneve packet analyzer, disable old analyzer
Add AYIYA packet analyzer, disable old analyzer
Add PacketAnalyzer::register_for_port(s) functions
Add analyzer_confirmation and analyzer_violation events
Add utility function for tunnel analyzers to setup encapsulation
Store some additional information in the packet during processing
Minor fix in UDP to avoid duplicating tunnels
Fix error text in IPTunnel analyzer
Change Packet::ip_hdr to be a shared_ptr so it can be copied into EncapsulatingConn
Add method for packet analyzers to register for protocol detection
Add concept of "parent" tag namespaces
Unify plugin::Component and plugin::TaggedComponent into a single class
Remove uses of deprecated Tag types
Unify all of the Tag types into one type
* origin/topic/johanna/openssl-3-compat:
Update cmake submodule for OpenSSL 3.0 changes
OpenSSL 3: normalize self-signed-cert error message
Make cmake & ci like OpenSSL 3.0
Add OpenSSL 3.0 CI test
OpenSSL 3: fix warnings and tests
Switch OpaqueVal hashing back to legacy OpenSSL implementation
Fixes GH-1379
* origin/topic/timw/1620-unprocessed-packets:
Added plugin.unprocessed_packet_hook btest
Fix whitespace in help output
Add command-line option to write unprocessed packets to a file
GH-1620: Add event and plugin hook to track packets not processed
* topic/AbdelSaTd/case-insensitive-find:
testing-do-find-str_case-insensitive
case-insensitive-search-features-for-do_find_str
I did a few small style-fixes while merging this and expanded the test
a bit. I also removed unecessary commits.
Closes GH-1828
* origin/topic/robin/gh-1757-loadfile2:
Tweaking a couple of debug message.
Add new hook `HookLoadFileExtended` that allows plugins to supply Zeek script code to parse.
Move logic to execute `HookLoadFile` for signatures into rule matcher code.
* origin/topic/bbannier/issue-1780:
Add Github action exercising pre-commit
Add pre-commit config.
Format code with `clang-format`
Remove stale files `src/DebugCmdInfoConstants.*`
Disable formatting for files in `testing/btest/plugins`
Move 3rdparty source files to `3rdparty/`
* 'fix-set-intersection' of github.com:/ynadji/zeek:
Curse you tabs!
Remove unused tbl
Add reverse order intersection check
Fix C++ Intersection code
Change set intersection test to be correct