Commit Graph

11268 Commits

Author SHA1 Message Date
Guy Harris f0fc7264f4 From Pavel Kankovsky: the items pointed to by elements in the "text[]"
array are all "g_free()"d, so they have to be "g_malloc()"ed - instead
of setting some to "", set them to "g_strdup("")".

svn path=/trunk/; revision=11370
2004-07-13 05:43:59 +00:00
Guy Harris 730b524545 From Jean-Baptiste Marchand: MS Eventlog support.
svn path=/trunk/; revision=11369
2004-07-13 05:29:23 +00:00
Ulf Lamping 4492f58213 bugfix to a bug reported by jprakashbabu@hotpop.com:
mergecap didn't created a new output file

svn path=/trunk/; revision=11368
2004-07-12 21:00:40 +00:00
Ulf Lamping 657f57e62b bugfix to a bug reported by Ian Schorr:
don't present main window when closing dialogs on GTK2.4,
as this might be a statistic window

svn path=/trunk/; revision=11367
2004-07-12 20:01:41 +00:00
Ulf Lamping 05232a7e22 bugfix to a bug reported by Stuart MacDonald (bug #12):
present main window before closing the program,
when asking to save the capture file first

svn path=/trunk/; revision=11366
2004-07-12 19:10:58 +00:00
Ulf Lamping e987a57bc3 bugfix to a bug reported by Ian Schorr:
GTK2.4 open directory doesn't go into last opened dir
(this will affect all open file dialogs)

svn path=/trunk/; revision=11365
2004-07-12 18:39:03 +00:00
Ulf Lamping 6587c1bfee bugfix to a bug reported by Stuart MacDonald (bug #10):
return FALSE for the recent files text entry, otherwise Ethereal will
crash when selected this field and press Apply

svn path=/trunk/; revision=11364
2004-07-12 17:20:06 +00:00
Michael Tüxen 605cfd40d3 Correct my name
svn path=/trunk/; revision=11363
2004-07-11 18:01:06 +00:00
Ulf Lamping cd5579c954 changed column headers, replaced e.g. "-> Packets" by
"Packets A->B" to clarify behaviour

svn path=/trunk/; revision=11362
2004-07-10 11:57:19 +00:00
Ulf Lamping 8f1057754e changed column headers, don't talk of frames but of packets
svn path=/trunk/; revision=11361
2004-07-10 11:53:51 +00:00
Guy Harris 7fb47f314f From Jean-Baptiste Marchand: frsrpc and frsapi support.
svn path=/trunk/; revision=11360
2004-07-10 07:16:55 +00:00
Guy Harris c35b581d8c SUM, like COUNT, MIN, MAX, and AVG, computes the value over the
interval, not over the entire capture (a sum over the entire capture
would yield only one value, which isn't very interesting to plot).

svn path=/trunk/; revision=11359
2004-07-10 02:07:23 +00:00
Guy Harris 28334384ed Clean up some formatting, and fix some typoes.
svn path=/trunk/; revision=11358
2004-07-10 01:01:41 +00:00
Guy Harris 363863fd81 Use "iscntrl()", rather than "isprint()", to test whether a character is
a CTL in HTTP, ICAP, and RTSP.

Check for non-ASCII characters in ICAP and RTSP, just as we do in HTTP.

The headers in those protocols are just "headers", not "MIME headers",
at least in the RFCs (common usage nonwithstanding; not all of those
headers are for MIME stuff such as Content-Type).

Add some RFC numbers.

svn path=/trunk/; revision=11357
2004-07-09 23:37:40 +00:00
Guy Harris 7661a992b6 Move the redefinition of "isprint()" to be used by dissectors when
generating strings to put into the printable representation of protocol
tree items into an "isprint.h" header, and include it in some additional
dissectors.

Add bounds checking to one place in the DICOM dissector.

svn path=/trunk/; revision=11356
2004-07-09 23:17:05 +00:00
Guy Harris fe1b0f99c4 In the GTK+ code, move the redefinition of "isprint()" to
"gtk/isprint.h", and include that in "follow_dlg.c" (which wasn't
including "gtkglobals.h" and thus wasn't getting the redefinition) and
"proto_draw.c" (which was including "gtkglobals.h" but now needs to
include "isprint.h" as well).

svn path=/trunk/; revision=11355
2004-07-09 23:02:38 +00:00
Guy Harris 50ac581613 "length" is relative to the start of the field, so don't subtract the
start of the field from it.

svn path=/trunk/; revision=11354
2004-07-09 21:52:03 +00:00
Guy Harris 70e22b4aba Don't allow non-positive values for the main window width and height
values in the "recent" file.  Also, check for syntax errors in numerical
values.

Set the main window height, as well as the main window width, to default
values before we read in the values from the "recent" file.  (Use
non-positive values here if you want the default to be "don't set the
geometry" - note that you can't set one to a positive value and the
other one to a non-positive value and expect only one to be set; they
*both* have to be positive in order for the size to be set.)

Treat non-positive values for those settings in the "recent" structure
as an indication that we don't have values from them and that we should
therefore not set the window size.

svn path=/trunk/; revision=11353
2004-07-09 21:13:22 +00:00
Michael Tüxen 02263ddbdc Updated to support the upcoming
draft-ietf-rserpool-enrp-09.txt

svn path=/trunk/; revision=11352
2004-07-09 19:50:00 +00:00
Gerald Combs 11c2a42da5 Don't show the splash screen if we've been passed the "-G" flag.
svn path=/trunk/; revision=11351
2004-07-09 18:43:04 +00:00
Gerald Combs e7eaa72a89 Add more entries.
svn path=/trunk/; revision=11350
2004-07-09 18:42:35 +00:00
Guy Harris 49283faa17 Don't complain about "-T pdml" or "-T psml" being combined with "-x"
only if "-x" was specified.

svn path=/trunk/; revision=11349
2004-07-09 09:21:07 +00:00
Guy Harris be8fa3eaa3 From Solomon Peachy: fix the decoding of the Association ID in
management frames.

svn path=/trunk/; revision=11348
2004-07-09 04:54:08 +00:00
Michael Tüxen e4351bb368 Fix my e-mail address.
svn path=/trunk/; revision=11347
2004-07-08 23:31:06 +00:00
Guy Harris a354e21de5 Give more details on the "don't build the protocol tree if you don't
have to", indicating that if it's too much work to explicitly test for a
null protocol tree, you might want to avoid those tests and rely on the
protocol tree routines not to do much work if passed a null protocol
tree pointer.

svn path=/trunk/; revision=11346
2004-07-08 21:16:04 +00:00
Guy Harris b50a28ec89 "Frame" -> "Packet", as per UI and Ethereal man page changes.
svn path=/trunk/; revision=11345
2004-07-08 21:02:18 +00:00
Guy Harris 4556f3b88e Document "-T psml", and give more details in the descriptiion of the
"-T" option.

Talk about packet details rather than the protocol tree, just as we do in
the Ethereal manual page.

Clean up the descriptions of some of the "-z" options.

Fix some typos.

svn path=/trunk/; revision=11344
2004-07-08 20:57:24 +00:00
Guy Harris d26e67c773 If we're producing PostScript, don't put the column headers out if we're
not putting the column data out.

Don't fill in the column information if we're not going to use it.

svn path=/trunk/; revision=11343
2004-07-08 11:07:29 +00:00
Guy Harris b650d01031 Make the "human-readable text vs. PSML vs. PDML" choice separate from
the "text vs.  PostScript" choice.  The "text vs. PostScript" choice
should probably ultimately be done with a generic set of print methods,
to handle various platform-native print mechanisms more cleanly (and
perhaps the dialog box code for "export as {PDML,PSML}" should be
separate from the "export as text"/"print" dialog).

svn path=/trunk/; revision=11342
2004-07-08 10:36:29 +00:00
Guy Harris 155117bd61 Fix the error for a WTAP_ERR_UNSUPPORTED_ENCAP read error to more
accurately reflect the problem (it's not that the entire file has a
network type we don't handle - if it did, we'd have failed when we tried
to open it - it's that the packet we tried to read does).

svn path=/trunk/; revision=11341
2004-07-08 07:47:29 +00:00
Guy Harris 5f1b5daf6b A read can return WTAP_ERR_UNSUPPORTED_ENCAP if the encapsulation type
is per-packet and the packet has an encapsulation type we don't know
about, so handle it on reads as well as errors - show an error message
noting that we had a packet with a network type we don't know about, and
show the extra info returned for that error giving details.

It shouldn't return WTAP_ERR_UNSUPPORTED, however, so just give the
"wtap_strerror()" error for that case.

svn path=/trunk/; revision=11340
2004-07-08 07:45:46 +00:00
Guy Harris 6216591bdf If we don't know the board type in a Lanayzer capture, return
WTAP_ERR_UNSUPPORTED_ENCAP, not WTAP_ERR_UNSUPPORTED, as it presumably
means the capture was done on some type of device we don't know about.

svn path=/trunk/; revision=11339
2004-07-08 07:32:39 +00:00
Gerald Combs 57711ea69e Final (heh) changes for 0.10.5.
svn path=/trunk/; revision=11337
2004-07-07 22:20:42 +00:00
Gerald Combs d33d84d0c4 More NEWS updates.
svn path=/trunk/; revision=11336
2004-07-07 20:03:22 +00:00
Gerald Combs a3545d4b9f Enable GTK_WIMP and GTK2 by default. Make GTK2 2.4 and Pango 1.4 the default
versions.

svn path=/trunk/; revision=11335
2004-07-07 19:15:46 +00:00
Ulf Lamping 76c2bec3ca bugfix: preference related capture options shouldn't be set by preferences,
if Ethereal is running as a capture_child

svn path=/trunk/; revision=11334
2004-07-07 16:31:30 +00:00
Ulf Lamping 355c9126ff don't show webbrowser calling menu items, when using GLib 1.x
svn path=/trunk/; revision=11333
2004-07-07 16:26:52 +00:00
Ulf Lamping 7c73a1552b remove doxygen output dir "html" on make clean
svn path=/trunk/; revision=11332
2004-07-07 16:23:13 +00:00
Guy Harris 081f3ca151 Realize the splash screen window right after creating it, rather than
doing a "show all" followed by a "hide"; that way we don't get a tiny
window that pops up briefly and disappears.

Get rid of the additional positioning of the splash screen -
"splash_window_new()" does that for us.

Expand some comments.

svn path=/trunk/; revision=11331
2004-07-07 07:01:37 +00:00
Guy Harris a54ce518c8 With GLib 1.2[.x], undefine MUST_LAUNCH_BROWSER_OURSELVES, so that we
say that we don't need a preference for the command to launch a browser
(that preference won't make any difference).

svn path=/trunk/; revision=11330
2004-07-07 06:09:50 +00:00
Guy Harris 4077cb9b5b Get rid of the splash screen's title bar on GTK+ 1.2[.x] as well.
svn path=/trunk/; revision=11329
2004-07-07 05:36:10 +00:00
Guy Harris 696197a940 From Henry Ptasinski: support for 802.11e WME/QoS info.
svn path=/trunk/; revision=11328
2004-07-07 04:48:38 +00:00
Guy Harris 71ede39f46 Update comments and note that values are in *host* byte order, as in
"the byte order of the host that wrote the capture", not "the byte order
of the host *reading* the capture".

Don't show values that aren't present - the "status" field of the item
for the value is 0 if it's present and non-0 if absent.

Get rid of extra VALFIELD() call for the data rate (we handle it
ourselves).

svn path=/trunk/; revision=11327
2004-07-07 04:17:38 +00:00
Olivier Biot 988c2c7c7a Specify which "protocol" is added to WBXML (User-Agent Profile for WSP
Profile-Diff header).

svn path=/trunk/; revision=11326
2004-07-07 00:09:51 +00:00
Guy Harris 1ef2d08321 Add some notes on the stuff in the Prism header.
svn path=/trunk/; revision=11325
2004-07-06 23:47:21 +00:00
Guy Harris 75d5e58832 From Shinsuke Suzuke: fix a PIM address list bug, and put the address
list into a subtree.

svn path=/trunk/; revision=11324
2004-07-06 19:44:56 +00:00
Guy Harris e378012ed4 In "packet-ieee80211.c", use the same scheme for displaying the data
rate used elsewhere, rather than using floating point.

In "packet-prism.c", show the data rate correctly in the column display,
and show it as Mb/s in the protocol tree, and show it as "Data Rate", as
it is in "packet-ieee80211.c".

In "packet-radiotap.c" and "packet-wlancap.c", show it as "Data Rate"
rather than as "Datarate".

Show the units uniformly as "Mb/s", rather than "mb/s" (it's mega, not
milli) or "Mbps", except for the AVS header, where it's Kb/s.

svn path=/trunk/; revision=11323
2004-07-06 19:22:45 +00:00
Gerald Combs 1020c9bd40 Add ENRP to the new protocol list.
svn path=/trunk/; revision=11322
2004-07-06 19:17:01 +00:00
Gerald Combs 04d996b183 Make sure child processes don't create a splash screen. Make the verbs in
the splash screen messages present participles.

svn path=/trunk/; revision=11321
2004-07-06 19:16:04 +00:00
Gerald Combs 2b53a88bf8 From Dinesh Dutt:
- conversation.[ch] - To support not setting port2 on matching a
      conversation. This is used by protocols such as iSNS in which the client
      registers a TCP/UDP port with the server for notifications and the server
      sends notifications to this port from different source ports.
    - packet-isns.c - Added support for handling zero-length TLVs and ESI & SCN
      frames (when registering an SCN/ESI port, a conversation dissector is
      setup).

svn path=/trunk/; revision=11320
2004-07-06 19:01:32 +00:00