summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2003-11-17handle non-NTSTATUS return typesAndrew Tridgell1-1/+1
(This used to be commit 5832a1447c1d757a89d1f09324144132f9427cb1)
2003-11-17better [relative] handling, allowing for nested relative structuresAndrew Tridgell3-3/+25
and arrays of relative structures (This used to be commit eb887f883a3ef2a90edec5bb495e140656c2f70d)
2003-11-16 * the beginnings of non-constant fixed arraysAndrew Tridgell4-10/+38
* added relative pointers support (This used to be commit 4a34a4f29cf8ab79582ce7b503da907df7b4d209)
2003-11-16added support for "relstr", structure and union properties and publicAndrew Tridgell4-10/+54
functions (This used to be commit fb2f8c6bffdaacdddbb7fb82439af70e17ce9a4b)
2003-11-16added the "subcontext" attribute for auto-handling of user-marshalledAndrew Tridgell2-0/+13
sub-context buffers (This used to be commit 01cc199d78da9e60aa8a279b37fbf8298cf61004)
2003-11-16fixed the handling of much more general C expressions in value()Andrew Tridgell1-2/+7
statements (This used to be commit 8b38041f6530e42c5d294a5947c15a7f6a2d3c61)
2003-11-15added support for varying conformant arrays (needed for samrAndrew Tridgell2-5/+34
userinfo3) (This used to be commit f5b577a2b9d8084c8ee3f5b646b059c3297695b4)
2003-11-15fixed alignment of the buffers part structuresAndrew Tridgell1-3/+4
(This used to be commit f38ecd7ff7c2b2b36995e53af544cb99f0c084e0)
2003-11-15support a new value() attribute that allows us to auto-fill certainAndrew Tridgell3-3/+17
elements. Used at the moment for string lengths. the regular expression isn't right, but it works for the case I need. Perl expert needed :) (This used to be commit c7ddd6b2aadeb3bbd2ad520a9e074866b434cbba)
2003-11-15Fix bug in generation of function ndr_pull code generation. This patchTim Potter1-1/+3
makes the code symmetric with the ndr_push code. (This used to be commit 4a6f192ff8396c644520050041a740856d72d40b)
2003-11-14it turns out that all MS servers ignore the artifact struct_len fieldsAndrew Tridgell1-58/+1
in OpenPolicy and OpenPolicy2, so we don't in fact need the [struct_len] attribute. This makes our IDL much closer to the MS IDL. (This used to be commit f0a8f063a680b5d0a68c5ac7cccf9c9a13adfb81)
2003-11-14* make pidl.pl exit with an error on a parse errorAndrew Tridgell2-4/+9
* fixed a buffers/scalars bug in structures (This used to be commit e66daf527357c65228db55a3d3319a0c20d8f51c)
2003-11-14fixed another problem with pointers to arrays in structuresAndrew Tridgell1-7/+11
(This used to be commit cf880a83121421403db43ef87e95a5326e9c9cb8)
2003-11-14fixed the handling of unions of pointersAndrew Tridgell1-2/+6
(This used to be commit 7b0f2ccf07fc4f097c2abb4e8e63a5d457383a11)
2003-11-14* differentiate between pointers and non-pointers in switch_is unionAndrew Tridgell1-30/+87
elements in structures * layout the pull/push/print generated functions with all push together, all pull together etc, as this makes for easier debugging (note that I have no redirected commit messages for pidl to the samba-cvs mailing list, so you may be seeing these messages for the first time. See the pidl cvs repository for details on pidl) (This used to be commit b5888b53157c539242ce84c07415e0b0d84dc264)
2003-11-13I think we now handle conformant arrays in structures correctly - theAndrew Tridgell4-19/+155
test cases pass (This used to be commit 22e15023509f8f1682865d72765e79f41ab7d149)
2003-11-12handle constant sized arraysAndrew Tridgell2-5/+29
(This used to be commit 673e7bcdc2d7ee949ca0f56f9ba3cd04b5c38397)
2003-11-11added support for 8 byte aligned HYPER_TAndrew Tridgell2-3/+4
(This used to be commit 259d5d7a0e2fa51d5d2ee36431c9e89784ee4a0c)
2003-11-11fixed the NDR structure alignment rulesAndrew Tridgell2-1/+45
still not perfect, but works for all the cases I have seen so far (This used to be commit ce15cc87fbbe8ee0d383ad115168e9be29fe9efc)
2003-11-11fixed handling on pointers to arrays of structures in unionsAndrew Tridgell2-1/+5
(This used to be commit a29145df04d08c13ee1b019b2de57ffd6883907a)
2003-11-11automatic printing of unionsAndrew Tridgell2-5/+22
(This used to be commit 73b530075589f24f7bb9a001fde979ec6930d2bb)
2003-11-11automatically generate ndr_print_*() functions for every IDLAndrew Tridgell1-0/+128
structure. This allows easy debug and test tool writing without having to write functions that print every element of complex structures. (This used to be commit 81d6181172e36c6fbae0907550a29511ce708574)
2003-11-11- added support for the pull side of unionsAndrew Tridgell5-81/+216
- don't generate parse functions for pull/push functions that are not used (This used to be commit 54613574bcd8b365c13848c6aa9366cadeb5da0e)
2003-11-10much cleaner handling of the different types of variablesAndrew Tridgell4-85/+150
(This used to be commit 4df59bcff56a00e413fbde1a40ffebcb16763d3c)
2003-11-09added a module for auto-generating the client calls. We can now goAndrew Tridgell3-3/+90
from IDL file to working Samba4 RPC client library in a completely automated fashion. (This used to be commit 566476b3ff91eaa02c4f3c494afbf9ac7c200461)
2003-11-09- handle void functionsAndrew Tridgell4-46/+104
- bettenicer handling of PROPERTIES - handle size_is() on an out variable that refers to an in variable (This used to be commit 33d9b75783651ccb02f895bc9e0b0d0d59f67b1d)
2003-11-09added support for arrays as function arguments and for unistr_notermAndrew Tridgell2-8/+17
(This used to be commit 7bb45a21aeb9ea653c86ae7aa45ceee850b4b255)
2003-11-09added fixes for the pushing of arrays and handling non-ref pointers inAndrew Tridgell2-9/+29
function arguments (This used to be commit 25be8dafdae65d9b6cbd04514290f1402e882f4e)
2003-11-08- include includes.hAndrew Tridgell3-19/+73
- fix ref ptrs in push - add NTSTATUS return (This used to be commit cba9df9aa4cef7d35ae786a90d6c34b54e9a086a)
2003-11-08- generate both the pull and push sideAndrew Tridgell3-98/+300
- fixed lots of bugs (This used to be commit 96e269fefedd1e8541eae7ad5e3fb98df978c81b)
2003-11-06a bit of a tidy up before I add the ndr_pull_*() side of thingsAndrew Tridgell1-47/+21
(This used to be commit 8e865508a6619af4f2d72c3db7890edf9e07da1d)
2003-11-06updated pidl to auto-generate the ndr_push_*() functions for theAndrew Tridgell6-77/+340
Samba4 rpc framework not complete, but sufficient for a number of lsa functions (This used to be commit 42cd6904f51bac1ff92f0aea0deffb11864dfac2)
2001-12-10Added "return offset;" to end of generated function.Tim Potter1-0/+1
We're getting really close now! Ethereal can properly decode OpenPolicy requests and responses using pidl generated code. QueryInfoPolicy is nearly working. (This used to be commit 23a9812987bad6fcf7bf131eafd2bf39d558eeb5)
2001-12-10Fix for pointers to structures in function args.Tim Potter1-0/+9
(This used to be commit e35c62267fb605c4813f7c6178c6061806c74482)
2001-12-09Misc fixes:Tim Potter1-9/+11
- pass correct args when doing arrays of scalar vs buffer types - add NULL data argument to all calls - get rid of unecessary curly brackets - typos (This used to be commit 42a688ea1c012626e247820dec927456e3de9b79)
2001-12-09wchar_t is a scalar.Tim Potter1-0/+1
(This used to be commit 79e56e719cec28373c117efa33e8924470ffcdcf)
2001-12-08Convert a bunch of "prs_foo()" to "offset = prs_foo()"Tim Potter1-8/+8
Return offset from function request and response code. (This used to be commit 83ada5447b05667800dec536ac71d4b7437c77e4)
2001-12-08Removed old commented-out code.Tim Potter1-49/+30
Generate code for parsing arrays. We're nearly ready to start generating real code! (This used to be commit f6f5b8a7189b579eaf1fbf8db91c9ba11b96ac57)
2001-12-08Reinvented has_properties() function lost after HD crash. )-:Tim Potter1-11/+26
Fixed up handling of pointer to scalar type. (This used to be commit eb3dbe113f9f4e755436caa974394e73a285cb03)
2001-12-08Made hyper a simple type.Tim Potter1-13/+14
Changed dissect_ to prs_ to avoid name conflicts. (This used to be commit 2670f1f8e111f2944c35db9ad28e049db123f9a8)
2001-12-06Moved processing of function arguments and structure elementsTim Potter1-41/+95
back in to ParseElement() is_simple_type() -> is_scalar_type() Added more types to scalar type list. Pass scalars/buffers flag down to ParseElement() (This used to be commit 802c219babc94178099dbc898da1a788a2e8a593)
2001-12-06Don't pass down drep (data representation) arg from top level fn.Tim Potter1-13/+31
Decided to use tridge's PARSE_SCALARS and PARSE_BUFFERS pattern for generating code for structures and function calls. For functions, dissect sub-structures with PARSE_SCALARS|PARSE_BUFFERS. For arrays and structures in structures (?) use PARSE_SCALARS on each element of the structure then PARSE_BUFFERS. Determine whether a type is a "simple" type or a struct/union. (This used to be commit bb5bab58177fafd670dba8fe755b6c4753713efd)
2001-11-28Don't pass decorative name to policy handle or ntstatus dissectors.Tim Potter1-12/+12
Pass drep (data representation?) field down from dcerpc dissector. This is whether the packet is big or little endian. (This used to be commit e5ca478614e50f7f45172a7f0e9fd37603502dfc)
2001-11-28Decorate some of the parse functions with element names. This is startingTim Potter1-9/+9
to get closer to be compilable code! (This used to be commit fbfe0795a9421a5c70dcbcaa74292b3fb4ae6974)
2001-11-27Start generating some ethereal code that may actually compile withTim Potter1-21/+19
fewer tweaks. (This used to be commit b045bbec59bf4faac094c5bca7f048c813054209)
2001-11-26Start generating code for unions.Tim Potter1-5/+22
(This used to be commit ac71046754b3a4bee53dab64ed73c176074482a0)
2001-11-26Ignore *.pidlTim Potter1-0/+1
(This used to be commit c2fa746c477c3fd57e34d52643ea483f958d1f1a)
2001-11-24Renamed functions from Dump* to Parse*Tim Potter1-32/+32
(This used to be commit 952b47dc23ee648daf065d08d35fab839e4afd04)
2001-11-24Initial version of ethereal parser generator. Works with test.idlTim Potter1-0/+216
but not much else! (This used to be commit 84fe4a000cb31ca5cdd24d9b8e57a63b8c0e8838)
2001-11-24Added --eparser to call ethereal parser generator.Tim Potter1-1/+12
(This used to be commit e1f191a9dc563648f9d151c56020e3324854f52f)