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

2073 Commits

Author SHA1 Message Date
romanb
43e35d3bfd moved hydration stuff 2008-09-12 09:58:02 +00:00
romanb
bfff430ea9 moved orm import 2008-09-12 09:46:55 +00:00
romanb
ae634eced1 moved ORM export 2008-09-12 09:45:56 +00:00
romanb
169aa63402 moved entitypersisters 2008-09-12 09:44:51 +00:00
romanb
70406665ad moved collection persisters 2008-09-12 09:39:43 +00:00
romanb
d495a33ab3 2008-09-12 09:37:22 +00:00
romanb
93b2cb0a58 moved entity/entitymanager exceptions 2008-09-12 09:37:05 +00:00
romanb
e69034fc25 moved Cache 2008-09-12 09:28:18 +00:00
romanb
c6117f5ea4 2008-09-12 09:27:03 +00:00
romanb
f1adfe7c2e Moved association mappings. 2008-09-12 09:26:43 +00:00
romanb
81298f969f new TODO namespace 2008-09-12 09:19:25 +00:00
romanb
700acb259e Moved undecided/unclear items into TODO 2008-09-12 09:18:47 +00:00
romanb
f556ee8c44 moved Null/Type/Platform 2008-09-12 08:59:44 +00:00
romanb
4d7b8838cc Intermediate checkin. Refactoring towards namespaced structure. 2008-09-12 08:51:56 +00:00
guilhermeblanco
ad4db34a87 Fixes in unit tests.
Started refactoring in DQL parser to separate Production into Parser and AST classes.
Finished first tests. Currently only 4 are active in IdentifierRecognitionTest, and only 2 are passing.
2008-09-12 06:09:16 +00:00
romanb
4b191a3141 Reverted deletion of old Manager.php. Still needed for new tests. 2008-09-07 16:36:17 +00:00
romanb
5bc3d0067f cleanup 2008-09-07 13:58:15 +00:00
romanb
7d48c785f6 cleanup 2008-09-07 13:48:40 +00:00
romanb
b5401ee1c5 checkin of occasional work from the past weeks. 2008-08-31 18:27:16 +00:00
subzero2000
9c1c82cab9 Ensure unique queries are generated when generating SQL for exporting schema to database. 2008-08-25 19:11:58 +00:00
romanb
4661231c64 Minor updates 2008-08-24 19:27:24 +00:00
romanb
73985fe62a added mapping check to onetomany. corrected test models. 2008-08-22 09:37:03 +00:00
romanb
0f8e9e0ba9 refactorings. made basic one-one, one-many joins work. 2008-08-22 09:05:14 +00:00
guilhermeblanco
efca79412d DQL Parser refactorings and enhancements. Finished basic drat of Join support. 2008-08-21 20:45:19 +00:00
romanb
d8b76a54d0 continued refactorings. 2008-08-16 19:40:59 +00:00
romanb
3e20fc6aba refactoring. 2008-08-09 09:45:28 +00:00
romanb
3cd4fc5542 Intermediate checkin. 2008-08-02 17:41:37 +00:00
romanb
e704cd0fd2 Continued refactorings. Started to refactor the DBAL layer. 2008-08-01 18:46:14 +00:00
romanb
a769997450 2008-07-27 19:38:56 +00:00
pookey
d17a68a407 adding a newline. 2008-07-21 21:52:08 +00:00
romanb
d9975c36a3 Checkin of occasional work from the past weeks. 2008-07-20 20:13:24 +00:00
romanb
c43f9588be Cleanups, improvements, fixes. 2008-07-11 10:48:04 +00:00
romanb
3cd7b95424 Refactorings. Merged hydrator fixes from 0.11/1.0 2008-07-10 17:17:58 +00:00
romanb
4d752746fe The usual 2.0 refactoring/implementation commit. 2008-07-04 16:32:19 +00:00
gnat
51f957bcba set a limit on fetchOne queries 2008-07-01 05:57:19 +00:00
romanb
35fa81dbab Removed static EntityManager lookup from productions. Entity refactorings. 2008-06-16 18:31:21 +00:00
romanb
7206b1dd51 Added getters to AST. Removed Production::__call. Added visitor support to AST. (guilherme: dont shoot me yet :-). visitor support doesnt hurt even if we do not use it for SQL generation). Lots of other things. 2008-06-15 15:56:28 +00:00
guilhermeblanco
24ca13980f Cosmetics changes in EventManager, renamed the registerEventListener to addEventListener, optimized the source and changed the arguments order. Commented an echo line in RangeVariableDeclaration 2008-06-08 16:42:55 +00:00
romanb
ad2443057e Refactorings and initial commit/draft of new event handling / configuration / bootstrapping. Still need to remove all the static EntityManagerFactory::getManager lookup calls from the Production classes. The production classes need to have access to the EntityManager of the Query that constructed the Parser. It should be injected into the Parser during construction. 2008-06-05 19:01:58 +00:00
guilhermeblanco
d8d761b593 Fixes in ParserResult, which was generating a bad table alias. Added more test cases. Commented new Event system call in EntityManager. Fixes in RangeVariableDeclaration. 2008-06-02 15:00:50 +00:00
zYne
6f1d5723e7 added class doc blocks 2008-06-02 11:46:55 +00:00
zYne
a4acccf6f1 fixed some doc blocks 2008-06-02 11:45:12 +00:00
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
4ea5c8b0a2 SelectExpression rewrite to support dctrn queryComponent. Fixes in DQL. Added more test cases 2008-05-28 06:01:04 +00:00
guilhermeblanco
dfbc7c1cff Changed Doctrine_Query to accept a Doctrine_EntityManager instead of a Doctrine_Connection. Updated Doctrine_EntityManager. Updated test cases and included one new passing test case for SELECT generation. Fixed whitespace bug in DELETE and UPDATE statements. 2008-05-27 04:52:50 +00:00
guilhermeblanco
bc236c59da Finished first parts of SELECT support. Two test cases added and passing. Introduced the concept of DCTRN in queryComponent. Added concept of queryField, which validates for already defined fields in SELECT. 2008-05-27 03:44:08 +00:00
romanb
f9938ea6fd custom/magic accessors + test 2008-05-25 20:57:32 +00:00
zYne
2429605fbd fixed formatting 2008-05-25 20:33:41 +00:00
zYne
c1b0ea8a73 formatting fix 2008-05-25 20:10:41 +00:00
guilhermeblanco
089a416689 Added more semantical checks. Fixed some tests. 2008-05-24 22:04:14 +00:00
romanb
d323b16ff5 cleanups 2008-05-24 21:32:21 +00:00
romanb
a1128669a9 cleanups 2008-05-24 21:29:01 +00:00
romanb
7407fefee2 Fix for new tests. 2008-05-24 19:56:35 +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
guilhermeblanco
4e99dcb51f Fixes for test case in DQL 2008-05-24 18:51:47 +00:00
romanb
0ad6aee389 Merged DQL parser branch to trunk. 2008-05-24 18:18:37 +00:00
romanb
7b711ae70e refactorings. merged hydration bugfix from 0.11. 2008-05-24 17:10:45 +00:00
romanb
74ce82bd50 Initial HYDRATE_SINGLE_SCALAR implementation & test. 2008-05-18 16:21:55 +00:00
romanb
d0ea5705d0 Initial support for scalar hydration (HYDRATE_SCALAR). EntityPersisters born. 2008-05-17 20:04:56 +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
ad0d24ff57 Fixed #1023. Thanks for ticket & patch. 2008-05-08 21:04:34 +00:00
romanb
0dd856784c Continued work on new hydration. 2008-05-08 14:17:35 +00:00
romanb
f92773fa1c Added another hydration test. 2008-05-06 21:03:31 +00:00
romanb
ab65ad5b4d Refactorings. Started with new hydrator for 2.0. 2008-05-06 13:41:22 +00:00
romanb
ff11220961 minor refactorings & cleanups. 2008-05-01 09:50:23 +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
274be06c1b Fixed #969. 2008-04-17 11:07:00 +00:00
romanb
0370cedc08 Fixed #966. 2008-04-15 22:19:22 +00:00
romanb
234253edd1 Perf. improvement on hydrating joined resultsets, part 2. 2008-04-12 20:24:28 +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
guilhermeblanco
42ec3c949c Merged r4208 into trunk and jepso branch 2008-04-09 14:31:25 +00:00
romanb
78492f3c9a Ported fix for #929 from 0.10 to trunk. Testcase needs to be ported later since the behavior implementation is not useable in trunk atm. 2008-04-05 07:35:57 +00:00
Ezku
2d68239681 Fixed sqlite dsn in Doctrine_Manager::parseDsn() 2008-03-28 16:25:32 +00:00
romanb
0d67fcaf6d merged fix for #912 from 0.10 to trunk (turned out it was not broken in trunk but i merged the patch & testcase anyway. Other refactorings. 2008-03-26 11:10:45 +00:00
romanb
33c76f620e refactorings 2008-03-23 11:30:29 +00:00
romanb
7a1beb5b26 Merged fix for #899 from 0.10 to trunk. 2008-03-22 19:41:29 +00:00
romanb
2f1badc7fd Merged fix for #852 from 0.10 to trunk. 2008-03-21 13:32:10 +00:00
romanb
45d41f1c9b merged fix for #873 from 0.10 2008-03-20 15:17:01 +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
guilhermeblanco
d3a261526e Fixed Doctrine_Pager::getResultsInPage() as reported by Matt Marcum through email. 2008-03-15 22:20:46 +00:00
romanb
d8b9656d3b removed superfluous code 2008-03-05 11:25:56 +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
lsmith
fdf4aa18f8 - implode expects an array() 2008-03-02 16:51:09 +00:00
guilhermeblanco
65442c7488 Added free( = false) support in Doctrine_Record and Doctrine_Collection (trunk) 2008-02-29 19:33:31 +00:00
adamthehutt
a6a5192f47 fixed typo 2008-02-28 22:18:45 +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
guilhermeblanco
2739ed843b Removed support to imbricated query added yesterday (which fixed ticket #782). The same thing could be easily achieved without need of Doctrine support, as mentioned in comments. Dev team decided to drop this support for now, but are considering for 1.0 2008-02-28 01:40:49 +00:00
guilhermeblanco
331548caa9 Added imbricated query support in whereIn method (fixes #782) 2008-02-27 03:54:17 +00:00
guilhermeblanco
139febaed6 Adjusted quoteIdentifier in update and delete when executing a SQL query (also fixes #807) 2008-02-27 02:17:42 +00:00
guilhermeblanco
9ee6158ffc Added float8 support in pgsql. Fixes #808 2008-02-27 01:39:51 +00:00
romanb
85cb20f6dd made sure every caller of getIdentifier can handle an array. getIdentifier now always returns an array. 2008-02-24 20:31:49 +00:00
romanb
edcc8be207 some smaller refactorings. started to replace the term 'template' with 'behavior'. 2008-02-24 16:54:02 +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
guilhermeblanco
d674b8ead7 Added Doctrine_Pager_Range::isInRange, which checks if a given page is in the range 2008-02-21 16:06:46 +00:00
guilhermeblanco
499eaf6cb2 Merged r3868 in 0.10 and trunk 2008-02-21 15:18:30 +00:00
guilhermeblanco
ec0ebeb195 Updated manual pages and changed documentation naming convention (from process to parse) to follow the API 2008-02-21 14:54:55 +00:00
guilhermeblanco
6ea8a47773 Split of methods in _parseTemplate in 0.10 and trunk 2008-02-21 14:12:01 +00:00
guilhermeblanco
1ab785ac44 Updated pagination chapter in manual (0.10 and trunk). Merged r3870 in trunk 2008-02-21 04:33:03 +00:00
guilhermeblanco
85e26cfd7b Fixed method getNextPage that was always returning the last page in all branches 2008-02-21 04:15:13 +00:00
adamthehutt
6ed10e06ed Added readonly validator 2008-02-21 02:28:30 +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
jwage
dcc2a54e63 Reversed r3840. Broke tests. 2008-02-19 20:12:46 +00:00
jwage
d5b8a6a70b Merged r3839 from 0.10 2008-02-19 19:51:08 +00:00
guilhermeblanco
ebdb97b969 Second parameter support in Doctrine_Pager::setCountQuery and added new method: Doctrine_Pager::getResultsInPage(), which returns the numbers of itens in current page 2008-02-19 02:37:09 +00:00
jwage
57df018c27 Merged r3834 to 0.9 and trunk. Fixed conservative model loading to actually be conservative. 2008-02-19 00:24:32 +00:00
jwage
a8c5542f8f Merged r3830 to trunk and 0.9 branch. Bug was originally fixed in the 0.10 branch first 2008-02-17 22:52:37 +00:00
gnat
d0ee6cd14a pre/post Up/Down methods 2008-02-17 04:53:51 +00:00
jwage
589e231494 Merged r3815 to trunk 2008-02-17 04:02:27 +00:00
romanb
e354e527d5 small refactorings 2008-02-16 19:37:51 +00:00
romanb
be5aac16fd small refactorings 2008-02-16 19:10:16 +00:00
jwage
bea3a7c50d Minor changes backported from 0.9 and 0.10 2008-02-15 18:42:06 +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
guilhermeblanco
7fe74767d7 Small fix convertion of enum (fixes #788) 2008-02-15 16:57:46 +00:00
guilhermeblanco
09243b2416 Added NOT operator recognition in DQL (fixes #496) 2008-02-15 15:07:47 +00:00
guilhermeblanco
a3348ddaa9 Applied patch provided by ticket #788 in 0.9, 0.10 and trunk 2008-02-15 14:49:21 +00:00
meus
f5b0b6bfec added tests for Collection. also fixed a bug with serialization in collections. added copyright header to the two new testfiles 2008-02-15 00:57:34 +00:00
romanb
081ef099d4 refactoring 2008-02-14 22:41:06 +00:00
meus
b040bbe35d Added tests for Doctrine_Access. It uses annotations for exceptions and to mark functions as tests. Also changed some logic in access and implementing classes to make the abstraction a little bit more solid 2008-02-14 20:20:35 +00:00
guilhermeblanco
9929d5574d Merged changeset r3758 into 0.10 and trunk (gnat missed to do it) 2008-02-14 15:56:45 +00:00
adrive
05acd91da8 Merge r3769 (fixed problem with convertBoolean in Pgsql) 2008-02-14 13:27:48 +00:00
romanb
c3f23f84e3 relaxed a comparison in the hydrator. caused buggy behavior. 2008-02-13 15:27:49 +00:00
romanb
b6a6866b9c refactorings 2008-02-13 10:53:07 +00:00
guilhermeblanco
72316541c4 Merged r3561 into 0.10 2008-02-13 04:13:55 +00:00
guilhermeblanco
6fda95bfa7 Merged r3686 into 0.10 branch and trunk 2008-02-13 02:56:42 +00:00
romanb
eb99219068 refactorings 2008-02-12 12:31:28 +00:00
romanb
f1651489c2 more experiments with the new testsuite. 2008-02-11 22:33:47 +00:00
romanb
ade4cd2af1 cosmetics 2008-02-11 17:08:22 +00:00
pookey
04276090b5 fixes #732 - yes, it's a nasty hack, but we have a new parser on the way 2008-02-10 14:49:22 +00:00
romanb
0061bc827b new test setup refactorings 2008-02-10 14:32:05 +00:00
romanb
ec404b46c7 merged 3708 (Fixed #776) from 0.10 branch to trunk. 2008-02-07 22:27:29 +00:00
romanb
dad3137528 cleanups 2008-02-07 22:21:18 +00:00
romanb
0892647f7a Joined strategy bugfix and cosmetics. 2008-02-07 10:40:27 +00:00
romanb
56407f785a Merged r3518:r3700 from branch to trunk. Branch to be deleted, soon. Development continues in trunk. 2008-02-03 21:29:57 +00:00
RQuadling
e381fdde41 Ticket: 766,767 2008-02-01 16:15:34 +00:00
lsmith
fcfff27a76 - fixes #519 and #761 (patch provided by RQuadling) 2008-01-30 23:03:56 +00:00
lsmith
a2d69c5d8e - no longer (never?) needed 2008-01-30 23:00:46 +00:00
guilhermeblanco
e1580c4095 Merged changeset #3588 into 0.9 and 0.10 branches. Fixed ws in trunk 2008-01-30 00:32:36 +00:00
guilhermeblanco
6b484334a4 Merged changeset #3621 into 0.9 and 0.10 branches. Fixed ws in trunk 2008-01-29 23:19:20 +00:00
lsmith
2d24e9add0 - lazy load the _tableFactory and record listener in order to reduce the dependencies for a to be created DBAL package 2008-01-29 09:59:37 +00:00
lsmith
3a5bd47fc1 - ws fixes 2008-01-28 13:05:11 +00:00
lsmith
e2d8a91653 - fixed class name in comments 2008-01-27 18:53:36 +00:00
pookey
ebbfcf4cad a previous commit of mine broke method chaining 2008-01-27 15:02:45 +00:00
pookey
f7d691a0aa fix to whereIn to prevent invalid SQL being generated when no params are passed 2008-01-26 21:20:24 +00:00
pookey
7b453f1ab1 improved exception message 2008-01-25 23:13:04 +00:00
jwage
a6b194b928 Work on migrations diff and fixes. 2008-01-25 03:18:51 +00:00