modeling-cvs Mailing List for Object-Relational Bridge for python (Page 8)
Status: Abandoned
Brought to you by:
sbigaret
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(54) |
Apr
(29) |
May
(94) |
Jun
(47) |
Jul
(156) |
Aug
(132) |
Sep
(40) |
Oct
(6) |
Nov
(18) |
Dec
(24) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(18) |
Feb
(59) |
Mar
(7) |
Apr
|
May
(8) |
Jun
(2) |
Jul
(12) |
Aug
(15) |
Sep
(12) |
Oct
(6) |
Nov
(25) |
Dec
(1) |
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
(27) |
Mar
|
Apr
(16) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
Update of /cvsroot/modeling/ProjectModeling/Modeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1420 Modified Files: Adaptor.py AdaptorChannel.py AdaptorContext.py AdaptorOperation.py Attribute.py CooperatingObjectStore.py CustomObject.py Database.py DatabaseChannel.py DatabaseContext.py DatabaseObject.py DatabaseOperation.py EditingContext.py Entity.py EntityClassDescription.py Exceptions.py FaultHandler.py FetchSpecification.py GlobalID.py Join.py KeyValueCoding.py Model.py ModelSet.py ModelValidation.py ObjectStore.py ObjectStoreCoordinator.py Persistent.py PyModel.py Qualifier.py QualifierParser.py Relationship.py RelationshipManipulation.py SQLExpression.py SchemaGeneration.py SnapshotsHandling.py SortOrdering.py Validation.py XMLutils.py __init__.py delegation.py logging.py utils.py Log Message: Conformance to PEP-0263 Index: Adaptor.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Adaptor.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Adaptor.py 14 Mar 2003 11:40:01 -0000 1.6 --- Adaptor.py 14 Feb 2004 18:27:03 -0000 1.7 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: AdaptorChannel.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/AdaptorChannel.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AdaptorChannel.py 14 Mar 2003 11:40:01 -0000 1.5 --- AdaptorChannel.py 14 Feb 2004 18:27:03 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: AdaptorContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/AdaptorContext.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AdaptorContext.py 14 Mar 2003 11:40:01 -0000 1.4 --- AdaptorContext.py 14 Feb 2004 18:27:03 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: AdaptorOperation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/AdaptorOperation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AdaptorOperation.py 14 Mar 2003 11:40:01 -0000 1.3 --- AdaptorOperation.py 14 Feb 2004 18:27:03 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Attribute.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Attribute.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** Attribute.py 20 Jan 2004 22:11:48 -0000 1.19 --- Attribute.py 14 Feb 2004 18:27:03 -0000 1.20 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: CooperatingObjectStore.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/CooperatingObjectStore.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CooperatingObjectStore.py 10 Jan 2003 10:45:44 -0000 1.2 --- CooperatingObjectStore.py 14 Feb 2004 18:27:03 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: CustomObject.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/CustomObject.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** CustomObject.py 2 Aug 2003 11:14:57 -0000 1.18 --- CustomObject.py 14 Feb 2004 18:27:03 -0000 1.19 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Database.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Database.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Database.py 14 Mar 2003 11:40:05 -0000 1.8 --- Database.py 14 Feb 2004 18:27:03 -0000 1.9 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: DatabaseChannel.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseChannel.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** DatabaseChannel.py 18 Jul 2003 13:37:03 -0000 1.16 --- DatabaseChannel.py 14 Feb 2004 18:27:03 -0000 1.17 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: DatabaseContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseContext.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** DatabaseContext.py 2 Aug 2003 11:16:40 -0000 1.19 --- DatabaseContext.py 14 Feb 2004 18:27:03 -0000 1.20 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: DatabaseObject.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseObject.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DatabaseObject.py 14 Mar 2003 11:40:07 -0000 1.3 --- DatabaseObject.py 14 Feb 2004 18:27:03 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: DatabaseOperation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseOperation.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** DatabaseOperation.py 27 Jul 2003 17:02:01 -0000 1.4 --- DatabaseOperation.py 14 Feb 2004 18:27:03 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: EditingContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/EditingContext.py,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -d -r1.30 -r1.31 *** EditingContext.py 18 Jul 2003 14:30:45 -0000 1.30 --- EditingContext.py 14 Feb 2004 18:27:03 -0000 1.31 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Entity.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Entity.py,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** Entity.py 20 Jan 2004 22:11:48 -0000 1.19 --- Entity.py 14 Feb 2004 18:27:03 -0000 1.20 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: EntityClassDescription.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/EntityClassDescription.py,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** EntityClassDescription.py 23 Jul 2003 11:23:12 -0000 1.15 --- EntityClassDescription.py 14 Feb 2004 18:27:03 -0000 1.16 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Exceptions.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Exceptions.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Exceptions.py 14 Mar 2003 11:40:08 -0000 1.3 --- Exceptions.py 14 Feb 2004 18:27:03 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: FaultHandler.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/FaultHandler.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** FaultHandler.py 19 Jun 2003 14:19:02 -0000 1.14 --- FaultHandler.py 14 Feb 2004 18:27:03 -0000 1.15 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: FetchSpecification.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/FetchSpecification.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FetchSpecification.py 16 Jul 2003 19:16:00 -0000 1.5 --- FetchSpecification.py 14 Feb 2004 18:27:03 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: GlobalID.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/GlobalID.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** GlobalID.py 13 Sep 2003 13:01:02 -0000 1.8 --- GlobalID.py 14 Feb 2004 18:27:03 -0000 1.9 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Join.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Join.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Join.py 23 Jul 2003 12:53:08 -0000 1.5 --- Join.py 14 Feb 2004 18:27:03 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: KeyValueCoding.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/KeyValueCoding.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** KeyValueCoding.py 28 Sep 2003 14:52:06 -0000 1.7 --- KeyValueCoding.py 14 Feb 2004 18:27:03 -0000 1.8 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Model.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Model.py,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Model.py 9 Aug 2003 15:08:40 -0000 1.13 --- Model.py 14 Feb 2004 18:27:03 -0000 1.14 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ModelSet.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ModelSet.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ModelSet.py 23 Jul 2003 21:09:26 -0000 1.10 --- ModelSet.py 14 Feb 2004 18:27:03 -0000 1.11 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ModelValidation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ModelValidation.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ModelValidation.py 24 Jun 2003 10:21:57 -0000 1.10 --- ModelValidation.py 14 Feb 2004 18:27:03 -0000 1.11 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ObjectStore.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ObjectStore.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ObjectStore.py 14 Mar 2003 11:40:09 -0000 1.6 --- ObjectStore.py 14 Feb 2004 18:27:03 -0000 1.7 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ObjectStoreCoordinator.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/ObjectStoreCoordinator.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ObjectStoreCoordinator.py 20 Jan 2004 16:07:13 -0000 1.12 --- ObjectStoreCoordinator.py 14 Feb 2004 18:27:03 -0000 1.13 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Persistent.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Persistent.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Persistent.py 14 Mar 2003 11:40:10 -0000 1.3 --- Persistent.py 14 Feb 2004 18:27:03 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: PyModel.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/PyModel.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** PyModel.py 15 Nov 2003 13:02:41 -0000 1.7 --- PyModel.py 14 Feb 2004 18:27:03 -0000 1.8 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Qualifier.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Qualifier.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Qualifier.py 10 Jul 2003 11:57:55 -0000 1.7 --- Qualifier.py 14 Feb 2004 18:27:04 -0000 1.8 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: QualifierParser.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/QualifierParser.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** QualifierParser.py 5 Dec 2003 14:19:58 -0000 1.12 --- QualifierParser.py 14 Feb 2004 18:27:04 -0000 1.13 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Relationship.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Relationship.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** Relationship.py 20 Jan 2004 22:11:48 -0000 1.17 --- Relationship.py 14 Feb 2004 18:27:04 -0000 1.18 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: RelationshipManipulation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/RelationshipManipulation.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** RelationshipManipulation.py 23 Jul 2003 14:50:50 -0000 1.4 --- RelationshipManipulation.py 14 Feb 2004 18:27:04 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: SQLExpression.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/SQLExpression.py,v retrieving revision 1.26 retrieving revision 1.27 diff -C2 -d -r1.26 -r1.27 *** SQLExpression.py 18 Dec 2003 14:50:12 -0000 1.26 --- SQLExpression.py 14 Feb 2004 18:27:04 -0000 1.27 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: SchemaGeneration.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/SchemaGeneration.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SchemaGeneration.py 17 Dec 2003 15:15:33 -0000 1.9 --- SchemaGeneration.py 14 Feb 2004 18:27:04 -0000 1.10 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: SnapshotsHandling.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/SnapshotsHandling.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SnapshotsHandling.py 14 Mar 2003 11:40:10 -0000 1.5 --- SnapshotsHandling.py 14 Feb 2004 18:27:04 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: SortOrdering.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/SortOrdering.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** SortOrdering.py 9 Feb 2004 21:06:05 -0000 1.6 --- SortOrdering.py 14 Feb 2004 18:27:04 -0000 1.7 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Validation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Validation.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Validation.py 10 Jan 2003 10:45:44 -0000 1.4 --- Validation.py 14 Feb 2004 18:27:04 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: XMLutils.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/XMLutils.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** XMLutils.py 27 May 2003 19:37:28 -0000 1.4 --- XMLutils.py 14 Feb 2004 18:27:04 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/__init__.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** __init__.py 9 Feb 2004 21:06:05 -0000 1.5 --- __init__.py 14 Feb 2004 18:27:04 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: delegation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/delegation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** delegation.py 14 Mar 2003 11:38:18 -0000 1.3 --- delegation.py 14 Feb 2004 18:27:04 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- """ delegation module Index: logging.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/logging.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** logging.py 18 Jul 2003 10:33:52 -0000 1.6 --- logging.py 14 Feb 2004 18:27:04 -0000 1.7 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: utils.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/utils.py,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** utils.py 28 Jan 2004 14:54:09 -0000 1.17 --- utils.py 14 Feb 2004 18:27:04 -0000 1.18 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # |
Update of /cvsroot/modeling/ProjectModeling/Modeling/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32011 Modified Files: __init__.py run.py stressTests_EditingContext.py test_Adaptor.py test_AdaptorLayer.py test_Attribute.py test_CooperatingObjectStoreNeededNotification.py test_DatabaseContext.py test_EditingContext.py test_EditingContext_Global.py test_EditingContext_Global_Inheritance.py test_EditingContext_ParentChild.py test_Entity.py test_EntityClassDescription.py test_FaultHandler.py test_GlobalID.py test_ImportExport.py test_KeyValueCoding.py test_Model.py test_ObserverCenter.py test_PyModel.py test_Qualifier.py test_Relationship.py test_RelationshipManipulation.py test_SQLExpression.py test_SchemaGeneration.py test_SortOrderings.py test_Validation.py utils.py Log Message: Conformance to PEP-0263 Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 10 Jan 2003 10:45:45 -0000 1.2 --- __init__.py 14 Feb 2004 18:17:21 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: run.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/run.py,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** run.py 24 Jul 2003 11:30:52 -0000 1.7 --- run.py 14 Feb 2004 18:17:21 -0000 1.8 *************** *** 1,4 **** #!/usr/bin/env python ! #----------------------------------------------------------------------------- # --- 1,4 ---- #!/usr/bin/env python ! # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: stressTests_EditingContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/stressTests_EditingContext.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** stressTests_EditingContext.py 14 Mar 2003 11:40:13 -0000 1.4 --- stressTests_EditingContext.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_Adaptor.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Adaptor.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_Adaptor.py 14 Mar 2003 11:40:13 -0000 1.3 --- test_Adaptor.py 14 Feb 2004 18:17:21 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_AdaptorLayer.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_AdaptorLayer.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_AdaptorLayer.py 28 Jan 2004 14:54:09 -0000 1.4 --- test_AdaptorLayer.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_Attribute.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Attribute.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test_Attribute.py 10 Jan 2003 10:45:45 -0000 1.2 --- test_Attribute.py 14 Feb 2004 18:17:21 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_CooperatingObjectStoreNeededNotification.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_CooperatingObjectStoreNeededNotification.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_CooperatingObjectStoreNeededNotification.py 14 Mar 2003 11:40:13 -0000 1.3 --- test_CooperatingObjectStoreNeededNotification.py 14 Feb 2004 18:17:21 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_DatabaseContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_DatabaseContext.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_DatabaseContext.py 14 Mar 2003 11:40:13 -0000 1.3 --- test_DatabaseContext.py 14 Feb 2004 18:17:21 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_EditingContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_EditingContext.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** test_EditingContext.py 7 Jul 2003 14:27:25 -0000 1.6 --- test_EditingContext.py 14 Feb 2004 18:17:21 -0000 1.7 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_EditingContext_Global.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_EditingContext_Global.py,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** test_EditingContext_Global.py 20 Jan 2004 16:05:40 -0000 1.46 --- test_EditingContext_Global.py 14 Feb 2004 18:17:21 -0000 1.47 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_EditingContext_Global_Inheritance.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_EditingContext_Global_Inheritance.py,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** test_EditingContext_Global_Inheritance.py 20 Aug 2003 20:42:20 -0000 1.21 --- test_EditingContext_Global_Inheritance.py 14 Feb 2004 18:17:21 -0000 1.22 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_EditingContext_ParentChild.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_EditingContext_ParentChild.py,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** test_EditingContext_ParentChild.py 20 Aug 2003 20:41:59 -0000 1.14 --- test_EditingContext_ParentChild.py 14 Feb 2004 18:17:21 -0000 1.15 *************** *** 1,4 **** #! /usr/bin/env python ! ## Licence """ Global tests for EditingContext --- 1,27 ---- #! /usr/bin/env python ! # -*- coding: iso-8859-1 -*- ! #----------------------------------------------------------------------------- ! # ! # Modeling Framework: an Object-Relational Bridge for python ! # (c) 2001, 2002, 2003 Sebastien Bigaret ! # ! # This file is part of the Modeling Framework. ! # ! # The Modeling Framework is free software; you can redistribute it and/or ! # modify it under the terms of the GNU General Public License as published ! # by the Free Software Foundation; either version 2 of the License, or (at ! # your option) any later version. ! # ! # The Modeling Framework is distributed in the hope that it will be ! # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of ! # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ! # General Public License for more details. ! # ! # You should have received a copy of the GNU General Public License along ! # with the Modeling Framework; if not, write to the Free Software ! # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! # ! #----------------------------------------------------------------------------- ! """ Global tests for EditingContext Index: test_Entity.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Entity.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_Entity.py 10 Jun 2003 16:31:33 -0000 1.4 --- test_Entity.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_EntityClassDescription.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_EntityClassDescription.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_EntityClassDescription.py 24 Jul 2003 11:30:52 -0000 1.4 --- test_EntityClassDescription.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_FaultHandler.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_FaultHandler.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test_FaultHandler.py 10 Jan 2003 10:45:45 -0000 1.2 --- test_FaultHandler.py 14 Feb 2004 18:17:21 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_GlobalID.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_GlobalID.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_GlobalID.py 10 Jan 2003 10:45:45 -0000 1.4 --- test_GlobalID.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_ImportExport.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_ImportExport.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test_ImportExport.py 10 Jan 2003 10:45:45 -0000 1.2 --- test_ImportExport.py 14 Feb 2004 18:17:21 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_KeyValueCoding.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_KeyValueCoding.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_KeyValueCoding.py 28 Sep 2003 14:52:06 -0000 1.4 --- test_KeyValueCoding.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_Model.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Model.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** test_Model.py 25 Jul 2003 15:39:04 -0000 1.6 --- test_Model.py 14 Feb 2004 18:17:21 -0000 1.7 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_ObserverCenter.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_ObserverCenter.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** test_ObserverCenter.py 10 Jan 2003 10:45:45 -0000 1.2 --- test_ObserverCenter.py 14 Feb 2004 18:17:21 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_PyModel.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_PyModel.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** test_PyModel.py 15 Nov 2003 13:02:41 -0000 1.6 --- test_PyModel.py 14 Feb 2004 18:17:21 -0000 1.7 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_Qualifier.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Qualifier.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** test_Qualifier.py 5 Dec 2003 14:19:59 -0000 1.10 --- test_Qualifier.py 14 Feb 2004 18:17:21 -0000 1.11 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_Relationship.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Relationship.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** test_Relationship.py 20 Jan 2004 15:55:13 -0000 1.6 --- test_Relationship.py 14 Feb 2004 18:17:21 -0000 1.7 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_RelationshipManipulation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_RelationshipManipulation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_RelationshipManipulation.py 24 Jul 2003 17:02:34 -0000 1.3 --- test_RelationshipManipulation.py 14 Feb 2004 18:17:21 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_SQLExpression.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_SQLExpression.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** test_SQLExpression.py 3 Aug 2003 14:31:27 -0000 1.8 --- test_SQLExpression.py 14 Feb 2004 18:17:21 -0000 1.9 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_SchemaGeneration.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_SchemaGeneration.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** test_SchemaGeneration.py 17 Dec 2003 15:15:33 -0000 1.5 --- test_SchemaGeneration.py 14 Feb 2004 18:17:21 -0000 1.6 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_SortOrderings.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_SortOrderings.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** test_SortOrderings.py 9 Feb 2004 21:06:05 -0000 1.4 --- test_SortOrderings.py 14 Feb 2004 18:17:21 -0000 1.5 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: test_Validation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_Validation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_Validation.py 14 Mar 2003 11:40:13 -0000 1.3 --- test_Validation.py 14 Feb 2004 18:17:21 -0000 1.4 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: utils.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/utils.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** utils.py 24 Jul 2003 11:14:04 -0000 1.8 --- utils.py 14 Feb 2004 18:17:21 -0000 1.9 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # |
Update of /cvsroot/modeling/ProjectModeling/Modeling/interfaces In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28674 Modified Files: Adaptor.py AdaptorChannel.py AdaptorContext.py AdaptorOperation.py ClassDescription.py ClassDescriptionDelegate.py CooperatingObjectStoreInterface.py DatabaseObject.py DatabaseOperation.py EditingContext.py Faulting.py FetchSpecification.py GlobalID.py KeyValueCoding.py ObjectStoreInterface.py ObserverCenter.py Observing.py ObservingInterface.py Qualifier.py Relationship.py RelationshipManipulation.py SchemaGeneration.py SortOrdering.py Validation.py XMLCapability.py __init__.py Log Message: Conformance to PEP-0263 Index: Adaptor.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/Adaptor.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Adaptor.py 14 Mar 2003 11:40:11 -0000 1.3 --- Adaptor.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: AdaptorChannel.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/AdaptorChannel.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AdaptorChannel.py 14 Mar 2003 11:40:11 -0000 1.5 --- AdaptorChannel.py 14 Feb 2004 18:01:54 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: AdaptorContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/AdaptorContext.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AdaptorContext.py 14 Mar 2003 11:40:11 -0000 1.4 --- AdaptorContext.py 14 Feb 2004 18:01:54 -0000 1.5 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: AdaptorOperation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/AdaptorOperation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** AdaptorOperation.py 14 Mar 2003 11:40:11 -0000 1.3 --- AdaptorOperation.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ClassDescription.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/ClassDescription.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ClassDescription.py 16 Jul 2003 18:45:24 -0000 1.6 --- ClassDescription.py 14 Feb 2004 18:01:54 -0000 1.7 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ClassDescriptionDelegate.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/ClassDescriptionDelegate.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ClassDescriptionDelegate.py 14 Mar 2003 11:40:11 -0000 1.3 --- ClassDescriptionDelegate.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: CooperatingObjectStoreInterface.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/CooperatingObjectStoreInterface.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CooperatingObjectStoreInterface.py 10 Jan 2003 10:45:45 -0000 1.2 --- CooperatingObjectStoreInterface.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: DatabaseObject.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/DatabaseObject.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DatabaseObject.py 8 Mar 2003 16:21:56 -0000 1.3 --- DatabaseObject.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: DatabaseOperation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/DatabaseOperation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DatabaseOperation.py 14 Mar 2003 11:40:11 -0000 1.3 --- DatabaseOperation.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: EditingContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/EditingContext.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** EditingContext.py 14 Mar 2003 11:40:12 -0000 1.3 --- EditingContext.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Faulting.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/Faulting.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Faulting.py 14 Mar 2003 11:40:12 -0000 1.3 --- Faulting.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: FetchSpecification.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/FetchSpecification.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** FetchSpecification.py 14 Mar 2003 11:40:12 -0000 1.3 --- FetchSpecification.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: GlobalID.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/GlobalID.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GlobalID.py 14 Mar 2003 11:40:12 -0000 1.3 --- GlobalID.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: KeyValueCoding.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/KeyValueCoding.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** KeyValueCoding.py 3 Jul 2003 23:03:38 -0000 1.3 --- KeyValueCoding.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ObjectStoreInterface.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/ObjectStoreInterface.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ObjectStoreInterface.py 16 Jul 2003 19:16:00 -0000 1.6 --- ObjectStoreInterface.py 14 Feb 2004 18:01:54 -0000 1.7 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ObserverCenter.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/ObserverCenter.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ObserverCenter.py 10 Jan 2003 10:45:45 -0000 1.2 --- ObserverCenter.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Observing.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/Observing.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Observing.py 10 Jan 2003 10:45:45 -0000 1.2 --- Observing.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: ObservingInterface.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/ObservingInterface.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ObservingInterface.py 10 Jan 2003 10:45:45 -0000 1.2 --- ObservingInterface.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Qualifier.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/Qualifier.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Qualifier.py 10 Jan 2003 10:45:45 -0000 1.2 --- Qualifier.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Relationship.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/Relationship.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Relationship.py 10 Jan 2003 10:45:45 -0000 1.2 --- Relationship.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: RelationshipManipulation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/RelationshipManipulation.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RelationshipManipulation.py 10 Jan 2003 10:45:45 -0000 1.2 --- RelationshipManipulation.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: SchemaGeneration.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/SchemaGeneration.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SchemaGeneration.py 14 Mar 2003 11:40:12 -0000 1.5 --- SchemaGeneration.py 14 Feb 2004 18:01:54 -0000 1.6 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: SortOrdering.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/SortOrdering.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** SortOrdering.py 10 Jan 2003 10:45:45 -0000 1.2 --- SortOrdering.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: Validation.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/Validation.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Validation.py 10 Jan 2003 10:45:45 -0000 1.3 --- Validation.py 14 Feb 2004 18:01:54 -0000 1.4 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: XMLCapability.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/XMLCapability.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** XMLCapability.py 10 Jan 2003 10:45:45 -0000 1.2 --- XMLCapability.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/interfaces/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 10 Jan 2003 10:45:45 -0000 1.2 --- __init__.py 14 Feb 2004 18:01:54 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # |
From: <sbi...@us...> - 2004-02-14 18:06:09
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/scripts In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28111 Modified Files: bug861048.py mdl_generate_DB_schema.py mdl_generate_python_code.py mdl_validate_model.py Log Message: Conformance to PEP-0263 Index: bug861048.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/bug861048.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** bug861048.py 18 Dec 2003 15:35:21 -0000 1.2 --- bug861048.py 14 Feb 2004 17:59:32 -0000 1.3 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- # Index: mdl_generate_DB_schema.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/mdl_generate_DB_schema.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** mdl_generate_DB_schema.py 4 Oct 2003 12:53:43 -0000 1.8 --- mdl_generate_DB_schema.py 14 Feb 2004 17:59:32 -0000 1.9 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- Index: mdl_generate_python_code.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/mdl_generate_python_code.py,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mdl_generate_python_code.py 7 Jul 2003 14:57:14 -0000 1.6 --- mdl_generate_python_code.py 14 Feb 2004 17:59:33 -0000 1.7 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- Index: mdl_validate_model.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/scripts/mdl_validate_model.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** mdl_validate_model.py 7 Jul 2003 14:57:14 -0000 1.5 --- mdl_validate_model.py 14 Feb 2004 17:59:33 -0000 1.6 *************** *** 1,3 **** --- 1,4 ---- #! /usr/bin/env python + # -*- coding: iso-8859-1 -*- #----------------------------------------------------------------------------- |
From: <sbi...@us...> - 2004-02-14 16:39:32
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10677/www Modified Files: menu-inline-begin.tex Log Message: things added in 0.9pre16 but not committed --menu item for bug 861048 added Index: menu-inline-begin.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/www/menu-inline-begin.tex,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** menu-inline-begin.tex 16 Nov 2003 16:49:57 -0000 1.9 --- menu-inline-begin.tex 14 Feb 2004 16:32:59 -0000 1.10 *************** *** 34,37 **** --- 34,38 ---- <a href="https://sourceforge.net/news/?group_id=58935">News</a><br> <a href="https://sourceforge.net/tracker/?group_id=58935&atid=489335">Bugs</a><br> + <font color="FF0000">!!! </font><a href="bugs/bug861048.html" target="_new">Bug #861048</a><br> <a href="http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/modeling/">Web CVS</a><br> <br> |
From: <sbi...@us...> - 2004-02-14 16:39:32
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/HomePage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10677/HomePage Modified Files: main.tex Log Message: things added in 0.9pre16 but not committed --menu item for bug 861048 added Index: main.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/HomePage/main.tex,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** main.tex 16 Nov 2003 17:08:01 -0000 1.29 --- main.tex 14 Feb 2004 16:32:59 -0000 1.30 *************** *** 46,50 **** ! \begin{rawhtml}<hr noshade><a name="disclaimer">\end{rawhtml} \begin{quote} --- 46,50 ---- ! ~\\~\\~\\~\\ \begin{rawhtml}<hr noshade><a name="disclaimer">\end{rawhtml} \begin{quote} |
From: <sbi...@us...> - 2004-02-14 16:39:32
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10677 Modified Files: UserGuide.tex Log Message: things added in 0.9pre16 but not committed --menu item for bug 861048 added Index: UserGuide.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide.tex,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** UserGuide.tex 16 Nov 2003 17:08:00 -0000 1.33 --- UserGuide.tex 14 Feb 2004 16:32:58 -0000 1.34 *************** *** 22,26 **** % the rest is at your discretion. \authoraddress{Email: \email{sbi...@us...}} ! \date{Sep 21, 2003} %\date{\today} \release{0.9-pre-16} --- 22,26 ---- % the rest is at your discretion. \authoraddress{Email: \email{sbi...@us...}} ! \date{Nov 16, 2003} %\date{\today} \release{0.9-pre-16} |
From: <sbi...@us...> - 2004-02-14 16:25:02
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/DevGuide In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8347/doc/DevGuide Modified Files: Notifications.tex Log Message: misc. changes Index: Notifications.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/DevGuide/Notifications.tex,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Notifications.tex 2 Feb 2003 12:56:28 -0000 1.1 --- Notifications.tex 14 Feb 2004 16:18:30 -0000 1.2 *************** *** 41,45 **** } \newcommand{\poster}[2]{% #1:Class[.Method], #2: description ! \item[Posted by #1:]~\\ #2 %#2 --- 41,45 ---- } \newcommand{\poster}[2]{% #1:Class[.Method], #2: description ! \item[Posted by #1]~\\ #2 %#2 *************** *** 147,151 **** changed. }%generic description ! {the \class{ObjectStore} posting the notification}%object {a dictionary whose keys and values are described below:\\ \begin{tabular}{|l|l|}\hline --- 147,151 ---- changed. }%generic description ! {the \class{ObjectStore} posting the notification. }%object {a dictionary whose keys and values are described below:\\ \begin{tabular}{|l|l|}\hline |
From: <sbi...@us...> - 2004-02-09 21:09:22
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13019/Modeling/tests Modified Files: test_SortOrderings.py Log Message: Fixed SortOrdering.sortOrderingsWithString(). Updated documentation Index: test_SortOrderings.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_SortOrderings.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_SortOrderings.py 10 Jan 2003 10:45:45 -0000 1.3 --- test_SortOrderings.py 9 Feb 2004 21:06:05 -0000 1.4 *************** *** 69,72 **** --- 69,98 ---- self.failUnlessEqual(sorted_authors, [self.john, self.douglas, self.victor, self.robert, self.jean]) + def test_03_sortOrderingsWithString(self): + "[SortOrdering] sortOrderingsWithString" + from Modeling.SortOrdering import sortOrderingsWithString + + s=sortOrderingsWithString('name') + self.failUnless(len(s)==1) + self.assertEqual(s[0].key(), 'name') + self.assertEqual(s[0].operator(), SortOrdering.compareAscending) + + s=sortOrderingsWithString('name desc, age asc') + self.failUnless(len(s)==2) + self.assertEqual(s[0].key(), 'name') + self.assertEqual(s[0].operator(), SortOrdering.compareDescending) + self.assertEqual(s[1].key(), 'age') + self.assertEqual(s[1].operator(), SortOrdering.compareAscending) + + def test_04_multipleSort(self): + "[SortOrdering] " + from Modeling.SortOrdering \ + import sortOrderingsWithString, sortedArrayUsingKeyOrderArray + + name_age=sortOrderingsWithString('lastName, age desc') + authors_name_age=sortedArrayUsingKeyOrderArray(self.authors, name_age) + self.failUnlessEqual(authors_name_age, [self.douglas, self.john, self.jean, + self.victor, self.robert]) + # Build the test suite def test_suite(): |
From: <sbi...@us...> - 2004-02-09 21:09:22
|
Update of /cvsroot/modeling/ProjectModeling/Modeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13019/Modeling Modified Files: SortOrdering.py __init__.py Log Message: Fixed SortOrdering.sortOrderingsWithString(). Updated documentation Index: SortOrdering.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/SortOrdering.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** SortOrdering.py 4 Jul 2003 16:05:07 -0000 1.5 --- SortOrdering.py 9 Feb 2004 21:06:05 -0000 1.6 *************** *** 21,33 **** # #----------------------------------------------------------------------------- ! """ ! SortOrdering ! CVS Information ! $Id$ """ --- 21,51 ---- # #----------------------------------------------------------------------------- + """ + Module SortOrdering holds a "command" pattern for sorting objects, and the + appropriate methods for building and using the commands. + A command for sorting is an instance of L{SortOrdering}; it can be built + either directly or with the method L{sortOrderingsWithString}. A command can + be used alone or inserted in a sequence of sorting command; in the later case, + the resulting sorting method simply consists in sorting objects with the first + method in the sequence, than sorting the objects which are equal wrt the first + method using the second one in the sequence, etc. ! A command consists in a key and an operator (see below: L{compareAscending}, ! ...); the sorting mechanism uses ! L{KeyValueCoding.valueForKeyPath<KeyValueCoding.KeyValueCoding.valueForKeyPath>} ! with the command's key to access the values for objects' attributes. ! Sorted objects must implement the KeyValueCoding interface's method ! L{KeyValueCoding.valueForKeyPath<KeyValueCoding.KeyValueCoding.valueForKeyPath>}): ! it is used to access objects' values. ! Example of use: ! >>> from Modeling.SortOrdering import sortOrderingsWithString, sortedArrayUsingKeyOrderArray ! >>> name_age=sortOrderingsWithString('lastName, age desc') ! >>> sortedArrayUsingKeyOrderArray(self.authors, name_age) ! ! CVS Information: $Id$ """ *************** *** 35,39 **** from interfaces.SortOrdering import SortOrderingInterface - from string import upper from utils import staticmethod --- 53,56 ---- *************** *** 41,44 **** --- 58,62 ---- # Predefined Operators def compareAscending(value1, value2): + "This operator allows to sort values in ascending order" if value1 < value2: return -1 elif value1 == value2: return 0 *************** *** 46,49 **** --- 64,68 ---- def compareDescending(value1, value2): + "This operator allows to sort values in descending order" if value1 > value2: return -1 elif value1 == value2: return 0 *************** *** 51,55 **** def compareCaseInsensitiveAscending(value1, value2): ! up1=upper(value1); up2=upper(value2) if up1 < up2: return -1 elif up1 == up2: return 0 --- 70,75 ---- def compareCaseInsensitiveAscending(value1, value2): ! "This operator allows to sort strings in ascending order, case-insensitively" ! up1=value1.upper(); up2=value2.upper() if up1 < up2: return -1 elif up1 == up2: return 0 *************** *** 57,61 **** def compareCaseInsensitiveDescending(value1, value2): ! up1=upper(value1); up2=upper(value2) if up1 > up2: return -1 elif up1 == up2: return 0 --- 77,82 ---- def compareCaseInsensitiveDescending(value1, value2): ! "This operator allows to sort strings in descending order, case-insensitively" ! up1=value1.upper(); up2=value2.upper() if up1 > up2: return -1 elif up1 == up2: return 0 *************** *** 63,67 **** def operatorFromString(str): ! op=strip(str.lower()) if op == 'asc': return compareAscending if op == 'iasc': return compareCaseInsensitiveAscending --- 84,92 ---- def operatorFromString(str): ! """ ! Converts a string to the corresponding operator. Recognized strings are: ! 'asc', 'desc' and their case-insensitive counterparts: 'iasc' and 'idesc' ! """ ! op=str.lower().strip() if op == 'asc': return compareAscending if op == 'iasc': return compareCaseInsensitiveAscending *************** *** 71,75 **** # Module functions ! def __compareUsingKeyOrderArray__(object1, object2, sortOrderings): for ordering in sortOrderings: key=ordering.key() --- 96,100 ---- # Module functions ! def _compareUsingKeyOrderArray(object1, object2, sortOrderings): for ordering in sortOrderings: key=ordering.key() *************** *** 80,84 **** def sortedArrayUsingKeyOrderArray(array, sortOrderings): ! comp=lambda o1, o2, orderings=sortOrderings:__compareUsingKeyOrderArray__(o1,o2,orderings) result=list(array) result.sort(comp) --- 105,122 ---- def sortedArrayUsingKeyOrderArray(array, sortOrderings): ! """ ! Sorts array with respect to the list of sort commands supplied in ! sortOrderings. Object's values are accessed using L{SortOrdering}.key ! and L{KeyValueCoding.valueForKeyPath}. ! ! @parameter array: a sequence of objects implementing ! L{KeyValueCoding.KeyValueCoding.valueForKeyPath} ! ! @parameter sortOrderings: a sequence of L{SortOrdering} commands. ! ! @return: the sorted array ! ! """ ! comp=lambda o1, o2, orderings=sortOrderings:_compareUsingKeyOrderArray(o1,o2,orderings) result=list(array) result.sort(comp) *************** *** 86,114 **** def sortOrderingWithKey(key, operator): return SortOrdering(key, operator) def sortOrderingsWithString(str): ! import string sorts=[] ! parts=string.split(str,',') for part in parts: ! part=string.strip(part) ! key_order=string.split(part) ! if len(key_order==1): ! key, order=key_order, 'asc' ! elif len(key_order)==2: ! key, order=key_order[0], operatorFromString(key_order[1]) else: raise ValueError, "Unrecognized pattern '%s' in '%s'"%(part, str) ! sorts.append(SortOrdering(key,operator)) return sorts # class SortOrdering: __implements__ = (SortOrderingInterface,) def __init__(self, key, operator): self._key=key self._operator=operator --- 124,173 ---- def sortOrderingWithKey(key, operator): + "Alternate constructor for a L{SortOrdering}" return SortOrdering(key, operator) def sortOrderingsWithString(str): ! """ ! Builds a sequence of SortOrdering from the supplied string. ! A valid string is: C{<key1> [<operator1>], ..., <key_n> [<operator_n>]} ! ! Valid operators are the one accepted by L{operatorFromString}. When ! C{<operator>} is omitted, it defaults to C{'asc'}. ! ! Example of a valid string: C{"name, age desc"} meaning; sort by name ! (ascending), then by age (descending). ! ! """ sorts=[] ! parts=str.split(',') for part in parts: ! part=part.strip() ! key_op=part.split() ! if len(key_op)==1: ! key, op=key_op[0], operatorFromString('asc') ! elif len(key_op)==2: ! key, op=key_op[0], operatorFromString(key_op[1]) else: raise ValueError, "Unrecognized pattern '%s' in '%s'"%(part, str) ! sorts.append(SortOrdering(key,op)) return sorts # class SortOrdering: + """ + The canonical sorting command has a key and an operator. The key is the name + of the attribute to use for sorting objects, the operator is the sorting + order (e.g. ascending, descending). Note: the key is in fact more general + than simply the name of an, attribute, since objects' values are accessed + through L{KeyValueCoding} --see L{sortedArrayUsingKeyOrderArray}. + """ + __implements__ = (SortOrderingInterface,) def __init__(self, key, operator): self._key=key + if type(operator) is type(''): + operator=operatorFromString(operator) self._operator=operator Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/__init__.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** __init__.py 6 Feb 2004 13:09:52 -0000 1.4 --- __init__.py 9 Feb 2004 21:06:05 -0000 1.5 *************** *** 21,26 **** # #----------------------------------------------------------------------------- ! """Empty file to make this directory a Python package.""" __version__="0.9-pre-16" --- 21,38 ---- # #----------------------------------------------------------------------------- + """The Modeling Framework is an Object-Relational Bridge for python ! The Modeling Framework fills the gap between the Python object world and ! relational databases in that it allows users to transparently create, ! retrieve, update, or delete Python objects from a database without having to ! write a single line of SQL. Its main features include generation of database ! schema, generation of Python code templates ready to be used, support for ! transparent mapping of (class) inheritance in relational databases, ! object-oriented query language, use of standard Python getters to traverse ! relationships (the related objects are automatically fetched when needed and ! when appropriate), and automatic checking for referential-integrity ! constraints, etc. Supported databases are MySQL, Oracle, PostgreSQL, and ! SQLite. ! """ __version__="0.9-pre-16" |
From: <sbi...@us...> - 2004-02-09 21:09:22
|
Update of /cvsroot/modeling/ProjectModeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13019 Modified Files: CHANGES Log Message: Fixed SortOrdering.sortOrderingsWithString(). Updated documentation Index: CHANGES =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/CHANGES,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** CHANGES 6 Feb 2004 13:09:51 -0000 1.36 --- CHANGES 9 Feb 2004 21:06:05 -0000 1.37 *************** *** 8,11 **** --- 8,13 ---- -------------------------------------------------------- + * Fixed SortOrdering.sortOrderingsWithString() + * Added missing Modeling.__version__, thanks to John Lenton for noticing. |
From: <sbi...@us...> - 2004-02-06 13:12:34
|
Update of /cvsroot/modeling/ProjectModeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26360 Modified Files: CHANGES Log Message: Added Modeling.__version__ Index: CHANGES =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/CHANGES,v retrieving revision 1.35 retrieving revision 1.36 diff -C2 -d -r1.35 -r1.36 *** CHANGES 28 Jan 2004 14:54:09 -0000 1.35 --- CHANGES 6 Feb 2004 13:09:51 -0000 1.36 *************** *** 8,11 **** --- 8,13 ---- -------------------------------------------------------- + * Added missing Modeling.__version__, thanks to John Lenton for noticing. + * Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which |
From: <sbi...@us...> - 2004-02-06 13:12:34
|
Update of /cvsroot/modeling/ProjectModeling/Modeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26360/Modeling Modified Files: __init__.py Log Message: Added Modeling.__version__ Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/__init__.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** __init__.py 28 Jan 2004 14:54:09 -0000 1.3 --- __init__.py 6 Feb 2004 13:09:52 -0000 1.4 *************** *** 24,27 **** --- 24,29 ---- """Empty file to make this directory a Python package.""" + __version__="0.9-pre-16" + import DatabaseContext # make it register itself for notifications from utils import migration_warnings |
From: <sbi...@us...> - 2004-02-02 21:42:41
|
Update of /cvsroot/modeling/NotificationFramework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10343 Modified Files: setup.py vertoo.data Log Message: Release 0.6.1 Index: setup.py =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/setup.py,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** setup.py 1 Feb 2004 12:58:56 -0000 1.11 --- setup.py 2 Feb 2004 21:40:34 -0000 1.12 *************** *** 32,36 **** """ from distutils.core import setup ! import glob, os # Instruction for PyPi found at: --- 32,36 ---- """ from distutils.core import setup ! import glob, os, sys # Instruction for PyPi found at: *************** *** 60,64 **** setup(name="NotificationFramework", ! version="0.6", license ="GNU General Public License", description=short_description, --- 60,64 ---- setup(name="NotificationFramework", ! version="0.6.1", license ="GNU General Public License", description=short_description, Index: vertoo.data =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/vertoo.data,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** vertoo.data 1 Feb 2004 12:38:38 -0000 1.3 --- vertoo.data 2 Feb 2004 21:40:34 -0000 1.4 *************** *** 1 **** ! notification-framework = major:0; minor:6; release:x; --- 1 ---- ! notification-framework = major:0; minor:6; release:1; \ No newline at end of file |
From: <sbi...@us...> - 2004-02-02 21:38:27
|
Update of /cvsroot/modeling/NotificationFramework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6241 Modified Files: CHANGES mems_lib.py Log Message: Fixed bug #885596 reported by Thorsten Kohnhorst, thanks! Index: CHANGES =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/CHANGES,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CHANGES 27 Sep 2003 23:58:12 -0000 1.7 --- CHANGES 2 Feb 2004 21:36:14 -0000 1.8 *************** *** 1,2 **** --- 1,11 ---- + 0.6.1 [2004/02/01] + + - Fixed bug #885596 reported by Thorsten Kohnhorst: import __builtin__ + missing. The initial bug report showed that the bug was triggered in + mems_lib.isinstance(). However, the workarounds proposed in the module + mems_lib are for python2.1 only, since the builtins isinstance() and + issubclass() behave as expected in python2.2 and up. The module has + been changed so that it returns the builtins for py2.2 and up. + 0.6 [2003/09/28] Index: mems_lib.py =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/mems_lib.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** mems_lib.py 26 May 2003 12:24:52 -0000 1.2 --- mems_lib.py 2 Feb 2004 21:36:14 -0000 1.3 *************** *** 1,59 **** """ ! The code in this module is borrowed from the ZODB Programmer's Guide ! """ ! from types import ClassType,TypeType ! ! # The built-in 'isinstance()' and 'issubclass()' won't work on ! # ExtensionClasses, so you have to use the versions supplied here. ! # (But those versions work fine on regular instances and classes too, ! # so you should *always* use them.) ! ! def issubclass (class1, class2): ! """A version of 'issubclass' that works with extension classes ! as well as regular Python classes. ! """ ! # Both class objects are regular Python classes, so use the ! # built-in 'issubclass()'. ! if type(class1) is ClassType and type(class2) is ClassType: ! return __builtin__.issubclass(class1, class2) ! # Both so-called class objects have a '__bases__' attribute: ie., ! # they aren't regular Python classes, but they sure look like them. ! # Assume they are extension classes and reimplement what the builtin ! # 'issubclass()' does behind the scenes. ! elif hasattr(class1, '__bases__') and hasattr(class2, '__bases__'): ! # XXX it appears that "ec.__class__ is type(ec)" for an ! # extension class 'ec': could we/should we use this as an ! # additional check for extension classes? ! # Breadth-first traversal of class1's superclass tree. Order ! # doesn't matter because we're just looking for a "yes/no" ! # answer from the tree; if we were trying to resolve a name, ! # order would be important! ! stack = [class1] ! while stack: ! if stack[0] is class2: ! return 1 ! stack.extend(list(stack[0].__bases__)) ! del stack[0] ! else: ! return 0 ! # Not a regular class, not an extension class: blow up for consistency ! # with builtin 'issubclass()" ! else: ! raise TypeError, "arguments must be class or ExtensionClass objects" ! # issubclass () - def isinstance (object, klass): - """A version of 'isinstance' that works with extension classes - as well as regular Python classes.""" ! if type(klass) is TypeType: ! return __builtin__.isinstance(object, klass) ! elif hasattr(object, '__class__'): ! return issubclass(object.__class__, klass) ! else: ! return 0 --- 1,114 ---- """ ! The code in this module is borrowed from the ZODB Programmer's Guide. ! It redefines the python2.1's builtin functions issubclass() and isinstance() ! so that they work properly with extension classes. ! Versions 2.2 and up of python do not have the problem so the module's ! functions issubclass() and isinstance() are the default ones, unchanged. ! Note: this is not indicated in the ZODB Programming Guide anymore, probably ! because it's of no use for python2.2 and up. Last time I checked I was able to ! find the page I'm referring to at: ! http://cvs.zope.org/StandaloneZODB/Doc/guide/zodb/node18.html?rev=1.2 ! but this URL might be unavailable at the time you're reading this. ! So in case it is not available, here is a copy of the comments A.M. Kuchling ! wrote around the code (speaking of **python 2.1**): ! Python's built-in functions isinstance() and issubclass don't work on ! ExtensionClass instances, for much the same reason that __cmp__ is never ! called; in some bits of the Python core code, branches are taken only if an ! object is of the InstanceType type, and this can never be true for an ! ExtensionClass instance. Python 2.1 tried to fix this, and changed these ! functions slightly in an effort to make them work for ExtensionClasses; ! unfortunately, the changes didn't work. ! ! The solution is to use customized versions of these functions that handle ! ExtensionClasses specially and fall back to the built-in version ! otherwise. Here are the versions we've written at the MEMS Exchange: ! [code here for issubclass() and isinstance(), see below] ! ! I'd recommend putting these functions in a module that always gets ! imported. The convention on my work project is to put them in ! mems/lib/base.py, which contains various fundamental classes and functions ! for our system, and access them like this: ! ! from mems.lib import base ! ... ! if base.isinstance(object, Class): ... ! ! Don't insert the modified functions into Python's __builtin__ module, or ! import just the isinstance() and issubclass functions. If you consistently ! use base.isinstance(), then forgetting to import the base module will ! result in a NameError exception. In the case of a forgotten import, ! calling the functions directly would use Python's built-in versions, ! leading to subtle bugs that might not be noticed for some time. ! The quoted text above, and most of the code included in this module, is ! extracted from the ZODB Programmer's Guide release 0.03, February 8, 2002 by ! A.M. Kuchling, (c) 2002 and distributed under the GNU Free Documentation ! License, Version 1.1 or any later. ! """ ! import sys ! if sys.version_info[:2]>=(2,2): ! issubclass=issubclass ! isinstance=isinstance ! else: ! from types import ClassType,TypeType ! import __builtin__ ! ! # The built-in 'isinstance()' and 'issubclass()' won't work on ! # ExtensionClasses, so you have to use the versions supplied here. ! # (But those versions work fine on regular instances and classes too, ! # so you should *always* use them.) ! ! def issubclass (class1, class2): ! """A version of 'issubclass' that works with extension classes ! as well as regular Python classes. ! """ ! ! # Both class objects are regular Python classes, so use the ! # built-in 'issubclass()'. ! if type(class1) is ClassType and type(class2) is ClassType: ! return __builtin__.issubclass(class1, class2) ! ! # Both so-called class objects have a '__bases__' attribute: ie., ! # they aren't regular Python classes, but they sure look like them. ! # Assume they are extension classes and reimplement what the builtin ! # 'issubclass()' does behind the scenes. ! elif hasattr(class1, '__bases__') and hasattr(class2, '__bases__'): ! # XXX it appears that "ec.__class__ is type(ec)" for an ! # extension class 'ec': could we/should we use this as an ! # additional check for extension classes? ! ! # Breadth-first traversal of class1's superclass tree. Order ! # doesn't matter because we're just looking for a "yes/no" ! # answer from the tree; if we were trying to resolve a name, ! # order would be important! ! stack = [class1] ! while stack: ! if stack[0] is class2: ! return 1 ! stack.extend(list(stack[0].__bases__)) ! del stack[0] ! else: ! return 0 ! ! # Not a regular class, not an extension class: blow up for consistency ! # with builtin 'issubclass()" ! else: ! raise TypeError, "arguments must be class or ExtensionClass objects" ! ! # issubclass () ! ! def isinstance (object, klass): ! """A version of 'isinstance' that works with extension classes ! as well as regular Python classes.""" ! if type(klass) is TypeType: ! return __builtin__.isinstance(object, klass) ! elif hasattr(object, '__class__'): ! return issubclass(object.__class__, klass) ! else: ! return 0 |
From: <sbi...@pr...> - 2004-02-01 13:00:48
|
Update of /cvsroot/modeling/NotificationFramework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12735 Modified Files: setup.py Log Message: Updated w/ classifiers (for PyPi) Index: setup.py =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/setup.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** setup.py 28 Sep 2003 00:12:09 -0000 1.10 --- setup.py 1 Feb 2004 12:58:56 -0000 1.11 *************** *** 4,8 **** # # Notification Framework: "Observer" Design Pattern for python ! # (c) 2001, 2002, 2003 Sebastien Bigaret # # This file is part of the Notification Framework. --- 4,8 ---- # # Notification Framework: "Observer" Design Pattern for python ! # (c) 2001, 2002, 2003 Sébastien Bigaret # # This file is part of the Notification Framework. *************** *** 23,33 **** # #----------------------------------------------------------------------------- ! from distutils.core import setup import glob, os ! short_description="Notification framework" ! long_description="Notification framework" setup(name="NotificationFramework", --- 23,61 ---- # #----------------------------------------------------------------------------- + """Notification Framework: Observer Design Pattern ! The Notification Framework allows one-to-many dependency between objects, ! where an object (the subject) can tell to an unknown number of objects (the ! observers) that an event occurred (typically, that the object has changed), ! without having any idea of who the observers are and where they live ! (abstract, minimal coupling). ! """ from distutils.core import setup import glob, os ! # Instruction for PyPi found at: ! # http://www.python.org/~jeremy/weblog/030924.html ! classifiers = """\ ! Development Status :: 5 - Production/Stable ! Intended Audience :: Developers ! License :: OSI Approved :: GNU General Public License (GPL) ! Operating System :: OS Independent ! Programming Language :: Python ! Natural Language :: English ! Natural Language :: French ! Topic :: Software Development :: Libraries ! Topic :: Software Development :: Libraries :: Application Frameworks ! Topic :: Software Development :: Libraries :: Python Modules ! """ ! if sys.version_info < (2, 3): ! _setup = setup ! def setup(**kwargs): ! if kwargs.has_key("classifiers"): ! del kwargs["classifiers"] ! _setup(**kwargs) ! ! doclines = __doc__.split("\n") ! short_description = doclines[0] ! long_description = "\n".join(doclines[2:]) setup(name="NotificationFramework", *************** *** 35,43 **** license ="GNU General Public License", description=short_description, ! author="Sébastien Bigaret", author_email="sbi...@us...", ! maintainer="Seb...@in...", maintainer_email="sbi...@us...", ! url="http://modeling.sourceforge.net/", package_dir={'NotificationFramework':'.'}, packages=['NotificationFramework'], --- 63,71 ---- license ="GNU General Public License", description=short_description, ! author="Sebastien Bigaret", author_email="sbi...@us...", ! maintainer="Sebastien Bigaret", maintainer_email="sbi...@us...", ! url="http://modeling.sourceforge.net/API/Notification-API/index.html", package_dir={'NotificationFramework':'.'}, packages=['NotificationFramework'], |
From: <sbi...@pr...> - 2004-02-01 12:40:30
|
Update of /cvsroot/modeling/NotificationFramework In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27914 Modified Files: vertoo.data vertoo.config Log Message: Update vertoo.* files, added "release" in version parts Index: vertoo.data =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/vertoo.data,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** vertoo.data 28 Sep 2003 00:01:14 -0000 1.2 --- vertoo.data 1 Feb 2004 12:38:38 -0000 1.3 *************** *** 1 **** ! notification-framework = major:0; minor:6; \ No newline at end of file --- 1 ---- ! notification-framework = major:0; minor:6; release:x; Index: vertoo.config =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/vertoo.config,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** vertoo.config 27 Sep 2003 23:37:22 -0000 1.1 --- vertoo.config 1 Feb 2004 12:38:38 -0000 1.2 *************** *** 1,4 **** ! addScheme('normal', '%major.%minor') ! addScheme('cvs', '%major_%minor') nf=addModule('notification-framework') --- 1,6 ---- ! addScheme('normal', '%major.%minor%[release?.%release:]') ! # addScheme('cvs', '%major_%minor%[release?_%release:]') ! ! setTrait('default', 'novalue', 'x') nf=addModule('notification-framework') *************** *** 6,13 **** arguments(pattern="version=%Q", format='@normal')) ! # # %@. expands to module name ! # scmTool = ScmToolInfo( ! # tool="cvs", ! # commitmsg="release @normal", ! # tagfmt="release-@cvs", ! # ) --- 8,12 ---- arguments(pattern="version=%Q", format='@normal')) ! setSCMInfo(tool="cvs", ! commitmsg="Release @normal", ! tagfmt="release-@normal") |
From: <sbi...@pr...> - 2004-01-28 14:55:23
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6412/Modeling/tests Modified Files: test_AdaptorLayer.py Log Message: Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which has the inverse semantics --see the User's Guide, appendix Environment Variables, for details. Index: test_AdaptorLayer.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/test_AdaptorLayer.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** test_AdaptorLayer.py 30 Jul 2003 17:17:36 -0000 1.3 --- test_AdaptorLayer.py 28 Jan 2004 14:54:09 -0000 1.4 *************** *** 60,65 **** import os ! if os.environ.get('MDL_PERMANENT_DB_CONNECTION'): ! del os.environ['MDL_PERMANENT_DB_CONNECTION'] class Tests_AdaptorLayer_Global(unittest.TestCase): --- 60,65 ---- import os ! if not os.environ.get('MDL_TRANSIENT_DB_CONNECTION'): ! os.environ['MDL_TRANSIENT_DB_CONNECTION']='True' class Tests_AdaptorLayer_Global(unittest.TestCase): |
From: <sbi...@pr...> - 2004-01-28 14:55:23
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6412/Modeling/doc/UserGuide Modified Files: EnvironmentVariables.tex Log Message: Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which has the inverse semantics --see the User's Guide, appendix Environment Variables, for details. Index: EnvironmentVariables.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide/EnvironmentVariables.tex,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** EnvironmentVariables.tex 21 Jan 2004 14:16:47 -0000 1.12 --- EnvironmentVariables.tex 28 Jan 2004 14:54:09 -0000 1.13 *************** *** 5,8 **** --- 5,14 ---- \section{Core\label{env-vars-core}} + \begin{notice}[warning] + Environment variable \code{MDL_PERMANENT_DB_CONNECTION} has been deprecated + and has no effect anymore. It has been replaced by + \code{MDL_TRANSIENT_DB_CONNECTION} which has the opposite semantics. + \end{notice} + \begin{longtableiii}{p{1cm}p{11cm}|p{3cm}}{code}{Name}{Description}{Possible values} \lineiii{MDL_DB_CONNECTIONS_CFG}{}{} *************** *** 84,88 **** \hline ! \lineiii{MDL_PERMANENT_DB_CONNECTION}{}{} \lineiii{}{By default, the database connection is closed each time the last opened AdaptorChannel is closed ; for example, after --- 90,94 ---- \hline ! \lineiii{MDL_TRANSIENT_DB_CONNECTION}{}{} \lineiii{}{By default, the database connection is closed each time the last opened AdaptorChannel is closed ; for example, after |
From: <sbi...@pr...> - 2004-01-28 14:55:23
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6412/Modeling/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer Modified Files: AbstractDBAPI2AdaptorContext.py Log Message: Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which has the inverse semantics --see the User's Guide, appendix Environment Variables, for details. Index: AbstractDBAPI2AdaptorContext.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/DatabaseAdaptors/AbstractDBAPI2AdaptorLayer/AbstractDBAPI2AdaptorContext.py,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AbstractDBAPI2AdaptorContext.py 7 Mar 2003 18:02:12 -0000 1.5 --- AbstractDBAPI2AdaptorContext.py 28 Jan 2004 14:54:09 -0000 1.6 *************** *** 76,83 **** AdaptorChannel. ! Default behaviour closes the connection to the database if the ! AdaptorContext has no opened channels ; setting the environment variable ! 'MDL_PERMANENT_DB_CONNECTION' to any true value prevents the database ! connection to be closed in such a situation. You do not need to override this method when designing a concrete --- 76,83 ---- AdaptorChannel. ! Default behaviour leaves the connection to the database open, even when ! the AdaptorContext has no opened channels ; setting the environment ! variable 'MDL_TRANSIENT_DB_CONNECTION' to any true value closes the ! database connection the AdaptorContext has no opened channels anymore. You do not need to override this method when designing a concrete *************** *** 96,100 **** db_debug('Channels are now all closed') ! if self._cnx and not os.environ.get('MDL_PERMANENT_DB_CONNECTION'): db_info('Closing the connection to the database') self._cnx.close() --- 96,100 ---- db_debug('Channels are now all closed') ! if self._cnx and os.environ.get('MDL_TRANSIENT_DB_CONNECTION'): db_info('Closing the connection to the database') self._cnx.close() |
From: <sbi...@pr...> - 2004-01-28 14:55:23
|
Update of /cvsroot/modeling/ProjectModeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6412 Modified Files: CHANGES MIGRATION Log Message: Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which has the inverse semantics --see the User's Guide, appendix Environment Variables, for details. Index: CHANGES =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/CHANGES,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** CHANGES 20 Jan 2004 22:11:48 -0000 1.34 --- CHANGES 28 Jan 2004 14:54:09 -0000 1.35 *************** *** 8,11 **** --- 8,16 ---- -------------------------------------------------------- + * Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no + effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which + has the inverse semantics --see the User's Guide, appendix Environment + Variables, for details. + * Fixed bug #880862 using a patch submitted by John Georgiadis (thanks!): XML exported under py2.3 cannot be imported back because of boolean values Index: MIGRATION =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/MIGRATION,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MIGRATION 4 Oct 2003 12:53:43 -0000 1.2 --- MIGRATION 28 Jan 2004 14:54:09 -0000 1.3 *************** *** 4,7 **** --- 4,16 ---- newer version. + Upgrading to 0.9pre17 + --------------------- + + * Environment variable MDL_PERMANENT_DB_CONNECTION has no effect anymore; it + has been replace by the MDL_TRANSIENT_DB_CONNECTION which has the inverse + semantics. As a consequence, the default behaviour is now to leave database + connection(s) opened, unless MDL_TRANSIENT_DB_CONNECTION is set to any true + value. + Upgrading to 0.9pre16 --------------------- |
From: <sbi...@pr...> - 2004-01-28 14:55:21
|
Update of /cvsroot/modeling/ProjectModeling/Modeling In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6412/Modeling Modified Files: __init__.py utils.py Log Message: Env. variable MDL_PERMANENT_DB_CONNECTION is now deprecated and has no effect anymore. It has been replaced by MDL_TRANSIENT_DB_CONNECTION which has the inverse semantics --see the User's Guide, appendix Environment Variables, for details. Index: __init__.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/__init__.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** __init__.py 10 Jan 2003 10:45:44 -0000 1.2 --- __init__.py 28 Jan 2004 14:54:09 -0000 1.3 *************** *** 25,45 **** import DatabaseContext # make it register itself for notifications ! ! # from AccessControl import ModuleSecurityInfo ! ! ! ! ! # ModuleSecurityInfo('Modeling').declarePublic('utils') ! ! # m = ModuleSecurityInfo('Modeling.utils') ! # m.declarePublic('lower') ! ! ! ! ! ! ! ! --- 25,29 ---- import DatabaseContext # make it register itself for notifications ! from utils import migration_warnings ! migration_warnings() Index: utils.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/utils.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** utils.py 4 Oct 2003 12:29:43 -0000 1.16 --- utils.py 28 Jan 2004 14:54:09 -0000 1.17 *************** *** 231,232 **** --- 231,244 ---- methods=[m for m in methods if m.__name__ not in exclude] return methods + + def migration_warnings(): + """ + This method is responsible for warning the user when we detect that he/she + is relying on a feature (e.g. an environment variable) that has been + deprecated/removed and as no effect anymore (or will have no effect anymore + in a near future). + """ + import os,warnings + if os.environ.has_key('MDL_PERMANENT_DB_CONNECTION'): + msg="Environment variable MDL_PERMANENT_DB_CONNECTION is deprecated since 0.9pre17 and it has no effect anymore. The framework's default behaviour is now to leave the database connection opened. This variable has been replaced by the variable MDL_TRANSIENT_DB_CONNECTION which has the inverse semantics. Please refer to the User's Guide, appendix Environment Variables, for further details" + warnings.warn(msg, DeprecationWarning) |
From: <sbi...@us...> - 2004-01-21 14:16:50
|
Update of /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide In directory sc8-pr-cvs1:/tmp/cvs-serv18723/doc/UserGuide Modified Files: EnvironmentVariables.tex Log Message: Updated w/ info for MySQL Index: EnvironmentVariables.tex =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/doc/UserGuide/EnvironmentVariables.tex,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** EnvironmentVariables.tex 30 Jul 2003 18:11:09 -0000 1.11 --- EnvironmentVariables.tex 21 Jan 2004 14:16:47 -0000 1.12 *************** *** 132,135 **** {\code{'7.2'} (default), \code{'7.3'}} \hline ! \end{longtableiii}\label{tab:env-vars-core} --- 132,153 ---- {\code{'7.2'} (default), \code{'7.3'}} \hline ! \end{longtableiii}\label{tab:env-vars-postgresql} ! ! \newpage ! \section{Mysql specific\label{env-vars-mysql}} + \begin{longtableiii}{p{1cm}p{11cm}|p{3cm}}{code}{Name}{Description}{Possible values} + \lineiii{MDL_MYSQL_SERVER_VERSION}{}{} + \lineiii{} + {The framework uses MySQL version number to determine whether SQL92 + \code{JOIN} statements can be used; if not, the corresponding clause is added + to the \code{WHERE} clause. This is because MySQL servers up to 4.0 do not + handle \code{JOIN} statements in a standard way, making it impossible to + generate a valid SQL query when more than 2 joins are involved. + ~ + If the environment variable is left unset, it defaults to the value returned + by \code{MySQLdb.get_client_info()}.} + {\code{'3.23'}, \code{'4.0'}, \code{4.0.11a-gamma} (see at end of + description for the default value)} + \hline + \end{longtableiii}\label{tab:env-vars-mysql} |
From: <sbi...@us...> - 2004-01-20 22:11:53
|
Update of /cvsroot/modeling/ProjectModeling/Modeling In directory sc8-pr-cvs1:/tmp/cvs-serv15751/Modeling Modified Files: Attribute.py Relationship.py Entity.py Log Message: Fixed bug #880862 using a patch submitted by John Georgiadis (thanks!): XML exported under py2.3 cannot be imported back because of boolean values 'True' and 'False' not properly handled. Index: Attribute.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Attribute.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Attribute.py 30 Aug 2003 17:22:56 -0000 1.18 --- Attribute.py 20 Jan 2004 22:11:48 -0000 1.19 *************** *** 573,576 **** --- 573,578 ---- set=self.xmlSetAttribute(attributeName) if attrType=='string': value=unicodeToStr(value, encoding) + elif attrType=='number': value=int(value) + elif attrType=='bool': value=int(value) set(value) *************** *** 597,601 **** --- 599,605 ---- exportAttrDict=self.xmlAttributesDict(select=1) for attr in exportAttrDict.keys(): + attrType=self.xmlAttributeType(attr) value=self.xmlGetAttribute(attr)() + if attrType=='bool': value=int(value) value=strToUnicode(str(value), encoding) node.setAttribute(attr, value) *************** *** 635,642 **** self.setExternalType, self.externalType), ! 'isClassProperty' : ('string', self.setIsClassProperty, self.isClassProperty), ! 'isRequired' : ('string', self.setIsRequired, self.isRequired), --- 639,646 ---- self.setExternalType, self.externalType), ! 'isClassProperty' : ('bool', self.setIsClassProperty, self.isClassProperty), ! 'isRequired' : ('bool', self.setIsRequired, self.isRequired), *************** *** 660,664 **** check=0), self.type), ! 'isFlattened' : ('string', self.setIsFlattened, self.isFlattened), --- 664,668 ---- check=0), self.type), ! 'isFlattened' : ('bool', self.setIsFlattened, self.isFlattened), Index: Relationship.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Relationship.py,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Relationship.py 20 Jan 2004 15:55:13 -0000 1.16 --- Relationship.py 20 Jan 2004 22:11:48 -0000 1.17 *************** *** 257,260 **** --- 257,261 ---- if attrType=='string': value=unicodeToStr(value, encoding) if attrType=='number': value=int(value) + elif attrType=='bool': value=int(value) set(value) *************** *** 283,287 **** --- 284,290 ---- exportAttrDict=self.xmlAttributesDict() for attr in exportAttrDict.keys(): + attrType=self.xmlAttributeType(attr) value=self.xmlGetAttribute(attr)() + if attrType=='bool': value=int(value) value=strToUnicode(str(value), encoding) node.setAttribute(attr, value) *************** *** 308,312 **** self.setDisplayLabel, self.displayLabel), ! 'isClassProperty' : ('number', self.setIsClassProperty, self.isClassProperty), --- 311,315 ---- self.setDisplayLabel, self.displayLabel), ! 'isClassProperty' : ('bool', self.setIsClassProperty, self.isClassProperty), Index: Entity.py =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/Modeling/Entity.py,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Entity.py 4 Oct 2003 12:29:43 -0000 1.18 --- Entity.py 20 Jan 2004 22:11:48 -0000 1.19 *************** *** 1279,1282 **** --- 1279,1284 ---- set=self.xmlSetAttribute(attributeName) if attrType=='string': value=unicodeToStr(value, encoding) + elif attrType=='number': value=int(value) + elif attrType=='bool': value=int(value) set(value) *************** *** 1360,1364 **** --- 1362,1368 ---- exportAttrDict=self.xmlAttributesDict() for attr in exportAttrDict.keys(): + attrType=self.xmlAttributeType(attr) value=self.xmlGetAttribute(attr)() + if attrType=='bool': value=int(value) value=strToUnicode(str(value), encoding) node.setAttribute(attr, value) *************** *** 1406,1413 **** self.setExternalName, self.externalName ), ! 'isReadOnly': ( 'string', self.setReadOnly, self.isReadOnly ), ! 'isAbstract': ( 'string', self.setIsAbstract, self.isAbstract ), --- 1410,1417 ---- self.setExternalName, self.externalName ), ! 'isReadOnly': ( 'bool', self.setReadOnly, self.isReadOnly ), ! 'isAbstract': ( 'bool', self.setIsAbstract, self.isAbstract ), |
From: <sbi...@us...> - 2004-01-20 22:11:51
|
Update of /cvsroot/modeling/ProjectModeling In directory sc8-pr-cvs1:/tmp/cvs-serv15751 Modified Files: CHANGES Log Message: Fixed bug #880862 using a patch submitted by John Georgiadis (thanks!): XML exported under py2.3 cannot be imported back because of boolean values 'True' and 'False' not properly handled. Index: CHANGES =================================================================== RCS file: /cvsroot/modeling/ProjectModeling/CHANGES,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** CHANGES 20 Jan 2004 19:43:32 -0000 1.33 --- CHANGES 20 Jan 2004 22:11:48 -0000 1.34 *************** *** 8,11 **** --- 8,15 ---- -------------------------------------------------------- + * Fixed bug #880862 using a patch submitted by John Georgiadis (thanks!): + XML exported under py2.3 cannot be imported back because of boolean values + 'True' and 'False' not properly handled. + * MySQL: the model's connection dictionary may now give a specific port to connect to. *************** *** 31,37 **** * Fixed bug #854630: an empty qualifier string made ec.fetch() fail 0.9-pre-16 (2003/11/16) ----------------------- - * Fixed bug #839231: python code generated in -B/--base mode made it impossible to import a class having sub-classes at first (it was raising --- 35,43 ---- * Fixed bug #854630: an empty qualifier string made ec.fetch() fail + * Fixed bug #813297: mdl_generate_db_schema fails for SQLite and -A (fixed + in 0.9pre16 but it was not announced) + 0.9-pre-16 (2003/11/16) ----------------------- * Fixed bug #839231: python code generated in -B/--base mode made it impossible to import a class having sub-classes at first (it was raising |