Commit Graph

20 Commits

Author SHA1 Message Date
Jaap Keuter 81b585cf8e From Valerio Messina:
As now, when Wireshark save capture files, it show "Loading" in status bar and
in the dialog box, warning many users of lost them packets. Saving work as expected.
Is simply a GUI use interaction problem.

svn path=/trunk/; revision=31269
2009-12-14 22:05:29 +00:00
Kovarththanan Rajaratnam 418699b85d Add utf_8to16_snprintf() which creates a UTF16 string according to the given 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.
svn path=/trunk/; revision=29635
2009-08-31 18:16:16 +00:00
Guy Harris 432cac16f3 "main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
context menus.

Note why we have an empty hex dump pane context menu.

svn path=/trunk/; revision=28794
2009-06-21 19:16:37 +00:00
Bill Meier bec77516a2 file_dlg_win32.c: A fix for VC6 compilation.
svn path=/trunk/; revision=28075
2009-04-17 15:56:53 +00:00
Gerald Combs c0ebf76780 Fix (and likely re-break) the Windows builds:
- 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.

svn path=/trunk/; revision=28067
2009-04-16 18:14:38 +00:00
Gerald Combs 605ef095f9 Fix the last of the Win64 problems in the gtk directory.
svn path=/trunk/; revision=28063
2009-04-16 03:18:10 +00:00
Gerald Combs 0036e670d4 In capture_if_details_dlg_win32.c, don't define a bunch of stuff if
_NTDDNDIS_ is defined. In file_dlg_win32.c, use GetWindowLongPtr()
instead of GetWindowLong().

svn path=/trunk/; revision=28060
2009-04-15 23:23:21 +00:00
Bill Meier 8a651ee15c Fix File ! Export ! Selected Bytes [Windows] crash which
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.
     

svn path=/trunk/; revision=27674
2009-03-09 13:59:41 +00:00
Bill Meier b663f6d218 Fix File ! Save As on Windows to properly delete an existing file even if the
path\filename contains non-ascii characters.

svn path=/trunk/; revision=27662
2009-03-08 22:19:49 +00:00
Gerald Combs 5ff80e9b5f Use the correct data type for the range string in the Win32 file dialog.
Have value_is_in_range() to gracefully handle a NULL range. This might
fix bug 3208.

svn path=/trunk/; revision=27281
2009-01-20 23:33:38 +00:00
Bill Meier 89db5fe608 Change indentation as needed to be consistent for the whole file.
svn path=/trunk/; revision=27271
2009-01-19 22:37:14 +00:00
Bill Meier 819a458161 On Windows: use prefs.gui_fileopen_preview for preview timeout
svn path=/trunk/; revision=27109
2008-12-24 14:18:59 +00:00
Bill Meier 24c4589098 Check current time only every 100 frames during file preview file read
svn path=/trunk/; revision=27108
2008-12-24 13:59:51 +00:00
Bill Meier 8afa208ffb Windows build: #include winsock2.h only when needed.
#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.


svn path=/trunk/; revision=26535
2008-10-24 00:42:09 +00:00
Gerald Combs 7d8e29f501 From Pascal Quantin via bug 2719: Fix support for Microsoft Visual C++ 2008.
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.

svn path=/trunk/; revision=25921
2008-08-04 23:05:32 +00:00
Jeff Morriss 83f9ecf96f Move privileges.c and unicode-utils.c from epan to wsutil (so things like
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.

svn path=/trunk/; revision=25640
2008-06-30 17:16:29 +00:00
Stig Bjørlykke 860028c634 Removed the usage of topic_available() as we now have all topics.
svn path=/trunk/; revision=25505
2008-06-21 13:36:31 +00:00
Guy Harris 60e49f65bc GTK+ 1.2[.x] is no longer relevant - we require 2.x - so don't talk
about it in a comment.

svn path=/trunk/; revision=25419
2008-06-03 23:57:26 +00:00
Guy Harris 861f06b616 Clean up indentation.
svn path=/trunk/; revision=25404
2008-05-30 07:13:28 +00:00
Ulf Lamping 6a5b1e0ec0 use the ending "_win32" for every windows specific file
svn path=/trunk/; revision=24972
2008-04-13 12:14:57 +00:00