summaryrefslogtreecommitdiffstats
path: root/pidl
Commit message (Collapse)AuthorAgeFilesLines
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-312-43/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* pidl:Samba4/NDR/Parser: fix NDR64 union alignmentStefan Metzmacher2010-10-241-0/+8
| | | | | | | | | | | | | | We need to align before the switch_type and before the union arms. Both alignments are to the boundary of the largest possible union arm. This means that adding a new union arm with a larger alignment would break compat!!! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Oct 24 17:49:23 UTC 2010 on sn-devel-104
* ndr dns: Add simple parserKai Blin2010-10-233-1/+12
|
* pidl: fix minor typo in s3 server generation.Günther Deschner2010-10-111-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 11 15:12:57 UTC 2010 on sn-devel-104
* Fix some warnings at higher -W levels in pidl generated code.Tim Potter2010-10-111-4/+4
| | | | | | | | Match data type for info levels to data type returned by utility functions. Autobuild-User: Tim Potter <tpot@samba.org> Autobuild-Date: Mon Oct 11 12:18:22 UTC 2010 on sn-devel-104
* waf: fixed some python3.x portability issuesAndrew Tridgell2010-10-061-1/+2
| | | | | these have crept into the tree over time. Maybe we should add testing of a range of python versions to autobuild?
* dnsp: Parse TXT recordsKai Blin2010-10-043-1/+8
|
* ndr: Implement push function for IPv6 addressesKai Blin2010-10-041-0/+6
| | | | | Thanks to Julien Kerihuel for providing the patch that pushed me to finish my own IPv6 patches.
* ndr: Add support for pulling/printing an ipv6address typeKai Blin2010-10-042-2/+4
|
* pidl: Allow longs for bitmasks.Jelmer Vernooij2010-10-031-13/+24
|
* pidl: simplify some generated code.Jelmer Vernooij2010-10-031-4/+2
|
* pidl: Fix handling of typedefs of typedefs.Jelmer Vernooij2010-10-011-3/+4
|
* pidl: add support for pointers in typedefsStefan Metzmacher2010-09-284-249/+270
| | | | metze
* pidl:NDR/Parser: remove unused code for array element indexStefan Metzmacher2010-09-281-6/+0
| | | | metze
* pidl:NDR/Parser: simplify logic in ParseMemCtxPullFlags()Stefan Metzmacher2010-09-281-6/+4
| | | | metze
* pidl:NDR/Client: make the generated code look a bit nicerStefan Metzmacher2010-09-281-1/+1
| | | | metze
* pidl: remove unused async property handlingStefan Metzmacher2010-09-282-7/+1
| | | | metze
* pidl/Python: use has_property($d, "noopnum") helper functionStefan Metzmacher2010-09-281-1/+1
| | | | metze
* pidl:NDR/Client.pm: remove unreached codeStefan Metzmacher2010-09-281-3/+0
| | | | metze
* pidl/Python: remove todo handling from PythonFunction(), it's done by the callerStefan Metzmacher2010-09-281-15/+6
| | | | metze
* pidl/Typelist: let typeIs() do TYPEDEF dereference in the HASH caseStefan Metzmacher2010-09-281-0/+1
| | | | metze
* pidl: added ifdef guards around ndr headersAndrew Tridgell2010-09-271-1/+16
| | | | this prevents us parsing the leading headers needlessly
* pidl:NDR/Parser: fix range() for arraysStefan Metzmacher2010-09-231-1/+32
| | | | metze
* pytalloc: Add default compare function.Jelmer Vernooij2010-09-211-0/+1
|
* pidl/python: Allow passing in UTF8 string objects as well as unicodeJelmer Vernooij2010-09-201-1/+13
| | | | | | objects for IDL strings. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-pild-python: Fix assignments - even though we reference the mem_ctxJelmer Vernooij2010-09-201-2/+8
| | | | of an object we still use the actual ptr.
* pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij2010-09-201-1/+10
|
* s4-pidl-python: use correct talloc pointer when allocating subobjects.Jelmer Vernooij2010-09-201-18/+13
|
* pidl: prevent ndr_print_*() dying on NULL pointersAndrew Tridgell2010-09-161-0/+2
| | | | | when using ndrdump you can get uninitialised structures containing pointers. Don't segfault when trying to print them
* pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.Jelmer Vernooij2010-09-031-10/+30
|
* pidl: Factor out generation of interface type name.Jelmer Vernooij2010-09-031-4/+5
|
* pidl: cope with dom_sid28 in python generatorAndrew Tridgell2010-09-021-1/+1
| | | | treated the same as dom_sid2
* pidl-python: cope with NULL pointers in more placesAndrew Tridgell2010-09-021-7/+7
| | | | NULL is converted to Py_None
* pidl:Samba4/NDR/Client: support argument based stubs for [in,out,string]Stefan Metzmacher2010-08-281-2/+17
| | | | metze
* pidl:NDR: [in,out,string] doesn't need to pointersStefan Metzmacher2010-08-281-1/+1
| | | | metze
* pidl:Samba4/NDR/Client: correctly copy [out,charset()] buffersStefan Metzmacher2010-08-281-20/+62
| | | | | | | | If the conversion from CH_UTF16 to CH_UNIX uses multi-byte characters in CH_UNIX, we should not silently truncate the string, but return an error. metze
* pidl:Samba4/NDR/Client: fix skip reason for unsized arraysStefan Metzmacher2010-08-281-1/+1
| | | | metze
* pidl-python: ensure we allocate ref ptrs before useAndrew Tridgell2010-08-261-1/+5
| | | | this fixes a crash on samba4.samr.python in the build farm
* pidl:Samba3/ClientNDR: remove unused ParseOutputArgument functionStefan Metzmacher2010-08-262-83/+3
| | | | metze
* s4-python: reference substructures onto the parent structureAndrew Tridgell2010-08-251-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
* pidl-python: fixed the docstrings for ndr_print, ndr_pack and ndr_unpackAndrew Tridgell2010-08-231-3/+3
|
* pidl: cope with bad type conversions in unionsAndrew Tridgell2010-08-221-1/+9
| | | | | | This prevents a crash when converting bad types in NDR unions Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org>
* pidl: added a __ndr_print__() method on python NDR objectsAndrew Tridgell2010-08-221-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
* Fix a typoVolker Lendecke2010-08-163-4/+4
|
* pidl:Samba4/NDR/Client.pm: correctly copy fixed size out arraysStefan Metzmacher2010-08-161-13/+13
| | | | metze
* pidl: fix printing of server side ndr request debug messagesMichael Adam2010-08-131-2/+2
| | | | | | | | The macros NDR_PRINT_IN_DEBUG and NDR_PRINT_OUT_DEBUG are made for the client side. For the server side, the NDR_SET_VALUES flag needs to be added for the OUT struct and not for the IN struct, otherwise, the OUT part can print uninitialized data and the IN part may recalculate string lengths illegally.
* pidl:Samba3/ClientNDR: implement rpccli_ stubs on top of dcerpc_ stubsStefan Metzmacher2010-08-123-169/+62
| | | | metze
* pidl:Samba4/NDR/Client: add sync dcerpc_pipe based stubs as compat for ↵Stefan Metzmacher2010-08-121-0/+60
| | | | | | | | | | | | | | | OpenChange This will activate the compat wrappers for all functions of an interface: #define DCERPC_IFACE_MYPROTO_COMPAT 1 #include <ndr_myproto_c.h> This will activates the compat wrappers just for specific functions: #define DCERPC_CALL_MYFN1_COMPAT 1 #define DCERPC_CALL_MYFN2_COMPAT 1 #include <ndr_myproto_c.h> metze
* pidl:Samba4/NDR/Client: add non struct base dcerpc_binding_handle client stubsStefan Metzmacher2010-08-121-2/+460
| | | | metze
* pidl:Samba4/NDR/Client: convert code to $self->pidl()Stefan Metzmacher2010-08-122-163/+192
| | | | metze