Commit graph

28731 commits

Author SHA1 Message Date
Anders Broman
cdd2959aa5 Adding new color rules should work now.
svn path=/trunk/; revision=29671
2009-09-02 17:51:48 +00:00
Kovarththanan Rajaratnam
bc36849a9e Add seperate new_packet_list_moveto_end() which scrolls to the end _without_ selecting the last packet.
svn path=/trunk/; revision=29670
2009-09-02 17:29:52 +00:00
Ronnie Sahlberg
06d5136beb Add initial support to decode the ADIP and PhysicalInformation for MMC
media


svn path=/trunk/; revision=29669
2009-09-02 17:24:52 +00:00
Kovarththanan Rajaratnam
6149d4be35 Make sure that we select the last row if autoscroll is enabled. The scrolling is still very jumpy. It seems that we always select the first packet before moving to the end.
svn path=/trunk/; revision=29668
2009-09-02 17:15:20 +00:00
Martin Mathieson
2ef4429761 Add Semi-Persistent Scheduling (SPS) RNTI.
svn path=/trunk/; revision=29667
2009-09-02 16:39:39 +00:00
Jörg Mayer
d26cdc30ea Beginnings of getting cmake to build stuff in epan.
It's only beginnings, so epan is commented out in
the subdirs statement.

This is more a synch to avoid duplicate work and creating
conflicting patches to the cmake stuff.

svn path=/trunk/; revision=29666
2009-09-02 16:33:01 +00:00
Jörg Mayer
822d0a2242 No need to include packet-frame.h
svn path=/trunk/; revision=29665
2009-09-02 15:52:11 +00:00
Anders Broman
1858d86612 Prepare abillity to add color filters with new packet list.
(Packets not recolored yet).

svn path=/trunk/; revision=29664
2009-09-02 15:07:03 +00:00
Anders Broman
8035954712 Didier Gautheron:
Expert info clean up.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3971

svn path=/trunk/; revision=29663
2009-09-02 05:48:38 +00:00
Guy Harris
5dd678f0a7 Check whether "size" points to something positive, not whether "size"
itself is positive (which makes no sense for a pointer).

svn path=/trunk/; revision=29661
2009-09-01 19:31:41 +00:00
Kovarththanan Rajaratnam
2a5826d250 Define some windows specific header files
svn path=/trunk/; revision=29660
2009-09-01 19:27:59 +00:00
Kovarththanan Rajaratnam
f4c7321fc4 Check for mkdtemp()
svn path=/trunk/; revision=29659
2009-09-01 19:19:41 +00:00
Kovarththanan Rajaratnam
f8f4f0fb6b Remove superfluous NULL pointer checks wrt. g_malloc() and g_realloc()
svn path=/trunk/; revision=29658
2009-09-01 18:44:08 +00:00
Anders Broman
c5c569597b In new_packet_list_append() all we need is in fdata.
svn path=/trunk/; revision=29657
2009-09-01 18:29:11 +00:00
Kovarththanan Rajaratnam
17f010119a From Jakub Zawadzki via. Bug 3330:
* Fix memleak (df->deprecated in dfilter_free())
* Free protocol hash tables on cleanup.
* Free protocols list on cleanup.
* Free memory allocated by fgetline() in parse_services_file()

From me:

* proto.c: set gmc_hfinfo to NULL after free
* proto.c: switch order of g_free() and g_list_remove() in proto_cleanup()

svn path=/trunk/; revision=29656
2009-09-01 18:16:55 +00:00
Bill Meier
95bf560727 Misc cleanup;
- Remove no longer needed usage of check_col();
- Add some defensive coding;
- Change a few guints to gints;
- Add parentheses to a few expressions;
- Use consistent indentation.

svn path=/trunk/; revision=29655
2009-09-01 17:17:14 +00:00
Kovarththanan Rajaratnam
8cba530c81 From Richard Brodie via. Bug 3913:
Free ptr array allocated through proto_find_finfo()

svn path=/trunk/; revision=29654
2009-09-01 17:09:36 +00:00
Kovarththanan Rajaratnam
5b3f74f9d5 We no longer store the column text in our record, so don't ever dereference the record column text pointer. In fact, remove it completely. This could cause a crash.
While there, throw in a few g_assert()'s.

svn path=/trunk/; revision=29653
2009-09-01 16:00:56 +00:00
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