aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/capture_file_dialog.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-11-21Add a statistics tree dialog.Gerald Combs1-1/+1
Add menu items for each corresponding item in gtk/main_menubar.c that calls gtk_stats_tree_cb(). Hopefully that's everything. Note that we use quite a bit less code than the GTK+ flavor and why we might not want to do that. Change a few things in ui/qt/CMakeLists.txt to more closely match the GTK+ version. Add plumbing for tap registrations in CMakeLists.txt and Makefile.am. Add the ability to copy text as CSV or YAML. svn path=/trunk/; revision=53464
2013-11-17Move the epan/filesystem.c routines to wsutil; they're not specific toGuy Harris1-1/+1
packet dissection, they're specific to the entire Wireshark suite of programs. svn path=/trunk/; revision=53377
2013-11-09Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec.Jakub Zawadzki1-1/+1
After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184
2013-11-08The "file types" we have are actually combinations of types andGuy Harris1-10/+10
subtypes, e.g. Network Monitor version 1 and Network Monitor version 2 are separate "file types", even though they both come from Network Monitor. Rename various functions, #defines, and variables appropriately. svn path=/trunk/; revision=53166
2013-11-08For open dialogs, offer a list of sets of extensions, not of file types;Guy Harris1-8/+75
.cap, for example, doesn't refer to a particular file type - a whole bunch of file types use .cap. Also offer, in addition to "All Files", "All Capture Files", which matches all the extensions we know about. svn path=/trunk/; revision=53156
2013-10-11Remove GTK+ and global cfile dependencies from file_dlg_win32.c.Gerald Combs1-1/+1
Move the declaration of set_last_open_dir() to ui/util.h. It still has separate GTK+ and Qt implemenations. We might want to move it to ui/util.c at some point. Remove a lot of unnecessary GTK+ includes. Remove most of the references to the global cfile while we're at it. svn path=/trunk/; revision=52542
2013-08-29Add support for Qt5 (tested with 5.1.1).Gerald Combs1-7/+8
svn path=/trunk/; revision=51580
2013-07-12packet-range.h moved to the epan directory.Guy Harris1-1/+1
svn path=/trunk/; revision=50518
2013-06-25Move a couple of time-related modules into wsutil.Jeff Morriss1-1/+1
A bunch of files didn't really need to include these header files so remove the include line rather than changing it. svn path=/trunk/; revision=50154
2013-04-24The porting guide for Qt5 requires that Q_OS_ be used insteadJörg Mayer1-16/+16
of Q_WS_ in Qt4 projects See: http://qt-project.org/doc/qt-5.0/qtdoc/portingguide.html svn path=/trunk/; revision=49013
2013-04-01Add a wtap_dump_can_write() routine that indicates whether WiretapGuy Harris1-6/+1
supports writing files with a given set of encapsulations and comment types. Use it, rather than asking for a list of file formats that support the given set of encapsulation and comment types and checking whether we got back such a list, or duplicating its logic. Having file.c use it means that nobody's using wtap_dump_can_write_encaps() any more; get rid of it. Instead, have a private routine that checks whether a given file format supports a given set of encapsulations *and* comment types, and use that internally. svn path=/trunk/; revision=48690
2013-04-01Define a collection of bits for different types of capture file comments.Guy Harris1-25/+33
For each capture file type, have a bitset of comment types supported by that capture file type. Add a Wiretap routine that, for a given file type, returns the bitset of comment types it supports. Have wtap_get_savable_file_types() take a bitset of comment types that need to be supported by the file types it returns. Replace cf_has_comments() with a routine that returns a bitset of capture file comment types in the capture file. Use those routines in the capture file dialogs; don't wire in the notion that pcap-NG supports all comment types and no other file formats support any comment types. (That's currently true, but we don't want to wire that in as being forever true.) svn path=/trunk/; revision=48689
2013-01-05Break out preference type names, type descriptions, stringGerald Combs1-2/+0
representations, and default status out of write_prefs and into their own routines. Split the corresponding custom preference write callbacks. Fix an apparent memory leak in the hidden column callback. Add an initial preferences dialog to the Qt port. Use the new preference routines to implement an "Adavanced" page similar to the "about:config" page available in many web browsers. Standard pages will hopefully follow soon. Remove some QDebug includes and make sure our QTreeWidgets have uniform row heights set. svn path=/trunk/; revision=46942
2012-12-05Add more missing #includes.Gerald Combs1-0/+2
svn path=/trunk/; revision=46410
2012-10-24Make new text translatable for Qtshark * export_dissection_dialog.cpp * ↵Alexis La Goutte1-19/+19
file_set_dialog.ui * export_object_dialog.cpp * capture_file_dialog.cpp svn path=/trunk/; revision=45761
2012-10-16Use topic_action instead of topic_cb for the Windows file dialogs. MoveGerald Combs1-23/+5
the common Qt help code to wireshark_application.cpp. svn path=/trunk/; revision=45594
2012-10-16Remove some no-longer-needed SSL dummy routines.Gerald Combs1-20/+0
svn path=/trunk/; revision=45590
2012-10-15Add help buttons. Ifdef out some code on Windows.Gerald Combs1-4/+37
svn path=/trunk/; revision=45564
2012-10-13Reduce variable scopes where possible.Evan Huus1-2/+3
svn path=/trunk/; revision=45518
2012-10-13Fix initialization order.Gerald Combs1-1/+1
svn path=/trunk/; revision=45515
2012-10-13Fix Windows compilation problems from r45513. #ifdef out some non-WindowsGerald Combs1-107/+110
code. Get rid of a few uses of the global cfile. svn path=/trunk/; revision=45514
2012-10-12Add a packet format group box, similar to the packet range group box.Gerald Combs1-25/+22
Use it in the new "Export Packet Dissections" dialog. I'm omitting PostScript exports on purpose. If you *really* need that feature you can probably get better results than we produce using text + enscript or print-to-PDF + pdf2ps/pdftops or PSML/PDML + XSL + ... The Windows code is untested. I'll check in any needed fixes shortly. svn path=/trunk/; revision=45513
2012-10-11Make new text translatable (a Alexis La Goutte1-1/+1
And lupdate QtShark.pro (update translation file) Updating 'qtshark_de.ts'... Found 257 source text(s) (15 new and 242 already existing) Kept 1 obsolete entries Updating 'qtshark_fr.ts'... Found 257 source text(s) (15 new and 242 already existing) Kept 1 obsolete entries Same-text heuristic provided 1 translation(s) svn path=/trunk/; revision=45492
2012-10-09Fix Qt compilation on Windows. Check the user-supplied range syntaxGerald Combs1-6/+7
and provide instant feedback in the Win32 file dialog similar to the Qt code. Tango-ize some colors. Escape a backslash in QtShark.pro. svn path=/trunk/; revision=45430
2012-10-08Add a PacketRangeGroupBox widget. Use it to implement "Export SelectedGerald Combs1-27/+92
Packets". Not yet tested on Windows. "Ignore Packet" hasn't been implemented so we can't test that either. Create a SyntaxLineEdit widget from the QLineEdit code in DisplayFilterEdit. Use it in the file import and export dialogs and the PacketRangeGroupBox widget. This lets us provide instant feedback instead of popping up an error dialog. Expand the Tango color list based on http://emilis.info/other/extended_tango . Rearrange QtShark.pro to (hopefully) work better with Qt Creator. svn path=/trunk/; revision=45405
2012-10-04Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-5/+5
svn path=/trunk/; revision=45312
2012-10-03Include packet-range.h on Windows - file_dlg_win32.h usesGuy Harris1-0/+1
packet_range_t, which is defined in packet-range.h. svn path=/trunk/; revision=45300
2012-09-27Only define a parameter name if we end up using it, to fix theEvan Huus1-1/+5
qtshark build on GCC. svn path=/trunk/; revision=45164
2012-09-26Fix compilation on Windows.Gerald Combs1-6/+10
svn path=/trunk/; revision=45160
2012-09-26Implement "Save" and "Save As".Gerald Combs1-24/+179
svn path=/trunk/; revision=45156
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-2/+0
svn path=/trunk/; revision=45017
2012-09-10Use the native merge dialog on Windows. This may break non-Windows builds.Gerald Combs1-26/+49
svn path=/trunk/; revision=44864
2012-09-07I presume the mergeType method is supposed to be provided regardless ofGuy Harris1-9/+9
whether this is Windows or not. svn path=/trunk/; revision=44799
2012-09-06Fix compilation on Windows.Gerald Combs1-131/+106
svn path=/trunk/; revision=44798
2012-09-06Implement File→Merge. Gerald Combs1-115/+221
The GTK+ and native Win32 versions are slightly different. The GTK+ version lets you select an output file type and the Win32 version uses the existing capture filetype. We do the latter for now. Start documenting significant UI changes in README.qt. This might be better handled on the wiki. svn path=/trunk/; revision=44797
2012-09-04Add modelines for Qtshark fileAlexis La Goutte1-0/+13
svn path=/trunk/; revision=44766
2012-07-30Grow the dialog to account for our added widgets.Gerald Combs1-0/+3
svn path=/trunk/; revision=44142
2012-07-27Add a preview to the common file dialog. Adjust the win32 file dialogGerald Combs1-6/+182
preview logic slightly. svn path=/trunk/; revision=44080
2012-07-25Add some link (URL) to Help Menu in QtSharkAlexis La Goutte1-6/+6
* Use QtAutoconnect feature * no (yet ?) use help_dlg.* function (topic_action, topic_online_url...) svn path=/trunk/; revision=43988
2012-07-21Add display filter and name resolution controls to the standard Qt openGerald Combs1-7/+57
file dialog. We still need to add a preview. svn path=/trunk/; revision=43879
2012-07-19Try to fix compilation on non-Windows systems.Gerald Combs1-2/+97
svn path=/trunk/; revision=43837
2012-07-18Update qtshark to match the recent file dialog changes.Gerald Combs1-4/+25
svn path=/trunk/; revision=43786
2012-07-12Use win32_open_file in qtshark on Windows.Gerald Combs1-0/+87
svn path=/trunk/; revision=43677
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-04Add initial support for Qt along with a "ui" subdirectory.Gerald Combs1-0/+29
svn path=/trunk/; revision=40378