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

63 Commits

Author SHA1 Message Date
guilhermeblanco
7c6dc8b701 [2.0] Removed wrong echo of DQL parser 2009-08-11 22:14:43 +00:00
guilhermeblanco
f1481d9506 [2.0] Added dump function for AST nodes to help debugging complex queries 2009-08-11 22:11:33 +00:00
romanb
8797921937 [2.0] Removed AssociationMappings from ResultSetMapping for improved caching. Fixed caching issue with reflection classes and properties. Reimplemented and leaned up broken identifier quoting. Added support for named (native) queries. Fixed small hydration memory leak. 2009-08-11 10:51:38 +00:00
guilhermeblanco
ac5fe1f91b [2.0] Some Annotations parser docblocks, optimizations, etc. Fixed wrong syntax error token report in DQL parser 2009-08-07 21:47:21 +00:00
guilhermeblanco
33fc28ffbd [2.0] Updated AST nodes to use public properties instead of setter/getter methods. 2009-08-06 21:42:07 +00:00
guilhermeblanco
f087a0058b [2.0] Started refactoring of AST nodes to use public properties instead of getter/setter methods 2009-08-06 15:48:41 +00:00
guilhermeblanco
084add0af0 [2.0] Fixed warning in semantical error reporting (strpos with length over dql length). Fixed wrong grammar rule. Fixed wrong token position on semantical error reporting. Added more semantical checks in UpdateItem 2009-08-05 19:00:16 +00:00
romanb
f64347d899 [2.0] Implemented SQL generation for SIZE() function and EmptyCollectionComparisonExpression. 2009-08-05 15:47:41 +00:00
guilhermeblanco
995eaf3dcd [2.0] Finish implementation of nesting level checkings. 2009-08-05 03:56:21 +00:00
guilhermeblanco
cd50fc38ad [2.0] Implemented EmptyCollectionComparisonExpression. Need to write SQL transformation yet. 2009-08-04 21:41:53 +00:00
guilhermeblanco
462a27ee95 [2.0] Changed structure of creation of SqlWalkers in DQL Parser. They are now strings instead of instances of dummy classes. Implemented nesting level check for ResultVariable 2009-08-04 19:48:40 +00:00
romanb
e67b30703b [2.0] Changed init() to __construct(). 2009-08-04 09:33:36 +00:00
guilhermeblanco
aa0792b166 [2.0] InputParameter removed from Literal, since it's not actually a literal value. Changed grammar rules to accomodate this decouple 2009-08-04 04:11:43 +00:00
guilhermeblanco
733556b632 [2.0] Minor change in *Walker to be able to be used by custom assigned Walkers 2009-08-04 03:33:45 +00:00
guilhermeblanco
c71c55f2e7 [2.0] Some docblocks inclusion. 2009-08-01 23:40:11 +00:00
guilhermeblanco
b2b06554b4 [2.0] More work on DQL parser of Doctrine 2.0. More semantical checks included. Missing scope checking of ResultVariable (SELECT and Sub-SELECT differences). Removed invalid grammar rules. 2009-07-31 04:03:01 +00:00
guilhermeblanco
772066156c [2.0] Implemented more TODO items in DQL Parser. Optimized PathExpression. Changed wrong grammar rule name in EBNF. 2009-07-30 04:40:04 +00:00
piccoloprincipe
c073f1d113 [2.0] completed implementation of lazy loading for Collections. Created debug helper class. Fixed default for orderBy clause to ASC 2009-07-28 11:43:42 +00:00
guilhermeblanco
b121576ff4 [2.0] Fixed DQL parser to use Query::HINT_FORCE_PARTIAL_LOAD instead of string. 2009-07-22 05:06:06 +00:00
guilhermeblanco
58a157863e [2.0] Finished reorganization of grammar rules in DQL parser source code. Renamed some private methods. 2009-07-22 03:46:05 +00:00
romanb
49434b0322 [2.0] Further cleanups. Started eager loading support. 2009-07-21 09:25:14 +00:00
guilhermeblanco
b3d110bac4 [2.0] Started massive reorganization of grammar rules in DQL parser. 2009-07-21 05:22:22 +00:00
piccoloprincipe
0c623fdb9e [2.0] Accomodate joincolumn names in the metadata, in the selection and the hydration processes. Improved Api of the ProxyFactory. Working implementation of lazy loading for *-to-one associations (affects #2348) 2009-07-20 12:05:19 +00:00
guilhermeblanco
e197348734 [2.0] Implemented more TODO items. Fixed some grammar rules. 2009-07-19 21:17:01 +00:00
guilhermeblanco
82be4bf023 [2.0] More work on TODO items. Fixed grammar rule that was incorrect. 2009-07-19 16:18:51 +00:00
guilhermeblanco
227667c95d [2.0] Changes in DQL grammar for optimization purposes. Implemented new DQL grammar rules and did a couple of TODOs 2009-07-18 14:53:21 +00:00
guilhermeblanco
8fbee579d3 [2.0] Fixed 4 issues with ProxyGenerator. It was not considering the type hint and it was generating an E_STRICT error with incompatible method declaration. Some cosmetic changes in Query 2009-07-16 22:03:35 +00:00
guilhermeblanco
3bc4042a63 [2.0] Fixed wrong DQL error message. More improvements in DQL parser 2009-07-16 04:08:14 +00:00
guilhermeblanco
55651ec902 [2.0] Updated semantical error to display token and text close to the found error. Some cosmetics applied. 2009-07-16 03:22:08 +00:00
guilhermeblanco
c48648aa55 [2.0] Cosmetics. 2009-07-15 23:20:11 +00:00
romanb
104398003c [2.0] Parser work. 2009-06-14 17:34:28 +00:00
piccoloprincipe
bdd2241fb5 set svn:eol-style property on plain text files 2009-06-02 18:05:26 +00:00
romanb
d23607910b [2.0] Formatting issues. 2009-05-28 11:33:50 +00:00
romanb
c9cc9f1373 [2.0] Parser code review with some cleanups and comments to highlight TODOs. 2009-05-24 10:38:37 +00:00
romanb
a421692679 [2.0] Fixed Query Cache (+testcase) and some E_STRICT errors. 2009-05-21 19:18:14 +00:00
romanb
4d13925b1c [2.0] Some hydration and DQL parser work. 2009-05-17 19:27:12 +00:00
romanb
e79c45f9ac [2.0] Fixed issues discovered during code coverage report generation. Made all ClassMetadata properties public (good reasons, read the class docblock). Performance improvements. 2009-05-14 10:03:09 +00:00
romanb
ee46dba332 [2.0] Moved code between Query and AbstractQuery. Added first NativeQuery implementation. Hydration work and code movements for discriminator column usage. Started implementing Single Table Inheritance. 2009-04-12 19:02:12 +00:00
romanb
523c93c2f1 [2.0] Refactored SQL query building process and hydration. Hydration should now support result sets with any number of root components. Introducing ResultSetMapping that is used by hydration instead of queryComponents. This allows mapping of arbitrary SQL queries (NativeQuery). 2009-04-09 18:12:48 +00:00
romanb
62204af804 [2.0] Ongoing work on Query/DQL implementation and tests. 2009-04-03 11:06:58 +00:00
romanb
7479a0cf9b [2.0] Starting to improve functional tests. First basic functional query tests. 2009-03-28 20:59:07 +00:00
romanb
705199e897 [2.0] Parser work. Added support for functions in SelectExpressions. 2009-03-28 17:10:41 +00:00
romanb
5ebaa6504c [2.0] Some docs and cleanups. 2009-03-23 19:02:16 +00:00
romanb
ae5d212271 [2.0] Parser work. Added double-dispatch functionality to AST node classes for use in the SqlWalker to reduce big if/else instanceof checks and for better maintainability. Also its less error-prone in the SqlWalker because its harder to miss a conditional case. Added new extensible DQL function implementation. 2009-03-23 17:39:33 +00:00
romanb
618c1281e4 [2.0] Parser work. 2009-03-21 19:58:52 +00:00
romanb
d833ee1464 [2.0] Parser work. Drafted logic for multi-table deletes through DQL (for Class/Concrete Table Inheritance) 2009-03-21 12:49:58 +00:00
romanb
89a625021a [2.0] Refactored and reenabled Lexer tests. 2009-03-20 20:53:14 +00:00
romanb
b718cd1a63 [2.0] Parser work. 2009-03-19 12:43:48 +00:00
romanb
bffd76d704 [2.0] Parser work. 2009-03-16 22:12:38 +00:00
romanb
bc379103c3 [2.0] Some more parser work. 2009-03-14 21:19:50 +00:00