Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Berkeley DB: Erratic behaviour of "DBEnv->rep_elect()" because a typo | Jesus Cea | 2012-01-16 | 1 | -1/+1 |
| | |||||
* | Use bitwise instead of logical or for flags. | Stefan Krah | 2011-09-15 | 1 | -1/+1 |
| | |||||
* | Issue #9675: Final touch | Jesus Cea | 2010-11-08 | 1 | -2/+4 |
| | |||||
* | Issue #9675: better error handling in bsddb | Jesus Cea | 2010-11-05 | 1 | -2/+15 |
| | |||||
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -173/+173 |
| | |||||
* | pybsddb 4.8.4 integration. Please, comment in issue #8156 | Jesus Cea | 2010-03-22 | 1 | -237/+2643 |
| | |||||
* | - Issue #6949: Allow the _bsddb extension to be built with db-4.8.x. | Matthias Klose | 2010-03-15 | 1 | -3/+26 |
| | |||||
* | #7808: Fix reference leaks in _bsddb and related tests. | Florent Xicluna | 2010-03-01 | 1 | -3/+4 |
| | |||||
* | Bugfix for issue3885 and 'DB.verify()' crash. | Jesus Cea | 2008-09-23 | 1 | -27/+86 |
| | | | | Reviewed by Nick Coghlan. | ||||
* | Fix some leaks - Neal Norwitz | Jesus Cea | 2008-09-03 | 1 | -3/+5 |
| | |||||
* | Update bsddb code to version 4.7.3pre2. This code should | Jesus Cea | 2008-08-31 | 1 | -35/+113 |
| | | | | | | be compatible with Python 3.0, also. http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.3 | ||||
* | bsddb module updated to version 4.7.2devel9. | Jesus Cea | 2008-07-23 | 1 | -525/+816 |
| | | | | | | | | | | | | | This patch publishes the work done until now for Python 3.0 compatibility. Still a lot to be done. When possible, we use 3.0 features in Python 2.6, easing development and testing, and exposing internal changes to a wider audience, for better test coverage. Some mode details: http://www.jcea.es/programacion/pybsddb.htm#bsddb3-4.7.2 | ||||
* | Define macros so that this still compiles on Python prior to r63675. | Gregory P. Smith | 2008-05-26 | 1 | -0/+11 |
| | |||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -14/+14 |
| | |||||
* | bsddb module updated to version 4.7.0 | Jesus Cea | 2008-05-22 | 1 | -5/+84 |
| | |||||
* | issue2858: Fix potential memory corruption when bsddb.db.DBEnv.lock_get | Gregory P. Smith | 2008-05-17 | 1 | -21/+22 |
| | | | | | and other bsddb.db object constructors raised an exception. Debugging & patch by Neal Norowitz. | ||||
* | bsddb module updated to version 4.6.4 | Jesus Cea | 2008-05-13 | 1 | -292/+1398 |
| | |||||
* | Fix typo. | Martin v. Löwis | 2008-04-24 | 1 | -1/+1 |
| | |||||
* | Merge this fix from the pybsddb tree: | Gregory P. Smith | 2008-02-03 | 1 | -2/+6 |
| | | | | | | | r293 | jcea | 2008-01-31 01:08:19 -0800 (Thu, 31 Jan 2008) | 4 lines Solved memory leak when using cursors with databases without environment. | ||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -15/+15 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | * db->get_types is only available in BerkeleyDB >= 4.2 | Gregory P. Smith | 2007-11-05 | 1 | -0/+7 |
| | | | | * get compiling with older versions of python again for a stand alone release. | ||||
* | Add the bsddb.db.DBEnv.lock_id_free method. | Gregory P. Smith | 2007-11-05 | 1 | -0/+21 |
| | | | | Improve test_lock's tempdir creation and cleanup. | ||||
* | Fixes bug 477182 on pybsddb.sf.net. DB objects now load the flags and | Gregory P. Smith | 2007-11-05 | 1 | -15/+2 |
| | | | | | | | | | | pay attention to them when opening an existing database. This means that d[] behaves properly even on databases previously created with DB_DUP or DB_DUPSORT flags to allow duplicate keys. http://sourceforge.net/tracker/index.php?func=detail&aid=477182&group_id=13900&atid=113900 Do not backport, this bugfix could be considered an API change. | ||||
* | Fix bug introduced in revision 58385. Database keys could no longer | Gregory P. Smith | 2007-11-01 | 1 | -1/+7 |
| | | | | | have NULL bytes in them. Replace the errant strdup with a malloc+memcpy. Adds a unit test for the correct behavior. | ||||
* | Get this module to compile with bsddb versions prior to 4.3 | Neal Norwitz | 2007-10-12 | 1 | -0/+2 |
| | |||||
* | Get rid of compiler warning about retval being used (returned) without | Neal Norwitz | 2007-10-12 | 1 | -1/+1 |
| | | | | being initialized. (gcc warning and Coverity 202) | ||||
* | Fix a double free when positioning a database cursor to a non-existant | Gregory P. Smith | 2007-10-09 | 1 | -1/+13 |
| | | | | | | string key (and probably a few other situations with string keys). This was reported with a patch as pybsddb sourceforge bug 1708868 by jjjhhhlll at gmail. | ||||
* | Splits Modules/_bsddb.c up into bsddb.h and _bsddb.c and adds a C API | Gregory P. Smith | 2007-10-09 | 1 | -188/+25 |
| | | | | | | | | | | | object available as bsddb.db.api. This is based on the patch submitted by Duncan Grisby here: http://sourceforge.net/tracker/index.php?func=detail&aid=1551895&group_id=13900&atid=313900 See this thread for additional info: http://sourceforge.net/mailarchive/forum.php?thread_name=E1GAVDK-0002rk-Iw%40apasphere.com&forum_name=pybsddb-users It also cleans up the code a little by removing some ifdef/endifs for python prior to 2.1 and for unsupported Berkeley DB <= 3.2. | ||||
* | Stab in the dark attempt to fix the test_bsddb3 failure on sparc and S-390 | Gregory P. Smith | 2007-10-06 | 1 | -1/+7 |
| | | | | ubuntu buildbots. | ||||
* | email address update | Gregory P. Smith | 2007-09-09 | 1 | -4/+4 |
| | |||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -14/+14 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Backout the original 'fix' to 1721309 which had no effect. | Neal Norwitz | 2007-06-03 | 1 | -5/+9 |
| | | | | | | | | | | | Different versions of Berkeley DB handle this differently. The comments and bug report should have the details. Memory is allocated in 4.4 (and presumably earlier), but not in 4.5. Thus 4.5 has the free error, but not earlier versions. Mostly update comments, plus make the free conditional. This fix was already applied to the 2.5 branch. | ||||
* | Whoops, need to pay attention to those test failures. | Neal Norwitz | 2007-05-19 | 1 | -1/+1 |
| | | | | Move the clear to *before* the first use, not after. | ||||
* | Clear data so random memory does not get freed. Will backport. | Neal Norwitz | 2007-05-19 | 1 | -0/+1 |
| | |||||
* | Accomodate 64 bit time_t in the _bsddb module. | Kristján Valur Jónsson | 2007-04-26 | 1 | -1/+21 |
| | |||||
* | bump module version to match supported berkeleydb version | Gregory P. Smith | 2007-01-05 | 1 | -1/+1 |
| | |||||
* | Support linking of the bsddb module against BerkeleyDB 4.5.x | Gregory P. Smith | 2007-01-05 | 1 | -0/+8 |
| | | | | (will backport to 2.5) | ||||
* | Bug #1599782: Fix segfault on bsddb.db.DB().type(). | Neal Norwitz | 2006-11-21 | 1 | -2/+0 |
| | | | | | | | | | The problem is that _DB_get_type() can't be called without the GIL because it calls a bunch of PyErr_* APIs when an error occurs. There were no other cases in this file that it was called without the GIL. Removing the BEGIN/END THREAD around _DB_get_type() made everything work. Will backport. | ||||
* | Fixes a bug with bsddb.DB.stat where the flags and txn keyword | Gregory P. Smith | 2006-09-19 | 1 | -2/+2 |
| | | | | | | arguments are transposed. (reported by Louis Zechtzer) ..already committed to release24-maint ..needs committing to release25-maint | ||||
* | Handle malloc and fopen failures more gracefully. | Neal Norwitz | 2006-08-13 | 1 | -2/+8 |
| | | | | Klocwork 180-181 | ||||
* | - pybsddb Bug #1527939: bsddb module DBEnv dbremove and dbrename | Gregory P. Smith | 2006-07-28 | 1 | -3/+3 |
| | | | | | | | methods now allow their database parameter to be None as the sleepycat API allows. Also adds an appropriate test case for DBEnv.dbrename and dbremove. | ||||
* | Ensure we don't write beyond errText. I think I got this right, but | Neal Norwitz | 2006-07-23 | 1 | -10/+19 |
| | | | | | | | | | it definitely could use some review to ensure I'm not off by one and there's no possible overflow/wrap-around of bytes_left. Reported by Klocwork #1. Fix a problem if there is a failure allocating self->db. Found with failmalloc. | ||||
* | Fix memory leak reported by valgrind while running test_subprocess | Neal Norwitz | 2006-06-17 | 1 | -0/+2 |
| | |||||
* | Get rid of function pointer cast. | Martin v. Löwis | 2006-06-12 | 1 | -3/+3 |
| | |||||
* | Cleanup Py_ssize_t a little (get rid of second #ifdef) | Neal Norwitz | 2006-06-12 | 1 | -5/+2 |
| | |||||
* | Fix Coverity # 146. newDBSequenceObject would deref dbobj, so it can't be NULL. | Neal Norwitz | 2006-06-11 | 1 | -4/+2 |
| | | | | | We know it's not NULL from the ParseTuple and DbObject_Check will verify it's not NULL. | ||||
* | BSequence_set_range(): Rev 46688 ("Fix a bunch of | Tim Peters | 2006-06-06 | 1 | -1/+1 |
| | | | | | | parameter strings") changed this function's signature seemingly by mistake, which is causing buildbots to fail test_bsddb3. Restored the pre-46688 signature. | ||||
* | Fix a bunch of parameter strings | Neal Norwitz | 2006-06-06 | 1 | -7/+7 |
| | |||||
* | - bsddb: the __len__ method of a DB object has been fixed to return correct | Gregory P. Smith | 2006-06-05 | 1 | -6/+17 |
| | | | | | results. It could previously incorrectly return 0 in some cases. Fixes SF bug 1493322 (pybsddb bug 1184012). | ||||
* | * fix DBCursor.pget() bug with keyword argument names when no data= is | Gregory P. Smith | 2006-06-05 | 1 | -4/+4 |
| | | | | supplied [SF pybsddb bug #1477863] |