Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | pidl:Samba4/Python: add interface.abstract_syntax() to each interface | Stefan Metzmacher | 2014-03-28 | 1 | -0/+39 |
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | pidl: add more mapped types | Andrew Tridgell | 2012-02-08 | 1 | -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 | ||||
* | pidl:Samba4/Python: add an optional 'allow_remaining' argument to ↵ | Stefan Metzmacher | 2012-01-09 | 1 | -3/+26 |
| | | | | | | | | __ndr_unpack__() hooks Thanks to Amitay Isaacs <amitay@gmail.com> for the help with this. metze | ||||
* | pytalloc: Use consistent prefix for functions, add ABI file. | Jelmer Vernooij | 2011-08-10 | 1 | -18/+18 |
| | |||||
* | pidl:Samba4/Python: PyArg_ParseTuple with "s#" returns 'int' instead of 'size_t' | Stefan Metzmacher | 2011-08-08 | 1 | -2/+7 |
| | | | | | | If we pass variable references we don't get implicit casting! metze | ||||
* | pidl:Python: don't generate functions with pipe elements | Stefan Metzmacher | 2011-03-10 | 1 | -1/+10 |
| | | | | metze | ||||
* | pidl Add support for uid_t and gid_t types | Andrew Bartlett | 2011-03-01 | 1 | -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 | ||||
* | pidl:Samba4/Python: fix memory leak in _ndr_print functions | Stefan Metzmacher | 2011-01-06 | 1 | -1/+6 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Jan 6 14:34:31 CET 2011 on sn-devel-104 | ||||
* | pidl:Samba4/Python: avoid ';;' in generated C code. | Stefan Metzmacher | 2011-01-05 | 1 | -1/+1 |
| | | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 5 11:10:34 CET 2011 on sn-devel-104 | ||||
* | pidl:Samba4/Python: fix segfault when setting pointers to scalars. | Stefan Metzmacher | 2011-01-05 | 1 | -0/+3 |
| | | | | metze | ||||
* | Use fail_on_null. | Jelmer Vernooij | 2011-01-03 | 1 | -1/+1 |
| | |||||
* | pidl: Add prototype for init function in pidl-generated Python bindings. | Jelmer Vernooij | 2010-12-18 | 1 | -0/+1 |
| | |||||
* | pidl: Use system pytalloc if possible. | Jelmer Vernooij | 2010-12-18 | 1 | -1/+1 |
| | |||||
* | pidl:Samba4/Python.pm: ignore "SUBCONTEXT" levels | Stefan Metzmacher | 2010-12-10 | 1 | -9/+21 |
| | | | | | | | These are only important for the NDR marshalling and not for the python bindings. metze | ||||
* | pidl:Samba4/Python.pm: don't handle scalar reference types special | Stefan Metzmacher | 2010-12-10 | 1 | -10/+9 |
| | | | | | | | The only special thing is that don't need get_value_of(), all other checks are needed. metze | ||||
* | pidl:Samba4/Python.pm: use PyString_FromStringOrNULL() from pyrpc_util | Stefan Metzmacher | 2010-12-08 | 1 | -6/+6 |
| | | | | metze | ||||
* | pidl/python: Allow import of talloc, even though it doesn't live in the | Jelmer Vernooij | 2010-12-01 | 1 | -10/+22 |
| | | | | samba.dcerpc. namespace. | ||||
* | pidl: Allow more flexibility importing modules using convenience function. | Jelmer Vernooij | 2010-12-01 | 1 | -7/+9 |
| | |||||
* | pidl: Base new objects off of talloc object. | Jelmer Vernooij | 2010-12-01 | 1 | -4/+4 |
| | |||||
* | pidl: use a union assignment instead of memmove | Andrew Tridgell | 2010-11-05 | 1 | -2/+4 |
| | | | | | | this means we don't lose type checking Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | ||||
* | ndr dns: Add simple parser | Kai Blin | 2010-10-23 | 1 | -0/+9 |
| | |||||
* | dnsp: Parse TXT records | Kai Blin | 2010-10-04 | 1 | -0/+5 |
| | |||||
* | ndr: Implement push function for IPv6 addresses | Kai Blin | 2010-10-04 | 1 | -0/+6 |
| | | | | | Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches. | ||||
* | pidl: Allow longs for bitmasks. | Jelmer Vernooij | 2010-10-03 | 1 | -13/+24 |
| | |||||
* | pidl: simplify some generated code. | Jelmer Vernooij | 2010-10-03 | 1 | -4/+2 |
| | |||||
* | pidl/Python: use has_property($d, "noopnum") helper function | Stefan Metzmacher | 2010-09-28 | 1 | -1/+1 |
| | | | | metze | ||||
* | pidl/Python: remove todo handling from PythonFunction(), it's done by the caller | Stefan Metzmacher | 2010-09-28 | 1 | -15/+6 |
| | | | | metze | ||||
* | pytalloc: Add default compare function. | Jelmer Vernooij | 2010-09-21 | 1 | -0/+1 |
| | |||||
* | pidl/python: Allow passing in UTF8 string objects as well as unicode | Jelmer Vernooij | 2010-09-20 | 1 | -1/+13 |
| | | | | | | objects for IDL strings. Signed-off-by: Andrew Tridgell <tridge@samba.org> | ||||
* | s4-pild-python: Fix assignments - even though we reference the mem_ctx | Jelmer Vernooij | 2010-09-20 | 1 | -2/+8 |
| | | | | of an object we still use the actual ptr. | ||||
* | pidl: Fix segfault when accessing unicode objects. | Jelmer Vernooij | 2010-09-20 | 1 | -1/+10 |
| | |||||
* | s4-pidl-python: use correct talloc pointer when allocating subobjects. | Jelmer Vernooij | 2010-09-20 | 1 | -18/+13 |
| | |||||
* | pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection. | Jelmer Vernooij | 2010-09-03 | 1 | -10/+30 |
| | |||||
* | pidl: Factor out generation of interface type name. | Jelmer Vernooij | 2010-09-03 | 1 | -4/+5 |
| | |||||
* | pidl: cope with dom_sid28 in python generator | Andrew Tridgell | 2010-09-02 | 1 | -1/+1 |
| | | | | treated the same as dom_sid2 | ||||
* | pidl-python: cope with NULL pointers in more places | Andrew Tridgell | 2010-09-02 | 1 | -7/+7 |
| | | | | NULL is converted to Py_None | ||||
* | pidl-python: ensure we allocate ref ptrs before use | Andrew Tridgell | 2010-08-26 | 1 | -1/+5 |
| | | | | this fixes a crash on samba4.samr.python in the build farm | ||||
* | s4-python: reference substructures onto the parent structure | Andrew Tridgell | 2010-08-25 | 1 | -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 | ||||
* | pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpack | Andrew Tridgell | 2010-08-23 | 1 | -3/+3 |
| | |||||
* | pidl: cope with bad type conversions in unions | Andrew Tridgell | 2010-08-22 | 1 | -1/+9 |
| | | | | | | This prevents a crash when converting bad types in NDR unions Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | ||||
* | pidl: added a __ndr_print__() method on python NDR objects | Andrew Tridgell | 2010-08-22 | 1 | -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 | ||||
* | pidl: added a new type dnsp_name | Andrew Tridgell | 2010-08-05 | 1 | -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 | ||||
* | pidl: Finish to fix the python generated code for 64bit integers | Matthieu Patou | 2010-06-25 | 1 | -3/+30 |
| | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | ||||
* | pidl/python: Make sure to always increment reference counter when using | Jelmer Vernooij | 2010-06-25 | 1 | -1/+3 |
| | | | | Py_None. | ||||
* | pidl/python: Increment reference counter on Py_None to prevent us from | Jelmer Vernooij | 2010-06-24 | 1 | -0/+2 |
| | | | | accidentally deallocating it. | ||||
* | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 2010-05-18 | 1 | -2/+2 |
| | |||||
* | pidl: Fix the generation of py helper for 64 bit integer | Matthieu Patou | 2010-05-02 | 1 | -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> | ||||
* | pidl:Samba4/Python: librpc/rpc/dcerpc.h isn't needed anymore | Stefan Metzmacher | 2010-03-23 | 1 | -1/+0 |
| | | | | metze | ||||
* | pidl:Samba4/Python: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 2010-03-18 | 1 | -2/+2 |
| | | | | metze | ||||
* | pidl:Samba4/Python: remove compiler warnings | Stefan Metzmacher | 2010-03-18 | 1 | -1/+1 |
| | | | | metze |