Zope Subversion Repository |
|
Comply with repository policy.
release
merge 70049:70059 from the jinty-doom branch.
These are the ZODB part of the patches I posted to
http://www.zope.org/Collectors/Zope3-dev/655 with an additional import cleanup.
The issue was silent for over 2 weeks.
Also my attempts at subscribing to zodb-dev or sending a message there
dissapeared were doomed;)
I'm fully willing to revert this if someone has an issue with it.
------------------------------------------------------------------------
r70059 | jinty | 2006-09-08 16:26:44 +0200 (Fri, 08 Sep 2006) | 1 line
Forgot the NEWS entry. Hope I did it right.
------------------------------------------------------------------------
r70053 | jinty | 2006-09-08 14:43:26 +0200 (Fri, 08 Sep 2006) | 1 line
Clean up wierd import dance with ZODB. This is unnecessary since the transaction module stopped being imported in ZODB/__init__.py in rev 39622.
------------------------------------------------------------------------
r70051 | jinty | 2006-09-08 13:24:45 +0200 (Fri, 08 Sep 2006) | 1 line
Add the ability to ask a transaction if it has been doomed i.e. isDoomed().
------------------------------------------------------------------------
r70050 | jinty | 2006-09-08 13:13:06 +0200 (Fri, 08 Sep 2006) | 1 line
Add the doom() function to transactions. Look at tests/doom.txt for more info.
------------------------------------------------------------------------
Remove a large pile of gimmicks that were officially deprecated in ZODB 3.4. This should be fun ;-)
Merge Jim's savepoint/rollback work from the 3.4 branch. Yay! Original checkin msgs follow: r30131 | jim | 2005-04-23 23:33:29 -0400 (Sat, 23 Apr 2005) | 5 lines M /ZODB/branches/3.4/src/ZODB/Connection.py M /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py Fixed a bug in commits with savepoints and changes since savepoints. Once we start using savepoints, we need to make sure that all data are committed through the savepoints. Otherwise, things can get committed in the wrong order, leading to conflicts. r30130 | jim | 2005-04-23 23:02:00 -0400 (Sat, 23 Apr 2005) | 6 lines M /ZODB/branches/3.4/src/ZODB/Connection.py M /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py Fixed a bug that caused assertion errors if an object was added in a savepoint, then modified and then aborted. Also added missing code to clear registered objects when a savepoint was rolled back. r30129 | jim | 2005-04-23 21:29:02 -0400 (Sat, 23 Apr 2005) | 5 lines M /ZODB/branches/3.4/src/ZODB/Connection.py D /ZODB/branches/3.4/src/ZODB/TmpStore.py M /ZODB/branches/3.4/src/ZODB/tests/testConnection.py A /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.py A /ZODB/branches/3.4/src/ZODB/tests/testConnectionSavepoint.txt M /ZODB/branches/3.4/src/ZODB/tests/testZODB.py M /ZODB/branches/3.4/src/ZODB/tests/test_datamanageradapter.py M /ZODB/branches/3.4/src/transaction/__init__.py M /ZODB/branches/3.4/src/transaction/_manager.py M /ZODB/branches/3.4/src/transaction/_transaction.py M /ZODB/branches/3.4/src/transaction/interfaces.py A /ZODB/branches/3.4/src/transaction/savepoint.txt A /ZODB/branches/3.4/src/transaction/tests/savepointsample.py M /ZODB/branches/3.4/src/transaction/tests/test_register_compat.py A /ZODB/branches/3.4/src/transaction/tests/test_savepoint.py Added savepoints! (And also added interfaces and rearranged some code to hopefully make it easier to read.) r30128 | jim | 2005-04-23 21:28:59 -0400 (Sat, 23 Apr 2005) | 2 lines M /ZODB/branches/3.4/src/transaction/tests/test_transaction.py Removed some tests that son't make sense after the savepoont refactoring r30127 | jim | 2005-04-23 21:28:57 -0400 (Sat, 23 Apr 2005) | 2 lines M /ZODB/branches/3.4/src/persistent/interfaces.py Commented out mtime
Merge rev 29891 from the 3.4 branch.
Merge the ZODB part of Zope/branches/jim-fix-zclasses.
Here are checkin msgs from the branch relating to ZODB code:
r29872 | jim | 2005-04-04 07:04:39 -0400 (Mon, 04 Apr 2005) | 3 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/ZODB/serialize.py
For instances of persistent classes, save a class-module/clas-name
tuple if the class has a non-empty module string.
------------------------------------------------------------------------
r29871 | jim | 2005-04-04 07:04:33 -0400 (Mon, 04 Apr 2005) | 6 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/ZODB/Connection.py
Changed sub-transaction abort code to not invalidate created objects.
There's really no point, because created objects will be unreachable
after invalidating old objects. Also, if a created object is
non-ghostifiable, it will try to load it's state again, and then
either it would fail or it would load non-committed state.
------------------------------------------------------------------------
r29870 | jim | 2005-04-04 07:04:27 -0400 (Mon, 04 Apr 2005) | 3 lines
Changed paths:
A /Zope/branches/jim-fix-zclasses/lib/python/ZODB/persistentclass.py
A /Zope/branches/jim-fix-zclasses/lib/python/ZODB/persistentclass.txt
A /Zope/branches/jim-fix-zclasses/lib/python/ZODB/tests/testpersistentclass.py
Added ZClass-independent test of (and possible base class for)
persistent-class support machinery.
------------------------------------------------------------------------
r29867 | jim | 2005-04-04 07:03:48 -0400 (Mon, 04 Apr 2005) | 2 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py
Added missing arguments to commit and abort.
------------------------------------------------------------------------
r29774 | jim | 2005-04-01 06:24:27 -0500 (Fri, 01 Apr 2005) | 3 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/transaction/__init__.py
Changed to use methods of a threaded manager directly, rather than
through wrapper functions.
------------------------------------------------------------------------
r29773 | jim | 2005-04-01 06:24:25 -0500 (Fri, 01 Apr 2005) | 3 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/transaction/_manager.py
Added commit and abort methods to transaction managers.
This makes direcr use of managers simpler.
------------------------------------------------------------------------
r29101 | jim | 2005-02-10 07:44:52 -0500 (Thu, 10 Feb 2005) | 2 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/ZODB/Connection.py
Removed an unused attribute.
------------------------------------------------------------------------
r29100 | jim | 2005-02-10 07:42:35 -0500 (Thu, 10 Feb 2005) | 3 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/transaction/_transaction.py
Changed an XXX comment to an ordinary comment, explaining the relevent
issue.
------------------------------------------------------------------------
r29099 | jim | 2005-02-10 07:41:58 -0500 (Thu, 10 Feb 2005) | 3 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/ZODB/Connection.py
Changed some XXX comments to ordinary comments explaining the relevent
issues.
------------------------------------------------------------------------
r29071 | jim | 2005-02-07 07:36:05 -0500 (Mon, 07 Feb 2005) | 3 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/transaction/_transaction.py
Added a sanity check to avoid registration of objects without a
manager. (Perhaps this should be an assert.)
------------------------------------------------------------------------
r29067 | jim | 2005-02-07 07:35:56 -0500 (Mon, 07 Feb 2005) | 15 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/ZODB/Connection.py
Changed the strategy for handling invalidation of classes.
No-longer use setklassstate. Instead, just call _p_invalidate, as
with any other object. This changes didn't break any tests, so I
assume that this was untested. :(
Changed the strategy for invalidating objects. Non-ghostifiable
objects will load their state when they are invalidated. We have to
worry about other invalidations that come in while this is happening.
See the comment in _flush_invalidations.
We need to force all invalidations to take this into account, by going
through _flush_invalidations. I haven't done this yet, but I have
left some XXX comments in places where it needs to be done to remind
myself that this needs to be done.
------------------------------------------------------------------------
r29066 | jim | 2005-02-07 07:35:54 -0500 (Mon, 07 Feb 2005) | 8 lines
Changed paths:
M /Zope/branches/jim-fix-zclasses/lib/python/persistent/cPickleCache.c
Changed the strategy for handling invalidation of classes.
No-longer use setklassstate. Instead, just call _p_invalidate, as
with any other object. This changes didn't break any tests, so I
assume that this was untested. :(
Change invalidation to not swallow errors. (Swallowing errors here was a
travesty!)
Expand the deprecation warning for get_transaction() to cover the most common cases (commit() and abort()) -- it's not really obvious that shortcut spelling exist for those.
Officially deprecate the monkey-patching of get_transaction into __builtin__. Various Zopes probably need changes too (to avoid the new deprecation warnings).
Merge/port assorted ZODB changes checked into Zope3's ZODB copy. Please don't do that: ZODB changes need to be done in the ZODB project. Checkins to Zope3 have no effect on ZODB in reality. This includes: r26945 | jim | 2004-08-06 18:30:44 -0400 (Fri, 06 Aug 2004) | 6 lines M /Zope3/trunk/src/persistent/tests/test_persistent.py Updated to work with the versions of doctest from Python with versions greater than or equal to 2.3.0 and less than 2.4.0.a2 and with versions greater than 2.4.0a2. r26482 | srichter | 2004-07-13 13:07:03 -0400 (Tue, 13 Jul 2004) | 2 lines M /Zope3/trunk/src/transaction/__init__.py M /Zope3/trunk/src/transaction/_transaction.py M /Zope3/trunk/src/transaction/tests/test_transaction.py Converted XXX to TODO. r25953 | sidnei | 2004-06-23 13:14:20 -0400 (Wed, 23 Jun 2004) | 1 line M /Zope3/trunk/src/ZODB/interfaces.py M /Zope3/trunk/src/transaction/_transaction.py Add missing sortKey method to ZopeDBTransactionManager and DataManagerAdapter, and also add it to the interface. r25273 | philikon | 2004-06-06 04:43:57 -0400 (Sun, 06 Jun 2004) | 4 lines Changed paths: M /Zope3/trunk/src/BTrees M /Zope3/trunk/src/ZODB M /Zope3/trunk/src/persistent Ignore .so files. This fix should probably be merged to the original ZODB tree.
Updated license to version 2.1.
Expand svn Id keywords in .py, .c, and .h files.
Set mime-type or svn-eol property from cvs expansion data
Add optional subtransaction arguments to top-level commit() and abort().
Merge the jeremy-txn-branch to the head. This branch introduces a new transaction API. The key features are: - top-level functions in transaction -- get(), commit(), abort() - explicit transaction manager objects - Transaction objects are used for exactly one transaction - support for transaction synchronizers The changes here are still provisional, but we want to get them off an obscure branch and onto the head for further development.
update to replace ZODB 4 with ZODB 3
Merge jeremy-atomic-invalidation-branch. Add suspend() and resume() to transaction manager API. Change implementation so that the thread-aware manager does not inherit from the thread-agnostic manager. Add suspended transaction state.
Grand renaming: - Renamed most files (especially python modules) to lower case. - Moved views and interfaces into separate hierarchies within each project, where each top-level directory under the zope package is a separate project. - Moved everything to src from lib/python. lib/python will eventually go away. I need access to the cvs repository to make this happen, however. There are probably some bits that are broken. All tests pass and zope runs, but I haven't tried everything. There are a number of cleanups I'll work on tomorrow.
|
webmaster@zope.org Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |