Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master 795f4eb: Qt+Win32: Make software updates more friendl

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 20 Dec 2016 14:18:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=795f4eb106d877ba6f2bd30524cc871404e9e42a
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

795f4eb by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Qt+Win32: Make software updates more friendly.
    
    Add WinSparkle can_shutdown and shutdown_request callbacks which are
    called prior to running the installer. Reject updates when we have
    unsaved information. Add notes about possible improvements.
    
    Ping-Bug: 9687
    Ping-Bug: 12989
    Change-Id: Ia126244b311417aa3105ea8136f186adc2745445
    Reviewed-on: https://code.wireshark.org/review/19244
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  0de990e   packet-rtp.c: Fixed problem - when ED137 header was decoded with tshark, no ED137 headers were shown.
    adds  795f4eb   Qt+Win32: Make software updates more friendly.


Summary of changes:
 ui/gtk/main.c                   |   16 +
 ui/qt/main_window.cpp           |   27 +-
 ui/qt/main_window.h             |    7 +
 ui/qt/main_window_slots.cpp     |   11 +
 ui/qt/wireshark_application.cpp |   47 +++
 ui/qt/wireshark_application.h   |   15 +
 ui/software_update.c            |   22 +-
 ui/software_update.h            |   13 +
 wsutil/file_util.c              |  632 ++++++++++++++++++++-------------------
 wsutil/file_util.h              |    4 +
 10 files changed, 471 insertions(+), 323 deletions(-)