Wireshark-commits: [Wireshark-commits] master af05459: Add capture filter autocompletion.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 20 May 2015 03:04:05 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=af054591c31fdccd8661c87bb3d28cdeb3077db3
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

af05459 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    Add capture filter autocompletion.
    
    Autocomplete on recent and saved capture filters along with the
    primitives in gencode.l in the libpcap sources.
    
    Move common autocomplete code to SyntaxLineEdit.
    Change-Id: I0931a6775bacf9c917c294befbbdaade51d19b93
    Reviewed-on: https://code.wireshark.org/review/8542
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    

Actions performed:

    from  fd98519   Have an add_menu_item() to add items to the menu bar, and use it.
    adds  af05459   Add capture filter autocompletion.


Summary of changes:
 ui/qt/capture_filter_combo.cpp |    7 +-
 ui/qt/capture_filter_edit.cpp  |   75 +++++++++++++++++++--
 ui/qt/capture_filter_edit.h    |    6 +-
 ui/qt/display_filter_edit.cpp  |  143 ++--------------------------------------
 ui/qt/display_filter_edit.h    |   17 +----
 ui/qt/syntax_line_edit.cpp     |  139 +++++++++++++++++++++++++++++++++++++-
 ui/qt/syntax_line_edit.h       |   26 ++++++++
 7 files changed, 251 insertions(+), 162 deletions(-)