1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

195 Commits

Author SHA1 Message Date
zYne
88336e8774 2008-06-02 11:35:34 +00:00
romanb
ec5bb2ea3f some minor refactorings. started to make a draft of the new namespaced folder structure. 2008-05-30 12:09:24 +00:00
guilhermeblanco
21e0bd3ded More fixes for tests 2008-05-24 19:37:02 +00:00
romanb
539853d5e4 refactorings 2008-05-24 19:11:33 +00:00
romanb
0ad6aee389 Merged DQL parser branch to trunk. 2008-05-24 18:18:37 +00:00
romanb
613d08f9ca Merged dbal bugfixes from 0.11. 2008-05-17 12:22:24 +00:00
romanb
7ffd4140cd Doctrine_Record renamed. Hydration refactored. Other refactorings. 2008-05-13 21:20:34 +00:00
romanb
ab65ad5b4d Refactorings. Started with new hydrator for 2.0. 2008-05-06 13:41:22 +00:00
romanb
24872ef65f Merged all identity maps into one in the unitofwork. identity map now properly works with hierarchies. 2008-05-01 09:41:47 +00:00
romanb
3d8a37b2b4 Refactorings along with a speed improvement on the Hydrator when processing joined resultsets. Other minor tweaks. 2008-04-12 20:11:11 +00:00
romanb
223daae2ec added xsl stylesheet to generate changelogs from svn log. merged a few patches from 0.10 2008-03-19 18:33:14 +00:00
romanb
71ed924213 refactorings 2008-03-17 13:26:34 +00:00
romanb
c5bc8641cc refactorings, a bug fix (#786) and improved performance for the hydration of results from polymorphic queries. 2008-03-05 11:24:33 +00:00
romanb
072008b65d moved managed record/entity handling to the UnitOfWork. identity maps are the next. started to remove obsolete table stuff. 2008-02-28 15:30:55 +00:00
romanb
c1c3f48960 validator refactorings and others 2008-02-23 22:04:39 +00:00
jwage
514e17ea70 Changed all references from phpdoctrine.com to phpdoctrine.org 2008-02-22 18:11:35 +00:00
romanb
eb02b4d002 started refactoring to final mapper structure for 1.0. different mapping strategies are factored out as separate strategy classes instead of inheritance. 2008-02-20 20:54:20 +00:00
adrive
23ab5b902d Merged 3786 (removed is_numeric check from convert boolean method, when array is passed as parameter) 2008-02-15 16:59:44 +00:00
adrive
05acd91da8 Merge r3769 (fixed problem with convertBoolean in Pgsql) 2008-02-14 13:27:48 +00:00
romanb
b6a6866b9c refactorings 2008-02-13 10:53:07 +00:00
romanb
eb99219068 refactorings 2008-02-12 12:31:28 +00:00
jwage
d47f4ddab4 Changed all references to http://www.phpdoctrine.com/net to http://www.phpdoctrine.org 2008-01-22 22:52:53 +00:00
jwage
d5c91081e0 - 2008-01-22 21:58:03 +00:00
jwage
689a4c6f45 Connection refactoring to allow create/drop database functionality for sqlite. fixes #480 2008-01-22 21:42:17 +00:00
romanb
71d1150e3f Second merge from experimental branch to trunk. 2008-01-12 19:49:11 +00:00
lsmith
b1df27b1ac - use sql standard concat syntax instead of registering concat() mysql hack 2008-01-10 15:09:30 +00:00
romanb
d9112ad1d7 Merged current state of my experimental branch back to trunk. 2008-01-05 19:55:56 +00:00
romanb
344ab02d95 reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier. 2008-01-05 19:14:35 +00:00
Jonathan.Wage
44820ec14a Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure. 2008-01-05 07:39:25 +00:00
zYne
33223b5b6c getDatabaseName() 2008-01-04 23:37:25 +00:00
romanb
b994c1a6f9 Fixed #697. 2007-12-28 11:51:48 +00:00
romanb
79b79909ad Refactored transactions. Fixed #464. 2007-12-12 15:52:12 +00:00
romanb
156cfd4a27 Introduced a separation of the 2 concerns: 1) Query construction 2) Result hydration.
Makes it easier to see the dependencies between these two concerns, cache the results of the query parsing process later on, implement & use alternative hydrators to experiment with different algorithms etc. etc.
Other small refactorings.
2007-11-20 14:26:42 +00:00
romanb
ba9e4676fa 2007-11-19 10:00:44 +00:00
romanb
cfc7d4e423 Refactoring. Started to introduced a clear separation between column names and field names (aka column aliases).\nDoctrine_Connection, DQL Parser classes/methods map field names => column names.\nDoctrine_Hydrate maps column names => field names during hydration.\nColumn names are only stored in Doctrine_Table:: and Doctrine_Table::.\nRelations use column names in 'local'/'foreign'.\nWhen using field names (column aliases) you need to use the column names in 'local'/'foreign' when setting up a relation (hasOne/hasMany), not the field names.\n\n In other words column names are only used to communicate with the database. field names are used everywhere else. the casing of field names does not matter. column names are forced to lower case for portability. If you dont use field names (column aliases) your column names are your field names (and therefore all lowercase). 2007-11-18 16:06:37 +00:00
zYne
bd31958035 drafting the initial CTI support 2007-11-10 13:21:40 +00:00
zYne
5bb4493864 Drafting the initial CTI support, only works for simple inserts now 2007-11-08 23:03:28 +00:00
dbrewer
3f3103a195 Fixed #587: added 'removeRecord()' method to Doctrine_Table, which is
called in Doctrine_Connection_UnitOfWork->delete().
2007-11-08 22:35:55 +00:00
zYne
1945b0d7a1 fixes #562 2007-11-03 15:47:24 +00:00
meus
53b05c1d4a added tests to get complete coverage of Transaction, RawSQL, AuditLog and Query/Having. Related refactorings. Added some getters to be able to test. Also added coverage report for these changes 2007-10-29 19:50:16 +00:00
meus
3cdaf71ad0 refetch state after preSave listener in unit of work. if state changes in preSave listener it is not taken into concideration when an object is saved/deleted etc. also fixed some small stuff in tests and added new coverage report 2007-10-23 20:21:22 +00:00
phuson
a3c39fedcc Applied patch for ticket #499. Tested and it seems to be working correctly with patch. 2007-10-22 21:47:05 +00:00
Jonathan.Wage
27b369a5f3 Mass search and replace for coding standards changes, doc block formatting, and code spacing. 2007-10-21 06:23:59 +00:00
pookey
16c32e2bd6 Fixing bindParam(), which should have it's 2nd param passed by reference, not value 2007-10-09 13:24:31 +00:00
zYne
5c3bea6584 2007-10-06 19:10:14 +00:00
Jonathan.Wage
0a6f216efa Lots of formatting changes, cleanup, doc block changes. 2007-10-03 21:43:22 +00:00
zYne
be5eb98ebf 2007-09-20 20:21:08 +00:00
zYne
5d12093b8e 2007-09-19 18:58:45 +00:00
Jonathan.Wage
b41259b04a 2007-09-19 16:26:28 +00:00
zYne
2bb8b7083f 2007-09-19 14:59:06 +00:00