Commit Graph

29152 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam cf8138e195 Remove check_col() guard
svn path=/trunk/; revision=30124
2009-09-24 19:50:43 +00:00
Bill Meier bc67c25759 Remove unneeded #includes (along with C++ style comments added by mistake in the last commit).
svn path=/trunk/; revision=30123
2009-09-24 19:50:00 +00:00
Bill Meier 4a73b89199 Minor: Use tvb_reported_length... not tvb_length...
svn path=/trunk/; revision=30122
2009-09-24 19:26:45 +00:00
Bill Meier 8f95ef909a Various:
- check_col no longer req'd;
 - Remove unneeded #includes;
 - Use consistent indentation/style;
 - Reformat a few lines;

svn path=/trunk/; revision=30121
2009-09-24 19:05:26 +00:00
Kovarththanan Rajaratnam e77667b2ad The beginning of a Python script/tool that indexes capture files. It currently extracts all protocols that appear in the given capture files.
svn path=/trunk/; revision=30120
2009-09-24 19:02:49 +00:00
Bill Meier bc2f7b7b8b Add what appear to be missing breaks in two cases of a switch () {...}.
svn path=/trunk/; revision=30119
2009-09-24 19:01:42 +00:00
Bill Meier 263a93b9f3 Minor changes:
- Use col_clear only once (in the right place);
 - Use col_add_fstr instead of col_clear/col_append_fstr;
 - check_col no longer req'd;

svn path=/trunk/; revision=30118
2009-09-24 17:30:20 +00:00
Bill Meier 4bd230c8f2 Minor changes:
Use col_clear (in the right place) instead of col_set_str(...,"");
  check_col no longer req'd;

svn path=/trunk/; revision=30117
2009-09-24 16:54:54 +00:00
Bill Meier 8b2d2d9488 Minor changes:
- remove unneeded includes;
 - check_col no longer req'd;
 - move proto_register/proto_reg_handoff to the end of the file;
 - fix some typos;

svn path=/trunk/; revision=30116
2009-09-24 16:22:37 +00:00
Anders Broman 1a1a5dd3f0 Get rid of some deprecated functions.
svn path=/trunk/; revision=30115
2009-09-24 15:49:56 +00:00
Bill Meier 4f39e04e29 Minor changes:
- check_col no longer req'd;
- use tvb_strncaseeql instead of tvb_get_ptr & etc;
- Change if (guint > 0) to if (guint != 0).

svn path=/trunk/; revision=30114
2009-09-24 15:44:59 +00:00
Kovarththanan Rajaratnam 7ba4fb4ba8 Make sure that we also traverse the free_list while looking for valid pointers
svn path=/trunk/; revision=30113
2009-09-24 13:37:02 +00:00
Kovarththanan Rajaratnam 82778b3f86 Use val_to_str_const() since we intend on passing the string to col_set_str (which expects a constant string)
svn path=/trunk/; revision=30112
2009-09-24 13:36:02 +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
Jörg Mayer eefc0ffc3d While trying to understand commit 30107, I found the following at
http://www.itk.org/Bug/view.php?id=9219

Note that CMAKE_CFG_INTDIR is no longer necessary for this purpose but
has been left for compatibility with existing projects. Instead
add_custom_command() recognizes executable target names in its COMMAND

So just use "lemon" instead of specifying the full path.

svn path=/trunk/; revision=30109
2009-09-24 04:57:41 +00:00
Kovarththanan Rajaratnam 0b5f235491 Call subdissector even when tree is NULL
svn path=/trunk/; revision=30108
2009-09-24 04:52:35 +00:00
Stig Bjørlykke 6e59814e37 Run lemon from CMAKE_CFG_INTDIR.
svn path=/trunk/; revision=30107
2009-09-23 21:23:49 +00:00
Stig Bjørlykke 234ba3192e Added Apple Cocoa library to processes dumping OSX version.
Added Apple CoreServices to wireshark.

svn path=/trunk/; revision=30106
2009-09-23 19:52:45 +00:00
Jörg Mayer 490c1505aa Add a few hints for OS X builds.
svn path=/trunk/; revision=30105
2009-09-23 19:41:08 +00:00
Jörg Mayer 878d7246b8 - Add $Id: $ tags
- FindHtmlViewer.cmake: Try to add reading the name of the
  html viewer from the HTML_VIEWER environment variable (untested)

svn path=/trunk/; revision=30104
2009-09-23 19:40:25 +00:00
Jaap Keuter d909f9f62c Fix for bug 4046:
Fix type of FIP dissector header field hf_fip_desc_map.

svn path=/trunk/; revision=30103
2009-09-23 19:14:35 +00:00
Stig Bjørlykke 64fb3eb496 Small indent fix.
svn path=/trunk/; revision=30102
2009-09-23 18:36:50 +00:00
Bill Meier 8790ed892f Define a global variable as static;
#include <stdio.h> & <stdlib.h>  not req'd.

svn path=/trunk/; revision=30101
2009-09-23 18:20:06 +00:00
Stig Bjørlykke d7fc9e378d Try finding gpg-error library, to improve building on OSX.
svn path=/trunk/; revision=30100
2009-09-23 18:15:31 +00:00
Stig Bjørlykke eead6ee717 Removed setting GLIB2_LIBRARIES to GLIB_LIBRARY, to improve build on OSX.
svn path=/trunk/; revision=30099
2009-09-23 18:08:16 +00:00
Stig Bjørlykke 1ed5d79a5a Try finding pixbuf and pango libraries to help building on OSX.
svn path=/trunk/; revision=30098
2009-09-23 18:02:15 +00:00
Bill Meier 9310f13f19 Change gchar foo[mm][nn] = {"xxx", "yyy", ...} to static const gchar *foo[mm] = {...}
Add a comment about a possible bug: some strings in array are never used ?
Do some minor reformatting.

svn path=/trunk/; revision=30097
2009-09-23 17:55:37 +00:00
Stig Bjørlykke 2ed762be0e Build wiretap with cmake on OSX.
svn path=/trunk/; revision=30096
2009-09-23 17:53:55 +00:00
Kovarththanan Rajaratnam 778fe81f72 (Trivial) White space changes
svn path=/trunk/; revision=30095
2009-09-23 16:27:37 +00:00
Bill Meier 81444cdda0 Quick fix for Bug #4040.
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4040

ToDo: Fix usage of
 gchar xxx[..][..] = {"aaa", "bbb", ...};

svn path=/trunk/; revision=30094
2009-09-23 16:06:39 +00:00
Jörg Mayer cf326e0304 More fixes for OSX - might work now :-)
svn path=/trunk/; revision=30093
2009-09-23 15:56:44 +00:00
Anders Broman 1b454d9012 Propagate the changes to the .cnf file so they don't get lost when regenerating the dissector.
Use col_set_str instead of col_add_fstr/col_add_str when adding constant strings to COL_INFO

svn path=/trunk/; revision=30092
2009-09-23 15:43:55 +00:00
Jörg Mayer b7ce60b95a Hopefully fix wsutil build on OSX.
svn path=/trunk/; revision=30091
2009-09-23 15:08:32 +00:00
Kovarththanan Rajaratnam 90a5e748c2 Don't col_clear(COL_PROTOCOL) followed by col_set_str(COL_PROTOCOL). A col_set_str() will clear (replace) any existing string (the fence still needs to be respected though)
svn path=/trunk/; revision=30090
2009-09-23 14:59:22 +00:00
Kovarththanan Rajaratnam 124faf721c Use col_set_str instead of col_add_fstr/col_add_str when adding constant strings to COL_INFO
svn path=/trunk/; revision=30089
2009-09-23 14:52:01 +00:00
Kovarththanan Rajaratnam 633bb05380 Use col_set_str instead of col_add_fstri/col_add_str when adding constant strings to COL_PROTOCOL
svn path=/trunk/; revision=30088
2009-09-23 14:43:23 +00:00
Anders Broman c52de3ee90 Change option menu to combo box.
svn path=/trunk/; revision=30087
2009-09-23 14:30:56 +00:00
Kovarththanan Rajaratnam 99624329fa Don't col_clear() followed by col_set_str(). A col_set_str() will clear (replace) any existing string (the fence still needs to be respected though)
svn path=/trunk/; revision=30086
2009-09-23 14:30:36 +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
Jörg Mayer ebfcf3c387 Build more plugins with cmake.
svn path=/trunk/; revision=30084
2009-09-23 04:41:14 +00:00
Kovarththanan Rajaratnam d3c29ea981 -P is no longer invalid. We use it for the 'two pass analysis'
svn path=/trunk/; revision=30083
2009-09-22 21:29:56 +00:00
Kovarththanan Rajaratnam c28bafe341 Use col_set_str instead of col_add_fstr when adding constant strings to COL_INFO
svn path=/trunk/; revision=30082
2009-09-22 21:18:11 +00:00
Kovarththanan Rajaratnam a05517fd21 (Cosmetic) Reorder functions
svn path=/trunk/; revision=30081
2009-09-22 21:08:48 +00:00
Bill Meier 5bbec764db (Trivial) Rework a comment slightly.
svn path=/trunk/; revision=30080
2009-09-22 20:17:31 +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
Kovarththanan Rajaratnam cf8e2654b4 Remove unused 'offset' parameter
svn path=/trunk/; revision=30078
2009-09-22 20:02:51 +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
Kovarththanan Rajaratnam 760eb47fc1 Add initial support for "two pass analysis" in tshark. This allows tshark to arrive at the same protocol tree as the Wireshark GUI. Before this change tshark only supported a single scan over the file. This effectively means that packets cannot use data that are gathered from frames that appear after the current frame. By scanning twice we give the dissector the opportunity to make forward references.
svn path=/trunk/; revision=30076
2009-09-22 19:28:00 +00:00
Anders Broman 2cacda1823 From Vincent Helfre:
MS network capability enhancement.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4039

svn path=/trunk/; revision=30075
2009-09-22 19:15:30 +00:00