Wireshark-commits: [Wireshark-commits] master cc679ca: Qt: Add check for field extractors
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 5 Feb 2016 05:35:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cc679ca5ce9af9fb0dc9afe360d12654f6b4027a
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

cc679ca by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    Qt: Add check for field extractors
    
    The proto tree is needed in several cases when using Lua field extractors,
    because they fetch values from the tree.  Without a valid field extractor
    a Lua plugin may misbehave and display wrong column info.
    
    This fixes column issues when:
    - Calling resetColumns() in Qt.  This involves adding a display filter,
      change time display format, change name resolution and other changes
      in UI which requires column updates.
    - Print summary lines.
    - Export as CSV and PSML.
    
    Change-Id: Ieed6f8578cdf2759f1f836cd8413a4529b7bbd80
    Reviewed-on: https://code.wireshark.org/review/13708
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  4c144c5   Qt: Reset columns before auto resize time columns
    adds  cc679ca   Qt: Add check for field extractors


Summary of changes:
 debian/libwireshark0.symbols |    1 +
 epan/column-utils.c          |   14 ++++++++++++++
 epan/column-utils.h          |    5 +++++
 epan/dfilter/dfilter.c       |    6 ++++++
 epan/dfilter/dfilter.h       |    4 ++++
 epan/wslua/wslua.h           |    1 +
 epan/wslua/wslua_field.c     |    5 +++++
 file.c                       |   10 +++++-----
 ui/qt/packet_list_record.cpp |    5 +++--
 9 files changed, 44 insertions(+), 7 deletions(-)