Commit Graph

5423 Commits

Author SHA1 Message Date
Jörg Mayer 6d7b0cf5f1 Prevent error about undefined function while linking.
svn path=/trunk/; revision=38078
2011-07-18 12:18:00 +00:00
Michael Tüxen 3e3bc0f7f0 Remove redundant code.
svn path=/trunk/; revision=38063
2011-07-16 17:04:48 +00:00
Michael Tüxen 09fb2cf315 Use correct plausability check.
svn path=/trunk/; revision=38062
2011-07-16 14:19:43 +00:00
Michael Tüxen 09af2bc6d2 Don't allow capturing from multiple interface when compiled with multiple thread
support.

svn path=/trunk/; revision=38057
2011-07-16 11:07:32 +00:00
Michael Tüxen 9adf6c20ca Get rid of two gtk runtime warnings.
svn path=/trunk/; revision=38052
2011-07-15 21:26:43 +00:00
Michael Tüxen 85d399d906 You can't create a mutex without initializing the thread system.
So #ifdef the code with USE_THREADS.

svn path=/trunk/; revision=38045
2011-07-15 14:58:45 +00:00
Michael Tüxen c481dda78c Fix compilation on non-windows platforms defining USE_THREADS.
svn path=/trunk/; revision=38044
2011-07-15 14:31:27 +00:00
Jörg Mayer 00beddf9fc Add a missing ( in the UI_MANAGER case
svn path=/trunk/; revision=38042
2011-07-15 11:14:41 +00:00
Gerald Combs a533d70be0 On Windows enable threads everywhere instead of just in dumpcap. If
threads are enabled use them to check the recent file list. Fixes bug
3810.

svn path=/trunk/; revision=38033
2011-07-14 23:18:02 +00:00
Anders Broman a779bef74d Fix trunk/gtk/menus.c:4427:9: error: ‘sep_entry’ undeclared (first use in this function)
svn path=/trunk/; revision=38031
2011-07-14 22:08:15 +00:00
Jörg Mayer ef1e70dfd7 Remove trailing whitespace
Replace a deprecated gdk function

svn path=/trunk/; revision=38027
2011-07-14 21:25:33 +00:00
Anders Broman 1785a37ab4 Remove €˜GtkItemFactoryEntry code in MAIN_MENU_USE_UIMANAGER
code path.
Don't build and don't use protocol help if MAIN_MENU_USE_UIMANAGER is defined.

svn path=/trunk/; revision=38024
2011-07-14 20:36:00 +00:00
Bill Meier 43806aff9d Fix a crash when doing Telephony ! RTP ! Stream Analysis with capture files with truncated frames.
(That is: the capture files were created with a snapshot length less than the maximum).

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6120


svn path=/trunk/; revision=38023
2011-07-14 19:51:53 +00:00
Michael Tüxen e791424ab6 Add back r37749, which was taken out by accident.
Thanks to Stephen Fisher for pointing it out.

svn path=/trunk/; revision=38018
2011-07-14 16:54:44 +00:00
Jörg Mayer c04911c06a Fix the last non-gtkitemfactory stuff for use with -DGTK_DISABLE_DEPRECATED.
Left are:

gtk/menus.c:4382:5: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/menus.c:4382:26: error: ‘sep_entry’ undeclared (first use in this function)
gtk/proto_help.c:79:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
gtk/proto_help.c:166:2: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:166:2: error: implicit declaration of function ‘gtk_item_factory_from_widget’
gtk/proto_help.c:181:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:183:2: error: implicit declaration of function ‘gtk_item_factory_get_widget’
gtk/proto_help.c:191:2: error: implicit declaration of function ‘gtk_item_factory_get_item’
gtk/proto_help.c:216:2: error: ‘GtkItemFactoryEntry’ undeclared (first use in this function)
gtk/proto_help.c:216:23: error: ‘menu_entry’ undeclared (first use in this function)
gtk/proto_help.c:217:2: error: ISO C90 forbids mixed declarations and code
gtk/proto_help.c:222:6: error: ‘g_ph_menu_factory’ undeclared (first use in this function)
gtk/proto_help.c:258:4: error: implicit declaration of function ‘gtk_item_factory_create_item’


svn path=/trunk/; revision=38015
2011-07-14 09:43:53 +00:00
Anders Broman 6814cd03ee Replace deprecated gdk_pixmap_unref() with g_object_unref().
Update checkAPIs.

svn path=/trunk/; revision=38013
2011-07-14 08:11:16 +00:00
Anders Broman 02e71fb443 From Joerg Mayer:
Patch fixes most of the remaining errors when compiling with
GTK_DISABLE_DEPRECATED.

svn path=/trunk/; revision=38012
2011-07-14 08:02:32 +00:00
Jörg Mayer 3f798982de Update status of compile with -DGTK_DISABLE_DEPRECATED
svn path=/trunk/; revision=38007
2011-07-14 00:16:14 +00:00
Jörg Mayer 11f131b303 Fix some compiler errors with -DGTK_DISABLE_DEPRECATED
svn path=/trunk/; revision=38006
2011-07-14 00:04:37 +00:00
Jörg Mayer 0d30fdf68f make compiling with -DGTK_DISABLE_DEPRECATED work
svn path=/trunk/; revision=38005
2011-07-13 22:49:38 +00:00
Jörg Mayer 275f89b5c2 make compiling with -DGTK_DISABLE_DEPRECATED work
svn path=/trunk/; revision=38004
2011-07-13 22:32:05 +00:00
Anders Broman 1494865058 Remove two deprecated functions.
svn path=/trunk/; revision=37997
2011-07-13 14:47:31 +00:00
Anders Broman cb98a2b2c2 Fix more tooltips fixes.
svn path=/trunk/; revision=37996
2011-07-13 08:48:13 +00:00
Michael Tüxen 865240b6ba Display interface stuff only when interfaces are available.
svn path=/trunk/; revision=37995
2011-07-12 21:33:11 +00:00
Michael Tüxen a73931eafd This fixes the compile issue reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6111


svn path=/trunk/; revision=37990
2011-07-12 11:06:44 +00:00
Anders Broman baf0396650 Fix more tooltips.
svn path=/trunk/; revision=37988
2011-07-12 06:54:01 +00:00
Anders Broman fb16948f96 Fix more tooltips.
svn path=/trunk/; revision=37987
2011-07-12 06:15:24 +00:00
Anders Broman ef84ed2d32 Fix more tooltips.
svn path=/trunk/; revision=37980
2011-07-11 21:29:47 +00:00
Gerald Combs 49b92440de More GLIB_CHECK_VERSION cleanups. Update the minimum GLib/GTK+ versions
in README.devloper. Remove g_gnuc.h since it's no longer needed. Remove
tvbuff_init(), tvbuff_cleanup(), reassemble_init(), and
reassemble_cleanup() since they were only used for older GLib versions
which didn't support GSlices. Assume we always support the "matches"
operator.

svn path=/trunk/; revision=37978
2011-07-11 20:32:19 +00:00
Anders Broman 1f923105f8 Fix more tooltips, mark gtk_tooltips_new with 'E' in checkapi.
svn path=/trunk/; revision=37976
2011-07-11 20:01:28 +00:00
Anders Broman 3a35b7229c Fix a couple of tooltips.
svn path=/trunk/; revision=37975
2011-07-11 19:34:57 +00:00
Gerald Combs 4608a76a51 Remaining GLIB_CHECK_VERSION and GTK_CHECK_VERSION in the gtk directory.
svn path=/trunk/; revision=37973
2011-07-11 19:10:57 +00:00
Anders Broman 347c71d9a8 GTK_CHECK_VERSION cleanup.
svn path=/trunk/; revision=37972
2011-07-11 18:54:49 +00:00
Gerald Combs 5ad2293f40 More GLIB_CHECK_VERSION and GTK_CHECK_VERSION cleanup.
svn path=/trunk/; revision=37971
2011-07-11 18:35:36 +00:00
Gerald Combs 2c469e3714 More GLIB_CHECK_VERSION, GTK_CHECK_VERSION, and related whitespace
cleanup.

svn path=/trunk/; revision=37970
2011-07-11 18:18:35 +00:00
Gerald Combs f6d7f90c72 Remove a lot of instances of GTK_CHECK_VERSION. Clean up whitespace in a
couple of places.

svn path=/trunk/; revision=37969
2011-07-11 18:08:08 +00:00
Guy Harris 030ec99939 Point to the right place.
svn path=/trunk/; revision=37944
2011-07-09 01:41:09 +00:00
Balint Reczey a2c55f0c17 Show a hint to read http://wiki.wireshark.org/CaptureSetup/CapturePrivileges
when showing the warning about running Wireshark as root
Thanks to Evan Huus for the suggestion.

svn path=/trunk/; revision=37943
2011-07-09 00:20:13 +00:00
Michael Tüxen 8e93cf895f Use a pixbuf for widgets used for icons.
svn path=/trunk/; revision=37942
2011-07-08 18:29:02 +00:00
Michael Tüxen 0472f42af7 If no interface is specified on the command line, use the default
capture interface if given.

This patch is provided by Irene Ruengeler.


svn path=/trunk/; revision=37939
2011-07-08 13:47:16 +00:00
Michael Tüxen b2ab9d134a You can't select/deselct interfaces in the capture/interfaces
dialog while you are capturing.
This patch is provided by Irene Ruengeler.

svn path=/trunk/; revision=37938
2011-07-08 13:40:00 +00:00
Michael Tüxen d56de3d638 Try to make non-libpcap builds compiling.
svn path=/trunk/; revision=37937
2011-07-08 09:26:34 +00:00
Michael Tüxen 15bf360095 Use the interfaces from the last capturing process as a starting point
for the next one.

Obtained from Irene Ruengeler.

svn path=/trunk/; revision=37936
2011-07-08 08:49:06 +00:00
Jaap Keuter 7890ac3667 Avoid 'variable set but no used' error from compiler.
svn path=/trunk/; revision=37935
2011-07-08 07:52:31 +00:00
Michael Tüxen 746ca92b46 The argument of capture_get_if_icon() is used.
svn path=/trunk/; revision=37932
2011-07-07 21:16:03 +00:00
Michael Tüxen 8fac080296 Try to unbreak the Mac OS X 10.5 buildbots.
svn path=/trunk/; revision=37931
2011-07-07 20:20:55 +00:00
Michael Tüxen 3500412973 Bring back interface icons.
Obtained from Irene Ruengeler.

svn path=/trunk/; revision=37929
2011-07-07 13:57:08 +00:00
Michael Tüxen 20ded72bac Use the interface descriptions again.
This patch is from Irene Ruengeler.

svn path=/trunk/; revision=37928
2011-07-07 13:34:40 +00:00
Michael Tüxen 6542687a78 Fix a crash when using hidden interfaces.
svn path=/trunk/; revision=37925
2011-07-06 17:27:42 +00:00
Martin Mathieson c4dd3e5e5c Add
#if defined(_WIN32) || defined(HAVE_PCAP_CREATE)
around access to interface_options.buffer_size

svn path=/trunk/; revision=37920
2011-07-06 14:56:42 +00:00