summaryrefslogtreecommitdiffstats
path: root/pidl
Commit message (Collapse)AuthorAgeFilesLines
* pidl: fix samba3-cli test after change to cli->dispatch()Stefan Metzmacher2009-01-301-2/+2
| | | | metze
* pidl/python: Add explicit casts, fixing implicit cast warnings.Michael Adam2009-01-221-1/+1
| | | | Michael
* pidl: reduce implicit cast warnings in gen_ndr server codeMichael Adam2009-01-221-1/+1
| | | | Michael
* pidl/python: Add explicit casts, fixes warnings about casts when enabled.Jelmer Vernooij2009-01-211-4/+4
|
* Allow calling DCE/RPC server implementations directly usingJelmer Vernooij2009-01-212-42/+93
| | | | rpc_pipe_client.
* pidl: Remove "max" and make "range" smarter about unsigned typesTim Prouty2009-01-174-10/+23
| | | | | This eliminates a warning in pidl generated code, while preserving cross-platform idl compatibility.
* pidl: Add max property to be used instead of range for unsigned types.Tim Prouty2009-01-153-0/+8
| | | | | | Compilers complain about ranges starting at 0 for unsigned types, since an unsigned type is never less than 0. The max property implicitly makes 0 the lower bound when used with unsigned types.
* pidl: remove references to EJS and SWIG codeStefan Metzmacher2009-01-132-4/+0
| | | | | | This fixes 'make install'. metze
* Pass the full ndr_interface_table into the s3 rpcserver when registeringVolker Lendecke2009-01-091-1/+1
|
* Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij2009-01-081-1/+5
| | | | since this will not be shipped with talloc/tdb/tevent/etc.
* s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty2009-01-071-1/+1
|
* py: Properly increase the reference counter of Py_None.Jelmer Vernooij2009-01-061-1/+1
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2009-01-041-0/+6
|\
| * pidl: add dummy element for empty unionsStefan Metzmacher2009-01-021-0/+6
| | | | | | | | | | | | This hopefully fixes the build on Solaris and IRIX. metze
* | Add iconv_convenience argument to size functions.Jelmer Vernooij2009-01-011-4/+4
|/
* pidl: Fix a const build warning in the samba3 merged buildTim Prouty2008-12-301-1/+1
| | | | | | | | | | | The warning: ../librpc/gen_ndr/ndr_spoolss.c: In function ‘ndr_pull_spoolss_EnumPrinterData’: ../librpc/gen_ndr/ndr_spoolss.c:14792: warning: passing argument 1 of ‘memset’ discards qualifiers from pointer target type In some case the pidl generated code needs to memset a const struct field. This causes the above warning. This patch discardeds the const in this case. I'm open to a more elegant fix, but this eliminates the warning and should be relatively safe.
* pidl: don't generate invalid C codeStefan Metzmacher2008-12-291-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
* pidl: Fix typelist test after addition of type origin tracking.Jelmer Vernooij2008-12-231-0/+1
|
* pidl/python: Factor out connect code rather than duplicating it in eachJelmer Vernooij2008-12-221-82/+2
| | | | Python module.
* pidl/python: Skip unknown types, rather than dieing.Jelmer Vernooij2008-12-221-12/+29
|
* pidl: Allow location argument to warning() and error() to be undef, in case ↵Jelmer Vernooij2008-12-221-2/+8
| | | | | | it is not known.
* Import types from other Python mechanisms using the Python import mechanism, ↵Jelmer Vernooij2008-12-224-47/+86
| | | | to ensure they are initialized.
* Simplify customization of pidl-generated Python modules.Jelmer Vernooij2008-12-211-19/+30
|
* Allow providing extra module-level Python functions.Jelmer Vernooij2008-12-211-0/+6
|
* Create and use convenience function for creating new talloc-wrapping Python ↵Jelmer Vernooij2008-12-211-4/+3
| | | | Objects, support subtypes of DCE/RPC interfaces properly
* Support custom constructors for pidl-created types and support types based ↵Jelmer Vernooij2008-12-211-5/+2
| | | | on pidl-created types.
* Don't write out forward declarations for enums, as some compilers don'tJelmer Vernooij2008-12-161-0/+2
| | | | seem to like it.
* Make some fatal errors non-fatal. This means we generate invalid code inJelmer Vernooij2008-12-162-4/+8
| | | | | 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.
* Remove pidl SWIG backend; the native Python one works much better, andJelmer Vernooij2008-12-162-189/+1
| | | | that's also the best way to go for any other languages.
* Only create (D)COM output files if there were COM objects in the IDL files.Jelmer Vernooij2008-12-162-2/+11
|
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2008-12-167-921/+34
|\
| * Don't allow specifying arguments to pidl object constructors, as they'llJelmer Vernooij2008-12-121-0/+3
| | | | | | | | be ignored anyway atm.
| * Allow overriding repr function for pidl-defined types.Jelmer Vernooij2008-12-121-1/+5
| |
| * Support pyhelper property to allow additional methods to be tucked onto aJelmer Vernooij2008-12-122-0/+10
| | | | | | | | pidl-generated type.
| * Remove noejs property, which is no longer used.Jelmer Vernooij2008-12-122-2/+0
| |
| * Add convenience function for determining if an array should be allocated ↵Jelmer Vernooij2008-12-123-7/+16
| | | | | | | | with talloc.
| * Remove EJS backend for PIDL, as we don't have EJS anymore.Jelmer Vernooij2008-12-122-911/+0
| |
* | Merge branch 'master' of ssh://git.samba.org/data/git/sambaAndrew Tridgell2008-12-033-4/+18
|\|
| * pidl: fix generated s3-server in,out,ref qualifiers that are used for buffer ↵Günther Deschner2008-11-191-0/+7
| | | | | | | | | | | | allocation. Guenther
| * pidl: skip generation of noopnum functions in generated s3 server.Günther Deschner2008-11-151-1/+6
| | | | | | | | Guenther
| * pidl: do not generate cli_ functions for noopnum flaged functions.Günther Deschner2008-11-151-1/+4
| | | | | | | | Guenther
| * Remove unused variable, fix return.Jelmer Vernooij2008-11-111-2/+1
| |
* | we need to remove the pidl Makefile on "make clean" to handle upgradesAndrew Tridgell2008-11-061-0/+3
|/ | | | to perl versions
* Remove use of global_loadparm during initialization of gensec.Jelmer Vernooij2008-11-021-8/+8
|
* Fix the build.Jelmer Vernooij2008-11-021-3/+3
|
* Remove another use of global_loadparm.Jelmer Vernooij2008-11-021-3/+6
|
* Fix include path to pytalloc.Jelmer Vernooij2008-10-241-1/+1
|
* Also check include dirs for IDL files.Jelmer Vernooij2008-10-151-3/+10
|
* Share RPC binding string utility functions.Jelmer Vernooij2008-10-121-1/+1
|
* Fix executability of samba3-srv.Jelmer Vernooij2008-10-102-3/+0
|