Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-09-02 | pidl: cope with dom_sid28 in python generator | Andrew Tridgell | 1 | -1/+1 | |
treated the same as dom_sid2 | |||||
2010-09-02 | pidl-python: cope with NULL pointers in more places | Andrew Tridgell | 1 | -7/+7 | |
NULL is converted to Py_None | |||||
2010-08-26 | pidl-python: ensure we allocate ref ptrs before use | Andrew Tridgell | 1 | -1/+5 | |
this fixes a crash on samba4.samr.python in the build farm | |||||
2010-08-25 | s4-python: reference substructures onto the parent structure | Andrew Tridgell | 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 | |||||
2010-08-23 | pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpack | Andrew Tridgell | 1 | -3/+3 | |
2010-08-22 | pidl: cope with bad type conversions in unions | Andrew Tridgell | 1 | -1/+9 | |
This prevents a crash when converting bad types in NDR unions Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-08-22 | pidl: added a __ndr_print__() method on python NDR objects | Andrew Tridgell | 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 | |||||
2010-08-05 | pidl: added a new type dnsp_name | Andrew Tridgell | 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 | |||||
2010-06-25 | pidl: Finish to fix the python generated code for 64bit integers | Matthieu Patou | 1 | -3/+30 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2010-06-25 | pidl/python: Make sure to always increment reference counter when using | Jelmer Vernooij | 1 | -1/+3 | |
Py_None. | |||||
2010-06-24 | pidl/python: Increment reference counter on Py_None to prevent us from | Jelmer Vernooij | 1 | -0/+2 | |
accidentally deallocating it. | |||||
2010-05-18 | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 1 | -2/+2 | |
2010-05-02 | pidl: Fix the generation of py helper for 64 bit integer | Matthieu Patou | 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> | |||||
2010-03-23 | pidl:Samba4/Python: librpc/rpc/dcerpc.h isn't needed anymore | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2010-03-18 | pidl:Samba4/Python: make use of dcerpc_binding_handle stubs | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-03-18 | pidl:Samba4/Python: remove compiler warnings | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-03-18 | pidl:Samba4/Python: remove compiler warnings when using -Wc++ | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-03-12 | pidl:Samba/Python: don't generate methods for functions marked as [todo] | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2010-02-09 | pidl - Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 1 | -4/+0 | |
This was needed only by Python 2.3 which we no longer support. | |||||
2010-01-21 | pidl: Include Python.h first, to avoid warnings. | Jelmer Vernooij | 1 | -1/+1 | |
2009-11-20 | Revert "Work around ndr_unpack failing on structures with relative pointers." | Stefan Metzmacher | 1 | -18/+1 | |
This reverts commit c2cdb4ad5c9398ef0d3310613107999f8d33c7ce. It's not needed anymore. metze | |||||
2009-09-28 | pidl: Avoid using talloc_free as function pointer, since it may be a | Jelmer Vernooij | 1 | -2/+2 | |
macro. | |||||
2009-09-26 | pidl(s4.python): Fix arguments to PyCObject_FromVoidPtr for string_array's. | Jelmer Vernooij | 1 | -1/+1 | |
Caught by Guenther. | |||||
2009-07-31 | pidl:Samba4/Python: fix mapType() => mapTypeName() | Stefan Metzmacher | 1 | -1/+1 | |
This tries to fix commit 8eff9f9a3167eb0c2a4c00edf5a4cdbbc06c4dfd. The problem was: Undefined subroutine &Parse::Pidl::Samba4::Python::mapType called at /home/metze/master4/pidl/lib/Parse/Pidl/Samba4/Python.pm line 848. Jelmer: please check this. metze | |||||
2009-07-30 | python: Cope with the dom_sid2 alias in pidl's python generating code. | Jelmer Vernooij | 1 | -2/+6 | |
This fixes some problems in the samr Python bindings that pidl was (correctly) warning about. | |||||
2009-07-30 | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 1 | -1/+1 | |
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | |||||
2009-07-19 | pidl: Print actual type names in errors about unknown origins rather than ↵ | Jelmer Vernooij | 1 | -15/+15 | |
'HASH(0x....)'. | |||||
2009-04-21 | Revert "pidl/python: Add explicit casts, fixing implicit cast warnings." | Andrew Bartlett | 1 | -1/+1 | |
It was creating new objects with bogus data. This reverts commit 210830392999691469a55f4f5e2032abcdb20b8a. | |||||
2009-02-25 | Work around ndr_unpack failing on structures with relative pointers. | Andrew Bartlett | 1 | -1/+18 | |
This disgusting hack works around the fact that ndr_pull_struct_blob_all will always fail on structures with relative pointers. So, map ndr_unpack to ndr_pull_struct_blob_all only if we don't have any relative pointers in this structure. Andrew Bartlett | |||||
2009-01-22 | pidl/python: Add explicit casts, fixing implicit cast warnings. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-01-21 | pidl/python: Add explicit casts, fixes warnings about casts when enabled. | Jelmer Vernooij | 1 | -4/+4 | |
2009-01-08 | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 1 | -1/+5 | |
since this will not be shipped with talloc/tdb/tevent/etc. | |||||
2009-01-07 | s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4 | Tim Prouty | 1 | -1/+1 | |
2009-01-06 | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 1 | -1/+1 | |
2008-12-29 | pidl: don't generate invalid C code | Stefan Metzmacher | 1 | -1/+3 | |
When we don't know how to handle a type for the python bindings, we should not generate invalid C code. Jelmer: please fix do the full fix for this. metze | |||||
2008-12-22 | pidl/python: Factor out connect code rather than duplicating it in each | Jelmer Vernooij | 1 | -82/+2 | |
Python module. | |||||
2008-12-22 | pidl/python: Skip unknown types, rather than dieing. | Jelmer Vernooij | 1 | -12/+29 | |
2008-12-22 | Import types from other Python mechanisms using the Python import mechanism, ↵ | Jelmer Vernooij | 1 | -34/+67 | |
to ensure they are initialized. | |||||
2008-12-21 | Simplify customization of pidl-generated Python modules. | Jelmer Vernooij | 1 | -19/+30 | |
2008-12-21 | Allow providing extra module-level Python functions. | Jelmer Vernooij | 1 | -0/+6 | |
2008-12-21 | Create and use convenience function for creating new talloc-wrapping Python ↵ | Jelmer Vernooij | 1 | -4/+3 | |
Objects, support subtypes of DCE/RPC interfaces properly | |||||
2008-12-21 | Support custom constructors for pidl-created types and support types based ↵ | Jelmer Vernooij | 1 | -5/+2 | |
on pidl-created types. | |||||
2008-12-12 | Don't allow specifying arguments to pidl object constructors, as they'll | Jelmer Vernooij | 1 | -0/+3 | |
be ignored anyway atm. | |||||
2008-12-12 | Allow overriding repr function for pidl-defined types. | Jelmer Vernooij | 1 | -1/+5 | |
2008-12-12 | Support pyhelper property to allow additional methods to be tucked onto a | Jelmer Vernooij | 1 | -0/+9 | |
pidl-generated type. | |||||
2008-12-12 | Add convenience function for determining if an array should be allocated ↵ | Jelmer Vernooij | 1 | -1/+2 | |
with talloc. | |||||
2008-11-11 | Remove unused variable, fix return. | Jelmer Vernooij | 1 | -2/+1 | |
2008-11-02 | Remove use of global_loadparm during initialization of gensec. | Jelmer Vernooij | 1 | -8/+8 | |
2008-10-24 | Fix include path to pytalloc. | Jelmer Vernooij | 1 | -1/+1 | |
2008-09-30 | make sure dcerpc is always initialized. | Jelmer Vernooij | 1 | -0/+10 | |