Commit graph

4332 commits

Author SHA1 Message Date
Anders Broman
f4938ecf33 From Jim Young:
Add "Drag and Drop entries..." message on Columns preferences page.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4099

svn path=/trunk/; revision=30381
2009-10-07 05:03:16 +00:00
Stig Bjørlykke
98024a007f Invert check for getopt: NEED_GETOPT_H -> HAVE_GETOPT_H
Rename getopt.[ch] -> wsgetopt.[ch] to avoid name collision.

svn path=/trunk/; revision=30370
2009-10-06 16:01:18 +00:00
Kovarththanan Rajaratnam
e02fcd3990 Remove superfluous cast
svn path=/trunk/; revision=30366
2009-10-06 14:02:01 +00:00
Kovarththanan Rajaratnam
73316149c0 Use G_SEARCHPATH_SEPARATOR_S
svn path=/trunk/; revision=30365
2009-10-06 13:58:17 +00:00
Kovarththanan Rajaratnam
4d0be14403 Make splash_destroy() return a gboolean
svn path=/trunk/; revision=30364
2009-10-06 13:54:32 +00:00
Kovarththanan Rajaratnam
d1dda18cca Guard icon_list_create()
svn path=/trunk/; revision=30363
2009-10-06 13:51:56 +00:00
Stig Bjørlykke
727f0062a7 Mark some functions static.
Removed an unused tooltips.

svn path=/trunk/; revision=30362
2009-10-06 13:26:00 +00:00
Stig Bjørlykke
4355ba12a9 Removed unused variable thdr.
svn path=/trunk/; revision=30359
2009-10-06 13:21:15 +00:00
Stig Bjørlykke
cd31f4d83a Removed unused sortable.
svn path=/trunk/; revision=30358
2009-10-06 13:20:40 +00:00
Anders Broman
b42fda0fd2 From : Didier Gautheron
gtktreeview for conversations:
- use a garray rather than g_realloc memory for conversations list.
- use a hashtable for finding conversation rather than a linear search.

Notes:
- sorting is too slow, I disabled it.
- the dialog box is really a big problem because it's also empty the idle event queue, slow down a lot.
- Test on a 1.5M packets with hundred thousands conversations capture, slow but bearable.

svn path=/trunk/; revision=30353
2009-10-06 07:44:48 +00:00
Stig Bjørlykke
8ad8a9a233 Return from sctp_stat_on_select_row() if nothing selected.
svn path=/trunk/; revision=30338
2009-10-05 17:52:23 +00:00
Anders Broman
2bd73944ff From Didier Gautheron:
Sorting wasn't working right for time columns.

svn path=/trunk/; revision=30336
2009-10-05 17:19:39 +00:00
Anders Broman
73452c577b Prepare to change GtkItemFactory to GtkUIManager.
(Will not have time to work on this for a while).

svn path=/trunk/; revision=30325
2009-10-05 08:32:59 +00:00
Anders Broman
4a0dc1b5b5 Make Wireshark compile on Windows.
svn path=/trunk/; revision=30324
2009-10-05 08:31:31 +00:00
Stig Bjørlykke
066b12d7d4 Prototype follow_add_to_gtk_text().
Made some functions static.

svn path=/trunk/; revision=30323
2009-10-05 07:25:33 +00:00
Stig Bjørlykke
4bc43c93d4 Prototype reset_tap_update_timer() in main.h
svn path=/trunk/; revision=30322
2009-10-05 07:02:38 +00:00
Anders Broman
8fc53b829b Use gtk_image_new_from_pixmap().
svn path=/trunk/; revision=30316
2009-10-04 18:33:23 +00:00
Anders Broman
199330559c Remove #if 0'ed code.
svn path=/trunk/; revision=30312
2009-10-04 18:21:14 +00:00
Anders Broman
ecc0cdb162 From GTK docs:
Warning
gtk_window_set_policy is deprecated and should not be used in newly-written code. Use gtk_window_set_resizable() instead.

Changes how a toplevel window deals with its size request and user resize attempts. There are really only two reasonable ways to call this function: 

1.gtk_window_set_policy (GTK_WINDOW (window), FALSE, TRUE, FALSE) means that the window is user-resizable. 

2.gtk_window_set_policy (GTK_WINDOW (window), FALSE, FALSE, TRUE) means that the window's size is program-controlled, and should simply match the current size request of the window's children. 

gtk_window_set_resizable () :
Sets whether the user can resize a window. Windows are user resizable by default.

svn path=/trunk/; revision=30311
2009-10-04 18:11:22 +00:00
Anders Broman
fa3b06e9de Get rid of deprecated symblol gtk_widget_draw().
svn path=/trunk/; revision=30305
2009-10-04 15:49:52 +00:00
Kovarththanan Rajaratnam
62de58c913 Fix create_list() prototype
svn path=/trunk/; revision=30300
2009-10-04 12:31:32 +00:00
Kovarththanan Rajaratnam
a653c171f2 Add HAVE_AIRPDCAP guard
svn path=/trunk/; revision=30299
2009-10-04 12:25:20 +00:00
Kovarththanan Rajaratnam
5b6a59936e make-tapreg-dotc has moved to tools/make-tapreg-dotc
svn path=/trunk/; revision=30295
2009-10-04 10:01:34 +00:00
Kovarththanan Rajaratnam
dd4e4fc6d6 make-tapreg-dotc has moved to tools/make-tapreg-dotc
svn path=/trunk/; revision=30293
2009-10-04 09:12:14 +00:00
Stig Bjørlykke
6325c5d30f Return from dfilter_expr_dlg_accept_cb() if nothing selected.
svn path=/trunk/; revision=30235
2009-10-01 14:44:59 +00:00
Stig Bjørlykke
68778b862e Added check for valid pointers (to avoid warnings).
svn path=/trunk/; revision=30234
2009-10-01 14:41:34 +00:00
Anders Broman
e7948dc626 From : Didier Gautheron
A gtk tree view version of service response time.
Tested with AFP and SMB, variable size columns don't look great with SMB though.

svn path=/trunk/; revision=30227
2009-10-01 09:04:23 +00:00
Stig Bjørlykke
5f9d734bf8 Corrected prototype for create_list().
svn path=/trunk/; revision=30221
2009-09-30 19:39:33 +00:00
Stig Bjørlykke
be378b901e Rewrite some local variable names to avoid function argument names.
svn path=/trunk/; revision=30202
2009-09-29 19:29:03 +00:00
Stig Bjørlykke
a59f13dbf4 Renamed some local GtkWidget's to avoid variable shadowing.
svn path=/trunk/; revision=30201
2009-09-29 19:23:50 +00:00
Stig Bjørlykke
77c49f4d4b Made colorize_filter_te_as_deprecated() static.
svn path=/trunk/; revision=30200
2009-09-29 19:20:48 +00:00
Stig Bjørlykke
e384c2d682 Remove alloc of unused variables in sctp_analyse_cb().
This fixes bug 4064.

Set sctp_set_filter() static.
Use correct prototype for create_list().

svn path=/trunk/; revision=30195
2009-09-29 13:04:47 +00:00
Anders Broman
ff7492d22d Trying to fix the bug found by Bill Meier:
I'm getting the following running Wireshark on Fedora Linux after a build from a recent SVN.

(lt-wireshark:8501): Gtk-CRITICAL **: gtk_toolbar_set_style: assertion 
`GTK_IS_TOOLBAR (toolbar)'

svn path=/trunk/; revision=30185
2009-09-28 18:58:26 +00:00
Stig Bjørlykke
ad6a8fbe51 Move cfselect_cb to avoid variable shadowing.
svn path=/trunk/; revision=30181
2009-09-28 17:44:06 +00:00
Stig Bjørlykke
99411c8509 Only include config.h in C files.
svn path=/trunk/; revision=30179
2009-09-28 17:39:27 +00:00
Stig Bjørlykke
c675651a13 Remove config.h to avoid multiple inclusions in C files.
svn path=/trunk/; revision=30178
2009-09-28 17:28:06 +00:00
Stig Bjørlykke
a11b2e4019 Fix a possible dereference of null pointer.
svn path=/trunk/; revision=30177
2009-09-27 21:28:52 +00:00
Anders Broman
271884a0f0 From Speck Michael:
trivial patch that makes Wireshark compiling again, please check it into the sources.
There is a comment not properly terminated in file gtk\keys.h.

svn path=/trunk/; revision=30139
2009-09-25 07:40:40 +00:00
Anders Broman
b55f1e412f Fooled by an #ifdef
svn path=/trunk/; revision=30138
2009-09-25 06:02:22 +00:00
Anders Broman
b3bea18e2f Remove forgotten C++ style comments.
svn path=/trunk/; revision=30137
2009-09-25 05:21:00 +00:00
Anders Broman
ce39b29305 Make the filter toolbar style a preference.
svn path=/trunk/; revision=30136
2009-09-25 05:19:18 +00:00
Anders Broman
1a1a5dd3f0 Get rid of some deprecated functions.
svn path=/trunk/; revision=30115
2009-09-24 15:49:56 +00:00
Anders Broman
9ac672ca81 Update *.vcproj to visual studio 8
svn path=/trunk/; revision=30111
2009-09-24 05:11:47 +00:00
Anders Broman
d78510ed51 option menu -> combo box.
svn path=/trunk/; revision=30110
2009-09-24 05:10:38 +00:00
Stig Bjørlykke
64fb3eb496 Small indent fix.
svn path=/trunk/; revision=30102
2009-09-23 18:36:50 +00:00
Anders Broman
c52de3ee90 Change option menu to combo box.
svn path=/trunk/; revision=30087
2009-09-23 14:30:56 +00:00
Anders Broman
7e06989ac3 Fix the debug code somewhat, we do not have a clist any more.
svn path=/trunk/; revision=30085
2009-09-23 13:54:43 +00:00
Anders Broman
2d77aab376 Fix: jyoung SVN #30065; Sort order at start of new capture.
svn path=/trunk/; revision=30079
2009-09-22 20:09:04 +00:00
Anders Broman
4827316ea4 - new_packet_list_resize_column() if we get an empty string from
packet_list_get_widest_column_string() (no visible row) don't
change the colum width.
- packet_list_moveto_end() selection no longer needed.

svn path=/trunk/; revision=30077
2009-09-22 19:36:14 +00:00
Anders Broman
ffcaf32074 Select the first packet when doing a live capture. In the old packet list this is automatically done as the clist emits a selct-row signal.
Seting focus in new_packet_list_moveto_end() seems also to be needed to make it work properly I'm not 100% sure if it should be done differently.

svn path=/trunk/; revision=30074
2009-09-22 18:51:33 +00:00