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 209 36

latest revision download trunk

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

Created: 2008-08-11 13:47:19 -0500 (8 days ago) | Author: opengeek | Changeset: 209

* Merging revisions 206:208 from branches/1.0

204 annotated / raw | Diffs: previous, other | Lines: 533 ( +2, -2 )

Created: 2008-04-25 14:42:35 -0500 (3 months 24 days ago) | Author: opengeek | Changeset: 204

* [#XPDO-16] xPDO::getCacheManager() always returns an instance of xPDOCacheManager.
* [#XPDO-15] update to warning message in xPDOObject::addOne()
* Licensing updates
[merged from branches/1.0 revs 201:203]

179 annotated / raw | Diffs: previous, other | Lines: 533 ( +1, -1 )

Created: 2008-03-21 12:54:35 -0500 (4 months 29 days ago) | Author: opengeek | Changeset: 179

[Merged from branches/1.0 revs 177:178]
* [XPDO-10] Fixing bug introduced with this work when using xPDOQuery with object graphs; was setting _lazy incorrectly and resulted in null value which caused additional errors in processing.

175 annotated / raw | Diffs: previous, other | Lines: 533 ( +14, -10 )

Created: 2008-03-14 13:19:47 -0500 (5 months 5 days ago) | Author: opengeek | Changeset: 175

[Merged from branches/1.0 revs 168:174]
* [#XPDO-10] Add loadCollectionGraph static function to xPDOObject and incorporate into getObjectLoader() facilities.
* [#XPDO-11] getCollectionGraph returns related objects even if they do not exist. This patch should stop hydration if the results are null for a related object key.
* [#XPDO-13] Added lazy loading of object fields.  You can now use all xPDO getObject* and getCollection* functions to load objects with only certain fields populated.  Data for other attributes will be loaded when requested via the xPDOObject get() method.
* [#XPDO-13] Fixed bug introduced in xPDOObject :: loadCollection() function @ changeset 173.

128 annotated / raw | Diffs: previous, other | Lines: 529 ( +59, -59 )

Created: 2007-11-13 11:45:46 -0600 (9 months ago) | Author: opengeek | Changeset: 128

[merge -r122:127 from 1.0 branch]
* Added XPDO_OPT_HYDRATE_ADHOC_FIELDS option to xPDO and xPDOObject.
* Additional refactoring to xPDO::toCache() and xPDO::fromCache(), including allowing generic __sqlResult queries to be cached, though that needs some additional commits to enable fully. Still more to come.
* Documented xPDOCacheManager object caching functions.
* Fix undefined variable $fromCache in xPDOObject::loadObject() and loadCollection() functions.
* Tweaks to xPDOCacheManager::generateObject() to use raw values in toArray() and fromArray() calls used to create the cache representation.
* Fix xPDOObject::loadCollection() to use rawValues when loading objects using fromArray().
* Fix xPDOQuery::hydrateGraph() and hydrateGraphNode() functions to use rawValues when loading objects with fromArray().
* Fix strrpos() call in xPDOObject::__construct() to work properly in PHP 4 and 5 since PHP 4 does not allow the needle parameter to be more than a single character string.
* Adding XPDO_TRANSPORT_ACTION_* constants to represent INSTALL, UPGRADE, and UNINSTALL actions that can be performed on a package.
* Refactor logic for handling null values in xPDOObject::set() and save(). Removed all support for string 'NULL' to be converted to a SQL null value. Use PHP null.
* Fix bug in xPDO::toCache() trying to retrieve cached objects using the original signature, rather than the processed signature string.

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

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

* Modified @package statements for documentation purposes.

Branch point for: 1.0

73 annotated / raw | Diffs: previous, other | Lines: 527 ( +0, -0 )

Created: 2007-10-10 01:09:06 -0500 (10 months ago) | Author: opengeek | Changeset: 73

* Just tidying up some silly windows line endings that slipped in

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

Created: 2007-09-24 14:32:33 -0500 (10 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.

66 annotated / raw | Diffs: previous, other | Lines: 543 ( +123, -3 )

Created: 2007-09-11 20:48:23 -0500 (11 months ago) | Author: opengeek | Changeset: 66

* Fixed xPDOObject::__construct() to preset _relatedObject fields when hydrate_rel_obj_vars is not enabled.
* [FS#11] Fix population of final node of graph chains in xPDOQuery::hydrateGraphNode(); still needs more testing and refactoring for PHP 4 (unless the combination of this change and the xPDOObject::__construct() fix address it).
* Documentation updates.
* PHPUnit tests added for xPDO::getObjectGraph() and xPDO::getCollectionGraph()

63 annotated / raw | Diffs: previous, other | Lines: 423 ( +33, -1 )

Created: 2007-09-06 13:39:57 -0500 (11 months ago) | Author: opengeek | Changeset: 63

* Add additional xPDOQuery::_operators for identifying more conditional statements.

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

Created: 2007-07-26 13:49:08 -0500 (12 months ago) | Author: opengeek | Changeset: 59

[FS#9] unset() $instance variable on each iteration of loop in xPDOQuery :: hydrateGraph() to prevent mangling of result sets in PHP 4

46 annotated / raw | Diffs: previous, other | Lines: 390 ( +1, -1 )

Created: 2007-05-29 18:49:34 -0500 (14 months ago) | Author: opengeek | Changeset: 46

- Fix the handling of xPDO timestamp fields when dbtype is numeric (i.e. stored as unix timestamp).
- Remove unnecessary get() and set() in db specific xPDOObject implementations.
- Add more tokens for identifying conditional clauses in xPDOQuery::isConditionalClause().
- Minor path and require/include changes.

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

Created: 2007-04-23 02:24:00 -0500 (15 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

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

Created: 2007-03-26 12:35:43 -0500 (16 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

Atlassian FishEye, Subversion, CVS & Perforce analysis. (Version:1.5 Build:build-293 2008-04-15 ) - Administration - Page generated 2008-08-20 03:24 -0500