Wireshark-commits: [Wireshark-commits] master 390071e: Qt: Import Profile information
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 17 Jul 2019 18:25:18 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=390071ed0bc8aaf378c3468989ccde1c93817542
Submitter: "Roland Knall <rknall@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

390071e by Roland Knall (rknall@xxxxxxxxx):

    Qt: Import Profile information
    
    Allow easy import of profiles. Profiles must be stored inside
    a zip file, with no additional hierarchy.
    
    Change-Id: I0ae77460c20ef6b3e447906e671b0cefa6b9b032
    Reviewed-on: https://code.wireshark.org/review/33881
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  0696d93   Don't just grab raw string data with tvb_memcpy().
     add  390071e   Qt: Import Profile information


Summary of changes:
 CMakeLists.txt                                     |  18 +++
 CMakeOptions.txt                                   |   1 +
 cmake/modules/FindMinizip.cmake                    |  52 +++++++++
 cmakeconfig.h.in                                   |   3 +
 tools/alpine-setup.sh                              |   1 +
 tools/debian-setup.sh                              |   1 +
 tools/macos-setup-brew.sh                          |   2 +-
 tools/rpm-setup.sh                                 |   1 +
 tools/win-setup.ps1                                |   7 +-
 ui/profile.c                                       |   4 +
 ui/qt/CMakeLists.txt                               |   4 +-
 ui/qt/main_status_bar.cpp                          |   3 +
 ui/qt/models/profile_model.cpp                     | 121 +++++++++++++++++---
 ui/qt/models/profile_model.h                       |  10 ++
 ui/qt/profile_dialog.cpp                           |  38 ++++++-
 ui/qt/profile_dialog.h                             |   7 +-
 ui/qt/profile_dialog.ui                            |  25 +----
 ui/qt/utils/wireshark_zip_helper.cpp               | 123 +++++++++++++++++++++
 .../qt/utils/wireshark_zip_helper.h                |  28 ++---
 19 files changed, 395 insertions(+), 54 deletions(-)
 create mode 100644 cmake/modules/FindMinizip.cmake
 create mode 100644 ui/qt/utils/wireshark_zip_helper.cpp
 copy epan/crc6-tvb.c => ui/qt/utils/wireshark_zip_helper.h (56%)