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 1

latest revision download trunk

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

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

* Merging revisions 206:208 from branches/1.0

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

Created: 2008-04-25 14:42:35 -0500 (4 months 4 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]

77 annotated / raw | Diffs: previous, other | Lines: 88 ( +6, -3 )

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

* Modified @package statements for documentation purposes.

Branch point for: 1.0

73 annotated / raw | Diffs: previous, other | Lines: 85 ( +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: 85 ( +14, -37 )

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.

46 annotated / raw | Diffs: previous, other | Lines: 108 ( +0, -248 )

Created: 2007-05-29 18:49:34 -0500 (15 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.

41 annotated / raw | Diffs: previous, other | Lines: 356 ( +2, -1 )

Created: 2007-04-23 12:19:23 -0500 (16 months ago) | Author: opengeek | Changeset: 41

- xPDOObject_mysql issues -- cannot inherit from this class; reverting mysql specific functionality to base class for now; upcoming changes will address this problem

36 annotated / raw | Diffs: previous, other | Lines: 355 ( +16, -1188 )

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

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

Created: 2007-02-23 13:16:40 -0600 (18 months ago) | Author: opengeek | Changeset: 34

* PHP 4 fixes (use of stripos and PHP 4 constructor for PDO_ class was wrong)

31 annotated / raw | Diffs: previous, other | Lines: 1525 ( +17, -16 )

Created: 2007-02-17 13:07:41 -0600 (18 months ago) | Author: opengeek | Changeset: 31

* Fix for xPDOQuery :: join(); was overwriting existing join definitions rather than creating new ones on subsequent calls.
* Fix for xPDOObject :: addOne(); was adding a reference to a reference, which did not work with hydrate_rel_obj_vars configuration option.
* Added cacheFlag parameter xPDO :: newQuery() call in xPDO :: getCollectionGraph().
* Made default $key parameter on xPDO :: getFKDefinition() default to empty string.

29 annotated / raw | Diffs: previous, other | Lines: 1524 ( +2, -2 )

Created: 2007-02-15 17:24:37 -0600 (18 months ago) | Author: opengeek | Changeset: 29

* Fixed error in remove() that was trying to call the toCache function on xPDOObject rather than xPDO.

28 annotated / raw | Diffs: previous, other | Lines: 1524 ( +10, -4 )

Created: 2007-02-15 01:42:04 -0600 (18 months ago) | Author: opengeek | Changeset: 28

* Modify behavior of hydrate_rel_obj_vars to reference the object by classname directly unless multiple relations to the same class exist, in which case it will append _key to the classname for direct access.

27 annotated / raw | Diffs: previous, other | Lines: 1518 ( +89, -203 )

Created: 2007-02-15 00:08:22 -0600 (18 months ago) | Author: opengeek | Changeset: 27

* Introducing xPDOQuery, an extension to xPDOCriteria that provides an API for building a variety of common queries without the need for SQL:
 -- methods include, command(), select(), from(), where(), groupby(), having(), limit(), join(), leftJoin(), rightJoin(), innerJoin(), and more
 -- also provides support for automating queries to populate related object graphs in a single query
 -- various refactoring of method implementations to make use of xPDOQuery
* Introduced simply FILE logging target to write error logs to the cache directory
* Added new methods to xPDO, including getCount(), getObjectGraph(), and getCollectionGraph()
* Added xPDOObject :: encode() to allow custom encoding of properties using various methods; provides md5 by default
* Bug fixes and additional features to xPDOObject :: remove() to prevent nasty loops with circular composite references; needs more work

26 annotated / raw | Diffs: previous, other | Lines: 1632 ( +17, -17 )

Created: 2007-02-09 15:29:49 -0600 (18 months ago) | Author: opengeek | Changeset: 26

* Fix to timestamp phptype handling when stored as integer dbtype in database.

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

Created: 2007-02-07 18:40:34 -0600 (18 months ago) | Author: opengeek | Changeset: 24

* Fixed bug in xPDOObject::getMany() when fk is specified.
* Changed xPDOObject::getMany() to return an empty array instead of null when no result can be returned.

23 annotated / raw | Diffs: previous, other | Lines: 1630 ( +35, -20 )

Created: 2007-02-07 11:56:04 -0600 (18 months ago) | Author: opengeek | Changeset: 23

* Adjustments to new transient property support

22 annotated / raw | Diffs: previous, other | Lines: 1615 ( +15, -6 )

Created: 2007-02-07 10:23:55 -0600 (18 months ago) | Author: opengeek | Changeset: 22

* Allow transient runtime properties to be accessed with get()/set() and hydrated according to options.
* Removed xPDO::getTableType() in favor of getTableMeta() (TODO: add support in xPDOManager and xPDOGenerator for access to SHOW TABLE STATUS data).

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

Created: 2007-02-04 15:47:45 -0600 (18 months ago) | Author: opengeek | Changeset: 20

* Fix yearSkew warning in xPDOObject class.
* Refactored PDO for PHP 4 classes to work even when native PDO is loaded, but necessary drivers are not available (renamed classes to PDO_ and PDOStatement_).

19 annotated / raw | Diffs: previous, other | Lines: 1605 ( +8, -4 )

Created: 2007-02-01 18:05:03 -0600 (18 months ago) | Author: opengeek | Changeset: 19

* Refactored db cache features:
 -- Modified xPDOCacheManager and xPDOFileCache to auto-determine a writable tmp directory to cache files if no cache_dir is specified in the config.
 -- Modified xPDOFileCache filenames and file structure to divide files into logical containers, and reduce the number of cache files in a single directory.
 -- Added utility functions to xPDOCacheManager, including writeFile($path, $content, $mode) and deleteTree($path)
* Updates to xPDOObject to prevent errors from revealing critical database connection information.

15 annotated / raw | Diffs: previous, other | Lines: 1601 ( +42, -14 )

Created: 2007-01-21 22:24:11 -0600 (19 months ago) | Author: jason | Changeset: 15

* Add hydrate_object_vars and hydrate_rel_object_vars options to add references to persistent properties and related objects as actual class members.
* Replace repetitive get_class calls with references to xPDOObject::_class, set once in the constructor.
* Add return false on connection failure in extended PDO methods in xPDO
* Remove stray return in XPDOTest for PHPUnit2
* Several small bug fixes in xPDOObject

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

Created: 2007-01-16 23:27:14 -0600 (19 months ago) | Author: jason | Changeset: 14

* Fixed a bug in getSelectColumns that was forcing the tableAlias to always be blank.

11 annotated / raw | Diffs: previous, other | Lines: 1574 ( +268, -1 )

Created: 2006-12-31 20:53:06 -0600 (19 months ago) | Author: jason | Changeset: 11

* Removed trailing PHP tag from all files.  Not needed and can lead to extra whitespace.
* Moved xPDOGenerator to xpdo/om/mysql
* Migrated remaining db-specific code from xPDO class to mysql/xPDOObject in preparation to create ports optimized for other db systems.
 - load(), loadCollection(), loadCriteria(), and getSelectColumns are now static methods of xPDOObject that now implement db-specific code to power xPDO::getObject(), xPDO::getCollection(), xPDO::getCriteria(), and xPDO::getSelectColumns(), respectively.

8 annotated / raw | Diffs: previous, other | Lines: 1307 ( +17, -8 )

Created: 2006-12-24 20:44:52 -0600 (20 months ago) | Author: jason | Changeset: 8

* xPDOCacheHandler class updated to allow configuration properties to determine a class for handling xPDO object and result set caching.
* Modified fromArray() so it is not responsible for determining the _new attribute of xPDOObject instances.  This is the responsibility of xPDO::getObject(), which uses xPDO::load(), and xPDO::getCollection().
* Fixed all line endings to Unix style...

Branch point for: 2.0

7 annotated / raw | Diffs: previous, other | Lines: 1298 ( +8, -4 )

Created: 2006-12-14 10:15:47 -0600 (20 months ago) | Author: jason | Changeset: 7

* Fix issue in xPDOObject::fromArray() that was not marking objects properly when primary key fields were set, making them appear as new objects to insert rather than existing objects to update when loaded via xPDO::getCollection().

5 annotated / raw | Diffs: previous, other | Lines: 1294 ( +1, -1 )

Created: 2006-12-08 20:51:21 -0600 (20 months ago) | Author: jason | Changeset: 5

* Fixed bug when save()'ing updates to objects with compound primary keys.

3 annotated / raw | Diffs: previous, other | Lines: 1294 ( +1, -1 )

Created: 2006-11-21 00:33:19 -0600 (21 months ago) | Author: jason | Changeset: 3

Uncommented stripslashes call in xPDOObject::get() method that was displaying the raw data with escapes in place.  Not sure why this was commented; doh!

1 new annotated / raw | Lines: 1294 ( +1294, -0 )

Created: 2006-11-15 15:40:08 -0600 (21 months ago) | Author: jason | Changeset: 1

Importing xPDO

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