Commit graph

11053 commits

Author SHA1 Message Date
Guy Harris
9b6feaee20 Get rid of some declarations of routines that no longer exist.
Fix up some declarations of other routines to match the definitions of
those routines.

svn path=/trunk/; revision=11004
2004-05-26 04:21:49 +00:00
Ulf Lamping
7d37fc9d23 more code cleanup from dialog things:
changed window_xy (dialog) function calling in a lot of gtk files
cleanup of file selection code
cleanup in dlg_utils/file_dlg/ui_util
Please report any problems!!!

svn path=/trunk/; revision=11003
2004-05-26 03:49:24 +00:00
Guy Harris
3aaf65db46 Don't capitalize "Filter" in "Display Filter" in the "Find" dialog box,
just as we don't capitalize "value" in "Hex value" in the same set of
radio buttons.

svn path=/trunk/; revision=11002
2004-05-26 02:33:37 +00:00
Guy Harris
8d492fc7e1 The function pointer in a "per_choice_t" or a "per_sequence_t" is to a
function that returns "int", not "guint32"; declare one such function as
such, and note that the function it calls should perhaps also use "int"
for packet-offset arguments and return values (or, rather, that the code
that generated it should generate functions that do so).

svn path=/trunk/; revision=11001
2004-05-25 21:27:02 +00:00
Guy Harris
f6b81fdc12 The function pointer in a "per_choice_t" or a "per_sequence_t" is to a
function that returns "int", not "guint32"; re-generate "packet-h235.c",
from the new "asn2eth.py", to define those functions to return "int".

svn path=/trunk/; revision=11000
2004-05-25 21:24:03 +00:00
Guy Harris
40ecde2765 The function pointer in a "per_choice_t" or a "per_sequence_t" is to a
function that returns "int", not "guint32"; define those functions to
return "int".

svn path=/trunk/; revision=10999
2004-05-25 21:23:09 +00:00
Guy Harris
3a0e53c866 Declare the "value_string" tables as "extern", to avoid problems when
building a shared libethereal on some platforms.

svn path=/trunk/; revision=10998
2004-05-25 21:08:33 +00:00
Guy Harris
ba6a79257a "NOT_DECODED_YET()" was replaced by "PER_NOT_DECODED_YET()" and
"BER_NOT_DECODED_YET()"; use the right one.

svn path=/trunk/; revision=10997
2004-05-25 21:07:43 +00:00
Guy Harris
3858062c2f Replace some Windows dash/hyphen character with a "-" in some comments.
Make the header files declare the "value_string" arrays as "extern", so
as to prevent problems on some platforms when building a shared
libethereal.

Note that, at least currently, we have separate "PER_NOT_DECODED_YET()"
and "BER_NOT_DECODED_YET()" macros, rather than a common
"NOT_DECODED_YET()" macro.

svn path=/trunk/; revision=10996
2004-05-25 21:06:54 +00:00
Ronnie Sahlberg
faf49756f1 fix the timestamp problem in h225
svn path=/trunk/; revision=10995
2004-05-25 19:48:40 +00:00
Ronnie Sahlberg
a0b06a20ef get rid of some compiler warnings
svn path=/trunk/; revision=10994
2004-05-25 10:17:34 +00:00
Ronnie Sahlberg
98e3ae148c H.235 dissector from Tomas compiler script.
This should make H.235 semicomplete and make a lot more H.225 packets dissect properly.

Please test.

svn path=/trunk/; revision=10993
2004-05-25 10:09:04 +00:00
Guy Harris
6b29524e23 From Thomas Anders: add support for Rekey and Error Reply messages.
svn path=/trunk/; revision=10992
2004-05-25 09:41:03 +00:00
Guy Harris
0b16140ac4 Get rid of some extra blanks.
svn path=/trunk/; revision=10991
2004-05-25 02:59:14 +00:00
Ulf Lamping
4acaa2a272 give the user a hint what to do (save his/her preferences),
when somethings wrong with the preferences,
as it's always a good idea to give a helping hand :-)

svn path=/trunk/; revision=10990
2004-05-24 18:14:58 +00:00
Ulf Lamping
b131c02ba6 dlg_destroy_cb() is static
svn path=/trunk/; revision=10989
2004-05-24 17:41:26 +00:00
Guy Harris
0a535b3a60 Even with GTK+ 2.x the arguments to "dlg_destroy_cb()" aren't used.
svn path=/trunk/; revision=10988
2004-05-24 17:32:12 +00:00
Guy Harris
d5b4c9a993 From Thomas Anders: display DHCP option 43 suboption 8 as an octet
string.

svn path=/trunk/; revision=10987
2004-05-24 16:38:29 +00:00
Ulf Lamping
a2bb0af3ca updated two mail addresses
svn path=/trunk/; revision=10986
2004-05-24 16:17:22 +00:00
Guy Harris
09509c28d9 Include <string.h> to declare "strlen()".
svn path=/trunk/; revision=10985
2004-05-24 09:00:52 +00:00
Ronnie Sahlberg
49112d11c4 From Tomas,
sourcefiles to generate H235 dissector using Tomas's ASN1 to Ethereal compiler

svn path=/trunk/; revision=10984
2004-05-24 08:42:29 +00:00
Ronnie Sahlberg
67e156bb57 From Tomas Kukosa
ASN2ETH compiler and support script for lexical and syntactic analysis.

Will later be used for all those ASN.1 protocols we havent implemented yet

svn path=/trunk/; revision=10983
2004-05-24 08:33:09 +00:00
Guy Harris
911bad80f0 Have two strings in an enum_val_t - one that's a short string that is
convenient to put into a command line (no capital letters, no spaces to
require quotes), and one that's a detailed description for use in the
UI.  Allow either of them in the preferences file or "-o" option; use
the detailed description in the UI, and also use it when writing the
preferences out, so that the preference will be readable by older
versions of Ethereal (assuming the preference existed in that version).

Update "README.developer" to give more detail about an enum_val_t (and
to put the _t in), and to give a more detailed description of the
"radio_buttons" argument to "prefs_register_enum_preference()".

svn path=/trunk/; revision=10982
2004-05-24 02:25:21 +00:00
Guy Harris
9cccb951f0 Make the XPM text "const", to get rid of some compiler warnings.
svn path=/trunk/; revision=10981
2004-05-24 02:06:01 +00:00
Guy Harris
a396513ad8 "dlg_destroy_cb()" doesn't use its arguments when built with GTK+
1.2[.x], so add _U_ in that case.

svn path=/trunk/; revision=10980
2004-05-24 01:58:06 +00:00
Ulf Lamping
cc68368037 use new functions in window API (ui_util.h),
use window_new instead of dlg_window_new for the statistics windows
(as these are no dialog windows)
do some code cleanup

svn path=/trunk/; revision=10979
2004-05-23 23:24:07 +00:00
Guy Harris
9332549e99 From Matthew Bradley: add an option to control how to display TSAPs
(always as strings, always as raw bytes, or as strings iff all bytes are
printable ASCII), and put the destination and source TSAPs into the
protocol tree so they can be filtered on.

svn path=/trunk/; revision=10978
2004-05-23 23:07:17 +00:00
Jörg Mayer
947acd5be6 Enable building dftest by default
svn path=/trunk/; revision=10977
2004-05-23 22:34:44 +00:00
Guy Harris
01c249fd4f From Lars Roland: define an "installation" version of GTK+ 2.x and Pango
in "config.nmake", and use that in the NSIS script when generating the
NSIS installer, so it puts GTK+ and Pango in the appropriate
subdirectories.  Also, when uninstalling, remove both of the sets of
subdirectories.

As per his suggestion, get rid of the "GTK1_VERSION" and "GTK2_VERSION"
macros, and just directly insert the values where those macros were used
- "GTK1_VERSION" wasn't used at all, and "GTK2_VERSION" was only used
immediately below where it was defined, and stuff elsewhere, such as in
the NSIS script, didn't use them and would break if you changed them
anyway.

svn path=/trunk/; revision=10976
2004-05-23 22:21:30 +00:00
Guy Harris
f265eea4b7 From Lars Roland: add some more .cvsignore items.
svn path=/trunk/; revision=10975
2004-05-23 22:06:33 +00:00
Ulf Lamping
01c236864a next step to save the size and postition of the dialogs (using a hashtable)
move the get/set window size functionality from main to ui_util,
add some functions to handle windows/dialogs.

changed help and about dialog to suit the current window API

svn path=/trunk/; revision=10974
2004-05-23 17:37:36 +00:00
Ulf Lamping
461c0d59cd add some comments about using WIDGET_SET_SIZE() macro
svn path=/trunk/; revision=10973
2004-05-23 15:03:09 +00:00
Anders Broman
4f9ab6e99d Add translation of result codes
svn path=/trunk/; revision=10972
2004-05-23 13:43:13 +00:00
Guy Harris
4ffaeaca9b In outgoing messages:
put the screen name into the Info column before fetching the
	message text, so it gets into the Info column even if we throw
	an exception fetching the message text;

	use the right offset when adding the screen name to the protocol
	tree;

	use the right offset for the byte after the screen name when
	calling "aim_get_message()".

svn path=/trunk/; revision=10971
2004-05-23 01:53:29 +00:00
Guy Harris
fa5f01158a Put in a missing space.
svn path=/trunk/; revision=10970
2004-05-23 01:10:00 +00:00
Guy Harris
adb3fcd645 Add "ethereal-tmp.pod" to the list of files to ignore.
svn path=/trunk/; revision=10969
2004-05-22 22:30:14 +00:00
Guy Harris
99bab7f7d8 "--binary" is not a universal "cat" flag, and shouldn't be necessary on
UN*X and, hopefully, not in Cygwin either.

svn path=/trunk/; revision=10968
2004-05-22 22:29:28 +00:00
Guy Harris
11db4da7a3 Use "/" rather than "\" in UN*X pathnames.
svn path=/trunk/; revision=10967
2004-05-22 21:52:37 +00:00
Guy Harris
96afc1755d Make "ethereal.1" depend on "AUTHORS-SHORT", so that "AUTHORS-SHORT"
(which is built in the top-level directory) is built before we try to
build "ethereal.1" (which is built in the "doc" directory).

svn path=/trunk/; revision=10966
2004-05-22 21:51:30 +00:00
Guy Harris
4b6ff1fc67 From Thomas Anders:
- full support for "Wake Up" and "Security Parameter Recovered" messages
- full support for IPsec (additionally to SNMPv3) DOI
- add descriptive text to the info column (COL_INFO)
- proper FT_BOOLEAN type for "Re-establish" and "ACK required" flags
- proper item length for "PacketCable" (top-level), "List of ciphersuites"
  and "Application Specific Data"
- minor cleanup

svn path=/trunk/; revision=10965
2004-05-22 21:47:32 +00:00
Ulf Lamping
d6eeb0936d going to have a standard behaviour of the dialogs
(including remebering of the dialog size in recent file).
for a first step, I replaced all window_new() calls from dialogs
into dlg_window_new() ones, and removed all gtk_window_set_position
calls, this should be done in a more generalized way

svn path=/trunk/; revision=10964
2004-05-22 19:56:19 +00:00
Ulf Lamping
a8635a17e7 remove (duplicated) list of authors from ethereal.pod,
and use ../AUTHORS-SHORT instead to concatenate a tmp file to use

svn path=/trunk/; revision=10963
2004-05-22 17:14:32 +00:00
Ulf Lamping
5e304e158e merged differences between this file and doc/ethereal.pod
svn path=/trunk/; revision=10962
2004-05-22 17:05:15 +00:00
Ulf Lamping
cd929c2325 sligthly change indentation,
so the generated file AUTHORS-SHORTwill look a lot better

svn path=/trunk/; revision=10961
2004-05-22 15:29:17 +00:00
Jörg Mayer
6a6f1cc23b Next attempt to match an empty line on Windows
svn path=/trunk/; revision=10960
2004-05-22 14:05:33 +00:00
Ulf Lamping
94b84ca199 some beautifying and
bring the links to live, so the html manpage will jump correctly to it's link targets

svn path=/trunk/; revision=10959
2004-05-22 13:49:01 +00:00
Ulf Lamping
4aab156487 add a target to build the manpages
svn path=/trunk/; revision=10958
2004-05-22 13:45:05 +00:00
Ulf Lamping
cedeed9847 update manpage, to reflect recent (and not so recent :-( changes in the GUI,
like some things in the menu and Preferences, and fixed some minor bugs
which caused undesired formatting.

svn path=/trunk/; revision=10957
2004-05-22 12:32:00 +00:00
Guy Harris
d346faf38a From Gisle Vanem: export more functions from libethereal, as they're
needed by Ethereal itself.

svn path=/trunk/; revision=10956
2004-05-22 08:12:33 +00:00
Guy Harris
4934457275 Fix the other place where we construct temporary path names to use
G_DIR_SEPARATOR and G_DIR_SEPARATOR_S, to get rid of one more
horse-frightening pathname.

svn path=/trunk/; revision=10955
2004-05-22 07:50:15 +00:00