summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r7424: add --uint-enums option to pidl to generateStefan Metzmacher1-0/+11
defines for the enum members (this hopefully will fix the build on AIX) metze (This used to be commit 9d4d5163de8b78c5a03348a10ceedb220c92f7b2)
2007-10-10r7122: Some cleanups, simplification of the code.Jelmer Vernooij1-47/+0
(This used to be commit 277f26edacccb3a3f7a90629fd6ea1f21d9f6530)
2007-10-10r7022: Add support for parsing definitions of multi-dimension arrays.Jelmer Vernooij1-15/+0
This will also be required for supporting parsing pointers to arrays and arrays of pointers simultaneously. (This used to be commit a34f848b02a6e8284d62532a792a5136e846fe8f)
2007-10-10r6926: More build farm fixes:Jelmer Vernooij1-0/+1
- Warn about unknown attributes in .mk - Remove more unused functions (This used to be commit 6bf8126ae9368dc56cf0cd91b972a2d939974679)
2007-10-10r5661: Be a little stricter on syntax regarding arrays. A pointer to anJelmer Vernooij1-1/+1
array can now only be : type *name[]; rather then : type *name; which was supported in the past. Warnings will be given when the first syntax is used. Reasons for this change in behaviour include improved readability and the fact that the second format makes dealing with multiple levels of pointers harder. (This used to be commit a416de5825c540fd3741731c4be05e9a659a6fdb)
2007-10-10r5494: Some more code simplification, some additional comments.Jelmer Vernooij1-0/+19
(This used to be commit e601f51b82e99a999f0a9c62b487d56c715a3502)
2007-10-10r5475: Move some existing and new type information functions to typelist.pmJelmer Vernooij1-75/+0
(This used to be commit 280df525380d06d67ce33938c4760807d5466966)
2007-10-10r5466: Put the type information list in a seperate moduleJelmer Vernooij1-1/+0
(require for some of the COM stuff) (This used to be commit fbce7464b2a61a46f5135ba2a341bea4e53f28e7)
2007-10-10r5447: Add some utility functions for arrays and use them.Jelmer Vernooij1-23/+0
(This used to be commit a251712670e1daac949221407ae979b363dbc105)
2007-10-10r5414: - added libcli/wins/, a basic client library for WINS replicationAndrew Tridgell1-0/+1
- added a new IDL type "udlongr", which is like udlong, but with the two uint32 halves reversed - modified the winsrepl.idl to cope with a wider range of packets (This used to be commit bc8d60c918f2e268d591aac464fc6a78c38a4cf9)
2007-10-10r5376: ORPC is NDR specific, so move it to ndr.pm.Jelmer Vernooij1-38/+0
Get rid of register_enum/register_bitmap, etc. (use list of types in ndr.pm instead) (This used to be commit efc2e41b8df3a0171cca57291929fb63760c1662)
2007-10-10r5360: Remove a couple of unused functions.Jelmer Vernooij1-10/+0
(This used to be commit d8a0a6972156c3211001b7f98e990c167be2468c)
2007-10-10r5320: Treat structs and unions somewhat more similarly:Jelmer Vernooij1-1/+1
- use same names in hashes (DATA -> ELEMENTS, etc) - [case()] and [default] are no longer special case, they're just regular properties (This used to be commit 6a0f599f822f5c42d93e78c13765804ab2223968)
2007-10-10r5319: Make some more alignment code generic, move NDR-specific stuff toJelmer Vernooij1-151/+0
parser.pm (now renamed to ndr.pm). (This used to be commit a469a5fefb4e6941264c11f4bde60eab71f6f7aa)
2007-10-10r5286: Some first steps in making the pidl code somewhat more generic for theJelmer Vernooij1-11/+0
various data types: Add ndr_flags argument to all ndr push/pull scalar functions (This used to be commit ab490c0c882bb13de190546c50a0631ecb8255ad)
2007-10-10r5155: define ipv4address as a based IDL type, mapped to a "const char *" inAndrew Tridgell1-1/+3
the header, and defined on the wire as a 4 byte network byte order IP. This means the calling code doesn't have to worry about network byte order conversions. (This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)
2007-10-10r5036: changed HYPER_T to the more standard "hyper"Andrew Tridgell1-24/+21
(This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c)
2007-10-10r5034: - added a type mapping function in pidl, so the type names in our IDLAndrew Tridgell1-5/+40
files don't need to match the type names in the generated headers - with this type mapping we no longer need definitions for the deprecated "int32", "uint8" etc form of types. We can now force everyone to use the standard types int32_t, uint8_t etc. - fixed all the code that used the deprecated types - converted the IDL types "int64" and "uint64" to "dlong" and "udlong". These are the 4 byte aligned 64 bit integers that Microsoft internally define as two 32 bit integers in a structure. After discussions with Ronnie Sahlberg we decided that calling these "int64" was confusing, as it implied a true 8 byte aligned type - fixed all the cases where we incorrectly used things like "NTTIME_hyper" in our C code. The generated API now uses a NTTIME for those. The fact that it is hyper-aligned on the wire is not relevant to the API, and should remain just a IDL property (This used to be commit f86521677d7ff16bdc4815f9524e5286026f10f3)
2007-10-10r4858: a better fix for alignment of enumerated types (I'm not even sure whyAndrew Tridgell1-4/+4
the last fix worked at all) (This used to be commit 99cef2e5a0412ede455cb1579541550efa49502a)
2007-10-10r4843: fixed the alignment handling of enumerated typesAndrew Tridgell1-0/+5
(This used to be commit d2946dfabbc727633cdb17c3956fc120e214140c)
2007-10-10r4673: Fix the IDL for the QuerySecret LSA call.Andrew Bartlett1-1/+2
This call uses a new IDL type, NTTIME_hyper. This is 8-byte aligned, as the name suggests. Expand the QuerySecret LSA calls in RPC-SAMLOGON and RPC-LSA, to validate the behaviour of times, and of the old secrets. Thanks to tridge for spotting the use of HYPER! Andrew Bartlett (This used to be commit 1fed79cb0f2ae7940639d08ef99576559d4cd06e)
2007-10-10r4556: neater (and faster) way of doing alignments and scalarsAndrew Tridgell1-33/+30
(This used to be commit ec70d9a740ab0b6f83b6b10c1b5313e585164383)
2007-10-10r4540: sync enum and bitmap codeStefan Metzmacher1-6/+18
metze (This used to be commit 2f3aea72ee7d9d90f7b910d11bdd1e96f9f0ebe1)
2007-10-10r4535: add full support forStefan Metzmacher1-9/+74
typedef bitmap { FLAG1 = 0x01 } fooflags; typedef struct { fooflags flags; } metze (This used to be commit 052a7d4f9a3a178149c65a616fdfd87152dff7eb)
2007-10-10r4518: added proper support for "typedef enum" in pidl. We can now use enums ↵Andrew Tridgell1-0/+20
as types in switch statements and variable types, and the value will be printed with its string name and value (This used to be commit 1852033f2ec7584657d586e44d25a280959e4d81)
2007-10-10r3956: start to decode the repsFrom and repsTo fileds but not readyStefan Metzmacher1-0/+1
metze (This used to be commit 44f168c44de908fdf38b39aae8bf10e80206410a)
2007-10-10r3869: in the NDR encoded replPropertyMetaData attribute in ADSStefan Metzmacher1-1/+1
I see a new 64 bit time field which are seconds since 1601, this will be mapped to NTTIME by th eparsing code +#define NTTIME_1sec NTTIME metze (This used to be commit db35f3b0f99943311ff8b797e8336616dab28220)
2007-10-10r3516: dcerpc_epm_map_binding now checks the endpoints it nows firstJelmer Vernooij1-1/+0
and then possibly does a epm_Map call(). ncacn_np now also uses dcerpc_epm_map_binding() (This used to be commit 77eec3fa18dbbf4d774ccf04c7a38b0887f26ca6)
2007-10-10r3515: Fix RemoteActivation correctly this time (-:Jelmer Vernooij1-0/+1
Thanks to tridge for some help on this one! (This used to be commit 1104667190aa144e2c7d79ece9a55502b98d0351)
2007-10-10r3484: - add support for conformant string arrays at the end of a structStefan Metzmacher1-0/+18
- add support for strings where the length excludes the NULLTERM metze (This used to be commit 8251d8b3e5af351972aa41aed63f7a7d2640910e)
2007-10-10r3432: Support WERROR's in arguments (not just as return type). Some ofJelmer Vernooij1-1/+1
the DCOM calls are wrappers around several local calls, so you get things like: WERROR foobar ( [in] int num_ifaces, [in,size_is(num_ifaces)] IID *ifaces, [out,size_is(num_ifaces)] WERROR *results); (This used to be commit 0873bf2cbe3589988e518cf68ad4d14343b9240b)
2007-10-10r3282: some C pre-processors don't like expressions likeAndrew Tridgell1-0/+10
uuid(1ff70682-0a51-30e8-076d-740be8cee98b) so we now accept uuid("1ff70682-0a51-30e8-076d-740be8cee98b") in pidl, and automagically add quotes only if needed (This used to be commit 4aab2cb210eb9678bb72aebb33dcf6fd499206c1)
2007-10-10r2987: added support for signed 32 bit integers in pidlAndrew Tridgell1-0/+1
(This used to be commit 24122eb93e39de8db3675618b6c227c95eb58d9c)
2007-10-10r2958: the warnings from the swig code in pidl were totally swamping validAndrew Tridgell1-1/+1
warnings, making real errors impossible to spot. this fixes the warnings, and probably fixes some pidl/python bugs as well. (This used to be commit 2f1e9954e3381b1864a6fd9fa8b2231478179d4d)
2007-10-10r1736: - Pidl updates:Jelmer Vernooij1-0/+14
- Support for "object oriented" interfaces in pidl - Support for inherited interfaces in pidl - Simplification of the support for properties on an interface - Start on dcom rpc torture tests (This used to be commit 45c3d0036b8510102816f9cdff9210098259cc5f)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-1/+1
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r363: nicer error handling in pidlAndrew Tridgell1-0/+1
(This used to be commit cafc8a5e763834a26432c467abfe84f140bb7d80)
2003-12-19added code to the IDL validator to check for common errors withAndrew Tridgell1-2/+11
pointers are arrays (This used to be commit e67cbfff6c1041671711e4f73894e6e13151d57e)
2003-12-16don't rely on the ability of perl 5.6.x to remove elements from arraysAndrew Tridgell1-1/+4
using delete(). This makes pidl portable back to perl 5.0. (This used to be commit 9175293535246f55f50f52501ec451c951a94eb1)
2003-12-15make pidl no longer dependent on Data::Dumper, which isn't installedAndrew Tridgell1-10/+4
on some systems (This used to be commit a4aa9168c0f80cf6e758c380d41335db50d06869)
2003-12-14added auto-generation of the server side boilerplate code for eachAndrew Tridgell1-2/+2
pipe. The server side code gets generated as librpc/gen_ndr/ndr_NAME_s.c and gets included in the pipe module (This used to be commit bd3dcfe5820489a838e19b244266bd9126af5eb4)
2003-12-08commit idl.pm now, as many build farm machines don't have 'yapp'Andrew Tridgell1-31/+9
(This used to be commit 2b1300386dc8a3e3e802c8b1dafdbea286cfbb46)
2003-12-01started adding netlogon IDL and test suiteAndrew Tridgell1-0/+2
(This used to be commit 3d64eefb464d09fb6e84d6139f801887a278cf86)
2003-11-24added tests for the remaining calls on the rpc management interfaceAndrew Tridgell1-0/+3
(This used to be commit 00f9b0e12061c175334f96805ca8333f28f74d91)
2003-11-21* changed the way strings are handled in pidl to a much more generalAndrew Tridgell1-8/+8
interface. We now support an arbitrary set of flags to each parser, and these can be used to control the string types. I have provided some common IDL string types in librpc/idl/idl_types.h which needs to be included in every IDL file. * added IDL for the endpoint mapper. Added a test suite that enumerates all endpoints on the server. (This used to be commit d2665f36a75b482ff82733f72ffac938c2acf87a)
2003-11-21added support for 'ascstr', a ascii string in MSRPC !Andrew Tridgell1-1/+2
(This used to be commit a5eeb3be0577e0ce91ac1f6e641782e4acbbda07)
2003-11-20use a precompiled grammer in pidl. This speeds up pidl by about aAndrew Tridgell1-1/+1
factor of 2 on my system. (This used to be commit a291dd835f68ae5a109670b1d1ca1a48b2aacfb6)
2003-11-20its LoadStructure() in util.pm that doesn't like strict perl - anyAndrew Tridgell1-11/+9
perl gurus out there know why? (This used to be commit a1d9afc92fce52a76c0a233513b2cb24f0cb9cf5)
2003-11-20damn, "use strict;" in util.pm breaks pidl - but why?Andrew Tridgell1-1/+0
(This used to be commit 8f54792392ccaa6c1464ed8ec90e44c0048b5ee2)
2003-11-20use strict perl package everywhere for error checkingAndrew Tridgell1-0/+1
(This used to be commit 3b7a4b70a321a1e8e378b8c5cc1e87a1c3399e91)