Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix clang 9 missing-field-initializer warnings | Gary Lockyer | 2020-05-08 | 1 | -3/+3 |
| | | | | Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | py3: Remove #define PyInt_FromLong PyLong_FromLong | Andrew Bartlett | 2020-03-23 | 1 | -9/+9 |
| | | | | | | | This allows us to end the use of Python 2/3 compatability macros. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power | ||||
* | py3: Remove PyStr_AsString() compatability macro | Andrew Bartlett | 2019-06-24 | 1 | -1/+1 |
| | | | | | | | | We no longer need Samba to be py2/py3 compatible so we choose to return to the standard function names. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power <noel.power@suse.com> | ||||
* | py3: Remove PyStr_FromString() compatability macro | Andrew Bartlett | 2019-06-24 | 1 | -2/+2 |
| | | | | | | | | We no longer need Samba to be py2/py3 compatible so we choose to return to the standard function names. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Noel Power <noel.power@suse.com> | ||||
* | s4: squash 'cast between incompatible function types' warning | Noel Power | 2019-05-16 | 1 | -4/+9 |
| | | | | | | | | | | | | | | To avoid warning above produced by using -Wcast-function-type we; + ensure PyCFunctions of type METH_NOARGS defined dummy arg + ensure PyCFunctions of type METH_KEYWORDS use PY_DISCARD_FUNC_SIG macro + ensure PyCFunctions of type METH_KEYWORDS really actually use the problematic kargs param, if not remove it Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | s4/registry/py: use unsigned ParseTuple format for unsigned value | Douglas Bagnall | 2019-02-08 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Noel Power <npower@samba.org> Autobuild-User(master): Noel Power <npower@samba.org> Autobuild-Date(master): Fri Feb 8 17:09:51 CET 2019 on sn-devel-144 | ||||
* | s4/lib/py-registry: initialize optional parameters for open_* functions | Douglas Bagnall | 2018-04-13 | 1 | -2/+6 |
| | | | | | | Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org> | ||||
* | python: Port samba.registry module to Python 3 compatible form | Lumir Balhar | 2017-10-18 | 1 | -11/+20 |
| | | | | | | Signed-off-by: Lumir Balhar <lbalhar@redhat.com> Reviewed-by: Andrew Bartlet <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> | ||||
* | pyregistry: Use pytalloc_BaseObject_PyType_Ready() | Andrew Bartlett | 2016-03-08 | 1 | -14/+3 |
| | | | | | | | This changes pyregistry to use talloc.BaseObject() just like the PIDL output Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> | ||||
* | pyregistry: Adjust to use of PY_SSIZE_T_CLEAN | Andrew Bartlett | 2016-01-07 | 1 | -1/+1 |
| | | | | | | | This changes the type used for # arguments to PyArg_ParseTuple Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jelmer Vernooij <jelmer@samba.org> | ||||
* | s4:pyregistry: make use of samba_tevent_context_init() | Stefan Metzmacher | 2013-02-28 | 1 | -1/+1 |
| | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | ||||
* | s4:libcli/pyerrors: s/PyErr_WERROR_IS_ERR_RAISE/PyErr_WERROR_NOT_OK_RAISE/ | Stefan Metzmacher | 2012-08-06 | 1 | -12/+12 |
| | | | | metze | ||||
* | pyregistry: Remove directory support. | Jelmer Vernooij | 2011-12-29 | 1 | -32/+0 |
| | | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Thu Dec 29 19:59:57 CET 2011 on sn-devel-104 | ||||
* | Use public pytalloc header file. | Jelmer Vernooij | 2011-08-14 | 1 | -1/+1 |
| | | | | | Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Aug 14 17:18:46 CEST 2011 on sn-devel-104 | ||||
* | pytalloc: Use consistent prefix for functions, add ABI file. | Jelmer Vernooij | 2011-08-10 | 1 | -15/+15 |
| | |||||
* | s4:pyregistry: PyArg_ParseTuple("z#") requires an 'int' argument instead of ↵ | Stefan Metzmacher | 2011-08-08 | 1 | -1/+4 |
| | | | | | | | | 'size_t' If we pass variables by reference we don't get implicit type casting. metze | ||||
* | source4/lib: Fix prototypes for all functions. | Jelmer Vernooij | 2011-03-19 | 1 | -0/+2 |
| | |||||
* | pyregistry: Use talloc.Object. | Jelmer Vernooij | 2010-12-01 | 1 | -4/+9 |
| | |||||
* | Avoid the use of PyAPI_DATA, which is for internal Python API's. | Arnaud Faucher | 2010-11-22 | 1 | -3/+3 |
| | | | | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Mon Nov 22 00:52:56 CET 2010 on sn-devel-104 | ||||
* | s4-param: Fix more memory leaks, invalid memory context. | Jelmer Vernooij | 2010-09-22 | 1 | -3/+34 |
| | |||||
* | Add python bindings for open_hive function to be able to load REGF files. | wilco@baanhofman.nl | 2010-09-19 | 1 | -4/+43 |
| | | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | ||||
* | s4-pyregistry: use s4_event_context_init() | Andrew Tridgell | 2010-08-23 | 1 | -2/+2 |
| | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | ||||
* | s4-loadparm: 2nd half of lp_ to lpcfg_ conversion | Andrew Tridgell | 2010-07-16 | 1 | -2/+2 |
| | | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | ||||
* | Finish removal of iconv_convenience in public API's. | Jelmer Vernooij | 2010-05-18 | 1 | -2/+1 |
| | |||||
* | pynet: Create a net class. | Jelmer Vernooij | 2010-04-08 | 1 | -2/+2 |
| | |||||
* | s4:pyregistry.c - fix indentation | Matthias Dieter Wallnöfer | 2010-04-07 | 1 | -17/+18 |
| | |||||
* | registry: Fix compilation. | Jelmer Vernooij | 2010-03-29 | 1 | -1/+1 |
| | |||||
* | pytalloc: allow for using a system libtalloc-dev with pytalloc | Andrew Tridgell | 2010-03-29 | 1 | -1/+1 |
| | | | | | | | | | When we have a system talloc library, we still need to grab pytalloc.h from lib/talloc. We don't want to just use -Ilib/talloc, as otherwise we'll get the in-tree talloc.h which may not be compatible with the system talloc.h So we need to give the path to pytalloc.h | ||||
* | s4:registry - adaptions for "add also a memory context argument for ↵ | Matthias Dieter Wallnöfer | 2010-03-22 | 1 | -1/+1 |
| | | | | "reg_key_del_abs" | ||||
* | s4:registry - adaptions for "add memory contexts for delete value/key functions" | Matthias Dieter Wallnöfer | 2010-03-22 | 1 | -3/+3 |
| | |||||
* | s4:Remove "Py_RETURN_NONE" compatibility code | Matthias Dieter Wallnöfer | 2010-02-09 | 1 | -4/+0 |
| | | | | This was needed only by Python 2.3 which we no longer support. | ||||
* | s4-python: we need to include Python.h first | Andrew Tridgell | 2009-10-23 | 1 | -1/+1 |
| | | | | | If we don't include Python.h first then we get a pile of warnings due to broken redefines of XOPEN_SOURCE in the Python includes. | ||||
* | DCE/RPC(Python): Rename py_talloc_import to py_talloc_steal. | Jelmer Vernooij | 2009-07-30 | 1 | -7/+7 |
| | | | | | Use py_talloc_reference in DCE/RPC code, fixes access to SAMR pipe. | ||||
* | s4:pyregistry: fix crash bugs introduced by ↵ | Stefan Metzmacher | 2009-02-06 | 1 | -2/+3 |
| | | | | | | | | | e5a6eadd8214b56da34f733318a0fecaebbe5ef5 The registry api uses wild casts in the returned types, so we can't check the talloc name against the type used in the public api... metze | ||||
* | s4:pyregistry: fix compiler warnings | Stefan Metzmacher | 2009-02-05 | 1 | -13/+16 |
| | | | | metze | ||||
* | Avoid using a utility header for Python replacements included in Samba, | Jelmer Vernooij | 2009-01-08 | 1 | -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.4 | Tim Prouty | 2009-01-07 | 1 | -1/+1 |
| | |||||
* | py: Properly increase the reference counter of Py_None. | Jelmer Vernooij | 2009-01-06 | 1 | -9/+9 |
| | |||||
* | s4:pyregistry: use tevent_context_init() | Stefan Metzmacher | 2009-01-02 | 1 | -1/+1 |
| | | | | metze | ||||
* | Add header for pyparam. | Jelmer Vernooij | 2008-12-22 | 1 | -1/+1 |
| | |||||
* | py: Fix initialisation of subtypes, fix segfaults. | Jelmer Vernooij | 2008-12-21 | 1 | -0/+3 |
| | |||||
* | Use plain Python C API for registry module, rather than SWIG. | Jelmer Vernooij | 2008-12-18 | 1 | -17/+320 |
| | |||||
* | Start converting registry python module to plain C rather than SWIG. | Jelmer Vernooij | 2008-12-16 | 1 | -0/+129 |