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
Michael Adam
7f415d1223
r23977: Im prove the pwrite-patch to tdb_expand_file of r23972:
...
* prevent infinite loops due to 0 bytes written:
try once more. if we still get 0 as return,
set errno to ENOSPC and return -1 (error)
* replace int by correct types (ssize_t and size_t).
* print a warning log message in case "written < requested to write"
usually this means, that the next call to pwrite will fail
with return value -1 and set errno accordingly.
Note that the former error condition "written != requested to write"
is not a correct error condition of write/pwrite. If this is due
to an error, a subsequent call to (p)write will reveal the cause
(typically "no space left on device" - ENOSPC).
Michael
2007-10-10 15:01:13 -05:00
Michael Adam
4c3c6363f8
r23972: Fix a bug in pwrite error detection in tdb_expand_file():
...
The proper error condition is (ret == -1) instead of
(ret != number_of_byte_told_to_write).
Michael
2007-10-10 15:01:13 -05:00
Michael Adam
dc0104be9a
r23950: unlink before rename is superfluous.
...
Michael
2007-10-10 15:01:10 -05:00
Michael Adam
bf7774360b
r23925: Use NULL instead of 0 for a void * argument.
2007-10-10 15:01:10 -05:00
Michael Adam
1685057927
r23853: Fix a very misleading error message in tdbbackup.
...
Michael
2007-10-10 15:01:04 -05:00
Andrew Tridgell
5c9b19271e
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 14:59:18 -05:00
Andrew Tridgell
db92b76a00
r23799: updated old Franklin Street FSF addresses to new URL
2007-10-10 14:59:16 -05:00
Andrew Tridgell
40c0919aaa
r23798: updated old Temple Place FSF addresses to new URL
2007-10-10 14:59:15 -05:00
Andrew Tridgell
76c6bfdeb5
r23796: main COPYING file for samba4, plus some formatting varients
2007-10-10 14:59:14 -05:00
Andrew Tridgell
84b468b2f8
r23795: more v2->v3 conversion
2007-10-10 14:59:14 -05:00
Andrew Tridgell
fcf38a38ac
r23792: convert Samba4 to GPLv3
...
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Jeremy Allison
59ba128cb6
r23590: Fix realloc leak on failure case from Jim Meyering <jim@meyering.net>.
...
Jeremy.
2007-10-10 14:53:28 -05:00
Jeremy Allison
fa880e6cc1
r23371: Fix the misleading comment I added - it really *should*
...
say "locks chain and returned record", not
"and returns record"
Jeremy.
2007-10-10 14:53:13 -05:00
Jeremy Allison
fa548ad75e
r23370: Traverse in tdb wasn't consistently using the
...
travlocks.lock_rw for lock read/write types, it
was sometimes using it (tdb_next_lock) and
sometimes explicitly using F_WRLCK instead.
Change this to consistently use travlocks.lock_rw
only.
I'm pretty sure about this fix (else I woudn't
be checking this in :-) but tridge and Volker
please review.
Jeremy.
2007-10-10 14:53:12 -05:00
Andrew Tridgell
9dbb2633d7
r23238: merged transaction lock changes from ctdb
...
this ensures that having the global lock also implies the transaction
lock
2007-10-10 14:53:06 -05:00
Andrew Tridgell
a88ab4fa3a
r22832: merged the latest tdb changes from ctdb to Samba4
2007-10-10 14:52:22 -05:00
Jelmer Vernooij
8197cb975e
r22637: Install tdbbackup and tdbdump again.
2007-10-10 14:51:57 -05:00
Jelmer Vernooij
9b991ce9ca
r22600: Update bzr ignores, put right version in .pc files, prepare for support of system versions of tdb, talloc.
2007-10-10 14:51:50 -05:00