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

1992 Commits

Author SHA1 Message Date
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