summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Samba4/Python.pm
AgeCommit message (Collapse)AuthorFilesLines
2012-02-08pidl: add more mapped typesAndrew Tridgell1-1/+7
when we #define one type to another, we need special handling in the python generator Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Feb 8 04:50:06 CET 2012 on sn-devel-104
2012-01-09pidl:Samba4/Python: add an optional 'allow_remaining' argument to ↵Stefan Metzmacher1-3/+26
__ndr_unpack__() hooks Thanks to Amitay Isaacs <amitay@gmail.com> for the help with this. metze
2011-08-10pytalloc: Use consistent prefix for functions, add ABI file.Jelmer Vernooij1-18/+18
2011-08-08pidl:Samba4/Python: PyArg_ParseTuple with "s#" returns 'int' instead of 'size_t'Stefan Metzmacher1-2/+7
If we pass variable references we don't get implicit casting! metze
2011-03-10pidl:Python: don't generate functions with pipe elementsStefan Metzmacher1-1/+10
metze
2011-03-01pidl Add support for uid_t and gid_t typesAndrew Bartlett1-2/+2
These are mapped to uint64_t, which should be big enough. This is proposed to be used for internal Samba representations, where it would be more painful to convert all the callers to an uint64_t calling convention. Andrew Bartlett
2011-01-06pidl:Samba4/Python: fix memory leak in _ndr_print functionsStefan Metzmacher1-1/+6
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 6 14:34:31 CET 2011 on sn-devel-104
2011-01-05pidl:Samba4/Python: avoid ';;' in generated C code.Stefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 5 11:10:34 CET 2011 on sn-devel-104
2011-01-05pidl:Samba4/Python: fix segfault when setting pointers to scalars.Stefan Metzmacher1-0/+3
metze
2011-01-03Use fail_on_null.Jelmer Vernooij1-1/+1
2010-12-18pidl: Add prototype for init function in pidl-generated Python bindings.Jelmer Vernooij1-0/+1
2010-12-18pidl: Use system pytalloc if possible.Jelmer Vernooij1-1/+1
2010-12-10pidl:Samba4/Python.pm: ignore "SUBCONTEXT" levelsStefan Metzmacher1-9/+21
These are only important for the NDR marshalling and not for the python bindings. metze
2010-12-10pidl:Samba4/Python.pm: don't handle scalar reference types specialStefan Metzmacher1-10/+9
The only special thing is that don't need get_value_of(), all other checks are needed. metze
2010-12-08pidl:Samba4/Python.pm: use PyString_FromStringOrNULL() from pyrpc_utilStefan Metzmacher1-6/+6
metze
2010-12-01pidl/python: Allow import of talloc, even though it doesn't live in theJelmer Vernooij1-10/+22
samba.dcerpc. namespace.
2010-12-01pidl: Allow more flexibility importing modules using convenience function.Jelmer Vernooij1-7/+9
2010-12-01pidl: Base new objects off of talloc object.Jelmer Vernooij1-4/+4
2010-11-05pidl: use a union assignment instead of memmoveAndrew Tridgell1-2/+4
this means we don't lose type checking Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-10-23ndr dns: Add simple parserKai Blin1-0/+9
2010-10-04dnsp: Parse TXT recordsKai Blin1-0/+5
2010-10-04ndr: Implement push function for IPv6 addressesKai Blin1-0/+6
Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches.
2010-10-03pidl: Allow longs for bitmasks.Jelmer Vernooij1-13/+24
2010-10-03pidl: simplify some generated code.Jelmer Vernooij1-4/+2
2010-09-28pidl/Python: use has_property($d, "noopnum") helper functionStefan Metzmacher1-1/+1
metze
2010-09-28pidl/Python: remove todo handling from PythonFunction(), it's done by the callerStefan Metzmacher1-15/+6
metze
2010-09-21pytalloc: Add default compare function.Jelmer Vernooij1-0/+1
2010-09-20pidl/python: Allow passing in UTF8 string objects as well as unicodeJelmer Vernooij1-1/+13
objects for IDL strings. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-20s4-pild-python: Fix assignments - even though we reference the mem_ctxJelmer Vernooij1-2/+8
of an object we still use the actual ptr.
2010-09-20pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij1-1/+10
2010-09-20s4-pidl-python: use correct talloc pointer when allocating subobjects.Jelmer Vernooij1-18/+13
2010-09-03pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij1-10/+30
2010-09-03pidl: Factor out generation of interface type name.Jelmer Vernooij1-4/+5
2010-09-02pidl: cope with dom_sid28 in python generatorAndrew Tridgell1-1/+1
treated the same as dom_sid2
2010-09-02pidl-python: cope with NULL pointers in more placesAndrew Tridgell1-7/+7
NULL is converted to Py_None
2010-08-26pidl-python: ensure we allocate ref ptrs before useAndrew Tridgell1-1/+5
this fixes a crash on samba4.samr.python in the build farm
2010-08-25s4-python: reference substructures onto the parent structureAndrew Tridgell1-15/+23
when a python object that is part of a parent structure is created, we should reference it on the parent structure. This ensures that when the child object goes out of scope that the parent structure is still valid
2010-08-23pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpackAndrew Tridgell1-3/+3
2010-08-22pidl: cope with bad type conversions in unionsAndrew Tridgell1-1/+9
This prevents a crash when converting bad types in NDR unions Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
2010-08-22pidl: added a __ndr_print__() method on python NDR objectsAndrew Tridgell1-0/+13
This allows you to print a returned NDR structure using s.__ndr_print__() which gives an easy view of complex structures, such as those from netlogon
2010-08-05pidl: added a new type dnsp_nameAndrew Tridgell1-0/+6
This is a name type used in DNS where each DNS component maps to a length byte followed by the string We want these to map to a char *, which is why we need to do this in PIDL
2010-06-25pidl: Finish to fix the python generated code for 64bit integersMatthieu Patou1-3/+30
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-25pidl/python: Make sure to always increment reference counter when usingJelmer Vernooij1-1/+3
Py_None.
2010-06-24pidl/python: Increment reference counter on Py_None to prevent us fromJelmer Vernooij1-0/+2
accidentally deallocating it.
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+2
2010-05-02pidl: Fix the generation of py helper for 64 bit integerMatthieu Patou1-1/+5
Up to now the generation of code for python helpers dealing with 64 bits (NTTIME,hyper, ...) was broken because they were assumed to be Int (PyInt_From ...) as Integer is always 32 bits in python. This fix use PyLong and states that the incomming data is a long long as it should be 64 bit at least. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-03-23pidl:Samba4/Python: librpc/rpc/dcerpc.h isn't needed anymoreStefan Metzmacher1-1/+0
metze
2010-03-18pidl:Samba4/Python: make use of dcerpc_binding_handle stubsStefan Metzmacher1-2/+2
metze
2010-03-18pidl:Samba4/Python: remove compiler warningsStefan Metzmacher1-1/+1
metze
2010-03-18pidl:Samba4/Python: remove compiler warnings when using -Wc++Stefan Metzmacher1-1/+1
metze