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

1849 Commits

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