summaryrefslogtreecommitdiff
path: root/source4/build/pidl/util.pm
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-11-20 * added a 'lstring' type for spoolssAndrew Tridgell1-4/+3
* added some notes on type equivalents in NOTES.txt (This used to be commit a44d952fcb7ebf85d3072b622e5656dcf25cfbb0)
2003-11-19switched to a new way of handling unions, so that we can handleAndrew Tridgell1-2/+2
alignment correctly for unions that have non-uint16 discriminants added recursive structure alignment. This gets quite hairy, but I think I've got it mostly right. (This used to be commit c0d96f87ea633b1372a383f705aaf4ed3099b4a7)
2003-11-19slightly more accurate structure alignment code - I need to do properAndrew Tridgell1-1/+1
recursive alignment soon (This used to be commit d3838c3668d5acb4aee86e3dd5b8d7d23bc842ff)
2003-11-17auto-generate functions for printing top-level functionAndrew Tridgell1-0/+4
parameters. You can choose to print just the [in] parameters, just the [out] parameters or both (This used to be commit 6afc3a465e3fc568636ff52975a6d339f8bc3179)
2003-11-17* support inline arraysAndrew Tridgell1-4/+2
* add enough to allow security descriptors to be IDL described * added "noprint" property to allow fancy printing for specific functions (This used to be commit 08df20c8bed57bbb9a9a907c807ad850382fd4e8)
2003-11-17better [relative] handling, allowing for nested relative structuresAndrew Tridgell1-0/+2
and arrays of relative structures (This used to be commit eb887f883a3ef2a90edec5bb495e140656c2f70d)