romanb
bc379103c3
[2.0] Some more parser work.
2009-03-14 21:19:50 +00:00
romanb
c4e22ba87a
Merged tokens into lexer.
2009-03-14 10:34:40 +00:00
romanb
5b4564109e
Merged tokens into lexer.
2009-03-14 10:30:47 +00:00
romanb
22de495e19
[2.0] Cleaned up old Production/Parser classes.
2009-03-14 09:05:52 +00:00
jwage
d458197e3a
[2.0] Another step towards finishing namespace refactoring
2009-02-20 05:46:20 +00:00
jwage
43b6791919
[2.0] More replacing of old style of exceptions to intermediate step
2009-02-19 07:07:44 +00:00
jwage
5582f07b53
[2.0] Intermediate refactoring for new exception handling
2009-02-19 07:00:54 +00:00
romanb
62779913c8
Started to reenable query language recognition tests.
2009-02-18 10:39:51 +00:00
jwage
4b43a8c267
[2.0] Removing index, fk and table name formatting from DBAL configuration class
2009-02-17 23:26:46 +00:00
jwage
9dfab03ee0
[2.0] Small changes to ClassLoader and add basic unit test for it
2009-02-17 22:30:13 +00:00
jwage
554adc32a4
[2.0] Testing Collection base class and removing some code
2009-02-17 21:18:13 +00:00
jwage
15beb5e43b
[2.0] Removing Doctrine.php and removing references to some remaining Doctrine constants
2009-02-17 20:15:04 +00:00
romanb
87fd08e427
[2.0] Some fixes for ClassExporterTest.
2009-02-17 12:25:03 +00:00
romanb
32d43c365f
Removed 'name' attribute from EntityManager since it's not needed.
2009-02-17 11:02:11 +00:00
romanb
2ef81cf2a9
[2.0] Various small changes and enabling the collection tests.
2009-02-17 10:54:18 +00:00
jwage
c67c8eac87
[2.0] Initial entry of YAML schema meta data driver and sandbox. A few other misc. fixes as well.
2009-02-17 08:01:34 +00:00
jwage
4dc5a4baf5
[2.0] Removing unused code and committing a little 2.0 documentation
2009-02-17 02:43:40 +00:00
jwage
45079a1e98
[2.0] Refactoring ClassExporter to allow the getting of the generated sql as well as executing it
2009-02-17 01:54:11 +00:00
jwage
438d970f40
[2.0] More removing of old code
2009-02-15 00:27:20 +00:00
jwage
d0c34ee7d1
[2.0] Removing old unused code and directories.
2009-02-15 00:08:24 +00:00
romanb
9dcab5ee63
Small reorganizations, improvements and progress.
2009-02-07 17:02:13 +00:00
romanb
2eb4a16dd4
[2.0] More progress on the UnitOfWork and collections. First basic functional many-many test.
2009-02-06 17:16:39 +00:00
romanb
deb095f2c8
Some cleanups, docblocks, and a small needed refactoring of ClassMetadataFactory.
2009-02-05 17:34:44 +00:00
romanb
efb733d7df
[2.0] Refactored cache drivers. Made use of ArrayCache as the metadata cache during a test suite run.
2009-02-04 18:03:05 +00:00
romanb
886c961108
[2.0] Continued work on association mappings and class exporting (DDL generation). Fixed #1863 .
2009-02-04 16:35:36 +00:00
romanb
e202cb1ce1
[2.0] Progress on UnitOfWork, persisters and basic functional tests.
2009-02-02 11:55:50 +00:00
romanb
36763dadb6
A little progress on the UnitOfWork.
2009-01-29 17:00:44 +00:00
romanb
0ac97e7adf
[2.0] Making use of new constant __DIR__
2009-01-24 16:56:44 +00:00
romanb
9a55035883
[2.0] Some cleanup for previous commit.
2009-01-22 19:50:55 +00:00
romanb
22e94ac594
Enabling namespaces. Final restructurings.
2009-01-22 19:38:10 +00:00
romanb
4ab2ba7dcb
[2.0] More progress on the DQL parser. Added glimpse() method for the scanner/lexer that is equivalent to peek() immediately followed by resetPeek().
2009-01-21 18:25:05 +00:00
romanb
3f60b8b5b5
More DQL parser work. First basic WHERE conditions. Changed scanner according to new positional parameter syntax (?<number>)
2009-01-20 17:07:07 +00:00
romanb
663a7415f8
minor changes
2009-01-19 21:16:46 +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
guilhermeblanco
f0a302ec8d
[2.0] Implementation of StateField grammar rule. Updated SelectExpression AST node
2009-01-16 11:22:36 +00:00
guilhermeblanco
1ed287635a
[2.0] More implementation under ORM/Query
2009-01-15 16:10:22 +00:00
romanb
dd1afc7e7c
hydrator cleanup and 2 new methods for ClassMetadata
2009-01-15 13:30:44 +00:00
guilhermeblanco
4e62d4a98b
More refactorings under DQL Parser/AST classes.
...
Implemented new classes. Fixed a couple of issues around the road.
2009-01-15 03:26:42 +00:00
guilhermeblanco
f83f5c3c89
[2.0] Code reorganization, preparing for battle.
...
Fixes Strict error on EntityPersisterMock.
2009-01-14 04:59:35 +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
1f6676f1d9
cache driver corrections
2009-01-06 21:47:29 +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
bcf0110249
replaced code driver with annotation driver using addendum.
2009-01-05 17:25:56 +00:00
romanb
efaaf83e17
test and collection cleanup
2009-01-04 16:15:32 +00:00
romanb
2395888feb
General work. Now using spl_object_hash.
2009-01-03 19:50:13 +00:00
romanb
6be6f40e84
Splitting DBAL/ORM configuration.
2008-12-18 14:21:21 +00:00
romanb
9971057076
moving towards transparent persistence.
2008-12-18 14:08:11 +00:00
guilhermeblanco
2aea62a498
[1.0, 1.1, 2.0] fixes #1599 Thanks for the report!
2008-10-23 03:43:36 +00:00
guilhermeblanco
3086835fe8
Second part of commit, including the Doctrine/ORM/Query namespace.
2008-09-23 02:47: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
2aa542841f
minor tweak to get tiny perf. improvement
2008-09-13 20:29:44 +00:00
romanb
8615e8e90e
minor refactoring
2008-09-13 20:12:08 +00:00
romanb
6db507c465
Some array/object related fixes to hydration
2008-09-13 20:06:49 +00:00
romanb
580f21c41c
more cleanups. introducing ClassLoader.
2008-09-13 12:40:17 +00:00
romanb
76abfb84fb
removed some more legacy
2008-09-13 10:36:58 +00:00
romanb
e2a0e189fa
minor refactorings on code and API docs
2008-09-13 10:28:29 +00:00
romanb
d4e554fb44
moved classmetadata & co
2008-09-12 17:39:39 +00:00
romanb
c3ad955912
further cleanups
2008-09-12 17:25:38 +00:00
romanb
70c96548fd
moved entitymanager and entityrepository
2008-09-12 13:16:05 +00:00
romanb
e64e33494a
added base exception
2008-09-12 13:08:01 +00:00
romanb
0223d7a454
moved Collection
2008-09-12 13:07:08 +00:00
romanb
34c830e309
moved Collection
2008-09-12 12:34:46 +00:00
romanb
c24ecd7bcf
moved nativequery
2008-09-12 12:28:36 +00:00
romanb
77fefcbd8f
moved mappingexception
2008-09-12 12:27:15 +00:00
romanb
b8fb0fd80a
moved connectionfactory. removed old adapters.
2008-09-12 12:25:56 +00:00
romanb
b56d8da678
deleting Abstract_old
2008-09-12 12:17:31 +00:00
romanb
be14e7d8a0
moved ActiveEntity
2008-09-12 12:15:52 +00:00
romanb
9d6e778a80
further cleanup in configuration
2008-09-12 12:14:14 +00:00
romanb
a502b130cf
removed orm dependency from Common::Configuration
2008-09-12 12:11:59 +00:00
romanb
b140ea7163
improved _isDoctrineEntity check
2008-09-12 12:04:25 +00:00
romanb
90047298c5
removed old files
2008-09-12 11:01:59 +00:00
romanb
8c06f2127a
2008-09-12 11:00:26 +00:00
romanb
aea6a947c8
moved configuration
2008-09-12 10:58:33 +00:00
romanb
b6642e2dce
moved event stuff
2008-09-12 10:55:06 +00:00
romanb
0ef216a9b5
moved more files to TODO
2008-09-12 10:50:20 +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
6b87c1fd06
moved schema management
2008-09-12 10:17:13 +00:00
romanb
4f380c4eca
moved pessimistic locking to TODO
2008-09-12 10:08:06 +00:00
romanb
179b0daac2
moved commitordercalculator/node
2008-09-12 10:06:42 +00:00
romanb
d05522258a
moved id generators
2008-09-12 10:02:06 +00:00
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