summaryrefslogtreecommitdiff
path: root/pidl/lib/Parse/Pidl/Samba4/Python.pm
AgeCommit message (Collapse)AuthorFilesLines
2010-01-21pidl: Include Python.h first, to avoid warnings.Jelmer Vernooij1-1/+1
2009-11-20Revert "Work around ndr_unpack failing on structures with relative pointers."Stefan Metzmacher1-18/+1
This reverts commit c2cdb4ad5c9398ef0d3310613107999f8d33c7ce. It's not needed anymore. metze
2009-09-28pidl: Avoid using talloc_free as function pointer, since it may be aJelmer Vernooij1-2/+2
macro.
2009-09-26pidl(s4.python): Fix arguments to PyCObject_FromVoidPtr for string_array's.Jelmer Vernooij1-1/+1
Caught by Guenther.
2009-07-31pidl:Samba4/Python: fix mapType() => mapTypeName()Stefan Metzmacher1-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-30python: Cope with the dom_sid2 alias in pidl's python generating code.Jelmer Vernooij1-2/+6
This fixes some problems in the samr Python bindings that pidl was (correctly) warning about.
2009-07-30DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal.Jelmer Vernooij1-1/+1
Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe.
2009-07-19pidl: Print actual type names in errors about unknown origins rather than ↵Jelmer Vernooij1-15/+15
'HASH(0x....)'.
2009-04-21Revert "pidl/python: Add explicit casts, fixing implicit cast warnings."Andrew Bartlett1-1/+1
It was creating new objects with bogus data. This reverts commit 210830392999691469a55f4f5e2032abcdb20b8a.
2009-02-25Work around ndr_unpack failing on structures with relative pointers.Andrew Bartlett1-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-22pidl/python: Add explicit casts, fixing implicit cast warnings.Michael Adam1-1/+1
Michael
2009-01-21pidl/python: Add explicit casts, fixes warnings about casts when enabled.Jelmer Vernooij1-4/+4
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-1/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-1/+1
2008-12-29pidl: don't generate invalid C codeStefan Metzmacher1-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-22pidl/python: Factor out connect code rather than duplicating it in eachJelmer Vernooij1-82/+2
Python module.
2008-12-22pidl/python: Skip unknown types, rather than dieing.Jelmer Vernooij1-12/+29
2008-12-22Import types from other Python mechanisms using the Python import mechanism, ↵Jelmer Vernooij1-34/+67
to ensure they are initialized.
2008-12-21Simplify customization of pidl-generated Python modules.Jelmer Vernooij1-19/+30
2008-12-21Allow providing extra module-level Python functions.Jelmer Vernooij1-0/+6
2008-12-21Create and use convenience function for creating new talloc-wrapping Python ↵Jelmer Vernooij1-4/+3
Objects, support subtypes of DCE/RPC interfaces properly
2008-12-21Support custom constructors for pidl-created types and support types based ↵Jelmer Vernooij1-5/+2
on pidl-created types.
2008-12-12Don't allow specifying arguments to pidl object constructors, as they'llJelmer Vernooij1-0/+3
be ignored anyway atm.
2008-12-12Allow overriding repr function for pidl-defined types.Jelmer Vernooij1-1/+5
2008-12-12Support pyhelper property to allow additional methods to be tucked onto aJelmer Vernooij1-0/+9
pidl-generated type.
2008-12-12Add convenience function for determining if an array should be allocated ↵Jelmer Vernooij1-1/+2
with talloc.
2008-11-11Remove unused variable, fix return.Jelmer Vernooij1-2/+1
2008-11-02Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij1-8/+8
2008-10-24Fix include path to pytalloc.Jelmer Vernooij1-1/+1
2008-09-30make sure dcerpc is always initialized.Jelmer Vernooij1-0/+10
2008-09-17Move pidl to top-level directory.Jelmer Vernooij1-0/+1216