aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2004-06-24from Tomas KRonnie Sahlberg1-92/+372
updates to the asn2eth per/ber compiler svn path=/trunk/; revision=11223
2004-06-24The hf field we pass to H235_AuthenticationMechanism is a FT_UINT32 and not ↵Ronnie Sahlberg1-3/+3
a FT_NONE this finally allows ethereal to successfulkly dissect the problem h225.cap capture properly. svn path=/trunk/; revision=11222
2004-06-24dissect_per_sequence_of needs a hf field of type FT_NONE and not FT_UINT32Ronnie Sahlberg1-4/+5
Fix one instance of this bug and verify all other uses of dissect_per_sequence_of in h225. Fix one ett field we forgot to initialize. This fixes the problem reported with a crash earlier. (ethereal still crashes but now inside the machinegenerated h235 dissector) svn path=/trunk/; revision=11221
2004-06-23Add the HTML man pages to the "ignore these files" list.Guy Harris1-0/+7
svn path=/trunk/; revision=11220
2004-06-23"g_malloc()" takes the number of bytes to allocate, not the number ofGuy Harris1-2/+3
items to allocate. svn path=/trunk/; revision=11219
2004-06-23Add paragraph about freeing tvbuffs.Gilbert Ramirez1-7/+14
svn path=/trunk/; revision=11218
2004-06-23Build and install the HTMLized man pages on UN*X.Guy Harris3-5/+93
svn path=/trunk/; revision=11217
2004-06-23Add "gtk/webbrowser.h" to declare functions from "gtk/webbrowser.c".Guy Harris5-47/+73
Rename "browser_open_program_file()" to "browser_open_data_file()", and make it open files relative to the application's data directory, as that's where data files such as HTMLized man pages would be put. (That happens to be the program directory on Windows, but it's a different directory on UN*X - and you aren't guaranteed to be able to find the program directory on UN*X by looking at argv[0] in any case.) Move it to "gtk/webbrowser.c". Fix "filename2url()" to put "file://", not just "file:", in front of pathnames on UN*X. svn path=/trunk/; revision=11216
2004-06-22Mark some unused variables as such.Guy Harris1-3/+3
svn path=/trunk/; revision=11215
2004-06-22To test whether we can build with OS X frameworks, try building withGuy Harris1-6/+27
those frameworks. svn path=/trunk/; revision=11214
2004-06-22add functionality, to show html files from the local installationUlf Lamping4-34/+153
svn path=/trunk/; revision=11213
2004-06-22Handle cases where PRI[doxu]64 is defined, but u_int64_t isn't. (Solaris 8Gerald Combs1-5/+11
only defines uint64_t, for example). svn path=/trunk/; revision=11212
2004-06-22add Henrik Brix Andersen as the original author of webbrowser.cUlf Lamping1-6/+9
svn path=/trunk/; revision=11211
2004-06-22"Home page" is typically two words.Guy Harris1-2/+2
svn path=/trunk/; revision=11210
2004-06-22Style tweaks, and finish an unfinished comment.Guy Harris1-1/+3
svn path=/trunk/; revision=11209
2004-06-22On Mac OS X, use Launch Services to start a Web browser with a given URL.Guy Harris3-10/+69
svn path=/trunk/; revision=11208
2004-06-21Change type of argument of dnd_open_file_cmd to get ethereal compiled.Michael Tüxen1-2/+2
svn path=/trunk/; revision=11207
2004-06-21Add experimental feature of opening a webbrowser, to show some of theUlf Lamping7-9/+210
webpages from http://www.ethereal.com. This functionality is copied from the Gimp. Win32 will use ShellExecute to use the system registered webbrowser. On unix builds, currently the mozilla browser is hardcoded, we still need a preference setting for this (I will add this later). svn path=/trunk/; revision=11206
2004-06-21if more than one file is (drag and) dropped into the program,Ulf Lamping4-90/+193
merge them together into a new temporary file (and notice the user by a simple_dialog about it) svn path=/trunk/; revision=11205
2004-06-21Change to GLib 2.4.2 and GTK+ 2.4.3.Gerald Combs1-5/+5
svn path=/trunk/; revision=11204
2004-06-21Remove trailing comma at end of enumJörg Mayer1-2/+2
svn path=/trunk/; revision=11203
2004-06-21use the "correct" resize function for the file selection dialogUlf Lamping1-3/+14
svn path=/trunk/; revision=11202
2004-06-20add GTK2.4 and alike libs to the setup target,Ulf Lamping1-2/+4
depending on settings in config.nmake svn path=/trunk/; revision=11201
2004-06-20add GTK2.4 and alike libs to the setup target,Ulf Lamping1-5/+30
depending on settings in config.nmake svn path=/trunk/; revision=11200
2004-06-20bugfix: is using last_open_dir with GTK2.4 file chooserUlf Lamping1-4/+20
gtk_file_chooser_set_current_folder() is very pedantic of it's parameter, trim filename so it will be accepted. svn path=/trunk/; revision=11199
2004-06-20In "show_fragment()", use common code to put the top-level entry intoGuy Harris1-30/+26
the protocol tree for the fragment, regardless of whether the fragment has any flags set or not, and, in that common code, handle fragments with 0 bytes of data specially (at least in NDS, you can get zero-length fragments - including the last fragment, so you can't just ignore those fragments; the last fragment has to be added to finish off the reassembly). svn path=/trunk/; revision=11198
2004-06-20bugfix: handle NULL pointer correct,Ulf Lamping1-2/+9
if gtk_file_chooser_get_filename returned NULL svn path=/trunk/; revision=11197
2004-06-20preference setting, so "ask for unsaved capture files" can be switched offUlf Lamping7-16/+41
svn path=/trunk/; revision=11196
2004-06-20preference setting for the option to "avoid" the capture info dialogUlf Lamping4-15/+57
svn path=/trunk/; revision=11195
2004-06-20added an option to "avoid" the capture info dialog completely.Ulf Lamping4-20/+67
This matters for "update of list in real time" (sync_mode) only, as in normal mode you wouldn't otherwise have the possibility to stop the capture. svn path=/trunk/; revision=11194
2004-06-20add merge.obj to the linking of mergecap.exeUlf Lamping1-3/+3
svn path=/trunk/; revision=11193
2004-06-20preview: add 3 seconds timeout, and show the information got so far.Ulf Lamping1-12/+33
This will prevent getting the preview information take a lot of time for *very* long capture files. However, on a Pentium-M 1.6 even a 35MB capture file will not timeout in this 3 second interval. svn path=/trunk/; revision=11192
2004-06-20bugfix: prefix for int64 output on win32 must be "I64" not "i64"Ulf Lamping1-5/+5
svn path=/trunk/; revision=11191
2004-06-20Include <string.h> to declare "strlen()".Guy Harris1-2/+4
Make "cf_name" a "const gchar *", as, at least in GTK+ 2.x, a "const gchar *" is assigned to it. (If it's just a "gchar *" being assigned to it, declaring it a "const gchar *" does no harm.) svn path=/trunk/; revision=11190
2004-06-20Make the elapsed time value an "unsigned int" (if the stop time isGuy Harris1-16/+13
before the start time, due to packet time stamp bogosity, neither a signed value nor an unsigned value will give a sensible answer, and it doesn't need to be a "long" as the capture's unlikely to span more than 2^32-1 seconds, again modulo packet time stamp bogosity). That eliminates some format item vs. value warnings. Make the packet count an "unsigned int" (it can't be negative, and we're unlikely to have more than 2^32-1 packets - and, if we are, it should be made a guint64). That eliminates some more format item vs. value warnings. Initialize "start_time" and "stop_time" to 0, so that we handle files with no packets (and so that we don't get uninitialized variable warnings). Display the file size with PRIu64, after casting it to "guint64" (that way we handle file sizes if they're "unsigned int", "unsigned long", or a 64-bit type on ILP64 platforms (it's 64 bits in BSDs derived from 4.4BSD, even on ILP64 platforms). Mark the first argument to "file_open_entry_changed()" as unused. Don't use G_CONST_RETURN, as it's not defined by GLib 1.2[.x]. Get rid of an unused variable. Clean up white space. svn path=/trunk/; revision=11189
2004-06-20The sequence number in COTP packets is either unused (for TP0) orGuy Harris1-4/+12
relative to the beginning of the connection (for TP1-4). They are *not* relative to the first segment of a segmented TPDU, so the sequence number can't be used in calls to "fragment_add_seq_check()". For now, we assume that COTP packets are seen in order, and just use "fragment_add_seq_next()" - that's unlikely to make anything worse (the only time when "fragment_add_seq_check()" will work is when the first segment has a sequence number of 0), and definitely fixes reassembly in a number of cases. In the long term, we might want to handle out-of-order packets above the reassembly layer, so that it handles even out-of-order unsegmented packets. svn path=/trunk/; revision=11188
2004-06-19add preview information to the open and merge dialog boxesUlf Lamping1-10/+314
svn path=/trunk/; revision=11187
2004-06-19From Dennis Lim: add routines used by dissectors for ONC RPC protocolsGuy Harris10-4/+135
to the plugin API. Add them to the list of routines exported from the libethereal DLL on Windows as well. svn path=/trunk/; revision=11186
2004-06-19From Carles Kishimoto: add support for GMPLS extensions, as per the I-DGuy Harris4-12/+48
draft-ietf-ccamp-ospf-gmpls-extensions-12. svn path=/trunk/; revision=11185
2004-06-19If the user hasn't explicitly said they want to build with Heimdal,Guy Harris1-5/+5
don't *require* them to have "krb5.h" - if they don't have it, don't build with Heimdal. svn path=/trunk/; revision=11184
2004-06-19From Thomas Anders: display the Security Parameter Lifetime as aGuy Harris1-2/+5
relative time string rather than raw seconds. svn path=/trunk/; revision=11183
2004-06-19Pick up the stuff I did for tcpdump to figure out the right strings toGuy Harris6-18/+170
use to format 64-bit integers. Fix the RSVP dissector to use that rather than hardcoding "%ll" in. Remove the "only if G_HAVE_GINT64 is defined" bit from the discussion of 64-bit integers - we're too dependent on having them to support compilers that don't have a 64-bit integral data type. Do, however, note that neither "long" nor "long long" are acceptable, and also note that you shouldn't assume "%ll" does the trick for printing them. svn path=/trunk/; revision=11182
2004-06-18"ti_time" is a "time_t", not a "long" ("time_t" isn't necessarily aGuy Harris1-7/+7
"long"). Make "elapsed_time" an "unsigned int" rather than an "unsigned long" - 2^32-1 seconds is about 136 years, so on LP64 machines that won't matter, and on ILP32 machines it doesn't make any difference, but it *does* generate compiler warnings from "%u" being used with "unsigned long" values. svn path=/trunk/; revision=11181
2004-06-18Add local MAC addresses for MS-Loadbalancing (not all, see comment in wka.tmpl)Jörg Mayer2-4/+59
Update manuf svn path=/trunk/; revision=11180
2004-06-18add timestamp of first and last packet to summary dialogUlf Lamping1-6/+52
svn path=/trunk/; revision=11179
2004-06-18Add the kerberos linking options to the right magic variableJörg Mayer1-7/+7
svn path=/trunk/; revision=11178
2004-06-18Fix compile errors on Suse 9.1:Jörg Mayer2-5/+5
- It's gboolean not boolean Fix warning about extraneous , at end of enum. svn path=/trunk/; revision=11177
2004-06-18merge: remove code duplication in merge.c and mergecap.c (put it in merge.c),Ulf Lamping4-451/+262
and doing some more code cleanup svn path=/trunk/; revision=11176
2004-06-18merge: bugfixes and code cleanupUlf Lamping3-40/+44
svn path=/trunk/; revision=11175
2004-06-18added some tooltips, minor code cleanupUlf Lamping1-5/+13
svn path=/trunk/; revision=11174