summaryrefslogtreecommitdiffstats
path: root/source4/lib/tdb
Commit message (Collapse)AuthorAgeFilesLines
* Move more modules inside of the samba package.Jelmer Vernooij2008-05-211-1/+1
| | | | (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a)
* Move CFLAGS overrides for SWIG modules to Makefile.Jelmer Vernooij2008-05-211-0/+3
| | | | (This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6)
* Remove support for .py files from smb_build - deal with it only in the ↵Jelmer Vernooij2008-05-211-0/+2
| | | | | | makefiles. (This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3)
* Convert in_transaction to a bool. Add the same fix VolkerJeremy Allison2008-05-201-4/+9
| | | | | | used for tdb_traverse() to tdb_traverse_read(). Jeremy. (This used to be commit e05ec3047c4fe0cc2e09a812830fc835dc35abea)
* Fix nesting tdb_traverse in a transactionVolker Lendecke2008-05-201-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)
* Update tdb version number.Jelmer Vernooij2008-05-201-1/+1
| | | | (This used to be commit eae17ae8ecdcb83fdb756189a9d5609a192371a4)
* Add __repr__ implementation for Tdb.Jelmer Vernooij2008-05-194-27/+57
| | | | (This used to be commit 205699ed663a3c6d27695dee25bf26978615b475)
* Fix dependency.Jelmer Vernooij2008-05-191-1/+1
| | | | (This used to be commit d8fe782dc200907e0364c623e187c51f4d44edb2)
* Fix link flags for ldb and tdb Python modules.Jelmer Vernooij2008-05-081-1/+1
| | | | (This used to be commit 787a32fdef9d761d64839f489cca0b0684f9a9fd)
* Use _OBJ_FILES variables in a couple more places.Jelmer Vernooij2008-04-142-12/+15
| | | | (This used to be commit 92856d5054106894b65cd1a1b5119c0facfc4cff)
* Reduce the number of installed headers.Jelmer Vernooij2008-04-021-2/+0
| | | | (This used to be commit 2243e24024f09ff9c9c7d0eb735c3b39c9d84424)
* Move public header accumulation out of the perl code.Jelmer Vernooij2008-02-291-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)
* Update homepages for talloc, tdb and ldb subprojectsSimo Sorce2008-02-251-8/+6
| | | | (This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
* Allow tdb.mk and talloc.mk to be included at the same time.Jelmer Vernooij2008-02-132-10/+10
| | | | (This used to be commit af9e0421529104d2583c58f7723abe8612e78f53)
* Never build .so versions of tdb/talloc from Samba 4 itself. Rather,Jelmer Vernooij2008-02-131-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)
* Support using shared library during testsuite run if tdb was built with a ↵Jelmer Vernooij2008-02-121-2/+2
| | | | | | shared lib internally. (This used to be commit 28539f48e6ad37a6436e6f2c6733ee1fcbc6567f)
* make sure libraries are built before attempting to install.Jelmer Vernooij2008-02-121-2/+2
| | | | (This used to be commit deb1dae2dabad3d74a1c6adf2c0b0d56917cca83)
* Specify PICFLAG when compiling python modules.Jelmer Vernooij2008-02-121-1/+1
| | | | (This used to be commit 981957165d09e82947f68475192f1ce1f0ddbdd3)
* Fix installation of python module for ldb and tdb.Jelmer Vernooij2008-02-121-1/+3
| | | | (This used to be commit 6c9a8bf9f03cef0fc1c5f7ec3f8786eccf79c851)
* tdb/ldb: Use prefix in case DESTDIR is not set.Jelmer Vernooij2008-02-121-4/+4
| | | | (This used to be commit ab19a8f62719eb0f347696a2e5f34f8847fd82cb)
* Create the required directories when installing Python code.Jelmer Vernooij2008-02-121-0/+2
| | | | (This used to be commit 8ef36fe54555cc0c5ac0d1f118d0a1a7b770c2fd)
* Avoid using setup.py for intsallation.Jelmer Vernooij2008-02-124-5/+13
| | | | (This used to be commit 7b93e43dad55454e9107a38e67764e08f51392d3)
* Manually compile python files rather than using setup.py.Jelmer Vernooij2008-02-124-20/+18
| | | | (This used to be commit 94dfeb5e89a641e2af3d7426d9d25c87952198d2)
* Fix out of tree builds.Jelmer Vernooij2008-02-112-3/+3
| | | | (This used to be commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
* Split actual content out of tdb Makefile into a separate file.Jelmer Vernooij2008-02-112-80/+89
| | | | (This used to be commit b5d4ab2cf4a73883fff867f878788d94bd8e1649)
* Split rules out of tdb Makefile.Jelmer Vernooij2008-02-112-38/+41
| | | | (This used to be commit 9f233c14540cd4b2d5f4c7fe01e2d89cb220abc8)
* merge tdb changes from ctdbAndrew Tridgell2008-02-081-33/+47
| | | | (This used to be commit b3e60a388d338ef90540007239e88563cb9ba27a)
* merge growing tdb for tdb_wipe_all() fix from ctdbAndrew Tridgell2008-02-071-0/+43
| | | | (This used to be commit df4efb902ec5053ae9d7c6e4fd1e21255ca66914)
* merged tdb transaction fixAndrew Tridgell2008-01-311-0/+3
| | | | (This used to be commit eb3af24926977208a8099c848a510704d2ae3524)
* build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij2008-01-221-1/+0
| | | | (This used to be commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
* ldb/talloc/tdb: Use manually written pc file.Jelmer Vernooij2008-01-221-0/+1
| | | | (This used to be commit c8947fda23eb874a7694bdee1b4de605744c2769)
* tdb: Add URL in pc file.Jelmer Vernooij2008-01-221-0/+1
| | | | (This used to be commit 2fc26c09026a0f2f74e5c7c86002e662b559d265)
* merged changes from v3-2-testAndrew Tridgell2008-01-188-53/+18
| | | | (This used to be commit 7077df3e2e3f171532f6a5ac87d45201736c9c11)
* merged tdb changes from ctdbAndrew Tridgell2008-01-183-59/+49
| | | | (This used to be commit c54c087a19e36e0522eb4546c9425ae446f0628b)
* merged tdb from ctdb bzr treeAndrew Tridgell2008-01-159-210/+471
| | | | (This used to be commit ed0c3a0f74c305b3b8554b05c3f97cf79db8296a)
* tdb: Add simple reimplementation of tdbdump in Python as an example of the ↵Jelmer Vernooij2008-01-101-0/+12
| | | | | | tdb Python bindings. (This used to be commit 47d797f7885b1e7bcff724496ecb1990e8440eea)
* r26700: tdb: Build and install Python bindings when possible.Jelmer Vernooij2008-01-104-42/+68
| | | | (This used to be commit 8d77ea379fef5ad4b2718bc8e0620304588c9239)
* r26678: Check in auto-generated swig files.Tim Potter2008-01-062-41/+45
| | | | (This used to be commit 62017f049bc0b0f311ba49d03084044faa5e6dcd)
* r26677: Implement and test iter{keys,values,items} for tdb bindings.Tim Potter2008-01-062-3/+32
| | | | | Use tempfile.mkstemp() instead of os.tmpnam() in tests. (This used to be commit 5c3c131d174ba0f162c210d3e6ca30f2ed2a3ec0)
* r26668: tdb/python: Fix default value of open_flags for tdb.Jelmer Vernooij2008-01-052-1/+2
| | | | (This used to be commit aa438a2febc6562aa6f71505936d0872a6dcd17d)
* r26586: Rename fetch to get for consistency with the Python dictionary ↵Jelmer Vernooij2007-12-264-13/+14
| | | | | | interface. (This used to be commit fadab7c60bb6dc5746cb2ee16f9c86fa0e0cdf1a)
* r26585: Fix samba3.python tests.Jelmer Vernooij2007-12-263-35/+98
| | | | (This used to be commit 231ec0777b7d1fb1297e3a974871b8735a386cfa)
* r26583: Throw a proper exception in the python code when tdb_open() fails, ↵Jelmer Vernooij2007-12-263-28/+25
| | | | | | fix indentation in generated SWIG code from pidl. (This used to be commit 4ff8f4e370d30bf6b0b2f548bca14a9b7e1317f6)
* r26582: Use the same swig flags everywhere.Jelmer Vernooij2007-12-242-2/+2
| | | | (This used to be commit 7008f90e03a12687f739e5492b3e0ab36587db6a)
* r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij2007-12-242-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)
* r26399: Use -O option for SWIG (less evil generated code).Jelmer Vernooij2007-12-212-105/+141
| | | | (This used to be commit 3378b6a559272cb702b52966692bf423f67a2b41)
* r26294: Use hardcoded name for SWIG for now, until proper autoconf checks ↵Jelmer Vernooij2007-12-211-1/+1
| | | | | | are in place. (This used to be commit 6f79763005721af1b3a1a6880b98c465723a373b)
* r26293: Make sure SWIG directory exists, respect DESTDIR.Jelmer Vernooij2007-12-211-1/+2
| | | | (This used to be commit 24e2623a921c904615f9943bc8833a0a4ef3dc05)
* r26281: Fix include.Jelmer Vernooij2007-12-212-0/+2
| | | | (This used to be commit c435183cb97ff3160f8fbc182c63d4bb0a3d6ce4)
* r26276: Install SWIG files if swig is present.Jelmer Vernooij2007-12-211-0/+3
| | | | (This used to be commit dfd5b456f932268e2b1a82e2775037d356b9483e)