Wireshark-commits: [Wireshark-commits] master ecc4f75: Added Reload Lua plugins.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ecc4f756bdb6175cc0b3b11af2f90884db1c602c
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
ecc4f75 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
Added Reload Lua plugins.
This is initial support for reloading Lua plugins without
restarting the application.
Still todo:
- Deregister FileHandlers
- Support deregister ProtoField with existing abbrev (same_name_hfinfo)
- Add a progress dialog when reloading many plugins
- Search for memory leakages in wslua functions
Change-Id: I48870d8741251705ca15ffe1068613fcb0cb18c1
Reviewed-on: https://code.wireshark.org/review/5028
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Actions performed:
from 70d06de [SMCR] Minimum 4 bytes is required to perform the heuristic check.
adds ecc4f75 Added Reload Lua plugins.
Summary of changes:
asn1/ldap/packet-ldap-template.c | 4 +-
debian/libwireshark0.symbols | 17 +++-
epan/dissectors/packet-http.c | 4 +-
epan/dissectors/packet-imf.c | 4 +-
epan/dissectors/packet-ldap.c | 4 +-
epan/expert.c | 5 +
epan/expert.h | 5 +
epan/funnel.c | 102 +++++++++++++++++---
epan/funnel.h | 11 ++-
epan/packet.c | 70 ++++++++++++++
epan/packet.h | 19 +++-
epan/prefs.c | 31 +++++++
epan/prefs.h | 5 +
epan/proto.c | 47 +++++++++-
epan/proto.h | 12 ++-
epan/wmem/wmem_tree.c | 16 +++-
epan/wmem/wmem_tree.h | 7 ++
epan/wslua/init_wslua.c | 101 ++++++++++++++------
epan/wslua/init_wslua.h | 2 +
epan/wslua/wslua.h | 17 +++-
epan/wslua/wslua_dissector.c | 44 ++++++++-
epan/wslua/wslua_field.c | 6 +-
epan/wslua/wslua_file_handler.c | 5 +
epan/wslua/wslua_gui.c | 21 ++++-
epan/wslua/wslua_listener.c | 49 ++++++++--
epan/wslua/wslua_pref.c | 8 +-
epan/wslua/wslua_proto.c | 110 ++++++++++++++++++----
epan/wslua/wslua_proto_expert.c | 16 +---
epan/wslua/wslua_proto_field.c | 33 ++++---
epan/wslua/wslua_tree.c | 1 +
register.h | 1 +
ui/cli/tap-funnel.c | 1 +
ui/gtk/funnel_stat.c | 1 +
ui/qt/funnel_statistics.cpp | 60 ++++++++++--
ui/qt/funnel_statistics.h | 4 +
ui/qt/funnel_string_dialog.cpp | 18 +++-
ui/qt/funnel_string_dialog.h | 3 +-
ui/qt/main_window.cpp | 190 +++++++++++++++++++++++++-------------
ui/qt/main_window.h | 7 ++
ui/qt/main_window.ui | 12 +++
ui/qt/main_window_slots.cpp | 28 ++++++
ui/qt/simple_dialog.cpp | 8 +-
ui/qt/splash_overlay.cpp | 3 +
ui/qt/wireshark_application.cpp | 60 +++++++++++-
ui/qt/wireshark_application.h | 9 ++
45 files changed, 980 insertions(+), 201 deletions(-)