Commit Graph

10528 Commits

Author SHA1 Message Date
Ulf Lamping f4564cf6aa added PSML output to the printing dialog
svn path=/trunk/; revision=10628
2004-04-17 11:50:14 +00:00
Olivier Biot 5c550c3788 Fix a typo in %DateTime of length 7 (missing colon between minutes and seconds).
svn path=/trunk/; revision=10627
2004-04-17 10:45:58 +00:00
Ulf Lamping 667d4eecd9 PDML output: if a protocol field is invisible,
add the attribute: hide="yes" to the field node

svn path=/trunk/; revision=10626
2004-04-17 09:02:32 +00:00
Guy Harris b54a2d3f11 Neaten up the display of the top-level protocol tree item for a number
IE.

svn path=/trunk/; revision=10625
2004-04-17 04:43:58 +00:00
Guy Harris 773a8fa0e3 In EnterNotify and LeaveNotify events, the last byte isn't a Boolean,
it's a bitmask with "focus" and "same-screen" bits.

svn path=/trunk/; revision=10624
2004-04-17 03:38:09 +00:00
Guy Harris 7815961f50 The value returned by "diameter_avp_get_value()" is used only in
protocol tree items that also have the AVP value in the text, so there's
no reason to have the string returned by "diameter_avp_get_value()"
contain that value as well - it's redundant.

svn path=/trunk/; revision=10623
2004-04-17 03:02:01 +00:00
Guy Harris e6f2831d43 Confirmation dialogs should be marked as such.
svn path=/trunk/; revision=10622
2004-04-17 01:12:47 +00:00
Guy Harris d4bb41b15d Failure to get the list of interfaces should be reported as an error.
svn path=/trunk/; revision=10621
2004-04-17 01:10:09 +00:00
Guy Harris 76a4b357d8 Failures when capturing should be reported as errors.
svn path=/trunk/; revision=10620
2004-04-17 01:07:47 +00:00
Guy Harris 64e8678959 Update to handle the changed epan_init() API, with a "general failure"
routine added.  Add a missing newline to the end of read failure
messages.

svn path=/trunk/; revision=10619
2004-04-17 01:05:00 +00:00
Guy Harris 5fe1168180 Report problems due to the user specifying something we can't handle as
errors, not warnings.

svn path=/trunk/; revision=10618
2004-04-17 01:01:22 +00:00
Guy Harris 5d9b301783 Report errors in opening various configuration files at the time the
failure occurs; now that "simple_dialog()" queues up messages if we
don't yet have the main window, those messages will be queued up until
then.

Move the point at which we pop up those queued messages after the
"process all pending GUI events" is done, so that those messages are
properly displayed on top of the main window.

svn path=/trunk/; revision=10617
2004-04-16 23:57:54 +00:00
Guy Harris d209115ba3 Add a "report_failure()" routine to allow dissectors to report arbitrary
errors to the user.  Use that, rather than "g_warning()", in the
Diameter dissector to report errors reading the dictionary.

Make the format argument to "simple_dialog()" a "const" pointer.

Fix up the read-error message in Tethereal to end with a newline.

If a simple dialog is requested before the main window or the
capture-control window is popped up, queue it up and pop the queued
messages up once the main or capture-control window is displayed.

svn path=/trunk/; revision=10616
2004-04-16 23:17:13 +00:00
Olivier Biot a0146ed5be Add a discriminator for WV-CSP so the correct version is used for rendering the WBXML tokens in WV-CSP.
Provide rendering of OPAQUE data for media types, based on a framework of 4 functions that take care of well-known and literal tags and attribute names for deciding on the meaning of the OPAQUE data. Applied to SI, EMN and WV-CSP.

Update reference URLs for WAP, OMA and related specs.

Note: as the WBXML common code only takes ~2000 lines while the token mappings take ~4000 lines, maybe it is time to envisage writing the per-media mappings to dedicated source files (packet-wbxml-wml.c, packet-wbxml-wv_csp.c etc)?

svn path=/trunk/; revision=10615
2004-04-16 22:44:24 +00:00
Guy Harris 6d2501b49f If we're printing summaries and packet detail or hex dump information,
print the header before each summary line, and print a blank line
separating the summary line and the remaining information.

svn path=/trunk/; revision=10614
2004-04-16 20:20:54 +00:00
Guy Harris 00a057b79f Make "new_color_filter()" take the background and foreground colors, as
GdkColors, as arguments.

svn path=/trunk/; revision=10613
2004-04-16 19:36:36 +00:00
Guy Harris e20b794c0e You have to initialize a GtkColor structure before passing it to
"get_color()" - otherwise, GDK will allocate a color from the colormap
to match whatever random values happen to be there.

svn path=/trunk/; revision=10612
2004-04-16 19:05:05 +00:00
Ulf Lamping 8c42aa51f7 make print dialog "Packet Format" options somewhat similar to the
Ethereal panes, thus better understandable

svn path=/trunk/; revision=10611
2004-04-16 18:17:48 +00:00
Ulf Lamping 24275c3736 bugfix: make the "no dissections" radiobutton insensitive,
if packet details isn't selected

svn path=/trunk/; revision=10610
2004-04-16 05:30:39 +00:00
Guy Harris e5f2451735 Rename a bunch of variables and routines that pertain to string search
with "string" rather than "ascii", to make it clearer what they're
involved with.

Use "gtk_toggle_button_set_active()", not
"gtk_toggle_button_set_state()" (the latter is a deprecated alias for
the former, probably dating back to GTK+ 1.0[.x] - 1.2[.x] and later
have "gtk_toggle_button_set_active()").

Do *NOT* change the radio buttons for the type of string search to do
based on whether we're doing a string search or not - doing so means we
don't correctly remember the type of string search.

Get rid of code to fetch some values that we don't subsequently use.

svn path=/trunk/; revision=10609
2004-04-15 23:28:11 +00:00
Olivier Biot e6ee0dc7c7 Add two preferences to the WBXML dissector:
- Control the rendering of WBXML tokens to a media type token mapping.
- Control the dissection of the tokens that make up the WBXML body.
Both preferences are OFF by default.

Fix some comments as they did not reflect the current state anymore.

svn path=/trunk/; revision=10608
2004-04-15 22:38:22 +00:00
Ulf Lamping d9fcc8e05a added print output option, to suppress dissection completely
(for raw packet hexdump)

svn path=/trunk/; revision=10607
2004-04-15 19:56:15 +00:00
Ulf Lamping 77f9354bf7 added print output of PDML format
svn path=/trunk/; revision=10606
2004-04-15 19:07:13 +00:00
Guy Harris cfc46983d3 From Dick Gooris: PacketCable support in the COPS dissector.
svn path=/trunk/; revision=10605
2004-04-15 09:24:07 +00:00
Ronnie Sahlberg 09e902f53b decryption and dissection of PA_ENC_TIMESTAMP
svn path=/trunk/; revision=10604
2004-04-15 08:34:21 +00:00
Ronnie Sahlberg 08b916c983 dissect EncKDCRepPart applications 25 and 26
svn path=/trunk/; revision=10603
2004-04-15 07:47:47 +00:00
Guy Harris 1bf8373b9f Add some braces to squelch a GCC warning.
svn path=/trunk/; revision=10602
2004-04-15 00:18:38 +00:00
Olivier Biot 4459d9f0a9 Add support for plugin dissectors on cygwin builds, by adding the following
line to every Makefile.am file for a given plugin XXX:

	XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

This way symbols defined in libethereal and GLib are resolved when linking
the plugin dissector modules.

svn path=/trunk/; revision=10601
2004-04-14 22:13:28 +00:00
Olivier Biot af4a73a523 At last compiling on CygWin works again! Added the missing PCRE and GLIB
libraries to libftypes.

Provide caching of computed configure tests.

svn path=/trunk/; revision=10600
2004-04-14 18:42:19 +00:00
Ulf Lamping 27ca219d2b two memory leaks removed
svn path=/trunk/; revision=10599
2004-04-14 05:46:34 +00:00
Anders Broman 8d116606bd Correct the removal of spaces before parameters in the Content type line, change some tags according to --sip-publish-03
svn path=/trunk/; revision=10598
2004-04-14 04:45:10 +00:00
Olivier Biot aee4bfce22 Fix the default clause for not implemented MMS headers by adding more generic
code from WSP (based on the wkh_default() method).

Add initial support for MMS 1.1 and MMS 1.2 (header names, PDU types, response
status codes, message status).

TODO: implement the *full* header dissections for MMS 1.1 and MMS 1.2.

svn path=/trunk/; revision=10597
2004-04-13 22:07:34 +00:00
Guy Harris 2cc3a7c6ca Use the "a_bit" true_false_string for the "llcgprs.as" field.
svn path=/trunk/; revision=10596
2004-04-13 21:32:57 +00:00
Guy Harris d9fd0a62a4 Change the decision tree for protocol and data compression so that it
doesn't test all four possibilities - with the old code, GCC doesn't
understand that one of the four possibilities must be true, so it
complains that "compression_field_item" might not be set, but it does
understand that with the new code.

svn path=/trunk/; revision=10595
2004-04-13 21:29:18 +00:00
Michael Tüxen 254aba8282 From Jon Oberheide: Add interface name to the capture and ethereal window
while capturing.

svn path=/trunk/; revision=10594
2004-04-13 18:01:40 +00:00
Guy Harris 8572046cd8 Get rid of some unused variables, as per Josef Korelus.
svn path=/trunk/; revision=10593
2004-04-13 17:48:34 +00:00
Guy Harris 2b27929a3e Don't put blanks at the ends of strings added with "col_add_fstr()", put
them at the beginnings of strings appended with "col_append_str()", so
there won't be extra blanks at the end.

svn path=/trunk/; revision=10592
2004-04-13 04:45:37 +00:00
Guy Harris 7cf08c6404 From Christian Falckenberg: GPRS SNDCP support.
svn path=/trunk/; revision=10591
2004-04-13 04:36:20 +00:00
Guy Harris 805b648172 From Josef Korelus: GPRS LLC support.
svn path=/trunk/; revision=10590
2004-04-13 04:21:30 +00:00
Guy Harris bb0c29f917 From Clinton Work: dissect Cisco PID 0x010b as STP (it's actually their
own modified Per-VLAN STP, so there's some extra stuff at the end of the
packet that needs to be decoded).

Indicate in a comment in packet-cisco-oui.c what PVSTP is.

svn path=/trunk/; revision=10589
2004-04-13 04:04:56 +00:00
Guy Harris 373572be13 Put in a comment noting a possible memory leak.
svn path=/trunk/; revision=10588
2004-04-12 22:14:37 +00:00
Ulf Lamping 6bcd3f6c84 ESC key presses Close button
svn path=/trunk/; revision=10587
2004-04-12 18:01:27 +00:00
Ulf Lamping d4f93b305f added a close button to the dialogs,
use the dlg_window_new function for all dialogs

svn path=/trunk/; revision=10586
2004-04-12 09:48:19 +00:00
Ulf Lamping 05aade5c91 added missing #include from my latest checkin
svn path=/trunk/; revision=10585
2004-04-12 08:59:41 +00:00
Ulf Lamping a7c964355b added a close button to the dialogs,
use the dlg_window_new function for all dialogs

svn path=/trunk/; revision=10584
2004-04-12 08:53:02 +00:00
Ulf Lamping 1717eed35f added a close button to the dialogs
svn path=/trunk/; revision=10583
2004-04-12 07:10:11 +00:00
Guy Harris d9cad7236e From Jon Oberheide: add the "Password Hash" label to AIM_TLV_PASSWORD
(0x0025) which was previously "Unknown".

svn path=/trunk/; revision=10582
2004-04-11 20:57:10 +00:00
Guy Harris 10b1de8a41 From Jon Oberheide: add a missing hf[] entry for a field.
Fix up AUTHORS and the authors list in the Ethereal man page.

svn path=/trunk/; revision=10581
2004-04-11 20:47:58 +00:00
Ulf Lamping ac0638e803 did lot's of cleanup to the text, especially in the library sections
svn path=/trunk/; revision=10580
2004-04-10 09:10:01 +00:00
Ulf Lamping 55c3178e95 Modify the "setup" target to download the packages we've defined, so that we
don't download the GTK1 packages unless we have GTK1_DIR defined.

svn path=/trunk/; revision=10579
2004-04-10 07:29:14 +00:00