Quick Search:

jump to detailed chart Line History

line history graph

View Mode

Logical Physical

Show Arbitrary Diff

From to

Supports revisions and tags.

Watches and RSS

History

trunk 81 36 1.0 224 82

latest revision download trunk

81 annotated / raw | Diffs: previous, other | Lines: 437 ( +40, -2 )

Created: 2007-10-30 01:07:36 -0500 (10 months ago) | Author: opengeek | Changeset: 81

* Added support for phpdoc-package and phpdoc-subpackage attributes to the model element.
        - Automatically adds @package and @subpackage tags in front of values in class/map templates.

Branch point for: 1.0

77 annotated / raw | Diffs: previous, other | Lines: 399 ( +4, -2 )

Created: 2007-10-25 12:03:40 -0500 (10 months ago) | Author: opengeek | Changeset: 77

* Modified @package statements for documentation purposes.

76 annotated / raw | Diffs: previous, other | Lines: 397 ( +18, -17 )

Created: 2007-10-23 10:25:52 -0500 (10 months ago) | Author: opengeek | Changeset: 76

* Correct xPDO::connect() when not using native PDO in PHP 5+ to avoid trying to catch an exception, since the emulated PDO_ classes do not throw exceptions.
* When using native PDO, make sure to catch PDOException explicitly, and not Exception.
* Unset instance variables in xPDOGenerator after execution of parseSchema() to allow execution on multiple schemas.
* Fix error in xPDOObject::loadCollection() when using relative or fully-qualified classnames, e.g. when using classes in subpackages.
* Be sure the value is a string before attempting to unserialize it when phptype = array in xPDOObject::get().
* Updates and corrections to a few logging statements.

71 annotated / raw | Diffs: previous, other | Lines: 396 ( +3, -19 )

Created: 2007-09-24 14:32:33 -0500 (11 months ago) | Author: opengeek | Changeset: 71

* Modified xPDOCriteria constructor to delay the prepare() unless cacheFlag is false (or less than 0), allowing cached xPDOCriteria statements to avoid requiring a database connection.
* Lots more documentation updates, changed license headers, etc.

68 annotated / raw | Diffs: previous, other | Lines: 412 ( +39, -11 )

Created: 2007-09-18 14:27:07 -0500 (11 months ago) | Author: opengeek | Changeset: 68

* Modifications to xPDOGenerator to allow user assigned templates for the generated classes, as well as custom headers and footers for the generated maps.

60 annotated / raw | Diffs: previous, other | Lines: 384 ( +3, -5 )

Created: 2007-08-17 12:07:06 -0500 (12 months ago) | Author: opengeek | Changeset: 60

* Corrected xPDOManager::createObjectContainer() to properly create defaults in the database; had to add default values to the meta maps, so full regeneration of maps is required for all classes with this changeset.

50 annotated / raw | Diffs: previous, other | Lines: 386 ( +4, -4 )

Created: 2007-06-06 17:39:57 -0500 (15 months ago) | Author: opengeek | Changeset: 50

- Added xPDOCacheManager::copyTree() method for recursive copy capabilities
- Changed default permissions in xPDOGenerator to 0777
- Updates to xPDOTransport and xPDOVehicle
        - added php resolver type (for executing php scripts during import/install)
        - changed file resolver to use xPDOCacheManager::copyTree() rather than embedding zip files within the package (makes manual installation process seamless from same package)

49 annotated / raw | Diffs: previous, other | Lines: 386 ( +1, -1 )

Created: 2007-06-04 17:43:30 -0500 (15 months ago) | Author: opengeek | Changeset: 49

- Refactored several methods depending on $criteria->stmt being an object using $criteria->prepare() method.
- Refactored several instances of XPDO_LOG_LEVEL_FATAL to XPDO_LOG_LEVEL_ERROR

45 annotated / raw | Diffs: previous, other | Lines: 386 ( +4, -1 )

Created: 2007-05-08 09:58:20 -0500 (16 months ago) | Author: opengeek | Changeset: 45

- Some PHP 4 bug fixes and refactoring to better handle aggregate and composite relations

43 annotated / raw | Diffs: previous, other | Lines: 383 ( +0, -2 )

Created: 2007-05-01 10:04:18 -0500 (16 months ago) | Author: opengeek | Changeset: 43

* oops, removed debug statement in generator

42 annotated / raw | Diffs: previous, other | Lines: 385 ( +12, -8 )

Created: 2007-05-01 09:59:43 -0500 (16 months ago) | Author: opengeek | Changeset: 42

* Fixed error with order of aggregate/composite attributes in schema; if alias was not first attribute, maps were generated incorrectly.

40 annotated / raw | Diffs: previous, other | Lines: 381 ( +1, -0 )

Created: 2007-04-23 02:24:00 -0500 (16 months ago) | Author: opengeek | Changeset: 40

- xPDOObject->getOne was assigning to _relatedObjects as reference and causing problems
- Corrected a few warnings in xPDOQuery
- Corrected an incorrect path in xPDOGenerator
- MakeForm needs additional refactoring and probably needs to be moved to the modx project at some point

37 annotated / raw | Diffs: previous, other | Lines: 380 ( +2, -0 )

Created: 2007-03-27 10:10:30 -0500 (17 months ago) | Author: opengeek | Changeset: 37

- Corrections to xPDOGenerator for 1.0 beta changes
- Documentation updates

36 new annotated / raw | Lines: 378 ( +378, -0 )

Created: 2007-03-26 12:35:43 -0500 (17 months ago) | Author: opengeek | Changeset: 36

- Initial commit of 1.0 beta (potentially unstable)
- New aggregate and composite schema/map definitions
 - simpler definitions are faster and easier to process
 - refer to distinct relationships to another class by an alias rather than class name + key
 - new owner attribute to indicate if the local or foreign object owns the foreign key value used to define the relationship
 - to migrate:
   - modify schema:
     - add an alias attribute for each aggregate/composite relation (key attribute can be removed)
     - add an owner attribute for each aggregate/composite relation (value will be local or foreign)
   - Public API changes requiring code modifications (migration guide will be released with additional details):
     - xPDO class:
       - getObjectGraph()
       - getCollectionGraph()
       - getFKDefinition()
     - xPDOObject class and derivatives (i.e. all generated classes):
       - getOne()
       - getMany()
       - addOne()
       - addMany()
       - getFKDefinition()
     - xPDOQuery class
       - join()
       - innerJoin()
       - leftJoin()
       - rightJoin()
       - from()
       - bindGraph()
- New physical class/map structure to better support for platform-specific optimizations
 - packages now require both a class file in the package root, as well as classes for each driver implementation in the appropriate subdirectory
 - to migrate, move your existing classes to the package root, and regenerate from the schema to create the new driver specific class stubs

latest revision download Branch 1.0

224 annotated / raw | Diffs: previous, other | Lines: 495 ( +14, -14 )

Created: 2008-08-28 11:25:05 -0500 (10 days ago) | Author: opengeek | Changeset: 224

* Changed calls from _log() to log().

206 annotated / raw | Diffs: previous, other | Lines: 495 ( +19, -3 )

Created: 2008-07-21 17:15:33 -0500 (48 days ago) | Author: opengeek | Changeset: 206

* Removing adodb-time extension.
* Licensing header updates.

202 annotated / raw | Diffs: previous, other | Lines: 479 ( +2, -2 )

Created: 2008-04-25 13:12:55 -0500 (4 months 13 days ago) | Author: opengeek | Changeset: 202

* Copyright updates

181 annotated / raw | Diffs: previous, other | Lines: 479 ( +31, -0 )

Created: 2008-03-31 15:32:27 -0500 (5 months 7 days ago) | Author: opengeek | Changeset: 181

* Changes and updates to new xPDO validation package:
        -Added 4 basic xPDOValidationRule classes:
                -xPDOMaxLengthValidationRule
                -xPDOMaxValueValidationRule
                -xPDOMinLengthValidationRule
                -xPDOMinValueValidationRule
        -Added sample validation rules to sample schema.
        -Added xPDOGenerator support for validation rules.
        -Added on-demand loading of schema validation rules in xPDOObject, either when validate() is called, or when rules are added/removed via addValidationRule()/removeValidationRule(), whichever comes first.
* Added xPDO::getConfig() and xPDO::setConfig() methods for proper public access to xPDO::config and the ability to extend the behavior.

83 annotated / raw | Diffs: previous, other | Lines: 448 ( +12, -1 )

Created: 2007-10-30 18:28:28 -0500 (10 months ago) | Author: opengeek | Changeset: 83

* Refactored xPDO::loadClass()
 - Made xPDO::packages a single-dimensional array of package names and paths.
 - Changed the way classes are loaded by searching through all registered packages if not found in the current package, and isolated actual class/map loading logic to a separate _loadClass() function. Needs some profiling.
        - TODO: Need to remove the loading of base classes from the constructor for more control in using custom base classes.
* Added package to the map metadata for each object; requires full map regeneration.
* Fixed xPDOObject::addMany() to properly set compound primary keys on _relatedObjects, i.e. only if all keys in a compound primary key are set.
* Fixed xPDOObject::_saveRelatedObject() functionality to set _relatedObjects of cardinality=many with proper keys and remove placeholder objects with keys like __new1, __new2, etc.
* XPDOTest::testCascadeSave(), added an assertion to ensure multiple related object trees are saved properly.
* Modified xPDOObject::getFKClass() to use loadClass() and validate the relationship is usable.
* Introducing xPDOGenerator::compile()
 - Started adding in functionality to compile all classes and maps from a single package into one file for potentially quicker loading in some situations.

82 new annotated / raw | Diffs: previous, other | Lines: 437 ( +437, -0 )

Created: 2007-10-30 17:59:53 -0500 (10 months ago) | Author: opengeek | Changeset: 82

Creating a 1.0 working branch

Atlassian FishEye, Subversion, CVS & Perforce analysis. (Version:1.5.4 Build:build-308 2008-07-31 ) - Administration - Page generated 2008-09-08 01:20 -0500