Commit Graph

20323 Commits

Author SHA1 Message Date
Ulf Lamping 90a418243c Python V2.5 is the latest stable version. Add a comment to config.nmake (but keep the 2.4 alive for now) and update version strings in the devel guide.
If the buildbot will be updated, we could also activate the new version in config.nmake.

svn path=/trunk/; revision=20750
2007-02-08 18:25:45 +00:00
Luis Ontanon 7432291121 From: Kriang Lerdsuwanakij
In the attached patch, the K12 wiretap now saves the content of record
after captured packet data. The K12 dissector then could extract them and provide
useful information to properly dissect FP frames (user plane of UTRAN Iub
interface).



svn path=/trunk/; revision=20749
2007-02-08 17:35:03 +00:00
Graeme Lunt 53f97b16aa This patch adds some expert info in DMP when:
- Checksum failure
- Decoding of SIC failure
- Negative ACK response
- Unsupported DMP version
- Error uncompressing content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00358.html


svn path=/trunk/; revision=20748
2007-02-08 17:17:36 +00:00
Graeme Lunt 835fd8749e This patch adds some expert info in P_Mul when:
- Checksum failure
- Missing sequence numbers

http://www.wireshark.org/lists/wireshark-dev/200702/msg00357.html


svn path=/trunk/; revision=20747
2007-02-08 17:15:45 +00:00
Graeme Lunt 4a6b87d35e This patch adds some expert info in CDT when:
- Unable to get compressed content
- Unable to uncompress content

http://www.wireshark.org/lists/wireshark-dev/200702/msg00356.html


svn path=/trunk/; revision=20746
2007-02-08 17:12:38 +00:00
Graeme Lunt 06e7801472 This patch adds support for decoding BER-encoded files as "X.411 Message".
http://www.wireshark.org/lists/wireshark-dev/200702/msg00355.html


svn path=/trunk/; revision=20745
2007-02-08 17:09:15 +00:00
Jörg Mayer 5862f39a81 Update from samba tree revision 20292 to 21237
============================ Samba log start ============
------------------------------------------------------------------------
r20298 | jelmer | 2006-12-21 02:51:35 +0100 (Thu, 21 Dec 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/build/smb_build/makefile.pm
   M /branches/SAMBA_4_0/source/build/smb_build/output.pm
   M /branches/SAMBA_4_0/source/include/includes.h
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm

Fix pidl tests (missing symlink..).

------------------------------------------------------------------------
r20299 | jelmer | 2006-12-21 03:48:46 +0100 (Thu, 21 Dec 2006) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_fullptr.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_string.pl

Disable two new tests that are apparently broken.

------------------------------------------------------------------------
r20358 | metze | 2006-12-27 16:36:50 +0100 (Wed, 27 Dec 2006) | 6 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/scripting/ejs/ejsrpc.c
   M /branches/SAMBA_4_0/source/scripting/ejs/ejsrpc.h

- fix ejs generated code for ipv4address
- (not Parse::Pidl::Typelist::scalar_is_reference($e->{TYPE}))
  is much more generic than ($e->{TYPE} ne "string")
  and handles ipv4address and other special types...

metze
------------------------------------------------------------------------
r20511 | jelmer | 2007-01-03 16:34:01 +0100 (Wed, 03 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Compat.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/Conformance.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl.pm

Combine warnings/errors/fatal functions and move them to Parse::Pidl.

------------------------------------------------------------------------
r20543 | jelmer | 2007-01-05 13:56:15 +0100 (Fri, 05 Jan 2007) | 5 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   A /branches/SAMBA_4_0/source/pidl/tests/util.pl

Merge some pidl bug fixes:
 * C expressions that just started with a constant were erroneously flagged 
   as being a constant.
 * 1-length variable names in expressions were broken.

------------------------------------------------------------------------
r20545 | jelmer | 2007-01-05 15:25:21 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl

Fix is_constant().

------------------------------------------------------------------------
r20547 | jelmer | 2007-01-05 15:55:26 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl.pm
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   A /branches/SAMBA_4_0/source/pidl/tests/ndr_compat.pl
   A /branches/SAMBA_4_0/source/pidl/tests/test_util.pl

Add tests for expected errors/warnings.

------------------------------------------------------------------------
r20548 | jelmer | 2007-01-05 16:03:21 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl.pm
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_align.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_alloc.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_array.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_fullptr.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_refptr.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_represent.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_simple.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_string.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl
   M /branches/SAMBA_4_0/source/pidl/tests/test_util.pl

Remove unnecessary "use lib", fix warnings.

------------------------------------------------------------------------
r20550 | jelmer | 2007-01-05 16:20:23 +0100 (Fri, 05 Jan 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/idl.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm
   M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl

Use standard error mechanism in parser. 
Make sure errors are reported correctly.

------------------------------------------------------------------------
r20556 | jelmer | 2007-01-05 18:18:22 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl

Add more tests to make sure nothing breaks when I replace the ParseExpr code.

------------------------------------------------------------------------
r20561 | jelmer | 2007-01-05 21:12:21 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   A /branches/SAMBA_4_0/source/pidl/expr.yp
   A /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Expr.pm

Add parser for subexpressions used in IDL attributes.

------------------------------------------------------------------------
r20562 | jelmer | 2007-01-05 21:13:48 +0100 (Fri, 05 Jan 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/main.mk
   M /branches/SAMBA_4_0/source/pidl/Makefile.PL
   A /branches/SAMBA_4_0/source/pidl/lib/Parse/Yapp
   A /branches/SAMBA_4_0/source/pidl/lib/Parse/Yapp/Driver.pm

Start building expr parser. Add separate copy of Yapp::Driver 
rather than including it in each individual parser.

------------------------------------------------------------------------
r20563 | jelmer | 2007-01-05 21:18:33 +0100 (Fri, 05 Jan 2007) | 5 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl

Start using the new parser in ParseExpr(). It's now trivial to use this 
to check for NULL pointers when pointers are being dereferenced (#4218).

There are exactly 500 tests for pidl now :-)

------------------------------------------------------------------------
r20564 | jelmer | 2007-01-05 21:23:48 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Expr.pm

Regenerate.

------------------------------------------------------------------------
r20567 | jelmer | 2007-01-05 21:52:12 +0100 (Fri, 05 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/expr.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Expr.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl

Print proper errors with filename and line numbers in ParseExpr()

------------------------------------------------------------------------
r20571 | jelmer | 2007-01-05 22:26:28 +0100 (Fri, 05 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl

fix '' case
------------------------------------------------------------------------
r20573 | metze | 2007-01-05 22:36:57 +0100 (Fri, 05 Jan 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm

fix handling of pointers handling to elements with the charset property

metze
------------------------------------------------------------------------
r20625 | jelmer | 2007-01-09 07:02:41 +0100 (Tue, 09 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/expr.yp
   M /branches/SAMBA_4_0/source/pidl/idl.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Expr.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl

Fix couple of warnings.

------------------------------------------------------------------------
r20631 | jelmer | 2007-01-09 16:50:36 +0100 (Tue, 09 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   A /branches/SAMBA_4_0/source/pidl/tests/ndr.pl

Add some tests for the ndr parser.

------------------------------------------------------------------------
r20633 | jelmer | 2007-01-09 16:54:36 +0100 (Tue, 09 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl

Add another test, fix warnings.

------------------------------------------------------------------------
r20637 | jelmer | 2007-01-10 00:41:25 +0100 (Wed, 10 Jan 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   A /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl

Don't check for NULL pointers when the pointer is guaranteed to not be NULL 
(if it is a ref pointer).

------------------------------------------------------------------------
r20638 | jelmer | 2007-01-10 01:37:30 +0100 (Wed, 10 Jan 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl

Check for NULL pointers (where possible) in print functions. Fixes #4218, 
but without reintroducing coverity warnings. 

------------------------------------------------------------------------
r20675 | jelmer | 2007-01-11 03:10:01 +0100 (Thu, 11 Jan 2007) | 2 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/MANIFEST
   M /branches/SAMBA_4_0/source/pidl/Makefile.PL

Fix installation.

------------------------------------------------------------------------
r20688 | jelmer | 2007-01-11 23:47:29 +0100 (Thu, 11 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/pidl

Use argv[0] equivalent of perl.
------------------------------------------------------------------------
r20746 | jelmer | 2007-01-14 02:33:16 +0100 (Sun, 14 Jan 2007) | 3 lines
Changed paths:
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Expr.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm
   D /branches/SAMBA_4_0/source/script/tests/test_smbclient.sh
   M /branches/SAMBA_4_0/source/script/tests/tests_all.sh
   A /branches/SAMBA_4_0/testprogs/blackbox
   A /branches/SAMBA_4_0/testprogs/blackbox/test_smbclient.sh (from /branches/SAMBA_4_0/source/script/tests/test_smbclient.sh:20745)

Don't report each individual test in test_smbclient as a single testsuite. 
Create separate directory for blackbox tests.

------------------------------------------------------------------------
r20830 | jelmer | 2007-01-16 15:44:23 +0100 (Tue, 16 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/librpc/idl/mgmt.idl
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
   M /branches/SAMBA_4_0/source/rpc_server/config.mk
   M /branches/SAMBA_4_0/source/rpc_server/dcerpc_server.c
   A /branches/SAMBA_4_0/source/rpc_server/dcesrv_mgmt.c (from /branches/SAMBA_4_0/source/rpc_server/mgmt/dcesrv_mgmt.c:20829)
   D /branches/SAMBA_4_0/source/rpc_server/mgmt
   M /branches/SAMBA_4_0/source/script/tests/test_rpc.sh
   M /branches/SAMBA_4_0/source/torture/rpc/mgmt.c

merge mgmt work
------------------------------------------------------------------------
r20834 | jelmer | 2007-01-16 16:51:37 +0100 (Tue, 16 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm

No longer generate extra pointers for top-level [out] unique pointers.
------------------------------------------------------------------------
r20836 | jelmer | 2007-01-16 18:45:33 +0100 (Tue, 16 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm

Use real type name, to fix compilation with -WC++-compat
------------------------------------------------------------------------
r20850 | jelmer | 2007-01-17 15:49:36 +0100 (Wed, 17 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Template.pm
   M /branches/SAMBA_4_0/source/rpc_server/dcesrv_mgmt.c
   M /branches/SAMBA_4_0/source/rpc_server/drsuapi/dcesrv_drsuapi.c
   M /branches/SAMBA_4_0/source/rpc_server/echo/rpc_echo.c
   M /branches/SAMBA_4_0/source/rpc_server/epmapper/rpc_epmapper.c
   M /branches/SAMBA_4_0/source/rpc_server/lsa/dcesrv_lsa.c
   M /branches/SAMBA_4_0/source/rpc_server/netlogon/dcerpc_netlogon.c
   M /branches/SAMBA_4_0/source/rpc_server/samr/dcesrv_samr.c
   M /branches/SAMBA_4_0/source/rpc_server/samr/samr_password.c
   M /branches/SAMBA_4_0/source/rpc_server/spoolss/dcesrv_spoolss.c
   M /branches/SAMBA_4_0/source/rpc_server/srvsvc/dcesrv_srvsvc.c
   M /branches/SAMBA_4_0/source/rpc_server/unixinfo/dcesrv_unixinfo.c
   M /branches/SAMBA_4_0/source/rpc_server/winreg/rpc_winreg.c
   M /branches/SAMBA_4_0/source/rpc_server/wkssvc/dcesrv_wkssvc.c

Prefix all server calls with dcesrv_
------------------------------------------------------------------------
r20942 | jelmer | 2007-01-22 01:04:59 +0100 (Mon, 22 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/build/m4/check_cc.m4
   M /branches/SAMBA_4_0/source/build/m4/check_perl.m4
   M /branches/SAMBA_4_0/source/build/smb_build/makefile.pm
   M /branches/SAMBA_4_0/source/main.mk
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   M /branches/SAMBA_4_0/source/pidl/pidl

Simplify handling of systems that don't support negative enum values by using an ifdef rather than a pidl argument.
------------------------------------------------------------------------
r20967 | jelmer | 2007-01-23 11:08:08 +0100 (Tue, 23 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/tests/Util.pm
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_align.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_refptr.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl
   M /branches/SAMBA_4_0/source/script/tests/tests_all.sh
   M /branches/SAMBA_4_0/source/torture/config.mk

Allow pidl tests to work with gcov
------------------------------------------------------------------------
r21075 | jelmer | 2007-01-31 12:54:01 +0100 (Wed, 31 Jan 2007) | 1 line
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ServerNDR.pm

Generate parameters in structs for the server side Samba 3 code. The current code in Samba 3 is already generated using this pidl patch.
------------------------------------------------------------------------
r21222 | jelmer | 2007-02-07 20:03:19 +0100 (Wed, 07 Feb 2007) | 8 lines
Changed paths:
   M /branches/SAMBA_4_0
   M /branches/SAMBA_4_0/source/pidl/TODO
   M /branches/SAMBA_4_0/source/pidl/expr.yp
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Expr.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
   M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Util.pm
   M /branches/SAMBA_4_0/source/pidl/pidl
   D /branches/SAMBA_4_0/source/pidl/ref_notes.txt
   A /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl
   M /branches/SAMBA_4_0/source/pidl/tests/ndr_represent.pl
   M /branches/SAMBA_4_0/source/pidl/tests/util.pl
   M /branches/SAMBA_4_0/source/torture/smbtorture.c
   M /branches/SAMBA_4_0/source/torture/torture.c

Merge a couple of pidl fixes:
	         
* Pidl will now warn when trying to use pointers as integers in expressions.
* "subcontext()" is now marked as deprecated. The alternatives, 
  transmit_as() / represent_as() should be available soon.
* More tests.
* Remove some unused code in smbtorture.

------------------------------------------------------------------------
------------------------------------------------------------------------
============================ Samba log end ==============

svn path=/trunk/; revision=20744
2007-02-08 13:54:27 +00:00
Guy Harris 49808356a3 The length of the UDP packet, according to IP, is the reported length,
not the data length (the packet might've been cut short by a snapshot
length).

Fetch the reported length with an accessor.

svn path=/trunk/; revision=20743
2007-02-08 10:26:15 +00:00
Luis Ontanon 4e55e354bb Have the windows buildot compiling again.
svn path=/trunk/; revision=20742
2007-02-08 10:15:04 +00:00
Ulf Lamping a70a78e0ec some further work on the "welcome page", still far from being complete
svn path=/trunk/; revision=20741
2007-02-08 01:05:43 +00:00
Luis Ontanon 9422dfd084 UAT: filed definitions for proto (a dissector hanlde obtained by name)
UATify user-DLTs


svn path=/trunk/; revision=20740
2007-02-07 20:45:14 +00:00
Luis Ontanon 8144684c11 MSVC does not like mixed declarations and code
* I'm checking in some still unuused work in progress

svn path=/trunk/; revision=20739
2007-02-07 18:56:07 +00:00
Luis Ontanon b08d8470e7 Oddly enough MSVC cannot compile this one.
svn path=/trunk/; revision=20738
2007-02-07 18:51:44 +00:00
Luis Ontanon 822594e0ce do not use an uninitialized rp->line to generate destructor code for rules without code.
svn path=/trunk/; revision=20737
2007-02-07 16:08:19 +00:00
Luis Ontanon 2006fac500 * Add a category param to the uat.
* UATify SNMP Users


svn path=/trunk/; revision=20736
2007-02-07 14:54:35 +00:00
Luis Ontanon 5ec87e6eef no gtk_window_set_resizable in GTK1
svn path=/trunk/; revision=20735
2007-02-07 13:55:34 +00:00
Luis Ontanon 92fd73681d From: Gisle Vanem
The file epan/dissectors/packet-k12.c uses the function
strcasestr() which is not available on e.g. Windows. So I cooked
up a patch to epan/strutil.c to add epan_strcasestr() (is there a more
suited place for such a function?)





svn path=/trunk/; revision=20734
2007-02-07 13:45:28 +00:00
Luis Ontanon bc2ca61083 Add ENUM and HEXBYTES modes
svn path=/trunk/; revision=20733
2007-02-07 03:39:40 +00:00
Ulf Lamping bc09ad6f17 don't free ofn before the last place used
svn path=/trunk/; revision=20732
2007-02-07 02:50:33 +00:00
Ulf Lamping c7936a1c37 fix a comment typo
svn path=/trunk/; revision=20731
2007-02-07 02:45:53 +00:00
Jeff Morriss 0a9304dc6f Fix for bug 1350: Add return value for
dissect_ansi_map_sms_originationrestrictions()

Also close a couple of comments, remove one /* embedded in a comment,
remove a couple unused variables (still lots of unused params in there),
and fix indentation of some proto_item and proto_tree variable declarations.

svn path=/trunk/; revision=20730
2007-02-07 02:41:10 +00:00
Ronnie Sahlberg 8f3630cfb7 fixup LOCATE10 and LOCATE16
replace a few proto_tree_add_text() with proper dissection of the partition byte


svn path=/trunk/; revision=20729
2007-02-06 21:19:17 +00:00
Anders Broman 951cb6ee63 Fix a copy error.
svn path=/trunk/; revision=20728
2007-02-06 07:59:24 +00:00
Jeff Morriss 280521cead rdps is built to run on the compile server, not on the target machine: use CC and CFLAGS instead of CC_FOR_BUILD and CFLAGS_FOR_BUILD, respectively
svn path=/trunk/; revision=20727
2007-02-06 06:24:34 +00:00
Jeff Morriss 0c17bfd3a8 From Eric Hall to fix bug 1289:
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1289

Rename 'svnversion' to 'wireshark_svnversion' to resolve a symbol conflict with
GTK 2.10.6 (hmm, shouldn't GTK not be exporting that symbol or at least naming
it so as to prevent such collisions? Well, so should we, so...)

From Andreas Fink: change #ifdef for size_t in airdcap_interop.h to fix
compile on MacOS X.


svn path=/trunk/; revision=20726
2007-02-06 02:27:59 +00:00
Gerald Combs 41c66690fc From Clay Jones:
This patch adds decodes for 802.11n information elements.  Since 802.11n
isn't a formal standard yet they are not using the final packet
structures or ie type numbers.  But there are already 802.11n pre
release devices out there and these decodes do seem to correctly decode
the IEs that they use.

svn path=/trunk/; revision=20725
2007-02-06 01:59:50 +00:00
Ulf Lamping 8559a25d23 - add dissection for "I&M0" block
- enhance dissection or ErrorDecode2 (ErrorCode1 rta_err_cls_protocol specific) - a lot more of ErrorCode1/ErrorCode2 combinations still to go ...

svn path=/trunk/; revision=20724
2007-02-06 01:37:32 +00:00
Ulf Lamping 0f7e40945e dissector changes:
- new: ICBALogicalDevice2::PBAddressInfo
- enhanced: GROUPERRORDEF

simplify ett registration
add a callback for SAFEARRAY data dissection

svn path=/trunk/; revision=20723
2007-02-06 01:33:39 +00:00
Jaap Keuter 352f0eeb68 From Andrej Mikus:
Wireshark complains about bogus udp length when processing last fragment of UDP data.
It compares length field from UDP header with payload size of last fragment.
Attached is my attempt to fix this by referring to tvp->length instead of pinfo->iplen - pinfo->iphdrlen.

Also set some items attribute to generated.

svn path=/trunk/; revision=20722
2007-02-05 21:42:41 +00:00
Jörg Mayer 6d13741e14 Don't read and write to a file at the same time
svn path=/trunk/; revision=20721
2007-02-05 20:01:31 +00:00
Luis Ontanon 7f44084042 From Boris Misenov
sminmpec_values array is marked as just "export" instead of "WS_VAR_IMPORT" in
epan/sminmpec.h. This prevents its using in Windows builds of plugins directly.


svn path=/trunk/; revision=20720
2007-02-05 16:26:48 +00:00
Ronnie Sahlberg a99fb4ebb7 add the remaining TAPE ALERT log flags from ssc3r01c
svn path=/trunk/; revision=20719
2007-02-05 11:31:21 +00:00
Ronnie Sahlberg 059f550b16 add some infrastructure to enable us to dissect the content of LOG SENSE pages and parameters
dissect the READ WARNING flag in the TAPE-ALERT log page as an example


svn path=/trunk/; revision=20718
2007-02-05 09:39:36 +00:00
Luis Ontanon 2b22bcb1a3 * Add a help facility for UATs
* export help_topic_html()


svn path=/trunk/; revision=20717
2007-02-05 05:06:21 +00:00
Luis Ontanon b7a16926d7 Add a confirm dialog when the user closes the window with unsaved data.
svn path=/trunk/; revision=20716
2007-02-05 04:22:06 +00:00
Bill Meier ec8f13b55d Additoinal diagnostic info in output logs
svn path=/trunk/; revision=20715
2007-02-05 00:57:59 +00:00
Stephen Fisher c12d1c7c5b From Sebastien Tandel:
Steve has modified a while ago hex_str_to_bytes to handle Cisco MAC
format (xxxx.xxxx.xxxx). It did not test the nullity of the third and
fourth byte (*r, *s) which is however done for the second byte. The test
on the second byte is done as well in the following conditional tests.
If this test is not mandatory thanks to the return value of isxdigit (at
least on GNU/Linux and guess it should be the same on any platform), it
would be better to follow the same logic in all tests cases for the
comprehension of everyone (... which /could/ even, with luck, be turned
in a faster code).
Here is a light patch to follow the logic of the conditional tests done
in the function.


svn path=/trunk/; revision=20714
2007-02-04 19:23:10 +00:00
Stephen Fisher 6c56afbed4 From Sebastien Tandel:
Execute permission should be changed [removed] on files 
packet-fmp.[c,h] and packet-fmp_notify.[c,h].


svn path=/trunk/; revision=20713
2007-02-04 19:16:24 +00:00
Luis Ontanon 30e64813e4 add uat_swap() to libwireshark.def
svn path=/trunk/; revision=20712
2007-02-04 13:47:58 +00:00
Graeme Lunt 3bdc71b56b Augment get_gui_runtime_info() with additional information about the U3 device Wireshark is being run from.
svn path=/trunk/; revision=20711
2007-02-04 12:39:07 +00:00
Graeme Lunt fd3f0f3196 Remove version from Launchpad name and include a default dfilter_macros to remove start-up warning.
svn path=/trunk/; revision=20710
2007-02-04 12:35:31 +00:00
Graeme Lunt 74fa87ddb2 Small fix for incorrect column use when dissecting a BER file.
svn path=/trunk/; revision=20709
2007-02-04 12:00:25 +00:00
Luis Ontanon fbc8912b87 Move (Up/Down) & Save buttons
svn path=/trunk/; revision=20708
2007-02-04 05:19:02 +00:00
Luis Ontanon 96f517647a UATify k12 configuration
svn path=/trunk/; revision=20707
2007-02-04 02:30:59 +00:00
Luis Ontanon 8bfa2bace4 the quoted_string regexp in uat_load() fails badly on "...\\", workarround in uat_save() using \x5c and \x22 (hex for \ and ")
svn path=/trunk/; revision=20706
2007-02-04 02:29:06 +00:00
Luis Ontanon a84df38651 from:
Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> 	

I discovered that Wireshark K12xx detects the type of input (E1 timeslot or ATM)
based on the extra information. My previous patch to enable Wireshark to open
K12xx files with no extra information (extra_len equals 0 in SRCDEST record)
failed to give later dissectors the input type.

Attached is the patch to correct this for ATM PVC. It adds VPI/VCI/CID information
for display in the dissected tree (in k12_open function). k12_read and k12_seek_read
are also made more robust. These are reverse engineered based on hexeditor
and constants found in tektronix configuration file. Please apply the patch.


svn path=/trunk/; revision=20705
2007-02-04 02:13:12 +00:00
Ulf Lamping 276d768e5e quote HHC_DIR here too
svn path=/trunk/; revision=20704
2007-02-04 01:33:48 +00:00
Ronnie Sahlberg c1ccab43aa update the LOG SELECT dissector slightly and harmonize the hf fields so both LOG SELECT and LOG SENSE use the same variables
svn path=/trunk/; revision=20703
2007-02-03 22:03:39 +00:00
Ulf Lamping 77dd618f96 some minor cleanup
svn path=/trunk/; revision=20702
2007-02-03 20:57:24 +00:00
Ulf Lamping 591611ff4e as discussed on the list:
- GTK 2.10 is mainline now
- WINPCAP_VERSION is just confusing without benefit, remove it

svn path=/trunk/; revision=20701
2007-02-03 20:40:11 +00:00