Commit Graph

11471 Commits

Author SHA1 Message Date
Guy Harris 1dff8e81b2 Arrange that "x11-declarations.h" and "x11-register-info.h" be part of
the distribution, as was the case in the past.

Arrange that RCS IDs be expanded, and that the EOL style be native, for
epan/dissectors/Makefile.{am,common,nmake}.

svn path=/trunk/; revision=11532
2004-07-27 02:52:49 +00:00
Guy Harris 0d7309988e Rename HEADER_FILES to NONGENERATED_HEADER_FILES, so that it's clear
that it contains only the .h files not generated from other files.

svn path=/trunk/; revision=11531
2004-07-27 00:36:31 +00:00
Guy Harris 7f6ff83e35 Add a missing backslash.
svn path=/trunk/; revision=11530
2004-07-26 22:00:05 +00:00
Guy Harris 39ceb18bf1 Add a Makefile.common for Wiretap, and have Makefile.am and
Makefile.nmake include it.

svn path=/trunk/; revision=11528
2004-07-26 20:46:54 +00:00
Gerald Combs 59be185931 From Anders Broman: Update libethereal.def to match recent changes in print.c.
svn path=/trunk/; revision=11525
2004-07-26 14:11:28 +00:00
Ronnie Sahlberg 135f0cdfa3 update tox509ce virtually all of x509ce now implemented (but there are still bugs)
svn path=/trunk/; revision=11524
2004-07-26 09:21:36 +00:00
Guy Harris 1b3acfff24 Fix a comment, as per suggestions by Yaniv Kaul.
svn path=/trunk/; revision=11523
2004-07-25 18:49:24 +00:00
Michael Tüxen 509c431146 Added support for registered UDP port.
svn path=/trunk/; revision=11522
2004-07-25 17:53:02 +00:00
Gerald Combs 655dd8d96b Fix up the declaration of yy_accept().
svn path=/trunk/; revision=11521
2004-07-25 17:35:57 +00:00
Ronnie Sahlberg ceedde9c07 some more extensions and their dissectors defined.
svn path=/trunk/; revision=11520
2004-07-25 12:54:33 +00:00
Ronnie Sahlberg 13451f85d3 cms update forgot that Name had been commented out in one of the structure.
svn path=/trunk/; revision=11519
2004-07-25 10:41:39 +00:00
Ronnie Sahlberg 2d069de8b4 large CMS update.
most of cms is now implemented


svn path=/trunk/; revision=11518
2004-07-25 10:34:07 +00:00
Guy Harris a4ab30088a From Lars Roland: don't print the "echo Linking dissectors.lib" command
before running it (printing echo commands puts extra gunk into the
output), and remove some additional generated files when doing "make
distclean".

svn path=/trunk/; revision=11517
2004-07-25 09:58:08 +00:00
Guy Harris d3e6d377e1 From Lars Roland: _NEED_VAR_IMPORT_ has to be defined so that variables
are imported correctly from libethereal.dll when compiling with MSVC.

svn path=/trunk/; revision=11516
2004-07-25 09:55:52 +00:00
Guy Harris 48b35594fd From Lars Roland: <epan/packet.h> has to be included before <windows.h>
on Win32.

svn path=/trunk/; revision=11515
2004-07-25 09:54:37 +00:00
Guy Harris 5a3ab160c1 Make some generic print routines that take, as an argument, a pointer to
a structure containing a pointer to print operations for that object and
a pointer to the private subclass-dependent data for that object, with
subclasses for text and PostScript, and use those rather than the old
scheme where a print format was passed as an argument - or where (as in
the case of printing summary information in Tethereal) we just printed
as text even if "-T ps" was selected.

Check whether those routines succeed or get an I/O error writing output.

Clean up indentation.

svn path=/trunk/; revision=11514
2004-07-25 08:53:38 +00:00
Guy Harris 809bd53e81 Use the GLib gint64 and guint64 types instead of u_int64_t or uint64_t,
as those are what's used in Ethereal for 64-bit integers, and as there's
no guarantee that either of them will be defined on any particular
platform.

svn path=/trunk/; revision=11513
2004-07-25 08:36:34 +00:00
Guy Harris a6b4a098ff "-T ps" should not imply "-V"; one should be able to get a list of
packet summaries in PostScript.

svn path=/trunk/; revision=11512
2004-07-25 08:32:32 +00:00
Guy Harris b5c1e171b4 Fix the declarations for "simple_dialog()" and "vsimple_dialog()" used
for non-GCC 2.x compilers to match their definitions.

svn path=/trunk/; revision=11511
2004-07-25 08:02:06 +00:00
Ronnie Sahlberg 88d357fe04 get rid of the remaining compiler warnings.
x509af is now virtually complete (the attribute userPassword still needs 
an attribute dissector but after that, x509af is complete)



svn path=/trunk/; revision=11510
2004-07-24 22:59:02 +00:00
Ronnie Sahlberg 4d09fc5e43 Add a lot of missing attribute dissectors
svn path=/trunk/; revision=11509
2004-07-24 22:53:27 +00:00
Ronnie Sahlberg 9d69ba5911 added the userCertificate and cAcertificate attributes
svn path=/trunk/; revision=11508
2004-07-24 22:30:49 +00:00
Ronnie Sahlberg 829a19a29b add dissection of the structure : Extension
svn path=/trunk/; revision=11507
2004-07-24 22:16:41 +00:00
Guy Harris d890f4934e In "dissect_smb_server_type_flags()":
explicitly pass NULL as the tree argument to
	"dissect_ndr_uint32()" - "tree", which was passed before, was
	definitely null at that point, and the intent is that it not put
	anything into the protocol tree;

	use the correct offset when putting items into the protocol tree
	(the offset has been advanced just past the end of the field at
	the time the items are being put into the protocol tree).

svn path=/trunk/; revision=11506
2004-07-24 09:59:00 +00:00
Guy Harris fcfde0b0c0 Include "colors.h" to define BLACK and WHITE.
svn path=/trunk/; revision=11505
2004-07-24 06:38:33 +00:00
Guy Harris edf3a634d6 "color_filters.h" doesn't need to include "epan/dfilter/dfilter.h";
anything that includes "color_filters.h" also includes
"epan/dfilter/dfilter.h" either directly or indirectly.

svn path=/trunk/; revision=11504
2004-07-24 02:39:15 +00:00
Guy Harris c3cba6617b Move the color-filter related stuff out of "color.h" into
"color_filters.h", as that's the appropriate place for it - "color.h"
should just deal with "color_t".

svn path=/trunk/; revision=11503
2004-07-24 02:29:14 +00:00
Guy Harris 13e4c5b1f2 Rename "create_color()" to "initialize_color()", as that reflects a bit
better what it actually does.

svn path=/trunk/; revision=11502
2004-07-24 02:08:42 +00:00
Guy Harris e046206fad Add some comments from Gerald's Windows version of color_filters.c.
svn path=/trunk/; revision=11501
2004-07-24 01:32:29 +00:00
Guy Harris b67a0f92d2 Move color_filters.c and color_filters.h up to the top-level directory,
as they're now (theoretically) toolkit-independent (modulo changes that
might be required to the code to update filter lists when a new filter
is read in).

svn path=/trunk/; revision=11500
2004-07-24 01:29:12 +00:00
Guy Harris e62e05a80a Move the declaration of "color_add_filter_cb()" to "color.h", as,
although it currently takes a pointer to a GtkWidget as its second
argument, that argument is actually a "void *", so it's sort-of
toolkit-independent.

That lets us get rid of all GTK+ references in "gtk/color_filters.c", so
we can move it up to the top-level directory; get rid of the <gtk/gtk.h>
include, in favor of a <glib.h> include.

svn path=/trunk/; revision=11499
2004-07-24 01:16:45 +00:00
Guy Harris d5425a709a Move the declaration of "create_color()" up to "color.h", so it's
declared in a toolkit-independent header file.  Get rid of
"gtk/color_utils.h", as there's nothing left in it.

svn path=/trunk/; revision=11498
2004-07-24 00:49:19 +00:00
Guy Harris 34de3c15d9 Have "gtk/color_utils.c" contain routines with toolkit-independent APIs,
but toolkit-dependent implementations, for manipulating colors, and have
"gtk/color_utils.h" declare them (the header file should eventually be
moved to the top-level directory).  Move the routines to convert between
GdkColor and color_t out of there into "colors.c", and move their
declarations into "colors.h", as their APIs are toolkit-dependent.

Have the first such routine be a "create_color()" routine, which takes
RGB values and initializes a "color_t", including doing any
toolkit-dependent work necessary for that; use that in the
"gtk/color_filters.c" code (the goal is to remove as many of the toolkit
dependencies as possible from that code, and move it to the top-level
directory).

svn path=/trunk/; revision=11497
2004-07-24 00:35:13 +00:00
Guy Harris 8f79902cb3 Get rid of unneeded include of "colors.h".
svn path=/trunk/; revision=11496
2004-07-24 00:34:04 +00:00
Guy Harris 60da1c89f0 Make "new_color_filter()" GUI-independent - have it take two "color_t"
pointers, for the background and foreground color, as arguments, and
have its callers generate them from GdkColor values.

svn path=/trunk/; revision=11495
2004-07-24 00:08:19 +00:00
Guy Harris f16fff888c "capture_combo_utils.{c,h}" don't use any GTK+ stuff, so move them to
the top-level directory.

svn path=/trunk/; revision=11494
2004-07-23 23:36:50 +00:00
Jörg Mayer 2d21f054ef Remove set -/+x - they were added for debugging and not intended for commit
svn path=/trunk/; revision=11493
2004-07-23 23:34:15 +00:00
Jörg Mayer e869dbb17d Trivial warning fixes:
- comma at end of enum
- function declarations with empty args instead of void
- c++ style comments

svn path=/trunk/; revision=11492
2004-07-23 23:28:08 +00:00
Ronnie Sahlberg e7172b423b add nice text item for the case when we could not find the dissector for a specific OID/attribute to make it easier to see where we have missed implementing something.
svn path=/trunk/; revision=11491
2004-07-23 23:12:31 +00:00
Ronnie Sahlberg 52d5646696 inside dissect_ber_sequence() we know the expected length of the field that follows.
use this and create a new tvbsubset so that
1, reading too much data is flagged as MALFORMED PACKET indicating a bug in the dissector (or a packet that IS malformed)
2, this also implicitely passes the length of the data through the ber.oid dissector handle in case we want to pick it up later.



svn path=/trunk/; revision=11490
2004-07-23 23:06:38 +00:00
Guy Harris bbbe995ddb Use "format_text()" on strings to be put into the Info column and the
display representation of items in the protocol tree, so we don't get
hosed by non-printable characters.

svn path=/trunk/; revision=11489
2004-07-23 22:39:08 +00:00
Gerald Combs c6c01ab4b1 Have distclean remove built sources.
svn path=/trunk/; revision=11488
2004-07-23 21:24:25 +00:00
Guy Harris 3d0e67cd4e Nothing here uses any GTK+ stuff, so get rid of the include of
<gtk/gtk.h>.  (It should ultimately be moved out of the gtk directory.)

svn path=/trunk/; revision=11487
2004-07-23 20:41:23 +00:00
Ronnie Sahlberg 19f12428b6 remove some more compiler warnings
svn path=/trunk/; revision=11486
2004-07-23 14:00:34 +00:00
Ronnie Sahlberg 0d59053844 make the implicit_tag parameter _U_ to get rid of some compiler warnings in those cases it is not used.
svn path=/trunk/; revision=11485
2004-07-23 13:21:48 +00:00
Ronnie Sahlberg 543c91b203 telex and telephone number attributes
svn path=/trunk/; revision=11484
2004-07-23 13:11:29 +00:00
Ronnie Sahlberg e4fdba9e02 Remove a compiler warning for a parameter that is not used
in the DirectoryString dissector


svn path=/trunk/; revision=11483
2004-07-23 12:22:13 +00:00
Guy Harris 46e1e52757 If there's no data in the authentication option, don't unescape and
tvbuffify it.

svn path=/trunk/; revision=11482
2004-07-23 08:36:07 +00:00
Ronnie Sahlberg b662cf7641 add all the other (quite a lot of them) attributes that were of the type DirectoryString
(see how good it is to put markers for emacs macros in the files, it was pretty quick, wasnt it? i even tested the resulting code.)


svn path=/trunk/; revision=11481
2004-07-23 08:21:51 +00:00
Guy Harris 89f9e1ee88 Use "col_append_str()" and "col_append_fstr()" to build the Info column,
rather than building a string, and use "tvb_format_text()" on the data,
so that non-printable characters are escaped.

svn path=/trunk/; revision=11480
2004-07-23 07:59:15 +00:00