aboutsummaryrefslogtreecommitdiffstats
path: root/epan
AgeCommit message (Collapse)AuthorFilesLines
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
2003-12-21Add, for \xXX, the same sanity check (that 0xXX fits in a single byte)Guy Harris1-1/+7
that we have for \0OOO. svn path=/trunk/; revision=9396
2003-12-20removed some MSVC warnings (added type casts)Ulf Lamping1-3/+3
svn path=/trunk/; revision=9370
2003-12-19Print values for ANY_MATCHES and ANY_CONTAINS so that the dftestGilbert Ramirez1-1/+11
executable works properly. svn path=/trunk/; revision=9353
2003-12-18Add support of the "matches" operator to FT_BYTES and FT_ETHER. I don't thinkOlivier Biot3-17/+65
it would make sense to add PCRE support for byte arrays containing an integer or an IP address. Avoid lengthy pointer constructs in cmp_matches(). svn path=/trunk/; revision=9343
2003-12-17Add protocols to the header fields for which the "matches" operator can beOlivier Biot1-4/+54
appliedi (PCRE). In fact, all FT_TVBUFF fields. svn path=/trunk/; revision=9329
2003-12-17Fix more "CPPLAGS" typoes.Guy Harris1-3/+3
svn path=/trunk/; revision=9310
2003-12-17From Albert Chin: fix for the following:Guy Harris1-7/+11
The PCRE test in acinclude.m4 and epan/acinclude.m4 don't work if PCRE exists in a non-system directory. The problem is that LDFLAGS and LIBS are set incorrectly. LIBS shouldn't contain -L arguments. svn path=/trunk/; revision=9309
2003-12-13Add the help directory to the build. Bump the release version to 0.10.0aGerald Combs1-2/+2
svn path=/trunk/; revision=9276
2003-12-11Add "/usr/local/include" in case the PCRE header file is there.Guy Harris1-1/+23
svn path=/trunk/; revision=9242
2003-12-10PCRE support requires $(PCRE_CFLAGS) in CFLAGS.Olivier Biot1-2/+2
svn path=/trunk/; revision=9237
2003-12-10Bump the version to 0.10.0. It could be (and has been) argued that theGerald Combs1-2/+2
last release should have been 0.10.0. svn path=/trunk/; revision=9235
2003-12-10Make the _pcre_tuple_t struct internal.Gerald Combs2-12/+17
svn path=/trunk/; revision=9233
2003-12-09Internal PCRE field type for efficient RE parsing in dfilters.Olivier Biot1-1/+2
svn path=/trunk/; revision=9225
2003-12-09Internal PCRE field type for efficient RE parsing in dfilters.Olivier Biot6-49/+333
svn path=/trunk/; revision=9224
2003-12-09Don't automatically size the columns - that's expensive in largeGuy Harris2-4/+2
captures, as it has to compute the width of an auto-resizing column in every row. Just pick fixed widths for the columns (and tune the width of the "Protocol" column so that it's not narrower than the column title). svn path=/trunk/; revision=9219
2003-12-09Add "ip6_to_str_buf()", by analogy to "ip_to_str_buf()".Guy Harris3-5/+12
svn path=/trunk/; revision=9216
2003-12-08Get rid of the private "my_decode_bitfield_value()" a number ofGuy Harris2-3/+15
dissectors had. Instead, rename it "other_decode_bitfield_value()", put it in "epan/to_str.c", and make "decode_bitfield_value()" use it. svn path=/trunk/; revision=9213
2003-12-08From Michael Lum: support an AT_SS7PC address type for SS7 point codes,Guy Harris2-3/+8
and set the direction in pinfo for SS7 packets based on source and destination addresses. svn path=/trunk/; revision=9209
2003-12-07Add PCRE support to the Windows build.Gerald Combs3-6/+13
svn path=/trunk/; revision=9185
2003-12-06From Olivier BiotGilbert Ramirez20-53/+318
New "matches" operater in display filter language. Uses PCRE. If a "matches" operator is found in a dfilter while libpcre has not been used to build the binary, then an exception is thrown after using dfilter_fail() to set an apporporiate error message. svn path=/trunk/; revision=9182
2003-12-06slab.h needs to be in libethereal_a_SOURCESGilbert Ramirez1-1/+2
svn path=/trunk/; revision=9181
2003-12-06Add the ability to print packet dissections in PDML (an XML-based format)Gilbert Ramirez2-3/+51
to tethereal. It could be added to Ethereal, but the GUI changes to allow the user to select PDML as a print format have not been added. Provide a python module (EtherealXML.py) to help parse PDML. Provide a sample app (msnchat) which uses tethereal and EtherealXML.py to reconstruct MSN Chat sessions from packet capture files. It produces a nice HTML report of the chat sessions. Document tethereal's PDML and EtherealXML.py usage in doc/README.xml-output Update tethereal's manpage to reflect the new [-T pdml|ps|text] option svn path=/trunk/; revision=9180
2003-12-04It turns out the protocol tree parent link was used, so we need it inGuy Harris2-2/+5
our new scheme. svn path=/trunk/; revision=9172