summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse/Pidl/NDR.pm
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r18523: Allow [out] on arrays as well as pointers, use in unixinfo.Jelmer Vernooij1-3/+4
(This used to be commit f67b4d58acd2c3746e5ffeffa804e888ca3c49a5)
2007-10-10r15776: Don't generate ref pointers in Samba4-generated code. There is no pointJelmer Vernooij1-2/+24
in having pointers for outgoing data when you can already modify the top-level element. This can be overridden (temporarily) by specifying the new "keepref" attribute. Once we've removed keepref from all IDL files, I'll remove this attribute as well. (This used to be commit bdc6dd37503ced8322a671d225122ccffbb8bfec)
2007-10-10r15652: Fix aliases mechanism (fixes #3710)Jelmer Vernooij1-2/+4
(This used to be commit 3e89ef0875c5c8ccaafa9694d27a8043930127e6)
2007-10-10r15593: Warn about [out] arguments that are not pointers. These can all beJelmer Vernooij1-0/+5
fixed by adding [ref] pointers. This will cause a lot of warnings to be outputted by pidl for now. I will fix these gradually over the next few days. We need to avoid [out] arguments that are not pointers because they are not understood by other IDL compilers and don't work with some of our output modules (Samba3, Samba3NDR and ethereal) (This used to be commit c4ab021ee8d93aa74f15deebf64a366b33b7bb9f)
2007-10-10r15327: Support 'nosize'. Also write prototypes for print and size functions ↵Jelmer Vernooij1-0/+1
that are manually written. (This used to be commit f10b38b824d0ddfdccea498b7522efcc03a020d0)
2007-10-10r14692: Get rid of the obfuscation() attributeJelmer Vernooij1-6/+0
(This used to be commit 122d1d0249800d51e45ce0d092c97f1f9bf2c7d5)
2007-10-10r14691: Fix printing elements with represent_as setJelmer Vernooij1-0/+4
(This used to be commit f4428db2f922e921c54cdb0849eaad5018cb5a01)
2007-10-10r14687: Start working on support for represent_as() and transmit_as() asJelmer Vernooij1-3/+20
an alternative to subcontext() (This used to be commit 744402160d5f994f5440553bb726e95a13033a83)
2007-10-10r14686: Fix pidl testsuite to run whenever there is a shared libary builtJelmer Vernooij1-1/+5
Samba present. Ignore tests that are known to fail for now. (This used to be commit a7279f13f0431a5036c931c5339542f98139c461)
2007-10-10r14361: Support 'helper' attribute in pidl and use it.Jelmer Vernooij1-0/+1
Remove some headers from include/includes.h (they're now only included in the file they are used) (This used to be commit 7213b7498eacac2c2cd03cf6aace376ce153cc7c)
2007-10-10r13738: added support for a "pointer" type in pidl. This will be used in theAndrew Tridgell1-0/+1
opendb work that will be committed shortly. The pointer type assumes that pointers fit in 64 bits, which is probably OK on all our supported architectures. (This used to be commit d2a2057ea5af140ca88a9c305a38fc5dca9eaafd)
2007-10-10r12572: No longer parse coclasses as interfacesJelmer Vernooij1-1/+3
(This used to be commit f75f757b621a46ea531c27ac682623829a4fdea7)
2007-10-10r12484: Initial work on supporting non-typedeffed typesJelmer Vernooij1-33/+36
(This used to be commit e7ac6c708dde7afb4c92a8cc4dea7a95b7054e3e)
2007-10-10r12470: Add helper module for pidl testsJelmer Vernooij1-0/+2
Convert other pidl tests to use Test::More and run them from 'make test' (This used to be commit 3a57d29a62112ab654e290ccc985fba7f67664c5)
2007-10-10r12464: Add simple IDL parsing tests for pidl using the standard perlJelmer Vernooij1-9/+15
testing framework (Test::Simple, distributed with perl itself). Run these tests from 'make test' (This used to be commit 975d8816db6697dab828941b69a740e3a0a2c272)
2007-10-10r11997: for multidimentional array like this:Stefan Metzmacher1-2/+3
uint32 [num_level2][num_level1][num_level0] fix the order they're pushed and pulled, it should be like this for (l2=0; l2 < num_level2; l2++) { for (l1=0; l1 < num_level1; l1++) { for (l0=0; l0 < num_level0; l0++) { ndr_pull_uint32(...); } } } metze (This used to be commit c10195f31383f51911edd8a32f8b5d5857d5bf2d)