Commit graph

20 commits

Author SHA1 Message Date
Jeff Morriss
b4c2ed1b86 Remove some unnecessary includes: a lot of things don't need globals.h and register.h
svn path=/trunk/; revision=34017
2010-08-30 16:10:01 +00:00
Ulf Lamping
b52ffe9b29 fix bug #3439 (thanks to Kovarththanan Rajaratnam), make WS compilable under MSVC2005(EE) again.
Some definitions are not available on MSVC2005. This fix "detects" the MSVC version used, it might still not work with MSVC2008EE though (I guess the required definitions are depending on the Windows SDK installed).

svn path=/trunk/; revision=28879
2009-06-28 21:13:51 +00:00
Anders Broman
135ca5136f Change window_new() to dlg_window_new() and destroy the window with the top level window.
svn path=/trunk/; revision=28796
2009-06-21 20:42:07 +00:00
Gerald Combs
caa884723c For interfaces that don't support PacketOpenAdapter (such as TurboCap),
disable the "Details" button in the interface list. Update an error
dialog to try to be more helpful.

svn path=/trunk/; revision=28675
2009-06-09 20:08:47 +00:00
Tomas Kukosa
0a101aacf6 Make gtk/capture_if_details_dlg_win32.c compileable using MSVC6 with SDK
svn path=/trunk/; revision=28314
2009-05-08 19:53:41 +00:00
Gerald Combs
7573d2215f From Artem Tamazov: Fix compilation for Visual C++ 7.1.
svn path=/trunk/; revision=28110
2009-04-21 21:15:52 +00:00
Gerald Combs
28276f43d0 Try to get Visual C++ 6.0 builds working again.
svn path=/trunk/; revision=28078
2009-04-17 18:19:10 +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
36e002f7e8 Check for _WIN64 instead of _NTDDNDIS_.
svn path=/trunk/; revision=28061
2009-04-15 23:47:46 +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
Ulf Lamping
f0ba6538af add display of IE_ID_COUNTRY, some code cleanup
svn path=/trunk/; revision=27439
2009-02-12 09:42:47 +00:00
Bill Meier
0e7d674d23 Fix for SVN #26535 so that building Wireshark with VC6 doesn't fail.
svn path=/trunk/; revision=26545
2008-10-24 22:13:09 +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
Bill Meier
56206e0002 Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
gtk_container_border_width()          ==> gtk_container_set_border_width()
  gtk_container_children()              ==> gtk_container_get_children()
  gtk_entry_new_with_max_length()       ==> gtk_entry_new(); gtk_entry_set_max_length()
  gtk_menu_append()                     ==> gtk_menu_shell_append()
  gtk_menu_prepend()                    ==> gtk_menu_shell_prepend()
  gtk_notebook_set_page()               ==> gtk_notebook_set_current_page()
  gtk_paned_gutter_size()               ==> gtk_paned_set_gutter_size()
  gtk_radio_button_group()              ==> gtk_radio_button_get_group()
  gtk_signal_connect()                  ==> g_signal_connect()
  gtk_signal_disconnect()               ==> g_signal_handler_disconnect()
  gtk_signal_emit_by_name()             ==> g_signal_emit_by_name()
  gtk_signal_handler_block_by_data()    ==> g_signal_handlers_block_matched()
  gtk_signal_handler_block_by_func()    ==> g_signal_handlers_block_by_func()
  gtk_signal_handler_unblock_by_data()  ==> g_signal-handlers_unblock_matched()
  gtk_signal_handler_unblock_by_func()  ==> g_signal-handlers_unblock_by_func()
  gtk_spin_button_get_value_as_float()  ==> gtk_spin_button_get_value()
  gtk_toggle_button_set_state()         ==> gtk_toggle_button_set_active()

svn path=/trunk/; revision=25634
2008-06-29 15:51:43 +00:00
Stig Bjørlykke
45e0a74c15 And use correct help topic...
svn path=/trunk/; revision=25507
2008-06-21 14:06:08 +00:00
Stig Bjørlykke
7c29c08046 Added help topic item previous reused for another topic.
Todo: add documentation text.

svn path=/trunk/; revision=25506
2008-06-21 13:59:52 +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
Bill Meier
fe5c2d9820 g_string_sprintf --> g_string_printf and g_string_sprintfa --> g_string_append_printf
svn path=/trunk/; revision=25276
2008-05-11 18:33:49 +00:00
Jaap Keuter
2b04d42e4b From Shinsuke SUZUKI:
Since this leads to a compilation failure (Warning C4819: unexpected character
in the current code page) on non-european Windows, I'd like you to avoid using
non-ASCII characters in Wireshark code (even in comment).

svn path=/trunk/; revision=25214
2008-05-02 08:23:21 +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
Renamed from gtk/capture_if_details_dlg.c (Browse further)