summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/NDR.pm
AgeCommit message (Collapse)AuthorFilesLines
2009-12-12pidl: Introduce new dirrective: relative_shortMatthieu Patou1-0/+3
relative_short is like relative but instead of having the offset coded on 4 bytes it's coded on 2 bytes. Such things happen in GET_DFS_REFERAL messages. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-10-13pidl: don't warn for compatible scalar types in unionsAndrew Tridgell1-3/+3
When we have an enum that is used as a union discriminator, what matters is that the scalar mappings are the same, not if the types are the same (otherwise we get warnings about uint1632). Thanks to gd for noticing this.
2009-10-07pidl: get the alignment right for uint1632 enums (NDR64)Andrew Tridgell1-0/+2
The default enum in NDR63 is 32 bits, not 16 bits. We need a uint1632 type to get the alignment right.
2009-10-06PIDL fix for using external types with wireshark backendronnie sahlberg1-0/+2
List, Please review this patch to pidl. Basically, we need to process the wireshark conformance file BEFORE we process the idl file since this file may define external types and set the alignment for them (using the TYPE directive). Otherwise pidl will default all external types to use 4byte alignment which breaks (much more often) on NDR64 regards ronnie sahlberg From 8f86903fc353d0906bd82e72ce19c5af09beb001 Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg <ronniesahlberg@gmail.com> Date: Mon, 5 Oct 2009 15:22:43 +1100 Subject: [PATCH] In the PIDL wireshark backend, we define external types in the conformance file using the TYPE directive. If we declare external types here, we must parse this file before we process the IDL file, or else these external types will all default to 4byte padding (pidl assumes all unknown types are 4byte aligned). Make sure we read the conformance file and create these new types before we parse the idl file. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2009-10-03pidl: added int3264 as a base typeAndrew Tridgell1-0/+2
This is the type used for a variable that is 32 bits for NDR32 and 64 bits for NDR64
2009-09-29pidl: added union padding for NDR64Andrew Tridgell1-2/+9
This fixes the problem with samr UserInfo16 when NDR64 is enabled
2009-09-17s4-pidl: add support for NDR64Andrew Tridgell1-1/+4
Added support for NDR64 to the samba4 pidl generator
2009-08-07pidl: parse idl 'pipe' typedefs, but print out a not supported message for nowStefan Metzmacher1-3/+17
metze
2009-07-27pidl: add support for [string] on fixed size arrays.Stefan Metzmacher1-0/+7
midl also supports this: struct { long l1; [string] wchar_t str[16]; long l2; }; Where the wire size of str is encoded like a length_is() header: 4-byte offset == 0; 4-byte array length; The strings are zero terminated. metze
2009-06-02Add support for double type in pidl.Brad Hards1-0/+1
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-01-17pidl: Remove "max" and make "range" smarter about unsigned typesTim Prouty1-1/+0
This eliminates a warning in pidl generated code, while preserving cross-platform idl compatibility.
2009-01-15pidl: Add max property to be used instead of range for unsigned types.Tim Prouty1-0/+1
Compilers complain about ranges starting at 0 for unsigned types, since an unsigned type is never less than 0. The max property implicitly makes 0 the lower bound when used with unsigned types.
2008-12-12Support pyhelper property to allow additional methods to be tucked onto aJelmer Vernooij1-0/+1
pidl-generated type.
2008-12-12Remove noejs property, which is no longer used.Jelmer Vernooij1-1/+0
2008-09-17Move pidl to top-level directory.Jelmer Vernooij1-0/+1235