Andrew Tridgell
269b16212a
use py_talloc_reference instead of py_talloc_import
...
This is one of the few cases where we want the object to be owned by
both the python object and C code
2009-07-01 15:15:37 +10:00
Jelmer Vernooij
28a2c262ac
param/python: Fix memory leak of LoadParm objects.
2009-06-17 20:45:38 +02:00
Jelmer Vernooij
308de544f4
python: Provide way to iterate over available shares.
2009-06-16 02:28:10 +02:00
Jelmer Vernooij
8d966fac41
Fix unresolved symbol in python messaging module.
2009-06-02 18:05:42 +02:00
Jelmer Vernooij
fe2b04b4bb
python: Move helper functions for using param into a separate file rather
...
than linking against the python module.
2009-06-02 18:05:40 +02:00
Stefan Metzmacher
ea546df573
s4:pyparam: fix compiler warnings
...
metze
2009-02-05 17:48:11 +01:00
Stefan Metzmacher
44625f76c1
s4:loadparm: s/class/pclass
...
metze
2009-02-02 13:09:10 +01:00
Jelmer Vernooij
673ca5145c
Find default smb.conf path correctly, when it was not specified on the
...
command-line.
2009-01-16 15:05:15 +01:00
Jelmer Vernooij
2d85e23e06
python/param: Cope with lp configfile being NULL.
2009-01-15 21:16:31 +01:00
Jelmer Vernooij
ba5d6e6d70
Avoid using a utility header for Python replacements included in Samba,
...
since this will not be shipped with talloc/tdb/tevent/etc.
2009-01-08 12:20:20 +01:00
Tim Prouty
61a23c5eea
s3/s4 build: Fix Py_RETURN_NONE to work with python versions < 2.4
2009-01-07 15:03:16 -08:00
Jelmer Vernooij
d2c70d24e1
py: Properly increase the reference counter of Py_None.
2009-01-06 04:13:57 +01:00
Jelmer Vernooij
58cfb1a9e1
python: Define Py_ssize_t if the Python library doesn't.
2008-12-23 11:26:31 +01:00
Jelmer Vernooij
c023828962
Fix missing symbols issues when building with shared libraries.
2008-12-22 21:03:09 +01:00
Jelmer Vernooij
84501f6b59
Raise proper exceptions when lp file can't be found, be a
...
bit less strict when no file was specified.
2008-12-22 06:34:18 +01:00
Jelmer Vernooij
2227860a79
Fix more tests, improve repr() functions for various Python types.
2008-12-21 23:05:35 +01:00
Jelmer Vernooij
f06b083ff3
Convert param Python module to "manual" C.
2008-12-21 16:32:47 +01:00
Jelmer Vernooij
6efb7ff981
Fix various Python-related bugs.
2008-12-21 07:34:27 +01:00