Commit Graph

29079 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam 3ea9409792 Store 'color_filter' as const in 'frame_data'
svn path=/trunk/; revision=30051
2009-09-21 18:48:53 +00:00
Kovarththanan Rajaratnam da5b43c80c Don't include header files that are not required
svn path=/trunk/; revision=30050
2009-09-21 18:31:58 +00:00
Kovarththanan Rajaratnam 702b6ea7d0 Remove unused 'vers' member in capture_file
svn path=/trunk/; revision=30049
2009-09-21 18:30:15 +00:00
Kovarththanan Rajaratnam 8b62ba243b Remove unused 'pstats' member in capture_file
svn path=/trunk/; revision=30048
2009-09-21 18:20:01 +00:00
Kovarththanan Rajaratnam 7ca137e294 Rename capture_file.plist to capture_file.plist_start to make it consistent with capture_file.plist_end
svn path=/trunk/; revision=30047
2009-09-21 18:09:19 +00:00
Kovarththanan Rajaratnam 109875c775 Remove second (redundant) assignment to fdata->cum_bytes
svn path=/trunk/; revision=30046
2009-09-21 17:38:10 +00:00
Kovarththanan Rajaratnam 9831d4c4e1 Reverse order of NEW_PACKET_LIST guard, i.e. #ifdef NEW_PACKET_LIST instead of #ifndef NEW_PACKET_LIST
svn path=/trunk/; revision=30045
2009-09-21 17:32:35 +00:00
Kovarththanan Rajaratnam 9e21f0f2d8 Guard fdata->col_text_len/fdata->col_text with NEW_PACKET_LIST
svn path=/trunk/; revision=30044
2009-09-21 17:12:46 +00:00
Stephen Fisher d923139789 Fix typo in comment
svn path=/trunk/; revision=30043
2009-09-21 17:09:15 +00:00
Kovarththanan Rajaratnam 3c9afabfe0 (cosmetic change) - reset cumulative bytes together with 'first_ts' and 'prev_dis_ts'
svn path=/trunk/; revision=30042
2009-09-21 15:50:15 +00:00
Kovarththanan Rajaratnam 8527133db0 cf->dfilter is only set if it's valid so assert if that's not the case
svn path=/trunk/; revision=30041
2009-09-21 15:38:40 +00:00
Kovarththanan Rajaratnam 112a677484 Reset cumulative bytes when we open the file
svn path=/trunk/; revision=30040
2009-09-21 15:29:32 +00:00
Kovarththanan Rajaratnam 8dc906da00 Set fdata->num up front and roll back if necessary
svn path=/trunk/; revision=30039
2009-09-21 15:23:33 +00:00
Kovarththanan Rajaratnam 03a9cfe84c Shuffle NEW_PACKET_LIST guard
svn path=/trunk/; revision=30038
2009-09-21 14:13:46 +00:00
Kovarththanan Rajaratnam 8f0d93fb12 Add unsigned int type cast
svn path=/trunk/; revision=30037
2009-09-21 14:01:30 +00:00
Kovarththanan Rajaratnam d86635a3d8 Introduce a NEW_PACKET_LIST specialized version of add_packet_to_packet_list(). The old one contained too many #ifdef NEW_PACKET_LIST which reduced readability
svn path=/trunk/; revision=30036
2009-09-21 12:14:11 +00:00
Michael Tüxen 5879399609 Add initial support for DNS/SCTP.
svn path=/trunk/; revision=30035
2009-09-21 12:00:03 +00:00
Anders Broman 546014cdaf cf_change_time_formats() is not needed with new packet list.
svn path=/trunk/; revision=30034
2009-09-21 11:58:36 +00:00
Kovarththanan Rajaratnam 46b7430557 Move frame_data_init() declaration to frame_data.h
svn path=/trunk/; revision=30033
2009-09-21 11:26:23 +00:00
Kovarththanan Rajaratnam 859bd0f8b2 Make sure that we track the amount allocated when we're doling out memory from the system pool. The verify pointer stuff should should now work with WIRESHARK_DEBUG_EP_NO_CHUNKS=1 and WIRESHARK_DEBUG_SE_NO_CHUNKS=1
svn path=/trunk/; revision=30032
2009-09-21 10:44:59 +00:00
Anders Broman 219ac9ebdd Add a more verbose error printout.
svn path=/trunk/; revision=30031
2009-09-21 09:25:48 +00:00
Kovarththanan Rajaratnam 3b7a12dda0 Add NEW_PACKET_LIST guard wrt fdata->col_text
svn path=/trunk/; revision=30030
2009-09-21 04:29:25 +00:00
Jörg Mayer 95182116aa CMake:
- Add opcua to the list of plugins to build
- Link the gtk stuff statically into wireshark
- Beginnings of "make install"
- Change a few things about install paths

svn path=/trunk/; revision=30029
2009-09-21 00:19:07 +00:00
Anders Broman c9dcf6c415 From Gerasimos Dimitriadis:
DTAP decoding of Notification Indicator IE.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4029

svn path=/trunk/; revision=30028
2009-09-20 21:54:39 +00:00
Anders Broman 4ac9d6b8c5 Try to fix(take II):
Fedora 11/Gtk2.16.6: Get two Gtk-Critical messages each time a capture fie is opened: 
(lt-wireshark:15705): Gtk-CRITICAL **: gtk_tree_view_column_set_fixed_width: assertion `fixed_width > 0' failed 
gtk_tree_view_column_set_fixed_width is incompatible with variable width columns.

svn path=/trunk/; revision=30027
2009-09-20 21:41:02 +00:00
Jaap Keuter 1da709093c From Kjell Hultman:
IEC104 Signal dissection added - not complete (only implemented what I needed for the moment).

svn path=/trunk/; revision=30026
2009-09-20 21:08:04 +00:00
Kovarththanan Rajaratnam f76fe1b808 From Jim Young via bug 4033:
With the "old" list if keyboard focus was initially in the details pane, the
use of the <F7>/<F8> keys will restore focus to details pane after the
prev/next move.   Without this patch "new" packet list prev/next moves simply
moves focus to summary pane.

svn path=/trunk/; revision=30025
2009-09-20 19:39:54 +00:00
Kovarththanan Rajaratnam 8791df65e1 Fix return type for frame_data_init()
svn path=/trunk/; revision=30024
2009-09-20 19:01:23 +00:00
Kovarththanan Rajaratnam 2e282e7567 Introduce frame_data_cleanup() and start using it
svn path=/trunk/; revision=30023
2009-09-20 18:18:29 +00:00
Kovarththanan Rajaratnam 92a1cdd4a4 Use frame_data_init() instead of the locally defined fill_in_fdata(), which will be removed as part of this change
svn path=/trunk/; revision=30022
2009-09-20 18:02:22 +00:00
Kovarththanan Rajaratnam e56f27dc99 Introduce frame_data_init() and get rid of fill_in_fdata() in tshark.c
svn path=/trunk/; revision=30021
2009-09-20 17:51:16 +00:00
Kovarththanan Rajaratnam 6691a701e3 Move verbose banner output to show_version() and tighten scope of some variables
svn path=/trunk/; revision=30020
2009-09-20 17:45:17 +00:00
Kovarththanan Rajaratnam a896743c6f Make cf_mark_frame() an empty stub in tshark.c. We only need it to satisfy a linker dependency. Add a comment in tap-rtp-common.c indicating that is is wrong to refer to cf_mark_frame() which is only applicable for the GTK UI backend.
svn path=/trunk/; revision=30019
2009-09-20 16:48:52 +00:00
Kovarththanan Rajaratnam 66f528e9e4 Remove unused cf_unmark_frame() function
svn path=/trunk/; revision=30018
2009-09-20 16:30:12 +00:00
Kovarththanan Rajaratnam a7081629f0 Move verbose banner output to show_version() and tighten scope of some variables
svn path=/trunk/; revision=30017
2009-09-20 16:16:15 +00:00
Gerald Combs 17b6592540 [Automatic manuf and enterprise-numbers update for 2009-09-20]
svn path=/trunk/; revision=30014
2009-09-20 15:03:29 +00:00
Kovarththanan Rajaratnam ebaaada382 Only duplicate string the first time around, i.e. 'pinfo->fd->flags.visited == FALSE' or else we end up leaking memory
svn path=/trunk/; revision=30013
2009-09-20 13:36:16 +00:00
Kovarththanan Rajaratnam afe5b2fe9d Use ep_verify_pointer() in col_set_str() to verify that the caller hasn't passed us something from the ephemeral pool
svn path=/trunk/; revision=30012
2009-09-20 12:09:25 +00:00
Kovarththanan Rajaratnam 1a61b42e8a Add ep_verify_pointer()/se_verify_pointer() which checks whether the given pointer belongs in the seasonal/ephemeral pool.
svn path=/trunk/; revision=30011
2009-09-20 12:02:40 +00:00
Kovarththanan Rajaratnam b50ffb1c6b Assert on null string in col_set_str(). This is reasonable behaviour since the caller is expeceted to pass in a constant string
svn path=/trunk/; revision=30010
2009-09-20 10:19:37 +00:00
Kovarththanan Rajaratnam 2d37d1816d Remove unused/dead code
svn path=/trunk/; revision=30009
2009-09-20 09:32:52 +00:00
Kovarththanan Rajaratnam 42b01b61ab Make se_trees static in emem.c
svn path=/trunk/; revision=30008
2009-09-20 09:28:55 +00:00
Jaap Keuter a8a62d3e8b Bump version number after release of first development snapshot.
svn path=/trunk/; revision=30007
2009-09-20 09:19:59 +00:00
Anders Broman 0474a38cc4 Add myself and Kovarththanan Rajaratnam as co authors.
svn path=/trunk/; revision=30006
2009-09-20 09:12:56 +00:00
Kovarththanan Rajaratnam e6f7a87937 Use g_new()
svn path=/trunk/; revision=30005
2009-09-20 09:03:02 +00:00
Kovarththanan Rajaratnam 5cd06c69a9 Add NEW_PACKET_LIST guard
svn path=/trunk/; revision=30004
2009-09-20 08:51:30 +00:00
Kovarththanan Rajaratnam a569e8d5b8 Use tvb_get_ephemeral_string() to avoid memleak (should have been part of r29994.
svn path=/trunk/; revision=30003
2009-09-20 08:42:51 +00:00
Kovarththanan Rajaratnam 9441e9b344 Use tvb_get_ephemeral_stringz() instead of tvb_get_stringz()
svn path=/trunk/; revision=30002
2009-09-20 08:40:01 +00:00
Kovarththanan Rajaratnam 57659e8133 Use tvb_get_ephemeral_string() to avoid memleak.
svn path=/trunk/; revision=30001
2009-09-20 08:35:49 +00:00
Kovarththanan Rajaratnam 47bdc0fda3 Use tvb_get_ephemeral_string() instead of tvb_get_string()
svn path=/trunk/; revision=30000
2009-09-20 08:31:24 +00:00