summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/NDR.pm
AgeCommit message (Collapse)AuthorFilesLines
2008-08-20pidl/NDR: generate a LEVELS array for typedefsStefan Metzmacher1-0/+17
metze (This used to be commit 6785684db3446c03d8061c8bb3d94889b443d7d5)
2008-08-20pidl/NDR: correctly check for valid propertiesStefan Metzmacher1-27/+31
grep($str, @array) returns the number of elements in @array! We need grep(/^$str$/, @array) to the only the amount of matches. Also fix unitialized vars for the error case. metze (This used to be commit f002f147d8a8a0b49389e30e611ff8b33dd077e1)
2008-06-27Fix if_version for interfaces with a if_version_minor field different from 0Julien Kerihuel1-1/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit 7b6927832a1118b142d0d8a3a5548761f5a04f1a)
2008-04-08Support [todo] attribute on functions.Jelmer Vernooij1-0/+1
(This used to be commit a3e22bbcea27580c31d44dfaae04c9eef83389d4)
2008-02-07pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher1-4/+4
The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit d7970d70329e0d4f9de30ccfcedd03e583817fa2)
2008-02-07pidl: get the pointer types correct when an element has multiple pointersStefan Metzmacher1-11/+24
Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit aa8518521b2a6a7110c84c4981c53acce7389ee9)
2008-02-04pidl: remove 'pointer_default_top()' supportStefan Metzmacher1-8/+1
metze (This used to be commit 145d6c8ea0eafc69cdeca45fbf296148b890133d)
2008-02-02pidl: revert changes it didn't want to push...sorry!Stefan Metzmacher1-25/+12
8ebf16c0741085fa769fcc2929f275ab49b1ea5d Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers 6fcf2456d0e81898b5779ef1650f38b4c5363a80 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements 0569139ca2960ec5478829c3e66f7ff69bdb55cd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe rs 13afc89a87716063180723f0e9cb4f76daca837e CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element 29c104944bcad30c6a2a3fa70d527bf0ee8969de CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ... 3369015f5d8c425e1a9f9d861471028f03f163bb CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f unction metze (This used to be commit 0bcc8e53d1470ba9dfe93e5d6925b8f4c20c7c66)
2008-02-01WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher1-4/+4
The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit 6fcf2456d0e81898b5779ef1650f38b4c5363a80)
2008-02-01LOOKS OK... pidl: get the pointer types correct when an element has multiple ↵Stefan Metzmacher1-11/+24
pointers Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit 0569139ca2960ec5478829c3e66f7ff69bdb55cd)
2008-02-01pidl: cosmetic fix to use the same value everywhereStefan Metzmacher1-1/+1
metze (This used to be commit 3c191981436ab3f7dd166a87875ffbac127fbdf5)
2008-02-01pidl/IDL: don't strip ',' from the properties contentStefan Metzmacher1-1/+1
metze (This used to be commit fdf9bcb163516f7d96675ae0dce2917afb8f86d3)
2008-01-14pidl/python: Fix parsing arguments, fix more pointer issues.Jelmer Vernooij1-1/+16
(This used to be commit b00c1a072457e5083ffc24a8b74b3793d0b44eee)
2008-01-12pidl: Add function for determining whether a type has a body.Jelmer Vernooij1-1/+1
(This used to be commit 893f4102c93c1c2cd6b836f12644d06d9e31800c)
2008-01-12pidl: Remove declare tests, add more tests for typedef.Jelmer Vernooij1-1/+5
(This used to be commit 254bf85c2eb69fc2ee22d3a92a6b027a25594250)
2008-01-12pidl: Remove support for the declare keyword in other parts of the pidl code.Jelmer Vernooij1-8/+2
(This used to be commit 2fe013f715bdee6c01a833bc6c883e830bdc5dfd)
2007-10-10r25185: Check that can_contain_deferred returns true if one of the members ↵Jelmer Vernooij1-6/+4
of a type can contain deferred data. (This used to be commit 9e804e0c21f09b699707bb88d534bde55d265087)
2007-10-10r25166: Simplify can_contain_deferred and add tests for it.Jelmer Vernooij1-17/+13
(This used to be commit 1afc7dd4d33f05d58121defed88faf8fcee3df8f)
2007-10-10r25114: handle structs and unions without typedefs betterStefan Metzmacher1-3/+14
in can_contain_deffered() jelmer: we need to handle this more genericly, I assume we have a lot of other related bugs metze (This used to be commit 3e0f22c85769cac7a5f439836be7b692259ddd81)
2007-10-10r24815: Support cpp_quote().Jelmer Vernooij1-0/+1
(This used to be commit 30c1de30bb4ded16e79316c0ab43809e0e19f75d)
2007-10-10r24514: IS_* elemements sound be perl integers consistantly...Stefan Metzmacher1-12/+17
metze (This used to be commit b7d6ac5215c27f7eb4ae16e3a68b7f7fc32dcb72)
2007-10-10r24493: - it turns out thatStefan Metzmacher1-10/+34
foreach my $e (@{$union->{ELEMENTS}}) { changes $union->{ELEMENTS} from undef into an empty array. this removes the difference between struct foo { }; and struct foo; So we need to explicit return before. - we should return the same element for layout for structs and unions with no elements. - fix the testsuite to match metze (This used to be commit 5f1f50cd27e3702b79a19dbe1079498cbfc4842b)
2007-10-10r24488: enum's and bitmap's not have nested typesStefan Metzmacher1-0/+2
metze (This used to be commit 47fb2d42dfa917f5aca4daaacf53134afc22d288)
2007-10-10r24452: bail out instead of only giving a warning onStefan Metzmacher1-4/+4
incorrect idl files metze (This used to be commit 8aacab6f6a04d0f56bed945e07cd894ac1344ace)
2007-10-10r22617: assume we have defered elements if the type is just provides viaStefan Metzmacher1-0/+2
'declare' this should fix the problem with the winbind IRPC calls metze (This used to be commit 5abbb4673a49a9dee4002cc6f2ee8180b85cb5e5)
2007-10-10r21682: Remove accidently committed debug command.Jelmer Vernooij1-2/+0
(This used to be commit 74a3681d65f570acf2756b40e0ad82799b86e9ec)
2007-10-10r21681: Fix bug in the parsing code that parsed "struct foo;" the same asJelmer Vernooij1-1/+4
"struct foo {};". Reported by one of the OpenChange folks, thanks! (This used to be commit d65b520f08ea4ee82c35ff334a58aa6ffc403d67)
2007-10-10r21584: Support for tagged types has landed!Jelmer Vernooij1-1/+2
It's now possible to use "struct foo" without a typedef in IDL files. echo_info4 is the first type that's been converted. (This used to be commit 3ac68e858df9b53cf5e0a84741916214a53b3121)
2007-10-10r21574: Fix handling of DECLARE.Jelmer Vernooij1-1/+1
(This used to be commit 6a4033464bf269176f928a5b3b7e63aad1bb1e7a)
2007-10-10r21573: Remove more code that assumed all types are typedefs.Jelmer Vernooij1-7/+9
(This used to be commit bbbfbfa870c44a6148c3d4d47ff409098e85fcc3)
2007-10-10r21572: More work towards supporting tagged types.Jelmer Vernooij1-6/+10
(This used to be commit 4d28396f0928444406334888f4bc345e74a380df)
2007-10-10r21484: Fix Needed* for nested datastructures.Jelmer Vernooij1-0/+16
(This used to be commit ec3c9ebfd0de287411ce399967409f902653d5c6)
2007-10-10r21457: Cope with anonymous nested types in the NDR layer. This doesn't handledJelmer Vernooij1-18/+19
named nested types yet, as these have to be registered. (This used to be commit 9b0416b5d06286c81c73477a24cb591fd4b23d18)
2007-10-10r21430: Support tagged types without typedef. This means:Jelmer Vernooij1-23/+61
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(). (This used to be commit a716aa70f0c90898e6fcf57d63a2cf4c40e7d4df)
2007-10-10r21428: Handle representation types in Needed().Jelmer Vernooij1-2/+2
(This used to be commit 34517c69e67d7eafa00e6fe0072bd04f074cdbde)
2007-10-10r21222: Merge a couple of pidl fixes:Jelmer Vernooij1-2/+5
* 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. (This used to be commit 37c0da541e3962164d5af3e3c9560803a733f3b7)
2007-10-10r20631: Add some tests for the ndr parser.Jelmer Vernooij1-1/+2
(This used to be commit ded25eca701b8e3e0e13e7ef64d5511d8953eb0d)
2007-10-10r20511: Combine warnings/errors/fatal functions and move them to Parse::Pidl.Jelmer Vernooij1-31/+18
(This used to be commit 959adfd0a682a4894c3bdd4ae9c6fc3ebfeeef1f)
2007-10-10r19856: Use sptr as basis for full ptr implementation. Will add checks for ↵Jelmer Vernooij1-12/+3
duplicates later. (This used to be commit 006ab1d4a449c81680add57e0116a86b8317fbfb)
2007-10-10r19854: readd support for 'sptr' pointers, to work against windows serversStefan Metzmacher1-3/+4
until jelmer commits his 'ptr' support metze (This used to be commit f5aa620b1bc5b0da866cbdb71947ef25a4bae0ad)
2007-10-10r19845: Add warning for pointer_default_top()Jelmer Vernooij1-1/+2
(This used to be commit 3f0da2388d30959c93483b102fbfab75a8381fef)
2007-10-10r19842: Complain about unknown pointer types.Jelmer Vernooij1-3/+8
Fallback to "unique" when "ptr" is specified instead of failing. (This used to be commit a1b6308b21f3c38ffd4db4643a5e307fbf32a569)
2007-10-10r19834: Prevent some inaccurate warnings.Jelmer Vernooij1-2/+3
(This used to be commit 21efd2bdb8df8e709259d429fc3ff35eaa332d02)
2007-10-10r19830: Warn about non-ref top-level pointers.Jelmer Vernooij1-4/+5
(This used to be commit 78153200ac45ce7333c91c48ded549b5eed5e077)
2007-10-10r19752: Remove support for the `depends' attribute (use "import") instead.Jelmer Vernooij1-5/+0
(This used to be commit 324395afc725e90f44f286fd776b38a64bdc8e3b)
2007-10-10r19585: Add support for some more standard IDL instructions:Jelmer Vernooij1-0/+11
- `include' (replaces helper()) - `import' (replaces depends()) Add support for parsing importlib() - importlib() is now ignored (with a warning), but no longer causes syntax errors. helper() and depends() are now marked deprecated and will cause warnings. (This used to be commit 1ccab71cb8a9e3db9448b6679d01ad00e1c1e9a3)
2007-10-10r19544: Fix case of 'warning'.Jelmer Vernooij1-1/+1
(This used to be commit 4f1f541837db31322d875b6d2452c3f3a0d37fcd)
2007-10-10r18639: Get rid of the keepref supportJelmer Vernooij1-23/+0
(This used to be commit d1364ef0cd8f1a64f44476476323ab390ac4de48)
2007-10-10r18559: [string] always applies to the last pointerJelmer Vernooij1-1/+2
(This used to be commit 86b4624226d6e72645221cadb8669b0f1aba0903)
2007-10-10r18554: Fix warnings about [out] arguments.Jelmer Vernooij1-5/+9
(This used to be commit caac6cf817b09c864554e992f89437f6205b948b)