Commit Graph

36601 Commits

Author SHA1 Message Date
Jörg Mayer 8fe667d16b Proto help also doesn't like GTK_DISABLE_DEPRECATED
svn path=/trunk/; revision=38406
2011-08-08 14:06:12 +00:00
Jörg Mayer a28af865bc Looks like the Windows code isn't as clean as the Unix path:
Comment out GTK_DISABLE_DEPRECATED

svn path=/trunk/; revision=38405
2011-08-08 14:03:53 +00:00
Jörg Mayer 6ef6042641 GTK3 stuff:
- Update Status file
- configure.in: start GSEALing with 2.20 and not 2.22
- configure.in/config.nmake/CMakeLists.txt: enable GTK_DISABLE_SINGLE_INCLUDE
    and GTK_DISABLE_DEPRECATED
- menus.c: If not building with UI_MANAGER, disable GTK_DISABLE_DEPRECATED

svn path=/trunk/; revision=38404
2011-08-08 13:39:21 +00:00
Jörg Mayer 8b8025c5d0 Add a comment about the uncommented glib deprecated warnings.
svn path=/trunk/; revision=38403
2011-08-08 09:39:30 +00:00
Anders Broman 210c311209 Don't include color.h
svn path=/trunk/; revision=38402
2011-08-08 08:55:42 +00:00
Anders Broman ad0ee6a542 Include Cairo and Pango version in "compiled with"
svn path=/trunk/; revision=38401
2011-08-08 06:08:27 +00:00
Anders Broman b935efe1e1 #include "../color.h" not needed.
svn path=/trunk/; revision=38400
2011-08-08 06:01:58 +00:00
Chris Maynard 352cc7a410 Fix bug 5848, "https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5848", which was apparently introduced with r27287 (http://anonsvn.wireshark.org/viewvc/trunk/epan/dissectors/packet-h225.c?r1=26698&r2=27287). Regenerate the packet-h225.c dissector. Patch from ericn1234@yahoo.com.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5848

svn path=/trunk/; revision=38399
2011-08-07 20:50:31 +00:00
Stig Bjørlykke c98835cc92 Untabify.
svn path=/trunk/; revision=38398
2011-08-07 20:18:51 +00:00
Anders Broman 3ff91f8147 g_ascii_strdown Returns a newly-allocated string.
svn path=/trunk/; revision=38397
2011-08-07 20:08:08 +00:00
Anders Broman c11c8b0ee0 svn path=/trunk/; revision=38396 2011-08-07 19:58:13 +00:00
Anders Broman 79501e9198 Revert previous commit.
(Note to self read the description first)

"Returns :
 
a newly-allocated string, with all the upper case characters in str converted to lower case, with semantics that exactly match g_ascii_tolower(). (Note that this is unlike the old g_strdown(), which modified the string in place.)"

svn path=/trunk/; revision=38395
2011-08-07 19:15:17 +00:00
Anders Broman e48dcbaf15 Replace deprecated glib functions.
set DG_DISABLE_DEPRECATED for windows build.

svn path=/trunk/; revision=38394
2011-08-07 19:08:41 +00:00
Jörg Mayer 553c565699 mate_grammar.lemon:
- Fix a bug my previous patch introduced.

mate/:
- Unset G_DISABLE_DEPRECATED for the mate files.

CMakeLists.txt
configure.in:
- Build with -DG_DISABLE_DEPRECATED so further usage of
  deprecated glib functions will be detected.

svn path=/trunk/; revision=38393
2011-08-07 18:35:36 +00:00
Jörg Mayer c15ff441c6 Replace deprecated glib functions.
In order to compile the whole project with -DG_DISABLE_DEPRECATED
the mate plugin needs to replace its usage of GMemChunk.
All other places should be clean.

svn path=/trunk/; revision=38392
2011-08-07 18:15:45 +00:00
Bill Meier 9e61dfeb33 Remove some unused 'GMemChunk *' variables and se_alloc() to same.
(Found by using -DG_DISABLE_DEPRECATED when compiling dissectors).

svn path=/trunk/; revision=38390
2011-08-07 15:16:35 +00:00
Michael Tüxen 055f20b798 Use "%" G_GINT64_MODIFIER "u" instead of G_GINT64_MODIFIER "%u".
svn path=/trunk/; revision=38388
2011-08-07 15:01:10 +00:00
Chris Maynard f59ddbef68 Life duration is a variable length TLV, and not always a 2 byte value. Hopefully fixes bug 6206 (no relevant capture file available to test).
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6206

svn path=/trunk/; revision=38387
2011-08-07 14:49:49 +00:00
Bill Meier 5eaad4ecd3 Fix gcc 4.6 "set but not used [-Wunused-but-set-variable]" warnings.
svn path=/trunk/; revision=38386
2011-08-07 14:36:19 +00:00
Chris Maynard 1bcd41cf18 Expand summary column. Fixed bug 6209.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6209

svn path=/trunk/; revision=38385
2011-08-07 14:07:52 +00:00
Gerald Combs ee925e0444 [Automatic manuf, services and enterprise-numbers update for 2011-08-07]
svn path=/trunk/; revision=38384
2011-08-07 14:03:28 +00:00
Guy Harris d4c6d19cd3 If you have a loop that iterates over packet contents, you absolutely
must not just do a "continue" if the offset into the packet has not been
advanced, as you will get an infinite loop if you do.

svn path=/trunk/; revision=38383
2011-08-07 08:26:29 +00:00
Guy Harris 5a885f1a91 Get rid of HAVE_PCAP_SET_BUFFER_SIZE - nobody checks for
pcap_set_buffer_size() (if *pcap has pcap_create() it has
pcap_set_buffer_size(), as they were both introduced in libpcap 1.0.0),
and nobody looks at HAVE_PCAP_SET_BUFFER_SIZE.

svn path=/trunk/; revision=38382
2011-08-06 19:12:31 +00:00
Guy Harris 3788aed199 Set svn:keywords and svn:eol-style. Fix the EOL style.
Add the copyright comment and give it an SVN ID.

svn path=/trunk/; revision=38381
2011-08-06 19:10:25 +00:00
Guy Harris 5689955e8e Move the *pcap stuff together. Add an item for
HAVE_PCAP_GET_SELECTABLE_FD to make it clear that it is never defined on
Windows.

svn path=/trunk/; revision=38380
2011-08-06 18:36:46 +00:00
Jörg Mayer 609b36f938 - Resolve a GTK_CHECK_VERSION(2,6,0) check. It's always true.
- Fix defined but not used warnings (turned errors) by surrounding
  the code with HAVE_PCAP_REMOTE_NEVERTRUE. Let's see what breaks.

svn path=/trunk/; revision=38379
2011-08-06 15:39:50 +00:00
Chris Maynard aade2d70af Update cavebear link.
svn path=/trunk/; revision=38378
2011-08-06 15:05:08 +00:00
Michael Tüxen 0fdfa575ae Some whitespace cleanups.
svn path=/trunk/; revision=38377
2011-08-06 13:22:51 +00:00
Michael Tüxen 761b0af787 Take out unused functions as reported by Joerg.
svn path=/trunk/; revision=38376
2011-08-06 12:40:19 +00:00
Michael Tüxen 84b0d41dcf This should fix the "else without previous if" error reported by Joerg.
svn path=/trunk/; revision=38375
2011-08-06 12:34:15 +00:00
Jörg Mayer ecdd812a6d Whitespace fixes:
- Remove trailing whitespace
- Remove leading space then tab

svn path=/trunk/; revision=38374
2011-08-06 09:16:00 +00:00
Stig Bjørlykke 7baca95651 Set the activate signal for the capture filter to the ok button.
svn path=/trunk/; revision=38373
2011-08-05 21:56:31 +00:00
Gerald Combs 15d5c762fe FindGTK2: Add a check for pangocairo. It has to be linked explicitly, at
least for MacPorts.
FindPCAP: Define HAVE_PCAP_CREATE if we have pcap_create.

svn path=/trunk/; revision=38372
2011-08-05 18:52:53 +00:00
Chris Maynard f85b5a1749 From John Thacker via bug 1831: Export proto_tree_set_appendix.
Reference: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1831

svn path=/trunk/; revision=38371
2011-08-05 18:10:05 +00:00
Michael Tüxen a5160b94d8 Try to make the clang buildbot happy...
svn path=/trunk/; revision=38370
2011-08-05 17:58:06 +00:00
Michael Tüxen 6ec0878aad Use the fix from Joerg to get the airpcap icon also for remote
interface.
This is a misuse of the icon, but we don't have an icon
for remote interfaces yet and I'm the wrong one for
creating one...

svn path=/trunk/; revision=38369
2011-08-05 17:41:31 +00:00
Michael Tüxen a5fd811d8b Fix the compile issue reported by Joerg.
This does not fix the icon issue.

svn path=/trunk/; revision=38368
2011-08-05 17:33:47 +00:00
Michael Tüxen 1a474102c7 Try to make the Mac OS X PPC builder happy.
svn path=/trunk/; revision=38367
2011-08-05 16:37:17 +00:00
Jörg Mayer 94076002b3 Make buildbot OSX-10.5-x86 happy:
Work around a spurius warning where gcc was unable to find out that two variables
would only be used initialized.



svn path=/trunk/; revision=38366
2011-08-05 15:43:28 +00:00
Martin Mathieson 4eccc98bbc Show in info line if predefined contents lines are truncated.
svn path=/trunk/; revision=38365
2011-08-05 14:40:47 +00:00
Alexis La Goutte d7ccd14899 Update pflog dissector via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6115
* Update pflog dissector to the last header format (OpenBSD 4.9)
* Dissect all new field (uid, pid, saddr, daddr...)
* Replace proto_tree_add_xxx(uint/string...) by proto_tree_add_item
* Remove not needed packet-pflog.h file

svn path=/trunk/; revision=38364
2011-08-05 14:33:53 +00:00
Michael Tüxen adbe753411 Fix one instance of strdup() -> g_strdup().
svn path=/trunk/; revision=38363
2011-08-05 13:17:41 +00:00
Michael Tüxen 02b614618f Try to make the Mac OS PPC builder happy.
svn path=/trunk/; revision=38362
2011-08-05 13:11:11 +00:00
Jörg Mayer 1f142a1404 Add call to FindPackageHandleStandardArgs
svn path=/trunk/; revision=38361
2011-08-05 12:25:54 +00:00
Jörg Mayer 46d4528e3d Attempt to properly fix the missing path information for glib libraries
svn path=/trunk/; revision=38360
2011-08-05 12:21:46 +00:00
Jörg Mayer a2c225e8e3 We can always add ${GTHREAD2_LIBRARIES} - this variable will be empty
if not building with the gthread library.

svn path=/trunk/; revision=38359
2011-08-05 11:10:26 +00:00
Jörg Mayer 4a61660f12 Fix typo
svn path=/trunk/; revision=38358
2011-08-05 10:43:03 +00:00
Jörg Mayer 91ad1c8086 Using gtk_tree_view_column_get_cell_renderers is an error now.
svn path=/trunk/; revision=38357
2011-08-05 10:40:45 +00:00
Jörg Mayer 1d85bcdde1 Replace the deprecated call to gtk_tree_view_column_get_cell_renderers by
gtk_cell_layout_get_cells, which is available since 2.12 (according to docs)
and not 2.18 as one guard indicated.

svn path=/trunk/; revision=38356
2011-08-05 10:38:58 +00:00
Michael Tüxen cef78123cf Fix API issues.
svn path=/trunk/; revision=38355
2011-08-05 10:24:36 +00:00