aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
2004-02-09Forgot *.laJörg Mayer2-8/+10
svn path=/trunk/; revision=10012
2004-02-09Ignore shared dll stuffJörg Mayer2-0/+4
svn path=/trunk/; revision=10011
2004-02-08Move -pedandic & co back into extra-flags (prepare for dissectors moving to ↵Jörg Mayer1-3/+3
epan/) svn path=/trunk/; revision=10007
2004-02-07Don't build as shared *and* static by defaultJörg Mayer1-1/+3
svn path=/trunk/; revision=10004
2004-02-07Ignore byproducts of shared lib compilationJörg Mayer1-0/+2
svn path=/trunk/; revision=10003
2004-02-05Add new col_append methods which will prepend the (format) string with theOlivier Biot2-2/+54
provided separator (or a default ", ") if the column is not empty. svn path=/trunk/; revision=9986
2004-02-05We can't test the GTK+ version in dissectors or libethereal code, asGuy Harris1-2/+6
they don't include any GTK+ headers (and shouldn't do so, as they can't use GTK+); we use the GLib version as a proxy. svn path=/trunk/; revision=9982
2004-02-01Cast the result of "tvb_get_ptr()" to squelch a compiler warning.Guy Harris1-2/+2
svn path=/trunk/; revision=9954
2004-02-01Make "tvb_strneql()" take a "gchar *" rather than a "guint8 *" as theGuy Harris2-8/+8
string argument. Add some casts to squelch compiler warnings. svn path=/trunk/; revision=9951
2004-02-01packet-dcerpc-afs4int.cJörg Mayer3-8/+8
svn path=/trunk/; revision=9938
2004-02-01Add consts to fix 'cast discards qualifiers from pointer target type'Jörg Mayer1-3/+3
svn path=/trunk/; revision=9937
2004-02-01signed/unsigend warning fixesJörg Mayer3-5/+6
svn path=/trunk/; revision=9931
2004-02-01Fix some pointer typesJörg Mayer1-10/+10
svn path=/trunk/; revision=9930
2004-01-31Fix the spelling of "cumulative" (and variables whose names derive fromGuy Harris3-7/+8
that spelling). svn path=/trunk/; revision=9917
2004-01-29Clean up whitespace, and use "%u" to print unsigned quantities.Guy Harris1-15/+13
svn path=/trunk/; revision=9900
2004-01-25Fix 'warning: cast discards qualifiers from pointer target type' by removing ↵Jörg Mayer1-5/+5
cast svn path=/trunk/; revision=9845
2004-01-25Remove the cast again and do the proper fix (add right type to union)Jörg Mayer2-4/+5
svn path=/trunk/; revision=9844
2004-01-25Add a cast to avoid a signedness warningJörg Mayer1-2/+2
svn path=/trunk/; revision=9843
2004-01-25Change the first arg to hex_str_to_bytes from guchar* -> char*Jörg Mayer2-4/+4
svn path=/trunk/; revision=9842
2004-01-25The octets in an ip address are unsignedJörg Mayer1-2/+2
svn path=/trunk/; revision=9840
2004-01-24As with "cf_open_error_message()"/"file_open_error_message()", so withGuy Harris2-4/+55
"cf_write_error_message()"/"file_write_error_message()". Use "file_open_error_message()" instead of "cf_open_error_message()" in some places we missed in the previous checkin. Catch ENOSPC and EDQUOT in "file_open_error_message()". Use "file_open_error_message()" rather than "file_write_error_message()" to report errors when creating the file to which we're saving the "Follow TCP Stream" data. svn path=/trunk/; revision=9823
2004-01-24Add a new "file_open_error_message()" routine in "epan/filesystem.c", toGuy Harris2-3/+47
translate UNIX errno values to a somewhat friendly message format string. Rename "file_open_error_message()" in "file.c" to "cf_open_error_message()", make "cf_open_error_message()" use the new "file_open_error_message()" for UNIX errno values, have "do_capture()" in "capture.c" use "file_open_error_message()" to report errors from "open()", and make "cf_open_error_message()" static as nothing outside "file.c" uses it. Do similar stuff in "tethereal.c". svn path=/trunk/; revision=9821
2004-01-23Change return type of tvb_format_text from guint8* to gchar*.Jörg Mayer2-4/+4
Remove now unnecessary casts in two files. svn path=/trunk/; revision=9801
2004-01-22epan don't need GTK_CFLAGS as GTK isn't used,Ulf Lamping3-6/+6
GLIB_CFLAGS are just enough svn path=/trunk/; revision=9779
2004-01-19Move "ts_type_text" out of "epan/timestamp.h into "gtk/recent.c", asGuy Harris1-8/+8
it's only used in the latter; that avoids lots of warnings about "ts_type_text" being defined but not used in other source files that include "epan/timestamp.h". (If it's going to be used in more than one file, make it non-static and declare it "extern" in "epan/timestamp.h".) Define TS_NOT_SET as ((ts_type)-1), and use that when initializing "timestamp_type" in Ethereal and when checking to see whether "timestamp_type" was set, to avoid signed vs. unsigned comparison warnings. Clean up indentation. svn path=/trunk/; revision=9740
2004-01-19move timestamp format options from "View->Options" dialog intoUlf Lamping2-18/+14
menuitems under "View->Time Display Format". renamed timestamp enum items e.g. from ABSOLUTE to TS_ABSOLUTE, to prevent conflicting definitions with MSVC svn path=/trunk/; revision=9729
2004-01-18Warning fix when compiling with -strict-prototypesJörg Mayer1-3/+3
../../epan/dfilter/drange.h:62: warning: function declaration isn't a prototype ../../epan/dfilter/drange.h:83: warning: function declaration isn't a prototype svn path=/trunk/; revision=9719
2004-01-10Replace guchar * with gchar * and get rid of many signedness warnings.Olivier Biot2-42/+42
svn path=/trunk/; revision=9643
2004-01-10Add -Wbad-function-cast to extra gcc flags.Olivier Biot1-2/+2
svn path=/trunk/; revision=9639
2004-01-10Remove a C++ style commentJörg Mayer1-2/+1
svn path=/trunk/; revision=9630
2004-01-10to_str.c declares this: gchar* ip6_to_str ..., make to_str.h do the sameJörg Mayer1-2/+2
(char -> gchar) svn path=/trunk/; revision=9629
2004-01-09Fix the "unmarking a packet matching a color filter does not apply the colorOlivier Biot1-1/+15
filter's colors" bug, by storing the pointer to the matching color_filter_t structure in the frame_data structure. Replace "frame" and "frames" by "packet" and "packets" in many places. svn path=/trunk/; revision=9607
2004-01-09Fix a typo.Guy Harris1-2/+2
svn path=/trunk/; revision=9606
2004-01-09Fix a comment.Guy Harris1-3/+3
svn path=/trunk/; revision=9605
2004-01-07Don't assert that quoted_string be NULL; it can be non-NULL ifGilbert Ramirez1-2/+11
the previous dfilter failed to compile because a closing double-quote was not provided. Handle that case. svn path=/trunk/; revision=9585
2004-01-05removed some MSVC warnings (level 3)Ulf Lamping1-2/+2
svn path=/trunk/; revision=9560
2004-01-05Bugfix from Lars Roland: included missing xdlc.hUlf Lamping1-1/+2
svn path=/trunk/; revision=9553
2004-01-03Apply the patches from Tadaaki Nagao for a global version of disabledRichard Sharpe2-12/+12
protocols ... svn path=/trunk/; revision=9538
2004-01-01Add support of contains operator in slices.Olivier Biot1-3/+18
svn path=/trunk/; revision=9512
2004-01-01Add support of contains and matches operators on slices.Olivier Biot1-6/+33
svn path=/trunk/; revision=9511
2003-12-29Add a "saved_can_desegment" field to the "packet_info" structure, soGuy Harris2-9/+30
that dissectors for pass-through proxying protocols such as SOCKS can allow the subdissectors they call to ask that desegmentation be done. svn path=/trunk/; revision=9488
2003-12-29"hex_str_to_bytes()" modifies the GByteArray supplied to it, so don'tGuy Harris2-4/+4
mark it as "const". svn path=/trunk/; revision=9474
2003-12-29Pull most of bytes_from_unparsed() into a new routine,Gerald Combs3-86/+98
hex_str_to_bytes(). Use the new routine to initialize any WEP keys we have defined. This has the side effect of fixing an overflow if the user entered a long WEP key. svn path=/trunk/; revision=9471
2003-12-24In "alloc_field_info()", handle the case where the offset is past theGuy Harris1-1/+20
byte past the end of the tvbuff. svn path=/trunk/; revision=9445
2003-12-24In "tvb_ensure_bytes_remaining()", throw ReportedBoundsError, notGuy Harris1-2/+2
BoundsError, if the offset is just past the end of the reported data (because we're ensuring that there actually *is* a byte there, and, even according to the reported length, it isn't). svn path=/trunk/; revision=9444
2003-12-24Add -pedantic to --with-extra-gcc-checksJörg Mayer1-2/+2
svn path=/trunk/; revision=9443
2003-12-24Let FT_PROTOCOL fields, if the length specified is -1, have a length ofGuy Harris1-1/+4
0 - now that "tvb_ensure_length_remaining()" ensures that there's at least one byte of data, we should use "tvb_length_remaining()" for FT_PROTOCOL fields. svn path=/trunk/; revision=9440
2003-12-24Do the "isprint()" hack for GTK+ 2.x or 1.3[.x], whether on UNIX orGuy Harris1-7/+7
Windows - the problem is that GTK+ 1.3[.x] and later assume strings handed to them are UTF-8 strings, not, for example, ISO 8859/x strings. In packet-radius.c, re-define "isprint()" rather than #ifdeffing its use (the old code was also incorrectly treating 0x7f as a printable). svn path=/trunk/; revision=9435
2003-12-23Have "tvb_ensure_length_remaining()" throw the appropriate exception ifGuy Harris1-1/+12
there's no data remaining - its callers largely depend on it doing so. That means that the BEEP dissector doesn't have to check for it returning 0. svn path=/trunk/; revision=9433
2003-12-23Move the GSM SMS dissection to a dedicated subdissector (currently still withinOlivier Biot1-2/+3
packet-smpp.c). Now the higher-level protocols show up without the need of unfolding the SMPP dissector tree. Add a new address type AT_STRINGZ, and use it for GSM SMS message reassembly. Get rid of the different UDH IE subtrees, and replace them with one subtree for all UDH IEs. Add debug logging to SMPP and SMPP GSM SMS dissectors. Move the Short Message reassembly from the SMPP dissector to the SMPP GSM SMS dissector. Fix duplicated "reassembled in" header fields. Rename header fields that are now part of SMPP GSM SMS (including the dissector table name, so it has also been updated in packet-wsp.c and packet-wtp.c). Add an explicit "if (!tree) return" in the WSP add_headers() method. NOTE: it would be great if we were able to merge the existing packet-gsm_sms.c and the SMPP GSM SMS dissector. svn path=/trunk/; revision=9431