Commit graph

10798 commits

Author SHA1 Message Date
Jon Siwek
2a8de33c63 Merge remote-tracking branch 'origin/topic/jsiwek/gh-1122'
* origin/topic/jsiwek/gh-1122:
  GH-165: Fix global initializations that indirectly use builtin types
  Improve how primary/top-level BIFs get initialized
  GH-1122: Allow initializing globals with calls to subdir BIFs
  GH-1122: Improve error for global record initialization exceptions
2020-09-04 17:24:50 -07:00
Jon Siwek
319556fa36 Update submodule(s)
[nomail]
2020-09-03 20:45:22 -07:00
Jon Siwek
c7408482b4 Change a script comment to use "code-block" directive 2020-09-03 15:03:12 -07:00
Jon Siwek
48e2445600 Merge remote-tracking branch 'origin/topic/jsiwek/skip-ci-benchmark'
* origin/topic/jsiwek/skip-ci-benchmark:
  Improve CI benchmark script's error handling/messaging
2020-09-02 20:51:35 -07:00
Johanna Amann
425b6104c5 Merge remote-tracking branch 'origin/topic/jsiwek/gh-955-prohibit-typecasting-switch-fallthrough'
* origin/topic/jsiwek/gh-955-prohibit-typecasting-switch-fallthrough:
  GH-955: Prohibit `fallthrough` in typecasting `switch` cases

Closes GH-955
2020-09-02 11:49:28 -07:00
Jon Siwek
efcdacda98 Switch generate-docs action to daily schedule 2020-09-01 22:34:11 -07:00
zeek-bot
45577d16bf Update doc submodule [nomail] [skip ci] 2020-09-02 05:26:42 +00:00
Jon Siwek
69fcb789b8 Fix typo in generate-docs action 2020-09-01 22:20:04 -07:00
Jon Siwek
2dc516482a Switch token used for generate-docs action checkout step 2020-09-01 22:08:10 -07:00
Jon Siwek
bcebb80ca6 Add missing git config to generate-docs action 2020-09-01 21:52:39 -07:00
Jon Siwek
e67dae182d Test generate-docs action with cron 2020-09-01 21:40:21 -07:00
Jon Siwek
7865e38134 Fix generate-docs action to not fail when there's no changes 2020-09-01 20:34:47 -07:00
Jon Siwek
d51e0f73b7 Update generate-docs action to use access token for submodule update 2020-09-01 19:50:44 -07:00
Jon Siwek
49de7199d7 Update generate-docs action to install Sphinx dependency 2020-09-01 18:38:24 -07:00
Jon Siwek
b064f097ee Add missing configure step for doc-generation action 2020-09-01 17:59:10 -07:00
Jon Siwek
d99c5aaf7d Improve documentation for rfind_str() 2020-09-01 17:54:44 -07:00
Jon Siwek
a7b905d389 GH-1149: Add GitHub Action to automate generation of zeek-docs 2020-09-01 17:52:00 -07:00
Jon Siwek
f6e48c3a18 Reformat strings.bif Zeekygen comments to fix Sphinx warnings 2020-09-01 11:58:52 -07:00
Johanna Amann
4f53e48750 Update submodule
Closes GH-201

 [nomail]
2020-08-31 17:52:27 -07:00
Johanna Amann
67db49eb4e Update submodule
Closes GH-583

 [nomail]
2020-08-31 17:47:45 -07:00
Jon Siwek
5e6bb843ab Merge remote-tracking branch 'origin/topic/timw/174-duplicate-attributes'
- Replaced "tag" with "attribute" in the error message since the former
  is not exactly the same concept/meaning and also not user-facing
  terminology

* origin/topic/timw/174-duplicate-attributes:
  Allow duplicate attributes in full redefs
  Short-circuit checking of whether attr exists
  Expanded check for other tag types, fixed btest to cover more tags
  GH-174: Add warning for duplicate attributes
2020-08-31 17:39:47 -07:00
Jon Siwek
73d372f151 Improve CI benchmark script's error handling/messaging 2020-08-31 16:08:00 -07:00
Jon Siwek
5ab20dfcb9 Simplify a broker btest
The explicit sorting function definition was a temporary stability
workaround with a better fix now being available via
https://github.com/zeek/btest/pull/25
2020-08-31 15:01:23 -07:00
Johanna Amann
b8a47de26c Merge remote-tracking branch 'origin/topic/jsiwek/gh-926-ternary-type-checking'
* origin/topic/jsiwek/gh-926-ternary-type-checking:
  GH-926: Improve type-checking for ternary conditional operator

Fixes GH-926
2020-08-28 16:52:29 -07:00
Johanna Amann
05f7e3fa43 Unbreak power architecture part 2
The compiler flag also refered the wrong file.
2020-08-28 12:04:52 -07:00
Johanna Amann
e8efab541b Unbreak build on power architectures.
Turns out I mistyped a filename when switching over to highwayhash.
Which went unnoticed since we do not really test against any power
architecure machines.
2020-08-28 11:40:05 -07:00
Tim Wojtulewicz
9106f3f722 Allow duplicate attributes in full redefs 2020-08-28 09:55:40 -07:00
Tim Wojtulewicz
9b2f26c0aa Short-circuit checking of whether attr exists 2020-08-28 09:37:36 -07:00
Jon Siwek
dc9e175a61 Potentially improve intel/remove-item-cluster btest 2020-08-27 18:01:33 -07:00
Jon Siwek
5b25870c83 Merge remote-tracking branch 'origin/topic/timw/158-packet-filter-option'
* origin/topic/timw/158-packet-filter-option:
  GH-158: Ensure packet-filter framework is loaded if -f option is passed
2020-08-27 15:34:31 -07:00
Tim Wojtulewicz
36e3ab7177 Expanded check for other tag types, fixed btest to cover more tags 2020-08-27 15:17:38 -07:00
Tim Wojtulewicz
a3d7284d5e GH-158: Ensure packet-filter framework is loaded if -f option is passed 2020-08-27 14:06:21 -07:00
Jon Siwek
5ed13284c3 GH-165: Fix global initializations that indirectly use builtin types 2020-08-27 14:01:08 -07:00
Jon Siwek
4a8640d702 Improve how primary/top-level BIFs get initialized 2020-08-27 13:54:43 -07:00
Jon Siwek
1bbae2368d GH-1122: Allow initializing globals with calls to subdir BIFs 2020-08-27 12:20:37 -07:00
Jon Siwek
cf63da7975 Merge remote-tracking branch 'origin/topic/vlad/gh-1145'
* origin/topic/vlad/gh-1145:
  Fix another umask issue. #1145

Fixes GH-1145
2020-08-27 11:15:00 -07:00
Vlad Grigorescu
c3a395a6f0 Fix another umask issue. #1145 2020-08-26 18:07:21 -05:00
Jon Siwek
cf06ade325 GH-1122: Improve error for global record initialization exceptions 2020-08-26 14:24:36 -07:00
Jon Siwek
3368958ac1 GH-955: Prohibit fallthrough in typecasting switch cases 2020-08-26 12:55:10 -07:00
Jon Siwek
ff0aa6b050 Merge remote-tracking branch 'origin/topic/timw/rename-binpac_bro'
* origin/topic/timw/rename-binpac_bro:
  Rename bro-bif.h to zeek-bif.h
  Fix uses of bro.pac to use zeek.pac
  Rename the bro-related binpac files to zeek
2020-08-26 11:21:17 -07:00
Jon Siwek
b232474fce Merge remote-tracking branch 'origin/topic/vlad/gh-1145'
* origin/topic/vlad/gh-1145:
  Have mkdir in ensure_dir respect umask.
2020-08-26 11:00:38 -07:00
Vlad Grigorescu
e12db6bac0 Have mkdir in ensure_dir respect umask.
This also aligns with the mkdir bif. Fixes #1145
2020-08-26 10:01:20 -05:00
Jon Siwek
427a7de411 Merge remote-tracking branch 'origin/topic/timw/266-namespaces-part5'
- Did a few whitespace re-adjustments during merge

* origin/topic/timw/266-namespaces-part5:
  Update plugin btests for namespace changes
  Plugins: Clean up explicit uses of namespaces in places where they're not necessary.
  Base: Clean up explicit uses of namespaces in places where they're not necessary.
2020-08-25 19:51:42 -07:00
Jon Siwek
99d9a3a48c Fix closing timestamp of rotated log files in supervised-cluster mode 2020-08-25 17:06:10 -07:00
Tim Wojtulewicz
391f4aca4c Rename bro-bif.h to zeek-bif.h 2020-08-25 17:03:23 -07:00
Tim Wojtulewicz
adcf99b25e Fix uses of bro.pac to use zeek.pac 2020-08-25 17:03:23 -07:00
Tim Wojtulewicz
ece65ceff6 Rename the bro-related binpac files to zeek 2020-08-25 17:03:23 -07:00
Jon Siwek
8d3c07b62a Improve an Intel framework btest
Relying on non-atomic `cp` operation may not cooperate well with the
Input framework file re-reading logic.
2020-08-25 14:36:52 -07:00
Jon Siwek
80a573d2b2 Merge remote-tracking branch 'origin/topic/timw/smith-waterman-iterators'
* origin/topic/timw/smith-waterman-iterators:
  Mark Continuation.h and PacketDumper.h as deprecated
  Remove vector iterator type aliases from SmithWaterman code, fix uses of them
2020-08-24 19:21:21 -07:00
Tim Wojtulewicz
4a95d151df Fix warning with usage of fmt() 2020-08-24 15:37:08 -07:00