summaryrefslogtreecommitdiff
path: root/source4/lib/tdb
AgeCommit message (Collapse)AuthorFilesLines
2008-05-23Add some docstrings to tdb.Jelmer Vernooij3-122/+319
(This used to be commit 3563d62663c36ff267011f1f6f9b256be21c32fb)
2008-05-22Fix CFLAGS for SWIG files.Jelmer Vernooij1-1/+1
(This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf)
2008-05-21Move more modules inside of the samba package.Jelmer Vernooij1-1/+1
(This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
2008-05-21Move CFLAGS overrides for SWIG modules to Makefile.Jelmer Vernooij1-0/+3
(This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
2008-05-21Remove support for .py files from smb_build - deal with it only in the ↵Jelmer Vernooij1-0/+2
makefiles. (This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
2008-05-20Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison1-4/+9
used for tdb_traverse() to tdb_traverse_read(). Jeremy. (This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)
2008-05-20Fix nesting tdb_traverse in a transactionVolker Lendecke1-3/+8
Calling tdb_traverse inside a transaction led to the transaction lock being held indefinitely. This was caused by the tdb_transaction_lock/unlock inside tdb_traverse: The transaction code holds the global lock at offset TRANSACTION_LOCK. The call to tdb_transaction_lock does nothing because the transaction_lock is already being held. tdb_transaction_unlock inside tdb_wrap resets tdb->have_transaction_lock but does not release the kernel-level fcntl lock. transaction_commit later on does not release that fcntl lock either, because tdb->have_transaction_lock was already reset by tdb_transaction(). This patch does fix that problem for me. An alternative would be to make tdb->have_transaction_lock a counter that can cope with proper nesting, maybe in other places as well. Volker (This used to be commit 89543005fe2e4934b3c560c937d49304a32a7fc2)
2008-05-20Update tdb version number.Jelmer Vernooij1-1/+1
(This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)
2008-05-19Add __repr__ implementation for Tdb.Jelmer Vernooij4-27/+57
(This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)
2008-05-19Fix dependency.Jelmer Vernooij1-1/+1
(This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)
2008-05-08Fix link flags for ldb and tdb Python modules.Jelmer Vernooij1-1/+1
(This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)
2008-04-14Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2-12/+15
(This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
2008-04-02Reduce the number of installed headers.Jelmer Vernooij1-2/+0
(This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
2008-02-29Move public header accumulation out of the perl code.Jelmer Vernooij1-1/+2
Never install generated prototype files. It's easier to break the API when using them and they're not easily readable for 3rd party users. Conflicts: source/auth/config.mk source/auth/credentials/config.mk source/auth/gensec/config.mk source/build/smb_build/config_mk.pm source/build/smb_build/main.pl source/build/smb_build/makefile.pm source/dsdb/config.mk source/lib/charset/config.mk source/lib/tdr/config.mk source/lib/util/config.mk source/libcli/config.mk source/libcli/ldap/config.mk source/librpc/config.mk source/param/config.mk source/rpc_server/config.mk source/torture/config.mk (This used to be commit 6c659689ed4081f1d7a6253c538c7f01784197ba)
2008-02-25Update homepages for talloc, tdb and ldb subprojectsSimo Sorce1-8/+6
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
2008-02-13Allow tdb.mk and talloc.mk to be included at the same time.Jelmer Vernooij2-10/+10
(This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
2008-02-13Never build .so versions of tdb/talloc from Samba 4 itself. Rather,Jelmer Vernooij1-3/+1
use shared library versions if they are provided by the system. This puts talloc and tdb in a similar situation as popt: the system version is used if provided but if it's not there or if it is too old, we use our internal version statically. (This used to be commit 86f88eb7b51377344eebf0b6fabad0f5459b3f45)
2008-02-12Support using shared library during testsuite run if tdb was built with a ↵Jelmer Vernooij1-2/+2
shared lib internally. (This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
2008-02-12make sure libraries are built before attempting to install.Jelmer Vernooij1-2/+2
(This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
2008-02-12Specify PICFLAG when compiling python modules.Jelmer Vernooij1-1/+1
(This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
2008-02-12Fix installation of python module for ldb and tdb.Jelmer Vernooij1-1/+3
(This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
2008-02-12tdb/ldb: Use prefix in case DESTDIR is not set.Jelmer Vernooij1-4/+4
(This used to be commit ab19a8f62719eb0f347696a2e5f34f8847fd82cb)
2008-02-12Create the required directories when installing Python code.Jelmer Vernooij1-0/+2
(This used to be commit 8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
2008-02-12Avoid using setup.py for intsallation.Jelmer Vernooij4-5/+13
(This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
2008-02-12Manually compile python files rather than using setup.py.Jelmer Vernooij4-20/+18
(This used to be commit 94dfeb5e89a641e2af3d7426d9d25c87952198d2)
2008-02-11Fix out of tree builds.Jelmer Vernooij2-3/+3
(This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
2008-02-11Split actual content out of tdb Makefile into a separate file.Jelmer Vernooij2-80/+89
(This used to be commit b5d4ab2cf4a73883fff867f878788d94bd8e1649)
2008-02-11Split rules out of tdb Makefile.Jelmer Vernooij2-38/+41
(This used to be commit 9f233c14540cd4b2d5f4c7fe01e2d89cb220abc8)
2008-02-08merge tdb changes from ctdbAndrew Tridgell1-33/+47
(This used to be commit b3e60a388d338ef90540007239e88563cb9ba27a)
2008-02-07merge growing tdb for tdb_wipe_all() fix from ctdbAndrew Tridgell1-0/+43
(This used to be commit df4efb902ec5053ae9d7c6e4fd1e21255ca66914)
2008-01-31merged tdb transaction fixAndrew Tridgell1-0/+3
(This used to be commit eb3af24926977208a8099c848a510704d2ae3524)
2008-01-22build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
2008-01-22ldb/talloc/tdb: Use manually written pc file.Jelmer Vernooij1-0/+1
(This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
2008-01-22tdb: Add URL in pc file.Jelmer Vernooij1-0/+1
(This used to be commit 2fc26c09026a0f2f74e5c7c86002e662b559d265)
2008-01-18merged changes from v3-2-testAndrew Tridgell8-53/+18
(This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
2008-01-18merged tdb changes from ctdbAndrew Tridgell3-59/+49
(This used to be commit c54c087a19e36e0522eb4546c9425ae446f0628b)
2008-01-15merged tdb from ctdb bzr treeAndrew Tridgell9-210/+471
(This used to be commit ed0c3a0f74c305b3b8554b05c3f97cf79db8296a)
2008-01-10tdb: Add simple reimplementation of tdbdump in Python as an example of the ↵Jelmer Vernooij1-0/+12
tdb Python bindings. (This used to be commit 47d797f7885b1e7bcff724496ecb1990e8440eea)
2008-01-10r26700: tdb: Build and install Python bindings when possible.Jelmer Vernooij4-42/+68
(This used to be commit 8d77ea379fef5ad4b2718bc8e0620304588c9239)
2008-01-06r26678: Check in auto-generated swig files.Tim Potter2-41/+45
(This used to be commit 62017f049bc0b0f311ba49d03084044faa5e6dcd)
2008-01-06r26677: Implement and test iter{keys,values,items} for tdb bindings.Tim Potter2-3/+32
Use tempfile.mkstemp() instead of os.tmpnam() in tests. (This used to be commit 5c3c131d174ba0f162c210d3e6ca30f2ed2a3ec0)
2008-01-05r26668: tdb/python: Fix default value of open_flags for tdb.Jelmer Vernooij2-1/+2
(This used to be commit aa438a2febc6562aa6f71505936d0872a6dcd17d)
2007-12-26r26586: Rename fetch to get for consistency with the Python dictionary ↵Jelmer Vernooij4-13/+14
interface. (This used to be commit fadab7c60bb6dc5746cb2ee16f9c86fa0e0cdf1a)
2007-12-26r26585: Fix samba3.python tests.Jelmer Vernooij3-35/+98
(This used to be commit 231ec0777b7d1fb1297e3a974871b8735a386cfa)
2007-12-26r26583: Throw a proper exception in the python code when tdb_open() fails, ↵Jelmer Vernooij3-28/+25
fix indentation in generated SWIG code from pidl. (This used to be commit 4ff8f4e370d30bf6b0b2f548bca14a9b7e1317f6)
2007-12-24r26582: Use the same swig flags everywhere.Jelmer Vernooij2-2/+2
(This used to be commit 7008f90e03a12687f739e5492b3e0ab36587db6a)
2007-12-24r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij2-100/+68
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (This used to be commit c550c03372cb260b78f6a6c132e70571bc4cb852)
2007-12-21r26399: Use -O option for SWIG (less evil generated code).Jelmer Vernooij2-105/+141
(This used to be commit 3378b6a559272cb702b52966692bf423f67a2b41)
2007-12-21r26294: Use hardcoded name for SWIG for now, until proper autoconf checks ↵Jelmer Vernooij1-1/+1
are in place. (This used to be commit 6f79763005721af1b3a1a6880b98c465723a373b)
2007-12-21r26293: Make sure SWIG directory exists, respect DESTDIR.Jelmer Vernooij1-1/+2
(This used to be commit 24e2623a921c904615f9943bc8833a0a4ef3dc05)