1
0
mirror of synced 2024-12-15 15:46:02 +03:00
Commit Graph

2095 Commits

Author SHA1 Message Date
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
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
jwage
ddefc7f96d Fixes to sandbox and added printing of params to output of dql task. 2008-01-25 02:53:24 +00:00
jwage
eb04f52cd0 Added params argument to allow you to use tokens 2008-01-23 23:27:02 +00:00
jwage
8cc89beb41 Moved Doctrine_Migration_Builder and Doctrine_Import_Builder to Doctrine_Builder_Migration and Doctrine_Builder_Record. Updated code to work with new class names. 2008-01-23 16:47:58 +00:00
guilhermeblanco
c5e60f3e5c Adjusted ownsOne and ownsMany methods errors to be better descriptives 2008-01-23 15:21:28 +00:00
jwage
5eecd9696e fixes #644 2008-01-23 08:25:41 +00:00
jwage
52169a4197 fixes #648 2008-01-23 08:22:42 +00:00
jwage
7a2fec88ed Formatting fixes. 2008-01-23 08:20:38 +00:00
jwage
02c57f5977 fixes #688 2008-01-23 08:04:54 +00:00
jwage
1f18a99fd1 fixes #659 2008-01-23 07:28:04 +00:00
jwage
3018a9e977 fixes #692 2008-01-23 03:40:13 +00:00
baron314159
e44bdb8e81 fixes #689, which details problems with the handling of MySQL native enum columns and model class generation. 2008-01-23 02:18:36 +00:00
jwage
aa1592c002 Fixed incorrect function call. 2008-01-23 01:00:45 +00:00
jwage
9ee248bfe7 Undid change to reset(), it broke the tests. 2008-01-23 00:59:30 +00:00
jwage
c8c859baec fixes #696 function was named synchronizeWithArray but i renamed it to synchronizeFromArray because it makes more sense because all the other mades user the term "from" 2008-01-23 00:54:58 +00:00
jwage
64ead091aa Formatting fixes. 2008-01-23 00:43:03 +00:00
jwage
ee3bf044a6 fixes #674 2008-01-23 00:39:37 +00:00
jwage
99d309feed fixes #699 2008-01-23 00:06:27 +00:00
jwage
3e1014af17 fixes #729 2008-01-23 00:04:14 +00:00
jwage
4e522ebf6b fixes #717 2008-01-22 23:50:32 +00:00
jwage
3a0f99f637 fixes #701 2008-01-22 23:12:29 +00:00
jwage
767172a60d fixes #721 2008-01-22 23:10:21 +00:00
jwage
d47f4ddab4 Changed all references to http://www.phpdoctrine.com/net to http://www.phpdoctrine.org 2008-01-22 22:52:53 +00:00
jwage
24e264ac99 Fixed compiler task and made Compiler return the path compiled file was written to. 2008-01-22 22:08:08 +00:00
jwage
d5c91081e0 - 2008-01-22 21:58:03 +00:00
jwage
689a4c6f45 Connection refactoring to allow create/drop database functionality for sqlite. fixes #480 2008-01-22 21:42:17 +00:00
jwage
733eecbbc9 Added contains() method which was introduced in the 0.9 branch. 2008-01-22 17:00:48 +00:00
dbrewer
4b95d0504c Merged r3550 from 0.9 branch to trunk. 2008-01-19 02:35:39 +00:00
guilhermeblanco
ef4798921b Removed initial definition of setSelectedTemplate in Doctrine_Pager_layout in all branches. If no selected template is defined, the default assigned template is used. This prevent possible issue where the user defines default but not selected template (will use the defined one in class, what is wrong) 2008-01-17 20:17:44 +00:00
pookey
85846c39bd setting default templatse for the payer layout 2008-01-17 16:00:52 +00:00
guilhermeblanco
99d026b894 Fixed _adjustOffset in order to get it working after previous change in Pager 2008-01-17 15:33:08 +00:00
guilhermeblanco
78edfd59a6 Fixed wrong call to _setExecuted in Pager 2008-01-17 15:01:07 +00:00
guilhermeblanco
e5f2aa5208 Added different counter query support for Doctrine_Pager. Now it can use 2 different queries to paginate items. Added 4 new methods: setCountQuery, getCountQuery, setCountQueryParams and getCountQueryParams. If not defined a counter Doctrine_Query, the collector one is used. If no params were defined to be used in counter query, the ones passed by execute method are used 2008-01-17 14:37:11 +00:00
guilhermeblanco
af32f80176 Added a fix in toArray method to prevent mapped Doctrine_Record values to be displayed fully 2008-01-17 13:26:31 +00:00
pookey
dca3c3b701 making a comment a little clearer 2008-01-16 23:42:54 +00:00
guilhermeblanco
b68eba074b Fixed count bug in Doctrine_Pager that was wrong counting the total of results found. Added 3 new methods: Doctrine_Pager::getExecuted (checks if the Pager was already executed), Doctrine_Pager_Layout::execute (handy access to execute Pager query without having to access Doctrine_Pager instance) and Doctrine_Pager_Layout::processPage (processes the template of a given page and returns the parsed string) 2008-01-16 20:51:36 +00:00
zYne
f07ab595ac 2008-01-16 14:29:11 +00:00
romanb
71d1150e3f Second merge from experimental branch to trunk. 2008-01-12 19:49:11 +00:00
wernerm
e01809d19a Fixed returned range bug(s) 2008-01-11 14:50:34 +00:00
romanb
62860d5191 fixed joincondition tests. 2008-01-11 13:53:30 +00:00
zYne
a6e84aeed1 2008-01-10 21:39:05 +00:00
lsmith
e0dcd111fe - implemented listTriggers and listTableTriggers() 2008-01-10 16:13:56 +00:00
lsmith
fa5ab7d2b1 - moved getIntegerDeclaration to export since we already have getDeclaration in there 2008-01-10 15:49:25 +00:00
lsmith
b1df27b1ac - use sql standard concat syntax instead of registering concat() mysql hack 2008-01-10 15:09:30 +00:00
lsmith
658f73f045 - use same implementation as MySQL 2008-01-10 15:02:24 +00:00
lsmith
82f0e5f92c - do not force a DEFAULT NULL on LOB fields 2008-01-10 13:19:17 +00:00
lsmith
6f5cf40352 - default to sql standard concat syntax instead of mysql's non standard variant 2008-01-10 12:23:55 +00:00
lsmith
442fb47768 - unified getDefaultFieldDeclaration(), force DEFAULT NULL when no default is set and the field allows nulls 2008-01-10 09:45:01 +00:00
lsmith
53c044fc4d - ported concat() from MDB2 2008-01-10 08:49:13 +00:00
lsmith
f53a239334 - ported listTableForeignKeys() from MDB2 2008-01-10 08:48:15 +00:00
lsmith
ba8aae6005 - ensure that nextId() always relies in autoincrement id generation to ensure that last insert id works reliably 2008-01-10 08:47:00 +00:00
lsmith
16ef556f62 - added support for temporary tables, tweaked createSequence and enum support in getDefaultFieldDeclaration() 2008-01-10 08:44:57 +00:00
lsmith
406c57b53b - cosmetic fixes 2008-01-10 08:29:20 +00:00
zYne
500783aa31 fixes #718 2008-01-08 21:22:37 +00:00
pookey
648f068535 reverting previous change which references and closes #712 2008-01-07 14:17:29 +00:00
pookey
89cb0ecaad refs #712 2008-01-07 13:48:08 +00:00
romanb
d9112ad1d7 Merged current state of my experimental branch back to trunk. 2008-01-05 19:55:56 +00:00
romanb
344ab02d95 reverting the reorganization done in 3455-3456 in order to make merging my experimental branch to trunk easier. 2008-01-05 19:14:35 +00:00
Jonathan.Wage
44820ec14a Preparation for new organization of code in to sub packages. Changed autoload() to work with new structure. 2008-01-05 07:39:25 +00:00
zYne
33223b5b6c getDatabaseName() 2008-01-04 23:37:25 +00:00
adamthehutt
0b78afa97d Make Doctrine_Collection objects use Doctrine::ATTR_COLL_KEY for data array keys 2007-12-30 20:43:31 +00:00
hartym
716bcedd76 Problem on Sluggable Listener default values merging 2007-12-30 18:44:00 +00:00
romanb
b994c1a6f9 Fixed #697. 2007-12-28 11:51:48 +00:00
guilhermeblanco
260b9ae291 Added support to params in join methods of Doctrine_Query 2007-12-26 20:52:37 +00:00
guilhermeblanco
82379e6dc3 added prevention to override page_number mask 2007-12-22 19:04:18 +00:00
Jonathan.Wage
44929d5391 Added note about deprecating methods. 2007-12-20 04:08:25 +00:00
Jonathan.Wage
7b321a215d Formatting fixes. 2007-12-19 23:35:18 +00:00
Jonathan.Wage
2e16d60601 fixes #649 2007-12-19 23:33:31 +00:00
Jonathan.Wage
bef37c27ba fixes #658 2007-12-19 23:02:26 +00:00
Jonathan.Wage
0e528198fb fixes #640 2007-12-19 22:45:14 +00:00
Jonathan.Wage
d1df55e316 Refactorings for schema files and Doctrine_Record builder. More to come but got held up on some things that zYne- must fix first. 2007-12-19 22:41:11 +00:00
guilhermeblanco
132e5c969c CHG: Changed private variable name (chunkLength to _chunkLength) in Jumping.php and Sliding.php
CHG: Added documentation for Doctrine_Pager and Doctrine_Pager_Range* classes
TODO: Finish pagination documentation
2007-12-19 03:07:41 +00:00
Mosh
9de41c83d1 Fixed #680: Missing quotation of ENUM DEFAULT Statement 2007-12-18 19:40:18 +00:00
pookey
f3e9fe66a8 adding a toString method to pager layout 2007-12-18 12:00:12 +00:00
pookey
d6ec2665ec fixing typo in exception 2007-12-18 11:54:14 +00:00
romanb
51c88e2020 Merged 3405 (Fixed #626) from 1.0 branch. 2007-12-15 19:19:31 +00:00
guilhermeblanco
a95073abff CHG: Doctrine coding standards adjustments
ADD: Added methods: addMaskReplacement, removeMaskReplacement and cleanMaskReplacements in Doctrine_Pager_Layout. They are responsable to make masks behavior as another masks or values on predefined situations.
2007-12-13 03:07:24 +00:00
romanb
1446447107 Fixed #673. 2007-12-12 16:21:54 +00:00
romanb
79b79909ad Refactored transactions. Fixed #464. 2007-12-12 15:52:12 +00:00
romanb
467897dadb Fixed #626. 2007-12-12 09:54:39 +00:00
adamthehutt
13b5346a4f Fix for #669 2007-12-11 23:03:57 +00:00
jackbravo
ab8819ca66 Related to bug #662 2007-12-11 18:25:34 +00:00
romanb
9281630ed7 Fixed #664. 2007-12-11 15:55:45 +00:00
romanb
6a958bae47 Fixed #665. 2007-12-11 15:46:27 +00:00
romanb
532dea0dd2 Fixed #662 2007-12-11 15:25:56 +00:00
romanb
2717408be8 Fixed #662 2007-12-11 15:25:23 +00:00
wernerm
094dab1d4f Changed the link() method's use of getLocal() and getForeign() to getLocalFieldName() and getForeignFieldName(). 2007-12-11 11:31:13 +00:00
wernerm
c655b6023c Added link() functionality to create links between related records. It basically works in the opposite way as unlink(). 2007-12-11 11:10:27 +00:00
zYne
efa434800c removed parseAggregateFunction 2007-12-10 19:19:29 +00:00
zYne
3500a6fb17 added parseFunctionExpression 2007-12-10 18:59:12 +00:00
zYne
e5d43b2fcc added parseSubquery() 2007-12-10 18:51:22 +00:00
zYne
e069f12c6c 2007-12-10 18:32:36 +00:00
pookey
f4186781db possibly a temp fix. fix to allow postgres array datatypes work as a string 2007-12-10 13:19:29 +00:00
jackbravo
75ccd8cd43 Change if for else if on synchronizeWithArray 2007-12-09 17:46:28 +00:00
jackbravo
78195944be Added synchronizeWithArray method and unset functionality for relations
The unset functionality is not working for foreignKey relations
2007-12-09 01:56:53 +00:00
dbrewer
7e0a902aba Added test case to demonstrate that delimiters in
Doctrine_Query_Tokenizer::bracketExplode() were case sensitive, and 
changed tokenizer to make them case insensitive.
2007-12-07 03:23:09 +00:00
romanb
af657cbe69 Introduced a new attribute ATTR_AUTOLOAD_TABLE_CLASSES that can be used to control whether Doctrine should try to autoload custom table class files when looking for them. 2007-12-06 19:02:29 +00:00
adamthehutt
2bcd41e237 Fix for ticket #650
Ticket: 650
2007-12-06 14:17:03 +00:00
meus
19c08a2f95 removed autoload of self 2007-12-06 11:09:00 +00:00
pookey
0c9c3767c2 allowing for the "interval" postgres datatype 2007-12-04 15:22:20 +00:00
romanb
a143caefe3 Fixed #626. Reopening the ticket for further issues is fine. 2007-12-03 18:37:39 +00:00
guilhermeblanco
806e9c63e6 Fixed default definition in date* fields 2007-12-03 17:56:56 +00:00
romanb
8ed0530fbf Fixed #626. 2007-12-03 10:06:30 +00:00
romanb
28fba54f4a Another hydrator speed improvement. 2007-12-02 15:04:51 +00:00
romanb
5e26473340 Fixed #636. 2007-12-02 12:56:15 +00:00
romanb
baf77264c1 Hydrator speed improvement 2007-12-01 20:10:29 +00:00
romanb
fc310cf36c Fixed #626. Commented out plugin tests due to a fatal error. 2007-12-01 11:18:43 +00:00
jackbravo
a73a73da66 Fix tickets #583 and #576 2007-12-01 01:21:55 +00:00
jackbravo
338bd78e66 Added a description to the Doctrine_Record::cleanData() method 2007-11-30 23:49:46 +00:00
Jonathan.Wage
e6768b4f8b Initial entry of Geographical template. 2007-11-30 22:49:23 +00:00
Jonathan.Wage
e8bb04a66e Reverted change. actAs() and loadTemplate() currently only work in the setTableDefinition() 2007-11-30 22:49:04 +00:00
jackbravo
deabfcbb54 Fix ticket #620, PATCH provided by baron314159, thanks 2007-11-30 22:46:06 +00:00
Jonathan.Wage
70addc55ca Fixes to model building so it does not generate duplicate relations. 2007-11-29 15:57:05 +00:00
wolfpakz
3aa991821b - Fixed problem with Nested Set table definition not happening in time for exporting when NestedSet behavior is added through Doctrine_Template_NestedSet. 2007-11-29 01:39:19 +00:00
zYne
7e2669d1bd fixes #624 2007-11-28 23:06:04 +00:00
zYne
69985832a7 2007-11-28 22:56:45 +00:00
zYne
5738fed7a6 2007-11-28 22:56:14 +00:00
zYne
f8a0eb2e25 fixes #624 2007-11-28 22:13:12 +00:00
jackbravo
b329ae870b Added a $deep argument to refresh
The default is set to false because fetching the relations deletes
previously fetched relations =P. This is, if you fetched an aggregated
value (SUM, COUNT), it wont be refreshed, it will be overwritten by the
actual related values.
2007-11-28 19:35:44 +00:00
Jonathan.Wage
f0b0100987 Code formatting. 2007-11-28 03:22:09 +00:00