2005-09-19 23:31:47 +00:00
|
|
|
########################
|
|
|
|
# IDL Parse::Yapp parser
|
|
|
|
# Copyright (C) Andrew Tridgell <tridge@samba.org>
|
|
|
|
# released under the GNU GPL version 2 or later
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# the precedence actually doesn't matter at all for this grammar, but
|
|
|
|
# by providing a precedence we reduce the number of conflicts
|
|
|
|
# enormously
|
|
|
|
%left '-' '+' '&' '|' '*' '>' '.' '/' '(' ')' '[' ',' ';'
|
|
|
|
|
|
|
|
|
|
|
|
################
|
|
|
|
# grammar
|
|
|
|
%%
|
|
|
|
idl:
|
|
|
|
#empty { {} }
|
|
|
|
| idl interface { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
| idl coclass { push(@{$_[1]}, $_[2]); $_[1] }
|
2006-11-07 07:52:53 +00:00
|
|
|
| idl import { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
| idl include { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
| idl importlib { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
;
|
|
|
|
|
|
|
|
import: 'import' commalist ';' {{
|
|
|
|
"TYPE" => "IMPORT",
|
|
|
|
"PATHS" => $_[2],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2006-11-07 07:52:53 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE}
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
include: 'include' commalist ';' {{
|
|
|
|
"TYPE" => "INCLUDE",
|
|
|
|
"PATHS" => $_[2],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2006-11-07 07:52:53 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE}
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
importlib: 'importlib' commalist ';' {{
|
|
|
|
"TYPE" => "IMPORTLIB",
|
|
|
|
"PATHS" => $_[2],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2006-11-07 07:52:53 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE}
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
commalist:
|
|
|
|
text { [ $_[1] ] }
|
|
|
|
| commalist ',' text { push(@{$_[1]}, $_[3]); $_[1] }
|
2005-09-19 23:31:47 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
coclass: property_list 'coclass' identifier '{' interface_names '}' optional_semicolon
|
2006-11-07 07:52:53 +00:00
|
|
|
{{
|
2005-09-19 23:31:47 +00:00
|
|
|
"TYPE" => "COCLASS",
|
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"DATA" => $_[5],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
interface_names:
|
|
|
|
#empty { {} }
|
|
|
|
| interface_names 'interface' identifier ';' { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
;
|
|
|
|
|
|
|
|
interface: property_list 'interface' identifier base_interface '{' definitions '}' optional_semicolon
|
2006-11-07 07:52:53 +00:00
|
|
|
{{
|
2005-09-19 23:31:47 +00:00
|
|
|
"TYPE" => "INTERFACE",
|
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"BASE" => $_[4],
|
|
|
|
"DATA" => $_[6],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
base_interface:
|
|
|
|
#empty
|
|
|
|
| ':' identifier { $_[2] }
|
|
|
|
;
|
|
|
|
|
|
|
|
definitions:
|
|
|
|
definition { [ $_[1] ] }
|
|
|
|
| definitions definition { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
definition: function | const | typedef | declare | typedecl
|
|
|
|
;
|
|
|
|
|
2005-10-18 14:59:30 +00:00
|
|
|
const: 'const' identifier pointers identifier '=' anytext ';'
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "CONST",
|
|
|
|
"DTYPE" => $_[2],
|
2005-10-18 14:59:30 +00:00
|
|
|
"POINTERS" => $_[3],
|
|
|
|
"NAME" => $_[4],
|
|
|
|
"VALUE" => $_[6],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
2005-10-18 14:59:30 +00:00
|
|
|
| 'const' identifier pointers identifier array_len '=' anytext ';'
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "CONST",
|
|
|
|
"DTYPE" => $_[2],
|
2005-10-18 14:59:30 +00:00
|
|
|
"POINTERS" => $_[3],
|
|
|
|
"NAME" => $_[4],
|
|
|
|
"ARRAY_LEN" => $_[5],
|
|
|
|
"VALUE" => $_[7],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
function: property_list type identifier '(' element_list2 ')' ';'
|
|
|
|
{{
|
|
|
|
"TYPE" => "FUNCTION",
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"RETURN_TYPE" => $_[2],
|
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"ELEMENTS" => $_[5],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
declare: 'declare' property_list decl_type identifier';'
|
|
|
|
{{
|
|
|
|
"TYPE" => "DECLARE",
|
|
|
|
"PROPERTIES" => $_[2],
|
|
|
|
"NAME" => $_[4],
|
|
|
|
"DATA" => $_[3],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
2006-08-14 21:24:00 +00:00
|
|
|
decl_type: decl_enum | decl_bitmap | decl_union
|
2005-09-19 23:31:47 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
decl_enum: 'enum'
|
|
|
|
{{
|
|
|
|
"TYPE" => "ENUM"
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
decl_bitmap: 'bitmap'
|
|
|
|
{{
|
|
|
|
"TYPE" => "BITMAP"
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
2006-08-14 21:24:00 +00:00
|
|
|
decl_union: 'union'
|
|
|
|
{{
|
|
|
|
"TYPE" => "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
|
|
|
typedef: property_list 'typedef' type identifier array_len ';'
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "TYPEDEF",
|
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
|
|
|
"PROPERTIES" => $_[1],
|
2005-09-19 23:31:47 +00:00
|
|
|
"NAME" => $_[4],
|
|
|
|
"DATA" => $_[3],
|
|
|
|
"ARRAY_LEN" => $_[5],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
usertype: struct | union | enum | bitmap;
|
|
|
|
|
|
|
|
typedecl: usertype ';' { $_[1] };
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
sign: 'signed' | 'unsigned';
|
|
|
|
|
|
|
|
existingtype:
|
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
|
|
|
sign identifier { ($_[1]?$_[1]:"signed") ." $_[2]" }
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
| identifier
|
2005-09-19 23:31:47 +00:00
|
|
|
;
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
type: usertype | existingtype | void { "void" } ;
|
|
|
|
|
|
|
|
enum_body: '{' enum_elements '}' { $_[2] };
|
|
|
|
opt_enum_body: | enum_body;
|
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
|
|
|
enum: property_list 'enum' optional_identifier opt_enum_body
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "ENUM",
|
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
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"ELEMENTS" => $_[4]
|
2005-09-19 23:31:47 +00:00
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
enum_elements:
|
|
|
|
enum_element { [ $_[1] ] }
|
|
|
|
| enum_elements ',' enum_element { push(@{$_[1]}, $_[3]); $_[1] }
|
|
|
|
;
|
|
|
|
|
|
|
|
enum_element: identifier
|
|
|
|
| identifier '=' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
;
|
|
|
|
|
2006-09-07 13:22:45 +00:00
|
|
|
bitmap_body: '{' opt_bitmap_elements '}' { $_[2] };
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
opt_bitmap_body: | bitmap_body;
|
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: property_list 'bitmap' optional_identifier opt_bitmap_body
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "BITMAP",
|
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
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"ELEMENTS" => $_[4]
|
2005-09-19 23:31:47 +00:00
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
bitmap_elements:
|
|
|
|
bitmap_element { [ $_[1] ] }
|
|
|
|
| bitmap_elements ',' bitmap_element { push(@{$_[1]}, $_[3]); $_[1] }
|
|
|
|
;
|
|
|
|
|
2006-09-07 13:22:45 +00:00
|
|
|
opt_bitmap_elements: | bitmap_elements;
|
|
|
|
|
2005-09-19 23:31:47 +00:00
|
|
|
bitmap_element: identifier '=' anytext { "$_[1] ( $_[3] )" }
|
|
|
|
;
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
struct_body: '{' element_list1 '}' { $_[2] };
|
|
|
|
opt_struct_body: | struct_body;
|
|
|
|
|
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
|
|
|
struct: property_list 'struct' optional_identifier opt_struct_body
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "STRUCT",
|
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
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"ELEMENTS" => $_[4]
|
2005-09-19 23:31:47 +00:00
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
empty_element: property_list ';'
|
|
|
|
{{
|
|
|
|
"NAME" => "",
|
|
|
|
"TYPE" => "EMPTY",
|
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"POINTERS" => 0,
|
|
|
|
"ARRAY_LEN" => [],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
base_or_empty: base_element ';' | empty_element;
|
|
|
|
|
|
|
|
optional_base_element:
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
property_list base_or_empty { $_[2]->{PROPERTIES} = FlattenHash([$_[1],$_[2]->{PROPERTIES}]); $_[2] }
|
2005-09-19 23:31:47 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
union_elements:
|
|
|
|
#empty
|
|
|
|
| union_elements optional_base_element { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
;
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
union_body: '{' union_elements '}' { $_[2] };
|
|
|
|
opt_union_body: | union_body;
|
|
|
|
|
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
|
|
|
union: property_list 'union' optional_identifier opt_union_body
|
2005-09-19 23:31:47 +00:00
|
|
|
{{
|
|
|
|
"TYPE" => "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
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"NAME" => $_[3],
|
|
|
|
"ELEMENTS" => $_[4]
|
2005-09-19 23:31:47 +00:00
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
base_element: property_list type pointers identifier array_len
|
|
|
|
{{
|
|
|
|
"NAME" => $_[4],
|
|
|
|
"TYPE" => $_[2],
|
|
|
|
"PROPERTIES" => $_[1],
|
|
|
|
"POINTERS" => $_[3],
|
|
|
|
"ARRAY_LEN" => $_[5],
|
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
|
|
|
"FILE" => $_[0]->YYData->{FILE},
|
2005-09-19 23:31:47 +00:00
|
|
|
"LINE" => $_[0]->YYData->{LINE},
|
|
|
|
}}
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
pointers:
|
|
|
|
#empty
|
|
|
|
{ 0 }
|
|
|
|
| pointers '*' { $_[1]+1 }
|
|
|
|
;
|
|
|
|
|
|
|
|
element_list1:
|
|
|
|
#empty
|
|
|
|
| element_list1 base_element ';' { push(@{$_[1]}, $_[2]); $_[1] }
|
|
|
|
;
|
|
|
|
|
|
|
|
element_list2:
|
|
|
|
#empty
|
|
|
|
| 'void'
|
|
|
|
| base_element { [ $_[1] ] }
|
|
|
|
| element_list2 ',' base_element { push(@{$_[1]}, $_[3]); $_[1] }
|
|
|
|
;
|
|
|
|
|
|
|
|
array_len:
|
|
|
|
#empty { [] }
|
|
|
|
| '[' ']' array_len { push(@{$_[3]}, "*"); $_[3] }
|
|
|
|
| '[' anytext ']' array_len { push(@{$_[4]}, "$_[2]"); $_[4] }
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
property_list:
|
|
|
|
#empty
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
| property_list '[' properties ']' { FlattenHash([$_[1],$_[3]]); }
|
2005-09-19 23:31:47 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
properties: property { $_[1] }
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
| properties ',' property { FlattenHash([$_[1], $_[3]]); }
|
2005-09-19 23:31:47 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
property: identifier {{ "$_[1]" => "1" }}
|
|
|
|
| identifier '(' listtext ')' {{ "$_[1]" => "$_[3]" }}
|
|
|
|
;
|
|
|
|
|
|
|
|
listtext:
|
|
|
|
anytext
|
|
|
|
| listtext ',' anytext { "$_[1] $_[3]" }
|
|
|
|
;
|
|
|
|
|
|
|
|
commalisttext:
|
|
|
|
anytext
|
|
|
|
| commalisttext ',' anytext { "$_[1],$_[3]" }
|
|
|
|
;
|
|
|
|
|
|
|
|
anytext: #empty
|
|
|
|
{ "" }
|
|
|
|
| identifier | constant | text
|
|
|
|
| anytext '-' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '.' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '*' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '>' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '<' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '|' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '&' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '/' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '?' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext ':' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '=' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '+' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '~' anytext { "$_[1]$_[2]$_[3]" }
|
|
|
|
| anytext '(' commalisttext ')' anytext { "$_[1]$_[2]$_[3]$_[4]$_[5]" }
|
|
|
|
| anytext '{' commalisttext '}' anytext { "$_[1]$_[2]$_[3]$_[4]$_[5]" }
|
|
|
|
;
|
|
|
|
|
|
|
|
identifier: IDENTIFIER
|
|
|
|
;
|
|
|
|
|
|
|
|
optional_identifier:
|
|
|
|
IDENTIFIER
|
|
|
|
| #empty { undef }
|
|
|
|
;
|
|
|
|
|
|
|
|
constant: CONSTANT
|
|
|
|
;
|
|
|
|
|
|
|
|
text: TEXT { "\"$_[1]\"" }
|
|
|
|
;
|
|
|
|
|
|
|
|
optional_semicolon:
|
|
|
|
#empty
|
|
|
|
| ';'
|
|
|
|
;
|
|
|
|
|
|
|
|
|
|
|
|
#####################################
|
|
|
|
# start code
|
|
|
|
%%
|
|
|
|
|
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 qw(error);
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
#####################################################################
|
|
|
|
# flatten an array of hashes into a single hash
|
|
|
|
sub FlattenHash($)
|
|
|
|
{
|
|
|
|
my $a = shift;
|
|
|
|
my %b;
|
|
|
|
for my $d (@{$a}) {
|
|
|
|
for my $k (keys %{$d}) {
|
|
|
|
$b{$k} = $d->{$k};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return \%b;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2005-09-19 23:31:47 +00:00
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# traverse a perl data structure removing any empty arrays or
|
|
|
|
# hashes and any hash elements that map to undef
|
|
|
|
sub CleanData($)
|
|
|
|
{
|
|
|
|
sub CleanData($);
|
|
|
|
my($v) = shift;
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
return undef if (not defined($v));
|
2005-09-19 23:31:47 +00:00
|
|
|
if (ref($v) eq "ARRAY") {
|
|
|
|
foreach my $i (0 .. $#{$v}) {
|
|
|
|
CleanData($v->[$i]);
|
|
|
|
if (ref($v->[$i]) eq "ARRAY" && $#{$v->[$i]}==-1) {
|
|
|
|
$v->[$i] = undef;
|
|
|
|
next;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
# this removes any undefined elements from the array
|
|
|
|
@{$v} = grep { defined $_ } @{$v};
|
|
|
|
} elsif (ref($v) eq "HASH") {
|
|
|
|
foreach my $x (keys %{$v}) {
|
|
|
|
CleanData($v->{$x});
|
|
|
|
if (!defined $v->{$x}) { delete($v->{$x}); next; }
|
|
|
|
if (ref($v->{$x}) eq "ARRAY" && $#{$v->{$x}}==-1) { delete($v->{$x}); next; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return $v;
|
|
|
|
}
|
|
|
|
|
|
|
|
sub _Error {
|
|
|
|
if (exists $_[0]->YYData->{ERRMSG}) {
|
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($_[0]->YYData, $_[0]->YYData->{ERRMSG});
|
2005-09-19 23:31:47 +00:00
|
|
|
delete $_[0]->YYData->{ERRMSG};
|
|
|
|
return;
|
|
|
|
};
|
|
|
|
my $last_token = $_[0]->YYData->{LAST_TOKEN};
|
|
|
|
|
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($_[0]->YYData, "Syntax error near '$last_token'");
|
2005-09-19 23:31:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub _Lexer($)
|
|
|
|
{
|
|
|
|
my($parser)=shift;
|
|
|
|
|
|
|
|
$parser->YYData->{INPUT} or return('',undef);
|
|
|
|
|
|
|
|
again:
|
|
|
|
$parser->YYData->{INPUT} =~ s/^[ \t]*//;
|
|
|
|
|
|
|
|
for ($parser->YYData->{INPUT}) {
|
|
|
|
if (/^\#/) {
|
|
|
|
if (s/^\# (\d+) \"(.*?)\"( \d+|)//) {
|
|
|
|
$parser->YYData->{LINE} = $1-1;
|
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
|
|
|
$parser->YYData->{FILE} = $2;
|
2005-09-19 23:31:47 +00:00
|
|
|
goto again;
|
|
|
|
}
|
|
|
|
if (s/^\#line (\d+) \"(.*?)\"( \d+|)//) {
|
|
|
|
$parser->YYData->{LINE} = $1-1;
|
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
|
|
|
$parser->YYData->{FILE} = $2;
|
2005-09-19 23:31:47 +00:00
|
|
|
goto again;
|
|
|
|
}
|
|
|
|
if (s/^(\#.*)$//m) {
|
|
|
|
goto again;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (s/^(\n)//) {
|
|
|
|
$parser->YYData->{LINE}++;
|
|
|
|
goto again;
|
|
|
|
}
|
|
|
|
if (s/^\"(.*?)\"//) {
|
|
|
|
$parser->YYData->{LAST_TOKEN} = $1;
|
|
|
|
return('TEXT',$1);
|
|
|
|
}
|
|
|
|
if (s/^(\d+)(\W|$)/$2/) {
|
|
|
|
$parser->YYData->{LAST_TOKEN} = $1;
|
|
|
|
return('CONSTANT',$1);
|
|
|
|
}
|
|
|
|
if (s/^([\w_]+)//) {
|
|
|
|
$parser->YYData->{LAST_TOKEN} = $1;
|
|
|
|
if ($1 =~
|
|
|
|
/^(coclass|interface|const|typedef|declare|union
|
2006-11-07 07:52:53 +00:00
|
|
|
|struct|enum|bitmap|void|unsigned|signed|import|include
|
|
|
|
|importlib)$/x) {
|
2005-09-19 23:31:47 +00:00
|
|
|
return $1;
|
|
|
|
}
|
|
|
|
return('IDENTIFIER',$1);
|
|
|
|
}
|
|
|
|
if (s/^(.)//s) {
|
|
|
|
$parser->YYData->{LAST_TOKEN} = $1;
|
|
|
|
return($1,$1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
sub parse_string
|
2005-09-19 23:31:47 +00:00
|
|
|
{
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
my ($data,$filename) = @_;
|
|
|
|
|
|
|
|
my $self = new Parse::Pidl::IDL;
|
|
|
|
|
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
|
|
|
$self->YYData->{FILE} = $filename;
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
$self->YYData->{INPUT} = $data;
|
|
|
|
$self->YYData->{LINE} = 0;
|
|
|
|
$self->YYData->{LAST_TOKEN} = "NONE";
|
|
|
|
|
|
|
|
my $idl = $self->YYParse( yylex => \&_Lexer, yyerror => \&_Error );
|
|
|
|
|
|
|
|
return CleanData($idl);
|
|
|
|
}
|
|
|
|
|
2006-11-06 20:21:02 +00:00
|
|
|
sub parse_file($$)
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
{
|
2006-11-06 20:21:02 +00:00
|
|
|
my ($filename,$incdirs) = @_;
|
2005-09-19 23:31:47 +00:00
|
|
|
|
|
|
|
my $saved_delim = $/;
|
|
|
|
undef $/;
|
|
|
|
my $cpp = $ENV{CPP};
|
|
|
|
if (! defined $cpp) {
|
|
|
|
$cpp = "cpp";
|
|
|
|
}
|
2006-11-07 07:52:53 +00:00
|
|
|
my $includes = join('',map { " -I$_" } @$incdirs);
|
2006-11-06 20:21:02 +00:00
|
|
|
my $data = `$cpp -D__PIDL__$includes -xc $filename`;
|
2005-09-19 23:31:47 +00:00
|
|
|
$/ = $saved_delim;
|
|
|
|
|
Update from samba tree revision 12430 to 12487
============================ Samba log start ============
------------------------------------------------------------------------
r12462 | jelmer | 2005-12-24 22:57:51 +0100 (Sat, 24 Dec 2005) | 2 lines
Hide oo magic from callers of the parser
------------------------------------------------------------------------
r12463 | jelmer | 2005-12-24 23:11:44 +0100 (Sat, 24 Dec 2005) | 2 lines
Rename 'Samba' namespace to 'Samba4'
------------------------------------------------------------------------
r12464 | jelmer | 2005-12-25 00:32:50 +0100 (Sun, 25 Dec 2005) | 4 lines
Add simple IDL parsing tests for pidl using the standard perl
testing framework (Test::Simple, distributed with perl itself).
Run these tests from 'make test'
------------------------------------------------------------------------
r12465 | jelmer | 2005-12-25 02:33:35 +0100 (Sun, 25 Dec 2005) | 3 lines
Merge Parse::Pidl::Samba4::NDR::Header into
Parse::Pidl::Samba4::NDR::Parser.
Small optimization to avoid including NDR headers multiple times
------------------------------------------------------------------------
r12470 | jelmer | 2005-12-25 04:04:13 +0100 (Sun, 25 Dec 2005) | 3 lines
Add helper module for pidl tests
Convert other pidl tests to use Test::More and run them from 'make test'
------------------------------------------------------------------------
r12480 | jelmer | 2005-12-25 15:11:59 +0100 (Sun, 25 Dec 2005) | 2 lines
Extend testsuite
------------------------------------------------------------------------
r12481 | jelmer | 2005-12-25 15:59:21 +0100 (Sun, 25 Dec 2005) | 4 lines
Move parser-specific utility functions to idl.yp, remove some unused
functions
Allow the use of non-typedef structs and unions when declaring
variables. Allow the
use of the 'signed' and 'unsigned' qualifiers for integer types
------------------------------------------------------------------------
r12482 | jelmer | 2005-12-25 15:59:39 +0100 (Sun, 25 Dec 2005) | 2 lines
Add some more tests
------------------------------------------------------------------------
r12483 | jelmer | 2005-12-25 16:19:55 +0100 (Sun, 25 Dec 2005) | 2 lines
Remove --tdr-header option (merged into --tdr-parser)
------------------------------------------------------------------------
r12484 | jelmer | 2005-12-25 18:12:52 +0100 (Sun, 25 Dec 2005) | 2 lines
Initial work on supporting non-typedeffed types
------------------------------------------------------------------------
============================ Samba log end ==============
svn path=/trunk/; revision=16896
2005-12-26 00:47:24 +00:00
|
|
|
return parse_string($data, $filename);
|
2005-09-19 23:31:47 +00:00
|
|
|
}
|