Commit graph

1669 commits

Author SHA1 Message Date
Ronnie Sahlberg
1824fa29c2 GdkDisplay is only available in gtk 2.2 and later
it is not available in gtk 2.0 which all of us using more prooven and stable (==obsolete) versions use.


svn path=/trunk/; revision=11455
2004-07-21 08:51:08 +00:00
Ulf Lamping
1f4829897a from Thomas Palmer: copy content of hostlist table to clipboard in csv format.
svn path=/trunk/; revision=11450
2004-07-20 23:48:50 +00:00
Ulf Lamping
35f26ce2c2 refactoring and renaming finished
svn path=/trunk/; revision=11449
2004-07-20 21:39:54 +00:00
Ulf Lamping
e083ac3514 some more renaming of the conversation tables things
svn path=/trunk/; revision=11448
2004-07-20 20:56:53 +00:00
Ulf Lamping
d23af58fd6 renamed endpoint_talkers to conversations, as this reduces confusion in combination with the hostlist/endpoints table
(some code refactoring still needs to be done in table.c/.h).

svn path=/trunk/; revision=11439
2004-07-20 06:06:41 +00:00
Guy Harris
f9c41e9913 "gtk/filter_prefs.h" was renamed "gtk/filter_dlg.h"; update the Makefile
stuff appropriately.

svn path=/trunk/; revision=11438
2004-07-19 23:21:01 +00:00
Guy Harris
a4f1f4703d It's not called "filter_prefs.h" any more.
svn path=/trunk/; revision=11437
2004-07-19 23:17:20 +00:00
Ulf Lamping
bfd6ace52e renamed filter_prefs to filter_dlg, as the filter settings are (well, for a long time) no longer part of the preferences dialog.
svn path=/trunk/; revision=11436
2004-07-19 21:42:01 +00:00
Guy Harris
2ad97737fe Pull the address (and port and circuit type) stuff out of
"epan/packet_info.h" and put it in "epan/address.h".

Use the AT_ values from "epan/address.h" for address types in the
interface lists rather than having our own FAM_ enums.

svn path=/trunk/; revision=11427
2004-07-19 02:27:17 +00:00
Jörg Mayer
fd24ad7d92 .cvsignore is dead
it has been replaced by
svn proplist -v <dir/file>
and
svn propedit <dir/file>

svn path=/trunk/; revision=11422
2004-07-18 23:44:34 +00:00
Jörg Mayer
56c759212f Add epan/dissectors/.cvsignore
Add tags and TAGS to all .cvsignore files

svn path=/trunk/; revision=11419
2004-07-18 22:51:50 +00:00
Guy Harris
0e754b6725 If the pane separator positions are 0 (e.g., because this is GTK+
1.2[.x] and you can't get the positions), don't write them out, as
they'll get errors when they're read back in.

svn path=/trunk/; revision=11414
2004-07-18 19:54:07 +00:00
Guy Harris
2aec055c79 Add support for IPv6 addresses for interfaces.
svn path=/trunk/; revision=11411
2004-07-18 18:47:44 +00:00
Gilbert Ramirez
669db206cb Move dissectors to epan/dissectors directory.
Also move ncp222.py, x11-fields, process-x11-fields.pl,
make-reg-dotc, and make-reg-dotc.py.

Adjust #include lines in files that include packet-*.h
files.

svn path=/trunk/; revision=11410
2004-07-18 18:06:47 +00:00
Guy Harris
53c8fcbd6e Add some comments, and expand on a comment (if "pcap_stats()" returns
counts since the last call, not since the beginning of the capture, on
Windows, that's a bug - and that bug *does* exist on some UN*Xes).

Clean up indentation.

Use the minimum snapshot length, not the maximum snapshot length, when
opening a network interface to keep track of how many packets are
arriving on it (that might cause packet data to be discarded rather than
buffering it, reducing the overhead of running all those captures from
which we don't actually grab any packets.

svn path=/trunk/; revision=11404
2004-07-18 02:56:29 +00:00
Guy Harris
5acf051692 Not all interfaces have descriptions.
svn path=/trunk/; revision=11403
2004-07-18 02:43:18 +00:00
Guy Harris
860750fb90 Squelch a compiler warning.
svn path=/trunk/; revision=11401
2004-07-18 02:32:19 +00:00
Guy Harris
8a8b883450 Set the svn:eol-style property on all text files to "native", so that
they have LF at the end of the line on UN*X and CR/LF on Windows;
hopefully this means that if a CR/LF version is checked in on Windows,
the CRs will be stripped so that they show up only when checked out on
Windows, not on UN*X.

svn path=/trunk/; revision=11400
2004-07-18 00:24:25 +00:00
Ulf Lamping
357ebbca5a add a new dialog box to menu "Capture/Interfaces..." to show the current state of the interfaces and a quick way to start a capture.
added the IP address of the currently selected interface to the capture options dialog

svn path=/trunk/; revision=11396
2004-07-17 13:50:07 +00:00
Guy Harris
456b2c075f From Lars Ruoff: don't hardwire the RTP sampling clock rate to 8000
samples/second, determine it from the payload type for payload types
with a known clock rate.

svn path=/trunk/; revision=11390
2004-07-17 10:14:03 +00:00
Guy Harris
e31d5dda74 From Martin Mathieson: if you create a new filter and cancel the "Edit
Color Filter" dialog, remove the new filter from the list.

svn path=/trunk/; revision=11389
2004-07-17 10:09:12 +00:00
Gerald Combs
8106dc0862 Convert make-version.pl and the associated cvsversion.h and CVSVERSION
definition to Subversion.  "svn info" prints out the last changed date
of the repository, so we don't have to go hunting through "CVS/Entries"
files anymore.


svn path=/trunk/; revision=11379
2004-07-15 21:09:33 +00:00
Guy Harris
935b32dffe As per Pavel Kankovsky, return FALSE, not TRUE, if "user_font_test()"
fails, as that means we aren't setting the font to the new value.

svn path=/trunk/; revision=11376
2004-07-14 08:04:39 +00:00
Ulf Lamping
683c8f587a Conversation/Endpoint list performance patch from Ian Schorr
svn path=/trunk/; revision=11373
2004-07-13 18:14:00 +00:00
Guy Harris
fd262f1b97 From Daniel Thompson: add additional message/alert box options to
display "Save", "Continue without Saving", and "Cancel", for the "do you
want to save?" messages.

svn path=/trunk/; revision=11372
2004-07-13 07:15:45 +00:00
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
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
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
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
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
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
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
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
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
Ulf Lamping
074c978ab5 from Gisle Vanem: if WIN32_LEAN_AND_MEAN is defined,
include shellapi.h too

svn path=/trunk/; revision=11315
2004-07-05 05:40:51 +00:00
Ulf Lamping
8312578ffd beautify the splash screen a bit (increased border)
svn path=/trunk/; revision=11314
2004-07-05 05:32:04 +00:00
Guy Harris
4349706b7e Declare "about_ethereal()" as "void", as it returns no value, and as GCC
warns that it's implicitly declared as "int" if you don't declare its
return type.

svn path=/trunk/; revision=11313
2004-07-04 20:49:38 +00:00
Ulf Lamping
176646edbf added a splash screen while Ethereal is started
svn path=/trunk/; revision=11310
2004-07-04 12:15:41 +00:00
Jörg Mayer
227ba2f04b Trivial warning fixes: () -> (void) and comma at end of enum
svn path=/trunk/; revision=11296
2004-07-01 09:35:33 +00:00
Jörg Mayer
65598a0e7f Doxygen filenames changed
svn path=/trunk/; revision=11293
2004-07-01 08:04:47 +00:00
Anders Broman
c33e85ae63 From Martin Mathieson: Show number of detected streams in RTP Analysis window
svn path=/trunk/; revision=11288
2004-06-30 21:17:55 +00:00