Commit Graph

28813 Commits

Author SHA1 Message Date
Kovarththanan Rajaratnam b429655b7f Plug memleak in new_packet_list_store_clear(). Make sure that we free the pointer array segment
svn path=/trunk/; revision=29652
2009-09-01 15:54:53 +00:00
Martin Mathieson e256fed975 Add volatile to avoid clobbered by longjmp warning.
svn path=/trunk/; revision=29651
2009-09-01 11:15:24 +00:00
Michael Tüxen db86fb6684 Out with debug output...
svn path=/trunk/; revision=29650
2009-09-01 10:29:17 +00:00
Michael Tüxen 66e738ede6 From Irene Ruengeler: Get rid of legacy gtk code...
svn path=/trunk/; revision=29649
2009-09-01 10:12:27 +00:00
Anders Broman 2d001ec762 - Read a min number if packets before checking if the progress bar should be updated.
- Calculate the progess before checking if progress bar should be
created or not.
- Dont update the progress to often on small files.
- Use data_offset rather than reading file_pos.

svn path=/trunk/; revision=29648
2009-09-01 08:51:41 +00:00
Anders Broman 3d1e65e2a0 Typo
svn path=/trunk/; revision=29647
2009-09-01 07:29:16 +00:00
Anders Broman b787bbb334 Don't bother with a progress dialog for small Hex windows.
svn path=/trunk/; revision=29646
2009-09-01 05:19:24 +00:00
Jörg Mayer 1925235323 Add check for HAVE_MKSTEMP to make build work again on
platforms that know about mkstemp().

svn path=/trunk/; revision=29645
2009-08-31 23:11:52 +00:00
Jörg Mayer 8bd7ebc6a1 - Fix for bug 3965 as reported by Ivan Sy <ivan_jr@yahoo.com>
mDNS and LLMNR also deviate from the TTL=1 for 224.0.0.0/24

- Fix two warnings about removing const by casting.

svn path=/trunk/; revision=29644
2009-08-31 22:34:25 +00:00
Kovarththanan Rajaratnam 974849a9a0 Remove strcasecmp. We use g_ascii_strcasecmp exclusively
svn path=/trunk/; revision=29643
2009-08-31 19:47:50 +00:00
Anders Broman a871f30434 Connect F7 and F8 for new_packet_list.
svn path=/trunk/; revision=29642
2009-08-31 19:31:04 +00:00
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