aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2022-06-30 09:45:49 -0700
committerGerald Combs <gerald@wireshark.org>2022-07-06 15:04:25 +0000
commit75efbb1ac4590f0e086bd3d028bc8b525b8eb3c6 (patch)
treeea83ae6be0c205a8bab41e1463807cd460a96c16
parent78ebafd70821d5c2de9b9e085097780d736cdfac (diff)
Rename Logwolf to Logray
Switch to the name "Logray" for the log analyzer. Rays are biological cousins of sharks and more people like the name "Logray" in a completely unscientific survey here. Apologies for any inconvenience this might cause.
-rw-r--r--CMakeLists.txt160
-rw-r--r--CMakeOptions.txt4
-rw-r--r--cmake/modules/WiresharkPlugin.cmake4
-rw-r--r--cmakeconfig.h.in2
-rw-r--r--docbook/attributes.adoc2
-rw-r--r--docbook/logray-quick-start.adoc (renamed from docbook/logwolf-quick-start.adoc)24
-rw-r--r--docbook/wsdg_src/WSDG_chapter_quick_setup.adoc2
-rw-r--r--docbook/wsdg_src/WSDG_chapter_sources.adoc4
-rw-r--r--epan/wslua/wslua_gui.c2
-rw-r--r--packaging/macosx/LograyInfo.plist.in (renamed from packaging/macosx/LogwolfInfo.plist.in)6
-rw-r--r--packaging/macosx/Logray_dsym_installation.adoc17
-rw-r--r--packaging/macosx/Logray_read_me_first.adoc (renamed from packaging/macosx/Logwolf_read_me_first.adoc)12
-rw-r--r--packaging/macosx/Logwolf_dsym_installation.adoc17
-rw-r--r--packaging/macosx/logray-app.dmgbuild.in (renamed from packaging/macosx/logwolf-app.dmgbuild.in)12
-rw-r--r--packaging/macosx/logray-dsym.dmgbuild.in (renamed from packaging/macosx/logwolf-dsym.dmgbuild.in)8
-rwxr-xr-xpackaging/macosx/osx-app.sh.in4
-rwxr-xr-xpackaging/macosx/osx-dmg.sh.in4
-rw-r--r--packaging/nsis/CMakeLists.txt82
-rw-r--r--packaging/nsis/logray-additional-tasks.nsddef (renamed from packaging/nsis/logwolf-additional-tasks.nsddef)10
-rw-r--r--packaging/nsis/logray-additional-tasks.nsdinc (renamed from packaging/nsis/logwolf-additional-tasks.nsdinc)10
-rw-r--r--packaging/nsis/logray-common.nsh (renamed from packaging/nsis/logwolf-common.nsh)14
-rw-r--r--packaging/nsis/logray-config.nsh.in (renamed from packaging/nsis/logwolf-config.nsh.in)0
-rw-r--r--packaging/nsis/logray.nsi (renamed from packaging/nsis/logwolf.nsi)44
-rw-r--r--packaging/nsis/uninstall-logray.nsi (renamed from packaging/nsis/uninstall-logwolf.nsi)20
-rw-r--r--plugins/epan/falco_bridge/CMakeLists.txt2
-rw-r--r--resources/logray.exe.manifest.in (renamed from resources/logwolf.exe.manifest.in)2
-rw-r--r--resources/logray.rc.in (renamed from resources/logwolf.rc.in)14
-rw-r--r--resources/share/logray/colorfilters (renamed from resources/share/logwolf/colorfilters)2
-rwxr-xr-xtools/macos-setup.sh4
-rw-r--r--ui/logray/CMakeLists.txt (renamed from ui/logwolf/CMakeLists.txt)170
-rw-r--r--ui/logray/i18n.qrc.in (renamed from ui/logwolf/i18n.qrc.in)0
-rw-r--r--ui/logray/logray_application.cpp (renamed from ui/logwolf/logwolf_application.cpp)18
-rw-r--r--ui/logray/logray_application.h (renamed from ui/logwolf/logwolf_application.h)16
-rw-r--r--ui/logray/logray_en.ts (renamed from ui/logwolf/logwolf_en.ts)0
-rw-r--r--ui/logray/logray_main.cpp (renamed from ui/logwolf/logwolf_main.cpp)42
-rw-r--r--ui/logray/logray_main_window.cpp (renamed from ui/logwolf/logwolf_main_window.cpp)178
-rw-r--r--ui/logray/logray_main_window.h (renamed from ui/logwolf/logwolf_main_window.h)22
-rw-r--r--ui/logray/logray_main_window.ui (renamed from ui/logwolf/logwolf_main_window.ui)6
-rw-r--r--ui/logray/logray_main_window_slots.cpp (renamed from ui/logwolf/logwolf_main_window_slots.cpp)424
-rw-r--r--ui/software_update.c2
-rw-r--r--wsutil/filesystem.c16
-rw-r--r--wsutil/filesystem.h4
42 files changed, 693 insertions, 693 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 44ef04f582..f03269b32a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,10 +30,10 @@ endif()
if(WIN32)
set(_project_name Wireshark)
- set(_log_project_name Logwolf)
+ set(_log_project_name Logray)
else()
set(_project_name wireshark)
- set(_log_project_name logwolf)
+ set(_log_project_name logray)
endif()
project(${_project_name} C CXX)
@@ -1181,7 +1181,7 @@ ws_find_package(AIRPCAP ENABLE_AIRPCAP HAVE_AIRPCAP)
ws_find_package(Systemd BUILD_sdjournal HAVE_SYSTEMD)
# Build one of the Qt GUIs?
-if(BUILD_wireshark OR BUILD_logwolf)
+if(BUILD_wireshark OR BUILD_logray)
if(USE_qt6)
set(qtver "6")
if(DEFINED ENV{WIRESHARK_QT6_PREFIX_PATH})
@@ -1305,7 +1305,7 @@ ws_find_package(ILBC ENABLE_ILBC HAVE_ILBC)
ws_find_package(OPUS ENABLE_OPUS HAVE_OPUS)
-if (BUILD_logwolf)
+if (BUILD_logray)
# libsinsp+libscap, required for falco-bridge
ws_find_package(Sinsp ENABLE_SINSP HAVE_SINSP)
endif()
@@ -1342,7 +1342,7 @@ find_package( Asciidoctor 1.5 )
find_package(DOXYGEN)
# The SpeexDSP resampler is required iff building wireshark or sharkd.
-if(BUILD_wireshark OR BUILD_logwolf OR BUILD_sharkd)
+if(BUILD_wireshark OR BUILD_logray OR BUILD_sharkd)
# We don't provide a binary package for SpeexDSP in our repository.
# If using the repository don't bother searching for a system SpeexDSP
# installation and just use the bundled resampler code instead.
@@ -1578,8 +1578,8 @@ if(BUILD_wireshark AND QT_FOUND)
add_subdirectory( ui/qt )
endif()
-if(BUILD_logwolf AND QT_FOUND)
- add_subdirectory( ui/logwolf )
+if(BUILD_logray AND QT_FOUND)
+ add_subdirectory( ui/logray )
endif()
# Location of our plugins. PLUGIN_DIR should allow running
@@ -1611,9 +1611,9 @@ if(ENABLE_PLUGINS)
plugins/codecs/l16_mono
${CUSTOM_PLUGIN_SRC_DIR}
)
- set(LOGWOLF_PLUGIN_SRC_DIRS)
+ set(LOGRAY_PLUGIN_SRC_DIRS)
if(SINSP_FOUND)
- list(APPEND LOGWOLF_PLUGIN_SRC_DIRS
+ list(APPEND LOGRAY_PLUGIN_SRC_DIRS
plugins/epan/falco_bridge
)
endif()
@@ -1654,7 +1654,7 @@ if(ENABLE_PLUGINS)
else()
set(PLUGIN_SRC_DIRS )
- set(LOGWOLF_PLUGIN_SRC_DIRS )
+ set(LOGRAY_PLUGIN_SRC_DIRS )
endif()
if(ENABLE_APPLICATION_BUNDLE)
@@ -1665,22 +1665,22 @@ if(ENABLE_APPLICATION_BUNDLE)
set(_plugin_dir "${CMAKE_BINARY_DIR}/run/$<CONFIG>/Wireshark.app/Contents/PlugIns/wireshark/${PLUGIN_PATH_ID}")
endif()
if(CMAKE_CFG_INTDIR STREQUAL ".")
- set(_logwolf_plugin_dir "${CMAKE_BINARY_DIR}/run/Logwolf.app/Contents/PlugIns/logwolf/${PLUGIN_PATH_ID}")
+ set(_logray_plugin_dir "${CMAKE_BINARY_DIR}/run/Logray.app/Contents/PlugIns/logray/${PLUGIN_PATH_ID}")
else()
# Xcode
- set(_logwolf_plugin_dir "${CMAKE_BINARY_DIR}/run/$<CONFIG>/Logwolf.app/Contents/PlugIns/logwolf/${PLUGIN_PATH_ID}")
+ set(_logray_plugin_dir "${CMAKE_BINARY_DIR}/run/$<CONFIG>/Logray.app/Contents/PlugIns/logray/${PLUGIN_PATH_ID}")
endif()
elseif(WIN32 AND NOT CMAKE_CFG_INTDIR STREQUAL ".")
set(_plugin_dir "${CMAKE_BINARY_DIR}/run/$<CONFIG>/${PLUGIN_VERSION_DIR}")
- set(_logwolf_plugin_dir ${_plugin_dir})
+ set(_logray_plugin_dir ${_plugin_dir})
else()
set(_plugin_dir "${DATAFILE_DIR}/${PLUGIN_VERSION_DIR}")
- set(_logwolf_plugin_dir ${_plugin_dir})
+ set(_logray_plugin_dir ${_plugin_dir})
endif()
set (PLUGIN_DIR ${_plugin_dir} CACHE INTERNAL "Build time plugin location.")
-set (LOGWOLF_PLUGIN_DIR ${_logwolf_plugin_dir} CACHE INTERNAL "Build time Logwolf plugin location.")
+set (LOGRAY_PLUGIN_DIR ${_logray_plugin_dir} CACHE INTERNAL "Build time Logray plugin location.")
-foreach(_plugin_src_dir ${PLUGIN_SRC_DIRS} ${LOGWOLF_PLUGIN_SRC_DIRS})
+foreach(_plugin_src_dir ${PLUGIN_SRC_DIRS} ${LOGRAY_PLUGIN_SRC_DIRS})
add_subdirectory( ${_plugin_src_dir} )
endforeach()
@@ -1734,12 +1734,12 @@ set(CFG_OUT_FILES
wireshark.pc
)
-if(BUILD_logwolf)
+if(BUILD_logray)
list(APPEND CFG_OUT_FILES
- packaging/macosx/LogwolfInfo.plist
- packaging/macosx/logwolf-app.dmgbuild
- packaging/macosx/logwolf-dsym.dmgbuild
- resources/logwolf.exe.manifest
+ packaging/macosx/LograyInfo.plist
+ packaging/macosx/logray-app.dmgbuild
+ packaging/macosx/logray-dsym.dmgbuild
+ resources/logray.exe.manifest
)
endif()
@@ -2428,20 +2428,20 @@ if(BUILD_wireshark AND QT_FOUND)
set_executable_resources(wireshark "Wireshark" UNIQUE_RC)
endif()
-if(BUILD_logwolf AND QT_FOUND)
- set(LOGWOLF_SRC
+if(BUILD_logray AND QT_FOUND)
+ set(LOGRAY_SRC
file.c
fileset.c
${PLATFORM_UI_SRC}
)
- set(logwolf_FILES
+ set(logray_FILES
$<TARGET_OBJECTS:capture_opts>
- $<TARGET_OBJECTS:ui_logwolf>
+ $<TARGET_OBJECTS:ui_logray>
$<TARGET_OBJECTS:shark_common>
- ${LOGWOLF_SRC}
+ ${LOGRAY_SRC}
${PLATFORM_UI_RC_FILES}
)
- set_executable_resources(logwolf "Logwolf" UNIQUE_RC)
+ set_executable_resources(logray "Logray" UNIQUE_RC)
endif()
if(ENABLE_APPLICATION_BUNDLE)
@@ -2615,8 +2615,8 @@ if(BUILD_wireshark AND QT_FOUND)
endif(QT_WINDEPLOYQT_EXECUTABLE)
endif()
-if(BUILD_logwolf AND QT_FOUND)
- set(logwolf_LIBS
+if(BUILD_logray AND QT_FOUND)
+ set(logray_LIBS
ui
capchild
caputils
@@ -2637,12 +2637,12 @@ if(BUILD_logwolf AND QT_FOUND)
${MINIZIP_LIBRARIES}
)
- add_executable(logwolf WIN32 MACOSX_BUNDLE ${logwolf_FILES} ${EXTRA_BUNDLE_FILES})
+ add_executable(logray WIN32 MACOSX_BUNDLE ${logray_FILES} ${EXTRA_BUNDLE_FILES})
if(WIN32 AND NOT BUILD_wireshark)
- set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT logwolf)
+ set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT logray)
endif()
- set(PROGLIST ${PROGLIST} logwolf)
- set_target_properties(logwolf PROPERTIES
+ set(PROGLIST ${PROGLIST} logray)
+ set_target_properties(logray PROPERTIES
LINK_FLAGS "${WS_LINK_FLAGS}"
FOLDER "Executables"
INSTALL_RPATH "${EXECUTABLE_INSTALL_RPATH}"
@@ -2651,44 +2651,44 @@ if(BUILD_logwolf AND QT_FOUND)
AUTORCC ON
)
if(MSVC)
- set_target_properties(logwolf PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
+ set_target_properties(logray PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
endif()
if(ENABLE_APPLICATION_BUNDLE OR WIN32)
- set_target_properties(logwolf PROPERTIES OUTPUT_NAME Logwolf)
+ set_target_properties(logray PROPERTIES OUTPUT_NAME Logray)
endif()
if(ENABLE_APPLICATION_BUNDLE)
if(ASCIIDOCTOR_FOUND)
# Make sure to generate files referenced by
# BUNDLE_RESOURCE_SHARE_MAN1_FILES
- add_dependencies(logwolf manpages)
+ add_dependencies(logray manpages)
endif()
set_target_properties(
- logwolf PROPERTIES
- MACOSX_BUNDLE_INFO_PLIST ${CMAKE_BINARY_DIR}/packaging/macosx/LogwolfInfo.plist
+ logray PROPERTIES
+ MACOSX_BUNDLE_INFO_PLIST ${CMAKE_BINARY_DIR}/packaging/macosx/LograyInfo.plist
)
if(CMAKE_CFG_INTDIR STREQUAL ".")
# Add a wrapper script which opens the bundle. This adds
# convenience but makes debugging more difficult.
# It is not created if using Xcode
- # XXX Running run/Logwolf.app/Contents/MacOS/Logwolf works
+ # XXX Running run/Logray.app/Contents/MacOS/Logray works
# fine for me (Gerald) here on Mojave. Can we just make this a
# symlink?
- file(REMOVE ${CMAKE_BINARY_DIR}/run/logwolf)
- file(WRITE ${CMAKE_BINARY_DIR}/run/logwolf "#!/bin/sh\n")
- file(APPEND ${CMAKE_BINARY_DIR}/run/logwolf "# Generated by ${CMAKE_CURRENT_LIST_FILE}\n")
- file(APPEND ${CMAKE_BINARY_DIR}/run/logwolf "# Wrapper script which should work around the issue described at\n")
- file(APPEND ${CMAKE_BINARY_DIR}/run/logwolf "# https://stackoverflow.com/questions/25318524/what-exactly-should-i-pass-to-nsapp-activateignoringotherapps-to-get-my-appl\n")
- file(APPEND ${CMAKE_BINARY_DIR}/run/logwolf "exec ${CMAKE_BINARY_DIR}/run/Logwolf.app/Contents/MacOS/Logwolf \"\$\@\"\n")
- execute_process(COMMAND chmod a+x ${CMAKE_BINARY_DIR}/run/logwolf)
+ file(REMOVE ${CMAKE_BINARY_DIR}/run/logray)
+ file(WRITE ${CMAKE_BINARY_DIR}/run/logray "#!/bin/sh\n")
+ file(APPEND ${CMAKE_BINARY_DIR}/run/logray "# Generated by ${CMAKE_CURRENT_LIST_FILE}\n")
+ file(APPEND ${CMAKE_BINARY_DIR}/run/logray "# Wrapper script which should work around the issue described at\n")
+ file(APPEND ${CMAKE_BINARY_DIR}/run/logray "# https://stackoverflow.com/questions/25318524/what-exactly-should-i-pass-to-nsapp-activateignoringotherapps-to-get-my-appl\n")
+ file(APPEND ${CMAKE_BINARY_DIR}/run/logray "exec ${CMAKE_BINARY_DIR}/run/Logray.app/Contents/MacOS/Logray \"\$\@\"\n")
+ execute_process(COMMAND chmod a+x ${CMAKE_BINARY_DIR}/run/logray)
endif()
endif()
- target_link_libraries(logwolf ${logwolf_LIBS})
- target_include_directories(logwolf SYSTEM PRIVATE ${SPARKLE_INCLUDE_DIRS})
+ target_link_libraries(logray ${logray_LIBS})
+ target_include_directories(logray SYSTEM PRIVATE ${SPARKLE_INCLUDE_DIRS})
install(
- TARGETS logwolf
+ TARGETS logray
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR}
)
@@ -2705,26 +2705,26 @@ if(BUILD_logwolf AND QT_FOUND)
--no-compiler-runtime
--verbose 0
$<$<BOOL:${MSVC}>:--pdb>
- "$<TARGET_FILE:logwolf>"
+ "$<TARGET_FILE:logray>"
)
- add_dependencies(copy_ls_qt_dlls logwolf)
+ add_dependencies(copy_ls_qt_dlls logray)
install(CODE "execute_process(COMMAND
\"${QT_WINDEPLOYQT_EXECUTABLE}\"
--no-compiler-runtime
- \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/Logwolf.exe\")"
+ \"\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/Logray.exe\")"
)
endif(QT_WINDEPLOYQT_EXECUTABLE)
endif()
-if (BUILD_logwolf AND SINSP_FOUND)
+if (BUILD_logray AND SINSP_FOUND)
add_custom_target(copy_falco_plugins)
add_custom_command(TARGET copy_falco_plugins
- COMMAND ${CMAKE_COMMAND} -E make_directory ${LOGWOLF_PLUGIN_DIR}/falco
- COMMAND ${CMAKE_COMMAND} -E copy_if_different ${SINSP_PLUGINS} ${LOGWOLF_PLUGIN_DIR}/falco
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${LOGRAY_PLUGIN_DIR}/falco
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different ${SINSP_PLUGINS} ${LOGRAY_PLUGIN_DIR}/falco
)
- add_dependencies(logwolf copy_falco_plugins)
+ add_dependencies(logray copy_falco_plugins)
endif()
# Common properties for CLI executables
@@ -3105,10 +3105,10 @@ if(BUILD_dumpcap AND PCAP_FOUND)
endif()"
)
endif()
- if(BUILD_logwolf AND ENABLE_APPLICATION_BUNDLE)
+ if(BUILD_logray AND ENABLE_APPLICATION_BUNDLE)
add_custom_command(TARGET dumpcap POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
- $<TARGET_FILE:dumpcap> run/Logwolf.app/Contents/MacOS/dumpcap
+ $<TARGET_FILE:dumpcap> run/Logray.app/Contents/MacOS/dumpcap
)
endif()
elseif(BUILD_dumpcap AND ENABLE_PCAP)
@@ -3358,54 +3358,54 @@ if(ENABLE_APPLICATION_BUNDLE AND BUILD_wireshark)
endif()
-if(ENABLE_APPLICATION_BUNDLE AND BUILD_logwolf)
- add_custom_target(logwolf_app_bundle)
- set_target_properties(logwolf_app_bundle PROPERTIES FOLDER "Copy Tasks")
- add_custom_command(TARGET logwolf_app_bundle
+if(ENABLE_APPLICATION_BUNDLE AND BUILD_logray)
+ add_custom_target(logray_app_bundle)
+ set_target_properties(logray_app_bundle PROPERTIES FOLDER "Copy Tasks")
+ add_custom_command(TARGET logray_app_bundle
POST_BUILD
- COMMAND "${CMAKE_BINARY_DIR}/packaging/macosx/osx-app.sh" --bundle Logwolf.app
+ COMMAND "${CMAKE_BINARY_DIR}/packaging/macosx/osx-app.sh" --bundle Logray.app
WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/run"
)
- add_custom_target(logwolf_dmg_prep DEPENDS logwolf_app_bundle)
+ add_custom_target(logray_dmg_prep DEPENDS logray_app_bundle)
- FILE(MAKE_DIRECTORY packaging/macosx/logwolf)
+ FILE(MAKE_DIRECTORY packaging/macosx/logray)
- set(_logwolf_read_me_first "packaging/macosx/logwolf/Read me first.html")
+ set(_logray_read_me_first "packaging/macosx/logray/Read me first.html")
ADD_CUSTOM_COMMAND(
OUTPUT
- ${_logwolf_read_me_first}
+ ${_logray_read_me_first}
COMMAND ${ASCIIDOCTOR_EXECUTABLE}
--backend html
- --out-file ${_logwolf_read_me_first}
+ --out-file ${_logray_read_me_first}
--attribute include-dir=${CMAKE_SOURCE_DIR}/docbook
--attribute min-macos-version=${MIN_MACOS_VERSION}
- ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logwolf_read_me_first.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logray_read_me_first.adoc
DEPENDS
- ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logwolf_read_me_first.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logray_read_me_first.adoc
)
- set(_logwolf_dsym_installation "packaging/macosx/logwolf/Debugging symbols installation.html")
+ set(_logray_dsym_installation "packaging/macosx/logray/Debugging symbols installation.html")
ADD_CUSTOM_COMMAND(
OUTPUT
- ${_logwolf_dsym_installation}
+ ${_logray_dsym_installation}
COMMAND ${ASCIIDOCTOR_EXECUTABLE}
--backend html
- --out-file ${_logwolf_dsym_installation}
+ --out-file ${_logray_dsym_installation}
--attribute include-dir=${CMAKE_SOURCE_DIR}/docbook
- ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logwolf_dsym_installation.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logray_dsym_installation.adoc
DEPENDS
- ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logwolf_dsym_installation.adoc
+ ${CMAKE_CURRENT_SOURCE_DIR}/packaging/macosx/Logray_dsym_installation.adoc
)
- add_custom_target(logwolf_dmg_readmes DEPENDS ${_logwolf_read_me_first} ${_logwolf_dsym_installation} )
- add_dependencies(logwolf_dmg_prep logwolf_dmg_readmes)
+ add_custom_target(logray_dmg_readmes DEPENDS ${_logray_read_me_first} ${_logray_dsym_installation} )
+ add_dependencies(logray_dmg_prep logray_dmg_readmes)
- ADD_CUSTOM_TARGET( logwolf_dmg
- COMMAND bash -x ${CMAKE_BINARY_DIR}/packaging/macosx/osx-dmg.sh --app-name Logwolf
+ ADD_CUSTOM_TARGET( logray_dmg
+ COMMAND bash -x ${CMAKE_BINARY_DIR}/packaging/macosx/osx-dmg.sh --app-name Logray
# Unlike wireshark_nsis_prep + wireshark_nsis, we can add a direct
# dependency here.
- DEPENDS logwolf_dmg_prep
+ DEPENDS logray_dmg_prep
# We create Wireshark.app in "run". Do our work there.
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/run
)
diff --git a/CMakeOptions.txt b/CMakeOptions.txt
index a27b9f090e..6ca94d451e 100644
--- a/CMakeOptions.txt
+++ b/CMakeOptions.txt
@@ -1,8 +1,8 @@
# Build options for use by CMake
option(BUILD_wireshark "Build Wireshark" ON)
-option(BUILD_logwolf "Build Logwolf" OFF)
-if(BUILD_wireshark OR BUILD_logwolf)
+option(BUILD_logray "Build Logray" OFF)
+if(BUILD_wireshark OR BUILD_logray)
if(DEFINED ENV{WIRESHARK_QT6_PREFIX_PATH})
option(USE_qt6 "Use Qt6 instead of Qt5" ON)
else()
diff --git a/cmake/modules/WiresharkPlugin.cmake b/cmake/modules/WiresharkPlugin.cmake
index 983449ff03..76277e2568 100644
--- a/cmake/modules/WiresharkPlugin.cmake
+++ b/cmake/modules/WiresharkPlugin.cmake
@@ -58,11 +58,11 @@ macro(ADD_PLUGIN_LIBRARY _plugin _subfolder)
ADD_WIRESHARK_PLUGIN_LIBRARY(${_plugin} ${_subfolder})
endmacro()
-macro(ADD_LOGWOLF_PLUGIN_LIBRARY _plugin _subfolder)
+macro(ADD_LOGRAY_PLUGIN_LIBRARY _plugin _subfolder)
ADD_WIRESHARK_PLUGIN_LIBRARY(${_plugin} ${_subfolder})
set_target_properties(${_plugin} PROPERTIES
- LIBRARY_OUTPUT_DIRECTORY ${LOGWOLF_PLUGIN_DIR}/${_subfolder}
+ LIBRARY_OUTPUT_DIRECTORY ${LOGRAY_PLUGIN_DIR}/${_subfolder}
)
endmacro()
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in
index 469ada8d92..f60f6fbb22 100644
--- a/cmakeconfig.h.in
+++ b/cmakeconfig.h.in
@@ -16,7 +16,7 @@
#define VERSION_MINOR ${PROJECT_MINOR_VERSION}
#define VERSION_MICRO ${PROJECT_PATCH_VERSION}
-/* Version number of Logwolf and associated utilities */
+/* Version number of Logray and associated utilities */
#define LOG_VERSION "${LOG_PROJECT_VERSION}${VERSION_EXTRA}"
#define PLUGIN_PATH_ID "${PLUGIN_PATH_ID}"
diff --git a/docbook/attributes.adoc b/docbook/attributes.adoc
index c6450b73b6..bc892afc1b 100644
--- a/docbook/attributes.adoc
+++ b/docbook/attributes.adoc
@@ -1,7 +1,7 @@
// Common attributes
:wireshark-version: 3.7.2
-:logwolf-version: 0.9.0
+:logray-version: 0.9.0
// Required for btn, kbd:, and menu: macros.
:experimental:
diff --git a/docbook/logwolf-quick-start.adoc b/docbook/logray-quick-start.adoc
index 0273852373..2e053c64e1 100644
--- a/docbook/logwolf-quick-start.adoc
+++ b/docbook/logray-quick-start.adoc
@@ -1,18 +1,18 @@
-= Logwolf Quick Start
+= Logray Quick Start
-Logwolf is a sibling application for Wireshark which focuses on log messages.
+Logray is a sibling application for Wireshark which focuses on log messages.
It helps people understand, troubleshoot, and secure their systems via log messages similar to the way Wireshark helps people understand, troubleshoot, and secure their networks via packets.
-This document provides brief instructions for building Logwolf until more complete documentation comparable to the Wireshark Developer’s and User’s Guides can be written.
+This document provides brief instructions for building Logray until more complete documentation comparable to the Wireshark Developer’s and User’s Guides can be written.
-== Building Logwolf
+== Building Logray
-Logwolf requires the same build environment as Wireshark.
+Logray requires the same build environment as Wireshark.
See the https://www.wireshark.org/docs/wsdg_html_chunked/[Wireshark Developer’s Guide] for instructions on setting that up.
It additionally requires libsinsp and libscap from https://github.com/falcosecurity/libs/[falcosecurity/libs] and any desired plugins from https://github.com/falcosecurity/plugins/[falcosecurity/plugins].
-In order to build Logwolf, do the following:
+In order to build Logray, do the following:
1. https://falco.org/docs/getting-started/source/[Build falcosecurity/libs].
@@ -22,31 +22,31 @@ In order to build Logwolf, do the following:
+
--
[horizontal]
-BUILD_logwolf:: Must be enabled, e.g. set to ON
+BUILD_logray:: Must be enabled, e.g. set to ON
SINSP_INCLUDEDIR:: The path to your local falcosecurity/libs directory
SINSP_LIBDIR:: The path to your falcosecurity/libs build directory
--
-4. Create a directory named `falco` in your Logwolf plugins directory, and either copy in or symlink any desired Falco plugins.
+4. Create a directory named `falco` in your Logray plugins directory, and either copy in or symlink any desired Falco plugins.
.Example 1: Building on macOS using Ninja
[sh]
----
cmake -G Ninja \
- -DBUILD_logwolf=ON \
+ -DBUILD_logray=ON \
-DSINSP_INCLUDEDIR=/path/to/falcosecurity/libs \
-DSINSP_LIBDIR=/path/to/falcosecurity/libs/build \
..
ninja
-mkdir run/Logwolf.app/Contents/PlugIns/logwolf/3-7/falco
-(cd run/Logwolf.app/Contents/PlugIns/logwolf/3-7/falco ; ln -sn /path/to/falcosecurity-plugins/plugins/cloudtrail/libcloudtrail.so )
+mkdir run/Logray.app/Contents/PlugIns/logray/3-7/falco
+(cd run/Logray.app/Contents/PlugIns/logray/3-7/falco ; ln -sn /path/to/falcosecurity-plugins/plugins/cloudtrail/libcloudtrail.so )
----
.Example 2: Building on Linux using Make
[sh]
----
cmake \
- -DBUILD_logwolf=ON \
+ -DBUILD_logray=ON \
-DSINSP_INCLUDEDIR=/path/to/falcosecurity/libs \
-DSINSP_LIBDIR=/path/to/falcosecurity/libs/build \
..
diff --git a/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc b/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc
index c2642b6039..9817b5e57c 100644
--- a/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc
+++ b/docbook/wsdg_src/WSDG_chapter_quick_setup.adoc
@@ -171,7 +171,7 @@ https://appimage.org[AppImage] package::
Build the `wireshark_appimage` target.
macOS .dmg package containing an application bundle::
- Build the `wireshark_dmg` or `logwolf_dmg` targets.
+ Build the `wireshark_dmg` or `logray_dmg` targets.
Installable packages typically require building Wireshark first.
diff --git a/docbook/wsdg_src/WSDG_chapter_sources.adoc b/docbook/wsdg_src/WSDG_chapter_sources.adoc
index 82e65922c8..41bce5c3d8 100644
--- a/docbook/wsdg_src/WSDG_chapter_sources.adoc
+++ b/docbook/wsdg_src/WSDG_chapter_sources.adoc
@@ -1011,9 +1011,9 @@ In your build directory, type:
[source,sh]
----
-ninja wireshark_dmg logwolf_dmg # (Modify as needed)
+ninja wireshark_dmg logray_dmg # (Modify as needed)
# ...or, if you're using GNU make...
-make wireshark_dmg logwolf_dmg # (Modify as needed)
+make wireshark_dmg logray_dmg # (Modify as needed)
----
to build the macOS Packages.
diff --git a/epan/wslua/wslua_gui.c b/epan/wslua/wslua_gui.c
index 918cfa50a4..18f98e2b32 100644
--- a/epan/wslua/wslua_gui.c
+++ b/epan/wslua/wslua_gui.c
@@ -88,7 +88,7 @@ WSLUA_FUNCTION wslua_register_menu(lua_State* L) { /* Register a menu item in o
* MENU_ANALYZE_CONVERSATION: menu:Analyze[Conversation Filter]
* MENU_TOOLS_UNSORTED: menu:Tools[]
- Valid log (Logwolf) items are:
+ Valid log (Logray) items are:
* MENU_LOG_ANALYZE_UNSORTED: menu:Analyze[]
* MENU_LOG_STAT_UNSORTED = 16
diff --git a/packaging/macosx/LogwolfInfo.plist.in b/packaging/macosx/LograyInfo.plist.in
index da6ecc9560..9e72fd76fd 100644
--- a/packaging/macosx/LogwolfInfo.plist.in
+++ b/packaging/macosx/LograyInfo.plist.in
@@ -5,13 +5,13 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
- <string>Logwolf</string>
+ <string>Logray</string>
<key>CFBundleGetInfoString</key>
<string>@LOG_PROJECT_VERSION@, Copyright 1998-2022 Wireshark Development Team</string>
<key>CFBundleIconFile</key>
<string>Wireshark.icns</string>
<key>CFBundleIdentifier</key>
- <string>org.wireshark.Logwolf</string>
+ <string>org.wireshark.Logray</string>
<key>CFBundleDocumentTypes</key>
<array>
<dict>
@@ -53,7 +53,7 @@
<!-- Sparkle settings https://sparkle-project.org/documentation/customization/ -->
<key>SUFeedURL</key>
- <string>https://www.wireshark.org/update/0/Logwolf/@LOG_PROJECT_MAJOR_VERSION@.@LOG_PROJECT_MINOR_VERSION@.@PROJECT_PATCH_VERSION@/macOS/x86-64/en-US/stable.xml</string>
+ <string>https://www.wireshark.org/update/0/Logray/@LOG_PROJECT_MAJOR_VERSION@.@LOG_PROJECT_MINOR_VERSION@.@PROJECT_PATCH_VERSION@/macOS/x86-64/en-US/stable.xml</string>
<key>SUEnableAutomaticChecks</key>
<false/>
<key>SUPublicEDKey</key>
diff --git a/packaging/macosx/Logray_dsym_installation.adoc b/packaging/macosx/Logray_dsym_installation.adoc
new file mode 100644
index 0000000000..6ca4f2f82e
--- /dev/null
+++ b/packaging/macosx/Logray_dsym_installation.adoc
@@ -0,0 +1,17 @@
+// Required attributes:
+// include-dir
+
+include::{include-dir}/attributes.adoc[]
+:stylesheet: {include-dir}/ws.css
+
+== Debugging Symbols for Logray
+
+This archive contains the debugging symbols for Logray {logray-version}.
+The debugging symbols are only necessary if Logray is crashing and you need to report an issue to the Logray development team.
+
+WARNING: This won't work properly with any version other than Logray {logray-version}.
+
+To install the symbols, drag _Logray.dSYM_ to the same location as _Logray_.
+This is usually your _Applications_ folder.
+
+To uninstall, drag _Logray.dSYM_ to the trash.
diff --git a/packaging/macosx/Logwolf_read_me_first.adoc b/packaging/macosx/Logray_read_me_first.adoc
index 7652d1f857..498b039e98 100644
--- a/packaging/macosx/Logwolf_read_me_first.adoc
+++ b/packaging/macosx/Logray_read_me_first.adoc
@@ -7,28 +7,28 @@ include::{include-dir}/attributes.adoc[]
== Before You Begin
-This release of Logwolf requires macOS {min-macos-version} or later.
+This release of Logray requires macOS {min-macos-version} or later.
If you are running an earlier version of macOS you can install using another packaging system such as Homebrew or MacPorts.
== Quick Setup
-To install Logwolf, drag the _Logwolf_ application bundle to the _Applications_ folder.
+To install Logray, drag the _Logray_ application bundle to the _Applications_ folder.
////
If you would like to add the path to
-https://www.wireshark.org/docs/man-pages/wireshark.html[Logwolf],
+https://www.wireshark.org/docs/man-pages/wireshark.html[Logray],
https://www.wireshark.org/docs/man-pages/tshark.html[TShark],
https://www.wireshark.org/docs/man-pages/capinfos.html[capinfos],
https://www.wireshark.org/docs/man-pages/editcap.html[editcap],
and
https://www.wireshark.org/docs/man-pages/[other command line utilities]
to the system PATH, install the
-link:Logwolf.app/Contents/Resources/Extras/Add%20Wireshark%20to%20the%20system%20path.pkg[Add Logwolf to the system path]
+link:Logray.app/Contents/Resources/Extras/Add%20Wireshark%20to%20the%20system%20path.pkg[Add Logray to the system path]
package.
////
== Uninstalling
-To uninstall Logwolf, do the following:
+To uninstall Logray, do the following:
-. Remove _/Applications/Logwolf.app_
+. Remove _/Applications/Logray.app_
diff --git a/packaging/macosx/Logwolf_dsym_installation.adoc b/packaging/macosx/Logwolf_dsym_installation.adoc
deleted file mode 100644
index 85dd427189..0000000000
--- a/packaging/macosx/Logwolf_dsym_installation.adoc
+++ /dev/null
@@ -1,17 +0,0 @@
-// Required attributes:
-// include-dir
-
-include::{include-dir}/attributes.adoc[]
-:stylesheet: {include-dir}/ws.css
-
-== Debugging Symbols for Logwolf
-
-This archive contains the debugging symbols for Logwolf {logwolf-version}.
-The debugging symbols are only necessary if Logwolf is crashing and you need to report an issue to the Logwolf development team.
-
-WARNING: This won't work properly with any version other than Logwolf {logwolf-version}.
-
-To install the symbols, drag _Logwolf.dSYM_ to the same location as _Logwolf_.
-This is usually your _Applications_ folder.
-
-To uninstall, drag _Logwolf.dSYM_ to the trash.
diff --git a/packaging/macosx/logwolf-app.dmgbuild.in b/packaging/macosx/logray-app.dmgbuild.in
index a10af3f5c5..a33471dd72 100644
--- a/packaging/macosx/logwolf-app.dmgbuild.in
+++ b/packaging/macosx/logray-app.dmgbuild.in
@@ -19,15 +19,15 @@ import os.path
# .. Useful stuff ..............................................................
lw_version = '@LOG_PROJECT_VERSION@'
-lw_volname = 'Logwolf ' + lw_version
+lw_volname = 'Logray ' + lw_version
lw_srcdir = '@CMAKE_SOURCE_DIR@'
lw_bindir = '@CMAKE_BINARY_DIR@'
-lw_app = 'Logwolf.app'
+lw_app = 'Logray.app'
lw_readme = 'Read me first.html'
lw_install_chmodbpf = 'Install ChmodBPF.pkg'
lw_uninstall_chmodbpf = 'Uninstall ChmodBPF.pkg'
-lw_install_path_helper = 'Add Logwolf to the system path.pkg'
-lw_uninstall_path_helper = 'Remove Logwolf from the system path.pkg'
+lw_install_path_helper = 'Add Logray to the system path.pkg'
+lw_uninstall_path_helper = 'Remove Logray from the system path.pkg'
# .. Basics ....................................................................
@@ -35,7 +35,7 @@ lw_uninstall_path_helper = 'Remove Logwolf from the system path.pkg'
# filename = lw_volname + ' Intel 64.dmg'
# Uncomment to override the output volume name
-# volume_name = 'Logwolf ' + lw_version
+# volume_name = 'Logray ' + lw_version
# From the hdiutil man page:
# UDZO - UDIF zlib-compressed image
@@ -55,7 +55,7 @@ size = None
# Files to include
files = [
os.path.join(lw_bindir, 'run', lw_app),
- os.path.join(lw_bindir, 'packaging', 'macosx', 'logwolf', lw_readme),
+ os.path.join(lw_bindir, 'packaging', 'macosx', 'logray', lw_readme),
]
# Symlinks to create
diff --git a/packaging/macosx/logwolf-dsym.dmgbuild.in b/packaging/macosx/logray-dsym.dmgbuild.in
index 98ce4706b5..994b89bbf9 100644
--- a/packaging/macosx/logwolf-dsym.dmgbuild.in
+++ b/packaging/macosx/logray-dsym.dmgbuild.in
@@ -19,10 +19,10 @@ import os.path
# .. Useful stuff ..............................................................
lw_version = '@LOG_PROJECT_VERSION@'
-lw_volname = 'Logwolf Debugging Symbols' + lw_version
+lw_volname = 'Logray Debugging Symbols' + lw_version
lw_srcdir = '@CMAKE_SOURCE_DIR@'
lw_bindir = '@CMAKE_BINARY_DIR@'
-lw_app_dsym = 'Logwolf.dSYM'
+lw_app_dsym = 'Logray.dSYM'
lw_readme_dsym = 'Debugging symbols installation.html'
# .. Basics ....................................................................
@@ -31,7 +31,7 @@ lw_readme_dsym = 'Debugging symbols installation.html'
# filename = lw_volname + ' Intel 64.dmg'
# Uncomment to override the output volume name
-# volume_name = 'Logwolf ' + lw_version
+# volume_name = 'Logray ' + lw_version
# From the hdiutil man page:
# UDZO - UDIF zlib-compressed image
@@ -50,7 +50,7 @@ size = None
# Files to include
files = [
os.path.join(lw_bindir, 'run', lw_app_dsym),
- os.path.join(lw_bindir, 'packaging', 'macosx', 'logwolf', lw_readme_dsym),
+ os.path.join(lw_bindir, 'packaging', 'macosx', 'logray', lw_readme_dsym),
]
# Symlinks to create
diff --git a/packaging/macosx/osx-app.sh.in b/packaging/macosx/osx-app.sh.in
index 8cd3ecd090..fa32b38034 100755
--- a/packaging/macosx/osx-app.sh.in
+++ b/packaging/macosx/osx-app.sh.in
@@ -72,7 +72,7 @@ OPTIONS
/usr/local.
EXAMPLE
- $0 -b Logwolf.app -s -l /opt/local
+ $0 -b Logray.app -s -l /opt/local
"
}
@@ -257,7 +257,7 @@ fi
"@QT_MACDEPLOYQT_EXECUTABLE@" "$bundle" -no-strip -verbose=2 || exit 1
#
-# The build process added to the Wireshark/Logwolf binary an rpath
+# The build process added to the Wireshark/Logray binary an rpath
# entry pointing to the directory containing the Qt frameworks; remove
# that entry from the binary in the package.
#
diff --git a/packaging/macosx/osx-dmg.sh.in b/packaging/macosx/osx-dmg.sh.in
index c81cc37d62..5eda399835 100755
--- a/packaging/macosx/osx-dmg.sh.in
+++ b/packaging/macosx/osx-dmg.sh.in
@@ -67,8 +67,8 @@ fi
if [[ $app_name = Log* ]] ; then
version=$log_version
- app_settings_file="@CMAKE_BINARY_DIR@/packaging/macosx/logwolf-app.dmgbuild"
- dsym_settings_file="@CMAKE_BINARY_DIR@/packaging/macosx/logwolf-dsym.dmgbuild"
+ app_settings_file="@CMAKE_BINARY_DIR@/packaging/macosx/logray-app.dmgbuild"
+ dsym_settings_file="@CMAKE_BINARY_DIR@/packaging/macosx/logray-dsym.dmgbuild"
fi
app_vol_name="$app_name ${version}"
diff --git a/packaging/nsis/CMakeLists.txt b/packaging/nsis/CMakeLists.txt
index 100771f706..6ba6a68b97 100644
--- a/packaging/nsis/CMakeLists.txt
+++ b/packaging/nsis/CMakeLists.txt
@@ -30,23 +30,23 @@ set(WIRESHARK_NSIS_FILES
PARENT_SCOPE
)
-set(LOGWOLF_NSIS_GENERATED_FILES
- ${CMAKE_CURRENT_BINARY_DIR}/logwolf-manifest.nsh
- ${CMAKE_CURRENT_BINARY_DIR}/logwolf-config.nsh
- ${CMAKE_CURRENT_BINARY_DIR}/logwolf-qt-manifest.nsh
+set(LOGRAY_NSIS_GENERATED_FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/logray-manifest.nsh
+ ${CMAKE_CURRENT_BINARY_DIR}/logray-config.nsh
+ ${CMAKE_CURRENT_BINARY_DIR}/logray-qt-manifest.nsh
)
-set(LOGWOLF_NSIS_GENERATED_FILES ${LOGWOLF_NSIS_GENERATED_FILES} PARENT_SCOPE)
+set(LOGRAY_NSIS_GENERATED_FILES ${LOGRAY_NSIS_GENERATED_FILES} PARENT_SCOPE)
-set(LOGWOLF_NSIS_FILES
- logwolf.nsi
- uninstall-logwolf.nsi
- logwolf-common.nsh
+set(LOGRAY_NSIS_FILES
+ logray.nsi
+ uninstall-logray.nsi
+ logray-common.nsh
GetWindowsVersion.nsh
servicelib.nsh
AdditionalTasksPage.ini
NpcapPage.ini
USBPcapPage.ini
- ${LOGWOLF_NSIS_GENERATED_FILES}
+ ${LOGRAY_NSIS_GENERATED_FILES}
PARENT_SCOPE
)
@@ -83,7 +83,7 @@ set (LOG_PRODUCT_VERSION ${LOG_PROJECT_MAJOR_VERSION}.${LOG_PROJECT_MINOR_VERSIO
# wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe
#)
-if((BUILD_wireshark OR BUILD_logwolf) AND QT_FOUND)
+if((BUILD_wireshark OR BUILD_logray) AND QT_FOUND)
set (QT_DIR "\${STAGING_DIR}")
endif()
@@ -188,18 +188,18 @@ if (BUILD_wireshark)
file(WRITE "${_all_manifest}" "${_all_manifest_contents}")
endif()
-if (BUILD_logwolf)
+if (BUILD_logray)
# Ideally we would generate this at compile time using a separate cmake
# module, e.g. cmake/modules/configure_nsis_file.cmake. However we would
# have to figure out a clean way to pass in the variables above.
- file(READ "${CMAKE_CURRENT_SOURCE_DIR}/logwolf-config.nsh.in" _config_nsh_contents)
+ file(READ "${CMAKE_CURRENT_SOURCE_DIR}/logray-config.nsh.in" _config_nsh_contents)
string(CONFIGURE "${_config_nsh_contents}" _config_nsh_contents)
string(REPLACE "#define" "!define" _config_nsh_contents "${_config_nsh_contents}")
string(REPLACE "#undef" "!undef" _config_nsh_contents "${_config_nsh_contents}")
- file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/logwolf-config.nsh" "${_config_nsh_contents}")
+ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/logray-config.nsh" "${_config_nsh_contents}")
- # logwolf-manifest.nsh. Can be created at configure time.
- set(_all_manifest "${CMAKE_CURRENT_BINARY_DIR}/logwolf-manifest.nsh")
+ # logray-manifest.nsh. Can be created at configure time.
+ set(_all_manifest "${CMAKE_CURRENT_BINARY_DIR}/logray-manifest.nsh")
set(_all_manifest_contents "# Files required for all sections. Generated by CMake.\n")
set(_all_manifest_contents "${_all_manifest_contents}!ifdef BUNDLE_DEBUG_DLLS\n")
foreach(_dll ${GLIB2_DLLS_DEBUG})
@@ -265,14 +265,14 @@ macro( ADD_NSIS_UNINSTALLER_TARGETS )
message(WARNING "The NSIS installer cannot be built if the Wireshark program isn't built.")
endif()
- if(BUILD_logwolf)
- add_custom_command(OUTPUT ${DATAFILE_DIR}/uninstall-logwolf.exe
- DEPENDS ${_nsis_source_dir}/uninstall-logwolf.nsi
- ${_nsis_source_dir}/logwolf-common.nsh
+ if(BUILD_logray)
+ add_custom_command(OUTPUT ${DATAFILE_DIR}/uninstall-logray.exe
+ DEPENDS ${_nsis_source_dir}/uninstall-logray.nsi
+ ${_nsis_source_dir}/logray-common.nsh
COMMAND ${MAKENSIS_EXECUTABLE} ${NSIS_OPTIONS}
- uninstall-logwolf.nsi
- COMMAND ${POWERSHELL_COMMAND} "${_nsis_source_dir}/makeUninstall.ps1" ${DATAFILE_DIR}/uninstall_logwolf_installer.exe
- COMMAND ${CMAKE_COMMAND} -E remove ${DATAFILE_DIR}/uninstall_logwolf_installer.exe
+ uninstall-logray.nsi
+ COMMAND ${POWERSHELL_COMMAND} "${_nsis_source_dir}/makeUninstall.ps1" ${DATAFILE_DIR}/uninstall_logray_installer.exe
+ COMMAND ${CMAKE_COMMAND} -E remove ${DATAFILE_DIR}/uninstall_logray_installer.exe
WORKING_DIRECTORY ${_nsis_source_dir}
)
endif()
@@ -331,31 +331,31 @@ macro( ADD_NSIS_PACKAGE_TARGETS )
)
endif()
- if(BUILD_logwolf)
+ if(BUILD_logray)
#set (_nsis_package ${CMAKE_BINARY_DIR}/packaging/nsis/Wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe)
- # logwolf-qt-manifest.nsh. Created using Wireshark.exe.
- add_custom_command(OUTPUT ${_nsis_binary_dir}/logwolf-qt-manifest.nsh
+ # logray-qt-manifest.nsh. Created using Wireshark.exe.
+ add_custom_command(OUTPUT ${_nsis_binary_dir}/logray-qt-manifest.nsh
COMMAND set "PATH=${QT_BIN_PATH};%PATH%"
COMMAND ${POWERSHELL_COMMAND} "${_nsis_source_dir}/windeployqt-to-nsis.ps1"
- -Executable $<TARGET_FILE:logwolf>
- -FilePath ${_nsis_binary_dir}/logwolf-qt-manifest.nsh
+ -Executable $<TARGET_FILE:logray>
+ -FilePath ${_nsis_binary_dir}/logray-qt-manifest.nsh
$<$<CONFIG:Debug>:-DebugConfig>
DEPENDS "${_nsis_source_dir}/windeployqt-to-nsis.ps1"
)
# Build NSIS package dependencies. We build the package in
- # two stages so that logwolf_nsis below doesn't trigger
+ # two stages so that logray_nsis below doesn't trigger
# any dependencies that might clobber any signed executables.
- add_custom_target(logwolf_nsis_prep
+ add_custom_target(logray_nsis_prep
DEPENDS
- ${LOGWOLF_NSIS_FILES}
+ ${LOGRAY_NSIS_FILES}
copy_data_files
user_guide_html
faq_html
- ${DATAFILE_DIR}/uninstall-logwolf.exe
+ ${DATAFILE_DIR}/uninstall-logray.exe
)
- set_target_properties(logwolf_nsis_prep PROPERTIES
+ set_target_properties(logray_nsis_prep PROPERTIES
FOLDER "Packaging"
EXCLUDE_FROM_DEFAULT_BUILD True
)
@@ -363,13 +363,13 @@ macro( ADD_NSIS_PACKAGE_TARGETS )
# Dump the installer into
# ${CMAKE_CURRENT_SOURCE_DIR}/packaging/nsis
# Note that executables and DLLs *must* be built separately
- add_custom_target(logwolf_nsis
+ add_custom_target(logray_nsis
COMMAND ${MAKENSIS_EXECUTABLE} ${NSIS_OPTIONS}
$<$<CONFIG:Debug>:/DBUNDLE_DEBUG_DLLS>
- logwolf.nsi
+ logray.nsi
WORKING_DIRECTORY ${_nsis_source_dir}
)
- set_target_properties(logwolf_nsis PROPERTIES
+ set_target_properties(logray_nsis PROPERTIES
FOLDER "Packaging"
EXCLUDE_FROM_DEFAULT_BUILD True
)
@@ -384,9 +384,9 @@ set(CLEAN_FILES
wireshark-config.nsh
wireshark-manifest.nsh
wireshark-qt-manifest.nsh
- ${DATAFILE_DIR}/uninstall-logwolf.exe
- logwolf-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe
- logwolf-config.nsh
- logwolf-manifest.nsh
- logwolf-qt-manifest.nsh
+ ${DATAFILE_DIR}/uninstall-logray.exe
+ logray-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe
+ logray-config.nsh
+ logray-manifest.nsh
+ logray-qt-manifest.nsh
)
diff --git a/packaging/nsis/logwolf-additional-tasks.nsddef b/packaging/nsis/logray-additional-tasks.nsddef
index 9113e89da6..853e9587e9 100644
--- a/packaging/nsis/logwolf-additional-tasks.nsddef
+++ b/packaging/nsis/logray-additional-tasks.nsddef
@@ -5,13 +5,13 @@ https://coolsoft.altervista.org/nsisdialogdesigner
Do not edit manually!
-->
<Dialog Name="AdditionalTasksPage" Title="Additional Tasks" Subtitle="Create shortcuts and associate file extensions.">
- <CreateFunctionCustomScript>; Defined in logwolf.nsi
+ <CreateFunctionCustomScript>; Defined in logray.nsi
Call InitAdditionalTasksPage</CreateFunctionCustomScript>
<Label Name="ExtensionsLabel" Location="22, 151" Size="372, 52" Text="Extensions include 5vw, acp, apc, atc, bfr, cap, enc, erf, fdc, ipfix, lcap, mplog, ntar, out, pcap, pcapng, pklg, pkt, rf5, snoop, syc, tpc, tr1, trace, trc, vwr, wpc, and wpz." TabIndex="0" />
- <CheckBox Name="AssociateExtensionsCheckBox" Location="22, 126" Size="406, 14" Text="Associate trace file extensions with Logwolf" TabIndex="1" />
- <CheckBox Name="QuickLaunchCheckBox" Location="22, 74" Size="406, 14" Text="Logwolf Quick Launch Icon" TabIndex="2" />
- <CheckBox Name="DesktopIconCheckBox" Location="22, 54" Size="406, 14" Text="Logwolf Desktop Icon" TabIndex="3" />
- <CheckBox Name="StartMenuCheckBox" Location="22, 34" Size="406, 14" Text="Logwolf Start Menu Item" TabIndex="4" />
+ <CheckBox Name="AssociateExtensionsCheckBox" Location="22, 126" Size="406, 14" Text="Associate trace file extensions with Logray" TabIndex="1" />
+ <CheckBox Name="QuickLaunchCheckBox" Location="22, 74" Size="406, 14" Text="Logray Quick Launch Icon" TabIndex="2" />
+ <CheckBox Name="DesktopIconCheckBox" Location="22, 54" Size="406, 14" Text="Logray Desktop Icon" TabIndex="3" />
+ <CheckBox Name="StartMenuCheckBox" Location="22, 34" Size="406, 14" Text="Logray Start Menu Item" TabIndex="4" />
<Label Name="FileExtensionsLabel" Location="12, 101" Size="426, 14" Text="Associate File Extensions" Font="Microsoft Sans Serif, 8.25pt, style=Bold" TabIndex="5" />
<Label Name="CreateShortcutsLabel" Location="12, 9" Size="426, 14" Text="Create Shortcuts" Font="Microsoft Sans Serif, 8.25pt, style=Bold" TabIndex="6" />
</Dialog>
diff --git a/packaging/nsis/logwolf-additional-tasks.nsdinc b/packaging/nsis/logray-additional-tasks.nsdinc
index 962d773bfa..f35dee8b7c 100644
--- a/packaging/nsis/logwolf-additional-tasks.nsdinc
+++ b/packaging/nsis/logray-additional-tasks.nsdinc
@@ -36,19 +36,19 @@ Function fnc_AdditionalTasksPage_Create
Pop $hCtl_AdditionalTasksPage_ExtensionsLabel
; === AssociateExtensionsCheckBox (type: Checkbox) ===
- ${NSD_CreateCheckbox} 14u 78u 267u 9u "Associate log file extensions with Logwolf"
+ ${NSD_CreateCheckbox} 14u 78u 267u 9u "Associate log file extensions with Logray"
Pop $hCtl_AdditionalTasksPage_AssociateExtensionsCheckBox
; === QuickLaunchCheckBox (type: Checkbox) ===
- ${NSD_CreateCheckbox} 14u 46u 267u 9u "Logwolf Quick Launch Icon"
+ ${NSD_CreateCheckbox} 14u 46u 267u 9u "Logray Quick Launch Icon"
Pop $hCtl_AdditionalTasksPage_QuickLaunchCheckBox
; === DesktopIconCheckBox (type: Checkbox) ===
- ${NSD_CreateCheckbox} 14u 33u 267u 9u "Logwolf Desktop Icon"
+ ${NSD_CreateCheckbox} 14u 33u 267u 9u "Logray Desktop Icon"
Pop $hCtl_AdditionalTasksPage_DesktopIconCheckBox
; === StartMenuCheckBox (type: Checkbox) ===
- ${NSD_CreateCheckbox} 14u 21u 267u 9u "Logwolf Start Menu Item"
+ ${NSD_CreateCheckbox} 14u 21u 267u 9u "Logray Start Menu Item"
Pop $hCtl_AdditionalTasksPage_StartMenuCheckBox
; === FileExtensionsLabel (type: Label) ===
@@ -62,7 +62,7 @@ Function fnc_AdditionalTasksPage_Create
SendMessage $hCtl_AdditionalTasksPage_CreateShortcutsLabel ${WM_SETFONT} $hCtl_AdditionalTasksPage_Font1 0
; CreateFunctionCustomScript
- ; Defined in logwolf.nsi
+ ; Defined in logray.nsi
Call InitAdditionalTasksPage
diff --git a/packaging/nsis/logwolf-common.nsh b/packaging/nsis/logray-common.nsh
index 6d222a911d..9095589d0a 100644
--- a/packaging/nsis/logwolf-common.nsh
+++ b/packaging/nsis/logray-common.nsh
@@ -18,7 +18,7 @@ ManifestDPIAware true
!addincludedir ${NSIS_INCLUDE_DIR}
!endif
-!include "logwolf-config.nsh"
+!include "logray-config.nsh"
!define BITS 64
@@ -28,14 +28,14 @@ Name "${DISPLAY_NAME}"
!define PROGRAM_FULL_NAME "The ${PROGRAM_NAME} Log Analyzer"
!define PROGRAM_NAME_PATH "${PROGRAM_NAME}.exe"
-!define UNINSTALLER_NAME "uninstall-logwolf.exe"
+!define UNINSTALLER_NAME "uninstall-logray.exe"
VIAddVersionKey "ProductName" "${PROGRAM_NAME}"
VIAddVersionKey "Comments" "It's a great product with a great story to tell. I'm pumped!"
VIAddVersionKey "CompanyName" "${PROGRAM_NAME} development team"
; NSIS handles U+00a9 but not a UTF-8 encoded copyright symbol.
VIAddVersionKey "LegalCopyright" "${U+00a9} Gerald Combs and many others"
-VIAddVersionKey "LegalTrademarks" "Logwolf and the 'wolf' logo are registered trademarks"
+VIAddVersionKey "LegalTrademarks" "Logray and the 'ray' logo are registered trademarks"
VIAddVersionKey "FileDescription" "${PROGRAM_NAME} installer for ${BITS}-bit Windows"
VIAddVersionKey "Language" "English"
VIAddVersionKey "ProductVersion" "${PRODUCT_VERSION}"
@@ -90,8 +90,8 @@ Exec '"$SYSDIR\ie4uinit.exe" -ClearIconCache'
; probably don't want to grab JPEG or MP3 files.
; ============================================================================
-; Used to add associations between file extensions and Logwolf
-!define LOGWOLF_ASSOC "logwolf-log-file"
+; Used to add associations between file extensions and Logray
+!define LOGRAY_ASSOC "logray-log-file"
!define FILE_EXTENSION_MARKER "FILE_EXTENSION_MARKER"
@@ -100,8 +100,8 @@ Exec '"$SYSDIR\ie4uinit.exe" -ClearIconCache'
Push ".scap"
!macroend
-!macro IsLogwolfRunning
-; See if Logwolf is running
+!macro IsLograyRunning
+; See if Logray is running
; https://nsis.sourceforge.io/Check_whether_your_application_is_running
${Do}
diff --git a/packaging/nsis/logwolf-config.nsh.in b/packaging/nsis/logray-config.nsh.in
index 4e545e3dbd..4e545e3dbd 100644
--- a/packaging/nsis/logwolf-config.nsh.in
+++ b/packaging/nsis/logray-config.nsh.in
diff --git a/packaging/nsis/logwolf.nsi b/packaging/nsis/logray.nsi
index c1a39bd3c6..81173c58b5 100644
--- a/packaging/nsis/logwolf.nsi
+++ b/packaging/nsis/logray.nsi
@@ -1,5 +1,5 @@
;
-; logwolf.nsi
+; logray.nsi
;
; Set the compression mechanism first.
@@ -10,7 +10,7 @@
SetCompressor /SOLID lzma
SetCompressorDictSize 64 ; MB
-!include "logwolf-common.nsh"
+!include "logray-common.nsh"
!include 'LogicLib.nsh'
!include "StrFunc.nsh"
!include "WordFunc.nsh"
@@ -54,7 +54,7 @@ Icon "${TOP_SRC_DIR}\resources\icons\wiresharkinst.ico"
;!addplugindir ".\Plugins"
!define MUI_ICON "${TOP_SRC_DIR}\resources\icons\wiresharkinst.ico"
-BrandingText "Logwolf${U+00ae} Installer"
+BrandingText "Logray${U+00ae} Installer"
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_FINISHPAGE_NOAUTOCLOSE
@@ -69,7 +69,7 @@ BrandingText "Logwolf${U+00ae} Installer"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\NEWS.txt"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Show News"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
-; NSIS runs as Administrator and will run Logwolf as Administrator
+; NSIS runs as Administrator and will run Logray as Administrator
; if these are enabled.
;!define MUI_FINISHPAGE_RUN "$INSTDIR\${PROGRAM_NAME_PATH}"
;!define MUI_FINISHPAGE_RUN_NOTCHECKED
@@ -80,7 +80,7 @@ BrandingText "Logwolf${U+00ae} Installer"
!insertmacro MUI_PAGE_WELCOME
-!define MUI_LICENSEPAGE_TEXT_TOP "Logwolf is distributed under the GNU General Public License."
+!define MUI_LICENSEPAGE_TEXT_TOP "Logray is distributed under the GNU General Public License."
!define MUI_LICENSEPAGE_TEXT_BOTTOM "This is not an end user license agreement (EULA). It is provided here for informational purposes only."
!define MUI_LICENSEPAGE_BUTTON "Noted"
!insertmacro MUI_PAGE_LICENSE "${STAGING_DIR}\COPYING.txt"
@@ -115,7 +115,7 @@ Page custom DisplayAdditionalTasksPage LeaveAdditionalTasksPage
; https://nsis.sourceforge.io/Docs/Modern%20UI%202/Readme.html
; https://nsis.sourceforge.io/Docs/nsDialogs/Readme.html
!ifdef QT_DIR
- !include "logwolf-additional-tasks.nsdinc"
+ !include "logray-additional-tasks.nsdinc"
!endif
; ============================================================================
@@ -225,7 +225,7 @@ Function Associate
Associate.doRegister:
;The extension is not associated to any program, we can do the link
- WriteRegStr HKCR $EXTENSION "" ${LOGWOLF_ASSOC}
+ WriteRegStr HKCR $EXTENSION "" ${LOGRAY_ASSOC}
DetailPrint "Registered file type: $EXTENSION"
Associate.end:
@@ -266,7 +266,7 @@ Function .onInit
!if ${WIRESHARK_TARGET_PLATFORM} == "win64"
; http://forums.winamp.com/printthread.php?s=16ffcdd04a8c8d52bee90c0cae273ac5&threadid=262873
${IfNot} ${RunningX64}
- MessageBox MB_OK "Logwolf only runs on 64-bit machines." /SD IDOK
+ MessageBox MB_OK "Logray only runs on 64-bit machines." /SD IDOK
Abort
${EndIf}
!endif
@@ -301,7 +301,7 @@ lbl_winversion_unsupported:
Quit
lbl_winversion_supported:
-!insertmacro IsLogwolfRunning
+!insertmacro IsLograyRunning
; Default control values.
StrCpy $START_MENU_STATE ${BST_CHECKED}
@@ -382,7 +382,7 @@ check_wix:
"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$TMP_PRODUCT_GUID" \
"DisplayName"
; MessageBox MB_OK|MB_ICONINFORMATION "Reading HKLM SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$1 DisplayName = $2"
- ; Look for "Logwolf".
+ ; Look for "Logray".
StrCmp $WIX_DISPLAYNAME "${PROGRAM_NAME}" wix_found wix_reg_enum_loop
wix_found:
@@ -462,7 +462,7 @@ File "${STAGING_DIR}\libwiretap.dll"
File "${STAGING_DIR}\libwireshark.dll"
File "${STAGING_DIR}\libwsutil.dll"
-!include logwolf-manifest.nsh
+!include logray-manifest.nsh
File "${STAGING_DIR}\COPYING.txt"
File "${STAGING_DIR}\NEWS.txt"
@@ -474,7 +474,7 @@ File "${STAGING_DIR}\wka"
File "${STAGING_DIR}\services"
File "${STAGING_DIR}\pdml2html.xsl"
File "${STAGING_DIR}\ws.css"
-;File "${STAGING_DIR}\logwolf.html"
+;File "${STAGING_DIR}\logray.html"
File "${STAGING_DIR}\wireshark-filter.html"
File "${STAGING_DIR}\dumpcap.exe"
File "${STAGING_DIR}\dumpcap.html"
@@ -835,7 +835,7 @@ WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "DisplayName" "${DISPLAY_NAME
WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "DisplayVersion" "${VERSION}"
WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "HelpLink" "https://ask.wireshark.org/"
WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "InstallLocation" "$INSTDIR"
-WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "Publisher" "The Logwolf developer community, https://www.wireshark.org"
+WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "Publisher" "The Logray developer community, https://www.wireshark.org"
WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "URLInfoAbout" "https://www.wireshark.org"
WriteRegStr HKEY_LOCAL_MACHINE "${UNINSTALL_PATH}" "URLUpdateInfo" "https://www.wireshark.org/download.html"
@@ -854,9 +854,9 @@ Delete "$SMPROGRAMS\${PROGRAM_NAME}\Wireshark Web Site.lnk"
; Create file extensions if the Associated Tasks page check box
; is checked.
${If} $FILE_ASSOCIATE_STATE == ${BST_CHECKED}
-WriteRegStr HKCR ${LOGWOLF_ASSOC} "" "Logwolf log file"
-WriteRegStr HKCR "${LOGWOLF_ASSOC}\Shell\open\command" "" '"$INSTDIR\${PROGRAM_NAME_PATH}" "%1"'
-WriteRegStr HKCR "${LOGWOLF_ASSOC}\DefaultIcon" "" '"$INSTDIR\${PROGRAM_NAME_PATH}",1'
+WriteRegStr HKCR ${LOGRAY_ASSOC} "" "Logray log file"
+WriteRegStr HKCR "${LOGRAY_ASSOC}\Shell\open\command" "" '"$INSTDIR\${PROGRAM_NAME_PATH}" "%1"'
+WriteRegStr HKCR "${LOGRAY_ASSOC}\DefaultIcon" "" '"$INSTDIR\${PROGRAM_NAME_PATH}",1'
; We refresh the icon cache down in -Finally.
Call Associate
; If you add something here be sure to sync it with the uninstall section and the
@@ -866,15 +866,15 @@ ${Endif}
SectionEnd ; "Required"
!ifdef QT_DIR
-Section "${PROGRAM_NAME}" SecLogwolfQt
+Section "${PROGRAM_NAME}" SecLograyQt
;-------------------------------------------
-; by default, Logwolf.exe is installed
+; by default, Logray.exe is installed
SetOutPath $INSTDIR
File "${QT_DIR}\${PROGRAM_NAME_PATH}"
; Write an entry for ShellExecute
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Paths\${PROGRAM_NAME_PATH}" "" '$INSTDIR\${PROGRAM_NAME_PATH}'
WriteRegStr HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App Paths\${PROGRAM_NAME_PATH}" "Path" '$INSTDIR'
-!include logwolf-qt-manifest.nsh
+!include logray-qt-manifest.nsh
${!defineifexist} TRANSLATIONS_FOLDER "${QT_DIR}\translations"
SetOutPath $INSTDIR
@@ -898,7 +898,7 @@ ${If} $QUICK_LAUNCH_STATE == ${BST_CHECKED}
CreateShortCut "$QUICKLAUNCH\${PROGRAM_NAME}.lnk" "$INSTDIR\${PROGRAM_NAME_PATH}" "" "$INSTDIR\${PROGRAM_NAME_PATH}" 0 "" "" "${PROGRAM_FULL_NAME}"
${Endif}
-SectionEnd ; "SecLogwolfQt"
+SectionEnd ; "SecLograyQt"
!endif
@@ -1064,7 +1064,7 @@ SectionEnd
; ============================================================================
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!ifdef QT_DIR
- !insertmacro MUI_DESCRIPTION_TEXT ${SecLogwolfQt} "The main network protocol analyzer application."
+ !insertmacro MUI_DESCRIPTION_TEXT ${SecLograyQt} "The main network protocol analyzer application."
!endif
!insertmacro MUI_DESCRIPTION_TEXT ${SecTShark} "Text based network protocol analyzer."
@@ -1113,7 +1113,7 @@ Function InitAdditionalTasksPage
${NSD_SetState} $hCtl_AdditionalTasksPage_AssociateExtensionsCheckBox $FILE_ASSOCIATE_STATE
StrCpy $QT_SELECTED 0
- ${If} ${SectionIsSelected} ${SecLogwolfQt}
+ ${If} ${SectionIsSelected} ${SecLograyQt}
StrCpy $QT_SELECTED 1
${Endif}
EnableWindow $hCtl_AdditionalTasksPage_CreateShortcutsLabel $QT_SELECTED
diff --git a/packaging/nsis/uninstall-logwolf.nsi b/packaging/nsis/uninstall-logray.nsi
index 6069da57c1..d338e76bbd 100644
--- a/packaging/nsis/uninstall-logwolf.nsi
+++ b/packaging/nsis/uninstall-logray.nsi
@@ -1,17 +1,17 @@
;
-; uninstall-logwolf.nsi
+; uninstall-logray.nsi
;
; Create an installer that only writes an uninstaller.
; https://nsis.sourceforge.io/Signing_an_Uninstaller
-!include "logwolf-common.nsh"
+!include "logray-common.nsh"
!include 'LogicLib.nsh'
!include x64.nsh
!include "StrFunc.nsh"
SetCompress off
-OutFile "${STAGING_DIR}\uninstall_logwolf_installer.exe"
+OutFile "${STAGING_DIR}\uninstall_logray_installer.exe"
; InstType "un.Default (keep Personal Settings and Npcap)"
InstType "un.All (remove all)"
@@ -69,10 +69,10 @@ Function un.Disassociate
Pop $EXTENSION
${DoUntil} $EXTENSION == ${FILE_EXTENSION_MARKER}
ReadRegStr $R0 HKCR $EXTENSION ""
- StrCmp $R0 ${LOGWOLF_ASSOC} un.Disassociate.doDeregister
+ StrCmp $R0 ${LOGRAY_ASSOC} un.Disassociate.doDeregister
Goto un.Disassociate.end
un.Disassociate.doDeregister:
- ; The extension is associated with Logwolf so, we must destroy this!
+ ; The extension is associated with Logray so, we must destroy this!
DeleteRegKey HKCR $EXTENSION
DetailPrint "Deregistered file type: $EXTENSION"
un.Disassociate.end:
@@ -96,7 +96,7 @@ Section "Uninstall" un.SecUinstall
SectionIn 1 2
SetShellVarContext all
-!insertmacro IsLogwolfRunning
+!insertmacro IsLograyRunning
Push "${EXECUTABLE_MARKER}"
Push "${PROGRAM_NAME}"
@@ -116,7 +116,7 @@ Push "mmdbresolve"
Pop $EXECUTABLE
${DoUntil} $EXECUTABLE == ${EXECUTABLE_MARKER}
- ; IsLogwolfRunning should make sure everything is closed down so we *shouldn't* run
+ ; IsLograyRunning should make sure everything is closed down so we *shouldn't* run
; into any problems here.
Delete "$INSTDIR\$EXECUTABLE.exe"
IfErrors 0 deletionSuccess
@@ -135,9 +135,9 @@ DeleteRegKey HKEY_LOCAL_MACHINE "Software\Microsoft\Windows\CurrentVersion\App P
Call un.Disassociate
-DeleteRegKey HKCR ${LOGWOLF_ASSOC}
-DeleteRegKey HKCR "${LOGWOLF_ASSOC}\Shell\open\command"
-DeleteRegKey HKCR "${LOGWOLF_ASSOC}\DefaultIcon"
+DeleteRegKey HKCR ${LOGRAY_ASSOC}
+DeleteRegKey HKCR "${LOGRAY_ASSOC}\Shell\open\command"
+DeleteRegKey HKCR "${LOGRAY_ASSOC}\DefaultIcon"
Delete "$INSTDIR\*.dll"
Delete "$INSTDIR\*.exe"
diff --git a/plugins/epan/falco_bridge/CMakeLists.txt b/plugins/epan/falco_bridge/CMakeLists.txt
index 974220865b..b0eb777961 100644
--- a/plugins/epan/falco_bridge/CMakeLists.txt
+++ b/plugins/epan/falco_bridge/CMakeLists.txt
@@ -38,7 +38,7 @@ register_plugin_files(plugin.c
${DISSECTOR_SRC}
)
-add_logwolf_plugin_library(falco-bridge epan)
+add_logray_plugin_library(falco-bridge epan)
# XXX Hacks; need to fix in falcosecurity-libs.
target_compile_definitions(falco-bridge PRIVATE
diff --git a/resources/logwolf.exe.manifest.in b/resources/logray.exe.manifest.in
index ee3722220f..91bd554b14 100644
--- a/resources/logwolf.exe.manifest.in
+++ b/resources/logray.exe.manifest.in
@@ -3,7 +3,7 @@
<assemblyIdentity
version="@LOG_PROJECT_VERSION_MAJOR@.@LOG_PROJECT_VERSION_MINOR@.@LOG_PROJECT_VERSION_MICRO@.0"
processorArchitecture="@WIRESHARK_TARGET_PROCESSOR_ARCHITECTURE@"
- name="WiresharkDevelopmentTeam.Logwolf"
+ name="WiresharkDevelopmentTeam.Logray"
type="win32"
/>
<description>A wonderful log analyzer</description>
diff --git a/resources/logwolf.rc.in b/resources/logray.rc.in
index 891d8f1fad..5c7308b078 100644
--- a/resources/logwolf.rc.in
+++ b/resources/logray.rc.in
@@ -1,8 +1,8 @@
#include "winver.h"
#pragma code_page(65001)
-LOGWOLF_ICON1 ICON "@ICON_PATH@wireshark.ico"
-LOGWOLF_ICON2 ICON "@ICON_PATH@wiresharkdoc.ico"
+LOGRAY_ICON1 ICON "@ICON_PATH@wireshark.ico"
+LOGRAY_ICON2 ICON "@ICON_PATH@wiresharkdoc.ico"
VS_VERSION_INFO VERSIONINFO
FILEVERSION @LOG_RC_VERSION@
@@ -22,12 +22,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "The Wireshark developer community, https://www.wireshark.org/\0"
- VALUE "FileDescription", "Logwolf\0"
+ VALUE "FileDescription", "Logray\0"
VALUE "FileVersion", "@LOG_PROJECT_VERSION@\0"
- VALUE "InternalName", "Logwolf @LOG_PROJECT_VERSION@\0"
+ VALUE "InternalName", "Logray @LOG_PROJECT_VERSION@\0"
VALUE "LegalCopyright", "Copyright © 2022 Loris Degioanni <loris@sysdig.com>, Gerald Combs <gerald@wireshark.org> and others\0"
- VALUE "OriginalFilename", "Logwolf.exe\0"
- VALUE "ProductName", "Logwolf\0"
+ VALUE "OriginalFilename", "Logray.exe\0"
+ VALUE "ProductName", "Logray\0"
VALUE "ProductVersion", "@LOG_PROJECT_VERSION@\0"
END
END
@@ -40,4 +40,4 @@ END
#define MANIFEST_RESOURCE_ID 1
#define RT_MANIFEST 24
-MANIFEST_RESOURCE_ID RT_MANIFEST "logwolf.exe.manifest"
+MANIFEST_RESOURCE_ID RT_MANIFEST "logray.exe.manifest"
diff --git a/resources/share/logwolf/colorfilters b/resources/share/logray/colorfilters
index b819740747..a3c9785fda 100644
--- a/resources/share/logwolf/colorfilters
+++ b/resources/share/logray/colorfilters
@@ -1,4 +1,4 @@
-# This file was created by Logwolf. Edit with care.
+# This file was created by Logray. Edit with care.
@Errors@ct.error@[4626,10023,11822][63479,34695,34695]
@State Modifying Event@ct.readonly == "false"@[61423,50372,39578][0,0,0]
@Administrative Activity@cloudtrail and not (ct.name ~ "^Describe.*" or ct.name ~ "^List.*" or ct.name ~ "^(Batch|)Get.*")@[61423,50372,39578][0,0,0]
diff --git a/tools/macos-setup.sh b/tools/macos-setup.sh
index 4d23d27fb1..432d2a94f3 100755
--- a/tools/macos-setup.sh
+++ b/tools/macos-setup.sh
@@ -3563,11 +3563,11 @@ echo
echo "mkdir build; cd build"
if [ ! -z "$NINJA_VERSION" ]; then
echo "cmake -G Ninja .."
- echo "ninja wireshark_app_bundle logwolf_app_bundle # (Modify as needed)"
+ echo "ninja wireshark_app_bundle logray_app_bundle # (Modify as needed)"
echo "ninja install/strip"
else
echo "cmake .."
- echo "make $MAKE_BUILD_OPTS wireshark_app_bundle logwolf_app_bundle # (Modify as needed)"
+ echo "make $MAKE_BUILD_OPTS wireshark_app_bundle logray_app_bundle # (Modify as needed)"
echo "make install/strip"
fi
echo
diff --git a/ui/logwolf/CMakeLists.txt b/ui/logray/CMakeLists.txt
index c07b516dda..377386738b 100644
--- a/ui/logwolf/CMakeLists.txt
+++ b/ui/logray/CMakeLists.txt
@@ -56,20 +56,20 @@ set(WIRESHARK_WIDGET_HEADERS
../qt/widgets/wireshark_file_dialog.h
)
-set (LOGWOLF_WIDGET_HEADERS ${WIRESHARK_WIDGET_HEADERS})
+set (LOGRAY_WIDGET_HEADERS ${WIRESHARK_WIDGET_HEADERS})
set(WIRESHARK_3RD_PARTY_WIDGET_HEADERS
../qt/widgets/qcustomplot.h
)
-set (LOGWOLF_3RD_PARTY_WIDGET_HEADERS ${WIRESHARK_3RD_PARTY_WIDGET_HEADERS})
+set (LOGRAY_3RD_PARTY_WIDGET_HEADERS ${WIRESHARK_3RD_PARTY_WIDGET_HEADERS})
set(WIRESHARK_MANAGER_HEADERS
../qt/manager/preference_manager.h
../qt/manager/wireshark_preference.h
)
-set (LOGWOLF_MANAGER_HEADERS ${WIRESHARK_MANAGER_HEADERS})
+set (LOGRAY_MANAGER_HEADERS ${WIRESHARK_MANAGER_HEADERS})
set(WIRESHARK_UTILS_HEADERS
../qt/utils/color_utils.h
@@ -86,7 +86,7 @@ set(WIRESHARK_UTILS_HEADERS
../qt/utils/wireshark_zip_helper.h
)
-set (LOGWOLF_UTILS_HEADERS ${WIRESHARK_UTILS_HEADERS})
+set (LOGRAY_UTILS_HEADERS ${WIRESHARK_UTILS_HEADERS})
set(WIRESHARK_MODEL_HEADERS
../qt/models/astringlist_list_model.h
@@ -128,7 +128,7 @@ set(WIRESHARK_MODEL_HEADERS
../qt/models/url_link_delegate.h
)
-set (LOGWOLF_MODEL_HEADERS ${WIRESHARK_MODEL_HEADERS})
+set (LOGRAY_MODEL_HEADERS ${WIRESHARK_MODEL_HEADERS})
# All .h files which inherit from QObject aka which use the Q_OBJECT macro
# need to go here.
@@ -237,9 +237,9 @@ if(ENABLE_PCAP)
endif()
endif()
-set (LOGWOLF_QT_HEADERS
- logwolf_application.h
- logwolf_main_window.h
+set (LOGRAY_QT_HEADERS
+ logray_application.h
+ logray_main_window.h
${WIRESHARK_QT_HEADERS}
)
@@ -284,20 +284,20 @@ set(WIRESHARK_WIDGET_SRCS
../qt/widgets/wireshark_file_dialog.cpp
)
-set (LOGWOLF_WIDGET_SRCS ${WIRESHARK_WIDGET_SRCS})
+set (LOGRAY_WIDGET_SRCS ${WIRESHARK_WIDGET_SRCS})
set(WIRESHARK_3RD_PARTY_WIDGET_SRCS
../qt/widgets/qcustomplot.cpp
)
-set (LOGWOLF_3RD_PARTY_WIDGET_SRCS ${WIRESHARK_3RD_PARTY_WIDGET_SRCS})
+set (LOGRAY_3RD_PARTY_WIDGET_SRCS ${WIRESHARK_3RD_PARTY_WIDGET_SRCS})
set(WIRESHARK_MANAGER_SRCS
../qt/manager/preference_manager.cpp
../qt/manager/wireshark_preference.cpp
)
-set (LOGWOLF_MANAGER_SRCS ${WIRESHARK_MANAGER_SRCS})
+set (LOGRAY_MANAGER_SRCS ${WIRESHARK_MANAGER_SRCS})
set(WIRESHARK_UTILS_SRCS
../qt/utils/color_utils.cpp
@@ -311,7 +311,7 @@ set(WIRESHARK_UTILS_SRCS
../qt/utils/wireshark_zip_helper.cpp
)
-set (LOGWOLF_UTILS_SRCS ${WIRESHARK_UTILS_SRCS})
+set (LOGRAY_UTILS_SRCS ${WIRESHARK_UTILS_SRCS})
set(WIRESHARK_MODEL_SRCS
../qt/models/astringlist_list_model.cpp
@@ -352,7 +352,7 @@ set(WIRESHARK_MODEL_SRCS
../qt/models/url_link_delegate.cpp
)
-set (LOGWOLF_MODEL_SRCS ${WIRESHARK_MODEL_SRCS})
+set (LOGRAY_MODEL_SRCS ${WIRESHARK_MODEL_SRCS})
set(WIRESHARK_QT_SRC
../qt/about_dialog.cpp
@@ -456,11 +456,11 @@ if(ENABLE_PCAP)
endif()
endif()
-set (LOGWOLF_QT_SRC
- logwolf_application.cpp
- logwolf_main.cpp
- logwolf_main_window.cpp
- logwolf_main_window_slots.cpp
+set (LOGRAY_QT_SRC
+ logray_application.cpp
+ logray_main.cpp
+ logray_main_window.cpp
+ logray_main_window_slots.cpp
${WIRESHARK_QT_SRC})
set(WIRESHARK_QT_TAP_SRC
@@ -471,14 +471,14 @@ set(WIRESHARK_QT_TAP_SRC
${WIRESHARK_CUSTOM_TAP_SRC}
)
-set (LOGWOLF_QT_TAP_SRC ${WIRESHARK_QT_TAP_SRC})
+set (LOGRAY_QT_TAP_SRC ${WIRESHARK_QT_TAP_SRC})
set(WIRESHARK_QT_FILES
${WIRESHARK_QT_SRC}
${WIRESHARK_QT_TAP_SRC}
)
-set (LOGWOLF_QT_FILES ${WIRESHARK_QT_FILES})
+set (LOGRAY_QT_FILES ${WIRESHARK_QT_FILES})
set(WIRESHARK_QT_UI
../qt/about_dialog.ui
@@ -549,8 +549,8 @@ if(HAVE_PCAP_REMOTE)
)
endif()
-set (LOGWOLF_QT_UI
- logwolf_main_window.ui
+set (LOGRAY_QT_UI
+ logray_main_window.ui
${WIRESHARK_QT_UI}
)
@@ -569,19 +569,19 @@ set(WIRESHARK_QT_TS
../qt/wireshark_zh_CN.ts
)
-set(LOGWOLF_QT_TS
- logwolf_en.ts
+set(LOGRAY_QT_TS
+ logray_en.ts
${WIRESHARK_QT_TS}
)
-foreach(_file ${LOGWOLF_QT_TS})
+foreach(_file ${LOGRAY_QT_TS})
get_filename_component(_qresource ${_file} NAME_WE)
set(_qresource_qm "${_qresource}.qm")
set(i18n_qresource "${i18n_qresource}\n <file>${_qresource_qm}</file>")
endforeach()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/i18n.qrc.in ${CMAKE_CURRENT_BINARY_DIR}/i18n.qrc)
-set(LOGWOLF_QT_QRC
+set(LOGRAY_QT_QRC
../../resources/about.qrc
../../resources/languages/languages.qrc
../../resources/layout.qrc
@@ -600,75 +600,75 @@ if(NOT Qt${qtver}Widgets_VERSION VERSION_LESS "5.9")
endif()
if (USE_qt6)
- QT6_ADD_TRANSLATION(LOGWOLF_QT_QM ${LOGWOLF_QT_TS} OPTIONS -silent)
+ QT6_ADD_TRANSLATION(LOGRAY_QT_QM ${LOGRAY_QT_TS} OPTIONS -silent)
elseif(NOT Qt${qtver}Widgets_VERSION VERSION_LESS "5.11")
- QT5_ADD_TRANSLATION(LOGWOLF_QT_QM ${LOGWOLF_QT_TS} OPTIONS -silent)
+ QT5_ADD_TRANSLATION(LOGRAY_QT_QM ${LOGRAY_QT_TS} OPTIONS -silent)
else()
- QT5_ADD_TRANSLATION(LOGWOLF_QT_QM ${LOGWOLF_QT_TS})
+ QT5_ADD_TRANSLATION(LOGRAY_QT_QM ${LOGRAY_QT_TS})
endif()
add_custom_target(
- logwolf_translations
+ logray_translations
DEPENDS
- ${LOGWOLF_QT_QM}
+ ${LOGRAY_QT_QM}
)
-set_target_properties(logwolf_translations PROPERTIES FOLDER "UI")
+set_target_properties(logray_translations PROPERTIES FOLDER "UI")
set_source_files_properties(
- ${LOGWOLF_QT_FILES}
+ ${LOGRAY_QT_FILES}
PROPERTIES
COMPILE_FLAGS "${WERROR_COMMON_FLAGS}"
)
set_source_files_properties(
- logwolf-tap-register.c
+ logray-tap-register.c
PROPERTIES
SKIP_AUTOGEN ON
)
add_definitions(${QT_DEFINITIONS})
-register_tap_files(logwolf-tap-register.c
- ${LOGWOLF_QT_TAP_SRC}
+register_tap_files(logray-tap-register.c
+ ${LOGRAY_QT_TAP_SRC}
)
-source_group("ui\\UIC Files" FILES ${LOGWOLF_QT_UI})
-source_group("ui\\qrc" FILES ${LOGWOLF_QT_QRC})
-source_group("ui\\Header" FILES ${LOGWOLF_QT_HEADERS})
-source_group("ui\\Widget Header" FILES ${LOGWOLF_WIDGET_HEADERS})
-source_group("ui\\Widget Source" FILES ${LOGWOLF_WIDGET_SRCS})
-source_group("ui\\Utils Headers Files" FILES ${LOGWOLF_UTILS_HEADERS})
-source_group("ui\\Utils Source" FILES ${LOGWOLF_UTILS_SRCS})
-source_group("ui\\Models Headers" FILES ${LOGWOLF_MODEL_HEADERS})
-source_group("ui\\Models Source" FILES ${LOGWOLF_MODEL_SRCS})
-source_group("ui\\Manager Headers" FILES ${LOGWOLF_MANAGER_HEADERS})
-source_group("ui\\Manager Source" FILES ${LOGWOLF_MANAGER_SRCS})
-
-add_library(ui_logwolf OBJECT
+source_group("ui\\UIC Files" FILES ${LOGRAY_QT_UI})
+source_group("ui\\qrc" FILES ${LOGRAY_QT_QRC})
+source_group("ui\\Header" FILES ${LOGRAY_QT_HEADERS})
+source_group("ui\\Widget Header" FILES ${LOGRAY_WIDGET_HEADERS})
+source_group("ui\\Widget Source" FILES ${LOGRAY_WIDGET_SRCS})
+source_group("ui\\Utils Headers Files" FILES ${LOGRAY_UTILS_HEADERS})
+source_group("ui\\Utils Source" FILES ${LOGRAY_UTILS_SRCS})
+source_group("ui\\Models Headers" FILES ${LOGRAY_MODEL_HEADERS})
+source_group("ui\\Models Source" FILES ${LOGRAY_MODEL_SRCS})
+source_group("ui\\Manager Headers" FILES ${LOGRAY_MANAGER_HEADERS})
+source_group("ui\\Manager Source" FILES ${LOGRAY_MANAGER_SRCS})
+
+add_library(ui_logray OBJECT
#Included so that Visual Studio can properly put header files in solution
- ${LOGWOLF_QT_HEADERS}
- ${LOGWOLF_WIDGET_HEADERS}
- ${LOGWOLF_3RD_PARTY_WIDGET_HEADERS}
- ${LOGWOLF_MANAGER_HEADERS}
- ${LOGWOLF_UTILS_HEADERS}
- ${LOGWOLF_MODEL_HEADERS}
-
- ${LOGWOLF_QT_SRC}
- ${LOGWOLF_WIDGET_SRCS}
- ${LOGWOLF_3RD_PARTY_WIDGET_SRCS}
- ${LOGWOLF_MANAGER_SRCS}
- ${LOGWOLF_UTILS_SRCS}
- ${LOGWOLF_MODEL_SRCS}
+ ${LOGRAY_QT_HEADERS}
+ ${LOGRAY_WIDGET_HEADERS}
+ ${LOGRAY_3RD_PARTY_WIDGET_HEADERS}
+ ${LOGRAY_MANAGER_HEADERS}
+ ${LOGRAY_UTILS_HEADERS}
+ ${LOGRAY_MODEL_HEADERS}
+
+ ${LOGRAY_QT_SRC}
+ ${LOGRAY_WIDGET_SRCS}
+ ${LOGRAY_3RD_PARTY_WIDGET_SRCS}
+ ${LOGRAY_MANAGER_SRCS}
+ ${LOGRAY_UTILS_SRCS}
+ ${LOGRAY_MODEL_SRCS}
# For AUTOUIC and AUTORCC.
- ${LOGWOLF_QT_UI}
- ${LOGWOLF_QT_QRC}
+ ${LOGRAY_QT_UI}
+ ${LOGRAY_QT_QRC}
- ${LOGWOLF_QT_TAP_SRC}
- logwolf-tap-register.c
+ ${LOGRAY_QT_TAP_SRC}
+ logray-tap-register.c
)
-target_include_directories(ui_logwolf
+target_include_directories(ui_logray
SYSTEM PRIVATE
# Include Qt before anything else, see the comment about
# QT_INCLUDE_DIRS in the top-level CMakeLists.txt
@@ -686,45 +686,45 @@ target_include_directories(ui_logwolf
${CMAKE_CURRENT_SOURCE_DIR}/../qt
)
-target_compile_definitions(ui_logwolf
+target_compile_definitions(ui_logray
PUBLIC
${QT_COMPILE_DEFINITIONS}
)
-set_target_properties(ui_logwolf PROPERTIES
+set_target_properties(ui_logray PROPERTIES
LINK_FLAGS "${WS_LINK_FLAGS}"
FOLDER "UI"
AUTOMOC ON
AUTOUIC ON
AUTORCC ON
# Ensure .qm files are generated before autogenerating i18n.qrc
- AUTOGEN_TARGET_DEPENDS "${LOGWOLF_QT_QM}"
+ AUTOGEN_TARGET_DEPENDS "${LOGRAY_QT_QM}"
)
if(MSVC)
- set_target_properties(ui_logwolf PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
+ set_target_properties(ui_logray PROPERTIES LINK_FLAGS_DEBUG "${WS_MSVC_DEBUG_LINK_FLAGS}")
endif()
CHECKAPI(
NAME
- ui-qt-logwolf
+ ui-qt-logray
SWITCHES
--nocheck-shadow
SOURCES
- # QCustomPlot (LOGWOLF_3RD_PARTY_WIDGET_{HEADERS,SRCS}) uses
+ # QCustomPlot (LOGRAY_3RD_PARTY_WIDGET_{HEADERS,SRCS}) uses
# prohibited APIs.
- ${LOGWOLF_QT_HEADERS}
- ${LOGWOLF_WIDGET_HEADERS}
- ${LOGWOLF_MANAGER_HEADERS}
- ${LOGWOLF_UTILS_HEADERS}
- ${LOGWOLF_MODEL_HEADERS}
-
- ${LOGWOLF_QT_SRC}
- ${LOGWOLF_WIDGET_SRCS}
- ${LOGWOLF_MANAGER_SRCS}
- ${LOGWOLF_UTILS_SRCS}
- ${LOGWOLF_MODEL_SRCS}
- ${LOGWOLF_QT_TAP_SRC}
+ ${LOGRAY_QT_HEADERS}
+ ${LOGRAY_WIDGET_HEADERS}
+ ${LOGRAY_MANAGER_HEADERS}
+ ${LOGRAY_UTILS_HEADERS}
+ ${LOGRAY_MODEL_HEADERS}
+
+ ${LOGRAY_QT_SRC}
+ ${LOGRAY_WIDGET_SRCS}
+ ${LOGRAY_MANAGER_SRCS}
+ ${LOGRAY_UTILS_SRCS}
+ ${LOGRAY_MODEL_SRCS}
+ ${LOGRAY_QT_TAP_SRC}
)
#
diff --git a/ui/logwolf/i18n.qrc.in b/ui/logray/i18n.qrc.in
index 7260de040e..7260de040e 100644
--- a/ui/logwolf/i18n.qrc.in
+++ b/ui/logray/i18n.qrc.in
diff --git a/ui/logwolf/logwolf_application.cpp b/ui/logray/logray_application.cpp
index 9dbd844d68..2f2f460279 100644
--- a/ui/logwolf/logwolf_application.cpp
+++ b/ui/logray/logray_application.cpp
@@ -1,34 +1,34 @@
-/* logwolf_application.cpp
+/* logray_application.cpp
*
- * Logwolf - Event log analyzer
+ * Logray - Event log analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#include "logwolf_application.h"
+#include "logray_application.h"
#include "extcap.h"
#include "ui/iface_lists.h"
#include "ui/ws_ui_util.h"
-LogwolfApplication *lwApp = NULL;
+LograyApplication *lwApp = NULL;
-LogwolfApplication::LogwolfApplication(int &argc, char **argv) :
+LograyApplication::LograyApplication(int &argc, char **argv) :
MainApplication(argc, argv)
{
lwApp = this;
- setApplicationName("Logwolf");
- setDesktopFileName(QStringLiteral("org.wireshark.Logwolf"));
+ setApplicationName("Logray");
+ setDesktopFileName(QStringLiteral("org.wireshark.Logray"));
}
-LogwolfApplication::~LogwolfApplication()
+LograyApplication::~LograyApplication()
{
lwApp = NULL;
}
-void LogwolfApplication::refreshLocalInterfaces()
+void LograyApplication::refreshLocalInterfaces()
{
extcap_clear_interfaces();
diff --git a/ui/logwolf/logwolf_application.h b/ui/logray/logray_application.h
index ea230f2a5a..7f7c75def4 100644
--- a/ui/logwolf/logwolf_application.h
+++ b/ui/logray/logray_application.h
@@ -1,14 +1,14 @@
/** @file
*
- * Logwolf - Event log analyzer
+ * Logray - Event log analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef LOGWOLF_APPLICATION_H
-#define LOGWOLF_APPLICATION_H
+#ifndef LOGRAY_APPLICATION_H
+#define LOGRAY_APPLICATION_H
#include <main_application.h>
@@ -16,15 +16,15 @@
// - Remove SequenceDiagram dependency on RTPStreamDialog
// - Remove PacketListModel dependency on WirelessTimeline
-class LogwolfApplication : public MainApplication
+class LograyApplication : public MainApplication
{
public:
- explicit LogwolfApplication(int &argc, char **argv);
- ~LogwolfApplication();
+ explicit LograyApplication(int &argc, char **argv);
+ ~LograyApplication();
void refreshLocalInterfaces() override;
};
-extern LogwolfApplication *lwApp;
+extern LograyApplication *lwApp;
-#endif // LOGWOLF_APPLICATION_H
+#endif // LOGRAY_APPLICATION_H
diff --git a/ui/logwolf/logwolf_en.ts b/ui/logray/logray_en.ts
index 1b9893098d..1b9893098d 100644
--- a/ui/logwolf/logwolf_en.ts
+++ b/ui/logray/logray_en.ts
diff --git a/ui/logwolf/logwolf_main.cpp b/ui/logray/logray_main.cpp
index aac17ec713..33ab7ed2a4 100644
--- a/ui/logwolf/logwolf_main.cpp
+++ b/ui/logray/logray_main.cpp
@@ -1,6 +1,6 @@
-/* logwolf_main.cpp
+/* logray_main.cpp
*
- * Logwolf - Event log analyzer
+ * Logray - Event log analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
@@ -81,11 +81,11 @@
#include "ui/qt/utils/color_utils.h"
#include "ui/qt/coloring_rules_dialog.h"
#include "ui/qt/endpoint_dialog.h"
-#include "ui/logwolf/logwolf_main_window.h"
+#include "ui/logray/logray_main_window.h"
#include "ui/qt/simple_dialog.h"
#include "ui/qt/simple_statistics_dialog.h"
#include <ui/qt/widgets/splash_overlay.h>
-#include "ui/logwolf/logwolf_application.h"
+#include "ui/logray/logray_application.h"
#include "capture/capture-pcap-util.h"
@@ -118,7 +118,7 @@
/* update the main window */
void main_window_update(void)
{
- LogwolfApplication::processEvents();
+ LograyApplication::processEvents();
}
void exit_application(int status) {
@@ -170,12 +170,12 @@ void exit_application(int status) {
*/
// xxx copied from ../gtk/main.c
static void
-logwolf_cmdarg_err(const char *fmt, va_list ap)
+logray_cmdarg_err(const char *fmt, va_list ap)
{
#ifdef _WIN32
create_console();
#endif
- fprintf(stderr, "logwolf: ");
+ fprintf(stderr, "logray: ");
vfprintf(stderr, fmt, ap);
fprintf(stderr, "\n");
}
@@ -186,7 +186,7 @@ logwolf_cmdarg_err(const char *fmt, va_list ap)
*/
// xxx copied from ../gtk/main.c
static void
-logwolf_cmdarg_err_cont(const char *fmt, va_list ap)
+logray_cmdarg_err_cont(const char *fmt, va_list ap)
{
#ifdef _WIN32
create_console();
@@ -406,7 +406,7 @@ macos_enable_layer_backing(void)
/* And now our feature presentation... [ fade to music ] */
int main(int argc, char *qt_argv[])
{
- LogwolfMainWindow *main_w;
+ LograyMainWindow *main_w;
#ifdef _WIN32
LPWSTR *wc_argv;
@@ -479,10 +479,10 @@ int main(int argc, char *qt_argv[])
macos_enable_layer_backing();
#endif
- cmdarg_err_init(logwolf_cmdarg_err, logwolf_cmdarg_err_cont);
+ cmdarg_err_init(logray_cmdarg_err, logray_cmdarg_err_cont);
/* Initialize log handler early so we can have proper logging during startup. */
- ws_log_init_with_writer("logwolf", console_log_writer, vcmdarg_err);
+ ws_log_init_with_writer("logray", console_log_writer, vcmdarg_err);
/* For backward compatibility with GLib logging and Wireshark 3.4. */
ws_log_console_writer_set_use_stdout(TRUE);
@@ -548,7 +548,7 @@ int main(int argc, char *qt_argv[])
* Attempt to get the pathname of the directory containing the
* executable file.
*/
- /* configuration_init_error = */ configuration_init(argv[0], "Logwolf");
+ /* configuration_init_error = */ configuration_init(argv[0], "Logray");
/* ws_log(NULL, LOG_LEVEL_DEBUG, "progfile_dir: %s", get_progfile_dir()); */
#ifdef _WIN32
@@ -601,7 +601,7 @@ int main(int argc, char *qt_argv[])
#endif /* _WIN32 */
/* Get the compile-time version information string */
- ws_init_version_info("Logwolf", gather_wireshark_qt_compiled_info,
+ ws_init_version_info("Logray", gather_wireshark_qt_compiled_info,
gather_wireshark_runtime_info);
/* Create the user profiles directory */
@@ -645,7 +645,7 @@ int main(int argc, char *qt_argv[])
#endif
/* Create The Wireshark app */
- LogwolfApplication ls_app(argc, qt_argv);
+ LograyApplication ls_app(argc, qt_argv);
/* initialize the funnel mini-api */
// xxx qtshark
@@ -685,7 +685,7 @@ int main(int argc, char *qt_argv[])
/* ws_log(LOG_DOMAIN_MAIN, LOG_LEVEL_DEBUG, "Translator %s", language); */
// Init the main window (and splash)
- main_w = new(LogwolfMainWindow);
+ main_w = new(LograyMainWindow);
main_w->show();
// We may not need a queued connection here but it would seem to make sense
// to force the issue.
@@ -713,7 +713,7 @@ int main(int argc, char *qt_argv[])
capture_opts_init(&global_capture_opts);
#endif
- init_report_message("Logwolf", &wireshark_report_routines);
+ init_report_message("Logray", &wireshark_report_routines);
/*
* Libwiretap must be initialized before libwireshark is, so that
@@ -889,7 +889,7 @@ int main(int argc, char *qt_argv[])
#endif
prefs_apply_all();
prefs_to_capture_opts();
- lwApp->emitAppSignal(LogwolfApplication::PreferencesChanged);
+ lwApp->emitAppSignal(LograyApplication::PreferencesChanged);
#ifdef HAVE_LIBPCAP
if ((global_capture_opts.num_selected == 0) &&
@@ -917,8 +917,8 @@ int main(int argc, char *qt_argv[])
}
build_column_format_array(&CaptureFile::globalCapFile()->cinfo, global_commandline_info.prefs_p->num_cols, TRUE);
- lwApp->emitAppSignal(LogwolfApplication::ColumnsChanged); // We read "recent" widths above.
- lwApp->emitAppSignal(LogwolfApplication::RecentPreferencesRead); // Must be emitted after PreferencesChanged.
+ lwApp->emitAppSignal(LograyApplication::ColumnsChanged); // We read "recent" widths above.
+ lwApp->emitAppSignal(LograyApplication::RecentPreferencesRead); // Must be emitted after PreferencesChanged.
lwApp->setMonospaceFont(prefs.gui_qt_font_name);
@@ -931,7 +931,7 @@ int main(int argc, char *qt_argv[])
}
lwApp->allSystemsGo();
- ws_log(LOG_DOMAIN_MAIN, LOG_LEVEL_INFO, "Logwolf is up and ready to go, elapsed time %.3fs", (float) (g_get_monotonic_time() - start_time) / 1000000);
+ ws_log(LOG_DOMAIN_MAIN, LOG_LEVEL_INFO, "Logray is up and ready to go, elapsed time %.3fs", (float) (g_get_monotonic_time() - start_time) / 1000000);
SimpleDialog::displayQueuedMessages(main_w);
/* User could specify filename, or display filter, or both */
@@ -1019,7 +1019,7 @@ int main(int argc, char *qt_argv[])
profile_store_persconffiles(FALSE);
// If the lwApp->exec() event loop exits cleanly, we call
- // LogwolfApplication::cleanup().
+ // LograyApplication::cleanup().
ret_val = lwApp->exec();
lwApp = NULL;
diff --git a/ui/logwolf/logwolf_main_window.cpp b/ui/logray/logray_main_window.cpp
index 2d5ad64556..f96c6eb7ef 100644
--- a/ui/logwolf/logwolf_main_window.cpp
+++ b/ui/logray/logray_main_window.cpp
@@ -1,6 +1,6 @@
-/* logwolf_main_window.cpp
+/* logray_main_window.cpp
*
- * Logwolf - Event log analyzer
+ * Logray - Event log analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
@@ -8,14 +8,14 @@
*/
#include "main_application.h"
-#include "logwolf_main_window.h"
+#include "logray_main_window.h"
/*
- * The generated Ui_LogwolfMainWindow::setupUi() can grow larger than our configured limit,
+ * The generated Ui_LograyMainWindow::setupUi() can grow larger than our configured limit,
* so turn off -Wframe-larger-than= for ui_main_window.h.
*/
DIAG_OFF(frame-larger-than=)
-#include <ui_logwolf_main_window.h>
+#include <ui_logray_main_window.h>
DIAG_ON(frame-larger-than=)
#include <epan/addr_resolv.h>
@@ -93,7 +93,7 @@ DIAG_ON(frame-larger-than=)
//menu_recent_file_write_all
// If we ever add support for multiple windows this will need to be replaced.
-static LogwolfMainWindow *gbl_cur_main_window_ = NULL;
+static LograyMainWindow *gbl_cur_main_window_ = NULL;
void pipe_input_set_handler(gint source, gpointer user_data, ws_process_id *child_process, pipe_input_cb_t input_cb)
{
@@ -303,7 +303,7 @@ static void mainwindow_remove_toolbar(const gchar *menu_title)
}
}
-QMenu* LogwolfMainWindow::findOrAddMenu(QMenu *parent_menu, QString& menu_text) {
+QMenu* LograyMainWindow::findOrAddMenu(QMenu *parent_menu, QString& menu_text) {
QList<QAction *> actions = parent_menu->actions();
QList<QAction *>::const_iterator i;
for (i = actions.constBegin(); i != actions.constEnd(); ++i) {
@@ -315,9 +315,9 @@ QMenu* LogwolfMainWindow::findOrAddMenu(QMenu *parent_menu, QString& menu_text)
return parent_menu->addMenu(menu_text);
}
-LogwolfMainWindow::LogwolfMainWindow(QWidget *parent) :
+LograyMainWindow::LograyMainWindow(QWidget *parent) :
MainWindow(parent),
- main_ui_(new Ui::LogwolfMainWindow),
+ main_ui_(new Ui::LograyMainWindow),
previous_focus_(NULL),
file_set_dialog_(NULL),
show_hide_actions_(NULL),
@@ -419,7 +419,7 @@ LogwolfMainWindow::LogwolfMainWindow(QWidget *parent) :
funnel_statistics_ = new FunnelStatistics(this, capture_file_);
connect(df_combo_box_, &QComboBox::editTextChanged, funnel_statistics_, &FunnelStatistics::displayFilterTextChanged);
- connect(funnel_statistics_, &FunnelStatistics::setDisplayFilter, this, &LogwolfMainWindow::setDisplayFilter);
+ connect(funnel_statistics_, &FunnelStatistics::setDisplayFilter, this, &LograyMainWindow::setDisplayFilter);
connect(funnel_statistics_, SIGNAL(openCaptureFile(QString, QString)),
this, SLOT(openCaptureFile(QString, QString)));
@@ -435,9 +435,9 @@ LogwolfMainWindow::LogwolfMainWindow(QWidget *parent) :
// larger toolbar. We do this by adding them to a child toolbar.
// https://bugreports.qt.io/browse/QTBUG-2472
FilterExpressionToolBar *filter_expression_toolbar_ = new FilterExpressionToolBar(this);
- connect(filter_expression_toolbar_, &FilterExpressionToolBar::filterPreferences, this, &LogwolfMainWindow::onFilterPreferences);
- connect(filter_expression_toolbar_, &FilterExpressionToolBar::filterSelected, this, &LogwolfMainWindow::onFilterSelected);
- connect(filter_expression_toolbar_, &FilterExpressionToolBar::filterEdit, this, &LogwolfMainWindow::onFilterEdit);
+ connect(filter_expression_toolbar_, &FilterExpressionToolBar::filterPreferences, this, &LograyMainWindow::onFilterPreferences);
+ connect(filter_expression_toolbar_, &FilterExpressionToolBar::filterSelected, this, &LograyMainWindow::onFilterSelected);
+ connect(filter_expression_toolbar_, &FilterExpressionToolBar::filterEdit, this, &LograyMainWindow::onFilterEdit);
main_ui_->displayFilterToolBar->addWidget(filter_expression_toolbar_);
@@ -519,18 +519,18 @@ main_ui_->goToLineEdit->setValidator(goToLineQiv);
main_status_bar_ = main_ui_->statusBar;
connect(proto_tree_, &ProtoTree::fieldSelected,
- this, &LogwolfMainWindow::fieldSelected);
+ this, &LograyMainWindow::fieldSelected);
connect(packet_list_, &PacketList::fieldSelected,
- this, &LogwolfMainWindow::fieldSelected);
- connect(this, &LogwolfMainWindow::fieldSelected,
- this, &LogwolfMainWindow::setMenusForSelectedTreeRow);
- connect(this, &LogwolfMainWindow::fieldSelected,
+ this, &LograyMainWindow::fieldSelected);
+ connect(this, &LograyMainWindow::fieldSelected,
+ this, &LograyMainWindow::setMenusForSelectedTreeRow);
+ connect(this, &LograyMainWindow::fieldSelected,
main_ui_->statusBar, &MainStatusBar::selectedFieldChanged);
- connect(this, &LogwolfMainWindow::fieldHighlight,
+ connect(this, &LograyMainWindow::fieldHighlight,
main_ui_->statusBar, &MainStatusBar::highlightedFieldChanged);
connect(mainApp, &WiresharkApplication::captureActive,
- this, &LogwolfMainWindow::captureActive);
+ this, &LograyMainWindow::captureActive);
byte_view_tab_ = new ByteViewTab(&master_split_);
@@ -583,24 +583,24 @@ main_ui_->goToLineEdit->setValidator(goToLineQiv);
this, SLOT(openCaptureFile(QString)));
connect(main_ui_->addressEditorFrame, &AddressEditorFrame::redissectPackets,
- this, &LogwolfMainWindow::redissectPackets);
+ this, &LograyMainWindow::redissectPackets);
connect(main_ui_->addressEditorFrame, &AddressEditorFrame::showNameResolutionPreferences,
- this, &LogwolfMainWindow::showPreferencesDialog);
+ this, &LograyMainWindow::showPreferencesDialog);
connect(main_ui_->preferenceEditorFrame, &PreferenceEditorFrame::showProtocolPreferences,
- this, &LogwolfMainWindow::showPreferencesDialog);
+ this, &LograyMainWindow::showPreferencesDialog);
connect(main_ui_->filterExpressionFrame, &FilterExpressionFrame::showPreferencesDialog,
- this, &LogwolfMainWindow::showPreferencesDialog);
+ this, &LograyMainWindow::showPreferencesDialog);
connect(main_ui_->filterExpressionFrame, &FilterExpressionFrame::filterExpressionsChanged,
filter_expression_toolbar_, &FilterExpressionToolBar::filterExpressionsChanged);
/* Connect change of capture file */
- connect(this, &LogwolfMainWindow::setCaptureFile,
+ connect(this, &LograyMainWindow::setCaptureFile,
main_ui_->searchFrame, &SearchFrame::setCaptureFile);
- connect(this, &LogwolfMainWindow::setCaptureFile,
+ connect(this, &LograyMainWindow::setCaptureFile,
main_ui_->statusBar, &MainStatusBar::setCaptureFile);
- connect(this, &LogwolfMainWindow::setCaptureFile,
+ connect(this, &LograyMainWindow::setCaptureFile,
packet_list_, &PacketList::setCaptureFile);
- connect(this, &LogwolfMainWindow::setCaptureFile,
+ connect(this, &LograyMainWindow::setCaptureFile,
proto_tree_, &ProtoTree::setCaptureFile);
connect(mainApp, SIGNAL(zoomMonospaceFont(QFont)),
@@ -663,9 +663,9 @@ main_ui_->goToLineEdit->setValidator(goToLineQiv);
this, SLOT(on_actionStatisticsCaptureFileProperties_triggered()));
connect(main_ui_->menuApplyAsFilter, &QMenu::aboutToShow,
- this, &LogwolfMainWindow::filterMenuAboutToShow);
+ this, &LograyMainWindow::filterMenuAboutToShow);
connect(main_ui_->menuPrepareAFilter, &QMenu::aboutToShow,
- this, &LogwolfMainWindow::filterMenuAboutToShow);
+ this, &LograyMainWindow::filterMenuAboutToShow);
#ifdef HAVE_LIBPCAP
QTreeWidget *iface_tree = findChild<QTreeWidget *>("interfaceTree");
@@ -721,7 +721,7 @@ main_ui_->goToLineEdit->setValidator(goToLineQiv);
showWelcome();
}
-LogwolfMainWindow::~LogwolfMainWindow()
+LograyMainWindow::~LograyMainWindow()
{
disconnect(main_ui_->mainStack, 0, 0, 0);
@@ -742,7 +742,7 @@ LogwolfMainWindow::~LogwolfMainWindow()
delete main_ui_;
}
-QMenu *LogwolfMainWindow::createPopupMenu()
+QMenu *LograyMainWindow::createPopupMenu()
{
QMenu *menu = new QMenu();
menu->addAction(main_ui_->actionViewMainToolbar);
@@ -772,7 +772,7 @@ QMenu *LogwolfMainWindow::createPopupMenu()
return menu;
}
-void LogwolfMainWindow::addInterfaceToolbar(const iface_toolbar *toolbar_entry)
+void LograyMainWindow::addInterfaceToolbar(const iface_toolbar *toolbar_entry)
{
QMenu *menu = main_ui_->menuInterfaceToolbars;
bool visible = g_list_find_custom(recent.interface_toolbars, toolbar_entry->menu_title, (GCompareFunc)strcmp) ? true : false;
@@ -815,7 +815,7 @@ void LogwolfMainWindow::addInterfaceToolbar(const iface_toolbar *toolbar_entry)
menu->menuAction()->setVisible(true);
}
-void LogwolfMainWindow::removeInterfaceToolbar(const gchar *menu_title)
+void LograyMainWindow::removeInterfaceToolbar(const gchar *menu_title)
{
QMenu *menu = main_ui_->menuInterfaceToolbars;
QAction *action = NULL;
@@ -844,7 +844,7 @@ void LogwolfMainWindow::removeInterfaceToolbar(const gchar *menu_title)
menu->menuAction()->setVisible(!menu->actions().isEmpty());
}
-void LogwolfMainWindow::setPipeInputHandler(gint source, gpointer user_data, ws_process_id *child_process, pipe_input_cb_t input_cb)
+void LograyMainWindow::setPipeInputHandler(gint source, gpointer user_data, ws_process_id *child_process, pipe_input_cb_t input_cb)
{
pipe_source_ = source;
pipe_child_process_ = child_process;
@@ -881,7 +881,7 @@ void LogwolfMainWindow::setPipeInputHandler(gint source, gpointer user_data, ws_
#endif
}
-bool LogwolfMainWindow::eventFilter(QObject *obj, QEvent *event) {
+bool LograyMainWindow::eventFilter(QObject *obj, QEvent *event) {
// The user typed some text. Start filling in a filter.
// We may need to be more choosy here. We just need to catch events for the packet list,
@@ -899,7 +899,7 @@ bool LogwolfMainWindow::eventFilter(QObject *obj, QEvent *event) {
return QMainWindow::eventFilter(obj, event);
}
-bool LogwolfMainWindow::event(QEvent *event)
+bool LograyMainWindow::event(QEvent *event)
{
switch (event->type()) {
case QEvent::ApplicationPaletteChange:
@@ -912,7 +912,7 @@ bool LogwolfMainWindow::event(QEvent *event)
return QMainWindow::event(event);
}
-void LogwolfMainWindow::keyPressEvent(QKeyEvent *event) {
+void LograyMainWindow::keyPressEvent(QKeyEvent *event) {
// Explicitly focus on the display filter combo.
if (event->modifiers() & Qt::ControlModifier && event->key() == Qt::Key_Slash) {
@@ -942,7 +942,7 @@ void LogwolfMainWindow::keyPressEvent(QKeyEvent *event) {
QMainWindow::keyPressEvent(event);
}
-void LogwolfMainWindow::closeEvent(QCloseEvent *event) {
+void LograyMainWindow::closeEvent(QCloseEvent *event) {
saveWindowGeometry();
/* If we're in the middle of stopping a capture, don't do anything;
@@ -983,7 +983,7 @@ void LogwolfMainWindow::closeEvent(QCloseEvent *event) {
// XXX On windows the drag description is "Copy". It should be "Open" or
// "Merge" as appropriate. It looks like we need access to IDataObject in
// order to set DROPDESCRIPTION.
-void LogwolfMainWindow::dragEnterEvent(QDragEnterEvent *event)
+void LograyMainWindow::dragEnterEvent(QDragEnterEvent *event)
{
if (!event->mimeData()->hasUrls())
{
@@ -1014,7 +1014,7 @@ void LogwolfMainWindow::dragEnterEvent(QDragEnterEvent *event)
}
}
-void LogwolfMainWindow::dropEvent(QDropEvent *event)
+void LograyMainWindow::dropEvent(QDropEvent *event)
{
if (!event->mimeData()->hasUrls())
{
@@ -1076,7 +1076,7 @@ void LogwolfMainWindow::dropEvent(QDropEvent *event)
// Note we might end up with unexpected screen geometries if the user
// unplugs or plugs in a monitor:
// https://bugreports.qt.io/browse/QTBUG-44213
-void LogwolfMainWindow::loadWindowGeometry()
+void LograyMainWindow::loadWindowGeometry()
{
int min_sensible_dimension = 200;
@@ -1111,7 +1111,7 @@ void LogwolfMainWindow::loadWindowGeometry()
}
}
-void LogwolfMainWindow::saveWindowGeometry()
+void LograyMainWindow::saveWindowGeometry()
{
if (prefs.gui_geometry_save_position) {
recent.gui_geometry_main_x = pos().x();
@@ -1147,7 +1147,7 @@ void LogwolfMainWindow::saveWindowGeometry()
//
// We might want to do this any time the main status bar progress frame is
// shown and hidden.
-void LogwolfMainWindow::freeze()
+void LograyMainWindow::freeze()
{
freeze_focus_ = mainApp->focusWidget();
@@ -1160,7 +1160,7 @@ void LogwolfMainWindow::freeze()
main_ui_->centralWidget->setEnabled(false);
}
-void LogwolfMainWindow::thaw()
+void LograyMainWindow::thaw()
{
main_ui_->centralWidget->setEnabled(true);
for (int i = 0; i < freeze_actions_.size(); i++) {
@@ -1171,7 +1171,7 @@ void LogwolfMainWindow::thaw()
freeze_focus_ = NULL;
}
-void LogwolfMainWindow::mergeCaptureFile()
+void LograyMainWindow::mergeCaptureFile()
{
QString file_name = "";
QString read_filter = "";
@@ -1320,7 +1320,7 @@ void LogwolfMainWindow::mergeCaptureFile()
}
-void LogwolfMainWindow::importCaptureFile() {
+void LograyMainWindow::importCaptureFile() {
ImportTextDialog import_dlg;
QString before_what(tr(" before importing a capture"));
@@ -1337,7 +1337,7 @@ void LogwolfMainWindow::importCaptureFile() {
openCaptureFile(import_dlg.capfileName());
}
-bool LogwolfMainWindow::saveCaptureFile(capture_file *cf, bool dont_reopen) {
+bool LograyMainWindow::saveCaptureFile(capture_file *cf, bool dont_reopen) {
QString file_name;
gboolean discard_comments;
@@ -1435,7 +1435,7 @@ bool LogwolfMainWindow::saveCaptureFile(capture_file *cf, bool dont_reopen) {
return true;
}
-bool LogwolfMainWindow::saveAsCaptureFile(capture_file *cf, bool must_support_comments, bool dont_reopen) {
+bool LograyMainWindow::saveAsCaptureFile(capture_file *cf, bool must_support_comments, bool dont_reopen) {
QString file_name = "";
int file_type;
wtap_compression_type compression_type;
@@ -1545,7 +1545,7 @@ bool LogwolfMainWindow::saveAsCaptureFile(capture_file *cf, bool must_support_co
return true;
}
-void LogwolfMainWindow::exportSelectedPackets() {
+void LograyMainWindow::exportSelectedPackets() {
QString file_name = "";
int file_type;
wtap_compression_type compression_type;
@@ -1686,7 +1686,7 @@ cleanup:
packet_range_cleanup(&range);
}
-void LogwolfMainWindow::exportDissections(export_type_e export_type) {
+void LograyMainWindow::exportDissections(export_type_e export_type) {
capture_file *cf = capture_file_.capFile();
g_return_if_fail(cf);
@@ -1721,7 +1721,7 @@ void LogwolfMainWindow::exportDissections(export_type_e export_type) {
* if there is a set of extensions used by the file type to be used,
* the file name has one of those extensions.
*/
-void LogwolfMainWindow::fileAddExtension(QString &file_name, int file_type, wtap_compression_type compression_type) {
+void LograyMainWindow::fileAddExtension(QString &file_name, int file_type, wtap_compression_type compression_type) {
QString file_name_lower;
GSList *extensions_list;
const char *compressed_file_extension;
@@ -1807,7 +1807,7 @@ void LogwolfMainWindow::fileAddExtension(QString &file_name, int file_type, wtap
}
#endif // Q_OS_WIN
-bool LogwolfMainWindow::testCaptureFileClose(QString before_what, FileCloseContext context) {
+bool LograyMainWindow::testCaptureFileClose(QString before_what, FileCloseContext context) {
bool capture_in_progress = false;
bool do_close_file = false;
@@ -2020,7 +2020,7 @@ bool LogwolfMainWindow::testCaptureFileClose(QString before_what, FileCloseConte
return true; /* File closed */
}
-void LogwolfMainWindow::captureStop() {
+void LograyMainWindow::captureStop() {
stopCapture();
while (capture_file_.capFile() && capture_file_.capFile()->state == FILE_READ_IN_PROGRESS) {
@@ -2028,7 +2028,7 @@ void LogwolfMainWindow::captureStop() {
}
}
-void LogwolfMainWindow::findTextCodecs() {
+void LograyMainWindow::findTextCodecs() {
const QList<int> mibs = QTextCodec::availableMibs();
QRegularExpression ibmRegExp("^IBM([0-9]+).*$");
QRegularExpression iso8859RegExp("^ISO-8859-([0-9]+).*$");
@@ -2078,7 +2078,7 @@ void LogwolfMainWindow::findTextCodecs() {
}
}
-void LogwolfMainWindow::initMainToolbarIcons()
+void LograyMainWindow::initMainToolbarIcons()
{
// Normally 16 px. Reflects current GTK+ behavior and other Windows apps.
int icon_size = style()->pixelMetric(QStyle::PM_SmallIconSize);
@@ -2133,7 +2133,7 @@ void LogwolfMainWindow::initMainToolbarIcons()
main_ui_->actionNewDisplayFilterExpression->setIcon(StockIcon("list-add"));
}
-void LogwolfMainWindow::initShowHideMainWidgets()
+void LograyMainWindow::initShowHideMainWidgets()
{
if (show_hide_actions_) {
return;
@@ -2165,7 +2165,7 @@ void LogwolfMainWindow::initShowHideMainWidgets()
connect(show_hide_actions_, SIGNAL(triggered(QAction*)), this, SLOT(showHideMainWidgets(QAction*)));
}
-void LogwolfMainWindow::initTimeDisplayFormatMenu()
+void LograyMainWindow::initTimeDisplayFormatMenu()
{
if (time_display_actions_) {
return;
@@ -2192,7 +2192,7 @@ void LogwolfMainWindow::initTimeDisplayFormatMenu()
connect(time_display_actions_, SIGNAL(triggered(QAction*)), this, SLOT(setTimestampFormat(QAction*)));
}
-void LogwolfMainWindow::initTimePrecisionFormatMenu()
+void LograyMainWindow::initTimePrecisionFormatMenu()
{
if (time_precision_actions_) {
return;
@@ -2218,7 +2218,7 @@ void LogwolfMainWindow::initTimePrecisionFormatMenu()
// Menu items which will be disabled when we freeze() and whose state will
// be restored when we thaw(). Add to the list as needed.
-void LogwolfMainWindow::initFreezeActions()
+void LograyMainWindow::initFreezeActions()
{
QList<QAction *> freeze_actions = QList<QAction *>()
<< main_ui_->actionFileClose
@@ -2237,7 +2237,7 @@ void LogwolfMainWindow::initFreezeActions()
}
}
-void LogwolfMainWindow::initConversationMenus()
+void LograyMainWindow::initConversationMenus()
{
int i;
@@ -2303,10 +2303,10 @@ void LogwolfMainWindow::initConversationMenus()
connect(colorize_action, SIGNAL(triggered()), this, SLOT(colorizeActionTriggered()));
}
-gboolean LogwolfMainWindow::addExportObjectsMenuItem(const void *, void *value, void *userdata)
+gboolean LograyMainWindow::addExportObjectsMenuItem(const void *, void *value, void *userdata)
{
register_eo_t *eo = (register_eo_t*)value;
- LogwolfMainWindow *window = (LogwolfMainWindow*)userdata;
+ LograyMainWindow *window = (LograyMainWindow*)userdata;
ExportObjectAction *export_action = new ExportObjectAction(window->main_ui_->menuFileExportObjects, eo);
window->main_ui_->menuFileExportObjects->addAction(export_action);
@@ -2319,13 +2319,13 @@ gboolean LogwolfMainWindow::addExportObjectsMenuItem(const void *, void *value,
return FALSE;
}
-void LogwolfMainWindow::initExportObjectsMenus()
+void LograyMainWindow::initExportObjectsMenus()
{
eo_iterate_tables(addExportObjectsMenuItem, this);
}
// Titlebar
-void LogwolfMainWindow::setTitlebarForCaptureFile()
+void LograyMainWindow::setTitlebarForCaptureFile()
{
if (capture_file_.capFile() && capture_file_.capFile()->filename) {
setWSWindowTitle(QString("[*]%1").arg(capture_file_.fileDisplayName()));
@@ -2347,7 +2347,7 @@ void LogwolfMainWindow::setTitlebarForCaptureFile()
}
}
-QString LogwolfMainWindow::replaceWindowTitleVariables(QString title)
+QString LograyMainWindow::replaceWindowTitleVariables(QString title)
{
title.replace("%P", get_profile_name());
title.replace("%V", get_ws_vcs_version_info());
@@ -2390,10 +2390,10 @@ QString LogwolfMainWindow::replaceWindowTitleVariables(QString title)
return title;
}
-void LogwolfMainWindow::setWSWindowTitle(QString title)
+void LograyMainWindow::setWSWindowTitle(QString title)
{
if (title.isEmpty()) {
- title = tr("The Logwolf System Log Analyzer");
+ title = tr("The Logray System Log Analyzer");
}
if (prefs.gui_prepend_window_title && prefs.gui_prepend_window_title[0]) {
@@ -2419,7 +2419,7 @@ void LogwolfMainWindow::setWSWindowTitle(QString title)
setWindowFilePath(NULL);
}
-void LogwolfMainWindow::setTitlebarForCaptureInProgress()
+void LograyMainWindow::setTitlebarForCaptureInProgress()
{
if (capture_file_.capFile()) {
setWSWindowTitle(tr("Capturing from %1").arg(cf_get_tempfile_source(capture_file_.capFile())));
@@ -2434,7 +2434,7 @@ void LogwolfMainWindow::setTitlebarForCaptureInProgress()
/* Enable or disable menu items based on whether you have a capture file
you've finished reading and, if you have one, whether it's been saved
and whether it could be saved except by copying the raw packet data. */
-void LogwolfMainWindow::setMenusForCaptureFile(bool force_disable)
+void LograyMainWindow::setMenusForCaptureFile(bool force_disable)
{
bool enable = true;
bool can_write = false;
@@ -2484,7 +2484,7 @@ void LogwolfMainWindow::setMenusForCaptureFile(bool force_disable)
#endif
}
-void LogwolfMainWindow::setMenusForCaptureInProgress(bool capture_in_progress) {
+void LograyMainWindow::setMenusForCaptureInProgress(bool capture_in_progress) {
/* Either a capture was started or stopped; in either case, it's not
in the process of stopping, so allow quitting. */
@@ -2532,7 +2532,7 @@ void LogwolfMainWindow::setMenusForCaptureInProgress(bool capture_in_progress) {
}
-void LogwolfMainWindow::setMenusForCaptureStopping() {
+void LograyMainWindow::setMenusForCaptureStopping() {
main_ui_->actionFileQuit->setEnabled(false);
#ifdef HAVE_SOFTWARE_UPDATE
update_action_->setEnabled(false);
@@ -2545,7 +2545,7 @@ void LogwolfMainWindow::setMenusForCaptureStopping() {
#endif /* HAVE_LIBPCAP */
}
-void LogwolfMainWindow::setForCapturedPackets(bool have_captured_packets)
+void LograyMainWindow::setForCapturedPackets(bool have_captured_packets)
{
main_ui_->actionFilePrint->setEnabled(have_captured_packets);
@@ -2574,7 +2574,7 @@ void LogwolfMainWindow::setForCapturedPackets(bool have_captured_packets)
main_ui_->actionStatisticsIOGraph->setEnabled(have_captured_packets);
}
-void LogwolfMainWindow::setMenusForFileSet(bool enable_list_files) {
+void LograyMainWindow::setMenusForFileSet(bool enable_list_files) {
bool enable_next = fileset_get_next() != NULL && enable_list_files;
bool enable_prev = fileset_get_previous() != NULL && enable_list_files;
@@ -2583,17 +2583,17 @@ void LogwolfMainWindow::setMenusForFileSet(bool enable_list_files) {
main_ui_->actionFileSetPreviousFile->setEnabled(enable_prev);
}
-void LogwolfMainWindow::setWindowIcon(const QIcon &icon) {
+void LograyMainWindow::setWindowIcon(const QIcon &icon) {
mainApp->setWindowIcon(icon);
QMainWindow::setWindowIcon(icon);
}
-void LogwolfMainWindow::updateForUnsavedChanges() {
+void LograyMainWindow::updateForUnsavedChanges() {
setTitlebarForCaptureFile();
setMenusForCaptureFile();
}
-void LogwolfMainWindow::changeEvent(QEvent* event)
+void LograyMainWindow::changeEvent(QEvent* event)
{
if (0 != event)
{
@@ -2621,7 +2621,7 @@ void LogwolfMainWindow::changeEvent(QEvent* event)
}
/* Update main window items based on whether there's a capture in progress. */
-void LogwolfMainWindow::setForCaptureInProgress(bool capture_in_progress, bool handle_toolbars, GArray *ifaces)
+void LograyMainWindow::setForCaptureInProgress(bool capture_in_progress, bool handle_toolbars, GArray *ifaces)
{
setMenusForCaptureInProgress(capture_in_progress);
@@ -2644,7 +2644,7 @@ void LogwolfMainWindow::setForCaptureInProgress(bool capture_in_progress, bool h
}
}
-void LogwolfMainWindow::addMenuActions(QList<QAction *> &actions, int menu_group)
+void LograyMainWindow::addMenuActions(QList<QAction *> &actions, int menu_group)
{
foreach(QAction *action, actions) {
switch (menu_group) {
@@ -2692,7 +2692,7 @@ void LogwolfMainWindow::addMenuActions(QList<QAction *> &actions, int menu_group
}
}
-void LogwolfMainWindow::removeMenuActions(QList<QAction *> &actions, int menu_group)
+void LograyMainWindow::removeMenuActions(QList<QAction *> &actions, int menu_group)
{
foreach(QAction *action, actions) {
switch (menu_group) {
@@ -2721,7 +2721,7 @@ void LogwolfMainWindow::removeMenuActions(QList<QAction *> &actions, int menu_gr
}
}
-void LogwolfMainWindow::addDynamicMenus()
+void LograyMainWindow::addDynamicMenus()
{
// Fill in each menu
foreach(register_stat_group_t menu_group, menu_groups_) {
@@ -2730,7 +2730,7 @@ void LogwolfMainWindow::addDynamicMenus()
}
}
-void LogwolfMainWindow::reloadDynamicMenus()
+void LograyMainWindow::reloadDynamicMenus()
{
foreach(register_stat_group_t menu_group, menu_groups_) {
QList<QAction *>actions = mainApp->removedMenuGroupItems(menu_group);
@@ -2744,7 +2744,7 @@ void LogwolfMainWindow::reloadDynamicMenus()
mainApp->clearRemovedMenuGroupItems();
}
-void LogwolfMainWindow::externalMenuHelper(ext_menu_t * menu, QMenu * subMenu, gint depth)
+void LograyMainWindow::externalMenuHelper(ext_menu_t * menu, QMenu * subMenu, gint depth)
{
QAction * itemAction = Q_NULLPTR;
ext_menubar_t * item = Q_NULLPTR;
@@ -2779,7 +2779,7 @@ void LogwolfMainWindow::externalMenuHelper(ext_menu_t * menu, QMenu * subMenu,
}
}
-QMenu * LogwolfMainWindow::searchSubMenu(QString objectName)
+QMenu * LograyMainWindow::searchSubMenu(QString objectName)
{
QList<QMenu*> lst;
@@ -2796,7 +2796,7 @@ QMenu * LogwolfMainWindow::searchSubMenu(QString objectName)
return 0;
}
-void LogwolfMainWindow::addPluginIFStructures()
+void LograyMainWindow::addPluginIFStructures()
{
GList *user_menu = ext_menubar_get_entries();
@@ -2884,7 +2884,7 @@ void LogwolfMainWindow::addPluginIFStructures()
tbMenu->menuAction()->setVisible(true);
}
-void LogwolfMainWindow::removeAdditionalToolbar(QString toolbarName)
+void LograyMainWindow::removeAdditionalToolbar(QString toolbarName)
{
if (toolbarName.length() == 0)
return;
@@ -2913,18 +2913,18 @@ void LogwolfMainWindow::removeAdditionalToolbar(QString toolbarName)
}
-QString LogwolfMainWindow::getMwFileName()
+QString LograyMainWindow::getMwFileName()
{
return mwFileName_;
}
-void LogwolfMainWindow::setMwFileName(QString fileName)
+void LograyMainWindow::setMwFileName(QString fileName)
{
mwFileName_ = fileName;
return;
}
-frame_data * LogwolfMainWindow::frameDataForRow(int row) const
+frame_data * LograyMainWindow::frameDataForRow(int row) const
{
if (packet_list_)
return packet_list_->getFDataForRow(row);
diff --git a/ui/logwolf/logwolf_main_window.h b/ui/logray/logray_main_window.h
index 23c4044ae1..d9393f3609 100644
--- a/ui/logwolf/logwolf_main_window.h
+++ b/ui/logray/logray_main_window.h
@@ -1,14 +1,14 @@
/** @file
*
- * Logwolf - Event log analyzer
+ * Logray - Event log analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
-#ifndef LOGWOLF_MAIN_WINDOW_H
-#define LOGWOLF_MAIN_WINDOW_H
+#ifndef LOGRAY_MAIN_WINDOW_H
+#define LOGRAY_MAIN_WINDOW_H
/** @defgroup main_window_group Main window
* The main window has the following submodules:
@@ -31,7 +31,7 @@
*/
/** @file
- * The Logwolf main window
+ * The Logray main window
* @ingroup main_window_group
* @ingroup windows_group
*/
@@ -93,19 +93,19 @@ class QAction;
class QActionGroup;
namespace Ui {
- class LogwolfMainWindow;
+ class LograyMainWindow;
}
Q_DECLARE_METATYPE(ts_type)
Q_DECLARE_METATYPE(ts_precision)
-class LogwolfMainWindow : public MainWindow
+class LograyMainWindow : public MainWindow
{
Q_OBJECT
public:
- explicit LogwolfMainWindow(QWidget *parent = nullptr);
- ~LogwolfMainWindow();
+ explicit LograyMainWindow(QWidget *parent = nullptr);
+ ~LograyMainWindow();
void setPipeInputHandler(gint source, gpointer user_data, ws_process_id *child_process, pipe_input_cb_t input_cb);
#ifdef HAVE_LIBPCAP
@@ -165,7 +165,7 @@ private:
Reload
};
- Ui::LogwolfMainWindow *main_ui_;
+ Ui::LograyMainWindow *main_ui_;
CaptureFile capture_file_;
QFont mono_font_;
QMap<QString, QTextCodec *> text_codec_map_;
@@ -435,7 +435,7 @@ private slots:
void on_actionFileExportPDU_triggered();
- void actionEditCopyTriggered(LogwolfMainWindow::CopySelected selection_type);
+ void actionEditCopyTriggered(LograyMainWindow::CopySelected selection_type);
void on_actionCopyAllVisibleItems_triggered();
void on_actionCopyAllVisibleSelectedTreeItems_triggered();
void on_actionCopyListAsText_triggered();
@@ -591,4 +591,4 @@ private slots:
friend class MainApplication;
};
-#endif // LOGWOLF_MAIN_WINDOW_H
+#endif // LOGRAY_MAIN_WINDOW_H
diff --git a/ui/logwolf/logwolf_main_window.ui b/ui/logray/logray_main_window.ui
index 22ef260fe1..b59cac466f 100644
--- a/ui/logwolf/logwolf_main_window.ui
+++ b/ui/logray/logray_main_window.ui
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
- <class>LogwolfMainWindow</class>
- <widget class="QMainWindow" name="LogwolfMainWindow">
+ <class>LograyMainWindow</class>
+ <widget class="QMainWindow" name="LograyMainWindow">
<property name="geometry">
<rect>
<x>0</x>
@@ -2266,7 +2266,7 @@
<connection>
<sender>actionFileQuit</sender>
<signal>triggered()</signal>
- <receiver>LogwolfMainWindow</receiver>
+ <receiver>LograyMainWindow</receiver>
<slot>close()</slot>
<hints>
<hint type="sourcelabel">
diff --git a/ui/logwolf/logwolf_main_window_slots.cpp b/ui/logray/logray_main_window_slots.cpp
index e9900a1f8f..48645cbf35 100644
--- a/ui/logwolf/logwolf_main_window_slots.cpp
+++ b/ui/logray/logray_main_window_slots.cpp
@@ -15,14 +15,14 @@
#pragma warning(disable:4996)
#endif
-#include "logwolf_main_window.h"
+#include "logray_main_window.h"
/*
- * The generated Ui_LogwolfMainWindow::setupUi() can grow larger than our configured limit,
+ * The generated Ui_LograyMainWindow::setupUi() can grow larger than our configured limit,
* so turn off -Wframe-larger-than= for ui_main_window.h.
*/
DIAG_OFF(frame-larger-than=)
-#include <ui_logwolf_main_window.h>
+#include <ui_logray_main_window.h>
DIAG_ON(frame-larger-than=)
#ifdef _WIN32
@@ -157,7 +157,7 @@ DIAG_ON(frame-larger-than=)
// Public slots
//
-bool LogwolfMainWindow::openCaptureFile(QString cf_path, QString read_filter, unsigned int type, gboolean is_tempfile)
+bool LograyMainWindow::openCaptureFile(QString cf_path, QString read_filter, unsigned int type, gboolean is_tempfile)
{
QString file_name = "";
dfilter_t *rfcode = NULL;
@@ -263,7 +263,7 @@ finish:
return ret;
}
-void LogwolfMainWindow::filterPackets(QString new_filter, bool force)
+void LograyMainWindow::filterPackets(QString new_filter, bool force)
{
cf_status_t cf_status;
@@ -292,7 +292,7 @@ void LogwolfMainWindow::filterPackets(QString new_filter, bool force)
}
}
-void LogwolfMainWindow::layoutToolbars()
+void LograyMainWindow::layoutToolbars()
{
Qt::ToolButtonStyle tbstyle = Qt::ToolButtonIconOnly;
switch (prefs.gui_toolbar_main_style) {
@@ -333,7 +333,7 @@ void LogwolfMainWindow::layoutToolbars()
}
}
-void LogwolfMainWindow::updatePreferenceActions()
+void LograyMainWindow::updatePreferenceActions()
{
main_ui_->actionViewPacketList->setEnabled(prefs_has_layout_pane_content(layout_pane_content_plist));
main_ui_->actionViewPacketDetails->setEnabled(prefs_has_layout_pane_content(layout_pane_content_pdetails));
@@ -348,7 +348,7 @@ void LogwolfMainWindow::updatePreferenceActions()
main_ui_->actionGoAutoScroll->setChecked(prefs.capture_auto_scroll);
}
-void LogwolfMainWindow::updateRecentActions()
+void LograyMainWindow::updateRecentActions()
{
main_ui_->actionViewMainToolbar->setChecked(recent.main_toolbar_show);
main_ui_->actionViewFilterToolbar->setChecked(recent.filter_toolbar_show);
@@ -392,7 +392,7 @@ void LogwolfMainWindow::updateRecentActions()
}
// Don't connect to this directly. Connect to or emit fiterAction(...) instead.
-void LogwolfMainWindow::queuedFilterAction(QString action_filter, FilterAction::Action action, FilterAction::ActionType type)
+void LograyMainWindow::queuedFilterAction(QString action_filter, FilterAction::Action action, FilterAction::ActionType type)
{
QString cur_filter, new_filter;
@@ -473,7 +473,7 @@ void LogwolfMainWindow::queuedFilterAction(QString action_filter, FilterAction::
// Capture callbacks
#ifdef HAVE_LIBPCAP
-void LogwolfMainWindow::captureCapturePrepared(capture_session *session) {
+void LograyMainWindow::captureCapturePrepared(capture_session *session) {
setTitlebarForCaptureInProgress();
setWindowIcon(mainApp->captureIcon());
@@ -489,7 +489,7 @@ void LogwolfMainWindow::captureCapturePrepared(capture_session *session) {
showCapture();
}
-void LogwolfMainWindow::captureCaptureUpdateStarted(capture_session *session) {
+void LograyMainWindow::captureCaptureUpdateStarted(capture_session *session) {
/* We've done this in "prepared" above, but it will be cleared while
switching to the next multiple file. */
@@ -501,7 +501,7 @@ void LogwolfMainWindow::captureCaptureUpdateStarted(capture_session *session) {
setForCapturedPackets(true);
}
-void LogwolfMainWindow::captureCaptureUpdateFinished(capture_session *session) {
+void LograyMainWindow::captureCaptureUpdateFinished(capture_session *session) {
/* The capture isn't stopping any more - it's stopped. */
capture_stopping_ = false;
@@ -524,7 +524,7 @@ void LogwolfMainWindow::captureCaptureUpdateFinished(capture_session *session) {
}
}
-void LogwolfMainWindow::captureCaptureFixedFinished(capture_session *) {
+void LograyMainWindow::captureCaptureFixedFinished(capture_session *) {
/* The capture isn't stopping any more - it's stopped. */
capture_stopping_ = false;
@@ -546,7 +546,7 @@ void LogwolfMainWindow::captureCaptureFixedFinished(capture_session *) {
}
}
-void LogwolfMainWindow::captureCaptureFailed(capture_session *) {
+void LograyMainWindow::captureCaptureFailed(capture_session *) {
/* Capture isn't stopping any more. */
capture_stopping_ = false;
@@ -569,7 +569,7 @@ void LogwolfMainWindow::captureCaptureFailed(capture_session *) {
// Callbacks from cfile.c and file.c via CaptureFile::captureFileCallback
-void LogwolfMainWindow::captureEventHandler(CaptureEvent ev)
+void LograyMainWindow::captureEventHandler(CaptureEvent ev)
{
switch (ev.captureContext()) {
@@ -709,7 +709,7 @@ void LogwolfMainWindow::captureEventHandler(CaptureEvent ev)
}
}
-void LogwolfMainWindow::captureFileOpened() {
+void LograyMainWindow::captureFileOpened() {
if (capture_file_.window() != this) return;
file_set_dialog_->fileOpened(capture_file_.capFile());
@@ -717,7 +717,7 @@ void LogwolfMainWindow::captureFileOpened() {
emit setCaptureFile(capture_file_.capFile());
}
-void LogwolfMainWindow::captureFileReadStarted(const QString &action) {
+void LograyMainWindow::captureFileReadStarted(const QString &action) {
// tap_param_dlg_update();
/* Set up main window for a capture file. */
@@ -731,7 +731,7 @@ void LogwolfMainWindow::captureFileReadStarted(const QString &action) {
main_ui_->actionAnalyzeReloadLuaPlugins->setEnabled(false);
}
-void LogwolfMainWindow::captureFileReadFinished() {
+void LograyMainWindow::captureFileReadFinished() {
if (!capture_file_.capFile()->is_tempfile && capture_file_.capFile()->filename) {
/* Add this filename to the list of recent files in the "Recent Files" submenu */
add_menu_recent_capture_file(capture_file_.capFile()->filename);
@@ -754,7 +754,7 @@ void LogwolfMainWindow::captureFileReadFinished() {
emit setDissectedCaptureFile(capture_file_.capFile());
}
-void LogwolfMainWindow::captureFileClosing() {
+void LograyMainWindow::captureFileClosing() {
setMenusForCaptureFile(true);
setForCapturedPackets(false);
setForCaptureInProgress(false);
@@ -768,7 +768,7 @@ void LogwolfMainWindow::captureFileClosing() {
emit setDissectedCaptureFile(NULL);
}
-void LogwolfMainWindow::captureFileClosed() {
+void LograyMainWindow::captureFileClosed() {
packets_bar_update();
file_set_dialog_->fileClosed();
@@ -796,11 +796,11 @@ void LogwolfMainWindow::captureFileClosed() {
// ui/gtk/capture_dlg.c:start_capture_confirmed
-void LogwolfMainWindow::startCapture() {
+void LograyMainWindow::startCapture() {
startCapture(QStringList());
}
-void LogwolfMainWindow::startCapture(QStringList interfaces _U_) {
+void LograyMainWindow::startCapture(QStringList interfaces _U_) {
#ifdef HAVE_LIBPCAP
interface_options *interface_opts;
guint i;
@@ -918,7 +918,7 @@ void LogwolfMainWindow::startCapture(QStringList interfaces _U_) {
}
// Copied from ui/gtk/gui_utils.c
-void LogwolfMainWindow::pipeTimeout() {
+void LograyMainWindow::pipeTimeout() {
#ifdef _WIN32
HANDLE handle;
DWORD avail = 0;
@@ -960,7 +960,7 @@ void LogwolfMainWindow::pipeTimeout() {
#endif // _WIN32
}
-void LogwolfMainWindow::pipeActivated(int source) {
+void LograyMainWindow::pipeActivated(int source) {
Q_UNUSED(source)
#ifndef _WIN32
@@ -976,7 +976,7 @@ void LogwolfMainWindow::pipeActivated(int source) {
#endif // _WIN32
}
-void LogwolfMainWindow::pipeNotifierDestroyed()
+void LograyMainWindow::pipeNotifierDestroyed()
{
/* Pop the "<live capture in progress>" message off the status bar. */
main_ui_->statusBar->setFileName(capture_file_);
@@ -988,7 +988,7 @@ void LogwolfMainWindow::pipeNotifierDestroyed()
#endif // _WIN32
}
-void LogwolfMainWindow::stopCapture() {
+void LograyMainWindow::stopCapture() {
//#ifdef HAVE_AIRPCAP
// if (airpcap_if_active)
// airpcap_set_toolbar_stop_capture(airpcap_if_active);
@@ -1002,7 +1002,7 @@ void LogwolfMainWindow::stopCapture() {
// Keep focus rects from showing through the welcome screen. Primarily for
// macOS.
-void LogwolfMainWindow::mainStackChanged(int)
+void LograyMainWindow::mainStackChanged(int)
{
for (int i = 0; i < main_ui_->mainStack->count(); i++) {
main_ui_->mainStack->widget(i)->setEnabled(i == main_ui_->mainStack->currentIndex());
@@ -1015,7 +1015,7 @@ void LogwolfMainWindow::mainStackChanged(int)
* Add the capture filename (with an absolute path) to the "Recent Files" menu.
*/
// XXX - We should probably create a RecentFile class.
-void LogwolfMainWindow::updateRecentCaptures() {
+void LograyMainWindow::updateRecentCaptures() {
QAction *ra;
QMenu *recentMenu = main_ui_->menuOpenRecentCaptureFile;
QString action_cf_name;
@@ -1105,7 +1105,7 @@ void LogwolfMainWindow::updateRecentCaptures() {
}
}
-void LogwolfMainWindow::recentActionTriggered() {
+void LograyMainWindow::recentActionTriggered() {
QAction *ra = qobject_cast<QAction*>(sender());
if (ra) {
@@ -1114,7 +1114,7 @@ void LogwolfMainWindow::recentActionTriggered() {
}
}
-QString LogwolfMainWindow::commentToMenuText(QString text, int max_len)
+QString LograyMainWindow::commentToMenuText(QString text, int max_len)
{
text = text.trimmed().replace(QRegularExpression("(\\r?\\n|\\r\\n?)+"), " ");
if (text.size() > 0) {
@@ -1129,7 +1129,7 @@ QString LogwolfMainWindow::commentToMenuText(QString text, int max_len)
return text;
}
-void LogwolfMainWindow::setEditCommentsMenu()
+void LograyMainWindow::setEditCommentsMenu()
{
main_ui_->menuPacketComment->clear();
main_ui_->menuPacketComment->addAction(tr("Add New Comment…"), this, SLOT(actionAddPacketComment()), QKeySequence(Qt::CTRL | Qt::ALT | Qt::Key_C));
@@ -1168,7 +1168,7 @@ void LogwolfMainWindow::setEditCommentsMenu()
}
}
-void LogwolfMainWindow::setMenusForSelectedPacket()
+void LograyMainWindow::setMenusForSelectedPacket()
{
/* Making the menu context-sensitive allows for easier selection of the
desired item and has the added benefit, with large captures, of
@@ -1287,7 +1287,7 @@ void LogwolfMainWindow::setMenusForSelectedPacket()
// gbl_resolv_flags.transport_name));
}
-void LogwolfMainWindow::setMenusForSelectedTreeRow(FieldInformation *finfo) {
+void LograyMainWindow::setMenusForSelectedTreeRow(FieldInformation *finfo) {
bool can_match_selected = false;
bool is_framenum = false;
@@ -1390,7 +1390,7 @@ void LogwolfMainWindow::setMenusForSelectedTreeRow(FieldInformation *finfo) {
}
-void LogwolfMainWindow::interfaceSelectionChanged()
+void LograyMainWindow::interfaceSelectionChanged()
{
#ifdef HAVE_LIBPCAP
// XXX This doesn't disable the toolbar button when using
@@ -1403,13 +1403,13 @@ void LogwolfMainWindow::interfaceSelectionChanged()
#endif // HAVE_LIBPCAP
}
-void LogwolfMainWindow::captureFilterSyntaxChanged(bool valid)
+void LograyMainWindow::captureFilterSyntaxChanged(bool valid)
{
capture_filter_valid_ = valid;
interfaceSelectionChanged();
}
-void LogwolfMainWindow::startInterfaceCapture(bool valid, const QString capture_filter)
+void LograyMainWindow::startInterfaceCapture(bool valid, const QString capture_filter)
{
capture_filter_valid_ = valid;
welcome_page_->setCaptureFilter(capture_filter);
@@ -1421,7 +1421,7 @@ void LogwolfMainWindow::startInterfaceCapture(bool valid, const QString capture_
}
}
-void LogwolfMainWindow::applyGlobalCommandLineOptions()
+void LograyMainWindow::applyGlobalCommandLineOptions()
{
if (global_dissect_options.time_format != TS_NOT_SET) {
foreach(QAction* tda, td_actions.keys()) {
@@ -1438,7 +1438,7 @@ void LogwolfMainWindow::applyGlobalCommandLineOptions()
}
}
-void LogwolfMainWindow::redissectPackets()
+void LograyMainWindow::redissectPackets()
{
if (capture_file_.capFile()) {
cf_redissect_packets(capture_file_.capFile());
@@ -1448,7 +1448,7 @@ void LogwolfMainWindow::redissectPackets()
proto_free_deregistered_fields();
}
-void LogwolfMainWindow::checkDisplayFilter()
+void LograyMainWindow::checkDisplayFilter()
{
if (!df_combo_box_->checkDisplayFilter()) {
g_free(CaptureFile::globalCapFile()->dfilter);
@@ -1456,7 +1456,7 @@ void LogwolfMainWindow::checkDisplayFilter()
}
}
-void LogwolfMainWindow::fieldsChanged()
+void LograyMainWindow::fieldsChanged()
{
gchar *err_msg = NULL;
if (!color_filters_reload(&err_msg, color_filter_add_cb)) {
@@ -1475,7 +1475,7 @@ void LogwolfMainWindow::fieldsChanged()
emit reloadFields();
}
-void LogwolfMainWindow::reloadLuaPlugins()
+void LograyMainWindow::reloadLuaPlugins()
{
#ifdef HAVE_LUA
if (mainApp->isReloadingLua())
@@ -1528,7 +1528,7 @@ void LogwolfMainWindow::reloadLuaPlugins()
#endif
}
-void LogwolfMainWindow::showAccordionFrame(AccordionFrame *show_frame, bool toggle)
+void LograyMainWindow::showAccordionFrame(AccordionFrame *show_frame, bool toggle)
{
QList<AccordionFrame *>frame_list = QList<AccordionFrame *>()
<< main_ui_->goToFrame << main_ui_->searchFrame
@@ -1547,7 +1547,7 @@ void LogwolfMainWindow::showAccordionFrame(AccordionFrame *show_frame, bool togg
show_frame->animatedShow();
}
-void LogwolfMainWindow::showColumnEditor(int column)
+void LograyMainWindow::showColumnEditor(int column)
{
previous_focus_ = mainApp->focusWidget();
connect(previous_focus_, SIGNAL(destroyed()), this, SLOT(resetPreviousFocus()));
@@ -1555,12 +1555,12 @@ void LogwolfMainWindow::showColumnEditor(int column)
showAccordionFrame(main_ui_->columnEditorFrame);
}
-void LogwolfMainWindow::showPreferenceEditor()
+void LograyMainWindow::showPreferenceEditor()
{
showAccordionFrame(main_ui_->preferenceEditorFrame);
}
-void LogwolfMainWindow::initViewColorizeMenu()
+void LograyMainWindow::initViewColorizeMenu()
{
QList<QAction *> cc_actions = QList<QAction *>()
<< main_ui_->actionViewColorizeConversation1 << main_ui_->actionViewColorizeConversation2
@@ -1590,7 +1590,7 @@ void LogwolfMainWindow::initViewColorizeMenu()
#endif
}
-void LogwolfMainWindow::addStatsPluginsToMenu() {
+void LograyMainWindow::addStatsPluginsToMenu() {
GList *cfg_list = stats_tree_get_cfg_list();
QAction *stats_tree_action;
QMenu *parent_menu;
@@ -1631,7 +1631,7 @@ void LogwolfMainWindow::addStatsPluginsToMenu() {
g_list_free(cfg_list);
}
-void LogwolfMainWindow::setFeaturesEnabled(bool enabled)
+void LograyMainWindow::setFeaturesEnabled(bool enabled)
{
main_ui_->menuBar->setEnabled(enabled);
main_ui_->mainToolBar->setEnabled(enabled);
@@ -1651,7 +1651,7 @@ void LogwolfMainWindow::setFeaturesEnabled(bool enabled)
// Display Filter Toolbar
-void LogwolfMainWindow::on_actionDisplayFilterExpression_triggered()
+void LograyMainWindow::on_actionDisplayFilterExpression_triggered()
{
DisplayFilterExpressionDialog *dfe_dialog = new DisplayFilterExpressionDialog(this);
@@ -1661,12 +1661,12 @@ void LogwolfMainWindow::on_actionDisplayFilterExpression_triggered()
dfe_dialog->show();
}
-void LogwolfMainWindow::on_actionNewDisplayFilterExpression_triggered()
+void LograyMainWindow::on_actionNewDisplayFilterExpression_triggered()
{
main_ui_->filterExpressionFrame->addExpression(df_combo_box_->lineEdit()->text());
}
-void LogwolfMainWindow::onFilterSelected(QString filterText, bool prepare)
+void LograyMainWindow::onFilterSelected(QString filterText, bool prepare)
{
if (filterText.length() <= 0)
return;
@@ -1677,23 +1677,23 @@ void LogwolfMainWindow::onFilterSelected(QString filterText, bool prepare)
df_combo_box_->applyDisplayFilter();
}
-void LogwolfMainWindow::onFilterPreferences()
+void LograyMainWindow::onFilterPreferences()
{
emit showPreferencesDialog(PrefsModel::typeToString(PrefsModel::FilterButtons));
}
-void LogwolfMainWindow::onFilterEdit(int uatIndex)
+void LograyMainWindow::onFilterEdit(int uatIndex)
{
main_ui_->filterExpressionFrame->editExpression(uatIndex);
}
-void LogwolfMainWindow::openStatCommandDialog(const QString &menu_path, const char *arg, void *userdata)
+void LograyMainWindow::openStatCommandDialog(const QString &menu_path, const char *arg, void *userdata)
{
QString slot = QString("statCommand%1").arg(menu_path);
QMetaObject::invokeMethod(this, slot.toLatin1().constData(), Q_ARG(const char *, arg), Q_ARG(void *, userdata));
}
-void LogwolfMainWindow::openTapParameterDialog(const QString cfg_str, const QString arg, void *userdata)
+void LograyMainWindow::openTapParameterDialog(const QString cfg_str, const QString arg, void *userdata)
{
TapParameterDialog *tp_dialog = TapParameterDialog::showTapParameterStatistics(*this, capture_file_, cfg_str, arg, userdata);
if (!tp_dialog) return;
@@ -1705,7 +1705,7 @@ void LogwolfMainWindow::openTapParameterDialog(const QString cfg_str, const QStr
tp_dialog->show();
}
-void LogwolfMainWindow::openTapParameterDialog()
+void LograyMainWindow::openTapParameterDialog()
{
QAction *tpa = qobject_cast<QAction *>(QObject::sender());
if (!tpa) return;
@@ -1715,7 +1715,7 @@ void LogwolfMainWindow::openTapParameterDialog()
}
#if defined(HAVE_SOFTWARE_UPDATE) && defined(Q_OS_WIN)
-void LogwolfMainWindow::softwareUpdateRequested() {
+void LograyMainWindow::softwareUpdateRequested() {
// We could call testCaptureFileClose here, but that would give us yet
// another dialog. Just try again later.
if (capture_file_.capFile() && capture_file_.capFile()->state != FILE_CLOSED) {
@@ -1726,43 +1726,43 @@ void LogwolfMainWindow::softwareUpdateRequested() {
// File Menu
-void LogwolfMainWindow::on_actionFileOpen_triggered()
+void LograyMainWindow::on_actionFileOpen_triggered()
{
openCaptureFile();
}
-void LogwolfMainWindow::on_actionFileMerge_triggered()
+void LograyMainWindow::on_actionFileMerge_triggered()
{
mergeCaptureFile();
}
-void LogwolfMainWindow::on_actionFileImportFromHexDump_triggered()
+void LograyMainWindow::on_actionFileImportFromHexDump_triggered()
{
importCaptureFile();
}
-void LogwolfMainWindow::on_actionFileClose_triggered() {
+void LograyMainWindow::on_actionFileClose_triggered() {
QString before_what(tr(" before closing the file"));
if (testCaptureFileClose(before_what))
showWelcome();
}
-void LogwolfMainWindow::on_actionFileSave_triggered()
+void LograyMainWindow::on_actionFileSave_triggered()
{
saveCaptureFile(capture_file_.capFile(), false);
}
-void LogwolfMainWindow::on_actionFileSaveAs_triggered()
+void LograyMainWindow::on_actionFileSaveAs_triggered()
{
saveAsCaptureFile(capture_file_.capFile());
}
-void LogwolfMainWindow::on_actionFileSetListFiles_triggered()
+void LograyMainWindow::on_actionFileSetListFiles_triggered()
{
file_set_dialog_->show();
}
-void LogwolfMainWindow::on_actionFileSetNextFile_triggered()
+void LograyMainWindow::on_actionFileSetNextFile_triggered()
{
fileset_entry *entry = fileset_get_next();
@@ -1772,7 +1772,7 @@ void LogwolfMainWindow::on_actionFileSetNextFile_triggered()
}
}
-void LogwolfMainWindow::on_actionFileSetPreviousFile_triggered()
+void LograyMainWindow::on_actionFileSetPreviousFile_triggered()
{
fileset_entry *entry = fileset_get_previous();
@@ -1782,42 +1782,42 @@ void LogwolfMainWindow::on_actionFileSetPreviousFile_triggered()
}
}
-void LogwolfMainWindow::on_actionFileExportPackets_triggered()
+void LograyMainWindow::on_actionFileExportPackets_triggered()
{
exportSelectedPackets();
}
-void LogwolfMainWindow::on_actionFileExportAsPlainText_triggered()
+void LograyMainWindow::on_actionFileExportAsPlainText_triggered()
{
exportDissections(export_type_text);
}
-void LogwolfMainWindow::on_actionFileExportAsCSV_triggered()
+void LograyMainWindow::on_actionFileExportAsCSV_triggered()
{
exportDissections(export_type_csv);
}
-void LogwolfMainWindow::on_actionFileExportAsCArrays_triggered()
+void LograyMainWindow::on_actionFileExportAsCArrays_triggered()
{
exportDissections(export_type_carrays);
}
-void LogwolfMainWindow::on_actionFileExportAsPSML_triggered()
+void LograyMainWindow::on_actionFileExportAsPSML_triggered()
{
exportDissections(export_type_psml);
}
-void LogwolfMainWindow::on_actionFileExportAsPDML_triggered()
+void LograyMainWindow::on_actionFileExportAsPDML_triggered()
{
exportDissections(export_type_pdml);
}
-void LogwolfMainWindow::on_actionFileExportAsJSON_triggered()
+void LograyMainWindow::on_actionFileExportAsJSON_triggered()
{
exportDissections(export_type_json);
}
-void LogwolfMainWindow::on_actionFileExportPacketBytes_triggered()
+void LograyMainWindow::on_actionFileExportPacketBytes_triggered()
{
QString file_name;
@@ -1841,14 +1841,14 @@ void LogwolfMainWindow::on_actionFileExportPacketBytes_triggered()
}
}
-void LogwolfMainWindow::on_actionAnalyzeShowPacketBytes_triggered()
+void LograyMainWindow::on_actionAnalyzeShowPacketBytes_triggered()
{
ShowPacketBytesDialog *spbd = new ShowPacketBytesDialog(*this, capture_file_);
spbd->addCodecs(text_codec_map_);
spbd->show();
}
-void LogwolfMainWindow::on_actionFileExportPDU_triggered()
+void LograyMainWindow::on_actionFileExportPDU_triggered()
{
ExportPDUDialog *exportpdu_dialog = new ExportPDUDialog(this);
@@ -1865,7 +1865,7 @@ void LogwolfMainWindow::on_actionFileExportPDU_triggered()
exportpdu_dialog->activateWindow();
}
-void LogwolfMainWindow::on_actionFilePrint_triggered()
+void LograyMainWindow::on_actionFilePrint_triggered()
{
capture_file *cf = capture_file_.capFile();
g_return_if_fail(cf);
@@ -1885,7 +1885,7 @@ void LogwolfMainWindow::on_actionFilePrint_triggered()
// Edit Menu
// XXX This should probably be somewhere else.
-void LogwolfMainWindow::actionEditCopyTriggered(LogwolfMainWindow::CopySelected selection_type)
+void LograyMainWindow::actionEditCopyTriggered(LograyMainWindow::CopySelected selection_type)
{
char label_str[ITEM_LABEL_LENGTH];
QString clip;
@@ -1982,52 +1982,52 @@ void LogwolfMainWindow::actionEditCopyTriggered(LogwolfMainWindow::CopySelected
}
}
-void LogwolfMainWindow::on_actionCopyAllVisibleItems_triggered()
+void LograyMainWindow::on_actionCopyAllVisibleItems_triggered()
{
actionEditCopyTriggered(CopyAllVisibleItems);
}
-void LogwolfMainWindow::on_actionCopyListAsText_triggered()
+void LograyMainWindow::on_actionCopyListAsText_triggered()
{
actionEditCopyTriggered(CopyListAsText);
}
-void LogwolfMainWindow::on_actionCopyListAsCSV_triggered()
+void LograyMainWindow::on_actionCopyListAsCSV_triggered()
{
actionEditCopyTriggered(CopyListAsCSV);
}
-void LogwolfMainWindow::on_actionCopyListAsYAML_triggered()
+void LograyMainWindow::on_actionCopyListAsYAML_triggered()
{
actionEditCopyTriggered(CopyListAsYAML);
}
-void LogwolfMainWindow::on_actionCopyAllVisibleSelectedTreeItems_triggered()
+void LograyMainWindow::on_actionCopyAllVisibleSelectedTreeItems_triggered()
{
actionEditCopyTriggered(CopyAllVisibleSelectedTreeItems);
}
-void LogwolfMainWindow::on_actionEditCopyDescription_triggered()
+void LograyMainWindow::on_actionEditCopyDescription_triggered()
{
actionEditCopyTriggered(CopySelectedDescription);
}
-void LogwolfMainWindow::on_actionEditCopyFieldName_triggered()
+void LograyMainWindow::on_actionEditCopyFieldName_triggered()
{
actionEditCopyTriggered(CopySelectedFieldName);
}
-void LogwolfMainWindow::on_actionEditCopyValue_triggered()
+void LograyMainWindow::on_actionEditCopyValue_triggered()
{
actionEditCopyTriggered(CopySelectedValue);
}
-void LogwolfMainWindow::on_actionEditCopyAsFilter_triggered()
+void LograyMainWindow::on_actionEditCopyAsFilter_triggered()
{
matchFieldFilter(FilterAction::ActionCopy, FilterAction::ActionTypePlain);
}
-void LogwolfMainWindow::on_actionEditFindPacket_triggered()
+void LograyMainWindow::on_actionEditFindPacket_triggered()
{
if (! packet_list_->model() || packet_list_->model()->rowCount() < 1) {
return;
@@ -2042,17 +2042,17 @@ void LogwolfMainWindow::on_actionEditFindPacket_triggered()
main_ui_->searchFrame->setFocus();
}
-void LogwolfMainWindow::on_actionEditFindNext_triggered()
+void LograyMainWindow::on_actionEditFindNext_triggered()
{
main_ui_->searchFrame->findNext();
}
-void LogwolfMainWindow::on_actionEditFindPrevious_triggered()
+void LograyMainWindow::on_actionEditFindPrevious_triggered()
{
main_ui_->searchFrame->findPrevious();
}
-void LogwolfMainWindow::on_actionEditMarkPacket_triggered()
+void LograyMainWindow::on_actionEditMarkPacket_triggered()
{
freeze();
packet_list_->markFrame();
@@ -2060,7 +2060,7 @@ void LogwolfMainWindow::on_actionEditMarkPacket_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditMarkAllDisplayed_triggered()
+void LograyMainWindow::on_actionEditMarkAllDisplayed_triggered()
{
freeze();
packet_list_->markAllDisplayedFrames(true);
@@ -2068,7 +2068,7 @@ void LogwolfMainWindow::on_actionEditMarkAllDisplayed_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditUnmarkAllDisplayed_triggered()
+void LograyMainWindow::on_actionEditUnmarkAllDisplayed_triggered()
{
freeze();
packet_list_->markAllDisplayedFrames(false);
@@ -2076,19 +2076,19 @@ void LogwolfMainWindow::on_actionEditUnmarkAllDisplayed_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditNextMark_triggered()
+void LograyMainWindow::on_actionEditNextMark_triggered()
{
if (capture_file_.capFile())
cf_find_packet_marked(capture_file_.capFile(), SD_FORWARD);
}
-void LogwolfMainWindow::on_actionEditPreviousMark_triggered()
+void LograyMainWindow::on_actionEditPreviousMark_triggered()
{
if (capture_file_.capFile())
cf_find_packet_marked(capture_file_.capFile(), SD_BACKWARD);
}
-void LogwolfMainWindow::on_actionEditIgnorePacket_triggered()
+void LograyMainWindow::on_actionEditIgnorePacket_triggered()
{
freeze();
packet_list_->ignoreFrame();
@@ -2096,7 +2096,7 @@ void LogwolfMainWindow::on_actionEditIgnorePacket_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditIgnoreAllDisplayed_triggered()
+void LograyMainWindow::on_actionEditIgnoreAllDisplayed_triggered()
{
freeze();
packet_list_->ignoreAllDisplayedFrames(true);
@@ -2104,7 +2104,7 @@ void LogwolfMainWindow::on_actionEditIgnoreAllDisplayed_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditUnignoreAllDisplayed_triggered()
+void LograyMainWindow::on_actionEditUnignoreAllDisplayed_triggered()
{
freeze();
packet_list_->ignoreAllDisplayedFrames(false);
@@ -2112,31 +2112,31 @@ void LogwolfMainWindow::on_actionEditUnignoreAllDisplayed_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditSetTimeReference_triggered()
+void LograyMainWindow::on_actionEditSetTimeReference_triggered()
{
packet_list_->setTimeReference();
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditUnsetAllTimeReferences_triggered()
+void LograyMainWindow::on_actionEditUnsetAllTimeReferences_triggered()
{
packet_list_->unsetAllTimeReferences();
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionEditNextTimeReference_triggered()
+void LograyMainWindow::on_actionEditNextTimeReference_triggered()
{
if (!capture_file_.capFile()) return;
cf_find_packet_time_reference(capture_file_.capFile(), SD_FORWARD);
}
-void LogwolfMainWindow::on_actionEditPreviousTimeReference_triggered()
+void LograyMainWindow::on_actionEditPreviousTimeReference_triggered()
{
if (!capture_file_.capFile()) return;
cf_find_packet_time_reference(capture_file_.capFile(), SD_BACKWARD);
}
-void LogwolfMainWindow::on_actionEditTimeShift_triggered()
+void LograyMainWindow::on_actionEditTimeShift_triggered()
{
TimeShiftDialog *ts_dialog = new TimeShiftDialog(this, capture_file_.capFile());
connect(ts_dialog, SIGNAL(finished(int)), this, SLOT(editTimeShiftFinished(int)));
@@ -2150,14 +2150,14 @@ void LogwolfMainWindow::on_actionEditTimeShift_triggered()
ts_dialog->show();
}
-void LogwolfMainWindow::editTimeShiftFinished(int)
+void LograyMainWindow::editTimeShiftFinished(int)
{
if (capture_file_.capFile()->unsaved_changes) {
updateForUnsavedChanges();
}
}
-void LogwolfMainWindow::actionAddPacketComment()
+void LograyMainWindow::actionAddPacketComment()
{
QList<int> rows = selectedRows();
if (rows.count() == 0)
@@ -2169,13 +2169,13 @@ void LogwolfMainWindow::actionAddPacketComment()
PacketCommentDialog* pc_dialog;
pc_dialog = new PacketCommentDialog(false, this, NULL);
- connect(pc_dialog, &QDialog::finished, std::bind(&LogwolfMainWindow::addPacketCommentFinished, this, pc_dialog, std::placeholders::_1));
+ connect(pc_dialog, &QDialog::finished, std::bind(&LograyMainWindow::addPacketCommentFinished, this, pc_dialog, std::placeholders::_1));
pc_dialog->setWindowModality(Qt::ApplicationModal);
pc_dialog->setAttribute(Qt::WA_DeleteOnClose);
pc_dialog->show();
}
-void LogwolfMainWindow::addPacketCommentFinished(PacketCommentDialog* pc_dialog _U_, int result _U_)
+void LograyMainWindow::addPacketCommentFinished(PacketCommentDialog* pc_dialog _U_, int result _U_)
{
if (result == QDialog::Accepted) {
packet_list_->addPacketComment(pc_dialog->text());
@@ -2183,7 +2183,7 @@ void LogwolfMainWindow::addPacketCommentFinished(PacketCommentDialog* pc_dialog
}
}
-void LogwolfMainWindow::actionEditPacketComment()
+void LograyMainWindow::actionEditPacketComment()
{
QList<int> rows = selectedRows();
if (rows.count() != 1)
@@ -2193,13 +2193,13 @@ void LogwolfMainWindow::actionEditPacketComment()
guint nComment = ra->data().toUInt();
PacketCommentDialog* pc_dialog;
pc_dialog = new PacketCommentDialog(true, this, packet_list_->getPacketComment(nComment));
- connect(pc_dialog, &QDialog::finished, std::bind(&LogwolfMainWindow::editPacketCommentFinished, this, pc_dialog, std::placeholders::_1, nComment));
+ connect(pc_dialog, &QDialog::finished, std::bind(&LograyMainWindow::editPacketCommentFinished, this, pc_dialog, std::placeholders::_1, nComment));
pc_dialog->setWindowModality(Qt::ApplicationModal);
pc_dialog->setAttribute(Qt::WA_DeleteOnClose);
pc_dialog->show();
}
-void LogwolfMainWindow::editPacketCommentFinished(PacketCommentDialog* pc_dialog _U_, int result _U_, guint nComment)
+void LograyMainWindow::editPacketCommentFinished(PacketCommentDialog* pc_dialog _U_, int result _U_, guint nComment)
{
if (result == QDialog::Accepted) {
packet_list_->setPacketComment(nComment, pc_dialog->text());
@@ -2207,7 +2207,7 @@ void LogwolfMainWindow::editPacketCommentFinished(PacketCommentDialog* pc_dialog
}
}
-void LogwolfMainWindow::actionDeletePacketComment()
+void LograyMainWindow::actionDeletePacketComment()
{
QAction *ra = qobject_cast<QAction*>(sender());
guint nComment = ra->data().toUInt();
@@ -2215,13 +2215,13 @@ void LogwolfMainWindow::actionDeletePacketComment()
updateForUnsavedChanges();
}
-void LogwolfMainWindow::actionDeleteCommentsFromPackets()
+void LograyMainWindow::actionDeleteCommentsFromPackets()
{
packet_list_->deleteCommentsFromPackets();
updateForUnsavedChanges();
}
-void LogwolfMainWindow::on_actionDeleteAllPacketComments_triggered()
+void LograyMainWindow::on_actionDeleteAllPacketComments_triggered()
{
QMessageBox *msg_dialog = new QMessageBox();
connect(msg_dialog, SIGNAL(finished(int)), this, SLOT(deleteAllPacketCommentsFinished(int)));
@@ -2237,7 +2237,7 @@ void LogwolfMainWindow::on_actionDeleteAllPacketComments_triggered()
msg_dialog->show();
}
-void LogwolfMainWindow::deleteAllPacketCommentsFinished(int result)
+void LograyMainWindow::deleteAllPacketCommentsFinished(int result)
{
if (result == QMessageBox::Ok) {
/* XXX Do we need a wait/hourglass for large files? */
@@ -2246,7 +2246,7 @@ void LogwolfMainWindow::deleteAllPacketCommentsFinished(int result)
}
}
-void LogwolfMainWindow::on_actionEditConfigurationProfiles_triggered()
+void LograyMainWindow::on_actionEditConfigurationProfiles_triggered()
{
ProfileDialog *cp_dialog = new ProfileDialog();
cp_dialog->setWindowModality(Qt::ApplicationModal);
@@ -2254,7 +2254,7 @@ void LogwolfMainWindow::on_actionEditConfigurationProfiles_triggered()
cp_dialog->show();
}
-void LogwolfMainWindow::showPreferencesDialog(QString module_name)
+void LograyMainWindow::showPreferencesDialog(QString module_name)
{
PreferencesDialog *pref_dialog = new PreferencesDialog(this);
connect(pref_dialog, SIGNAL(destroyed(QObject*)), mainApp, SLOT(flushAppSignals()));
@@ -2266,14 +2266,14 @@ void LogwolfMainWindow::showPreferencesDialog(QString module_name)
pref_dialog->show();
}
-void LogwolfMainWindow::on_actionEditPreferences_triggered()
+void LograyMainWindow::on_actionEditPreferences_triggered()
{
showPreferencesDialog(PrefsModel::typeToString(PrefsModel::Appearance));
}
// View Menu
-void LogwolfMainWindow::showHideMainWidgets(QAction *action)
+void LograyMainWindow::showHideMainWidgets(QAction *action)
{
if (!action) {
return;
@@ -2343,7 +2343,7 @@ void LogwolfMainWindow::showHideMainWidgets(QAction *action)
}
}
-void LogwolfMainWindow::setTimestampFormat(QAction *action)
+void LograyMainWindow::setTimestampFormat(QAction *action)
{
if (!action) {
return;
@@ -2360,7 +2360,7 @@ void LogwolfMainWindow::setTimestampFormat(QAction *action)
}
}
-void LogwolfMainWindow::setTimestampPrecision(QAction *action)
+void LograyMainWindow::setTimestampPrecision(QAction *action)
{
if (!action) {
return;
@@ -2377,7 +2377,7 @@ void LogwolfMainWindow::setTimestampPrecision(QAction *action)
}
}
-void LogwolfMainWindow::on_actionViewTimeDisplaySecondsWithHoursAndMinutes_triggered(bool checked)
+void LograyMainWindow::on_actionViewTimeDisplaySecondsWithHoursAndMinutes_triggered(bool checked)
{
if (checked) {
recent.gui_seconds_format = TS_SECONDS_HOUR_MIN_SEC;
@@ -2392,7 +2392,7 @@ void LogwolfMainWindow::on_actionViewTimeDisplaySecondsWithHoursAndMinutes_trigg
}
}
-void LogwolfMainWindow::on_actionViewEditResolvedName_triggered()
+void LograyMainWindow::on_actionViewEditResolvedName_triggered()
{
//int column = packet_list_->selectedColumn();
int column = -1;
@@ -2405,7 +2405,7 @@ void LogwolfMainWindow::on_actionViewEditResolvedName_triggered()
showAccordionFrame(main_ui_->addressEditorFrame);
}
-void LogwolfMainWindow::setNameResolution()
+void LograyMainWindow::setNameResolution()
{
gbl_resolv_flags.mac_name = main_ui_->actionViewNameResolutionPhysical->isChecked() ? TRUE : FALSE;
gbl_resolv_flags.network_name = main_ui_->actionViewNameResolutionNetwork->isChecked() ? TRUE : FALSE;
@@ -2417,50 +2417,50 @@ void LogwolfMainWindow::setNameResolution()
mainApp->emitAppSignal(WiresharkApplication::NameResolutionChanged);
}
-void LogwolfMainWindow::on_actionViewNameResolutionPhysical_triggered()
+void LograyMainWindow::on_actionViewNameResolutionPhysical_triggered()
{
setNameResolution();
}
-void LogwolfMainWindow::on_actionViewNameResolutionNetwork_triggered()
+void LograyMainWindow::on_actionViewNameResolutionNetwork_triggered()
{
setNameResolution();
}
-void LogwolfMainWindow::on_actionViewNameResolutionTransport_triggered()
+void LograyMainWindow::on_actionViewNameResolutionTransport_triggered()
{
setNameResolution();
}
-void LogwolfMainWindow::zoomText()
+void LograyMainWindow::zoomText()
{
mainApp->zoomTextFont(recent.gui_zoom_level);
}
-void LogwolfMainWindow::on_actionViewZoomIn_triggered()
+void LograyMainWindow::on_actionViewZoomIn_triggered()
{
recent.gui_zoom_level++;
zoomText();
}
-void LogwolfMainWindow::on_actionViewZoomOut_triggered()
+void LograyMainWindow::on_actionViewZoomOut_triggered()
{
recent.gui_zoom_level--;
zoomText();
}
-void LogwolfMainWindow::on_actionViewNormalSize_triggered()
+void LograyMainWindow::on_actionViewNormalSize_triggered()
{
recent.gui_zoom_level = 0;
zoomText();
}
-void LogwolfMainWindow::on_actionViewColorizePacketList_triggered(bool checked) {
+void LograyMainWindow::on_actionViewColorizePacketList_triggered(bool checked) {
recent.packet_list_colorize = checked;
packet_list_->recolorPackets();
}
-void LogwolfMainWindow::on_actionViewColoringRules_triggered()
+void LograyMainWindow::on_actionViewColoringRules_triggered()
{
ColoringRulesDialog *coloring_rules_dialog = new ColoringRulesDialog(this);
connect(coloring_rules_dialog, SIGNAL(accepted()),
@@ -2474,7 +2474,7 @@ void LogwolfMainWindow::on_actionViewColoringRules_triggered()
}
// actionViewColorizeConversation1 - 10
-void LogwolfMainWindow::colorizeConversation(bool create_rule)
+void LograyMainWindow::colorizeConversation(bool create_rule)
{
QAction *colorize_action = qobject_cast<QAction *>(sender());
if (!colorize_action) return;
@@ -2507,7 +2507,7 @@ void LogwolfMainWindow::colorizeConversation(bool create_rule)
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::colorizeActionTriggered()
+void LograyMainWindow::colorizeActionTriggered()
{
QByteArray filter;
int color_number = -1;
@@ -2527,7 +2527,7 @@ void LogwolfMainWindow::colorizeActionTriggered()
colorizeWithFilter(filter, color_number);
}
-void LogwolfMainWindow::colorizeWithFilter(QByteArray filter, int color_number)
+void LograyMainWindow::colorizeWithFilter(QByteArray filter, int color_number)
{
if (filter.isEmpty()) return;
@@ -2551,7 +2551,7 @@ void LogwolfMainWindow::colorizeWithFilter(QByteArray filter, int color_number)
main_ui_->actionViewColorizeResetColorization->setEnabled(tmp_color_filters_used());
}
-void LogwolfMainWindow::on_actionViewColorizeResetColorization_triggered()
+void LograyMainWindow::on_actionViewColorizeResetColorization_triggered()
{
gchar *err_msg = NULL;
if (!color_filters_reset_tmp(&err_msg)) {
@@ -2562,12 +2562,12 @@ void LogwolfMainWindow::on_actionViewColorizeResetColorization_triggered()
setMenusForSelectedPacket();
}
-void LogwolfMainWindow::on_actionViewColorizeNewColoringRule_triggered()
+void LograyMainWindow::on_actionViewColorizeNewColoringRule_triggered()
{
colorizeConversation(true);
}
-void LogwolfMainWindow::on_actionViewResetLayout_triggered()
+void LograyMainWindow::on_actionViewResetLayout_triggered()
{
recent.gui_geometry_main_upper_pane = 0;
recent.gui_geometry_main_lower_pane = 0;
@@ -2575,7 +2575,7 @@ void LogwolfMainWindow::on_actionViewResetLayout_triggered()
applyRecentPaneGeometry();
}
-void LogwolfMainWindow::on_actionViewResizeColumns_triggered()
+void LograyMainWindow::on_actionViewResizeColumns_triggered()
{
if (! packet_list_->model())
return;
@@ -2585,7 +2585,7 @@ void LogwolfMainWindow::on_actionViewResizeColumns_triggered()
}
}
-void LogwolfMainWindow::openPacketDialog(bool from_reference)
+void LograyMainWindow::openPacketDialog(bool from_reference)
{
frame_data * fdata = Q_NULLPTR;
@@ -2618,36 +2618,36 @@ void LogwolfMainWindow::openPacketDialog(bool from_reference)
}
}
-void LogwolfMainWindow::on_actionViewInternalsConversationHashTables_triggered()
+void LograyMainWindow::on_actionViewInternalsConversationHashTables_triggered()
{
ConversationHashTablesDialog *conversation_hash_tables_dlg = new ConversationHashTablesDialog(this);
conversation_hash_tables_dlg->show();
}
-void LogwolfMainWindow::on_actionViewInternalsDissectorTables_triggered()
+void LograyMainWindow::on_actionViewInternalsDissectorTables_triggered()
{
DissectorTablesDialog *dissector_tables_dlg = new DissectorTablesDialog(this);
dissector_tables_dlg->show();
}
-void LogwolfMainWindow::on_actionViewInternalsSupportedProtocols_triggered()
+void LograyMainWindow::on_actionViewInternalsSupportedProtocols_triggered()
{
SupportedProtocolsDialog *supported_protocols_dlg = new SupportedProtocolsDialog(this);
supported_protocols_dlg->show();
}
-void LogwolfMainWindow::on_actionViewShowPacketInNewWindow_triggered()
+void LograyMainWindow::on_actionViewShowPacketInNewWindow_triggered()
{
openPacketDialog();
}
// This is only used in ProtoTree. Defining it here makes more sense.
-void LogwolfMainWindow::on_actionContextShowLinkedPacketInNewWindow_triggered()
+void LograyMainWindow::on_actionContextShowLinkedPacketInNewWindow_triggered()
{
openPacketDialog(true);
}
-void LogwolfMainWindow::on_actionViewReload_triggered()
+void LograyMainWindow::on_actionViewReload_triggered()
{
capture_file *cf = CaptureFile::globalCapFile();
@@ -2660,7 +2660,7 @@ void LogwolfMainWindow::on_actionViewReload_triggered()
cf_reload(cf);
}
-void LogwolfMainWindow::on_actionViewReload_as_File_Format_or_Capture_triggered()
+void LograyMainWindow::on_actionViewReload_as_File_Format_or_Capture_triggered()
{
capture_file *cf = CaptureFile::globalCapFile();
@@ -2685,7 +2685,7 @@ void LogwolfMainWindow::on_actionViewReload_as_File_Format_or_Capture_triggered(
// Analyze Menu
-void LogwolfMainWindow::filterMenuAboutToShow()
+void LograyMainWindow::filterMenuAboutToShow()
{
QMenu * menu = qobject_cast<QMenu *>(sender());
QString field_filter;
@@ -2704,7 +2704,7 @@ void LogwolfMainWindow::filterMenuAboutToShow()
menu->addActions(group->actions());
}
-void LogwolfMainWindow::matchFieldFilter(FilterAction::Action action, FilterAction::ActionType filter_type)
+void LograyMainWindow::matchFieldFilter(FilterAction::Action action, FilterAction::ActionType filter_type)
{
QString field_filter;
@@ -2726,7 +2726,7 @@ void LogwolfMainWindow::matchFieldFilter(FilterAction::Action action, FilterActi
setDisplayFilter(field_filter, action, filter_type);
}
-void LogwolfMainWindow::on_actionAnalyzeDisplayFilters_triggered()
+void LograyMainWindow::on_actionAnalyzeDisplayFilters_triggered()
{
if (!display_filter_dlg_) {
display_filter_dlg_ = new FilterDialog(this, FilterDialog::DisplayFilter);
@@ -2737,7 +2737,7 @@ void LogwolfMainWindow::on_actionAnalyzeDisplayFilters_triggered()
}
struct epan_uat;
-void LogwolfMainWindow::on_actionAnalyzeDisplayFilterMacros_triggered()
+void LograyMainWindow::on_actionAnalyzeDisplayFilterMacros_triggered()
{
struct epan_uat* dfm_uat;
dfilter_macro_get_uat(&dfm_uat);
@@ -2749,7 +2749,7 @@ void LogwolfMainWindow::on_actionAnalyzeDisplayFilterMacros_triggered()
uat_dlg->show();
}
-void LogwolfMainWindow::on_actionAnalyzeCreateAColumn_triggered()
+void LograyMainWindow::on_actionAnalyzeCreateAColumn_triggered()
{
if (capture_file_.capFile() != 0 && capture_file_.capFile()->finfo_selected != 0) {
header_field_info *hfinfo = capture_file_.capFile()->finfo_selected->hfinfo;
@@ -2774,7 +2774,7 @@ void LogwolfMainWindow::on_actionAnalyzeCreateAColumn_triggered()
}
}
-void LogwolfMainWindow::applyConversationFilter()
+void LograyMainWindow::applyConversationFilter()
{
ConversationAction *conv_action = qobject_cast<ConversationAction*>(sender());
if (!conv_action) return;
@@ -2792,7 +2792,7 @@ void LogwolfMainWindow::applyConversationFilter()
}
}
-void LogwolfMainWindow::applyExportObject()
+void LograyMainWindow::applyExportObject()
{
ExportObjectAction *export_action = qobject_cast<ExportObjectAction*>(sender());
if (!export_action)
@@ -2804,7 +2804,7 @@ void LogwolfMainWindow::applyExportObject()
export_dialog->show();
}
-void LogwolfMainWindow::on_actionAnalyzeEnabledProtocols_triggered()
+void LograyMainWindow::on_actionAnalyzeEnabledProtocols_triggered()
{
EnabledProtocolsDialog *enable_proto_dialog = new EnabledProtocolsDialog(this);
connect(enable_proto_dialog, SIGNAL(destroyed(QObject*)), mainApp, SLOT(flushAppSignals()));
@@ -2814,7 +2814,7 @@ void LogwolfMainWindow::on_actionAnalyzeEnabledProtocols_triggered()
enable_proto_dialog->show();
}
-void LogwolfMainWindow::on_actionAnalyzeDecodeAs_triggered()
+void LograyMainWindow::on_actionAnalyzeDecodeAs_triggered()
{
QAction *da_action = qobject_cast<QAction*>(sender());
bool create_new = da_action && da_action->property("create_new").toBool();
@@ -2827,12 +2827,12 @@ void LogwolfMainWindow::on_actionAnalyzeDecodeAs_triggered()
da_dialog->show();
}
-void LogwolfMainWindow::on_actionAnalyzeReloadLuaPlugins_triggered()
+void LograyMainWindow::on_actionAnalyzeReloadLuaPlugins_triggered()
{
reloadLuaPlugins();
}
-void LogwolfMainWindow::openFollowStreamDialog(follow_type_t type, guint stream_num, guint sub_stream_num, bool use_stream_index) {
+void LograyMainWindow::openFollowStreamDialog(follow_type_t type, guint stream_num, guint sub_stream_num, bool use_stream_index) {
FollowStreamDialog *fsd = new FollowStreamDialog(*this, capture_file_, type);
connect(fsd, SIGNAL(updateFilter(QString, bool)), this, SLOT(filterPackets(QString, bool)));
connect(fsd, SIGNAL(goToPacket(int)), packet_list_, SLOT(goToPacket(int)));
@@ -2847,12 +2847,12 @@ void LogwolfMainWindow::openFollowStreamDialog(follow_type_t type, guint stream_
}
}
-void LogwolfMainWindow::openFollowStreamDialogForType(follow_type_t type) {
+void LograyMainWindow::openFollowStreamDialogForType(follow_type_t type) {
openFollowStreamDialog(type, 0, 0, false);
}
// -z expert
-void LogwolfMainWindow::statCommandExpertInfo(const char *, void *)
+void LograyMainWindow::statCommandExpertInfo(const char *, void *)
{
const DisplayFilterEdit *df_edit = dynamic_cast<DisplayFilterEdit *>(df_combo_box_->lineEdit());
ExpertInfoDialog *expert_dialog = new ExpertInfoDialog(*this, capture_file_, df_edit->text());
@@ -2865,7 +2865,7 @@ void LogwolfMainWindow::statCommandExpertInfo(const char *, void *)
expert_dialog->show();
}
-void LogwolfMainWindow::on_actionAnalyzeExpertInfo_triggered()
+void LograyMainWindow::on_actionAnalyzeExpertInfo_triggered()
{
statCommandExpertInfo(NULL, NULL);
}
@@ -2875,14 +2875,14 @@ void LogwolfMainWindow::on_actionAnalyzeExpertInfo_triggered()
// Statistics Menu
-void LogwolfMainWindow::on_actionStatisticsFlowGraph_triggered()
+void LograyMainWindow::on_actionStatisticsFlowGraph_triggered()
{
QMessageBox::warning(this, "Oops", "SequenceDialog depends on RTPStreamDialog");
// SequenceDialog *sequence_dialog = new SequenceDialog(*this, capture_file_);
// sequence_dialog->show();
}
-void LogwolfMainWindow::openStatisticsTreeDialog(const gchar *abbr)
+void LograyMainWindow::openStatisticsTreeDialog(const gchar *abbr)
{
StatsTreeDialog *st_dialog = new StatsTreeDialog(*this, capture_file_, abbr);
// connect(st_dialog, SIGNAL(goToPacket(int)),
@@ -2890,7 +2890,7 @@ void LogwolfMainWindow::openStatisticsTreeDialog(const gchar *abbr)
st_dialog->show();
}
-void LogwolfMainWindow::on_actionStatisticsConversations_triggered()
+void LograyMainWindow::on_actionStatisticsConversations_triggered()
{
ConversationDialog *conv_dialog = new ConversationDialog(*this, capture_file_);
connect(conv_dialog, SIGNAL(filterAction(QString, FilterAction::Action, FilterAction::ActionType)),
@@ -2900,7 +2900,7 @@ void LogwolfMainWindow::on_actionStatisticsConversations_triggered()
conv_dialog->show();
}
-void LogwolfMainWindow::on_actionStatisticsEndpoints_triggered()
+void LograyMainWindow::on_actionStatisticsEndpoints_triggered()
{
EndpointDialog *endp_dialog = new EndpointDialog(*this, capture_file_);
connect(endp_dialog, SIGNAL(filterAction(QString, FilterAction::Action, FilterAction::ActionType)),
@@ -2910,12 +2910,12 @@ void LogwolfMainWindow::on_actionStatisticsEndpoints_triggered()
endp_dialog->show();
}
-void LogwolfMainWindow::on_actionStatisticsPacketLengths_triggered()
+void LograyMainWindow::on_actionStatisticsPacketLengths_triggered()
{
openStatisticsTreeDialog("plen");
}
-void LogwolfMainWindow::on_actionStatisticsIOGraph_triggered()
+void LograyMainWindow::on_actionStatisticsIOGraph_triggered()
{
const DisplayFilterEdit *df_edit = qobject_cast<DisplayFilterEdit *>(df_combo_box_->lineEdit());
QString displayFilter;
@@ -2928,7 +2928,7 @@ void LogwolfMainWindow::on_actionStatisticsIOGraph_triggered()
iog_dialog->show();
}
-void LogwolfMainWindow::actionStatisticsPlugin_triggered()
+void LograyMainWindow::actionStatisticsPlugin_triggered()
{
QAction* action = qobject_cast<QAction*>(sender());
if (action) {
@@ -2941,90 +2941,90 @@ void LogwolfMainWindow::actionStatisticsPlugin_triggered()
// XXX No log tools yet
// Help Menu
-void LogwolfMainWindow::on_actionHelpContents_triggered() {
+void LograyMainWindow::on_actionHelpContents_triggered() {
mainApp->helpTopicAction(HELP_CONTENT);
}
-void LogwolfMainWindow::on_actionHelpMPWireshark_triggered() {
+void LograyMainWindow::on_actionHelpMPWireshark_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_WIRESHARK);
}
-void LogwolfMainWindow::on_actionHelpMPWireshark_Filter_triggered() {
+void LograyMainWindow::on_actionHelpMPWireshark_Filter_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_WIRESHARK_FILTER);
}
-void LogwolfMainWindow::on_actionHelpMPCapinfos_triggered() {
+void LograyMainWindow::on_actionHelpMPCapinfos_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_CAPINFOS);
}
-void LogwolfMainWindow::on_actionHelpMPDumpcap_triggered() {
+void LograyMainWindow::on_actionHelpMPDumpcap_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_DUMPCAP);
}
-void LogwolfMainWindow::on_actionHelpMPEditcap_triggered() {
+void LograyMainWindow::on_actionHelpMPEditcap_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_EDITCAP);
}
-void LogwolfMainWindow::on_actionHelpMPMergecap_triggered() {
+void LograyMainWindow::on_actionHelpMPMergecap_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_MERGECAP);
}
-void LogwolfMainWindow::on_actionHelpMPRawshark_triggered() {
+void LograyMainWindow::on_actionHelpMPRawshark_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_RAWSHARK);
}
-void LogwolfMainWindow::on_actionHelpMPReordercap_triggered() {
+void LograyMainWindow::on_actionHelpMPReordercap_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_REORDERCAP);
}
-void LogwolfMainWindow::on_actionHelpMPText2pcap_triggered() {
+void LograyMainWindow::on_actionHelpMPText2pcap_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_TEXT2PCAP);
}
-void LogwolfMainWindow::on_actionHelpMPTShark_triggered() {
+void LograyMainWindow::on_actionHelpMPTShark_triggered() {
mainApp->helpTopicAction(LOCALPAGE_MAN_TSHARK);
}
-void LogwolfMainWindow::on_actionHelpWebsite_triggered() {
+void LograyMainWindow::on_actionHelpWebsite_triggered() {
mainApp->helpTopicAction(ONLINEPAGE_HOME);
}
-void LogwolfMainWindow::on_actionHelpFAQ_triggered() {
+void LograyMainWindow::on_actionHelpFAQ_triggered() {
mainApp->helpTopicAction(ONLINEPAGE_FAQ);
}
-void LogwolfMainWindow::on_actionHelpAsk_triggered() {
+void LograyMainWindow::on_actionHelpAsk_triggered() {
mainApp->helpTopicAction(ONLINEPAGE_ASK);
}
-void LogwolfMainWindow::on_actionHelpDownloads_triggered() {
+void LograyMainWindow::on_actionHelpDownloads_triggered() {
mainApp->helpTopicAction(ONLINEPAGE_DOWNLOAD);
}
-void LogwolfMainWindow::on_actionHelpWiki_triggered() {
+void LograyMainWindow::on_actionHelpWiki_triggered() {
mainApp->helpTopicAction(ONLINEPAGE_WIKI);
}
-void LogwolfMainWindow::on_actionHelpSampleCaptures_triggered() {
+void LograyMainWindow::on_actionHelpSampleCaptures_triggered() {
mainApp->helpTopicAction(ONLINEPAGE_SAMPLE_FILES);
}
#ifdef HAVE_SOFTWARE_UPDATE
-void LogwolfMainWindow::checkForUpdates()
+void LograyMainWindow::checkForUpdates()
{
software_update_check();
}
#endif
-void LogwolfMainWindow::on_actionHelpAbout_triggered()
+void LograyMainWindow::on_actionHelpAbout_triggered()
{
AboutDialog *about_dialog = new AboutDialog(this);
@@ -3041,7 +3041,7 @@ void LogwolfMainWindow::on_actionHelpAbout_triggered()
about_dialog->activateWindow();
}
-void LogwolfMainWindow::on_actionGoGoToPacket_triggered() {
+void LograyMainWindow::on_actionGoGoToPacket_triggered() {
if (! packet_list_->model() || packet_list_->model()->rowCount() < 1) {
return;
}
@@ -3055,7 +3055,7 @@ void LogwolfMainWindow::on_actionGoGoToPacket_triggered() {
}
}
-void LogwolfMainWindow::on_actionGoGoToLinkedPacket_triggered()
+void LograyMainWindow::on_actionGoGoToLinkedPacket_triggered()
{
QAction *gta = qobject_cast<QAction*>(sender());
if (!gta) return;
@@ -3068,7 +3068,7 @@ void LogwolfMainWindow::on_actionGoGoToLinkedPacket_triggered()
}
// gtk/main_menubar.c:goto_conversation_frame
-void LogwolfMainWindow::goToConversationFrame(bool go_next) {
+void LograyMainWindow::goToConversationFrame(bool go_next) {
gchar *filter = NULL;
dfilter_t *dfcode = NULL;
gboolean found_packet = FALSE;
@@ -3107,26 +3107,26 @@ void LogwolfMainWindow::goToConversationFrame(bool go_next) {
g_free(filter);
}
-void LogwolfMainWindow::on_actionGoNextConversationPacket_triggered()
+void LograyMainWindow::on_actionGoNextConversationPacket_triggered()
{
goToConversationFrame(true);
}
-void LogwolfMainWindow::on_actionGoPreviousConversationPacket_triggered()
+void LograyMainWindow::on_actionGoPreviousConversationPacket_triggered()
{
goToConversationFrame(false);
}
-void LogwolfMainWindow::on_actionGoAutoScroll_toggled(bool checked)
+void LograyMainWindow::on_actionGoAutoScroll_toggled(bool checked)
{
packet_list_->setVerticalAutoScroll(checked);
}
-void LogwolfMainWindow::resetPreviousFocus() {
+void LograyMainWindow::resetPreviousFocus() {
previous_focus_ = NULL;
}
-void LogwolfMainWindow::on_goToCancel_clicked()
+void LograyMainWindow::on_goToCancel_clicked()
{
main_ui_->goToFrame->animatedHide();
if (previous_focus_) {
@@ -3136,19 +3136,19 @@ void LogwolfMainWindow::on_goToCancel_clicked()
}
}
-void LogwolfMainWindow::on_goToGo_clicked()
+void LograyMainWindow::on_goToGo_clicked()
{
gotoFrame(main_ui_->goToLineEdit->text().toInt());
on_goToCancel_clicked();
}
-void LogwolfMainWindow::on_goToLineEdit_returnPressed()
+void LograyMainWindow::on_goToLineEdit_returnPressed()
{
on_goToGo_clicked();
}
-void LogwolfMainWindow::on_actionCaptureStart_triggered()
+void LograyMainWindow::on_actionCaptureStart_triggered()
{
//#ifdef HAVE_AIRPCAP
// airpcap_if_active = airpcap_if_selected;
@@ -3195,12 +3195,12 @@ void LogwolfMainWindow::on_actionCaptureStart_triggered()
#endif // HAVE_LIBPCAP
}
-void LogwolfMainWindow::on_actionCaptureStop_triggered()
+void LograyMainWindow::on_actionCaptureStop_triggered()
{
stopCapture();
}
-void LogwolfMainWindow::on_actionCaptureRestart_triggered()
+void LograyMainWindow::on_actionCaptureRestart_triggered()
{
#ifdef HAVE_LIBPCAP
QString before_what(tr(" before restarting the capture"));
@@ -3212,7 +3212,7 @@ void LogwolfMainWindow::on_actionCaptureRestart_triggered()
#endif // HAVE_LIBPCAP
}
-void LogwolfMainWindow::on_actionCaptureCaptureFilters_triggered()
+void LograyMainWindow::on_actionCaptureCaptureFilters_triggered()
{
if (!capture_filter_dlg_) {
capture_filter_dlg_ = new FilterDialog(this, FilterDialog::CaptureFilter);
@@ -3222,7 +3222,7 @@ void LogwolfMainWindow::on_actionCaptureCaptureFilters_triggered()
capture_filter_dlg_->activateWindow();
}
-void LogwolfMainWindow::on_actionStatisticsCaptureFileProperties_triggered()
+void LograyMainWindow::on_actionStatisticsCaptureFileProperties_triggered()
{
CaptureFilePropertiesDialog *capture_file_properties_dialog = new CaptureFilePropertiesDialog(*this, capture_file_);
connect(capture_file_properties_dialog, SIGNAL(captureCommentChanged()),
@@ -3230,7 +3230,7 @@ void LogwolfMainWindow::on_actionStatisticsCaptureFileProperties_triggered()
capture_file_properties_dialog->show();
}
-void LogwolfMainWindow::on_actionStatisticsResolvedAddresses_triggered()
+void LograyMainWindow::on_actionStatisticsResolvedAddresses_triggered()
{
QString capFileName;
wtap* wth = Q_NULLPTR;
@@ -3244,7 +3244,7 @@ void LogwolfMainWindow::on_actionStatisticsResolvedAddresses_triggered()
resolved_addresses_dialog->show();
}
-void LogwolfMainWindow::on_actionStatisticsProtocolHierarchy_triggered()
+void LograyMainWindow::on_actionStatisticsProtocolHierarchy_triggered()
{
ProtocolHierarchyDialog *phd = new ProtocolHierarchyDialog(*this, capture_file_);
connect(phd, SIGNAL(filterAction(QString, FilterAction::Action, FilterAction::ActionType)),
@@ -3252,7 +3252,7 @@ void LogwolfMainWindow::on_actionStatisticsProtocolHierarchy_triggered()
phd->show();
}
-void LogwolfMainWindow::on_actionCaptureOptions_triggered()
+void LograyMainWindow::on_actionCaptureOptions_triggered()
{
#ifdef HAVE_LIBPCAP
if (!capture_options_dialog_) {
@@ -3293,7 +3293,7 @@ void LogwolfMainWindow::on_actionCaptureOptions_triggered()
}
#ifdef HAVE_LIBPCAP
-void LogwolfMainWindow::on_actionCaptureRefreshInterfaces_triggered()
+void LograyMainWindow::on_actionCaptureRefreshInterfaces_triggered()
{
main_ui_->actionCaptureRefreshInterfaces->setEnabled(false);
mainApp->refreshLocalInterfaces();
@@ -3301,7 +3301,7 @@ void LogwolfMainWindow::on_actionCaptureRefreshInterfaces_triggered()
}
#endif
-void LogwolfMainWindow::externalMenuItem_triggered()
+void LograyMainWindow::externalMenuItem_triggered()
{
QAction * triggerAction = NULL;
QVariant v;
@@ -3323,7 +3323,7 @@ void LogwolfMainWindow::externalMenuItem_triggered()
}
}
-void LogwolfMainWindow::extcap_options_finished(int result)
+void LograyMainWindow::extcap_options_finished(int result)
{
if (result == QDialog::Accepted) {
QString before_what(tr(" before starting a new capture"));
@@ -3334,7 +3334,7 @@ void LogwolfMainWindow::extcap_options_finished(int result)
this->welcome_page_->getInterfaceFrame()->interfaceListChanged();
}
-void LogwolfMainWindow::showExtcapOptionsDialog(QString &device_name, bool startCaptureOnClose)
+void LograyMainWindow::showExtcapOptionsDialog(QString &device_name, bool startCaptureOnClose)
{
ExtcapOptionsDialog * extcap_options_dialog = ExtcapOptionsDialog::createForDevice(device_name, startCaptureOnClose, this);
/* The dialog returns null, if the given device name is not a valid extcap device */
@@ -3356,7 +3356,7 @@ void LogwolfMainWindow::showExtcapOptionsDialog(QString &device_name, bool start
}
}
-void LogwolfMainWindow::on_actionContextWikiProtocolPage_triggered()
+void LograyMainWindow::on_actionContextWikiProtocolPage_triggered()
{
QAction *wa = qobject_cast<QAction*>(sender());
if (!wa) return;
@@ -3380,7 +3380,7 @@ void LogwolfMainWindow::on_actionContextWikiProtocolPage_triggered()
QDesktopServices::openUrl(wiki_url);
}
-void LogwolfMainWindow::on_actionContextFilterFieldReference_triggered()
+void LograyMainWindow::on_actionContextFilterFieldReference_triggered()
{
QAction *wa = qobject_cast<QAction*>(sender());
if (!wa) return;
@@ -3397,7 +3397,7 @@ void LogwolfMainWindow::on_actionContextFilterFieldReference_triggered()
QDesktopServices::openUrl(dfref_url);
}
-void LogwolfMainWindow::on_actionViewFullScreen_triggered(bool checked)
+void LograyMainWindow::on_actionViewFullScreen_triggered(bool checked)
{
if (checked) {
// Save the state for future restore
@@ -3412,7 +3412,7 @@ void LogwolfMainWindow::on_actionViewFullScreen_triggered(bool checked)
}
}
-void LogwolfMainWindow::activatePluginIFToolbar(bool)
+void LograyMainWindow::activatePluginIFToolbar(bool)
{
QAction *sendingAction = dynamic_cast<QAction *>(sender());
if (!sendingAction || !sendingAction->data().isValid())
diff --git a/ui/software_update.c b/ui/software_update.c
index d654fcc11f..bcb6a2c29b 100644
--- a/ui/software_update.c
+++ b/ui/software_update.c
@@ -19,7 +19,7 @@
* Version 0 of the update URI path has the following elements:
* - The update path prefix (fixed, "update")
* - The schema version (fixed, 0)
- * - The application name (variable, "Wireshark" or "Logwolf")
+ * - The application name (variable, "Wireshark" or "Logray")
* - The application version ("<major>.<minor>.<micro>")
* - The operating system (variable, one of "Windows" or "macOS")
* - The architecture name (variable, one of "x86", "x86-64", or "arm64")
diff --git a/wsutil/filesystem.c b/wsutil/filesystem.c
index b152cd19e8..bb948753c2 100644
--- a/wsutil/filesystem.c
+++ b/wsutil/filesystem.c
@@ -60,13 +60,13 @@
enum configuration_namespace_e {
CONFIGURATION_NAMESPACE_UNINITIALIZED,
CONFIGURATION_NAMESPACE_WIRESHARK,
- CONFIGURATION_NAMESPACE_LOGWOLF
+ CONFIGURATION_NAMESPACE_LOGRAY
};
enum configuration_namespace_e configuration_namespace = CONFIGURATION_NAMESPACE_UNINITIALIZED;
-#define CONFIGURATION_NAMESPACE_PROPER (configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? "Wireshark" : "Logwolf")
-#define CONFIGURATION_NAMESPACE_LOWER (configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? "wireshark" : "logwolf")
-#define CONFIGURATION_ENVIRONMENT_VARIABLE(suffix) (configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? "WIRESHARK_" suffix : "LOGWOLF_" suffix)
+#define CONFIGURATION_NAMESPACE_PROPER (configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? "Wireshark" : "Logray")
+#define CONFIGURATION_NAMESPACE_LOWER (configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? "wireshark" : "logray")
+#define CONFIGURATION_ENVIRONMENT_VARIABLE(suffix) (configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? "WIRESHARK_" suffix : "LOGRAY_" suffix)
char *persconffile_dir = NULL;
char *datafile_dir = NULL;
@@ -291,9 +291,9 @@ set_configuration_namespace(const char *namespace_name)
{
configuration_namespace = CONFIGURATION_NAMESPACE_WIRESHARK;
}
- else if (g_ascii_strcasecmp(namespace_name, "logwolf") == 0)
+ else if (g_ascii_strcasecmp(namespace_name, "logray") == 0)
{
- configuration_namespace = CONFIGURATION_NAMESPACE_LOGWOLF;
+ configuration_namespace = CONFIGURATION_NAMESPACE_LOGRAY;
}
else
{
@@ -1341,7 +1341,7 @@ get_persconffile_dir_no_profile(void)
const char *persconf_namespace = CONFIGURATION_NAMESPACE_PROPER;
if (env != NULL) {
/*
- * Concatenate %APPDATA% with "\Wireshark" or "\Logwolf".
+ * Concatenate %APPDATA% with "\Wireshark" or "\Logray".
*/
persconffile_dir = g_build_filename(env, persconf_namespace, NULL);
return persconffile_dir;
@@ -1402,7 +1402,7 @@ get_persconffile_dir_no_profile(void)
}
}
path = g_build_filename(homedir,
- configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? ".wireshark" : ".logwolf",
+ configuration_namespace == CONFIGURATION_NAMESPACE_WIRESHARK ? ".wireshark" : ".logray",
NULL);
if (g_file_test(path, G_FILE_TEST_IS_DIR)) {
g_free(xdg_path);
diff --git a/wsutil/filesystem.h b/wsutil/filesystem.h
index 9c8432f813..8363f0842c 100644
--- a/wsutil/filesystem.h
+++ b/wsutil/filesystem.h
@@ -34,14 +34,14 @@ extern "C" {
*
* @param arg0 Executable name hint. Should be argv[0].
* @param namespace_name The namespace to use. "Wireshark" or NULL uses
- * the Wireshark namespace. "Logwolf" uses the Logwolf namespace.
+ * the Wireshark namespace. "Logray" uses the Logray namespace.
* @return NULL on success, and a g_mallocated string containing an error on failure.
*/
WS_DLL_PUBLIC char *configuration_init(const char *arg0, const char *namespace_name);
/**
* Get the configuration namespace name.
- * @return The namespace name. One of "Wireshark" or "Logwolf".
+ * @return The namespace name. One of "Wireshark" or "Logray".
*/
WS_DLL_PUBLIC const char *get_configuration_namespace(void);