Commit Graph

28702 Commits

Author SHA1 Message Date
Michael Tüxen 4a50092991 Use a timeout of a second for Mac OS X, when building
a 64-bit application. Workaround a bug in Mac OS X...

svn path=/trunk/; revision=29641
2009-08-31 19:13:50 +00:00
Kovarththanan Rajaratnam 612f839c1f Reorder (no functionality change)
svn path=/trunk/; revision=29640
2009-08-31 18:59:21 +00:00
Kovarththanan Rajaratnam 746124c935 CMake: Remove PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 which are unused
svn path=/trunk/; revision=29639
2009-08-31 18:48:16 +00:00
Kovarththanan Rajaratnam dc958a440b Remove PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 which are unused
svn path=/trunk/; revision=29638
2009-08-31 18:38:07 +00:00
Anders Broman 174c2047b1 From Gerasimos Dimitriadis:
DTAP decoding of Cause Diagnostics.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3968

svn path=/trunk/; revision=29637
2009-08-31 18:37:15 +00:00
Kovarththanan Rajaratnam 49930eff58 We don't use PRId64, PRIu64, PRIx64, PRIX64, and PRIo64 internally in Wireshark, so don't encourage people to use them. Use G_GINT64_FORMAT + friends instead.
svn path=/trunk/; revision=29636
2009-08-31 18:28:10 +00:00
Kovarththanan Rajaratnam 418699b85d Add utf_8to16_snprintf() which creates a UTF16 string according to the given format string. The format string + arguments are expected to be in UTF-8 format. This change effectively removes the only place where we use PRIu64.
svn path=/trunk/; revision=29635
2009-08-31 18:16:16 +00:00
Kovarththanan Rajaratnam 80d50191a3 Move config.h include to start of file
svn path=/trunk/; revision=29634
2009-08-30 18:40:09 +00:00
Kovarththanan Rajaratnam 499695595e Remove superfluous config parameters
svn path=/trunk/; revision=29633
2009-08-30 18:30:14 +00:00
Kovarththanan Rajaratnam b4e821bf0f Remove outdated comments regarding ZLIB_DLL. We don't have to define this before including zlib.h. This is automatically done if _WIN32 is defined
svn path=/trunk/; revision=29632
2009-08-30 17:23:47 +00:00
Kovarththanan Rajaratnam 59a1af9c99 Add a couple of comments to HAVE_DIRECT_H, HAVE_WINDOWS_H and HAVE_WINSOCK2_H
svn path=/trunk/; revision=29631
2009-08-30 17:09:40 +00:00
Kovarththanan Rajaratnam 983a2d5d2b Add a couple of Windows header files
svn path=/trunk/; revision=29630
2009-08-30 15:06:28 +00:00
Gerald Combs 1cadaa2590 [Automatic manuf and enterprise-numbers update for 2009-08-30]
svn path=/trunk/; revision=29627
2009-08-30 15:03:26 +00:00
Kovarththanan Rajaratnam 6448a9917d Disable standard library deprecation when MSVC >= 2005
svn path=/trunk/; revision=29626
2009-08-30 14:12:56 +00:00
Sake Blok 2114ffff4c Some minor corrections in function descriptions
svn path=/trunk/; revision=29625
2009-08-30 10:35:48 +00:00
Kovarththanan Rajaratnam 600a9a677b Add new windows cmake module finder
svn path=/trunk/; revision=29624
2009-08-30 08:51:43 +00:00
Kovarththanan Rajaratnam 185a7a8ee8 Find Win32 bundled packages
svn path=/trunk/; revision=29623
2009-08-30 08:50:47 +00:00
Kovarththanan Rajaratnam 13df2a878b On Windows a shared library in divided into a DLL part (RUNTIME) and an import lib (ARCHIVE).
svn path=/trunk/; revision=29622
2009-08-30 07:09:29 +00:00
Kovarththanan Rajaratnam 943e829e47 Add WIN32 platform sources
svn path=/trunk/; revision=29621
2009-08-30 06:24:44 +00:00
Kovarththanan Rajaratnam da7f3462eb Fix PATH typo. Should have been PATHS
svn path=/trunk/; revision=29620
2009-08-30 06:18:43 +00:00
Bill Meier 439486505f Fix potential crash due to NULL dereference.
(Found by clang scan-build)

svn path=/trunk/; revision=29619
2009-08-29 17:00:22 +00:00
Kovarththanan Rajaratnam cbc70f822f Rename build target to lowercase for consistency
svn path=/trunk/; revision=29618
2009-08-29 09:13:28 +00:00
Kovarththanan Rajaratnam a65ac29851 We no longer support GLib 1.x
svn path=/trunk/; revision=29617
2009-08-29 08:44:49 +00:00
Kovarththanan Rajaratnam 42c0ca3ca7 We require WinPcap > 3.0 so get rid of WPCAP_CONSTIFIED_CONFIG
svn path=/trunk/; revision=29616
2009-08-29 08:19:16 +00:00
Kovarththanan Rajaratnam cd49063473 Revert r29614 until I figure out why buildbot doesn't like it
svn path=/trunk/; revision=29615
2009-08-29 07:53:48 +00:00
Kovarththanan Rajaratnam cc948586bf Use G_STRINGIFY/G_PASTE
svn path=/trunk/; revision=29614
2009-08-29 06:42:23 +00:00
Kovarththanan Rajaratnam cfcf299dfe Simplify logic wrt. PANGO_INST_VERSION
svn path=/trunk/; revision=29613
2009-08-29 05:46:45 +00:00
Kovarththanan Rajaratnam f3de3a12a7 Simplify logic wrt. GTK_INST_VERSION
svn path=/trunk/; revision=29612
2009-08-29 05:39:33 +00:00
Kovarththanan Rajaratnam 52183baedd Remove GCC_GLIB_CFLAGS. It isn't being used
svn path=/trunk/; revision=29611
2009-08-29 05:35:50 +00:00
Kovarththanan Rajaratnam bb0108cf25 Use NB_RTPMUX as protocol short name
svn path=/trunk/; revision=29610
2009-08-29 04:47:28 +00:00
Kovarththanan Rajaratnam e0c4b20c86 We need to handoff even when we don't have a tree
svn path=/trunk/; revision=29609
2009-08-29 04:43:52 +00:00
Kovarththanan Rajaratnam a87c4885b8 Indent comments
svn path=/trunk/; revision=29608
2009-08-29 04:39:59 +00:00
Guy Harris c960781f5e Note what the 3GPP spec is for this protocol.
Suggest a possible less-weak heuristic.

Note that we're not checking the T bit and handling RTP header
compression.

At least as I read TS 29.414, the length indicator isn't supposed to be
zero; however, a length indicator of 0 doesn't keep us from dissecting
further, so just don't bother dissecting the payload.  We should,
perhaps, add an expert info for this.

We should perhaps also catch exceptions thrown when dissecting the RTP
packet, so a malformed RTP packet will still let us continue dissecting
the rest of the Nb packet.

svn path=/trunk/; revision=29607
2009-08-29 02:32:33 +00:00
Bill Meier 8fda47d5b2 Replace "repeated blurb" by NULL in two cases;
Reformat a long line.

svn path=/trunk/; revision=29606
2009-08-29 02:25:04 +00:00
Bill Meier d53a1eaf73 Replace "" by NULL in blurbs; Cleanup indentation.
svn path=/trunk/; revision=29605
2009-08-29 02:22:28 +00:00
Bill Meier 79428f30cb Cleanup:
- proto_reg_handoff: 'if (!inited)' not req'd;
- Remove unneeded #includes;
- Use NULL instead of " for 'blurbs';
- Remove unneeded foward reference.

svn path=/trunk/; revision=29604
2009-08-29 01:46:42 +00:00
Guy Harris a340788eb2 Note that the "heuristic" is fatally weak, and must be strengthened or
eliminated.

Fix indentation.

Use tvb_reported_length(), so we throw an exception for packets cut
short by a snapshot length.

Don't bother showing or dissecting the payload if there isn't any.

Don't show an item with a zero-length payload as going to the end of the
packet.

svn path=/trunk/; revision=29603
2009-08-29 01:08:31 +00:00
Anders Broman 988a595e79 From Neil Piercy:
Add new protocol for 3GPP 29.414 (Nb interface RTP Mux).

- Don't use C++-style comments (comments beginning with "//")
- Don't declare variables in the middle of executable code; not all C
compilers support that. 
- Dont register preferences when none present.
- Removed CHECK_COL

svn path=/trunk/; revision=29602
2009-08-28 21:34:59 +00:00
Bill Meier 29e52f7fd2 Fix code which could access uninitialized variables and display incorrect text in COL_INFO.
(Found by clang scan-build).

svn path=/trunk/; revision=29601
2009-08-28 19:15:43 +00:00
Bill Meier 7279fbf6c0 Fix if test in fcn rs11():
return if either (as opposed to both) of the required sparameters is not present;
(Found by clang scan-build).

svn path=/trunk/; revision=29600
2009-08-28 18:37:53 +00:00
Bill Meier 56eec34f80 Fix possible memmove with a NULL poiunter.
svn path=/trunk/; revision=29599
2009-08-28 16:52:05 +00:00
Bill Meier c680dc89a3 Don't coerce a possibly unaligned ptr to a (guint32 *);
Also: Calculate the same template hash whether on a LE or BE machine.

svn path=/trunk/; revision=29598
2009-08-28 16:36:24 +00:00
Gerald Combs a25905c840 Add an example for generating CSV output.
svn path=/trunk/; revision=29597
2009-08-28 16:08:27 +00:00
Kovarththanan Rajaratnam 41778c459f Indicate where the some of the macros are used
svn path=/trunk/; revision=29596
2009-08-28 15:59:20 +00:00
Bill Meier 46fcebf274 Validate a function parameter
svn path=/trunk/; revision=29595
2009-08-28 13:52:52 +00:00
Jörg Mayer 4d8506486f After asking on the list and receiving no feedback, I'll
just commit this:

Change the checks for type FT_IPv6 to no longer require
a lenght of exaclty 16 bytes, but something between
0 and 16 bytes. That way, we can filter on prefixes
that do not provide the whole length of 16 bytes.

svn path=/trunk/; revision=29594
2009-08-28 09:38:34 +00:00
Anders Broman e392e77382 Use GTK+ 2.16.5 and Glib 2.20.4.
svn path=/trunk/; revision=29593
2009-08-28 06:21:16 +00:00
Anders Broman 2cd2eecd0a Compute the loading time and show it in the main status bar.
(Modified code from Didier Gautheron).

svn path=/trunk/; revision=29592
2009-08-28 05:19:52 +00:00
Anders Broman 5cba22a89b Make the windows build compile.
svn path=/trunk/; revision=29591
2009-08-28 05:17:14 +00:00
Gerald Combs 3b4fb8e340 Properly set our file descriptor when we're capturing from a pipe on
non-Windows systems.

svn path=/trunk/; revision=29590
2009-08-27 23:55:48 +00:00