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
dissectFPM.lua
dissector.lua
field.lua
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
nstime.lua
pcap_file.lua
pinfo.lua
proto.lua Corrects repeated words throughout the code. 2021-12-22 11:01:11 +00:00
protobuf_test_called_by_custom_dissector.lua
protobuf_test_field_subdissector_table.lua
protofield.lua
script_args.lua
struct.lua
try_heuristics.lua
tvb.lua wsutil: Fix time zone handling. 2021-12-30 21:20:08 +00:00
unicode.lua
util.lua Windows: Store "gui.console_open" in the Windows registry 2022-10-11 14:25:04 +01:00
verify_dissector.lua
verify_globals.lua