Tim Prouty
61a23c5eea
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
2009-01-07 15:03:16 -08:00
Jelmer Vernooij
d2c70d24e1
py: Properly increase the reference counter of Py_None.
2009-01-06 04:13:57 +01:00
Stefan Metzmacher
791459f61b
pidl: don't generate invalid C code
...
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-29 23:23:27 +01:00
Jelmer Vernooij
1807b0870b
pidl/python: Factor out connect code rather than duplicating it in each
...
Python module.
2008-12-22 04:56:41 +01:00
Jelmer Vernooij
a6bd295229
pidl/python: Skip unknown types, rather than dieing.
2008-12-22 03:22:28 +01:00
Jelmer Vernooij
2c58c9497c
Import types from other Python mechanisms using the Python import mechanism, to ensure they are initialized.
2008-12-22 01:51:38 +01:00
Jelmer Vernooij
7e651c7ef3
Simplify customization of pidl-generated Python modules.
2008-12-21 21:10:40 +01:00
Jelmer Vernooij
38a4749d2c
Allow providing extra module-level Python functions.
2008-12-21 18:46:59 +01:00
Jelmer Vernooij
c1a9b68623
Create and use convenience function for creating new talloc-wrapping Python Objects, support subtypes of DCE/RPC interfaces properly
2008-12-21 00:37:31 +01:00
Jelmer Vernooij
42b7762f9b
Support custom constructors for pidl-created types and support types based on pidl-created types.
2008-12-21 00:09:30 +01:00
Jelmer Vernooij
0727fbe87d
Don't allow specifying arguments to pidl object constructors, as they'll
...
be ignored anyway atm.
2008-12-12 19:01:40 +01:00
Jelmer Vernooij
3e2c070395
Allow overriding repr function for pidl-defined types.
2008-12-12 13:31:42 +01:00
Jelmer Vernooij
850abaffbe
Support pyhelper property to allow additional methods to be tucked onto a
...
pidl-generated type.
2008-12-12 12:40:11 +01:00
Jelmer Vernooij
0f8d749144
Add convenience function for determining if an array should be allocated with talloc.
2008-12-12 11:16:36 +01:00
Jelmer Vernooij
2f438b4cde
Remove unused variable, fix return.
2008-11-11 17:10:24 +01:00
Jelmer Vernooij
a1cc278142
Remove use of global_loadparm during initialization of gensec.
2008-11-02 17:04:22 +01:00
Jelmer Vernooij
23b04a31f1
Fix include path to pytalloc.
2008-10-24 02:58:12 +02:00
Jelmer Vernooij
454122ab09
make sure dcerpc is always initialized.
2008-09-30 06:05:05 +02:00
Jelmer Vernooij
79190992b3
Move pidl to top-level directory.
2008-09-17 17:12:27 +02:00