Commit Graph

36772 Commits

Author SHA1 Message Date
Anders Broman b189d5bfa2 Use Cairo in more places.
The #if 0 code in draw_element_arc() currently crashes
and the arc coordinates should be fixed to work with Cairo, any help apreciated :-)

svn path=/trunk/; revision=38477
2011-08-11 08:59:43 +00:00
Ronnie Sahlberg 64d9e6a044 Regenerate a new updated FRSRPC dissector.
This dissectors now dissects a whole lot more of the FRS protocol.



svn path=/trunk/; revision=38476
2011-08-11 08:17:21 +00:00
Ronnie Sahlberg b86507fa3f Generate the MISC definitions for dcerpc and include the header file in the build
svn path=/trunk/; revision=38475
2011-08-11 08:14:23 +00:00
Ronnie Sahlberg 427624780e From Matthieu Patou <mat@matws.net>
Add a new misc.idl interface to host some definiteions to share across 
multiple interfaces


svn path=/trunk/; revision=38474
2011-08-11 07:59:12 +00:00
Ronnie Sahlberg db69883151 From Matthieu Patou <mat@matws.net>
Add significantly improved FRSRPC definition and CNF file
Do not compile/regenerate the dissector just yet. More patches needed first


svn path=/trunk/; revision=38473
2011-08-11 07:57:00 +00:00
Ronnie Sahlberg 788dc6230a From Matthieu Patou <mat@matws.net>
Add new helper function for DCE/RPC NDR data blobs


svn path=/trunk/; revision=38472
2011-08-11 07:48:02 +00:00
Ronnie Sahlberg c667e67fb7 From Matthieu Patou <mat@matws.net>
Add two helper functions to dissect null terminated ascii and wchar strings in dcerpc



svn path=/trunk/; revision=38471
2011-08-11 07:42:25 +00:00
Ronnie Sahlberg 07213ad329 Sync up to the latest PIDL with Mathieu's wireshark patches
svn path=/trunk/; revision=38470
2011-08-11 06:12:39 +00:00
Bill Meier 37bab5e89d Replace use of deprecated g_strdown() by g_ascii_strdown();
Found when compiling with -DG_DISABLE_DEPRECATED

svn path=/trunk/; revision=38469
2011-08-11 03:10:11 +00:00
Guy Harris c7caf2f213 Add "distclean" and "maintainer-clean" rules to the docbook directory
Makefile.nmake.

Have "clean", "distclean", and "maintainer-clean" in the top-level
Makefile.nmake file clean out the docbook directory.

Add a "docbook" target to the top-level Makefile.nmake file.

svn path=/trunk/; revision=38468
2011-08-11 02:41:39 +00:00
Bill Meier 4bf797bcc0 Use '-D_FORTIFY_SOURCE=2' when compiling with GCC or CLang.
For info see: http://gcc.gnu.org/ml/gcc-patches/2004-09/msg02055.html


svn path=/trunk/; revision=38467
2011-08-11 02:14:20 +00:00
Bill Meier a5abe51580 Add -DG_DISABLE_SINGLE_INCLUDES to CFLAGS
Also: Move the addition of -DG_DISABLE_DEPRECATED to CFLAGS
      so that it actually takes effect.

svn path=/trunk/; revision=38466
2011-08-11 02:08:30 +00:00
Jeff Morriss fda7fc7ca6 Define plugins_dump_all() even when we do not HAVE_PLUGINS.
svn path=/trunk/; revision=38465
2011-08-11 01:11:37 +00:00
Jeff Morriss fa4d32113c From Alexander Stein via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6175 :
The attached patch adds the method reported_length_remaining to tvb.

svn path=/trunk/; revision=38464
2011-08-11 00:49:43 +00:00
Bill Meier a56ba84933 Reformat two long lines....
svn path=/trunk/; revision=38463
2011-08-10 22:49:50 +00:00
Bill Meier 679760e036 (Trivial) Whitespace cleanup.
svn path=/trunk/; revision=38462
2011-08-10 22:44:16 +00:00
Jeff Morriss 4ee1d732fb Add a Tvb_reported_len Lua API; this may help satisfy bug 6175.
svn path=/trunk/; revision=38461
2011-08-10 21:45:53 +00:00
Jeff Morriss c832e7a28e strlen returns a size_t
svn path=/trunk/; revision=38460
2011-08-10 21:27:55 +00:00
Jeff Morriss ce701a90c6 From Shoichi Sakane via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5270 :
Update COAP dissector to the latest drafts:
- corresponded to coap-07, block-04, observe-02 and link-format-06.
- improved the option handler.

From me:
Update the comment to indicate that the port is now IANA-assigned.

There's no need to memset a string to initialize it; just set the first byte
to 0.

svn path=/trunk/; revision=38459
2011-08-10 20:54:44 +00:00
Michael Tüxen 9986755780 Use only one line for the headers in the capture options dialog box.
Improvement suggested by Stig.

svn path=/trunk/; revision=38458
2011-08-10 20:30:34 +00:00
Gerald Combs 17351102dd Add some distclean / clean targets.
svn path=/trunk/; revision=38457
2011-08-10 20:02:31 +00:00
Michael Tüxen 50665311db Use appropriate tooltip text for the OK button on the Edit Interface Settings dialog box.
Thanks to Stig for reporting the bug.

svn path=/trunk/; revision=38456
2011-08-10 19:49:41 +00:00
Michael Tüxen 45c65a93fa Fix CID 1255.
svn path=/trunk/; revision=38455
2011-08-10 19:13:48 +00:00
Michael Tüxen 2864804064 Fix CID 1250.
svn path=/trunk/; revision=38454
2011-08-10 19:05:15 +00:00
Michael Tüxen e7cebafe9d Fix CID 1253.
svn path=/trunk/; revision=38453
2011-08-10 17:52:44 +00:00
Michael Tüxen 295f138d7b Fix CID 1254.
svn path=/trunk/; revision=38452
2011-08-10 17:49:06 +00:00
Michael Tüxen 6111a7d1b9 Fix CID 1256.
svn path=/trunk/; revision=38451
2011-08-10 17:38:10 +00:00
Michael Tüxen 807d8a4592 Fix CID 1257.
While there clean up the code a bit.

svn path=/trunk/; revision=38450
2011-08-10 17:31:21 +00:00
Bill Meier e74fe5c6ea Test return value from fwrite(); If an error occurred then exit with a message.
svn path=/trunk/; revision=38449
2011-08-10 17:15:08 +00:00
Jeff Morriss f3039a3a97 From Johannes via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5440 :
Metadata Blocks in the bundle protocol (DTN) can contain EID references. These
are not considered by the current implementation and following blocks are
parsed wrong. The attached patch solves this bug and increment the offset as
much as needed to skip the EID references.

svn path=/trunk/; revision=38448
2011-08-10 15:52:52 +00:00
Jeff Morriss d621d1c362 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5737 :
Python does have a way to check its version: -V (in all versions) and
--version (in 2.5 and higher).  Use the former, at least until we require a
version greater than 2.5.

This will make it easier in the future if we need to check the Python version
before continuing (I could not find a minimum version that we need).

svn path=/trunk/; revision=38447
2011-08-10 15:28:29 +00:00
Anders Broman 63f2fc0087 More Cairo conversion.
svn path=/trunk/; revision=38446
2011-08-10 14:47:52 +00:00
Stig Bjørlykke 8949aa748f Simplified previous enter-fix.
svn path=/trunk/; revision=38445
2011-08-10 08:00:01 +00:00
Stig Bjørlykke c749f0b7b9 Apply filter if pressing enter when having a auto completion window
and nothing is selected.

This fixes bug 6228.

svn path=/trunk/; revision=38444
2011-08-10 07:39:18 +00:00
Anders Broman 748d803b50 Use Cairo for drawing in more places.
svn path=/trunk/; revision=38443
2011-08-10 05:25:34 +00:00
Anders Broman 4ee4c14d06 Remove duplicate line-of-code.
(Copy change to rtp_analysis)

svn path=/trunk/; revision=38442
2011-08-10 04:53:21 +00:00
Bill Meier e6a4cb09c7 Update a comment about hack used to prevent gcc "unused_result" warning for strtoul() call.
Specifically: The following hack prevents a gcc "unused_result" warning and
is not flagged (currently) by either Coverity or CLang.
   if (strtoul(...){}


svn path=/trunk/; revision=38441
2011-08-10 04:42:42 +00:00
Bill Meier 88362a35aa Test fwrite() return values to see if a write error.
Fixes Bug #6227.

svn path=/trunk/; revision=38440
2011-08-10 02:01:49 +00:00
Bill Meier 1fe6e2b19b Remove duplicate line-of-code.
svn path=/trunk/; revision=38439
2011-08-09 23:45:54 +00:00
Jörg Mayer 6332e88552 Copy over the commit 38437 to cmake.
svn path=/trunk/; revision=38438
2011-08-09 21:26:33 +00:00
Jeff Morriss bf95c7b5e4 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5608 :
getopt() can/should normally be found in unistd.h, so:

- When testing for getopt(), define that we HAVE_GETOPT instead of
  HAVE_GETOPT_H (to avoid confusion).
- Don't attempt to include getopt.h: not all OS's have it (for example,
  Solaris 9 does not).
- (All the places which need getopt already include unistd.h (if we have it).)

If this breaks things on some OS, we might need (a real) HAVE_GETOPT_H check.

svn path=/trunk/; revision=38437
2011-08-09 21:02:10 +00:00
Anders Broman a60d91018f Add a cast.
svn path=/trunk/; revision=38436
2011-08-09 20:42:06 +00:00
Anders Broman d84729a729 Use Cairo for drawing in more places.
svn path=/trunk/; revision=38435
2011-08-09 20:38:41 +00:00
Jeff Morriss 3ba6316a06 Fix https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5607 :
When testing if we can add things to LDFLAGS, don't set LDFLAGS to CFLAGS
if the test determines that the flag cannot be added to LDFLAGS.

(Simple typo: LDFLAGS_saved was being set to CFLAGS instead of LDFLAGS.)

svn path=/trunk/; revision=38434
2011-08-09 19:49:08 +00:00
Anders Broman b74ac5f4c7 Start using Cairo for drawing.
svn path=/trunk/; revision=38433
2011-08-09 18:29:19 +00:00
Alexis La Goutte ed2036d942 From Allison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6157
Add Dissector for HDFS Data

svn path=/trunk/; revision=38432
2011-08-09 16:38:15 +00:00
Alexis La Goutte 2179d3ddc1 From Allison via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6156
Add Dissector for HDFS

svn path=/trunk/; revision=38431
2011-08-09 16:34:04 +00:00
Jeff Morriss 0315937427 Fix the fuzz failure reported in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6139 :

Properly initialize the CSN_DESCR type before recursively calling
csnStreamDissector().

svn path=/trunk/; revision=38430
2011-08-09 15:43:42 +00:00
Anders Broman 56a7831d2a Get rid of deprecated gdk_pixmap_create_from_xpm_d().
svn path=/trunk/; revision=38429
2011-08-09 14:53:20 +00:00
Alexis La Goutte f53bdb659f From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6220
DVB-CI dissector: fix buildbot warnings

svn path=/trunk/; revision=38428
2011-08-09 14:42:33 +00:00