summaryrefslogtreecommitdiffstats
path: root/source4/pidl/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix syntax for return type in DCE/RPC interface python bindings.Jelmer Vernooij2008-05-231-1/+1
| | | | (This used to be commit 40652801fce937b37a43d37db9892821572cd6fd)
* Fix indentation.Jelmer Vernooij2008-05-231-9/+16
| | | | (This used to be commit 5c3d4fce06ae07663632cc50d9703ddbc728c737)
* Fix event context initialization for Python bindings.Jelmer Vernooij2008-04-221-1/+5
| | | | (This used to be commit 132efc779ede27898765320a13bdde0b5256102b)
* Load default smb.conf file if none was specified explicitly.Jelmer Vernooij2008-04-211-6/+2
| | | | (This used to be commit 8fa23fac516dbf4c8245c1d009e81f02a6341775)
* Provide stubs when the [todo] attribute is set.Jelmer Vernooij2008-04-161-13/+41
| | | | (This used to be commit 356a5d24747bb5e1ef9774c690a5ec386a4a165e)
* Fix size to memcpy call in generated Samba 3 client code.Jelmer Vernooij2008-04-151-29/+36
| | | | | Reported-By: vl (This used to be commit a28807569d0cf32968bacdc0bd88197b19fbae49)
* Fix pointers when pushing strings to python during pidl generation.Jelmer Vernooij2008-04-151-6/+5
| | | | (This used to be commit ca72187b3e71a037780d42a57e46b60e75f724f6)
* Clearer names for singleton return types.Jelmer Vernooij2008-04-081-3/+2
| | | | (This used to be commit 19d0560464304f79224a946278105edafb285453)
* Fix bug handling size arguments in a direction without actual data.Jelmer Vernooij2008-04-081-11/+22
| | | | (This used to be commit 169d505e9e2285aedc21547e44986b8b841b8e37)
* Array lengths can be obtained from Python objects so remove them from the ↵Jelmer Vernooij2008-04-081-1/+25
| | | | | | Python API. (This used to be commit 652810ff46c6db9034e930d0fb018a02ee385f15)
* Raise NotImplementedError from functions that don't have complete IDL.Jelmer Vernooij2008-04-081-14/+29
| | | | (This used to be commit 685aab0c99c87386fee64c07d8b68c75652713c6)
* Support [todo] attribute on functions.Jelmer Vernooij2008-04-081-0/+1
| | | | (This used to be commit a3e22bbcea27580c31d44dfaae04c9eef83389d4)
* Add signature of connect function to docstrings.Jelmer Vernooij2008-04-081-7/+20
| | | | (This used to be commit 51441376d37de01f7f4bd795947fc2c46c38e3f1)
* use builtin getset stuff rather than custom getattr/setattr implementation.Jelmer Vernooij2008-04-081-28/+23
| | | | (This used to be commit bb59f3084ff8ff99e5bd72abfaadcbb68110f9fa)
* Add function signature to docstrings in python.Jelmer Vernooij2008-04-081-3/+31
| | | | (This used to be commit 61f331e9748bf5b3a1120ef19f93790facf9f64c)
* Register types rather than constructors, display structs as classes.Jelmer Vernooij2008-04-081-63/+96
| | | | (This used to be commit aad07f482544107dbeb4c3c468ce7dd78c151849)
* Set tp_flags for Python types.Jelmer Vernooij2008-04-081-0/+2
| | | | (This used to be commit f214206a36d8822e485f6f076c9f3f0bfc1e1df4)
* Set docstrings from helpstring attribute where possible.Jelmer Vernooij2008-04-081-14/+38
| | | | (This used to be commit 07f52ca51c008a6b80fed5b03935e1c3241d08d5)
* Add simple docstring for Python modules.Jelmer Vernooij2008-04-071-1/+1
| | | | (This used to be commit 57c7b4e896116f06b39e0040ad386c561d76bd3d)
* Add test for authservice struct.Jelmer Vernooij2008-04-061-15/+22
| | | | (This used to be commit da8b8364b06a79a10d4ebdc0e451463b3105730e)
* Fix authservice count.Jelmer Vernooij2008-04-061-1/+1
| | | | (This used to be commit 761536a5e4dd3dbfacf1576d7092827cdeda897b)
* Add some more header properties as inline comments to the generated samba3 ↵Günther Deschner2008-03-251-1/+33
| | | | | | | client. Guenther (This used to be commit 8ca4b0b0942564afa70b2e8a6d67d65ea8b75e43)
* pidl: Remove superfluous semicolon in perl code.Michael Adam2008-02-261-1/+1
| | | | | Michael (This used to be commit 85f707c6abc48739c0c3b423ac0b196d2b75e40c)
* Respect the return value of asprintfVolker Lendecke2008-02-231-2/+1
| | | | | | | | | This removes tons of warnings warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result for me. Lots of that kind left though :-) (This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)
* Add test for INCLUDE command.Jelmer Vernooij2008-02-191-2/+2
| | | | (This used to be commit d1aa25249d64513f785430cab7437b5c7ca8db27)
* Add INCLUDE command to pidl.Julien Kerihuel2008-02-191-1/+20
| | | | (This used to be commit 8a8ed4fae849a2cc565a1ff77b2208a4cd6b1edb)
* pidl: $size can be 'foo / 2' so we need to add '(' and ')'Stefan Metzmacher2008-02-131-2/+2
| | | | | | | | 'foo / 5 * sizeof(bar)' isn't the same as '(foo / 2) * sizeof(bar)'. metze (This used to be commit a496abc4042a98835d485769e0972826da161984)
* Support ETT_FIELD keyword.Julien Kerihuel2008-02-132-0/+23
| | | | (This used to be commit ec8bd3991f76cf8746cf77c277c3491725711f9d)
* pidl/Samba3::ServerNDR: use talloc_tos() instead of NULLStefan Metzmacher2008-02-111-1/+1
| | | | | metze (This used to be commit 99d6f49340d6f190ac318af939eeec17c29f1bbd)
* pidl: Allow fixed size arrays inside unions.Julien Kerihuel2008-02-091-2/+2
| | | | (This used to be commit c9c115647893478e21134f8c703e0f52e2478882)
* pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointersStefan Metzmacher2008-02-071-7/+7
| | | | | | | | The memory allocation of embedded "ref" pointers needs to be the same as for all other embedded pointers. metze (This used to be commit 6b3817c2250b94307ffcbd9f8eeb9a593eb7a82d)
* pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher2008-02-071-4/+4
| | | | | | | The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit d7970d70329e0d4f9de30ccfcedd03e583817fa2)
* pidl: get the pointer types correct when an element has multiple pointersStefan Metzmacher2008-02-071-11/+24
| | | | | | | | | | | | | Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit aa8518521b2a6a7110c84c4981c53acce7389ee9)
* pidl: remove 'pointer_default_top()' supportStefan Metzmacher2008-02-042-12/+1
| | | | | metze (This used to be commit 145d6c8ea0eafc69cdeca45fbf296148b890133d)
* pidl/Samba4::NDR::Parser: correctly get the name of an array elementStefan Metzmacher2008-02-022-5/+18
| | | | | | | | | | | | | | | | | | | When we have "*r->out.ous" (char ***ous, a pointer to a pointer to an array of pointers). we need to use "(*r->out.ous)[3]" to access the 3rd element of the array "*r->out.ous[3]" was generated before, but that's the same as "*(r->out.ous[3])" which would mean the array would apply to a different level. This patch prepares support for: [out,ref,size_is(,num)] [string,charset(UTF16)] uint16 ***names; It means a [ref] pointer to a [unique] pointer to an array of [unique] pointers which point to an UTF16 string. metze (This used to be commit ec0ee2aa5f4bef32f09a426d91c28c985f843038)
* pidl/Samba4::NDR::Parser: fix $var_name for arrays of scalar reference typesStefan Metzmacher2008-02-021-3/+14
| | | | | | | | | | | uint32 num; nstring strings[num]; this should use 'r->strings' instead of '*r->strings' as the pointer to the array. metze (This used to be commit 7c7acae817cd00ab5c915742338b019af79e9193)
* pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a functionStefan Metzmacher2008-02-021-25/+34
| | | | | metze (This used to be commit 26d7f5bf96cd7e950ceb532402afd6b8a58871ea)
* pidl: revert changes it didn't want to push...sorry!Stefan Metzmacher2008-02-023-97/+51
| | | | | | | | | | | | | | 8ebf16c0741085fa769fcc2929f275ab49b1ea5d Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointers 6fcf2456d0e81898b5779ef1650f38b4c5363a80 WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elements 0569139ca2960ec5478829c3e66f7ff69bdb55cd LOOKS OK... pidl: get the pointer types correct when an element has multiple pointe rs 13afc89a87716063180723f0e9cb4f76daca837e CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array element 29c104944bcad30c6a2a3fa70d527bf0ee8969de CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ... 3369015f5d8c425e1a9f9d861471028f03f163bb CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() into a f unction metze (This used to be commit 0bcc8e53d1470ba9dfe93e5d6925b8f4c20c7c66)
* Works!!!...pidl/Samba4::NDR::Parser: fix support for embedded "ref" pointersStefan Metzmacher2008-02-011-7/+7
| | | | | | | | The memory allocation of embedded "ref" pointers needs to be the same as for all other embedded pointers. metze (This used to be commit 8ebf16c0741085fa769fcc2929f275ab49b1ea5d)
* WORKS!!!...pidl/NDR: fix handling of multilevel pointers in function elementsStefan Metzmacher2008-02-011-4/+4
| | | | | | | The 2nd or higher level of wire pointers needs to be marked as deferred. metze (This used to be commit 6fcf2456d0e81898b5779ef1650f38b4c5363a80)
* LOOKS OK... pidl: get the pointer types correct when an element has multiple ↵Stefan Metzmacher2008-02-011-11/+24
| | | | | | | | | | | | | | | pointers Only the first level gets the pointer type from the pointer property, the others get them from the pointer_default() interface property see http://msdn2.microsoft.com/en-us/library/aa378984(VS.85).aspx (Here they talk about the rightmost pointer, but testing shows they mean the leftmost pointer.) metze (This used to be commit 0569139ca2960ec5478829c3e66f7ff69bdb55cd)
* CHECKED... pidl/Samba4::NDR::Parser: correctly get the name of an array elementStefan Metzmacher2008-02-012-5/+18
| | | | | | | | | | | When we have "*r->out.ous" (char ***ous, a pointer to a pointer to an array). we need to use "(*r->out.ous)[3]" to access the 3rd element of the array "*r->out.ous[3]" was generated before, but that's the same as "*(r->out.ous[3])". metze (This used to be commit 13afc89a87716063180723f0e9cb4f76daca837e)
* CHECKED... TODO:MSG pidl/Samba4::NDR::Parser: fix ...Stefan Metzmacher2008-02-011-3/+14
| | | | | metze (This used to be commit 29c104944bcad30c6a2a3fa70d527bf0ee8969de)
* CHECKED... pidl/Samba4::NDR::Parser: move logic for extra get_pointer_of() ↵Stefan Metzmacher2008-02-011-25/+34
| | | | | | | into a function metze (This used to be commit 3369015f5d8c425e1a9f9d861471028f03f163bb)
* pidl: cosmetic fix to use the same value everywhereStefan Metzmacher2008-02-011-1/+1
| | | | | metze (This used to be commit 3c191981436ab3f7dd166a87875ffbac127fbdf5)
* pidl/IDL: don't strip ',' from the properties contentStefan Metzmacher2008-02-013-461/+398
| | | | | metze (This used to be commit fdf9bcb163516f7d96675ae0dce2917afb8f86d3)
* pidl/Samba4::NDR::Parse: move the calculation of NDR_PULL_SET_MEM_CTX() ↵Stefan Metzmacher2008-02-011-43/+27
| | | | | | | flags into one function metze (This used to be commit 74bf021aa7016ace02a0238e71573f18016e3722)
* pidl/Samba4::NDR::Parser: pass down the correct $var_name to ↵Stefan Metzmacher2008-01-311-4/+2
| | | | | | | AllocateArrayLevel() metze (This used to be commit c630bece38eed3278466c2934763fcd8dcfb0610)
* pidl/Samba4::Header: fix typedefs of unions and structs without elementsStefan Metzmacher2008-01-251-0/+2
| | | | | metze (This used to be commit 3131847cb67dadd8ee6fcbca5055927b8ba8a219)
* pidl: get rid of stupid ';' char to terminate bitmap definesStefan Metzmacher2008-01-241-23/+22
| | | | | metze (This used to be commit dd77fc45eee2dde7bdd31a2e39387e94cec158aa)