Jelmer Vernooij
7ebc7e677d
pidl: Allow location argument to warning() and error() to be undef, in case it is
...
not known.
2008-12-22 03:21:10 +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
97f3720038
Don't write out forward declarations for enums, as some compilers don't
...
seem to like it.
2008-12-16 22:58:10 +01:00
Jelmer Vernooij
9692c71aa1
Make some fatal errors non-fatal. This means we generate invalid code in
...
some cases, but we do print errors. We don't use all generated code yet at the
moment, so this isn't much of a problem.
2008-12-16 18:02:14 +01:00
Jelmer Vernooij
5bf0c0bf9c
Remove pidl SWIG backend; the native Python one works much better, and
...
that's also the best way to go for any other languages.
2008-12-16 16:48:48 +01:00
Jelmer Vernooij
121970d224
Only create (D)COM output files if there were COM objects in the IDL files.
2008-12-16 16:37:54 +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
d1101dba79
Remove noejs property, which is no longer used.
2008-12-12 11:48:42 +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
076479aac3
Remove EJS backend for PIDL, as we don't have EJS anymore.
2008-12-12 10:30:13 +01:00
Günther Deschner
2865be8a1c
pidl: fix generated s3-server in,out,ref qualifiers that are used for buffer allocation.
...
Guenther
2008-11-19 21:50:02 +01:00
Günther Deschner
216c788b0c
pidl: skip generation of noopnum functions in generated s3 server.
...
Guenther
2008-11-15 00:32:55 +01:00
Günther Deschner
cf06b75f0a
pidl: do not generate cli_ functions for noopnum flaged functions.
...
Guenther
2008-11-15 00:32:55 +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
c537f7a914
Fix the build.
2008-11-02 05:49:36 +01:00
Jelmer Vernooij
dccf1b2c9f
Remove another use of global_loadparm.
2008-11-02 00:26:04 +01:00
Jelmer Vernooij
23b04a31f1
Fix include path to pytalloc.
2008-10-24 02:58:12 +02:00
Jelmer Vernooij
358e9931bc
Also check include dirs for IDL files.
2008-10-15 02:06:41 +02:00
Jelmer Vernooij
9f2ed1e00f
Share RPC binding string utility functions.
2008-10-12 19:05:46 +02:00
Jelmer Vernooij
20b73b1309
Print proper error if include file can't be found.
2008-10-08 02:18:59 +02:00
Jelmer Vernooij
454122ab09
make sure dcerpc is always initialized.
2008-09-30 06:05:05 +02:00
Günther Deschner
44f7c1c216
pidl: fix samba3 server wrt to samba4 ndr_pull_init_blob protype.
...
this is in preparation for the final nbt merge.
Guenther
2008-09-23 23:34:27 +02:00
Jelmer Vernooij
79190992b3
Move pidl to top-level directory.
2008-09-17 17:12:27 +02:00