Jelmer Vernooij
47d797f788
tdb: Add simple reimplementation of tdbdump in Python as an example of the tdb Python bindings.
2008-01-10 23:41:14 +01:00
Jelmer Vernooij
8d77ea379f
r26700: tdb: Build and install Python bindings when possible.
2008-01-10 09:21:11 -06:00
Tim Potter
62017f049b
r26678: Check in auto-generated swig files.
2008-01-06 17:48:02 -06:00
Tim Potter
5c3c131d17
r26677: Implement and test iter{keys,values,items} for tdb bindings.
...
Use tempfile.mkstemp() instead of os.tmpnam() in tests.
2008-01-06 17:21:02 -06:00
Jelmer Vernooij
aa438a2feb
r26668: tdb/python: Fix default value of open_flags for tdb.
2008-01-05 09:42:01 -06:00
Jelmer Vernooij
fadab7c60b
r26586: Rename fetch to get for consistency with the Python dictionary interface.
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
231ec0777b
r26585: Fix samba3.python tests.
2007-12-26 11:57:04 -06:00
Jelmer Vernooij
4ff8f4e370
r26583: Throw a proper exception in the python code when tdb_open() fails, fix indentation in generated SWIG code from pidl.
2007-12-26 11:57:03 -06:00
Jelmer Vernooij
7008f90e03
r26582: Use the same swig flags everywhere.
2007-12-24 01:51:07 -06:00
Jelmer Vernooij
c550c03372
r26570: - Trim size of the swig-generated Python bindings by removing a bunch of {}'s.
...
- Start working on Python equivalents for various EJS tests.
- Fix regression in argument order for reg_diff_apply() in EJS bindings.
2007-12-24 01:51:03 -06:00
Jelmer Vernooij
3378b6a559
r26399: Use -O option for SWIG (less evil generated code).
2007-12-21 05:49:29 +01:00
Jelmer Vernooij
6f79763005
r26294: Use hardcoded name for SWIG for now, until proper autoconf checks are in place.
2007-12-21 05:48:12 +01:00
Jelmer Vernooij
24e2623a92
r26293: Make sure SWIG directory exists, respect DESTDIR.
2007-12-21 05:48:11 +01:00
Jelmer Vernooij
c435183cb9
r26281: Fix include.
2007-12-21 05:48:07 +01:00
Jelmer Vernooij
dfd5b456f9
r26276: Install SWIG files if swig is present.
2007-12-21 05:48:02 +01:00
Jelmer Vernooij
904475624b
r26251: Fix include of stdint in tdb swig wrapper.
2007-12-21 05:47:28 +01:00
Jelmer Vernooij
08501fbef3
r26248: Check in SWIG output so SWIG is not required when running out of svn.
2007-12-21 05:47:26 +01:00
Jelmer Vernooij
a2d426c89b
r26218: Remove libtdb.so as well.
2007-12-21 05:46:56 +01:00
Jelmer Vernooij
19e3516000
r26181: Set version to 1.1.1, as 1.1.0 has already been released.
2007-12-21 05:46:37 +01:00
Jelmer Vernooij
52106ad04e
r26180: Allow prebuilding swig output files.
2007-12-21 05:46:37 +01:00
Jelmer Vernooij
99c342641b
r26114: Allow keyword-arguments.
2007-12-21 05:46:09 +01:00
Jelmer Vernooij
d8d04300d2
r26108: Add makefile rules for building, installing and checking python bindings.
2007-12-21 05:46:07 +01:00
Jelmer Vernooij
afa5f7c9e9
r26107: Add more tests.
2007-12-21 05:46:06 +01:00
Jelmer Vernooij
bfe54e2f19
r26090: Make building tdb python bindings independent of use of external tdb.
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
4e7709379d
r26089: Move python detection to a separate file, and don't make it an error if it isn't available.
2007-12-21 05:45:59 +01:00
Jelmer Vernooij
4b94d5ca74
r26087: Fix include, add setup.py for tdb
2007-12-21 05:45:57 +01:00
Jelmer Vernooij
afe091d92e
r26077: Import updated TDB bindings.
2007-12-21 05:45:55 +01:00
Stefan Metzmacher
1f2ba20a11
r25991: tdb: use AC_LIBREPLACE_SHLD and use it for linking the shared library
...
metze
2007-12-21 05:45:31 +01:00
Stefan Metzmacher
410cdf789a
r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
...
metze
2007-12-21 05:45:29 +01:00
Stefan Metzmacher
5aa20bb649
r25972: tdb: fix usage of SONAMEFLAG
...
metze
2007-12-21 05:45:24 +01:00
Jelmer Vernooij
91133d2711
r25953: AIX make doesn't support $^.
2007-12-21 05:45:16 +01:00
Jelmer Vernooij
228dd6830e
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
2007-12-21 05:45:12 +01:00
Jeremy Allison
52b26645b0
r25893: Fix ldb, tdb builds (and one warning).
...
Jeremy.
2007-12-21 05:44:42 +01:00
Jeremy Allison
cb6c663fa8
r25892: Keep the tdb code in sync between 3.2.x and 4.0.
...
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
2007-12-21 05:44:42 +01:00
Jelmer Vernooij
c758db2709
r25888: Attempt to fix standalone tdb build.
2007-12-21 05:44:41 +01:00
Jelmer Vernooij
40a8cd0d2f
r25884: Specify shldflags first, as required by some compilers.
2007-12-21 05:44:40 +01:00
Jelmer Vernooij
af99cd3e00
r25883: Fix tdb dependency.
2007-12-21 05:44:39 +01:00
Jelmer Vernooij
03bc4896e6
r25881: Add ability to build .so of tdb.
2007-12-21 05:44:38 +01:00
Jelmer Vernooij
6f88c41c31
r25614: Add trivial tdb website.
2007-12-21 05:42:53 +01:00
Tim Potter
59b44a9796
r25046: Ditch tdb_traverse() as it doesn't lend itself to any Python idioms
...
and the semantics can be reproduced using tdb_firstkey() and
tdb_nextkey(). Oh, and also because I can't figure out how to get SWIG
to do exactly what I want here.
2007-10-10 15:05:48 -05:00
Tim Potter
89740efc67
r25045: Add constants for enum TDB_ERROR.
...
Remove some functions that I don't think should be in at the moment -
tdb_open_ex(), tdb_reopen{,_all} and locking functions. Locking
functions may come back at a later stage along with transaction support.
2007-10-10 15:05:48 -05:00
Tim Potter
cd89b67937
r25044: The has_key() method should return a boolean, not an integer.
...
Add TODO for missing iterator and other oddball methods.
2007-10-10 15:05:47 -05:00
Tim Potter
ef695539bf
r25018: Remove non-existent tdb_logging_function() as well as less useful
...
functions such as tdb_dump_all() and tdb_printfreelist().
2007-10-10 15:05:37 -05:00
Jelmer Vernooij
0bcb21ed74
r25001: Fix more C++ and other warnings, fix some of the indentation with ts=4 lines that I accidently added earlier.
2007-10-10 15:05:28 -05:00
Michael Adam
7b2cabea55
r24738: Fix one more use of pwrite in tdb code in the spirit of r23972 and r23977.
...
Michael
2007-10-10 15:03:01 -05:00
Jelmer Vernooij
48d1aa4fcf
r24337: Make libreplace provide offsetof.
2007-10-10 15:01:39 -05:00
Jelmer Vernooij
f90a698387
r24336: Use standard data type uint32_t rather than tdb-specific u32.
2007-10-10 15:01:39 -05:00
Michael Adam
b97acdc67b
r23980: Fix one more use of pwrite in expand_file.
...
Michael
2007-10-10 15:01:15 -05:00
Michael Adam
eb524df0a5
r23979: Fix another occurence of (written != requested) as an
...
error condition to write. This is in tdb_new_database.
Fix one call to tdb_new_database in tdb_open_ex to not
overwrite the newly propagated errno (typically ENOSPC).
Michael
2007-10-10 15:01:14 -05:00
Michael Adam
868cdb1781
r23978: Merge r23161 from Samba3:
...
Add TDB_VOLATILE as open_flag to activate the per-hashchain dead record
optimization.
2007-10-10 15:01:14 -05:00