Commit Graph

36 Commits

Author SHA1 Message Date
Anders Broman 8aa3a7b0ac More GUIManager stuff.
svn path=/trunk/; revision=37035
2011-05-10 05:31:45 +00:00
Anders Broman c263f6461e Do some prep work on GUIManager code, if you enable it it will break as the menus.c changes are not commited.
svn path=/trunk/; revision=36977
2011-05-03 16:45:37 +00:00
Guy Harris 3a39cb2ed6 Make expert_tapdata_t opaque to its clients; define the structure only
in gtk/expert_comp_dlg.c.

Don't declare now-static functions in gtk/expert_dlg.h.

svn path=/trunk/; revision=36236
2011-03-22 07:24:14 +00:00
Anders Broman 694a48cdc8 Remove the Exper info dialogue.
(Leave the fies for a while).

svn path=/trunk/; revision=36235
2011-03-22 06:17:20 +00:00
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
Bill Meier 5ff36b1a2a Use correct signature for "button-press-event" callback function;
Whitespace cleanup;
Use gboolean as appropriate; 

svn path=/trunk/; revision=33844
2010-08-19 00:09:56 +00:00
Anders Broman 3c399bf8bb Make it possible to close and reactivate the window.
svn path=/trunk/; revision=29557
2009-08-26 04:37:08 +00:00
Kovarththanan Rajaratnam 60a30e223e From Didier gautheron via bug 3929:
* Expert Info / Expert Info Composite requires a full protocol tree.
* Delay tree NULL pointer check in bootp dissector

svn path=/trunk/; revision=29530
2009-08-23 18:32:29 +00:00
Anders Broman 7ec476b88a From Didier Gautheron:
Part 2
Extracted from optimizations patch http://wiki.wireshark.org/Development/Optimization
Optimize expert info.
Slightly changed by me.

svn path=/trunk/; revision=29478
2009-08-19 18:37:13 +00:00
Anders Broman a033f4e6a9 Windows transient to main window and destoyed with it.
svn path=/trunk/; revision=28704
2009-06-11 16:24:06 +00:00
Guy Harris cf91fdf16b Have tap listeners specify whether the "packet" routine requires
a protocol tree;

	the column values.

This includes stats-tree listeners.

Have the routines to build the packet list, and to retap packets, honor
those requirements.  This means that cf_retap_packets() no longer needs
an argument to specify whether to construct the column values or not, so
get rid of that argument.

This also means that there's no need for a tap to have a fake filter
to ensure that the protocol tree will be built, so don't set up a fake
"frame" filter.

While we're at it, clean up some cases where "no filter" was represented
as a null string rather than a null pointer.

Have a routine to return an indication of the number of tap listeners
with filters; use that rather than the global num_tap_filters.

Clean up some indentation and some gboolean vs. gint items.

svn path=/trunk/; revision=28645
2009-06-05 22:42:47 +00:00
Stig Bjørlykke 077d995cc1 From Jim Young (bug 2504):
Quick fix to sync expert_tapdata_s.

svn path=/trunk/; revision=28592
2009-06-02 10:40:58 +00:00
Guy Harris 27bc1690c7 The reason why the expert_item value is null when performing a retap is
that a retap doesn't build the protocol tree unless there's a tap with a
filter; presumably "the expert_item value" refers to the item to which
expert information is being attached.

However, if there's no protocol item, the only thing
expert_add_info_format() doesn't do is set the severity and group for a
protocol item, but the expert info composite dialog doesn't appear to
look at that.

Thus, it appears we can just use cf_retap_packets(); do so, as it's
faster.

svn path=/trunk/; revision=28270
2009-05-05 00:35:54 +00:00
Guy Harris 54c159cb41 Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats).  Hopefully this will catch at least
some P64 issues on UN*X.

svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Stig Bjørlykke e8689dde3b From Jakub Zawadzki (bug3330):
Fix memleaks in expert_comp_dlg.c.

svn path=/trunk/; revision=27712
2009-03-12 20:38:42 +00:00
Ulf Lamping 7e7a3d9bb4 the current tab display "Error 3/24" is missleading IMHO. I would read this 3 out of 24, but in fact it means 3 items appearing in sum 24 times.
I've changed it to "Error 3 (24)", but this still is not perfect.

Is there an even better idea to display this?

svn path=/trunk/; revision=27410
2009-02-10 21:16:45 +00:00
Jaap Keuter fe7ea8526e From Jim Young:
The attached patch is an enhancement to the Expert Info Composite dialog's tab labels.
On the four severity level tabs a second number is displayed that represents the total 
number of detail records associated with each severity level.

svn path=/trunk/; revision=27260
2009-01-18 14:47:51 +00:00
Stig Bjørlykke 8608c8f1de Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26641
2008-10-31 09:53:56 +00:00
Anders Broman 939367b801 Bring the windows to front when rescanning of packets are done.
svn path=/trunk/; revision=26423
2008-10-12 16:56:38 +00:00
Jeff Morriss dd6a15e1c7 Don't put (non-extern'd) prototypes for protect_thread_critical_region() and
unprotect_thread_critical_region() in every module in gtk/: instead have those
modules include main.h (which has the properly extern'd prototype).

This should fix the link error on HP-UX described in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702

svn path=/trunk/; revision=25933
2008-08-05 17:33:14 +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
Ulf Lamping 85e14ceb86 rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems a bit misleading
svn path=/trunk/; revision=25086
2008-04-17 02:16:39 +00:00
Ulf Lamping e7fde0351e add stock icons for expert info and flow graph
svn path=/trunk/; revision=25012
2008-04-14 02:09:54 +00:00
Ulf Lamping 8e3e8b588f sort #includes by directories
svn path=/trunk/; revision=24968
2008-04-13 01:54:20 +00:00
Ulf Lamping d4ccf577a8 where it's not necessary, remove #include "compat_macros.h"
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +00:00
Ulf Lamping f9f87904c4 second round to replace SIGNAL_CONNECT with g_signal_connect
This requires some casts to be added and I just don't want to add casts at all possible places. So I compile and only add casts where the (MSVC) compiler has a hard time. 

Unfortunately this won't find any problems in Linux/Unix only code - I'll keep an eye on the buildbot and try to fix things as I'm going on ...

svn path=/trunk/; revision=24913
2008-04-11 21:39:16 +00:00
Bill Meier 0502078a1b OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24898
2008-04-11 17:14:11 +00:00
Ulf Lamping 0e701b77ae remove GTK1 code
svn path=/trunk/; revision=24816
2008-04-06 23:20:23 +00:00
Ulf Lamping a171ea4769 click on the "expert info" indicator opens the corresponding dialog
svn path=/trunk/; revision=24798
2008-04-05 23:16:59 +00:00
Stig Bjørlykke fd9486cea6 Added help button in expert info and expert info composite dialogs.
svn path=/trunk/; revision=24374
2008-02-17 21:22:00 +00:00
Ulf Lamping 637a18eedb mark unused parameters
svn path=/trunk/; revision=18630
2006-07-01 12:06:36 +00:00
Ronnie Sahlberg 89f022b12b name change
svn path=/trunk/; revision=18197
2006-05-21 05:12:17 +00:00
Anders Broman 65dbbfa0ca From Greg Morris:
In summary these patches do the following:
1. GTK+ 2.x builds will now use Tree View to display the expert items, expanded items are the individual packet numbers.
2. GTK+ 1.x builds will continue to use the older clist functionality
3. Implements the equivilant of expert info (actually calls expert_dlg.c)

svn path=/trunk/; revision=18091
2006-05-04 15:36:41 +00:00
Luis Ontanon fcf7b3789c add an userdata argument to register_stat_cmd_arg() and its callback to use the callback for multiple registrations.
svn path=/trunk/; revision=17252
2006-02-11 13:05:24 +00:00
Guy Harris 56a87c2239 Clean up indentation.
"error_t" is defined elsewhere on at least some versions of Fedora Core,
so it collides with our usage; use "expert_comp_dlg_t" instead.

svn path=/trunk/; revision=16889
2005-12-23 10:55:05 +00:00
Ulf Lamping 5d66658184 from Greg Morris:
Composite Expert statistics, see: 
http://www.ethereal.com/lists/ethereal-dev/200511/msg00002.html
and the following discussions

svn path=/trunk/; revision=16593
2005-11-25 23:42:52 +00:00