Wireshark-commits: [Wireshark-commits] master 6124ee2: extcap: Reload values on request
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 05 Apr 2018 09:31:33 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6124ee2a1c06ccc96c3e9aa62c136f34085bfa61
Submitter: Roland Knall (rknall@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6124ee2 by Roland Knall (roland.knall@xxxxxxxxxxxxxxxxx):

    extcap: Reload values on request
    
    Allow certaing elements to be reloaded upon request. The way
    this works is, certain elements can be configured to be reloadable.
    
    By doing so, the extcap is asked once more just for the values
    list of this item, together with all already set options, and
    reloads the available options depending on the response.
    
    Only supported for selector. Radio and Multiselect will need
    additional patches, also moving those parts outside of extcap_argument.cpp
    might make sense before hand.
    
    Change-Id: I2e9e3d109b334bf878835a7cc9354f468bc22dee
    Reviewed-on: https://code.wireshark.org/review/26223
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
    

Actions performed:

    from  c2422d7   extcap: Tell utilities the wireshark version
    adds  6124ee2   extcap: Reload values on request


Summary of changes:
 doc/extcap_example.py                 |  42 +++++++---
 extcap.c                              |  63 +++++++++++++++
 extcap.h                              |  13 +++-
 extcap_parser.c                       | 143 ++++++++++++++++++++++------------
 extcap_parser.h                       |   6 ++
 ui/qt/extcap_argument.cpp             | 143 +++++++++++++++++++++++++++-------
 ui/qt/extcap_argument.h               |  26 ++++---
 ui/qt/extcap_argument_file.cpp        |   4 +-
 ui/qt/extcap_argument_file.h          |   2 +-
 ui/qt/extcap_argument_multiselect.cpp |   4 +-
 ui/qt/extcap_argument_multiselect.h   |   2 +-
 ui/qt/extcap_options_dialog.cpp       |  71 ++++++++++++++++-
 ui/qt/extcap_options_dialog.h         |   4 +
 13 files changed, 418 insertions(+), 105 deletions(-)