aboutsummaryrefslogtreecommitdiffstats
path: root/ui/win32
AgeCommit message (Collapse)AuthorFilesLines
2012-04-04Add a "-build" argument to checkAPIs.pl. Use that argument when buildingJeff Morriss1-1/+1
from makefiles (and thus from the buildbot). The intention is to be able to tell when a human is running the tool so we can provide more code-review guidance. As a starter, enable the "too many proto_tree_add_text() calls" check when a human is running the tool. svn path=/trunk/; revision=41943
2012-02-28Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3315 -Jeff Morriss1-2/+8
make Save-As/Displayed/All-Packets save not only the displayed packets but also any other packets needed (e.g., for reassembly) to fully dissect the displayed packets. This works only for the "All packets" case; choosing only the Selected packet, the Marked packets, or a range of packets would require actually storing which packets depend on which (too much memory) or going through the packet list many times (too slow). Also, this behavior is always the case: you can't save the displayed packets without their dependencies (I don't see why this would be desirable). So far this is done for SCTP and things using the reassembly routines (TCP has been tested). The Win32 dialog was modified but hasn't been tested yet. One confusing aspect of the UI is that the Displayed count in the Save-As dialog does not match the number of displayed packets. (I tried renaming the button "Displayed + Dependencies" but it looked too big.) The tooltip tries to explain this and the fact that this works only in the All-Packets case; suggestions for improvement are welcome. Implementation details: Dissectors (or the reassembly code) can list frames which were needed to build the current frame's tree. If the current frame passes the display filter then each listed frame is marked as "depended upon" (this takes up the last free frame_data flag). When performing a Save-As/Displayed/All-Packets then choose packets which passed the dfilter _or_ are depended upon. svn path=/trunk/; revision=41216
2012-02-24CVARSDLL hasn't been used (is undefined) for a while....Bill Meier1-1/+1
svn path=/trunk/; revision=41180
2012-02-19We renamed "libui_win32.lib" to "libgtkui_win32.lib" elsewhere; fix itGuy Harris1-3/+3
here. svn path=/trunk/; revision=41062
2012-01-24build_file_save_type_list() isn't called if there are no savable fileGuy Harris1-8/+3
types. svn path=/trunk/; revision=40690
2012-01-24Only free the file extensions list if there is one to free.Guy Harris1-1/+1
svn path=/trunk/; revision=40689
2012-01-24Don't free the list of savable file types in build_file_save_type_list()Guy Harris1-1/+0
- we use it later, and we're freeing it later. svn path=/trunk/; revision=40688
2012-01-24Fix warnings.Guy Harris1-1/+2
svn path=/trunk/; revision=40687
2012-01-24Use wtap_get_savable_file_types() for the Win32 file save dialog.Guy Harris1-105/+83
svn path=/trunk/; revision=40686
2012-01-24Don't treate WTAP_FILE_UNKNOWN as a real file type.Guy Harris1-0/+8
svn path=/trunk/; revision=40679
2012-01-23In the table of capture file types, have:Guy Harris1-2/+2
a field that gives the default extension for the file type, *without* a leading "." (i.e., just the extension, not the "." that separates it from the rest of the file name), which is NULL if there are no known extensions; a field that gives a semicolon-separated list of *other* extensions, without "*." or ".", which is NULL if there are no known extensions or there are no known extensions other than the default. Rename wtap_file_extension_default_string() to wtap_default_file_extension() (matches the name of the field). svn path=/trunk/; revision=40678
2012-01-23g_string_append_printf() returns nothing.Guy Harris1-1/+1
svn path=/trunk/; revision=40676
2012-01-23Have wtap_file_extension_default_string() return the extension in theGuy Harris1-1/+1
sense of "what follows the last . in the file name", i.e. not including the ".". svn path=/trunk/; revision=40674
2012-01-22All valid file types should have file type strings (and, currently, theyGuy Harris1-14/+20
all do); get rid of the test for a null return from wtap_file_type_string().) If wtap_get_file_extensions_list() returns NULL, include the file type in the list of filters, and use "*.*" as the filter. That way the list of filters will include all file types, even if you can't really ask only for files of that type (actually, you can't really ask only for files of *any* type unless you're running under a desktop environment where file types are specified by, for example, looking for magic numbers, as there's no guarantee that, for example, a pcap file will have an extension at all, given that it might come from a command-line tool that doesn't default to any extension). svn path=/trunk/; revision=40650
2012-01-21We already added the separator *if* we needed it; don't add it again.Guy Harris1-1/+1
svn path=/trunk/; revision=40643
2012-01-21Well, yeah, you can leave the list of patterns out, but then they don'tGuy Harris1-1/+2
show up in the UI, and they appear to show up in the UI in the Windows apps I've seen, so I guess Windows apps put the list of patterns into the description. svn path=/trunk/; revision=40642
2012-01-21Fix calls to g_string_free() (added so as not to leak memory).Guy Harris1-2/+2
svn path=/trunk/; revision=40641
2012-01-21At least according to the Microsoft documentation, you don't duplicateGuy Harris1-17/+17
the list of patterns; see what happens. svn path=/trunk/; revision=40640
2012-01-21What you get from wtap_get_file_extensions_list() are extensions, notGuy Harris1-2/+2
patterns; add the "*.". svn path=/trunk/; revision=40639
2012-01-21Fix print call.Guy Harris1-1/+1
svn path=/trunk/; revision=40638
2012-01-21Append the trailing ), don't overwrite the string.Guy Harris1-1/+1
svn path=/trunk/; revision=40637
2012-01-21Add missing variable.Guy Harris1-0/+1
svn path=/trunk/; revision=40624
2012-01-21Replace wtap_file_extensions_string() with a routine that returns aGuy Harris1-4/+23
GSList of extensions for a file type, including extensions for the compressed versions of those file types that we can read. svn path=/trunk/; revision=40623
2012-01-18New include file needs to be included.Guy Harris1-0/+2
svn path=/trunk/; revision=40567
2012-01-16Just include it from the current directory.Guy Harris1-1/+1
svn path=/trunk/; revision=40537
2012-01-16Another fix for the move of the win32 directory.Guy Harris1-1/+1
svn path=/trunk/; revision=40536
2012-01-16Fix up for the move from the top-level directory to the ui directory.Guy Harris1-5/+5
svn path=/trunk/; revision=40534
2012-01-16Make the win32 directory a subdirectory of the ui directory.Guy Harris5-0/+2621
svn path=/trunk/; revision=40531