summaryrefslogtreecommitdiff
path: root/source4/pidl/lib
AgeCommit message (Collapse)AuthorFilesLines
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-10r24490: For ParseBitmap() we use Parse::Pidl::Typelist::bitmap_type_fn()Stefan Metzmacher1-2/+2
so for ParseEnum() we should also use Parse::Pidl::Typelist::enum_type_fn(). Also the base_type() property isn't standard IDL and we should not support it. This changes TDR enum to also to default to uint16 (as with NDR enums). metze (This used to be commit 13144bdea914f92b5e15fa807fa7ef7c4d6510a2)
2007-10-10r24489: only typedef enum { ... } foo; enum's should lookStefan Metzmacher1-1/+11
for has_properties() of $enum->{PARENT} metze (This used to be commit 65f3bb8c19971c605fb81fa66317e2ee99132edc)
2007-10-10r24488: enum's and bitmap's not have nested typesStefan Metzmacher1-0/+2
metze (This used to be commit 47fb2d42dfa917f5aca4daaacf53134afc22d288)
2007-10-10r24484: pass down $ndr tree instead of the $pidl tree to Samba4/Header.pmStefan Metzmacher1-14/+11
metze (This used to be commit 212e8ec8d51b75fdfed5ae1ea228133811186a72)
2007-10-10r24482: white space cleanup only...Stefan Metzmacher1-103/+104
metze (This used to be commit 8a23db61e425d10a6f9710a277497d60b114a753)
2007-10-10r24463: we have a function to correctly create an $env objectStefan Metzmacher1-4/+3
so don't try it manually and introduce bugs:-) metze (This used to be commit a79129a4ae412f29a0d730f49327269a92ec8402)
2007-10-10r24454: when level 0 is a pointer we need to look for an array in level 1...Stefan Metzmacher1-10/+14
metze (This used to be commit ca50b1ad3afbf02fef7c6d1fcbe11d23c515d340)
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-10r24446: We only need one genric GenerateFunctionInEnvStefan Metzmacher2-22/+13
function metze (This used to be commit 0c5be644ba13c68b7378a6ae9dcd314018ece25d)
2007-10-10r24407: $element->{ARRAY_LEN} doesn't exist...Stefan Metzmacher1-1/+1
and a few lines above we use $element->{ORIGINAL}->{ARRAY_LEN} I assume it was just forgotten in the update. metze (This used to be commit 89ea0339b5f95b27ad0eaed430d1f264722a7e84)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23721: For unions, The TAG and the ARM are aligned independently.Ronnie Sahlberg1-6/+6
Move emitting ALIGN_TO_x_BYTES to after the tag has been dissected so the alignment only affects the ARM. (This used to be commit 22945854d91c87cc17df681db5fd3c6871cdaadc)
2007-10-10r22742: Fix tests.Jelmer Vernooij1-6/+6
(This used to be commit 7240c2d7e30968b751d944f8a9a50573fcbe6671)
2007-10-10r22741: Add MSVC-specific pragma's for Wireshark. Patch from Ronnie.Jelmer Vernooij1-0/+8
(This used to be commit 40d6235b2491462bae480415e2ae075c041b3b7e)
2007-10-10r22667: revert revision 22640 as it breaks nested structs in idlStefan Metzmacher1-10/+12
metze (This used to be commit b5c84460fc8599fbd894bcf8c4f7b440e2424af1)
2007-10-10r22640: - generate nicer outputStefan Metzmacher1-12/+10
- fix compiler warning about unused ';' metze (This used to be commit 715060187f482486f00e2d6b2cd62d2a0e215a2f)
2007-10-10r22618: handle the properties related to the typeStefan Metzmacher1-561/+561
and not to 'declare' to avoid a pidl warning with: declare [switch_type(uint16)] union netr_Validation; void foo([in] uint16 level, [in,switch_is(level)] netrValidation info); metze (This used to be commit 3b3344f1df000974ad89bf370e99fd6b6dc42000)
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-10r22520: Fix the TYPE command.Jelmer Vernooij2-0/+8
(This used to be commit b81b0d3308bf51c2e22d54024b3d6f1a59c6b283)
2007-10-10r22462: Fix test suite for ndr parser without using 'our'Jelmer Vernooij1-812/+812
(This used to be commit d491e60c70de8d78c333b317a143919c1a68c6d9)
2007-10-10r22457: Fix tests for Samba3 client generator.Jelmer Vernooij1-78/+79
(This used to be commit cf5162ad100c1a8201d3309549c8ff0d3bd5a732)
2007-10-10r22456: Merge wireshark and ejs test improvements.Jelmer Vernooij2-767/+768
(This used to be commit 0375978403dde8ef5052dcca544f118e5387e887)
2007-10-10r22453: Fix TDR testsuite without using our.Jelmer Vernooij1-104/+109
(This used to be commit 2c82aea0d3cb43b6d653fa7d64d490eddef26903)
2007-10-10r22357: Don't use 'our'Jelmer Vernooij5-15/+12
(This used to be commit 7989ee2aa015264dc9334b5e15d4fe6cb55f4e09)
2007-10-10r22029: Make sure we respect $srcdir correctly for the srcdir != builddir case.James Peach1-2/+4
(This used to be commit 0db4256a472975c5097135fa87315038a1350a72)
2007-10-10r22004: Check for dereferencing null pointers.Jelmer Vernooij1-1/+5
Patch by Ronnie Sahlberg. (This used to be commit fa5722111dede37d0d6f9a9d227b7ec3ae28f1d4)
2007-10-10r21996: Fix a bug for invalid casts of pointers.Jelmer Vernooij1-1/+8
Patch by Ronnie Sahlberg. (This used to be commit 52a13ddf0242318785b05a8888640b2172435c45)
2007-10-10r21995: Patch from Ronnie Sahlberg.Jelmer Vernooij1-11/+11
Change the signatures for all functions it generates to specify _U_ so that GCC "parameter not used" warnings are suppressed. (This used to be commit ec6c503e9d077103c3fecff08400beb2a28e462d)
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 Vernooij2-1187/+1158
"struct foo {};". Reported by one of the OpenChange folks, thanks! (This used to be commit d65b520f08ea4ee82c35ff334a58aa6ffc403d67)
2007-10-10r21656: Move tests a bit closer to the things they test, should make syncing ↵Jelmer Vernooij1-3/+0
with samba3 easier. (This used to be commit 4d755fb5d7adedd1dd8bad917b921324411bfd59)
2007-10-10r21654: Add simple test for print functions.Jelmer Vernooij1-1/+1
(This used to be commit 3c9df011a85aa8178a26d66faaaed5c88757800e)
2007-10-10r21584: Support for tagged types has landed!Jelmer Vernooij3-34/+37
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-10r21579: Use utility function to determine function names in ejs code.Jelmer Vernooij1-15/+25
(This used to be commit 1736de4c73a82be8357808dc8ec93d3917213449)
2007-10-10r21578: Use utility function for naming pull/push/print functions.Jelmer Vernooij1-34/+39
(This used to be commit e0f626b79c43eb59ad3c6e3fb6c267504764bfef)
2007-10-10r21575: Fix handling of is_scalar() for declares.Jelmer Vernooij1-1/+2
(This used to be commit f0bc29df7297f8f91175091e5f4b14f4ae4b0591)
2007-10-10r21574: Fix handling of DECLARE.Jelmer Vernooij2-1/+2
(This used to be commit 6a4033464bf269176f928a5b3b7e63aad1bb1e7a)
2007-10-10r21573: Remove more code that assumed all types are typedefs.Jelmer Vernooij2-12/+22
(This used to be commit bbbfbfa870c44a6148c3d4d47ff409098e85fcc3)
2007-10-10r21572: More work towards supporting tagged types.Jelmer Vernooij2-6/+17
(This used to be commit 4d28396f0928444406334888f4bc345e74a380df)
2007-10-10r21568: More tests.Jelmer Vernooij1-1/+1
(This used to be commit c7bde9c1f537cbcf8e71177e6c3969699c046ecb)
2007-10-10r21567: Add some more wireshark tests.Jelmer Vernooij1-7/+11
(This used to be commit 40e2956058fe4aaebf3f7269bce90339d7faf24f)
2007-10-10r21555: Some tests for TYPE in wireshark conformance files.Jelmer Vernooij1-1/+1
(This used to be commit 2a44c8c9c296462350fcae1960265a6ef0f317d8)
2007-10-10r21534: Add some more tests for wireshark.Jelmer Vernooij2-4/+3
(This used to be commit b10432096181cf8e7d729e58a5ab54fac5eaa5fe)
2007-10-10r21532: Add tests for StripPrefixes utility function.Jelmer Vernooij1-14/+14
(This used to be commit 365052555e0e9224bdfda0c2a10f78cbeee5b06c)
2007-10-10r21531: Use pidl-specific utility functions. Patch from Ronnie SahlbergJelmer Vernooij1-7/+7
(This used to be commit e6fdcdf95e984a254cebd197269cf3e911009f02)
2007-10-10r21493: Patch from Ronnie Sahlberg. From his email:Jelmer Vernooij1-3/+5
This patch changes the function name and signature that pidl generate a call for when dissecting a policy handle to a new, more PIDL-friendly function. It also stores the procedure name in a new pinfo-> field so that helpers that want to know the procedure name can finbd out easily. The new PIDL helper function for policy handles use this new field and will show OpenHKU(<...>) opened in frame X closed in frame Y for the policy handle. (This used to be commit 0c4fb484f0e515eb4055c58cd73ca798a8c46d69)
2007-10-10r21492: Finish work on nested type support in EJS.Jelmer Vernooij2-120/+127
(This used to be commit e88055b76a3d81fcc40773d880f76a1c3f53fbf0)
2007-10-10r21490: Add some tests for the EJS codeJelmer Vernooij1-72/+33
More work on supporting nested types in EJS. (This used to be commit cb7faeab88952b59add1c814e1881ee9bb88b7ec)
2007-10-10r21487: Fix warning when using anonymous types, initial work on nested type ↵Jelmer Vernooij2-6/+31
support in ejs. (This used to be commit a396c5de12cd958fe0457fa5372e539132ad7ed9)