summaryrefslogtreecommitdiff
path: root/source4/build/pidl
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r2491: Handle pointers to scalars when converting to a Python dictionary (i.eTim Potter1-30/+1
resume handles). Remove some now unused debugging code. (This used to be commit f250203a5f54c689c09ba780e9e3af7f8f2311bb)
2007-10-10r2490: Some changes to take into account non-error NTSTATUS codes being ↵Tim Potter1-2/+6
returned: - Only throw an exception if NT_STATUS_IS_ERR() instead of !NT_STATUS_IS_OK(). - Add the NTSTATUS value to the returned dictionary under a key of 'result' so calling functions can access it. (This used to be commit 4ddcae90a2e9b93e58bd57932cd9ae4c95be6ae8)
2007-10-10r2428: Handle unions as [out] parameters by passing the value of the switch_isTim Potter1-15/+61
parameter down to the various conversion functions. (This used to be commit 46b3d4cfd8effcc75293b8b0af04203fa25742b2)
2007-10-10r2426: Handle pointer to scalars converting C to Python.Tim Potter1-10/+26
Peeked at parser.pm for some hints at getting array lengths right when the length_is property is present. (This used to be commit a17aaadb7d57dbe4cf0a62634f405c61b79a953f)
2007-10-10r2425: Found another place for a type check. When convert a dictionary valueTim Potter1-2/+11
to an array, check that the value exists and it is of list type. Fix a typo. (This used to be commit bcee3860554260bca2bbb6fd73d8770a4997c041)
2007-10-10r2424: Refactor handling of non-OK NTSTATUS returns to be more swiggish.Tim Potter1-19/+6
(This used to be commit aaef6eaf6e0c38fb277d1be0617dfdff559a0115)
2007-10-10r2422: Convert PyDict_{Get,Set}Item() calls to PyDict_{Get,Set}ItemString().Tim Potter1-10/+10
(This used to be commit 9ea5574bb12161733afb592425724cff8c4bbedd)
2007-10-10r2418: Handle a pointer to a scalar when converting a field from Python.Tim Potter1-4/+9
Handle a pointer to an array of structures when converting to Python. (This used to be commit e135265d1d91ff9a6a4e7ec0079ecd88f0afe784)
2007-10-10r2417: Add comments to the interface generator as well as some commentary inTim Potter1-172/+227
the generated interface code. Get rid of global variables within the perl generator code. (This used to be commit 36320c694162a58665ace10576ad18c13a7850fe)
2007-10-10r2416: More argument checks. Raise an exception instead of segfaulting if aTim Potter1-9/+30
dictionary does not contain a required key. (This used to be commit fc5443af9c271baf189ebe0b098e190b5eda4e14)
2007-10-10r2415: Throw a TypeError exception if a scalar value doesn't have the correctTim Potter1-20/+52
type, or the argument to a to_python function isn't a dictionary. (This used to be commit 0f58ffb142a9b8c5c745b3a2c93a1659ea8282e5)
2007-10-10r2411: The other half of getting autogenerated code working using misc.idl:Tim Potter1-14/+70
use Python lists for arrays when marshaling and unmarshaling arrays. This gets samr_SetSecurity() working. (This used to be commit 9bc55de42ab9f0d71abcea65a7f4cf24db452381)
2007-10-10r2409: Convert NULL pointers to Py_None, and vice versa.Tim Potter1-2/+18
This gets samr_QuerySecurity() working again. (This used to be commit 810bce2fe517969e62d87497bbe4ae645badfdf6)
2007-10-10r2408: Tridge suggested that all the structures from misc.idl (policy handles,Tim Potter1-31/+71
sids, security descriptors and acls) can be automatically generated instead of hand-written. Fix up the swig wrapper generator and helper routines to do this. (Only works for policy handles right now though and arrays are to be converted into lists instead of being binary blobs). Fix up wrapper generation for modules that don't define an interface (e.g misc.idl). (This used to be commit 160dc90921ecc136a25ae88e5c28800ddda5722a)
2007-10-10r2398: Import Data::Dumper module safely so it doesn't hurt the build farm.Tim Potter1-1/+2
(This used to be commit f88996540cfecf830595425735d2f1d4ad623c3d)
2007-10-10r2359: More consistency fixes: pass a talloc context to every function thatTim Potter1-4/+4
doesn't convert scalar types, more renaming of function names. Implement conversion fns for dom_sid, dom_sid2 (to struct version stubbed out). Also from Python conversions for security_acl and security_descriptors. (This used to be commit 945a4681051132c13f9235f676464fffb3bfadc8)
2007-10-10r2358: More renaming of functions to keep things consistent.Tim Potter1-10/+10
(This used to be commit 84513e4ed14e60b4cd09fcc2e596bc72d3a8807c)
2007-10-10r2336: Add another conversion function to allow union arms that contain ↵Tim Potter1-15/+49
structures not pointers to structures. Do some renaming of hand-written functions as a result. Include lsa interface before samr interface as samr depends on some lsa structures. Build up a nice hashed index of interfaces, functions, structs and unions. Add test for samr_Connect5() function which contains a union. (This used to be commit 30f068164a5125f84a34f28ed0f2586a2bdec7e4)
2007-10-10r2335: Zero function parameter struct so we can do a bit more testing. To ↵Tim Potter1-0/+20
be removed later. Generate more stub code for union arms. (This used to be commit f8a14e808eb9ec2910fb22f35d828a7eeea14aec)
2007-10-10r2325: Generate conversion stubs for IDL unions.Tim Potter1-0/+23
(This used to be commit a06727b79228865e03430e41fc991c3d39eca220)
2007-10-10r2323: More tweaks to get things building again.Tim Potter1-7/+4
Now to get unions working as they are currently broken. (This used to be commit 8072d7f1a4f72d91d54c0e6056819ba5f99ce734)
2007-10-10r2322: More renames of autogenerated functions so they all have approximatelyTim Potter1-12/+33
the same signature. Start to handle structures with no pointers. (This used to be commit c1dc9842683628e05fa66a930a074e741c4a7101)
2007-10-10r2298: Convert to and from string parameters.Tim Potter1-5/+20
Correct function name used when generating function to convert in typemap so it is consistent with the others. (This used to be commit ec23bae00fedbd1651800a8f4559dee3bd6c7025)
2007-10-10r2295: Convert simple scalar types and policy handles between dcerpc functionTim Potter1-8/+96
call request and response structures. (This used to be commit d31d23b944b7e4ef300d75dad5038727e9133af1)
2007-10-10r2289: Autogenerate some more attractive looking stubs for convertingTim Potter1-21/+61
function argument structures and idl structures to and from Python dictionaries. (This used to be commit e4729949c61a8df23b5132c6136ae8c3777c348a)
2007-10-10r2277: Generate stubs for input and output typemaps.Tim Potter1-10/+45
(This used to be commit 69710bbcb8123e5f9cb882723350506e77307419)
2007-10-10r2256: Include autogenerated interfaces for lsa and samr pipes. Typemaps ↵Tim Potter1-4/+69
are currently not working though. (This used to be commit 55bd2dc02de13ee3da1cde20694f452df0899a9f)
2007-10-10r2253: Add test program, as small example of what's going on.Tim Potter2-1/+35
(This used to be commit fd31ae38dfe2d005b3e01ac059c2e15fa389aad4)
2007-10-10r2223: Include autogenerated header file for idl file we are processing withTim Potter1-0/+1
--eparser. (This used to be commit 68b10c4aeebc4aa1225aab3c8a9fc0a4d28d6455)
2007-10-10r2222: Generate correct function prototypes for unions marked as public.Tim Potter1-1/+1
(This used to be commit 04de3edbab106eec040c442eedb5bb3cfcfec778)
2007-10-10r2221: Experiment with extra properties for telling the ethereal parser whatTim Potter1-7/+13
to do. There is a patch to the grammar and idl files for this but I won't commit that just yet. (This used to be commit 4e155b966c6027daa34166c7daf30cbff96ff679)
2007-10-10r2183: Tidy up naming of ethereal fields. The field names are taken from theTim Potter1-9/+20
structure elements with underscores replaced with spaces and words capitalised. Fix small buglet where we confuse the name of the interface with the name of the idl file. Just discovered security descriptors don't display property anymore. )-: (This used to be commit a6f830cfecee9ec256924aa9df0cb1503b2072ab)
2007-10-10r2168: Move these files into a separate ethereal-pidl-plugin svn repository.Tim Potter2-738/+0
Not only will this allow the plugin to be built easily, but will also get rid of the duplicate function names that muck up etags. (This used to be commit 604fc603daf27ed02b5992c7ce2da10133bce649)
2007-10-10r2167: Implement some stubbed out functions.Tim Potter1-59/+46
(This used to be commit ed48d13e4dc346a8af1e8aeaa7387122cc8d89d2)
2007-10-10r2100: rework the dcerpc client side library so that it is async. We nowAndrew Tridgell1-4/+15
generate a separate *_send() async function for every RPC call, and there is a single dcerpc_ndr_request_recv() call that processes the receive side of any rpc call. The caller can use dcerpc_event_context() to get a pointer to the event context for the pipe so that events can be waited for asynchronously. The only part that remains synchronous is the initial bind calls. These could also be made async if necessary, although I suspect most applications won't need them to be. (This used to be commit f5d004d8eb8c76c03342cace1976b27266cfa1f0)
2007-10-10r1909: nicer formatStefan Metzmacher1-2/+2
metze (This used to be commit e9e5fb2cb0b428de11d8e91da8b44394b6221a43)
2007-10-10r1894: Convert // to /* */Volker Lendecke1-2/+2
(This used to be commit 5dc793b2b4b5c54df4aa3b0c98c248bdd671bbb1)
2007-10-10r1872: revert -r 1845 because the caling function should look at the fault_codeStefan Metzmacher1-1/+1
when it gets NT_STATUS_NET_WRITE_FAULT metze (This used to be commit 084845c1ab5e8acdb91f1d93b87d3f58e5de1bfd)
2007-10-10r1867: Add README file in build/pidl/Jelmer Vernooij1-0/+35
(This used to be commit 189ed098408b52965ccdf652d78ec678bbe0462e)
2007-10-10r1845: map DCERPC_FAULT_LOGON_FAILURE to NT_STATUS_LOGON_FAILUREStefan Metzmacher1-1/+1
metze (This used to be commit 0cf0c3646038574e73c77a0b7adbdf6d04fe7207)
2007-10-10r1838: Updates from the airplane:Jelmer Vernooij2-4/+4
- IDL fixes + adding comments - Start working on dcom infrastructure (This used to be commit ef0fc269f06c82594c34ad8673c76c5ea099250e)
2007-10-10r1826: Implement some stub functions: ndr_pull_{save,restore,set_offset}()Tim Potter3-6/+72
Implement ndr_pull_relative() Call ndr_pull_uintX() for ndr_pull_intX() Generate warnings for unimplemented functions pulling NTTIME and HYPER_T. Implement ndr_pull_dom_sid2() We now dissect a lot more of the samr torture test without errors. (This used to be commit 197fb3a264536ee84d4b02a8a349c6b21e91b1f5)
2007-10-10r1815: Update parser for recent changes to perl parser.Tim Potter1-2/+1
(This used to be commit 1d0bde1c77f511a3de5815c2d0e5319c74daf18a)
2007-10-10r1786: Add support for the 'helpstring' attribute on interfacesJelmer Vernooij2-0/+6
(This used to be commit 85fb26a05d57e58795b0c0ffa93dc9e0fa902431)
2007-10-10r1767: Checkin of workarea. Sorry Jelmer but this overwrites some of your ↵Tim Potter7-1139/+1039
changes which I will have to merge in later on. This latest version of eparser tries to stick more closely to the original parser.pm. (This used to be commit 456a4d1d72807da037417073f346451421638c2f)
2007-10-10r1757: much simpler (and smaller, faster etc) way of doing relative pointersAndrew Tridgell1-8/+5
in pidl. This mechanism should be much easier to extend to the "retrospective subcontexts" that jelmer needs. also produced more standards complient full-pointer offsets. This keeps ethereal happy with decoding our epmapper frames. (This used to be commit ecb7378bbcd86727aedfa04a9e302e06b0a2ccd9)
2007-10-10r1736: - Pidl updates:Jelmer Vernooij9-767/+719
- 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-10r1703: - Lots of RPC updates, adding new pipes and protocols.Jelmer Vernooij3-25/+49
- More updates/fixes to the ethereal parser generator (This used to be commit 547f860285b117e291bf3dbaca0707dc268b214e)
2007-10-10r1701: Bugfixes to Tim's ethereal parser generatorJelmer Vernooij3-14/+59
(This used to be commit 8cd33b6cce6aaf8e819001d52bc77659b4116be9)
2007-10-10r1700: make version default to 0.0 (same as midl)Jelmer Vernooij1-0/+2
(This used to be commit b380324c938d0c5069dce02e468c92e24363a36b)