aboutsummaryrefslogtreecommitdiffstats
path: root/ui/win32
AgeCommit message (Collapse)AuthorFilesLines
2012-12-26Squelch some more discarding-qualifiers warnings.Guy Harris2-5/+5
svn path=/trunk/; revision=46771
2012-10-21Simplify #ifdef blocksPascal Quantin1-6/+5
svn path=/trunk/; revision=45694
2012-10-21Revert r45692 and try to fix link failure another way: console_win32.[ch] ↵Pascal Quantin3-0/+264
definitely belong to ui/win32 Add console_win32.[ch] to Makefile.am svn path=/trunk/; revision=45693
2012-10-21Try to fix LINK : fatal error LNK1181: cannot open input file ↵Alexis La Goutte2-263/+0
'win32/console_win32.obj' move ui/win32/console_win32.[ch] to ui/console_win32.[ch] svn path=/trunk/; revision=45692
2012-10-21Make Windows Buildbot happyAlexis La Goutte1-1/+1
svn path=/trunk/; revision=45691
2012-10-21Make buildbot happy and add modelines infoAlexis La Goutte2-12/+39
svn path=/trunk/; revision=45690
2012-10-21Move MSWindows console "windows" to ui/win32/console_win32.[ch]Alexis La Goutte2-0/+236
svn path=/trunk/; revision=45677
2012-10-16Use topic_action instead of topic_cb for the Windows file dialogs. MoveGerald Combs1-8/+8
the common Qt help code to wireshark_application.cpp. svn path=/trunk/; revision=45594
2012-10-16Move common SSL key export routines to ui/ssl_key_export.[ch]. Make theGerald Combs1-7/+6
exported keys a gchar *. Implement SSL key exports in the Qt UI. Remove some no-longer-necessary packet-ssl*.h includes. Change lastOpenDir().absolutePath() to .canonicalPath(). Get rid of the "Export As PostScript" action. svn path=/trunk/; revision=45589
2012-10-13Fix Windows compilation problems from r45513. #ifdef out some non-WindowsGerald Combs2-8/+8
code. Get rid of a few uses of the global cfile. svn path=/trunk/; revision=45514
2012-10-11In GTK3 the settings.ini file serves the same purpose as the gtkrc file.Anders Broman1-0/+5
It should be copied to the wireshark executable dir ..\etc\gtk-3.0 I'm not sure if this is the right place to put it. makefile will be updated later if no one beats me to it or has a better idea where to put the file. I'm not sure if we should strive to make the GTK3 version as equal to the GTK2 version as possible or accept that it looks more like the *nix version. If we are to use it it needs to be in the nsi installer as well. svn path=/trunk/; revision=45474
2012-10-09Move a couple of enums to the common UI directory. Remove an unusedGerald Combs2-24/+8
definition. svn path=/trunk/; revision=45440
2012-10-09Fix Qt compilation on Windows. Check the user-supplied range syntaxGerald Combs1-19/+57
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-1/+1
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-08Fix crash when exporting packet dissection as plain text on Windows ↵Pascal Quantin1-0/+2
(regression introduced in r45333) svn path=/trunk/; revision=45378
2012-10-05Add a capture_file * element to packet_range_t and pass it explicitly inGerald Combs1-10/+8
packet_range_init(). Get rid of global cfile references in packet-range.c. C++-ize packet-range.h. Shuffle some includes around. svn path=/trunk/; revision=45333
2012-10-03Fix compilation on Windows. Add back and fix function definitions,Gerald Combs2-6/+23
fix doxygen d ocumentation, other fixes. svn path=/trunk/; revision=45298
2012-10-03Unify the GTK+ and Win32 versions of "Export Specified Packets". Add aGerald Combs2-178/+59
shared "file_add_extension" routine. We no longer support _MSC_VER < 1400 so get rid of some clutter. Add a gzip checkbox to the Win32 export packets dialog. Windows code hasn't yet been tested (and is likely broken). I'll fix it shortly. svn path=/trunk/; revision=45296
2012-09-25Fix error checking logic.Gerald Combs1-1/+1
svn path=/trunk/; revision=45144
2012-09-24Fix compilation on Windows.Gerald Combs2-9/+10
svn path=/trunk/; revision=45106
2012-09-24Unify some of the GTK+ and Win32 "Save As" code and behavior. This willGerald Combs2-229/+106
likely break compilation on Windows. I'll take care of it shortly. svn path=/trunk/; revision=45105
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45016
2012-09-19Add gzip support to the Win32 "Save As" dialog. Don't crash in the Win32Gerald Combs2-24/+58
merge dialog if we cancel. Adjust the size and location of the controls in the Win32 open and merge file templates. svn path=/trunk/; revision=45014
2012-09-10Combine some of the the Windows and non-Windows merge code and make itGerald Combs2-88/+59
behave the same on each platform. This might break the non-Windows builds. I'll test & fix any problems shortly. svn path=/trunk/; revision=44859
2012-08-14Fix compilation warnings.Gerald Combs1-1/+1
svn path=/trunk/; revision=44489
2012-07-31Don't overwrite preview item labels.Gerald Combs1-0/+6
svn path=/trunk/; revision=44173
2012-07-27Add a preview to the common file dialog. Adjust the win32 file dialogGerald Combs1-6/+6
preview logic slightly. svn path=/trunk/; revision=44080
2012-07-21Remove the filename from the Win32 file dialog preview. It's alreadyGerald Combs2-122/+123
shown in two places and there's no reason to show it in a third. Use CommDlg_OpenSave_GetFilePath instead of CommDlg_OpenSave_GetSpec so that previews work properly for folders. svn path=/trunk/; revision=43877
2012-07-16Move most of file_open_cmd to gtk_open_file. Make gtk_open_fileGerald Combs2-65/+61
and win32_open_file behave similarly. _snwprintf is "banned". Use StringCchPrintf instead. Tested on Windows. I'll test on OS X shortly. svn path=/trunk/; revision=43756
2012-07-12Use win32_open_file in qtshark on Windows.Gerald Combs1-4/+12
svn path=/trunk/; revision=43677
2012-07-11MSDN says DIALOG resources are obsolete. Use DIALOGEXes instead. We aren'tGerald Combs1-3/+3
adding extra controls to the save dialog any more so remove its template. svn path=/trunk/; revision=43676
2012-07-09From Michael Mann:Anders Broman2-13/+19
GUI use external name resolver proliferation https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7380 svn path=/trunk/; revision=43615
2012-07-06From Michael Mann:Anders Broman1-7/+6
Generic preferences implementation - Printing and Name Resolution. svn path=/trunk/; revision=43579
2012-06-28Update Free Software Foundation address.Jakub Zawadzki4-4/+4
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-23In the Windows capture file "Save As" dialog code, do the same sort ofGuy Harris2-59/+250
checks for the inability to save comments that we do for UN*X. This should fix bug 7222, although the UI isn't currently as nice, as the dialog boxes are Windows dialog boxes and we don't set the button labels to reflect the actual choices being offered to the user. (We may be able to do that by using template resources to construct the message boxes.) svn path=/trunk/; revision=43444
2012-06-20MAke it compile by adding discard_comments = FALSEAnders Broman1-1/+1
svn path=/trunk/; revision=43394
2012-06-17Export a wtap_dump_can_write_encaps() routine from Wiretap; it takes aGuy Harris1-16/+3
file type and a GArray of encapsulation types and returns TRUE if a capture with all those encapsulation types can be written to a file in that file type and FALSE otherwise. Use it where appropriate. svn path=/trunk/; revision=43315
2012-06-17Reflect change to wtap_get_savable_file_types.Guy Harris1-2/+2
svn path=/trunk/; revision=43302
2012-06-13Add '*.sbr' to 'clean'Bill Meier1-1/+1
svn path=/trunk/; revision=43233
2012-05-25See if this fixes the include problem.Guy Harris1-1/+1
svn path=/trunk/; revision=42857
2012-05-25Fix some build problems.Guy Harris1-4/+1
svn path=/trunk/; revision=42856
2012-05-25Use GTK+'s GtkMessageDialog for the questions we ask in the process ofGuy Harris2-36/+7
saving files, and run it modal (which we're already doing with the GtkFileChooserDialog); this means less callback-based state machine stuff, simplifying the code paths a bit. If we're saving a file before closing it, don't bother reloading it after saving it. svn path=/trunk/; revision=42855
2012-05-24We have to tell cf_save_packets() whether to save them in compressedGuy Harris1-1/+1
form; say "don't" for now. svn path=/trunk/; revision=42817
2012-05-24In the "Save As" and "Export Specified Packets" code path, do a "safeGuy Harris1-53/+32
save" if the destination file exists. Don't forbid overwriting an existing file in either of those cases (we still forbid overwriting the current capture file) - the GUI asks the user whether they want to do the overwrite, and allows them to cancel out of it - and don't remove the file before writing to it (doing so makes the save *un*safe). Attempt to do a save of an unedited temporary file by just moving the file on Windows as well as on UN*X - ws_rename() will remove the target if necessary on Windows (and won't do it as a separate operation before attempting the rename), so it behaves like ws_rename() on UN*X (which is just a wrapper around rename()). svn path=/trunk/; revision=42816
2012-05-23Fix comparison of file extension with extensions for the file type -Guy Harris1-15/+21
compare extension with extension, not dot-plus-extension with extension. Skip unnecesary test. Clean up white space. svn path=/trunk/; revision=42803
2012-05-23In Windows, in the Save As and Export Selected Packets dialog, appendGuy Harris1-9/+59
the default extension for the file type iff the file type we're using has a list of extensions; the file has no extension or it has one but it's not one of the ones in the list. *Don't* expect a file extension to be at most 5 characters plus the dot - the extension for pcap-ng, our default capture file type, is "pcapng", and that's 6 characters! svn path=/trunk/; revision=42800
2012-05-23No packet range stuff for the "Save As" dialog.Guy Harris1-1/+1
svn path=/trunk/; revision=42799
2012-05-22Do the "Save As always saves the entire capture, Export SpecifiedGuy Harris2-14/+235
Packets saves specified packets" stuff for Windows. svn path=/trunk/; revision=42794
2012-05-22cf_save -> cf_save_asAnders Broman1-1/+1
svn path=/trunk/; revision=42781
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