summaryrefslogtreecommitdiffstats
path: root/source4/pidl
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-072-14/+14
| | | | | | | 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-072-18/+306
| | | | | | | | | | | | | 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-043-18/+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-024-379/+58
| | | | | | | | | | | | | | 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-012-14/+14
| | | | | | | 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-012-18/+306
| | | | | | | | | | | | | | | 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-014-467/+399
| | | | | 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: be consistent and always ask pkg-config only for 'ndr'Stefan Metzmacher2008-01-301-1/+1
| | | | | metze (This used to be commit ab2e1394d0a66ca13750e1b6f4ced07f4a0f3453)
* 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)
* pidl/Samba4::Header: we don't need to check if (defined($enum->{ELEMENTS})) ↵Stefan Metzmacher2008-01-241-20/+18
| | | | | | | twice metze (This used to be commit c1ac13ee12d6d7e41b3700f207c9a8811bb05cd4)
* pidl: Add --version argument.Julien Kerihuel2008-01-182-3/+24
| | | | (This used to be commit ed1e58e8b35bc971451f4e0a357daa903cd7820d)
* pidl: Add simple test for ServerNDR.Jelmer Vernooij2008-01-162-3/+11
| | | | (This used to be commit 5b2ea43ed8613ac10ebe7feda0cf070c8079137a)
* pidl: Fix missing import for fatal().Jelmer Vernooij2008-01-161-0/+1
| | | | (This used to be commit 6a9827454aaf4279ee85dc5d99d10f14e4c09eae)
* pidl: Fix imported function for ServerNDR and add test to make sure it ↵Jelmer Vernooij2008-01-162-1/+15
| | | | | | doesn't regress again. (This used to be commit 0e036948307c8ca5013e20a17a10d109830e4df1)
* python: Fix handling of pointer-less strings in function arguments.Jelmer Vernooij2008-01-141-8/+8
| | | | (This used to be commit cb2700094fc1fc3887d5254e5d42e035deefa5b9)
* python: Compile security module, handle uint.Jelmer Vernooij2008-01-142-3/+4
| | | | (This used to be commit dee64344fb13aaed38a550ebb4048d0fa526d5b6)
* python: Fix some corner cases handling scalars.Jelmer Vernooij2008-01-141-3/+13
| | | | (This used to be commit b662c98a9ad461a33a27a918c0d544a96433e48c)
* python: Don't try to free const pointers.Jelmer Vernooij2008-01-141-1/+5
| | | | (This used to be commit b4754f4683e67a940f18a88e45c0878259f45b97)
* python: Move some convenience macros to a separate header rather than ↵Jelmer Vernooij2008-01-141-6/+2
| | | | | | putting them in every generated py_* file. (This used to be commit 712274b9bdf524da125cbbe6e4bb475b21b1da66)
* python: Build epmapper module.Jelmer Vernooij2008-01-141-46/+37
| | | | (This used to be commit 6cb78c7634de0f9ab327583844d7860d384356eb)
* python: Be more pythonic - turn WERROR and NTSTATUS return codes into ↵Jelmer Vernooij2008-01-141-2/+20
| | | | | | exceptions. (This used to be commit 16fc69b843e92ae62b15caf927335cc117156499)
* python: Fix python code for winreg, add test.Jelmer Vernooij2008-01-141-5/+6
| | | | (This used to be commit bd3e6c41c42738fcfcc5cef4e65f0e219d358260)
* pidl/python: Fix processing UUID-less interfaces, external typedefs and ↵Jelmer Vernooij2008-01-142-140/+137
| | | | | | certain bitmap elements. (This used to be commit e65618fff3299193c27959e2cc5a3937837e1422)
* pidl/python: Deal with arrays that are not pointers.Jelmer Vernooij2008-01-141-0/+12
| | | | (This used to be commit 7516af7c7262240df3b804dda962194a811d4e96)
* pidl/python: Specify memory context explicitly when returning Python objects.Jelmer Vernooij2008-01-141-32/+30
| | | | (This used to be commit 9c72f652e0d3f14d5db4d3930f0d1f9a1875e93f)
* pidl/python: Pass credentials and loadparm context when connecting using ↵Jelmer Vernooij2008-01-141-11/+48
| | | | | | DCE/RPC. (This used to be commit 4c87af95310e4aaee3f2e2da02d0ea70ed1ec25b)
* python: Fix rpcecho tests.Jelmer Vernooij2008-01-141-2/+2
| | | | (This used to be commit ebb78ea4232c1614755844849580e3697b0a53fa)
* pidl/python: Fix compilation of py_echo.Jelmer Vernooij2008-01-141-2/+14
| | | | (This used to be commit 5ee99ff31c80ece6861b2a0323d71170ef9346b9)
* python/pidl: Fix assignment.Jelmer Vernooij2008-01-141-9/+19
| | | | (This used to be commit 2d2cb6486e6e1a31ae94223784e49fb4eea8bb26)
* pidl/python: Fix more compile errors.Jelmer Vernooij2008-01-141-26/+32
| | | | (This used to be commit 2eb4526599ec6d3c604dd9b1f258496c82288284)
* pidl/python: Fix parsing arguments, fix more pointer issues.Jelmer Vernooij2008-01-144-50/+146
| | | | (This used to be commit b00c1a072457e5083ffc24a8b74b3793d0b44eee)
* pidl/python: Fix use of pointers.Jelmer Vernooij2008-01-141-11/+70
| | | | (This used to be commit 13f2b0380f310b101975d709361a29d4032c3689)
* pidl/python: Remove unnecessary talloc_free().Jelmer Vernooij2008-01-141-1/+1
| | | | (This used to be commit a099d30067a4d965a283f52e56ffd1897137bf1a)
* python: Allow wrapping pointers within talloc'ed memory that are not talloc ↵Jelmer Vernooij2008-01-141-16/+28
| | | | | | contexts. (This used to be commit 9c038a74113fb55ed5eb12a7d0ae4a46bad9050c)
* pidl/python: Support repr() for python types.Jelmer Vernooij2008-01-141-7/+17
| | | | (This used to be commit cf3664594d3540db20d32bc844f18e20abfa0d96)
* pidl: Move Generate*Env functions to Parse::Pidl::Samba4::Header because ↵Jelmer Vernooij2008-01-147-119/+130
| | | | | | they only work with the structures generated by that file. (This used to be commit 9aeb7f31b0fc3b9679e5af07e65e79bc8073c4e1)
* pidl/python: Work towards supporting more complex types (arrays, etc).Jelmer Vernooij2008-01-141-76/+115
| | | | (This used to be commit 49d91a1a92e226c015db86ddc9ef772030415d76)
* pidl/python: Support more scalar types when converting from Python.Jelmer Vernooij2008-01-141-20/+47
| | | | (This used to be commit 1f3bbb65e5a46715c49225eecc760faaf5dbb9d7)