aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/file_dlg_win32.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-31Add utf_8to16_snprintf() which creates a UTF16 string according to the given ↵krj1-2/+2
format string. The format string + arguments are expected to be in UTF-8 format. This change effectively removes the only place where we use PRIu64. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29635 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-21"main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, butguy1-1/+1
context menus. Note why we have an empty hex dump pane context menu. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28794 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-17file_dlg_win32.c: A fix for VC6 compilation.wmeier1-0/+20
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28075 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-16Fix (and likely re-break) the Windows builds:gerald1-1/+41
- Use the latest WinPcap Developer's Pack. - In file_dlg_win32.c, try to fix Visual C++ 6.0 compilation. - #if 0 out a bunch of definitions in capture_if_details_dlg_win32.c that already exist in Ntddndis.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28067 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-16Fix the last of the Win64 problems in the gtk directory.gerald1-14/+14
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28063 f5534014-38df-0310-8fa8-9805f1628bb7
2009-04-15In capture_if_details_dlg_win32.c, don't define a bunch of stuff ifgerald1-7/+7
_NTDDNDIS_ is defined. In file_dlg_win32.c, use GetWindowLongPtr() instead of GetWindowLong(). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28060 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-09 Fix File ! Export ! Selected Bytes [Windows] crash whichwmeier1-7/+8
occurred if the file path\filename contained non-ascii characters. 1. Use ws_open() [not open()] so UTF8 path\filenames properly converted to UTF16 before the open; 2. If the open/write/close failed, fix crash due to NULL filename pointer used when trying to popup an error message box. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27674 f5534014-38df-0310-8fa8-9805f1628bb7
2009-03-08Fix File ! Save As on Windows to properly delete an existing file even if the wmeier1-4/+7
path\filename contains non-ascii characters. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27662 f5534014-38df-0310-8fa8-9805f1628bb7
2009-01-20Use the correct data type for the range string in the Win32 file dialog.gerald1-2/+2
Have value_is_in_range() to gracefully handle a NULL range. This might fix bug 3208. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27281 f5534014-38df-0310-8fa8-9805f1628bb7
2009-01-19Change indentation as needed to be consistent for the whole file.wmeier1-480/+494
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27271 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-24On Windows: use prefs.gui_fileopen_preview for preview timeoutwmeier1-2/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27109 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-24Check current time only every 100 frames during file preview file readwmeier1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27108 f5534014-38df-0310-8fa8-9805f1628bb7
2008-10-24Windows build: #include winsock2.h only when needed.wmeier1-5/+6
#include winsock2.h pulls in about 90 distinct .h files and about 140 total .h files. Currently winsock2.h is (mostly unnecessarily) included for each dissector via packet.h/wtap.h. This patch removes #include winsock2.h from wtap.h and then includes winsock2.h (or windows.h) in the few specific places required. With this patch, my Windows Wireshark build takes about 30% less time. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26535 f5534014-38df-0310-8fa8-9805f1628bb7
2008-08-04From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.gerald1-0/+101
From me: Instead of adding adns_config.h, place it a custom adns package in wireshark-win32-libs. Update tools/win32-setup.sh accordingly. Split the MSVC2008EE variant into MSVC2008 and MSVC2008EE, similar to MSVC2005 and MSVC2005EE. We have to worry about vcredist_x86.exe in both cases. Add Pascal to AUTHORS. Update the Developer's Guide. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25921 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-30Move privileges.c and unicode-utils.c from epan to wsutil (so things likemorriss1-1/+1
capinfos and dumpcap don't need to depend on libwireshark nor directly pull in those modules). Because capinfos and editcap were only being linked with privileges.c if we had plugins, this allows those programs to be linked when someone is compiling --without-plugins. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25640 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-21Removed the usage of topic_available() as we now have all topics.stig1-20/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25505 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-03GTK+ 1.2[.x] is no longer relevant - we require 2.x - so don't talkguy1-1/+1
about it in a comment. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25419 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-30Clean up indentation.guy1-256/+256
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25404 f5534014-38df-0310-8fa8-9805f1628bb7
2008-04-13use the ending "_win32" for every windows specific fileulfl1-0/+1672
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24972 f5534014-38df-0310-8fa8-9805f1628bb7