summaryrefslogtreecommitdiff
path: root/source4/param/pyparam.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-20s4-python: Implement LoadParm.dump().Jelmer Vernooij1-0/+23
2010-03-29pytalloc: allow for using a system libtalloc-dev with pytallocAndrew Tridgell1-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
2010-02-09s4:Remove "Py_RETURN_NONE" compatibility codeMatthias Dieter Wallnöfer1-4/+0
This was needed only by Python 2.3 which we no longer support.
2009-12-21Fix initialisation of TypeObject samba.param.LoadparmService.Jelmer Vernooij1-0/+3
Found by Ricardo Jorge <rvelhote@gmail.com>.
2009-10-23s4-python: we need to include Python.h firstAndrew Tridgell1-4/+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.
2009-08-04param/pyparam: Cope with string list parameters being empty.Ricardo Jorge1-1/+7
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-08-04python/loadparm: Get shares listing working.Ricardo Jorge1-5/+6
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-07-01use py_talloc_reference instead of py_talloc_importAndrew Tridgell1-1/+1
This is one of the few cases where we want the object to be owned by both the python object and C code
2009-06-17param/python: Fix memory leak of LoadParm objects.Jelmer Vernooij1-1/+12
2009-06-16python: Provide way to iterate over available shares.Jelmer Vernooij1-0/+16
2009-06-02Fix unresolved symbol in python messaging module.Jelmer Vernooij1-9/+0
2009-06-02python: Move helper functions for using param into a separate file ratherJelmer Vernooij1-24/+0
than linking against the python module.
2009-02-05s4:pyparam: fix compiler warningsStefan Metzmacher1-15/+15
metze
2009-02-02s4:loadparm: s/class/pclassStefan Metzmacher1-1/+1
metze
2009-01-16Find default smb.conf path correctly, when it was not specified on theJelmer Vernooij1-1/+12
command-line.
2009-01-15python/param: Cope with lp configfile being NULL.Jelmer Vernooij1-1/+5
2009-01-08Avoid using a utility header for Python replacements included in Samba,Jelmer Vernooij1-1/+5
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-07s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4Tim Prouty1-0/+1
2009-01-06py: Properly increase the reference counter of Py_None.Jelmer Vernooij1-4/+4
2008-12-23python: Define Py_ssize_t if the Python library doesn't.Jelmer Vernooij1-0/+6
2008-12-22Fix missing symbols issues when building with shared libraries.Jelmer Vernooij1-1/+1
2008-12-22Raise proper exceptions when lp file can't be found, be aJelmer Vernooij1-4/+4
bit less strict when no file was specified.
2008-12-21Fix more tests, improve repr() functions for various Python types.Jelmer Vernooij1-3/+2
2008-12-21Convert param Python module to "manual" C.Jelmer Vernooij1-151/+16
2008-12-21Fix various Python-related bugs.Jelmer Vernooij1-0/+495