summaryrefslogtreecommitdiff
path: root/source4/build/pidl/ndr_parser.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7121: More subcontext fixes. A subcontext does not always imply internally ↵Jelmer Vernooij1-5/+1
deferred data, though it might. (This used to be commit cf522ba372216da3dae0c534a6a698c21a484ab7)
2007-10-10r7118: allways pull scalars and buffers when pulling the subcontext contextStefan Metzmacher1-5/+5
(this, is not the full fix, still doesn't work :-( ) metze (This used to be commit 9a858b5614db8dfed13f76099bf042182dfa4a0c)
2007-10-10r7098: - make use of the NDR table instead of the IDL table in the client ↵Stefan Metzmacher1-0/+3
and server generation - add 'noid' property to allow functions to be not present in the function table, and not generate client and server functions for them - print out a warning about [id()] not being correctly supported yet metze (This used to be commit 189730d1430e7f728d62dd5dc52f2a90c1a556d7)
2007-10-10r7084: - readd the work from rev 6516,6517,6572Stefan Metzmacher1-10/+8
- use a single list of scalars - let "string" not be so special anymore - fix support for "string_array" metze (This used to be commit e1fa7ae6c8420dc582578e084b9c0d641bcfbd73)
2007-10-10r7059: Use namespaces for pidl and the build system, so we can later onJelmer Vernooij1-2/+2
call out to the build system to compile the various pidl tests (without having to rely on shared library support). Initial work on an ndr_array test. (This used to be commit 2b08c4b92b4f56180c123a502bdcc6c40188c07f)
2007-10-10r7036: Allow more operations in several properties (such as size_is, length_is,Jelmer Vernooij1-21/+11
switch_is, etc) and simplify the code involved (This used to be commit 86de98ee09348297f2c30ce15888ba5e5637c078)
2007-10-10r6973: Merge new version of pidl into the main SAMBA_4_0 branch.Jelmer Vernooij1-898/+975
The main difference in this new version is the extra data structure generated between the IDL data structure and the NDR parser: IDL -> NDR -> { ndr_parser, ndr_header, eparser, etc } This makes the ndr_parser.pm internals much more sane. Other changes include: - Remove unnecessary calls with NDR_BUFFERS (for example, GUID doesn't have any buffers, just scalars) as well as some (unnecessary) nested setting of flags. - Parse array loops in the C code rather then calling ndr_pull_array(). This allows us to have, for example, arrays of pointers or arrays of pointers to arrays, etc.. - Use if() {} rather then if () goto foo; everywhere - NDR_IN no longer implies LIBNDR_FLAG_REF_ALLOC - By default, top level pointers are now "ref" (as is the default in most other IDL compilers). This can be overridden using the default_pointer_top() property. - initial work on new ethereal parser generators by Alan DeKok and me - pidl now writes errors in the standard format used by compilers, which is parsable by most editors - ability to warn about the fact that pidl extension(s) have been used, useful for making sure IDL files work with other IDL compilers. oh, and there's probably some other things I can't think of right now.. (This used to be commit 13cf227615f6b9e0e5fa62e59197024410254f01)
2007-10-10r6350: Add a newline to make things look prettier.Tim Potter1-0/+1
(This used to be commit 0e6be68dafb8979bcc2cb633c816e3f80e9441c1)
2007-10-10r6294: - add obfuscate support, which is used in MAPI rpc's, (the ^= 0xA5 ↵Stefan Metzmacher1-22/+76
stuff), based on a patch from j.kerihuel@openchange.org - remove unused $ndr_flags argument for the ParseCompression*Start() function's metze (This used to be commit 27ccdd61822ba1a24244086522b9f8fe97fe0a78)
2007-10-10r6190: fix gensize on unionsStefan Metzmacher1-1/+2
metze (This used to be commit 661e64e9ce91e8029e1a36ef6825e56e5460e32b)
2007-10-10r6180: Use token_lists for storing switch valuesJelmer Vernooij1-6/+10
(This used to be commit f66e11137eed69b44f0739f1064625cbd96243bd)
2007-10-10r6159: Move some more general ndr stuff (alignment calculations) to ndr.pmJelmer Vernooij1-102/+10
(This used to be commit f4d550c348e9604439f07329ddbc3cf65891d578)
2007-10-10r6143: Put compression support in the subcontext handling functions ratherJelmer Vernooij1-45/+36
then at the element level. (This used to be commit fac5edd2b71759c82232713f77ab91b41ed09250)
2007-10-10r6061: add start of compression support in our rpc codeStefan Metzmacher1-4/+134
this is not complete cuurently... but I want other people to test it and help me on finishing it. (try to change the #if 0 in torture/rpc/drsuapi.c into #if 1) metze (This used to be commit 335adef37082a78e0426decb715629bd778e6582)
2007-10-10r5853: Move some of the functions not specific to the Samba NDR parser generatorJelmer Vernooij1-178/+48
to a new ndr.pm. Add function that can generate a "OrderTable" describing the order in which the NDR data will be pushed/pulled. (This used to be commit 2603a7326d7e54a012a95e37fd54433b85d8acc4)
2007-10-10r5852: Rename ndr.pm to ndr_parser.pmJelmer Vernooij1-0/+2275
I'm going to add a ndr.pm later on that'll generate a tree with necessary information for the two NDR backends (eparser, ndr_parser) containing alignment info, etc. (This used to be commit 5162daa9464cd64930f5a8fd0d7b381b122c931d)