metze/wireshark/wip.git
15 years agoRemoved some "statement not reached" warnings.
Stig Bjørlykke [Mon, 23 Mar 2009 13:03:18 +0000 (13:03 -0000)]
Removed some "statement not reached" warnings.

svn path=/trunk/; revision=27827

15 years agoRemoved some "initializer does not fit or is out of range" warnings.
Stig Bjørlykke [Mon, 23 Mar 2009 12:44:50 +0000 (12:44 -0000)]
Removed some "initializer does not fit or is out of range" warnings.

svn path=/trunk/; revision=27826

15 years agoFixed some data types to remove some warnings in the solaris build.
Stig Bjørlykke [Mon, 23 Mar 2009 12:41:56 +0000 (12:41 -0000)]
Fixed some data types to remove some warnings in the solaris build.

svn path=/trunk/; revision=27825

15 years agoP64 change
Bill Meier [Sun, 22 Mar 2009 22:15:23 +0000 (22:15 -0000)]
P64 change

svn path=/trunk/; revision=27824

15 years agoDissect all the ESM messages.
Anders Broman [Sun, 22 Mar 2009 21:20:56 +0000 (21:20 -0000)]
Dissect all the ESM messages.

svn path=/trunk/; revision=27823

15 years agoP64 changes: Fix some cases for which size_t is not required
Bill Meier [Sun, 22 Mar 2009 20:55:31 +0000 (20:55 -0000)]
P64 changes: Fix some cases for which size_t is not required

svn path=/trunk/; revision=27822

15 years agoSigh.
Guy Harris [Sun, 22 Mar 2009 18:06:06 +0000 (18:06 -0000)]
Sigh.

dladdr() in GNU libc isn't available (<dlfcn.h> doesn't define Dl_info)
unless _GNU_SOURCE is defined.

In addition, it's not guaranteed to return anything more useful than
argv[0]; just in case that changes at some point in the future, however,
we still use it, we just run it through the same machinery that we run
argv[0] through.  (On Mac OS X, for example, the path of the executable
is handed to the run-time linker by the kernel, so it *is* useful
there.)

svn path=/trunk/; revision=27821

15 years ago(Minor) Change a g_snprint to a g_strlcpy;
Bill Meier [Sun, 22 Mar 2009 16:25:01 +0000 (16:25 -0000)]
(Minor) Change a g_snprint to a g_strlcpy;
Also: Fix an off-by-1  inadvertantly introduced a while back.

svn path=/trunk/; revision=27820

15 years agog_snprintf() & etc since glib 1.3.12 don't return -1,
Bill Meier [Sun, 22 Mar 2009 15:42:03 +0000 (15:42 -0000)]
g_snprintf() & etc since glib 1.3.12 don't return -1,
and also always NUL terminate the string.

svn path=/trunk/; revision=27819

15 years agoFrom Jakub Zawadzki: g_snprintf() & etc since glib 1.3.12
Bill Meier [Sun, 22 Mar 2009 15:31:44 +0000 (15:31 -0000)]
From Jakub Zawadzki: g_snprintf() & etc since glib 1.3.12
don't return -1, and also always NUL terminate the string.
We can clean sources by removing dead/unnecessary code.
From me: A few additional changes re use of g_snprintf.

svn path=/trunk/; revision=27818

15 years ago[Automatic manuf update for 2009-03-22]
Gerald Combs [Sun, 22 Mar 2009 15:03:23 +0000 (15:03 -0000)]
[Automatic manuf update for 2009-03-22]

svn path=/trunk/; revision=27816

15 years agoChange the signature of init_progfile_dir() so the casting of the
Guy Harris [Sun, 22 Mar 2009 06:53:17 +0000 (06:53 -0000)]
Change the signature of init_progfile_dir() so the casting of the
function pointer (to main) to an argument to dladdr() is done in
init_progfile_dir() rather than its callers.

svn path=/trunk/; revision=27814

15 years agoIn Solaris, the second argument to dladdr() is just a void *, not a
Guy Harris [Sun, 22 Mar 2009 06:38:02 +0000 (06:38 -0000)]
In Solaris, the second argument to dladdr() is just a void *, not a
const void *.

svn path=/trunk/; revision=27813

15 years agoAttempt to use dladdr() to get the pathname of the executable image if
Guy Harris [Sun, 22 Mar 2009 00:42:33 +0000 (00:42 -0000)]
Attempt to use dladdr() to get the pathname of the executable image if
it's available and works.

svn path=/trunk/; revision=27812

15 years agoproto_item_append_string() actually appends to the string value for a
Guy Harris [Fri, 20 Mar 2009 23:20:45 +0000 (23:20 -0000)]
proto_item_append_string() actually appends to the string value for a
protocol tree item; the item being added to isn't a string, so
proto_item_append_text() should be used - but the second argument to
proto_item_append_text() should always be a format string.

Use #if 0/#endif to leave a data structure in the source code without
compiling it in, rather than a comment (if you use a comment, things can
break if you put a comment into the commented-out code).

svn path=/trunk/; revision=27811

15 years agoSwitch back to 1.1.4.
Gerald Combs [Fri, 20 Mar 2009 23:15:15 +0000 (23:15 -0000)]
Switch back to 1.1.4.

svn path=/trunk/; revision=27810

15 years agoFix broken linux build.
Martin Mathieson [Fri, 20 Mar 2009 22:39:29 +0000 (22:39 -0000)]
Fix broken linux build.

svn path=/trunk/; revision=27809

15 years agoFurther NAS updates.
Anders Broman [Fri, 20 Mar 2009 20:15:46 +0000 (20:15 -0000)]
Further NAS updates.

svn path=/trunk/; revision=27808

15 years agoTemporarily switch back to building 1.1.3 final.
Gerald Combs [Fri, 20 Mar 2009 16:17:02 +0000 (16:17 -0000)]
Temporarily switch back to building 1.1.3 final.

svn path=/trunk/; revision=27807

15 years agoPut check_col() in each column util function, as discussed in bug 2902.
Stig Bjørlykke [Fri, 20 Mar 2009 12:41:03 +0000 (12:41 -0000)]
Put check_col() in each column util function, as discussed in bug 2902.
This will eliminate some problems when not checking before calling the
functions, and makes the dissector code looks cleaner.

Cleaning up the dissectors is TBD.

svn path=/trunk/; revision=27806

15 years agoFrom Dejan Bucar (bug 3345):
Stig Bjørlykke [Fri, 20 Mar 2009 11:06:20 +0000 (11:06 -0000)]
From Dejan Bucar (bug 3345):
Added official LINX Ethernet type.

svn path=/trunk/; revision=27804

15 years agoremove GPLv2 CRC code, the new epan CRC stuff is working well
Ulf Lamping [Fri, 20 Mar 2009 10:44:42 +0000 (10:44 -0000)]
remove GPLv2 CRC code, the new epan CRC stuff is working well

svn path=/trunk/; revision=27803

15 years agoMore NAS EPS updates and bugfixes.
Anders Broman [Thu, 19 Mar 2009 22:03:33 +0000 (22:03 -0000)]
More NAS EPS updates and bugfixes.

svn path=/trunk/; revision=27802

15 years agoRevert the previous changes MCC and MNC are coded differently in different places.
Anders Broman [Thu, 19 Mar 2009 22:02:46 +0000 (22:02 -0000)]
Revert the previous changes MCC and MNC are coded differently in different places.

svn path=/trunk/; revision=27801

15 years agoAs suggested by Jakub Zawadzki: actually use sizeof(...) rather than a numeric consta...
Bill Meier [Thu, 19 Mar 2009 17:49:11 +0000 (17:49 -0000)]
As suggested by Jakub Zawadzki: actually use sizeof(...) rather than a numeric constant in various places;

svn path=/trunk/; revision=27800

15 years ago-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric constant in...
Bill Meier [Thu, 19 Mar 2009 17:47:00 +0000 (17:47 -0000)]
-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric constant in various places;
Also:
 - Change indentation to be consistent;

svn path=/trunk/; revision=27799

15 years ago-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric constant in...
Bill Meier [Thu, 19 Mar 2009 17:44:57 +0000 (17:44 -0000)]
-As suggested by Jakub Zawadzki: use sizeof(...) rather than a numeric constant in various places;
Also:
 - Change ct_port_to_str to be slightly simpler and more efficient;
 - Change indentation to be consistent;

svn path=/trunk/; revision=27798

15 years agoAdd an expert item for the seconds-encoded-as-little-endian bug.
Gerald Combs [Thu, 19 Mar 2009 17:40:18 +0000 (17:40 -0000)]
Add an expert item for the seconds-encoded-as-little-endian bug.

svn path=/trunk/; revision=27797

15 years agoUse GTK 2.16 and glib 2.20.
Anders Broman [Thu, 19 Mar 2009 06:42:46 +0000 (06:42 -0000)]
Use GTK 2.16 and glib 2.20.

svn path=/trunk/; revision=27796

15 years agoFrom Michael Lum:
Anders Broman [Thu, 19 Mar 2009 06:41:41 +0000 (06:41 -0000)]
From Michael Lum:
MEID digit translation fix.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3341

svn path=/trunk/; revision=27795

15 years ago- Move register_dissector(...) from proto_reg_handoff() to proto_register();
Bill Meier [Thu, 19 Mar 2009 01:54:09 +0000 (01:54 -0000)]
- Move register_dissector(...) from proto_reg_handoff() to proto_register();
- Use dissector_add_handle("udp",...)  rather than dissector_add(""udp",0,...)

svn path=/trunk/; revision=27794

15 years agoDon't include <stdint.h>, as our Win32 environment appears not to have
Guy Harris [Thu, 19 Mar 2009 00:05:26 +0000 (00:05 -0000)]
Don't include <stdint.h>, as our Win32 environment appears not to have
it; we're using GLib types, instead.

svn path=/trunk/; revision=27793

15 years agoClean up indentation.
Guy Harris [Wed, 18 Mar 2009 23:30:21 +0000 (23:30 -0000)]
Clean up indentation.

Note that -5047 can also mean "disk quota exceeded".

Define the ASP errors as 32-bit (negative) numbers, just like the AFP
errors.

Add a couple of ASP errors to the list of error values.

svn path=/trunk/; revision=27792

15 years agoRemoved C++ style comments.
Stig Bjørlykke [Wed, 18 Mar 2009 23:06:08 +0000 (23:06 -0000)]
Removed C++ style comments.

svn path=/trunk/; revision=27791

15 years agoCreate an "epan/crc" directory for CRC code. Add crc-16-plain.[ch],
Gerald Combs [Wed, 18 Mar 2009 21:59:30 +0000 (21:59 -0000)]
Create an "epan/crc" directory for CRC code. Add crc-16-plain.[ch],
generated from pycrc. The command line used to generate the file is in
epan/crc/Makefile.common. I used "plain" to distinguish it from CCITT,
USB, and other 16-bit CRCs. Integrate the new CRC code into our
infrastructure.

Add crc16_plain_tvb_offset() to epan/crc16.[ch] and use it in
plugins/profinet/packet-pn-rt.c. This _should_ work correctly, but
hasn't been tested.

svn path=/trunk/; revision=27790

15 years agoDon't g_assert() in a dissector, just drive on.
Guy Harris [Wed, 18 Mar 2009 21:40:04 +0000 (21:40 -0000)]
Don't g_assert() in a dissector, just drive on.
Use ws_fopen(), not fopen(), to open files.

svn path=/trunk/; revision=27789

15 years agoDon't g_assert() in a dissector; just drive on.
Guy Harris [Wed, 18 Mar 2009 21:37:56 +0000 (21:37 -0000)]
Don't g_assert() in a dissector; just drive on.

svn path=/trunk/; revision=27788

15 years agoNone of those strings will have a length that doesn't fit in a gulong.
Guy Harris [Wed, 18 Mar 2009 20:56:21 +0000 (20:56 -0000)]
None of those strings will have a length that doesn't fit in a gulong.

svn path=/trunk/; revision=27787

15 years agoGet rid of a bunch of uses of size_t where int suffices.
Guy Harris [Wed, 18 Mar 2009 20:54:28 +0000 (20:54 -0000)]
Get rid of a bunch of uses of size_t where int suffices.

svn path=/trunk/; revision=27786

15 years agoSquelch a P64 warning.
Guy Harris [Wed, 18 Mar 2009 20:48:42 +0000 (20:48 -0000)]
Squelch a P64 warning.

svn path=/trunk/; revision=27785

15 years agoGet rid of P64 warnings; those strings should never be longer than 2^31-1.
Guy Harris [Wed, 18 Mar 2009 20:47:22 +0000 (20:47 -0000)]
Get rid of P64 warnings; those strings should never be longer than 2^31-1.

svn path=/trunk/; revision=27784

15 years agoUse g_strreverse() to reverse strings.
Guy Harris [Wed, 18 Mar 2009 20:45:57 +0000 (20:45 -0000)]
Use g_strreverse() to reverse strings.

svn path=/trunk/; revision=27783

15 years agoGet rid of some P64 warnings; those lengths should never be > 2^31-1.
Guy Harris [Wed, 18 Mar 2009 20:42:59 +0000 (20:42 -0000)]
Get rid of some P64 warnings; those lengths should never be > 2^31-1.

svn path=/trunk/; revision=27782

15 years agoGet rid of uses of size_t; they're not necessary, and it causes a pile
Guy Harris [Wed, 18 Mar 2009 20:41:45 +0000 (20:41 -0000)]
Get rid of uses of size_t; they're not necessary, and it causes a pile
of 64-bit-to-32-bit conversion warnings in LLP64 environments such as
Win64.

svn path=/trunk/; revision=27781

15 years agoimprove dissection of optional parameters. In particular, make the tag and length...
Richard van der Hoff [Wed, 18 Mar 2009 20:31:15 +0000 (20:31 -0000)]
improve dissection of optional parameters. In particular, make the tag and length fields explicit.

svn path=/trunk/; revision=27780

15 years agofix unused parameter warning
Richard van der Hoff [Wed, 18 Mar 2009 20:30:35 +0000 (20:30 -0000)]
fix unused parameter warning

svn path=/trunk/; revision=27779

15 years ago- Fix APDU dissection.
Anders Broman [Wed, 18 Mar 2009 19:40:54 +0000 (19:40 -0000)]
- Fix APDU dissection.
- NAS EPS bugfixes and enhancements.

svn path=/trunk/; revision=27778

15 years agoFix the Lua path on Win64.
Gerald Combs [Wed, 18 Mar 2009 17:05:41 +0000 (17:05 -0000)]
Fix the Lua path on Win64.

svn path=/trunk/; revision=27777

15 years agoUse retx info in stats window.
Martin Mathieson [Wed, 18 Mar 2009 16:21:45 +0000 (16:21 -0000)]
Use retx info in stats window.

User guide help not added yet, as having trouble building...

svn path=/trunk/; revision=27776

15 years ago From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];
Bill Meier [Wed, 18 Mar 2009 15:35:55 +0000 (15:35 -0000)]
 From Jakub Zawadzki:  g_gnprintf & etc: Use size of buffer [not size -1];
 From me:
   - As suggested by Jakub actually use sizeof(...) rather than a numeric constant
      in various places;

svn path=/trunk/; revision=27775

15 years agoAllow a lot more than 32 subheaders.
Martin Mathieson [Wed, 18 Mar 2009 15:35:45 +0000 (15:35 -0000)]
Allow a lot more than 32 subheaders.

svn path=/trunk/; revision=27774

15 years ago From Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];
Bill Meier [Wed, 18 Mar 2009 15:25:19 +0000 (15:25 -0000)]
 From Jakub Zawadzki:  g_gnprintf & etc: Use size of buffer [not size -1];
 From me:
   - As suggested by Jakub actually use sizeof(...) rather than a numeric constant
      in various places;
   - Use #if 0 rather than /* */ to comment out code;
   - Fix indentation to be consistent.

svn path=/trunk/; revision=27773

15 years agoFrom Jakub Zawadzki: g_gnprintf & etc: Use size of buffer [not size -1];
Bill Meier [Wed, 18 Mar 2009 15:03:46 +0000 (15:03 -0000)]
From Jakub Zawadzki:  g_gnprintf & etc: Use size of buffer [not size -1];
  - As suggested actually use sizeof(...) rather than a numeric constant.
  - g_snprintf() and g_vsnprintf() since glib 1.3.12 do not return -1.

svn path=/trunk/; revision=27772

15 years agoFrom Jakub Zawadzki: Use size of buffer [not size -1];
Bill Meier [Wed, 18 Mar 2009 14:44:15 +0000 (14:44 -0000)]
From Jakub Zawadzki:  Use size of buffer [not size -1];
  Also: as suggested actually use sizeof() rather than a constant.
From me:
 -Rework hostlist_port_to_str slightly to be simpler and
   more efficient;
 -Fix indentation to be consistent.

svn path=/trunk/; revision=27771

15 years agoFrom Munenori Ohuchi:
Anders Broman [Wed, 18 Mar 2009 07:36:53 +0000 (07:36 -0000)]
From Munenori Ohuchi:
Enhacement to support 'WiMAX Forum/3GPP2 Proxy Mobile IPv4'.

svn path=/trunk/; revision=27770

15 years agoFrom Bjørn Mork:
Anders Broman [Wed, 18 Mar 2009 07:31:35 +0000 (07:31 -0000)]
From Bjørn Mork:
Decode ipv6prefix attributes in packet-radius.

svn path=/trunk/; revision=27769

15 years agoFrom Patrick A Baldwin:
Anders Broman [Wed, 18 Mar 2009 07:29:36 +0000 (07:29 -0000)]
From Patrick A Baldwin:
Enhancements for CCSDS Dissectors.

svn path=/trunk/; revision=27768

15 years agoMove to 1.1.4.
Gerald Combs [Wed, 18 Mar 2009 05:42:03 +0000 (05:42 -0000)]
Move to 1.1.4.

svn path=/trunk/; revision=27767

15 years agoFrom Jakub Zawadzki: Glib2 g_snprintf doesn't return -1;
Bill Meier [Wed, 18 Mar 2009 00:03:41 +0000 (00:03 -0000)]
From Jakub Zawadzki: Glib2 g_snprintf doesn't return -1;
Also: from me: fix an "off by 1" issue in inet_ntop_4
   which could result in a trailing character of the
   output string being truncated rather than an ENOSPC
   error being reported.

svn path=/trunk/; revision=27766

15 years agoBuild 1.1.3.
Gerald Combs [Tue, 17 Mar 2009 23:26:55 +0000 (23:26 -0000)]
Build 1.1.3.

svn path=/trunk/; revision=27765

15 years agoRevert the changes, it blows up when resizeing windows...
Anders Broman [Tue, 17 Mar 2009 21:33:15 +0000 (21:33 -0000)]
Revert the changes, it blows up when resizeing windows...

svn path=/trunk/; revision=27764

15 years agoYet another typo..
Anders Broman [Tue, 17 Mar 2009 20:32:19 +0000 (20:32 -0000)]
Yet another typo..
*sigh

svn path=/trunk/; revision=27763

15 years agoUse GTK 2.16 and glib 2.20.
Anders Broman [Tue, 17 Mar 2009 20:21:16 +0000 (20:21 -0000)]
Use GTK 2.16 and glib 2.20.

svn path=/trunk/; revision=27762

15 years agoFix a typo.
Anders Broman [Tue, 17 Mar 2009 20:20:36 +0000 (20:20 -0000)]
Fix a typo.

svn path=/trunk/; revision=27761

15 years agoClean up indentation.
Guy Harris [Tue, 17 Mar 2009 19:37:10 +0000 (19:37 -0000)]
Clean up indentation.

Cast the num_msus and num_bytes values to double before dividing them by
the appropriate divisor, to make sure the division is done in floating
point; that's only necessary in one case (when dividing by an integer),
but we do it in all cases for regularity.

g_strdup_printf() g_mallocs the string; use g_strdup() for the
zero-divisor case, so that the string is g_mallocated in all cases.
Note in a comment that they need to be freed.

Make the array to which the strings in question are allocated arrays of
"char *" rather than "const char *", to catch cases where a constant
string is assigned to them.

svn path=/trunk/; revision=27760

15 years ago(Minor): Remove some unneccessary code; Fix a typo;
Bill Meier [Tue, 17 Mar 2009 19:30:58 +0000 (19:30 -0000)]
(Minor): Remove some unneccessary code; Fix a typo;

svn path=/trunk/; revision=27759

15 years agoAdd a comment about the way g_snprintf is used.
Bill Meier [Tue, 17 Mar 2009 19:28:05 +0000 (19:28 -0000)]
Add a comment about the way g_snprintf is used.

svn path=/trunk/; revision=27758

15 years agoGet rid of another Clist.
Anders Broman [Tue, 17 Mar 2009 18:36:00 +0000 (18:36 -0000)]
Get rid of another Clist.

svn path=/trunk/; revision=27757

15 years agoAdd a comment about the way g_snprintf() is used.
Bill Meier [Tue, 17 Mar 2009 18:13:44 +0000 (18:13 -0000)]
Add a comment about the way g_snprintf() is used.

svn path=/trunk/; revision=27756

15 years agoDon't compile with -WX for flex-generated output, similar to what we do in
Gerald Combs [Tue, 17 Mar 2009 16:05:07 +0000 (16:05 -0000)]
Don't compile with -WX for flex-generated output, similar to what we do in
wiretap/Makefile.nmake.

svn path=/trunk/; revision=27755

15 years agoDo checkAPIs for wireshark_SOURCES
Bill Meier [Tue, 17 Mar 2009 15:39:07 +0000 (15:39 -0000)]
Do checkAPIs for wireshark_SOURCES

svn path=/trunk/; revision=27754

15 years agoUse smiFree for libsmi >= v 0.4.8; Also: sprintf->g_snprintf
Bill Meier [Tue, 17 Mar 2009 15:34:18 +0000 (15:34 -0000)]
Use smiFree for libsmi >= v 0.4.8; Also: sprintf->g_snprintf

svn path=/trunk/; revision=27753

15 years agoCommited by mistake, reverting.
Anders Broman [Tue, 17 Mar 2009 05:56:59 +0000 (05:56 -0000)]
Commited by mistake, reverting.

svn path=/trunk/; revision=27752

15 years agosprintf --> g_snprintf
Bill Meier [Tue, 17 Mar 2009 01:47:20 +0000 (01:47 -0000)]
sprintf --> g_snprintf

svn path=/trunk/; revision=27751

15 years agoUpdate the comment about Ross Williams' paper.
Guy Harris [Tue, 17 Mar 2009 00:13:59 +0000 (00:13 -0000)]
Update the comment about Ross Williams' paper.

svn path=/trunk/; revision=27750

15 years agofix type
Ulf Lamping [Mon, 16 Mar 2009 22:36:34 +0000 (22:36 -0000)]
fix type

svn path=/trunk/; revision=27749

15 years agoupdate to the latest PROTINET changes:
Ulf Lamping [Mon, 16 Mar 2009 21:40:00 +0000 (21:40 -0000)]
update to the latest PROTINET changes:
- add SubFrameBlock dissection
- add subframe heuristics and dissection
- update frame id "layout"
- raise plugin version to 0.2.4

crc16 algorithm copied from Linux sources (GPL V2 only!)

svn path=/trunk/; revision=27748

15 years agoFix syntax error.
Guy Harris [Mon, 16 Mar 2009 21:17:53 +0000 (21:17 -0000)]
Fix syntax error.

svn path=/trunk/; revision=27747

15 years agoReplace use of unneccessary (and deprecated) GtkCtree.
Bill Meier [Mon, 16 Mar 2009 19:43:45 +0000 (19:43 -0000)]
Replace use of unneccessary (and deprecated) GtkCtree.

svn path=/trunk/; revision=27746

15 years agoHack toprevent checkAPIs complaining about use of 'free'
Bill Meier [Mon, 16 Mar 2009 19:34:02 +0000 (19:34 -0000)]
Hack toprevent checkAPIs complaining about use of 'free'

svn path=/trunk/; revision=27745

15 years agostrcpy-->g-strlcpy; Also: Add $Id$
Bill Meier [Mon, 16 Mar 2009 19:30:25 +0000 (19:30 -0000)]
strcpy-->g-strlcpy; Also: Add $Id$

svn path=/trunk/; revision=27744

15 years ago[Trivial] fix some wording in a comment
Bill Meier [Mon, 16 Mar 2009 19:02:18 +0000 (19:02 -0000)]
[Trivial] fix some wording in a comment

svn path=/trunk/; revision=27743

15 years agoFix compilation: Mark unused arg as _U_.
Michael Tüxen [Mon, 16 Mar 2009 18:26:37 +0000 (18:26 -0000)]
Fix compilation: Mark unused arg as _U_.

svn path=/trunk/; revision=27742

15 years agoGet rid of Clists, move a comment, move display as hex to gui_utils.
Anders Broman [Mon, 16 Mar 2009 18:01:25 +0000 (18:01 -0000)]
Get rid of Clists, move a comment, move display as hex to gui_utils.

svn path=/trunk/; revision=27741

15 years agoGet rid of unused routine (which gets errors when compiled on Win64).
Guy Harris [Mon, 16 Mar 2009 16:49:47 +0000 (16:49 -0000)]
Get rid of unused routine (which gets errors when compiled on Win64).

svn path=/trunk/; revision=27740

15 years agoAdd a ReTX count (resends being caused by HARQ NACKs).
Martin Mathieson [Mon, 16 Mar 2009 15:39:52 +0000 (15:39 -0000)]
Add a ReTX count (resends being caused by HARQ NACKs).

svn path=/trunk/; revision=27739

15 years agoUse g_malloc instead of malloc.
Bill Meier [Mon, 16 Mar 2009 14:32:01 +0000 (14:32 -0000)]
Use g_malloc instead of malloc.

svn path=/trunk/; revision=27738

15 years agoRemove some non-ascii characters.
Bill Meier [Mon, 16 Mar 2009 13:58:40 +0000 (13:58 -0000)]
Remove some non-ascii characters.

svn path=/trunk/; revision=27737

15 years agoRemoved some non-ASCII characters.
Stig Bjørlykke [Mon, 16 Mar 2009 10:14:44 +0000 (10:14 -0000)]
Removed some non-ASCII characters.

svn path=/trunk/; revision=27736

15 years agoClean up some P64 issues; we assume that no strings in UATs are bigger
Guy Harris [Mon, 16 Mar 2009 06:11:30 +0000 (06:11 -0000)]
Clean up some P64 issues; we assume that no strings in UATs are bigger
than 2^31-1 (if they are, truncating the length to 32 bits is probably
the least of our problems).

svn path=/trunk/; revision=27735

15 years agoGo a little deeper into the Win64 rabbit-hole. Add tools/native-nmake.cmd
Gerald Combs [Sun, 15 Mar 2009 22:40:29 +0000 (22:40 -0000)]
Go a little deeper into the Win64 rabbit-hole. Add tools/native-nmake.cmd
and use it as a wrapper to compile a native version of lemon.
Untested on Win32.

svn path=/trunk/; revision=27734

15 years agoAdjusted my name to use only ASCII characters.
Stig Bjørlykke [Sun, 15 Mar 2009 21:13:27 +0000 (21:13 -0000)]
Adjusted my name to use only ASCII characters.

svn path=/trunk/; revision=27733

15 years agoTreat any usage of functions in the 'deprecated' group an an Error.
Bill Meier [Sun, 15 Mar 2009 20:50:33 +0000 (20:50 -0000)]
Treat any usage of functions in the 'deprecated' group an an Error.
There's no longer any Wireshark usage of these functions.

svn path=/trunk/; revision=27732

15 years agoFix perror, calloc usage so checkAPIs doesn't complain.
Bill Meier [Sun, 15 Mar 2009 20:47:12 +0000 (20:47 -0000)]
Fix perror, calloc usage so checkAPIs doesn't complain.
(The usage is inside an #ifdef REMOVED so it's
 just commented out so checkAPIs.pl doesn't see it).

svn path=/trunk/; revision=27731

15 years agoAdd checkapi for deprecated Gtk APIs for which Wireshark is currently clean.
Bill Meier [Sun, 15 Mar 2009 20:20:54 +0000 (20:20 -0000)]
Add checkapi for deprecated Gtk APIs for which Wireshark is currently clean.
checkapi will Error if any of these APIs are seen.

svn path=/trunk/; revision=27730

15 years agoAdd complete list of deprecated GTK API's (as of GTK 2.14.7).
Bill Meier [Sun, 15 Mar 2009 20:09:25 +0000 (20:09 -0000)]
Add complete list of deprecated GTK API's (as of GTK 2.14.7).
 Group 'deprecated-gtk' lists all deprecated GTK APIs which
  are not currently used in Wireshark.
  -g deprecated-gtk will 'Error';

 Group 'deprecated-gtk-todo' lists the deprecated GTK APIs
  which are still used in Wireshark (ie: not yet fixed).
  -g deprecated-gtk-todo will 'Warn'.

Also: two new options added:
 -M: -g output is one line per function per file;
 -s summary-group: gives a count of the usage of each function in that group
    [currently: any group used in -s must also be specified with -g option].

svn path=/trunk/; revision=27729

15 years agoFrom Jakub Zawadzki:
Stig Bjørlykke [Sun, 15 Mar 2009 18:08:46 +0000 (18:08 -0000)]
From Jakub Zawadzki:
More remove checking for NULL before g_free().

svn path=/trunk/; revision=27728

15 years agoAs suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need check against it.
Bill Meier [Sun, 15 Mar 2009 15:40:55 +0000 (15:40 -0000)]
As suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need check against it.
Also (from me): Clean up spacing

svn path=/trunk/; revision=27727

15 years agoAs suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need check against it
Bill Meier [Sun, 15 Mar 2009 15:28:00 +0000 (15:28 -0000)]
As suggested by Jakub Zawadzki: g_free() is NULL safe, so we don't need check against it
(This change is to the currently unused asn1/kerberos/packet-kerberos-template.c).

svn path=/trunk/; revision=27726

15 years ago[Automatic manuf update for 2009-03-15]
Gerald Combs [Sun, 15 Mar 2009 15:03:44 +0000 (15:03 -0000)]
[Automatic manuf update for 2009-03-15]

svn path=/trunk/; revision=27724