Wireshark-commits: [Wireshark-commits] master 30f4f1b: Qt: update import via GUI to match import fe

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 22 Apr 2020 21:31:56 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=30f4f1b0560fbd67867a38bf5e418aac67abc3eb
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

30f4f1b by Andre Luyer (andre@xxxxxxxx):

    Qt: update import via GUI to match import features using text2pcap
    
    Update "Import From Hex Dump" via GUI to allow the same timestamp format as
    supported by the command line tool text2pcap. Added support for:
      %F Equivalent to %Y-%m-%d (the ISO 8601 date format).
      %s The number of seconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
    
    While at it changed the following:
    - Subsecond timestamp dot format (.) is now shown in the timestamp Example Label.
    - A timestamp format without any format (%) now disables Import button.
    
    The field "Timestamp format" in the GUI now accepts exactly the same formatting
    as the text2pcap's -t time format option.
    
    Change-Id: Ie48362f86ed3214288635767d1fc4161599d1907
    Reviewed-on: https://code.wireshark.org/review/36417
    Petri-Dish: Roland Knall <rknall@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
    

Actions performed:

    from  dc4a5b5   LISP: add support for Distinguished Name AFI
     add  30f4f1b   Qt: update import via GUI to match import features using text2pcap


Summary of changes:
 ui/qt/import_text_dialog.cpp | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)