Commit graph

12 commits

Author SHA1 Message Date
Benjamin Bannier
f5a76c1aed Reformat Zeek in Spicy style
This largely copies over Spicy's `.clang-format` configuration file. The
one place where we deviate is header include order since Zeek depends on
headers being included in a certain order.
2023-10-30 09:40:55 +01:00
Matthew Luckie
11f8729997 remove deprecated union and timer types, addressing #1898 2022-02-19 19:17:51 +13:00
Tim Wojtulewicz
b2f171ec69 Reformat the world 2021-09-16 15:35:39 -07:00
Vern Paxson
dfc74a9af4 switch ZVal representation of types from Type objects to TypeVal's 2021-05-30 18:44:41 -07:00
Vern Paxson
f3fa8a7c0b revised error-reporting interface for ZVal's, to accommodate ZAM inner loop 2021-05-30 18:36:21 -07:00
Jon Siwek
db975ac08e Fix maybe-uninitialized warning in ZVal::ToVal()
Some compilers warn that 'v' may be used uninitialized but shouldn't be
the case in practice since all cases are handled, making it impossible.
2021-03-26 19:10:36 -07:00
Vern Paxson
a2e7dd82c4 removal of vestigial #include's (breaking an include loop in the process) 2021-03-24 15:15:19 -07:00
Vern Paxson
efe40204e0 change functions for ZVal type management to static members 2021-03-18 11:31:31 -07:00
Vern Paxson
602d8a5372 address lint concern about uninitialized variable 2021-03-01 17:08:06 -08:00
Vern Paxson
6aab151d97 explicitly populate holes created in vectors 2021-02-28 07:23:06 -08:00
Vern Paxson
6121e409d3 convert RecordVal's to use vector<ZVal> as internal representation 2021-02-24 17:02:47 -08:00
Vern Paxson
348e14c326 added ZVal for low-level representations of Zeek script values 2021-02-24 16:41:35 -08:00