wireshark/ui/logray
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
..
CMakeLists.txt Add Logray icons. 2022-09-04 23:01:06 +00:00
i18n.qrc.in
logray_application.cpp Add Logray capture icons. 2022-09-10 23:35:27 +00:00
logray_application.h Add Logray capture icons. 2022-09-10 23:35:27 +00:00
logray_en.ts
logray_main.cpp Windows: Store "gui.console_open" in the Windows registry 2022-10-11 14:25:04 +01:00
logray_main_window.cpp Update our capture control icons. 2022-10-08 16:37:29 -07:00
logray_main_window.h Qt: Use new-style syntax for signal & slots connected by name. 2022-09-27 21:43:05 +00:00
logray_main_window.ui Qt: Fix some QRC paths. 2022-09-18 23:31:09 +00:00
logray_main_window_slots.cpp Qt: Fix our packet comment connections. 2022-09-28 10:19:31 -07:00