wireshark/test/lua
João Valverde a19834b98c Windows: Store "gui.console_open" in the Windows registry
This removes the last dependency of the logging subsystem on the
preferences module. The latter is started much later than the former
and this is an issue.

The Windows-only preference "gui.console_open" is stored in the
registry as HKEY_LOCAL_USER\Software\Wireshark\ConsoleOpen. The semantics
are exactly the same. The preference is read by the logging subsystem
for initialization and then again by the preferences (read/write) so
the user can configure it as before.

The code to store the preference also in the preferences file was
kept, for backward compatibility and because it is not incompatible
with using the Registry concurrently.

The elimination of the prefs dependency also allows moving the Windows
console logic to wsutil and add the functionality to wslog directly,
thereby eliminating the superfluous Wireshark/Logray custom log handler.

To be able to read the ws_log_console_open global variable from
libwireshark it becomes necessary to add a new export macro
symbol called WSUTIL_EXPORT.
2022-10-11 14:25:04 +01:00
..
acme_file.lua Use wtap_blocks for packet comments 2021-07-07 18:40:24 +00:00
dir.lua Lua: ensure that DATA_DIR and USER_DIR have trailing slashes 2018-04-30 10:33:46 +00:00
dissectFPM.lua
dissector.lua HTTPS (almost) everywhere. 2019-07-26 18:44:40 +00:00
field.lua wslua: Fix crash on TvbRange:__tostring for a zero-length TVB 2020-03-16 22:42:03 +00:00
globals_2.2.txt Lua: Add lrexlib-pcre2 Lua regex bindings 2022-05-26 10:09:13 +00:00
inspect.lua
int64.lua
listener.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
nstime.lua Add support for protocol aliases. Switch BOOTP to DHCP. 2018-08-31 05:25:17 +00:00
pcap_file.lua
pinfo.lua wslua: pinfo: make p2p_dir accessible to lua dissectors 2019-07-22 15:45:27 +00:00
proto.lua Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
protobuf_test_called_by_custom_dissector.lua Protobuf/gRPC: add test cases for Protobuf and gRPC 2020-12-01 12:06:43 +00:00
protobuf_test_field_subdissector_table.lua Protobuf/gRPC: add test cases for Protobuf and gRPC 2020-12-01 12:06:43 +00:00
protofield.lua wslua: Fix memleak of unregistered ProtoField strings 2019-10-28 15:05:54 +00:00
script_args.lua
struct.lua HTTPS In More Places, update some URLs. 2019-07-27 07:55:36 +00:00
try_heuristics.lua Lua: add DissectorTable.try_heuristics() function 2021-03-26 07:15:16 +00:00
tvb.lua wsutil: Fix time zone handling. 2021-12-30 21:20:08 +00:00
unicode.lua test: add tests for Unicode paths in Lua and tshark -G folders 2018-12-29 08:27:58 +00:00
util.lua Windows: Store "gui.console_open" in the Windows registry 2022-10-11 14:25:04 +01:00
verify_dissector.lua Test: Add wslua. 2018-05-02 00:35:20 +00:00
verify_globals.lua