wireshark/tools/pidl/lib/Parse/Pidl/Wireshark/NDR.pm

1408 lines
46 KiB
Perl
Raw Normal View History

##################################################
# Wireshark NDR parser generator for IDL structures
# Copyright tridge@samba.org 2000-2003
# Copyright tpot@samba.org 2001,2005
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
# Copyright jelmer@samba.org 2004-2007
# Portions based on idl2eth.c by Ronnie Sahlberg
# released under the GNU GPL
=pod
=head1 NAME
Parse::Pidl::Wireshark::NDR - Parser generator for Wireshark
=cut
package Parse::Pidl::Wireshark::NDR;
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
use Exporter;
@ISA = qw(Exporter);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
@EXPORT_OK = qw(field2name %res PrintIdl StripPrefixes RegisterInterfaceHandoff register_hf_field CheckUsed ProcessImport ProcessInclude find_type DumpEttList DumpEttDeclaration DumpHfList DumpHfDeclaration DumpFunctionTable register_type register_ett);
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
use strict;
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
use Parse::Pidl qw(error warning);
use Parse::Pidl::Typelist qw(getType);
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
use Parse::Pidl::Util qw(has_property property_matches make_str);
use Parse::Pidl::NDR qw(ContainsString GetNextLevel);
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
use Parse::Pidl::Dump qw(DumpType DumpFunction);
use Parse::Pidl::Wireshark::Conformance qw(ReadConformance);
use File::Basename;
use vars qw($VERSION);
$VERSION = '0.01';
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
my %return_types = ();
my %dissector_used = ();
my %ptrtype_mappings = (
"unique" => "NDR_POINTER_UNIQUE",
"ref" => "NDR_POINTER_REF",
"ptr" => "NDR_POINTER_PTR"
);
Update from samba tree revision 21471 to 21535 ============================ Samba log start ============ ------------------------------------------------------------------------ r21484 | jelmer | 2007-02-21 11:31:14 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.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/tests/samba-ndr.pl Fix Needed* for nested datastructures. ------------------------------------------------------------------------ r21486 | jelmer | 2007-02-21 11:55:03 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm Remove spurious semicolons. ------------------------------------------------------------------------ r21487 | jelmer | 2007-02-21 12:32:48 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/librpc/idl/echo.idl 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 Fix warning when using anonymous types, initial work on nested type support in ejs. ------------------------------------------------------------------------ r21490 | jelmer | 2007-02-21 13:35:21 +0100 (Wed, 21 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm A /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl Add some tests for the EJS code More work on supporting nested types in EJS. ------------------------------------------------------------------------ r21492 | jelmer | 2007-02-21 15:35:25 +0100 (Wed, 21 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm Finish work on nested type support in EJS. ------------------------------------------------------------------------ r21493 | jelmer | 2007-02-21 21:59:01 +0100 (Wed, 21 Feb 2007) | 15 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Patch from Ronnie Sahlberg. From his email: This patch changes the function name and signature that pidl generate a call for when dissecting a policy handle to a new, more PIDL-friendly function. It also stores the procedure name in a new pinfo-> field so that helpers that want to know the procedure name can finbd out easily. The new PIDL helper function for policy handles use this new field and will show OpenHKU(<...>) opened in frame X closed in frame Y for the policy handle. ------------------------------------------------------------------------ r21531 | jelmer | 2007-02-25 10:35:32 +0100 (Sun, 25 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Use pidl-specific utility functions. Patch from Ronnie Sahlberg ------------------------------------------------------------------------ r21532 | jelmer | 2007-02-25 10:55:57 +0100 (Sun, 25 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add tests for StripPrefixes utility function. ------------------------------------------------------------------------ r21534 | jelmer | 2007-02-26 02:03:19 +0100 (Mon, 26 Feb 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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some more tests for wireshark. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20933
2007-02-26 08:57:03 +00:00
sub StripPrefixes($$)
{
Update from samba tree revision 21471 to 21535 ============================ Samba log start ============ ------------------------------------------------------------------------ r21484 | jelmer | 2007-02-21 11:31:14 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.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/tests/samba-ndr.pl Fix Needed* for nested datastructures. ------------------------------------------------------------------------ r21486 | jelmer | 2007-02-21 11:55:03 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm Remove spurious semicolons. ------------------------------------------------------------------------ r21487 | jelmer | 2007-02-21 12:32:48 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/librpc/idl/echo.idl 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 Fix warning when using anonymous types, initial work on nested type support in ejs. ------------------------------------------------------------------------ r21490 | jelmer | 2007-02-21 13:35:21 +0100 (Wed, 21 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm A /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl Add some tests for the EJS code More work on supporting nested types in EJS. ------------------------------------------------------------------------ r21492 | jelmer | 2007-02-21 15:35:25 +0100 (Wed, 21 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm Finish work on nested type support in EJS. ------------------------------------------------------------------------ r21493 | jelmer | 2007-02-21 21:59:01 +0100 (Wed, 21 Feb 2007) | 15 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Patch from Ronnie Sahlberg. From his email: This patch changes the function name and signature that pidl generate a call for when dissecting a policy handle to a new, more PIDL-friendly function. It also stores the procedure name in a new pinfo-> field so that helpers that want to know the procedure name can finbd out easily. The new PIDL helper function for policy handles use this new field and will show OpenHKU(<...>) opened in frame X closed in frame Y for the policy handle. ------------------------------------------------------------------------ r21531 | jelmer | 2007-02-25 10:35:32 +0100 (Sun, 25 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Use pidl-specific utility functions. Patch from Ronnie Sahlberg ------------------------------------------------------------------------ r21532 | jelmer | 2007-02-25 10:55:57 +0100 (Sun, 25 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add tests for StripPrefixes utility function. ------------------------------------------------------------------------ r21534 | jelmer | 2007-02-26 02:03:19 +0100 (Mon, 26 Feb 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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some more tests for wireshark. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20933
2007-02-26 08:57:03 +00:00
my ($s, $prefixes) = @_;
Update from samba tree revision 21471 to 21535 ============================ Samba log start ============ ------------------------------------------------------------------------ r21484 | jelmer | 2007-02-21 11:31:14 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.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/tests/samba-ndr.pl Fix Needed* for nested datastructures. ------------------------------------------------------------------------ r21486 | jelmer | 2007-02-21 11:55:03 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm Remove spurious semicolons. ------------------------------------------------------------------------ r21487 | jelmer | 2007-02-21 12:32:48 +0100 (Wed, 21 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/librpc/idl/echo.idl 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 Fix warning when using anonymous types, initial work on nested type support in ejs. ------------------------------------------------------------------------ r21490 | jelmer | 2007-02-21 13:35:21 +0100 (Wed, 21 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm A /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl Add some tests for the EJS code More work on supporting nested types in EJS. ------------------------------------------------------------------------ r21492 | jelmer | 2007-02-21 15:35:25 +0100 (Wed, 21 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm Finish work on nested type support in EJS. ------------------------------------------------------------------------ r21493 | jelmer | 2007-02-21 21:59:01 +0100 (Wed, 21 Feb 2007) | 15 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Patch from Ronnie Sahlberg. From his email: This patch changes the function name and signature that pidl generate a call for when dissecting a policy handle to a new, more PIDL-friendly function. It also stores the procedure name in a new pinfo-> field so that helpers that want to know the procedure name can finbd out easily. The new PIDL helper function for policy handles use this new field and will show OpenHKU(<...>) opened in frame X closed in frame Y for the policy handle. ------------------------------------------------------------------------ r21531 | jelmer | 2007-02-25 10:35:32 +0100 (Sun, 25 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Use pidl-specific utility functions. Patch from Ronnie Sahlberg ------------------------------------------------------------------------ r21532 | jelmer | 2007-02-25 10:55:57 +0100 (Sun, 25 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add tests for StripPrefixes utility function. ------------------------------------------------------------------------ r21534 | jelmer | 2007-02-26 02:03:19 +0100 (Mon, 26 Feb 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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some more tests for wireshark. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20933
2007-02-26 08:57:03 +00:00
foreach (@$prefixes) {
$s =~ s/^$_\_//g;
}
return $s;
}
# Convert a IDL structure field name (e.g access_mask) to a prettier
# string like 'Access Mask'.
sub field2name($)
{
my($field) = shift;
$field =~ s/^(_)*//g; # Remove any starting underscores
$field =~ s/_/ /g; # Replace underscores with spaces
$field =~ s/(\w+)/\u$1/g; # Capitalise each word
return $field;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub new($)
{
my ($class) = @_;
my $self = {res => {hdr => "", def => "", code => ""}, tabs => "", cur_fn => undef,
hf_used => {}, ett => [], conformance => undef
};
bless($self, $class);
}
sub pidl_fn_start($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $fn) = @_;
$self->{cur_fn} = $fn;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub pidl_fn_end($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $fn) = @_;
die("Inconsistent state: $fn != $self->{cur_fn}") if ($fn ne $self->{cur_fn});
$self->{cur_fn} = undef;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub pidl_code($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $d) = @_;
return if (defined($self->{cur_fn}) and defined($self->{conformance}->{manual}->{$self->{cur_fn}}));
if ($d) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{code} .= $self->{tabs};
$self->{res}->{code} .= $d;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{code} .="\n";
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub pidl_hdr($$) { my ($self,$x) = @_; $self->{res}->{hdr} .= "$x\n"; }
sub pidl_def($$) { my ($self,$x) = @_; $self->{res}->{def} .= "$x\n"; }
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub indent($)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self) = @_;
$self->{tabs} .= "\t";
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub deindent($)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self) = @_;
$self->{tabs} = substr($self->{tabs}, 0, -1);
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub PrintIdl($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $idl) = @_;
foreach (split /\n/, $idl) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("/* IDL: $_ */");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("");
}
#####################################################################
# parse the interface definitions
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Interface($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my($self, $interface) = @_;
$self->Const($_,$interface->{NAME}) foreach (@{$interface->{CONSTS}});
$self->Type($_, $_->{NAME}, $interface->{NAME}) foreach (@{$interface->{TYPES}});
$self->Function($_,$interface->{NAME}) foreach (@{$interface->{FUNCTIONS}});
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Enum($$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $e,$name,$ifname) = @_;
my $valsstring = "$ifname\_$name\_vals";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $dissectorname = "$ifname\_dissect\_enum\_".StripPrefixes($name, $self->{conformance}->{strip_prefixes});
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
return if (defined($self->{conformance}->{noemit}->{StripPrefixes($name, $self->{conformance}->{strip_prefixes})}));
foreach (@{$e->{ELEMENTS}}) {
if (/([^=]*)=(.*)/) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("#define $1 ($2)");
}
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("extern const value_string $valsstring\[];");
$self->pidl_hdr("int $dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, g$e->{BASE_TYPE} *param _U_);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_def("const value_string ".$valsstring."[] = {");
foreach (@{$e->{ELEMENTS}}) {
next unless (/([^=]*)=(.*)/);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_def("\t{ $1, \"$1\" },");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_def("{ 0, NULL }");
$self->pidl_def("};");
$self->pidl_fn_start($dissectorname);
$self->pidl_code("int");
$self->pidl_code("$dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, g$e->{BASE_TYPE} *param _U_)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
$self->pidl_code("g$e->{BASE_TYPE} parameter=0;");
$self->pidl_code("if (param) {");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->indent;
$self->pidl_code("parameter = *param;");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->deindent;
$self->pidl_code("}");
$self->pidl_code("offset = dissect_ndr_$e->{BASE_TYPE}(tvb, offset, pinfo, tree, di, drep, hf_index, &parameter);");
$self->pidl_code("if (param) {");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->indent;
$self->pidl_code("*param = parameter;");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->deindent;
$self->pidl_code("}");
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end($dissectorname);
my $enum_size = $e->{BASE_TYPE};
$enum_size =~ s/uint//g;
$self->register_type($name, "offset = $dissectorname(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);", "FT_UINT$enum_size", "BASE_DEC", "0", "VALS($valsstring)", $enum_size / 8);
}
sub Pipe($$$$)
{
my ($self,$e,$name,$ifname) = @_;
error($e->{ORIGINAL}, "Pipe not yet supported");
return;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Bitmap($$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$e,$name,$ifname) = @_;
my $dissectorname = "$ifname\_dissect\_bitmap\_".StripPrefixes($name, $self->{conformance}->{strip_prefixes});
my $element_count = 0;
my $total_ev = 0;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->register_ett("ett_$ifname\_$name");
$self->pidl_hdr("int $dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_start($dissectorname);
$self->pidl_code("int");
$self->pidl_code("$dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
foreach (@{$e->{ELEMENTS}}) {
next unless (/([^ ]*) (.*)/);
$element_count++;
}
if ($element_count > 0) {
$self->pidl_code("proto_item *item;");
$self->pidl_code("static int * const $ifname\_$name\_fields[] = {");
$self->indent;
foreach (@{$e->{ELEMENTS}}) {
next unless (/([^ ]*) (.*)/);
my ($en,$ev) = ($1,$2);
my $hf_bitname = "hf_$ifname\_$name\_$1";
$ev =~ s/[()\s]//g;
if (hex($ev) != 0) {
$total_ev += hex($ev);
$self->pidl_code("&$hf_bitname,");
}
}
$self->pidl_code("NULL");
$self->deindent;
$self->pidl_code("};");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("g$e->{BASE_TYPE} flags;");
if ($e->{ALIGN} > 1) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("ALIGN_TO_$e->{ALIGN}_BYTES;");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("");
if ($element_count > 0) {
$self->pidl_code("item = proto_tree_add_bitmask_with_flags(parent_tree, tvb, offset, hf_index,");
$self->pidl_code("\t\t\tett_$ifname\_$name, $ifname\_$name\_fields, DREP_ENC_INTEGER(drep), BMT_NO_FALSE);");
$self->pidl_code("");
$self->pidl_code("offset = dissect_ndr_$e->{BASE_TYPE}(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);");
$self->pidl_code("");
$self->pidl_code("if (!flags)");
$self->pidl_code("\tproto_item_append_text(item, \": (No values set)\");\n");
} else {
$self->pidl_code("proto_tree_add_item(parent_tree, hf_index, tvb, offset, $e->{ALIGN}, DREP_ENC_INTEGER(drep));");
$self->pidl_code("");
$self->pidl_code("offset = dissect_ndr_$e->{BASE_TYPE}(tvb, offset, pinfo, parent_tree, di, drep, -1, &flags);");
$self->pidl_code("");
}
foreach (@{$e->{ELEMENTS}}) {
next unless (/([^ ]*) (.*)/);
my ($en,$ev) = ($1,$2);
my $hf_bitname = "hf_$ifname\_$name\_$en";
my $filtername = "$ifname\.$name\.$en";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{hf_used}->{$hf_bitname} = 1;
$ev =~ s/[()\s]//g;
if (hex($ev) != 0) {
$self->register_hf_field($hf_bitname, field2name($en), $filtername, "FT_BOOLEAN", $e->{ALIGN} * 8, "TFS(&$name\_$en\_tfs)", "( $ev )", "");
$self->pidl_def("static const true_false_string $name\_$en\_tfs = {");
if (defined($self->{conformance}->{tfs}->{$hf_bitname})) {
$self->pidl_def(" $self->{conformance}->{tfs}->{$hf_bitname}->{TRUE_STRING},");
$self->pidl_def(" $self->{conformance}->{tfs}->{$hf_bitname}->{FALSE_STRING},");
$self->{conformance}->{tfs}->{$hf_bitname}->{USED} = 1;
} else {
$self->pidl_def(" \"$en is SET\",");
$self->pidl_def(" \"$en is NOT SET\",");
}
$self->pidl_def("};");
}
}
if ($element_count > 0) {
my $total_ev_hex = sprintf("0x%08x", $total_ev);
$self->pidl_code("if (flags & (~$total_ev_hex)) {");
$self->pidl_code("\tflags &= (~$total_ev_hex);");
$self->pidl_code("\tproto_item_append_text(item, \"Unknown bitmap value 0x%x\", flags);");
$self->pidl_code("}\n");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end($dissectorname);
my $size = $e->{BASE_TYPE};
$size =~ s/uint//g;
$self->register_type($name, "offset = $dissectorname(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);", "FT_UINT$size", "BASE_HEX", "0", "NULL", $size/8);
}
sub ElementLevel($$$$$$$$)
{
my ($self,$e,$l,$hf,$myname,$pn,$ifname,$param) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
if (defined($self->{conformance}->{dissectorparams}->{$myname})) {
$param = $self->{conformance}->{dissectorparams}->{$myname}->{PARAM};
}
if ($l->{TYPE} eq "POINTER") {
my $type;
if ($l->{LEVEL} eq "TOP") {
$type = "toplevel";
} elsif ($l->{LEVEL} eq "EMBEDDED") {
$type = "embedded";
}
$self->pidl_code("offset = dissect_ndr_$type\_pointer(tvb, offset, pinfo, tree, di, drep, $myname\_, $ptrtype_mappings{$l->{POINTER_TYPE}}, \"Pointer to ".field2name(StripPrefixes($e->{NAME}, $self->{conformance}->{strip_prefixes})) . " ($e->{TYPE})\",$hf);");
} elsif ($l->{TYPE} eq "ARRAY") {
if ($l->{IS_INLINE}) {
error($e->{ORIGINAL}, "Inline arrays not supported");
} elsif ($l->{IS_FIXED}) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("int i;");
$self->pidl_code("for (i = 0; i < $l->{SIZE_IS}; i++)");
$self->pidl_code("\toffset = $myname\_(tvb, offset, pinfo, tree, di, drep);");
} else {
my $type = "";
$type .= "c" if ($l->{IS_CONFORMANT});
$type .= "v" if ($l->{IS_VARYING});
unless ($l->{IS_ZERO_TERMINATED}) {
$self->pidl_code("offset = dissect_ndr_u" . $type . "array(tvb, offset, pinfo, tree, di, drep, $myname\_);");
} else {
my $nl = GetNextLevel($e,$l);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("char *data;");
$self->pidl_code("");
$self->pidl_code("offset = dissect_ndr_$type" . "string(tvb, offset, pinfo, tree, di, drep, sizeof(g$nl->{DATA_TYPE}), $hf, FALSE, &data);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("proto_item_append_text(tree, \": %s\", data);");
}
}
} elsif ($l->{TYPE} eq "DATA") {
if ($l->{DATA_TYPE} eq "string") {
my $bs = 2; # Byte size defaults to that of UCS2
($bs = 1) if (property_matches($e, "flag", ".*LIBNDR_FLAG_STR_ASCII.*"));
if (property_matches($e, "flag", ".*LIBNDR_FLAG_STR_SIZE4.*") and property_matches($e, "flag", ".*LIBNDR_FLAG_STR_LEN4.*")) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("char *data;\n");
$self->pidl_code("offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, $bs, $hf, FALSE, &data);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("proto_item_append_text(tree, \": %s\", data);");
} elsif (property_matches($e, "flag", ".*LIBNDR_FLAG_STR_SIZE4.*")) {
$self->pidl_code("offset = dissect_ndr_vstring(tvb, offset, pinfo, tree, di, drep, $bs, $hf, FALSE, NULL);");
} elsif (property_matches($e, "flag", ".*STR_NULLTERM.*")) {
if ($bs == 2) {
$self->pidl_code("offset = dissect_null_term_wstring(tvb, offset, pinfo, tree, drep, $hf , 0);")
} else {
$self->pidl_code("offset = dissect_null_term_string(tvb, offset, pinfo, tree, drep, $hf , 0);")
}
} else {
warn("Unable to handle string with flags $e->{PROPERTIES}->{flag}");
}
} elsif ($l->{DATA_TYPE} eq "DATA_BLOB") {
my $remain = 0;
$remain = 1 if (property_matches($e->{ORIGINAL}, "flag", ".*LIBNDR_FLAG_REMAINING.*"));
$self->pidl_code("offset = dissect_ndr_datablob(tvb, offset, pinfo, tree, di, drep, $hf, $remain);");
} else {
my $call;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
if ($self->{conformance}->{imports}->{$l->{DATA_TYPE}}) {
$call = $self->{conformance}->{imports}->{$l->{DATA_TYPE}}->{DATA};
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{conformance}->{imports}->{$l->{DATA_TYPE}}->{USED} = 1;
} elsif (defined($self->{conformance}->{imports}->{"$pn.$e->{NAME}"})) {
$call = $self->{conformance}->{imports}->{"$pn.$e->{NAME}"}->{DATA};
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{conformance}->{imports}->{"$pn.$e->{NAME}"}->{USED} = 1;
} elsif (defined($self->{conformance}->{types}->{$l->{DATA_TYPE}})) {
$call= $self->{conformance}->{types}->{$l->{DATA_TYPE}}->{DISSECTOR_NAME};
$self->{conformance}->{types}->{$l->{DATA_TYPE}}->{USED} = 1;
} else {
my $t;
if (ref($l->{DATA_TYPE}) eq "HASH" ) {
$t = "$l->{DATA_TYPE}->{TYPE}_$l->{DATA_TYPE}->{NAME}";
} else {
$t = $l->{DATA_TYPE};
}
$self->pidl_code("offset = $ifname\_dissect_struct_" . $t . "(tvb,offset,pinfo,tree,di,drep,$hf,$param);");
return;
}
$call =~ s/\@HF\@/$hf/g;
$call =~ s/\@PARAM\@/$param/g;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code($call);
}
} elsif ($_->{TYPE} eq "SUBCONTEXT") {
my $varswitch;
if (has_property($e, "switch_is")) {
$varswitch = $e->{PROPERTIES}->{switch_is};
}
my $num_bits = ($l->{HEADER_SIZE}*8);
my $hf2 = $self->register_hf_field($hf."_", "Subcontext length", "$ifname.$pn.$_->{NAME}subcontext", "FT_UINT$num_bits", "BASE_HEX", "NULL", 0, "");
$num_bits = 3264 if ($num_bits == 32);
$self->{hf_used}->{$hf2} = 1;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("guint$num_bits size;");
$self->pidl_code("int conformant = di->conformant_run;");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("tvbuff_t *subtvb;");
$self->pidl_code("");
# We need to be able to dissect the length of the context in every case
# and conformant run skips the dissections of scalars ...
$self->pidl_code("if (!conformant) {");
$self->indent;
$self->pidl_code("guint32 saved_flags = di->call_data->flags;");
$self->pidl_code("offset = dissect_ndr_uint$num_bits(tvb, offset, pinfo, tree, di, drep, $hf2, &size);");
# This is a subcontext, there is normally no such thing as
# 64 bit NDR is subcontext so we clear the flag so that we can
# continue to dissect handmarshalled stuff with pidl
$self->pidl_code("di->call_data->flags &= ~DCERPC_IS_NDR64;");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("subtvb = tvb_new_subset_length_caplen(tvb, offset, (const gint)size, -1);");
if ($param ne 0) {
$self->pidl_code("$myname\_(subtvb, 0, pinfo, tree, di, drep, $param);");
} else {
$self->pidl_code("$myname\_(subtvb, 0, pinfo, tree, di, drep);");
}
$self->pidl_code("offset += (int)size;");
$self->pidl_code("di->call_data->flags = saved_flags;");
$self->deindent;
$self->pidl_code("}");
} elsif ($_->{TYPE} eq "PIPE") {
error($e->{ORIGINAL}, "Type PIPE not yet supported");
} else {
die("Unknown type `$_->{TYPE}'");
}
}
sub SwitchType($$;$)
{
my ($e, $type, $nodiscriminant) = @_;
my $switch_dt = getType($type);
my $switch_type = undef;
if ($switch_dt->{DATA}->{TYPE} eq "ENUM") {
$switch_type = Parse::Pidl::Typelist::enum_type_fn($switch_dt->{DATA});
} elsif ($switch_dt->{DATA}->{TYPE} eq "BITMAP") {
$switch_type = Parse::Pidl::Typelist::bitmap_type_fn($switch_dt->{DATA});
} elsif ($switch_dt->{DATA}->{TYPE} eq "SCALAR") {
if (defined $e->{SWITCH_TYPE}) {
$switch_type = "$e->{SWITCH_TYPE}";
} else {
$switch_type = "$switch_dt->{DATA}->{NAME}";
}
} elsif (not defined $e->{SWITCH_TYPE}) {
$switch_type = $nodiscriminant;
}
return $switch_type
}
sub Element($$$$$$)
{
my ($self,$e,$pn,$ifname,$isoruseswitch,%switchvars) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $dissectorname = "$ifname\_dissect\_element\_".StripPrefixes($pn, $self->{conformance}->{strip_prefixes})."\_".StripPrefixes($e->{NAME}, $self->{conformance}->{strip_prefixes});
my ($call_code, $moreparam);
my $param = 0;
if (defined $isoruseswitch) {
my $type = $isoruseswitch->[0];
my $name = $isoruseswitch->[1];
my $switch_dt = getType($type);
my $switch_raw_type = SwitchType($e, $type, "uint32");
if (not defined($switch_raw_type)) {
die("Unknown type[$type]\n");
}
my $switch_type = "g${switch_raw_type}";
if ($name ne "") {
$moreparam = ", $switch_type *".$name;
} else {
$moreparam = "";
}
if (($e->{PROPERTIES}->{switch_is} eq "") && ($switchvars{$name}) &&
#not a "native" type
(!($type =~ /^uint(8|16|1632|32|3264|64)/))) {
$param = $name;
} elsif ( $switch_dt->{DATA}->{TYPE} eq "ENUM") {
$param = $name;
} elsif ($name ne "") {
$param = "*".$name;
}
if ($name ne "") {
$call_code = "offset = $dissectorname(tvb, offset, pinfo, tree, di, drep, &$name);";
} else {
$call_code = "offset = $dissectorname(tvb, offset, pinfo, tree, di, drep);";
}
} else {
$moreparam = "";
$call_code = "offset = $dissectorname(tvb, offset, pinfo, tree, di, drep);";
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $type = $self->find_type($e->{TYPE});
if (not defined($type)) {
# default settings
$type = {
MASK => 0,
VALSSTRING => "NULL",
FT_TYPE => "FT_NONE",
BASE_TYPE => "BASE_NONE"
};
}
if (ContainsString($e)) {
$type = {
MASK => 0,
VALSSTRING => "NULL",
FT_TYPE => "FT_STRING",
BASE_TYPE => "BASE_NONE"
};
}
if (property_matches($e, "flag", ".*LIBNDR_FLAG_ALIGN.*")) {
my $align_flag = $e->{PROPERTIES}->{flag};
if ($align_flag =~ m/LIBNDR_FLAG_ALIGN(\d+)/) {
$call_code = "ALIGN_TO_$1_BYTES; ".$call_code;
}
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $hf = $self->register_hf_field("hf_$ifname\_$pn\_$e->{NAME}", field2name($e->{NAME}), "$ifname.$pn.$e->{NAME}", $type->{FT_TYPE}, $type->{BASE_TYPE}, $type->{VALSSTRING}, $type->{MASK}, "");
$self->{hf_used}->{$hf} = 1;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $eltname = StripPrefixes($pn, $self->{conformance}->{strip_prefixes}) . ".$e->{NAME}";
if (defined($self->{conformance}->{noemit}->{$eltname})) {
return $call_code;
}
my $add = "";
my $oldparam = undef;
foreach (@{$e->{LEVELS}}) {
if (defined $_->{SWITCH_IS}) {
$oldparam = $param;
if (($param ne "0") && (!($param =~ /\*/))) {
$param = "*$param";
}
}
next if ($_->{TYPE} eq "SWITCH");
next if (defined($self->{conformance}->{noemit}->{"$dissectorname$add"}));
$self->pidl_def("static int $dissectorname$add(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_$moreparam);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_start("$dissectorname$add");
$self->pidl_code("static int");
$self->pidl_code("$dissectorname$add(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_$moreparam)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
$self->ElementLevel($e,$_,$hf,$dissectorname.$add,$pn,$ifname,$param);
if (defined $oldparam) {
$param = $oldparam;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("");
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end("$dissectorname$add");
$add.="_";
last if ($_->{TYPE} eq "ARRAY" and $_->{IS_ZERO_TERMINATED});
}
return $call_code;
}
sub Function($$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $fn,$ifname) = @_;
my %dissectornames;
foreach (@{$fn->{ELEMENTS}}) {
$dissectornames{$_->{NAME}} = $self->Element($_, $fn->{NAME}, $ifname, undef, undef) if not defined($dissectornames{$_->{NAME}});
}
my $fn_name = $_->{NAME};
$fn_name =~ s/^${ifname}_//;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->PrintIdl(DumpFunction($fn->{ORIGINAL}));
$self->pidl_fn_start("$ifname\_dissect\_$fn_name\_response");
$self->pidl_code("static int");
$self->pidl_code("$ifname\_dissect\_${fn_name}_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
if ( not defined($fn->{RETURN_TYPE})) {
} elsif ($fn->{RETURN_TYPE} eq "NTSTATUS" or $fn->{RETURN_TYPE} eq "WERROR" or $fn->{RETURN_TYPE} eq "HRESULT")
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("guint32 status;\n");
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
} elsif (my $type = getType($fn->{RETURN_TYPE})) {
if ($type->{DATA}->{TYPE} eq "ENUM") {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("g".Parse::Pidl::Typelist::enum_type_fn($type->{DATA}) . " status;\n");
Update from samba tree revision 19553 to 19565 ============================ Samba log start ============ ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm Add check for correct API usage. ------------------------------------------------------------------------ r19557 | jelmer | 2006-11-04 21:24:35 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix lookup table for WERROR. Fix perl warnings when using NTSTATUS as return type. ------------------------------------------------------------------------ r19559 | jelmer | 2006-11-04 22:53:00 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of types where the name isn't prefixed by the interface name. Based on patch by Julien Kerihuel. ------------------------------------------------------------------------ r19560 | jelmer | 2006-11-05 01:03:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of PARAM_VALUE. ------------------------------------------------------------------------ r19561 | jelmer | 2006-11-05 01:08:39 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Remove debug statement. ------------------------------------------------------------------------ r19562 | jelmer | 2006-11-05 01:26:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Support returning simple scalars. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19815
2006-11-05 23:33:28 +00:00
} elsif ($type->{DATA}->{TYPE} eq "SCALAR") {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("g$fn->{RETURN_TYPE} status;\n");
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
} else {
error($fn, "return type `$fn->{RETURN_TYPE}' not yet supported");
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
}
} else {
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
error($fn, "unknown return type `$fn->{RETURN_TYPE}'");
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
}
$self->pidl_code("di->dcerpc_procedure_name=\"${fn_name}\";");
foreach (@{$fn->{ELEMENTS}}) {
if (grep(/out/,@{$_->{DIRECTION}})) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("$dissectornames{$_->{NAME}}");
$self->pidl_code("offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("");
}
}
if (not defined($fn->{RETURN_TYPE})) {
} elsif ($fn->{RETURN_TYPE} eq "NTSTATUS") {
$self->pidl_code("offset = dissect_ntstatus(tvb, offset, pinfo, tree, di, drep, hf\_$ifname\_status, &status);\n");
$self->pidl_code("if (status != 0)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Error: %s\", val_to_str(status, NT_errors, \"Unknown NT status 0x%08x\"));\n");
Update from samba tree revision 19553 to 19565 ============================ Samba log start ============ ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm Add check for correct API usage. ------------------------------------------------------------------------ r19557 | jelmer | 2006-11-04 21:24:35 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix lookup table for WERROR. Fix perl warnings when using NTSTATUS as return type. ------------------------------------------------------------------------ r19559 | jelmer | 2006-11-04 22:53:00 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of types where the name isn't prefixed by the interface name. Based on patch by Julien Kerihuel. ------------------------------------------------------------------------ r19560 | jelmer | 2006-11-05 01:03:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of PARAM_VALUE. ------------------------------------------------------------------------ r19561 | jelmer | 2006-11-05 01:08:39 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Remove debug statement. ------------------------------------------------------------------------ r19562 | jelmer | 2006-11-05 01:26:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Support returning simple scalars. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19815
2006-11-05 23:33:28 +00:00
$return_types{$ifname}->{"status"} = ["NTSTATUS", "NT Error"];
} elsif ($fn->{RETURN_TYPE} eq "WERROR") {
$self->pidl_code("offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf\_$ifname\_werror, &status);\n");
$self->pidl_code("if (status != 0)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Error: %s\", val_to_str(status, WERR_errors, \"Unknown DOS error 0x%08x\"));\n");
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
$return_types{$ifname}->{"werror"} = ["WERROR", "Windows Error"];
} elsif ($fn->{RETURN_TYPE} eq "HRESULT") {
$self->pidl_code("offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf\_$ifname\_hresult, &status);\n");
$self->pidl_code("if (status != 0)");
$self->pidl_code("\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Error: %s\", val_to_str(status, HRES_errors, \"Unknown HRES error 0x%08x\"));\n");
$return_types{$ifname}->{"hresult"} = ["HRESULT", "HRES Windows Error"];
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
} elsif (my $type = getType($fn->{RETURN_TYPE})) {
if ($type->{DATA}->{TYPE} eq "ENUM") {
my $return_type = "g".Parse::Pidl::Typelist::enum_type_fn($type->{DATA});
my $return_dissect = "dissect_ndr_" .Parse::Pidl::Typelist::enum_type_fn($type->{DATA});
$self->pidl_code("offset = $return_dissect(tvb, offset, pinfo, tree, di, drep, hf\_$ifname\_$fn->{RETURN_TYPE}_status, &status);");
$self->pidl_code("if (status != 0)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Status: %s\", val_to_str(status, $ifname\_$fn->{RETURN_TYPE}\_vals, \"Unknown " . $fn->{RETURN_TYPE} . " error 0x%08x\"));\n");
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
$return_types{$ifname}->{$fn->{RETURN_TYPE}."_status"} = [$fn->{RETURN_TYPE}, $fn->{RETURN_TYPE}];
Update from samba tree revision 19553 to 19565 ============================ Samba log start ============ ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm Add check for correct API usage. ------------------------------------------------------------------------ r19557 | jelmer | 2006-11-04 21:24:35 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix lookup table for WERROR. Fix perl warnings when using NTSTATUS as return type. ------------------------------------------------------------------------ r19559 | jelmer | 2006-11-04 22:53:00 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of types where the name isn't prefixed by the interface name. Based on patch by Julien Kerihuel. ------------------------------------------------------------------------ r19560 | jelmer | 2006-11-05 01:03:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of PARAM_VALUE. ------------------------------------------------------------------------ r19561 | jelmer | 2006-11-05 01:08:39 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Remove debug statement. ------------------------------------------------------------------------ r19562 | jelmer | 2006-11-05 01:26:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Support returning simple scalars. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19815
2006-11-05 23:33:28 +00:00
} elsif ($type->{DATA}->{TYPE} eq "SCALAR") {
$self->pidl_code("offset = dissect_ndr_$fn->{RETURN_TYPE}(tvb, offset, pinfo, tree, di, drep, hf\_$ifname\_$fn->{RETURN_TYPE}_status, &status);");
$self->pidl_code("if (status != 0)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("\tcol_append_fstr(pinfo->cinfo, COL_INFO, \", Status: %d\", status);\n");
Update from samba tree revision 19553 to 19565 ============================ Samba log start ============ ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm Add check for correct API usage. ------------------------------------------------------------------------ r19557 | jelmer | 2006-11-04 21:24:35 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix lookup table for WERROR. Fix perl warnings when using NTSTATUS as return type. ------------------------------------------------------------------------ r19559 | jelmer | 2006-11-04 22:53:00 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of types where the name isn't prefixed by the interface name. Based on patch by Julien Kerihuel. ------------------------------------------------------------------------ r19560 | jelmer | 2006-11-05 01:03:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of PARAM_VALUE. ------------------------------------------------------------------------ r19561 | jelmer | 2006-11-05 01:08:39 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Remove debug statement. ------------------------------------------------------------------------ r19562 | jelmer | 2006-11-05 01:26:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Support returning simple scalars. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19815
2006-11-05 23:33:28 +00:00
$return_types{$ifname}->{$fn->{RETURN_TYPE}."_status"} = [$fn->{RETURN_TYPE}, $fn->{RETURN_TYPE}];
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
}
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end("$ifname\_dissect\_$fn_name\_response");
$self->pidl_fn_start("$ifname\_dissect\_$fn_name\_request");
$self->pidl_code("static int");
$self->pidl_code("$ifname\_dissect\_${fn_name}_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info* di _U_, guint8 *drep _U_)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
$self->pidl_code("di->dcerpc_procedure_name=\"${fn_name}\";");
foreach (@{$fn->{ELEMENTS}}) {
if (grep(/in/,@{$_->{DIRECTION}})) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("$dissectornames{$_->{NAME}}");
$self->pidl_code("offset = dissect_deferred_pointers(pinfo, tvb, offset, di, drep);");
}
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end("$ifname\_dissect\_$fn_name\_request");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Struct($$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$e,$name,$ifname) = @_;
my $dissectorname = "$ifname\_dissect\_struct\_".StripPrefixes($name, $self->{conformance}->{strip_prefixes});
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
return if (defined($self->{conformance}->{noemit}->{StripPrefixes($name, $self->{conformance}->{strip_prefixes})}));
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->register_ett("ett_$ifname\_$name");
my $res = "";
my $varswitchs = {};
# will contain the switch var declaration;
my $vars = [];
my %switch_hash;
foreach (@{$e->{ELEMENTS}}) {
if (has_property($_, "switch_is")) {
$varswitchs->{$_->{PROPERTIES}->{switch_is}} = [];
$switch_hash{ $_->{PROPERTIES}->{switch_is}} = $_->{PROPERTIES}->{switch_is};
}
}
foreach (@{$e->{ELEMENTS}}) {
my $switch_info = undef;
my $v = $_->{NAME};
if (scalar(grep {/^$v$/} keys(%$varswitchs)) == 1) {
# This element is one of the switch attribute
my $switch_raw_type = SwitchType($e, $_->{TYPE}, "uint32");
if (not defined($switch_raw_type)) {
die("Unknown type[$_->{TYPE}]\n");
}
my $switch_type = "g${switch_raw_type}";
if ($switch_type ne "") {
push @$vars, "$switch_type $v = 0;";
}
$switch_info = [ $_->{TYPE}, $v ];
$varswitchs->{$v} = $switch_info;
}
if (has_property($_, "switch_is")) {
my $varswitch = $_->{PROPERTIES}->{switch_is};
$switch_info = $varswitchs->{$varswitch};
}
$res.="\t".$self->Element($_, $name, $ifname, $switch_info, %switch_hash)."\n\n";
}
my $doalign = undef;
if ($e->{ALIGN} > 1 and not property_matches($e, "flag", ".*LIBNDR_FLAG_NOALIGN.*")) {
$doalign = 1;
} elsif (property_matches($e, "flag", ".*LIBNDR_FLAG_NOALIGN.*")) {
$doalign = 0;
}
$self->pidl_hdr("int $dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_);");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_start($dissectorname);
$self->pidl_code("int");
$self->pidl_code("$dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
$self->pidl_code($_) foreach (@$vars);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("proto_item *item = NULL;");
if($res) {
$self->pidl_code("proto_tree *tree = NULL;");
}
if (defined($doalign) and $doalign == 0) {
$self->pidl_code("gboolean oldalign = di->no_align;");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("int old_offset;");
$self->pidl_code("");
if (defined($doalign)) {
if ($doalign == 1) {
$self->pidl_code("ALIGN_TO_$e->{ALIGN}_BYTES;");
}
if ($doalign == 0) {
$self->pidl_code("di->no_align = TRUE;");
}
$self->pidl_code("");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("old_offset = offset;");
$self->pidl_code("");
$self->pidl_code("if (parent_tree) {");
$self->indent;
$self->pidl_code("item = proto_tree_add_item(parent_tree, hf_index, tvb, offset, -1, ENC_NA);");
if($res) {
$self->pidl_code("tree = proto_item_add_subtree(item, ett_$ifname\_$name);");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->deindent;
$self->pidl_code("}");
$self->pidl_code("");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->deindent;
$self->pidl_code("$res");
$self->indent;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("proto_item_set_len(item, offset-old_offset);\n");
if (defined($doalign) and $doalign == 1) {
$self->pidl_code("");
$self->pidl_code("if (di->call_data->flags & DCERPC_IS_NDR64) {");
$self->indent;
$self->pidl_code("ALIGN_TO_$e->{ALIGN}_BYTES;");
$self->deindent;
$self->pidl_code("}");
}
if (defined($doalign) and $doalign == 0) {
$self->pidl_code("");
$self->pidl_code("di->no_align = oldalign;");
}
$self->pidl_code("");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end($dissectorname);
$self->register_type($name, "offset = $dissectorname(tvb,offset,pinfo,tree,di,drep,\@HF\@,\@PARAM\@);", "FT_NONE", "BASE_NONE", 0, "NULL", 0);
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Union($$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$e,$name,$ifname) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $dissectorname = "$ifname\_dissect_".StripPrefixes($name, $self->{conformance}->{strip_prefixes});
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
return if (defined($self->{conformance}->{noemit}->{StripPrefixes($name, $self->{conformance}->{strip_prefixes})}));
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->register_ett("ett_$ifname\_$name");
my $res = "";
foreach (@{$e->{ELEMENTS}}) {
$res.="\n\t\t$_->{CASE}:\n";
if ($_->{TYPE} ne "EMPTY") {
$res.="\t\t\t".$self->Element($_, $name, $ifname, undef, undef)."\n";
}
$res.="\t\tbreak;\n";
}
my $switch_type = undef;
my $switch_dissect = undef;
my $switch_raw_type = SwitchType($e, $e->{SWITCH_TYPE});
if (defined($switch_raw_type)) {
$switch_type = "g${switch_raw_type}";
$switch_dissect = "dissect_ndr_${switch_raw_type}";
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_start($dissectorname);
$self->pidl_code("static int");
$self->pidl_code("$dissectorname(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_)");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("{");
$self->indent;
$self->pidl_code("proto_item *item = NULL;");
$self->pidl_code("proto_tree *tree = NULL;");
$self->pidl_code("int old_offset;");
if (!defined $switch_type) {
$self->pidl_code("guint32 level = param;");
} else {
$self->pidl_code("$switch_type level;");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("old_offset = offset;");
$self->pidl_code("if (parent_tree) {");
$self->indent;
$self->pidl_code("tree = proto_tree_add_subtree(parent_tree, tvb, offset, -1, ett_$ifname\_$name, &item, \"$name\");");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->deindent;
$self->pidl_code("}");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("");
if (defined $switch_type) {
$self->pidl_code("offset = $switch_dissect(tvb, offset, pinfo, tree, di, drep, hf_index, &level);");
if ($e->{ALIGN} > 1) {
$self->pidl_code("ALIGN_TO_$e->{ALIGN}_BYTES;");
$self->pidl_code("");
}
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("switch(level) {$res\t}");
$self->pidl_code("proto_item_set_len(item, offset-old_offset);\n");
$self->pidl_code("");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_code("return offset;");
$self->deindent;
$self->pidl_code("}");
$self->pidl_fn_end($dissectorname);
$self->register_type($name, "offset = $dissectorname(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);", "FT_NONE", "BASE_NONE", 0, "NULL", 0);
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Const($$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$const,$ifname) = @_;
if (!defined($const->{ARRAY_LEN}[0])) {
$self->pidl_hdr("#define $const->{NAME}\t( $const->{VALUE} )\n");
} else {
$self->pidl_hdr("#define $const->{NAME}\t $const->{VALUE}\n");
}
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Typedef($$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$e,$name,$ifname) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->Type($e->{DATA}, $name, $ifname);
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Type($$$$)
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $e, $name, $ifname) = @_;
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->PrintIdl(DumpType($e->{ORIGINAL}));
{
ENUM => \&Enum,
STRUCT => \&Struct,
UNION => \&Union,
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
BITMAP => \&Bitmap,
TYPEDEF => \&Typedef,
PIPE => \&Pipe
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
}->{$e->{TYPE}}->($self, $e, $name, $ifname);
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub RegisterInterface($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $x) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_start("proto_register_dcerpc_$x->{NAME}");
$self->pidl_code("void proto_register_dcerpc_$x->{NAME}(void)");
$self->pidl_code("{");
$self->indent;
$self->{res}->{headers} .= "void proto_register_dcerpc_$x->{NAME}(void);\n";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{code}.=$self->DumpHfList()."\n";
$self->{res}->{code}.="\n".DumpEttList($self->{ett})."\n";
if (defined($x->{UUID})) {
# These can be changed to non-pidl_code names if the old
# dissectors in epan/dissectors are deleted.
my $name = uc($x->{NAME}) . " (pidl)";
my $short_name = uc($x->{NAME});
my $filter_name = $x->{NAME};
if (has_property($x, "helpstring")) {
$name = $x->{PROPERTIES}->{helpstring};
}
if (defined($self->{conformance}->{protocols}->{$x->{NAME}})) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$short_name = $self->{conformance}->{protocols}->{$x->{NAME}}->{SHORTNAME};
$name = $self->{conformance}->{protocols}->{$x->{NAME}}->{LONGNAME};
$filter_name = $self->{conformance}->{protocols}->{$x->{NAME}}->{FILTERNAME};
}
$self->pidl_code("proto_dcerpc_$x->{NAME} = proto_register_protocol(".make_str($name).", ".make_str($short_name).", ".make_str($filter_name).");");
$self->pidl_code("proto_register_field_array(proto_dcerpc_$x->{NAME}, hf, array_length (hf));");
$self->pidl_code("proto_register_subtree_array(ett, array_length(ett));");
} else {
$self->pidl_code("proto_dcerpc = proto_get_id_by_filter_name(\"dcerpc\");");
$self->pidl_code("proto_register_field_array(proto_dcerpc, hf, array_length(hf));");
$self->pidl_code("proto_register_subtree_array(ett, array_length(ett));");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->deindent;
$self->pidl_code("}\n");
$self->pidl_fn_end("proto_register_dcerpc_$x->{NAME}");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub RegisterInterfaceHandoff($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$x) = @_;
if (defined($x->{UUID})) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_start("proto_reg_handoff_dcerpc_$x->{NAME}");
$self->pidl_code("void proto_reg_handoff_dcerpc_$x->{NAME}(void)");
$self->pidl_code("{");
$self->indent;
$self->pidl_code("dcerpc_init_uuid(proto_dcerpc_$x->{NAME}, ett_dcerpc_$x->{NAME},");
$self->pidl_code("\t&uuid_dcerpc_$x->{NAME}, ver_dcerpc_$x->{NAME},");
$self->pidl_code("\t$x->{NAME}_dissectors, hf_$x->{NAME}_opnum);");
$self->deindent;
$self->pidl_code("}");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_fn_end("proto_reg_handoff_dcerpc_$x->{NAME}");
$self->{res}->{headers} .= "void proto_reg_handoff_dcerpc_$x->{NAME}(void);\n";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{hf_used}->{"hf_$x->{NAME}_opnum"} = 1;
}
}
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
sub ProcessInclude
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $self = shift;
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
my @includes = @_;
foreach (@includes) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("#include \"$_\"");
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("");
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
}
sub ProcessImport
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $self = shift;
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
my @imports = @_;
foreach (@imports) {
next if($_ eq "security");
s/^\"//;
s/\.idl"?$//;
s/^.*\///;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("#include \"packet-dcerpc-$_\.h\"");
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("");
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub ProcessInterface($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $x) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
push(@{$self->{conformance}->{strip_prefixes}}, $x->{NAME});
my $define = "__PACKET_DCERPC_" . uc($_->{NAME}) . "_H";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("#ifndef $define");
$self->pidl_hdr("#define $define");
$self->pidl_hdr("");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_def("static gint proto_dcerpc_$x->{NAME} = -1;");
$self->register_ett("ett_dcerpc_$x->{NAME}");
$self->register_hf_field("hf_$x->{NAME}_opnum", "Operation", "$x->{NAME}.opnum", "FT_UINT16", "BASE_DEC", "NULL", 0, "");
if (defined($x->{UUID})) {
my $if_uuid = $x->{UUID};
$self->pidl_def("/* Version information */\n\n");
$self->pidl_def("static e_guid_t uuid_dcerpc_$x->{NAME} = {");
$self->pidl_def("\t0x" . substr($if_uuid, 1, 8)
. ", 0x" . substr($if_uuid, 10, 4)
. ", 0x" . substr($if_uuid, 15, 4) . ",");
$self->pidl_def("\t{ 0x" . substr($if_uuid, 20, 2)
. ", 0x" . substr($if_uuid, 22, 2)
. ", 0x" . substr($if_uuid, 25, 2)
. ", 0x" . substr($if_uuid, 27, 2)
. ", 0x" . substr($if_uuid, 29, 2)
. ", 0x" . substr($if_uuid, 31, 2)
. ", 0x" . substr($if_uuid, 33, 2)
. ", 0x" . substr($if_uuid, 35, 2) . " }");
$self->pidl_def("};");
my $maj = 0x0000FFFF & $x->{VERSION};
$maj =~ s/\.(.*)$//g;
$self->pidl_def("static guint16 ver_dcerpc_$x->{NAME} = $maj;");
$self->pidl_def("");
}
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
$return_types{$x->{NAME}} = {};
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->Interface($x);
$self->pidl_code("\n".DumpFunctionTable($x));
foreach (sort(keys %{$return_types{$x->{NAME}}})) {
Update from samba tree revision 19540 to 19553 ============================ Samba log start ============ ------------------------------------------------------------------------ r19541 | jelmer | 2006-11-03 20:55:17 +0100 (Fri, 03 Nov 2006) | 3 lines Explicitly segfault when the API is being used incorrectly. Previously this would've caused a silent premature return. ------------------------------------------------------------------------ r19544 | jelmer | 2006-11-04 00:08:33 +0100 (Sat, 04 Nov 2006) | 2 lines Fix case of 'warning'. ------------------------------------------------------------------------ r19545 | jelmer | 2006-11-04 02:53:29 +0100 (Sat, 04 Nov 2006) | 2 lines Allow enums as return types in code generated for wireshark. Originally based on a patch by Julien Kerihuel. ------------------------------------------------------------------------ r19546 | jelmer | 2006-11-04 03:51:03 +0100 (Sat, 04 Nov 2006) | 3 lines fix number of bytes pushed when using switch_type() set to enum types. die() on invalid used of enum_type_fn() ------------------------------------------------------------------------ r19547 | jelmer | 2006-11-04 03:54:24 +0100 (Sat, 04 Nov 2006) | 2 lines Fix use of v1_enum on enums used in return types. ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Add check for correct API usage. ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19793
2006-11-04 16:57:21 +00:00
my ($type, $desc) = @{$return_types{$x->{NAME}}->{$_}};
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my $dt = $self->find_type($type);
Update from samba tree revision 19553 to 19565 ============================ Samba log start ============ ------------------------------------------------------------------------ r19553 | jelmer | 2006-11-04 16:40:05 +0100 (Sat, 04 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm Add check for correct API usage. ------------------------------------------------------------------------ r19557 | jelmer | 2006-11-04 21:24:35 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix lookup table for WERROR. Fix perl warnings when using NTSTATUS as return type. ------------------------------------------------------------------------ r19559 | jelmer | 2006-11-04 22:53:00 +0100 (Sat, 04 Nov 2006) | 3 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of types where the name isn't prefixed by the interface name. Based on patch by Julien Kerihuel. ------------------------------------------------------------------------ r19560 | jelmer | 2006-11-05 01:03:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix handling of PARAM_VALUE. ------------------------------------------------------------------------ r19561 | jelmer | 2006-11-05 01:08:39 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Remove debug statement. ------------------------------------------------------------------------ r19562 | jelmer | 2006-11-05 01:26:44 +0100 (Sun, 05 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Support returning simple scalars. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19815
2006-11-05 23:33:28 +00:00
$dt or die("Unable to find information about return type `$type'");
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->register_hf_field("hf_$x->{NAME}_$_", $desc, "$x->{NAME}.$_", $dt->{FT_TYPE}, "BASE_HEX", $dt->{VALSSTRING}, 0, "");
$self->{hf_used}->{"hf_$x->{NAME}_$_"} = 1;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->RegisterInterface($x);
$self->RegisterInterfaceHandoff($x);
if (exists ($self->{conformance}->{header})) {
$self->pidl_hdr($self->{conformance}->{header});
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->pidl_hdr("#endif /* $define */");
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub find_type($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $n) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
return $self->{conformance}->{types}->{$n};
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub register_type($$$$$$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $type,$call,$ft,$base,$mask,$vals,$length) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
return if (defined($self->{conformance}->{types}->{$type}));
$self->{conformance}->{types}->{$type} = {
NAME => $type,
DISSECTOR_NAME => $call,
FT_TYPE => $ft,
BASE_TYPE => $base,
MASK => $mask,
VALSSTRING => $vals,
ALIGNMENT => $length
};
}
# Loads the default types
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Initialize($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $cnf_file) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{conformance} = {
imports => {},
header_fields=> {}
};
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
ReadConformance($cnf_file, $self->{conformance}) or print STDERR "warning: No conformance file `$cnf_file'\n";
foreach my $bytes (qw(1 2 4 8)) {
my $bits = $bytes * 8;
$self->register_type("uint$bits", "offset = PIDL_dissect_uint$bits(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);", "FT_UINT$bits", "BASE_DEC", 0, "NULL", $bytes);
$self->register_type("int$bits", "offset = PIDL_dissect_uint$bits(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);", "FT_INT$bits", "BASE_DEC", 0, "NULL", $bytes);
}
$self->register_type("uint3264", "offset = dissect_ndr_uint3264(tvb, offset, pinfo, tree, di, drep, \@HF\@, NULL);", "FT_UINT32", "BASE_DEC", 0, "NULL", 8);
$self->register_type("hyper", "offset = dissect_ndr_uint64(tvb, offset, pinfo, tree, di, drep, \@HF\@, NULL);", "FT_UINT64", "BASE_DEC", 0, "NULL", 8);
$self->register_type("udlong", "offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, di, drep, \@HF\@, NULL);", "FT_UINT64", "BASE_DEC", 0, "NULL", 4);
$self->register_type("bool8", "offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_INT8", "BASE_DEC", 0, "NULL", 1);
$self->register_type("char", "offset = PIDL_dissect_uint8(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_INT8", "BASE_DEC", 0, "NULL", 1);
$self->register_type("long", "offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_INT32", "BASE_DEC", 0, "NULL", 4);
$self->register_type("dlong", "offset = dissect_ndr_duint32(tvb, offset, pinfo, tree, di, drep, \@HF\@, NULL);","FT_INT64", "BASE_DEC", 0, "NULL", 8);
$self->register_type("GUID", "offset = dissect_ndr_uuid_t(tvb, offset, pinfo, tree, di, drep, \@HF\@, NULL);","FT_GUID", "BASE_NONE", 0, "NULL", 4);
$self->register_type("policy_handle", "offset = PIDL_dissect_policy_hnd(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_BYTES", "BASE_NONE", 0, "NULL", 4);
$self->register_type("NTTIME", "offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, \@HF\@);","FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
$self->register_type("NTTIME_hyper", "offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, \@HF\@);","FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
$self->register_type("time_t", "offset = dissect_ndr_time_t(tvb, offset, pinfo,tree, di, drep, \@HF\@, NULL);","FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
$self->register_type("NTTIME_1sec", "offset = dissect_ndr_nt_NTTIME(tvb, offset, pinfo, tree, di, drep, \@HF\@);", "FT_ABSOLUTE_TIME", "ABSOLUTE_TIME_LOCAL", 0, "NULL", 4);
$self->register_type("dom_sid28", "
di->hf_index = \@HF\@;
offset = dissect_ndr_nt_SID28(tvb, offset, pinfo, tree, di, drep);
", "FT_STRING", "BASE_NONE", 0, "NULL", 4);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->register_type("SID", "
di->hf_index = \@HF\@;
offset = dissect_ndr_nt_SID_with_options(tvb, offset, pinfo, tree, di, drep, param);
","FT_STRING", "BASE_NONE", 0, "NULL", 4);
$self->register_type("WERROR",
"offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_UINT32", "BASE_DEC", 0, "VALS(WERR_errors)", 4);
$self->register_type("NTSTATUS",
"offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_UINT32", "BASE_DEC", 0, "VALS(NT_errors)", 4);
$self->register_type("HRESULT",
"offset = PIDL_dissect_uint32(tvb, offset, pinfo, tree, di, drep, \@HF\@, \@PARAM\@);","FT_UINT32", "BASE_DEC", 0, "VALS(HRES_errors)", 4);
$self->register_type("ipv6address", "proto_tree_add_item(tree, \@HF\@, tvb, offset, 16, ENC_NA); offset += 16;", "FT_IPv6", "BASE_NONE", 0, "NULL", 16);
$self->register_type("ipv4address", "proto_tree_add_item(tree, \@HF\@, tvb, offset, 4, ENC_BIG_ENDIAN); offset += 4;", "FT_IPv4", "BASE_NONE", 0, "NULL", 4);
}
#####################################################################
# Generate Wireshark parser and header code
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub Parse($$$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my($self,$ndr,$idl_file,$h_filename,$cnf_file) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->Initialize($cnf_file);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
return (undef, undef) if defined($self->{conformance}->{noemit_dissector});
my $notice =
"/* DO NOT EDIT
This file was automatically generated by Pidl
from $idl_file and $cnf_file.
Pidl is a perl based IDL compiler for DCE/RPC idl files.
It is maintained by the Samba team, not the Wireshark team.
Instructions on how to download and install Pidl can be
found at https://gitlab.com/wireshark/wireshark/-/wikis/Pidl
*/
";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{headers} = "\n";
$self->{res}->{headers} .= "#include \"config.h\"\n";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{headers} .= "#include <glib.h>\n";
$self->{res}->{headers} .= "#include <string.h>\n";
$self->{res}->{headers} .= "#include <epan/packet.h>\n\n";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{headers} .= "#include \"packet-dcerpc.h\"\n";
$self->{res}->{headers} .= "#include \"packet-dcerpc-nt.h\"\n";
$self->{res}->{headers} .= "#include \"packet-windows-common.h\"\n";
my $h_basename = basename($h_filename);
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{headers} .= "#include \"$h_basename\"\n";
$self->pidl_code("");
if (defined($self->{conformance}->{ett})) {
register_ett($self,$_) foreach(@{$self->{conformance}->{ett}})
}
# Wireshark protocol registration
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
foreach (@$ndr) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->ProcessInterface($_) if ($_->{TYPE} eq "INTERFACE");
$self->ProcessImport(@{$_->{PATHS}}) if ($_->{TYPE} eq "IMPORT");
$self->ProcessInclude(@{$_->{PATHS}}) if ($_->{TYPE} eq "INCLUDE");
Updated to revision 19604. Update from samba tree revision 19582 to 19604 ============================ Samba log start ============ ------------------------------------------------------------------------ r19585 | jelmer | 2006-11-06 22:54:19 +0100 (Mon, 06 Nov 2006) | 10 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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/Header.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/Wireshark/NDR.pm Add support for some more standard IDL instructions: - `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. ------------------------------------------------------------------------ r19588 | jelmer | 2006-11-06 23:54:49 +0100 (Mon, 06 Nov 2006) | 2 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/lib/Parse/Pidl/Samba4/Header.pm Use include and import statements rather than depends() and helper(). ------------------------------------------------------------------------ r19599 | jelmer | 2006-11-07 02:00:27 +0100 (Tue, 07 Nov 2006) | 2 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm Fix --includedir. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=19846
2006-11-07 07:52:53 +00:00
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{res}->{ett} = DumpEttDeclaration($self->{ett});
$self->{res}->{hf} = $self->DumpHfDeclaration();
my $parser = $notice;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$parser.= $self->{res}->{headers};
$parser.=$self->{res}->{ett};
$parser.=$self->{res}->{hf};
$parser.=$self->{res}->{def};
if (exists ($self->{conformance}->{override})) {
$parser.=$self->{conformance}->{override};
Update from samba tree revision 21237 to 21471 ============================ Samba log start ============ ------------------------------------------------------------------------ r21253 | jelmer | 2007-02-09 00:54:31 +0100 (Fri, 09 Feb 2007) | 7 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/lib/Parse/Pidl/Wireshark/Conformance.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl A /branches/SAMBA_4_0/source/pidl/tests/wireshark-conf.pl Merge some pidl fixes: * Add tests for wireshark dissector generator * Add tests for the header code * Some cleanups * Fix handling of elements without [in] or [out] ------------------------------------------------------------------------ r21254 | jelmer | 2007-02-09 01:18:06 +0100 (Fri, 09 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix running the testsuite outside pidl/ ------------------------------------------------------------------------ r21260 | jelmer | 2007-02-09 10:44:11 +0100 (Fri, 09 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl Fix regex. ------------------------------------------------------------------------ r21297 | jelmer | 2007-02-12 13:12:12 +0100 (Mon, 12 Feb 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/.bzrignore M /branches/SAMBA_4_0/source/configure.ac D /branches/SAMBA_4_0/source/gtk M /branches/SAMBA_4_0/source/headermap.txt M /branches/SAMBA_4_0/source/include/core.h M /branches/SAMBA_4_0/source/lib/events/config.mk M /branches/SAMBA_4_0/source/lib/events/events.h M /branches/SAMBA_4_0/source/lib/registry/config.mk M /branches/SAMBA_4_0/source/lib/registry/registry.h M /branches/SAMBA_4_0/source/lib/talloc/talloc.h M /branches/SAMBA_4_0/source/libcli/util/nt_status.h M /branches/SAMBA_4_0/source/librpc/config.mk 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/webapps/qooxdoo-0.6.5-sdk/frontend/framework/source/translation/C.po Remove the GTK+ tools and library from the main repository. They are now maintained separately in bzr at http://people.samba.org/bzr/jelmer/samba-gtk This also adds some more headers to the list that is installed and a couple of extra #include lines so these headers can be used externally without problems. ------------------------------------------------------------------------ r21332 | jelmer | 2007-02-14 13:44:50 +0100 (Wed, 14 Feb 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/tests/samba-ndr.pl Fix bug in pidl that prevented value(0) from working. Bug reported by metze. ------------------------------------------------------------------------ r21338 | jelmer | 2007-02-14 15:23:59 +0100 (Wed, 14 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm A /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix handling of top-level arrays for the Samba 3 client code. This doesn't fix the winreg code yet (as that's an array on top of a pointer), but at least it gets us closer. Also added a couple of tests for the Samba 3 client code. ------------------------------------------------------------------------ r21340 | jelmer | 2007-02-14 15:42:42 +0100 (Wed, 14 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm Fix warning undef ------------------------------------------------------------------------ r21384 | jelmer | 2007-02-16 15:13:14 +0100 (Fri, 16 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba3/ClientNDR.pm Change warning to pidl warning, fix uppercasing. ------------------------------------------------------------------------ r21411 | jelmer | 2007-02-18 00:38:57 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some simple tests for the wireshark NDR generator. ------------------------------------------------------------------------ r21427 | jelmer | 2007-02-18 13:54:03 +0100 (Sun, 18 Feb 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/tests/samba-ndr.pl Add tests for Needed*(), in preparation of refactoring. ------------------------------------------------------------------------ r21428 | jelmer | 2007-02-18 14:44:01 +0100 (Sun, 18 Feb 2007) | 2 lines Changed paths: M /branches/SAMBA_4_0 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/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Handle representation types in Needed(). ------------------------------------------------------------------------ r21430 | jelmer | 2007-02-18 17:21:28 +0100 (Sun, 18 Feb 2007) | 10 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_deprecations.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Support tagged types without typedef. This means: struct foo { ... }; in IDL will now work. This is the first step towards nested types and using typedefs for partial types (such as "typedef int *bar;"), a requirement for complex uses of represent_as(). ------------------------------------------------------------------------ r21431 | jelmer | 2007-02-18 17:46:59 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Dump.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm A /branches/SAMBA_4_0/source/pidl/tests/dump.pl More tests, work on support in wireshark for tagged types. ------------------------------------------------------------------------ r21432 | jelmer | 2007-02-18 17:54:54 +0100 (Sun, 18 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm Handle properties on tagged types in TDR. ------------------------------------------------------------------------ r21433 | jelmer | 2007-02-18 19:44:56 +0100 (Sun, 18 Feb 2007) | 9 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/lib/registry/regf.idl M /branches/SAMBA_4_0/source/librpc/config.mk D /branches/SAMBA_4_0/source/librpc/idl/dcom.idl M /branches/SAMBA_4_0/source/librpc/idl/oxidresolver.idl M /branches/SAMBA_4_0/source/librpc/idl/remact.idl D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/ODL.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 D /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/COM M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.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/SWIG.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/pidl A /branches/SAMBA_4_0/source/pidl/tests/tdr.pl M /branches/SAMBA_4_0/source/script/build_idl.sh M /branches/SAMBA_4_0/source/torture/rpc/oxidresolve.c M /branches/SAMBA_4_0/source/torture/rpc/remact.c Get rid of the COM support code - it's not used and unmaintained. We can always bring it back if we need to. This code was getting in the way while refactoring. Add some tests for TDR. Get rid of typedef in lib/registry/tdr_regf.idl and fix the TDR code to be able to deal with it. ------------------------------------------------------------------------ r21437 | jelmer | 2007-02-19 00:48:16 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm A /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Cherrypick typelib tests. ------------------------------------------------------------------------ r21440 | jelmer | 2007-02-19 00:57:26 +0100 (Mon, 19 Feb 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/tests/samba-ndr.pl Support different variables in environments. ------------------------------------------------------------------------ r21442 | jelmer | 2007-02-19 01:48:05 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow more flexible data structure names. ------------------------------------------------------------------------ r21443 | jelmer | 2007-02-19 02:51:46 +0100 (Mon, 19 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Refactor some of the NDR code in preparation of nested data structure support. ------------------------------------------------------------------------ r21455 | jelmer | 2007-02-19 20:42:51 +0100 (Mon, 19 Feb 2007) | 5 lines 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/tests/samba-ndr.pl Fix a bug in our handling of conformant arrays. The conformant array was always pushed, even if just the buffers part of a struct had to be pushed. Pull was not affected. ------------------------------------------------------------------------ r21456 | jelmer | 2007-02-19 22:37:54 +0100 (Mon, 19 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Allow anonymous and non-anonymous nested structures/unions/enums/bitmaps to be used in the Samba 4 NDR parser. This doesn't actually work yet as Parse::Pidl::NDR doesn't handle nested data structures yet, but it's a first step. ------------------------------------------------------------------------ r21457 | jelmer | 2007-02-19 23:10:23 +0100 (Mon, 19 Feb 2007) | 3 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Cope with anonymous nested types in the NDR layer. This doesn't handled named nested types yet, as these have to be registered. ------------------------------------------------------------------------ r21458 | jelmer | 2007-02-20 00:11:01 +0100 (Tue, 20 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm Prepare for generating separate primitives/deferred code. ------------------------------------------------------------------------ r21459 | jelmer | 2007-02-20 02:27:48 +0100 (Tue, 20 Feb 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/tests/samba-ndr.pl Remove name argument, more refactoring. ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20876
2007-02-20 19:13:42 +00:00
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$parser.=$self->{res}->{code};
my $header = $notice;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$header.=$self->{res}->{hdr};
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->CheckUsed($self->{conformance});
return ($parser,$header);
}
###############################################################################
# ETT
###############################################################################
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub register_ett($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $name) = @_;
push (@{$self->{ett}}, $name);
}
Update from samba tree revision 21565 to 21739 ============================ Samba log start ============ ------------------------------------------------------------------------ r21567 | jelmer | 2007-02-27 21:35:56 +0100 (Tue, 27 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some more wireshark tests. ------------------------------------------------------------------------ r21568 | jelmer | 2007-02-27 22:37:31 +0100 (Tue, 27 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl More tests. ------------------------------------------------------------------------ r21572 | jelmer | 2007-02-28 00:47:07 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl More work towards supporting tagged types. ------------------------------------------------------------------------ r21573 | jelmer | 2007-02-28 01:19:57 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Remove more code that assumed all types are typedefs. ------------------------------------------------------------------------ r21574 | jelmer | 2007-02-28 01:28:14 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Fix handling of DECLARE. ------------------------------------------------------------------------ r21575 | jelmer | 2007-02-28 01:35:21 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Fix handling of is_scalar() for declares. ------------------------------------------------------------------------ r21578 | jelmer | 2007-02-28 02:51:37 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/README M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Use utility function for naming pull/push/print functions. ------------------------------------------------------------------------ r21579 | jelmer | 2007-02-28 03:01:58 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl Use utility function to determine function names in ejs code. ------------------------------------------------------------------------ r21584 | jelmer | 2007-02-28 14:25:53 +0100 (Wed, 28 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/librpc/idl/echo.idl M /branches/SAMBA_4_0/source/pidl/README M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.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/Header.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Support for tagged types has landed! It's now possible to use "struct foo" without a typedef in IDL files. echo_info4 is the first type that's been converted. ------------------------------------------------------------------------ r21586 | jelmer | 2007-02-28 15:56:46 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/MANIFEST update manifest ------------------------------------------------------------------------ r21654 | jelmer | 2007-03-02 15:05:52 +0100 (Fri, 02 Mar 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/tests/samba-ndr.pl Add simple test for print functions. ------------------------------------------------------------------------ r21656 | jelmer | 2007-03-02 15:53:09 +0100 (Fri, 02 Mar 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 A /branches/SAMBA_4_0/source/lib/registry/tests A /branches/SAMBA_4_0/source/lib/registry/tests/generic.c (from /branches/SAMBA_4_0/source/torture/local/registry.c:21654) A /branches/SAMBA_4_0/source/lib/socket/testsuite.c (from /branches/SAMBA_4_0/source/torture/local/socket.c:21654) A /branches/SAMBA_4_0/source/lib/tdr/testsuite.c (from /branches/SAMBA_4_0/source/torture/local/tdr.c:21654) A /branches/SAMBA_4_0/source/lib/util/tests A /branches/SAMBA_4_0/source/lib/util/tests/file.c (from /branches/SAMBA_4_0/source/torture/local/util_file.c:21654) A /branches/SAMBA_4_0/source/lib/util/tests/idtree.c (from /branches/SAMBA_4_0/source/torture/local/idtree.c:21654) A /branches/SAMBA_4_0/source/lib/util/tests/strlist.c (from /branches/SAMBA_4_0/source/torture/local/util_strlist.c:21654) A /branches/SAMBA_4_0/source/librpc/tests A /branches/SAMBA_4_0/source/librpc/tests/binding_string.c (from /branches/SAMBA_4_0/source/torture/local/binding_string.c:21654) M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm D /branches/SAMBA_4_0/source/torture/local/binding_string.c M /branches/SAMBA_4_0/source/torture/local/config.mk D /branches/SAMBA_4_0/source/torture/local/idtree.c D /branches/SAMBA_4_0/source/torture/local/registry.c D /branches/SAMBA_4_0/source/torture/local/socket.c D /branches/SAMBA_4_0/source/torture/local/tdr.c D /branches/SAMBA_4_0/source/torture/local/util_file.c D /branches/SAMBA_4_0/source/torture/local/util_strlist.c Move tests a bit closer to the things they test, should make syncing with samba3 easier. ------------------------------------------------------------------------ r21681 | jelmer | 2007-03-04 15:16:52 +0100 (Sun, 04 Mar 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl Fix bug in the parsing code that parsed "struct foo;" the same as "struct foo {};". Reported by one of the OpenChange folks, thanks! ------------------------------------------------------------------------ r21682 | jelmer | 2007-03-04 15:31:18 +0100 (Sun, 04 Mar 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm Remove accidently committed debug command. ------------------------------------------------------------------------ r21690 | jelmer | 2007-03-05 01:03:44 +0100 (Mon, 05 Mar 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl Test use of typedef /and/ struct name ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20992
2007-03-07 07:55:00 +00:00
sub DumpEttList
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($ett) = @_;
my $res = "\tstatic gint *ett[] = {\n";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
foreach (@$ett) {
$res .= "\t\t&$_,\n";
}
return "$res\t};\n";
}
Update from samba tree revision 21565 to 21739 ============================ Samba log start ============ ------------------------------------------------------------------------ r21567 | jelmer | 2007-02-27 21:35:56 +0100 (Tue, 27 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Add some more wireshark tests. ------------------------------------------------------------------------ r21568 | jelmer | 2007-02-27 22:37:31 +0100 (Tue, 27 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl More tests. ------------------------------------------------------------------------ r21572 | jelmer | 2007-02-28 00:47:07 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl More work towards supporting tagged types. ------------------------------------------------------------------------ r21573 | jelmer | 2007-02-28 01:19:57 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Remove more code that assumed all types are typedefs. ------------------------------------------------------------------------ r21574 | jelmer | 2007-02-28 01:28:14 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl Fix handling of DECLARE. ------------------------------------------------------------------------ r21575 | jelmer | 2007-02-28 01:35:21 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Typelist.pm M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Fix handling of is_scalar() for declares. ------------------------------------------------------------------------ r21578 | jelmer | 2007-02-28 02:51:37 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/README M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm M /branches/SAMBA_4_0/source/pidl/tests/ndr_tagtype.pl M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Use utility function for naming pull/push/print functions. ------------------------------------------------------------------------ r21579 | jelmer | 2007-02-28 03:01:58 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl Use utility function to determine function names in ejs code. ------------------------------------------------------------------------ r21584 | jelmer | 2007-02-28 14:25:53 +0100 (Wed, 28 Feb 2007) | 6 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/librpc/idl/echo.idl M /branches/SAMBA_4_0/source/pidl/README M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.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/Header.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/ndr.pl M /branches/SAMBA_4_0/source/pidl/tests/typelist.pl Support for tagged types has landed! It's now possible to use "struct foo" without a typedef in IDL files. echo_info4 is the first type that's been converted. ------------------------------------------------------------------------ r21586 | jelmer | 2007-02-28 15:56:46 +0100 (Wed, 28 Feb 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/MANIFEST update manifest ------------------------------------------------------------------------ r21654 | jelmer | 2007-03-02 15:05:52 +0100 (Fri, 02 Mar 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/tests/samba-ndr.pl Add simple test for print functions. ------------------------------------------------------------------------ r21656 | jelmer | 2007-03-02 15:53:09 +0100 (Fri, 02 Mar 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 A /branches/SAMBA_4_0/source/lib/registry/tests A /branches/SAMBA_4_0/source/lib/registry/tests/generic.c (from /branches/SAMBA_4_0/source/torture/local/registry.c:21654) A /branches/SAMBA_4_0/source/lib/socket/testsuite.c (from /branches/SAMBA_4_0/source/torture/local/socket.c:21654) A /branches/SAMBA_4_0/source/lib/tdr/testsuite.c (from /branches/SAMBA_4_0/source/torture/local/tdr.c:21654) A /branches/SAMBA_4_0/source/lib/util/tests A /branches/SAMBA_4_0/source/lib/util/tests/file.c (from /branches/SAMBA_4_0/source/torture/local/util_file.c:21654) A /branches/SAMBA_4_0/source/lib/util/tests/idtree.c (from /branches/SAMBA_4_0/source/torture/local/idtree.c:21654) A /branches/SAMBA_4_0/source/lib/util/tests/strlist.c (from /branches/SAMBA_4_0/source/torture/local/util_strlist.c:21654) A /branches/SAMBA_4_0/source/librpc/tests A /branches/SAMBA_4_0/source/librpc/tests/binding_string.c (from /branches/SAMBA_4_0/source/torture/local/binding_string.c:21654) M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm D /branches/SAMBA_4_0/source/torture/local/binding_string.c M /branches/SAMBA_4_0/source/torture/local/config.mk D /branches/SAMBA_4_0/source/torture/local/idtree.c D /branches/SAMBA_4_0/source/torture/local/registry.c D /branches/SAMBA_4_0/source/torture/local/socket.c D /branches/SAMBA_4_0/source/torture/local/tdr.c D /branches/SAMBA_4_0/source/torture/local/util_file.c D /branches/SAMBA_4_0/source/torture/local/util_strlist.c Move tests a bit closer to the things they test, should make syncing with samba3 easier. ------------------------------------------------------------------------ r21681 | jelmer | 2007-03-04 15:16:52 +0100 (Sun, 04 Mar 2007) | 5 lines Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/TODO 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/lib/Parse/Pidl/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl Fix bug in the parsing code that parsed "struct foo;" the same as "struct foo {};". Reported by one of the OpenChange folks, thanks! ------------------------------------------------------------------------ r21682 | jelmer | 2007-03-04 15:31:18 +0100 (Sun, 04 Mar 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm Remove accidently committed debug command. ------------------------------------------------------------------------ r21690 | jelmer | 2007-03-05 01:03:44 +0100 (Mon, 05 Mar 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/tests/header.pl M /branches/SAMBA_4_0/source/pidl/tests/parse_idl.pl Test use of typedef /and/ struct name ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=20992
2007-03-07 07:55:00 +00:00
sub DumpEttDeclaration
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($ett) = @_;
my $res = "\n/* Ett declarations */\n";
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
foreach (@$ett) {
$res .= "static gint $_ = -1;\n";
}
return "$res\n";
}
###############################################################################
# HF
###############################################################################
sub register_hf_field($$$$$$$$$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self,$index,$name,$filter_name,$ft_type,$base_type,$valsstring,$mask,$blurb) = @_;
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
if (defined ($self->{conformance}->{hf_renames}->{$index})) {
$self->{conformance}->{hf_renames}->{$index}->{USED} = 1;
return $self->{conformance}->{hf_renames}->{$index}->{NEWNAME};
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{conformance}->{header_fields}->{$index} = {
INDEX => $index,
NAME => $name,
FILTER => $filter_name,
FT_TYPE => $ft_type,
BASE_TYPE => $base_type,
VALSSTRING => $valsstring,
MASK => $mask,
BLURB => $blurb
};
if ((not defined($blurb) or $blurb eq "") and
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
defined($self->{conformance}->{fielddescription}->{$index})) {
$self->{conformance}->{header_fields}->{$index}->{BLURB} =
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
$self->{conformance}->{fielddescription}->{$index}->{DESCRIPTION};
$self->{conformance}->{fielddescription}->{$index}->{USED} = 1;
}
return $index;
}
sub change_hf_field_type($$$$)
{
my ($self,$index,$ft_type,$base_type) = @_;
if (defined ($self->{conformance}->{hf_renames}->{$index})) {
print "Field $index has been renamed to ".$self->{conformance}->{hf_renames}->{$index}->{NEWNAME}." you can't change it's type";
return 0;
}
if (!defined ($self->{conformance}->{header_fields}->{$index})) {
print "Field $index doesn't exists";
return 0;
}
$self->{conformance}->{header_fields}->{$index}->{FT_TYPE} = $ft_type;
$self->{conformance}->{header_fields}->{$index}->{BASE_TYPE} = $base_type;
return 1;
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub DumpHfDeclaration($)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self) = @_;
my $res = "";
$res = "\n/* Header field declarations */\n";
foreach (sort(keys %{$self->{conformance}->{header_fields}}))
{
$res .= "static gint $_ = -1;\n";
}
return "$res\n";
}
sub make_str_or_null($)
{
my $str = shift;
if (substr($str, 0, 1) eq "\"") {
$str = substr($str, 1, length($str)-2);
}
$str =~ s/^\s*//;
$str =~ s/\s*$//;
if ($str eq "") {
return "NULL";
}
return make_str($str);
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub DumpHfList($)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self) = @_;
my $res = "\tstatic hf_register_info hf[] = {\n";
foreach (sort {$a->{INDEX} cmp $b->{INDEX}} values %{$self->{conformance}->{header_fields}})
{
$res .= "\t{ &$_->{INDEX},\n".
"\t { ".make_str($_->{NAME}).", ".make_str($_->{FILTER}).", $_->{FT_TYPE}, $_->{BASE_TYPE}, $_->{VALSSTRING}, $_->{MASK}, ".make_str_or_null($_->{BLURB}).", HFILL }},\n";
}
return $res."\t};\n";
}
###############################################################################
# Function table
###############################################################################
sub DumpFunctionTable($)
{
my $if = shift;
my $res = "static dcerpc_sub_dissector $if->{NAME}\_dissectors[] = {\n";
foreach (@{$if->{FUNCTIONS}}) {
my $fn_name = $_->{NAME};
$fn_name =~ s/^$if->{NAME}_//;
$res.= "\t{ $_->{OPNUM}, \"$fn_name\",\n";
$res.= "\t $if->{NAME}_dissect_${fn_name}_request, $if->{NAME}_dissect_${fn_name}_response},\n";
}
$res .= "\t{ 0, NULL, NULL, NULL }\n";
return "$res};\n";
}
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
sub CheckUsed($$)
{
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
my ($self, $conformance) = @_;
foreach (values %{$conformance->{header_fields}}) {
Note: make test for the following update generates 1 error: --------- tests/header..............NOK 14# Failed test 'struct declaration' # in tests/header.pl at line 49. # '/* header auto-generated by pidl */ # # #include <core.h> # #include <stdint.h> # # #ifndef _HEADER_p # #define _HEADER_p # # struct x#endif /* _HEADER_p */ # ' # doesn't match '(?ms-xi:struct x;)' # Looks like you failed 1 test of 15. tests/header..............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 14 --------- Update from samba tree revision 22314 to 22657 ============================ Samba log start ============ ------------------------------------------------------------------------ r22357 | jelmer | 2007-04-19 03:26:15 +0200 (Thu, 19 Apr 2007) | 2 lines 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/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/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Don't use 'our' ------------------------------------------------------------------------ r22453 | jelmer | 2007-04-22 12:42:33 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/TDR.pm M /branches/SAMBA_4_0/source/pidl/tests/tdr.pl Fix TDR testsuite without using our. ------------------------------------------------------------------------ r22456 | jelmer | 2007-04-22 15:57:07 +0200 (Sun, 22 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/EJS.pm M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Wireshark/NDR.pm M /branches/SAMBA_4_0/source/pidl/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba-ejs.pl M /branches/SAMBA_4_0/source/pidl/tests/wireshark-ndr.pl Merge wireshark and ejs test improvements. ------------------------------------------------------------------------ r22457 | jelmer | 2007-04-22 16:19:22 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/samba3-cli.pl Fix tests for Samba3 client generator. ------------------------------------------------------------------------ r22462 | jelmer | 2007-04-22 17:59:34 +0200 (Sun, 22 Apr 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/pidl M /branches/SAMBA_4_0/source/pidl/tests/Util.pm M /branches/SAMBA_4_0/source/pidl/tests/samba-ndr.pl Fix test suite for ndr parser without using 'our' ------------------------------------------------------------------------ r22520 | jelmer | 2007-04-25 18:10:54 +0200 (Wed, 25 Apr 2007) | 1 line Changed paths: M /branches/SAMBA_4_0 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/tests/wireshark-conf.pl Fix the TYPE command. ------------------------------------------------------------------------ r22617 | metze | 2007-05-01 03:57:17 +0200 (Tue, 01 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/NDR.pm assume we have defered elements if the type is just provides via 'declare' this should fix the problem with the winbind IRPC calls metze ------------------------------------------------------------------------ r22618 | metze | 2007-05-01 04:00:57 +0200 (Tue, 01 May 2007) | 8 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/idl.yp M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/IDL.pm handle the properties related to the type and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze ------------------------------------------------------------------------ r22640 | metze | 2007-05-02 20:00:02 +0200 (Wed, 02 May 2007) | 4 lines Changed paths: M /branches/SAMBA_4_0/source/pidl/lib/Parse/Pidl/Samba4/Header.pm - generate nicer output - fix compiler warning about unused ';' metze ------------------------------------------------------------------------ ------------------------------------------------------------------------ ============================ Samba log end ============== svn path=/trunk/; revision=21671
2007-05-03 21:56:22 +00:00
if (not defined($self->{hf_used}->{$_->{INDEX}})) {
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
warning($_->{POS}, "hf field `$_->{INDEX}' not used");
}
}
foreach (values %{$conformance->{hf_renames}}) {
if (not $_->{USED}) {
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
warning($_->{POS}, "hf field `$_->{OLDNAME}' not used");
}
}
foreach (values %{$conformance->{dissectorparams}}) {
if (not $_->{USED}) {
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
warning($_->{POS}, "dissector param never used");
}
}
foreach (values %{$conformance->{imports}}) {
if (not $_->{USED}) {
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
warning($_->{POS}, "import never used");
}
}
foreach (values %{$conformance->{types}}) {
if (not $_->{USED} and defined($_->{POS})) {
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
warning($_->{POS}, "type never used");
}
}
foreach (values %{$conformance->{fielddescription}}) {
if (not $_->{USED}) {
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
warning($_->{POS}, "description never used");
}
}
foreach (values %{$conformance->{tfs}}) {
if (not $_->{USED}) {
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
warning($_->{POS}, "True/False description never used");
}
}
}
1;