Commit graph

11453 commits

Author SHA1 Message Date
Ronnie Sahlberg
70d7bbebd0 prettify the oid printing of ber oid's
svn path=/trunk/; revision=11564
2004-07-29 09:32:13 +00:00
Ronnie Sahlberg
34b6e90f3e for very large integers, print them in hex thats better than nothing
but we can not filter on them anymore


svn path=/trunk/; revision=11563
2004-07-29 08:41:51 +00:00
Olivier Biot
26691ff1be From Lars Roland: MSVC make fixes.
Many people have recently reported many problems with the nmake build 
process. It seems that these problems come from using 
epan/makefile.nmake to compile the DISSECTOR_SUPPORT_SOURCES which are 
located in /trunk.

Nmake from MSVC6 puts the object code of the DISSECTOR_SUPPORT_SOURCES 
in /epan although Nmake expects the object code in /trunk when it 
checkes dependencies. Thus DISSECTOR_SUPPORT_OBJECTS are built every 
time even when they are already there.

Nmake Version 1.5 (MSVC 2003 Toolkit) puts the object code of the 
DISSECTOR_SUPPORT_SOURCES in /trunk instead.
This makes it impossible to use epan/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES and to make it work for both versions of nmake.

We have to use /trunk/makefile.nmake for compiling the 
DISSECTOR_SUPPORT_SOURCES to solve these issues.

It should also be possible to build ethereal without libethereal.dll again.

Once we have moved all DISSECTOR_SUPPORT_SOURCES into a subdirectory of 
epan we can get rid of this patchwork in the nmake makefiles.


svn path=/trunk/; revision=11562
2004-07-29 07:25:11 +00:00
Gerald Combs
e1ede171f9 Fix a null pointer dereference.
svn path=/trunk/; revision=11561
2004-07-29 02:25:54 +00:00
Gerald Combs
8f9a933ef0 Add capinfo targets.
svn path=/trunk/; revision=11560
2004-07-29 02:01:59 +00:00
Olivier Biot
a11651260b From Lars Roland: With this patch print.(c/h) and ps.(c/h) don't belong to
the DISSECTOR_SUPPORT_xy files any longer and as a consequence they 
won't be linked into libethereal.

svn path=/trunk/; revision=11559
2004-07-29 00:11:14 +00:00
Olivier Biot
1867a5e9a5 Add capinfo to the Windows installer.
svn path=/trunk/; revision=11558
2004-07-28 23:09:12 +00:00
Olivier Biot
21cb72b093 Partial fix after some files being moved between directories.
There is still a problem with MSVC builds as 3 objects get built twice (once
at the top level, and once in epan: xmlstub.obj, print.obj and ps.obj).

This fix allows to compile again with MSVC if debug symbols are NOT enabled
while building Ethereal.  Do this by editing config.nmake and replacing
"LOCAL_LDFLAGS=/DEBUG" with "LOCAL_LDFLAGS=". In other words: Ethereal CANNOT
be built right now with debug symbols in the object code, for MSVC builds.

svn path=/trunk/; revision=11557
2004-07-28 22:41:19 +00:00
Olivier Biot
028fd26a0e Add the MSWIN RC information for capinfo.
svn path=/trunk/; revision=11556
2004-07-28 21:13:27 +00:00
Olivier Biot
cb6b29786b From Ian Schorr: capinfo - provides capture file information.
svn path=/trunk/; revision=11555
2004-07-28 20:51:29 +00:00
Ulf Lamping
1f7a025246 move the File/Close item back to it's former position. Add an explanatory comment why it's placed there, in difference to the Gnome HIG.
svn path=/trunk/; revision=11554
2004-07-28 17:19:17 +00:00
Ulf Lamping
a1020effe1 collect some thoughts about a GTK win32 printing dialog (from Guy Harris and me)
svn path=/trunk/; revision=11553
2004-07-28 16:54:46 +00:00
Ulf Lamping
c54fcb2c02 removed print_packet_header, as it seems to be no longer used/available and will result in a link error
svn path=/trunk/; revision=11552
2004-07-28 16:48:58 +00:00
Guy Harris
70cca9cb10 From Greg Morris:
check whether "match_strval()" returned a null pointer before
	using its return value;

	mark the end-of-burst packet.

Clean up white space.

svn path=/trunk/; revision=11551
2004-07-28 08:23:52 +00:00
Ronnie Sahlberg
0fd5931b07 x509ce use implicit tags.
the compiler does not yet support this.
change the definition file to make the implicit keyword explicit


svn path=/trunk/; revision=11550
2004-07-28 07:55:57 +00:00
Guy Harris
ec33d95bc8 From Ming Zhang: update to the latest draft.
svn path=/trunk/; revision=11549
2004-07-28 07:46:54 +00:00
Guy Harris
28f3dcaaac From Lars Roland: yes, it probably *should* be "retap_packets()", so use
that instead of "redissect_packets()".

svn path=/trunk/; revision=11548
2004-07-28 07:16:33 +00:00
Guy Harris
ccf6fdf10e In the GNOME HIG, the File -> Close menu item is in the last group,
right above File -> Quit.

svn path=/trunk/; revision=11547
2004-07-27 23:32:44 +00:00
Guy Harris
0f91ada161 Note that, when we add the ability to build a GNOMEified Ethereal as
well as a GTK+-only Ethereal, we could use "gnome_url_show()" in
GNOMEified Ethereal.

svn path=/trunk/; revision=11546
2004-07-27 22:39:43 +00:00
Guy Harris
e33dee6ebf Suggest the possibility of not using the Windows print dialog to print
on Windows.

svn path=/trunk/; revision=11545
2004-07-27 21:12:40 +00:00
Guy Harris
999867b710 Move the code to open the printer/print file from "print_packets()" to
"print_ok_cb()", and have "print_packets()" just work on a
"print_stream_t" handed to it, so that different platforms can open the
printer/print file in different ways (opening the file is probably not
going to be platform-dependent, but opening the printer will be).

svn path=/trunk/; revision=11544
2004-07-27 20:10:02 +00:00
Guy Harris
d03b6c614a "print_packet_header()" is no longer used (there's now a "generate
bookmark" op in the lower-level print functions), so remove it.

svn path=/trunk/; revision=11543
2004-07-27 19:19:00 +00:00
Ulf Lamping
4c8f04671b place new windows (by calling window_new() with default placement (instead of placing it at the current mouse position).
svn path=/trunk/; revision=11542
2004-07-27 19:13:48 +00:00
Guy Harris
3f6dcb9426 From Lars Roland: don't delete the generated header files with "make
distclean", as those are part of the distribution.

svn path=/trunk/; revision=11541
2004-07-27 18:57:52 +00:00
Guy Harris
74fda1d8ab From Lars Roland:
clean up the message printed when building libethereal.dll;

	have "make distclean" clean out the "dissectors" subdirectory.

Clean up indentation.

svn path=/trunk/; revision=11540
2004-07-27 18:56:50 +00:00
Ulf Lamping
65766e4fcb from ian schorr: some performance improvements in conversation and hostlist tables, by keep freezing the clist(s) most of the time
svn path=/trunk/; revision=11539
2004-07-27 18:34:02 +00:00
Michael Tüxen
ea917cc882 Change the display of identifiers from DEC to HEX.
svn path=/trunk/; revision=11538
2004-07-27 09:22:35 +00:00
Guy Harris
85f34ad42c From Ian Schorr: don't check the validity of the field name for an
advanced-mode graph if the graph isn't active.

svn path=/trunk/; revision=11537
2004-07-27 06:29:22 +00:00
Guy Harris
de555a5b7c Add the Ethertype for MAC Control frames, as per Clause 31 and Annexes
31A and 31B in the 2000 and later 802.3 specs.  (Dissecting them is left
as an exercise for the student.)

Clean up whitespace a bit.

svn path=/trunk/; revision=11536
2004-07-27 06:05:20 +00:00
Guy Harris
9ad0faed03 From Tomas Kukosa:
- only one function prototype is emitted if type is present in more
    than one cyclic dependency

  - field decoding functions has to be emitted immediately after a
    function prototype in case of cyclic dependency

  - few grammar changes               

svn path=/trunk/; revision=11535
2004-07-27 05:32:58 +00:00
Guy Harris
4249e8856c Fromm Tomas Kukosa: update to version 1.5.
svn path=/trunk/; revision=11534
2004-07-27 05:30:03 +00:00
Guy Harris
c09c233937 "ps.c" isn't a header, so don't include it in ETHEREAL_COMMON_INCLUDES.
svn path=/trunk/; revision=11533
2004-07-27 03:27:20 +00:00
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