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

88 Commits

Author SHA1 Message Date
romanb
d1cd35d395 Reverted some BNF changes 2009-01-19 19:24:40 +00:00
romanb
602c6d973e DQL Parser work. Getting some first tests back running. Reorganizing all parser rules into the Parser itself. 2009-01-19 18:40:12 +00:00
romanb
dd1afc7e7c hydrator cleanup and 2 new methods for ClassMetadata 2009-01-15 13:30:44 +00:00
romanb
60fb69dd03 First commit of new extensible hydrator structure. Cleanup to follow. 2009-01-13 21:56:43 +00:00
romanb
34f4ee71fa First tests for basic collection implementation. First experimental use of closures (Currently commented out, because the svn server makes a syntax check against 5.2.x). 2009-01-12 13:34:41 +00:00
romanb
73ad0ac454 more tests and first basic update/delete 2009-01-09 16:25:06 +00:00
romanb
b6e385d243 fixed regression 2009-01-08 11:23:24 +00:00
romanb
d97336373d Finally first, very basic, running CRUD tests for Doctrine 2 2009-01-07 17:46:02 +00:00
romanb
7363fc3ec0 More ClassMetadataFactory tests 2009-01-06 18:30:51 +00:00
romanb
c2ab01bf7e Added first ClassMetadataFactory tests. 2009-01-06 17:22:23 +00:00
romanb
957a6b2c89 added missing annotation driver class. small refactorings. added first ClassMetadata serialization tests. 2009-01-05 20:18:56 +00:00
romanb
efaaf83e17 test and collection cleanup 2009-01-04 16:15:32 +00:00
romanb
b9ecb8de4f General work. Now using spl_object_hash. 2009-01-03 19:53:07 +00:00
romanb
2395888feb General work. Now using spl_object_hash. 2009-01-03 19:50:13 +00:00
romanb
9971057076 moving towards transparent persistence. 2008-12-18 14:08:11 +00:00
guilhermeblanco
178f3fe5bb [2.0] Moved Doctrine_Query to definite namespace Doctrine_ORM_Query.
Fixed paths that were referring wrong namespace resolution.
Implemented more Parser and AST classes: JoinVariableDeclaration and Join.
Fixed wrong semantical checks of IndexBy grammar rule. They should be in IdentificationVariableDeclaration and JoinVariableDeclaration.
2008-09-23 02:45:02 +00:00
romanb
580f21c41c more cleanups. introducing ClassLoader. 2008-09-13 12:40:17 +00:00
guilhermeblanco
c8e4e7e7ab Small changes to get Query tests running again.
Fixed wrong DQL in IdentifierRecognitionTest.php
2008-09-13 06:34:47 +00:00
romanb
d4e554fb44 moved classmetadata & co 2008-09-12 17:39:39 +00:00
romanb
34c830e309 moved Collection 2008-09-12 12:34:46 +00:00
romanb
18ec38eef7 moved Entity 2008-09-12 10:40:23 +00:00
romanb
9c11c36bb3 moving files to TODO 2008-09-12 10:21:20 +00:00
romanb
43e35d3bfd moved hydration stuff 2008-09-12 09:58:02 +00:00
romanb
169aa63402 moved entitypersisters 2008-09-12 09:44:51 +00:00
romanb
93b2cb0a58 moved entity/entitymanager exceptions 2008-09-12 09:37:05 +00:00
romanb
f1adfe7c2e Moved association mappings. 2008-09-12 09:26:43 +00:00
romanb
700acb259e Moved undecided/unclear items into TODO 2008-09-12 09:18:47 +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
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
guilhermeblanco
96a40f0098 Some tickets test cases 2008-08-23 16:42:23 +00:00
romanb
0b80ec0bfd added a little test 2008-08-22 09:25:00 +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
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
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
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
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
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