1
0
mirror of synced 2024-12-13 06:46:03 +03:00
Commit Graph

4342 Commits

Author SHA1 Message Date
beberlei
b24811e29a [2.0] Fix Fatal errors in unused classes that crash the testsuite when running PHPUnit with coverage-whitelisting of complete Doctrine directory. 2009-11-06 17:05:22 +00:00
beberlei
93b20427c9 [2.0] Fix Tab Formating in ParserResult class, added doc-comments and fixed a missing variable initialization error for certain query special cases. 2009-11-06 17:03:59 +00:00
beberlei
1dae2eaf41 [2.0] DDC-109 - Fixed another warning in SchemaTool with inverse join columns and unique constraints. 2009-11-06 14:15:58 +00:00
beberlei
30e2299321 [2.0] DDC-109 - Fixed warning in SchemaTool with inverse join columns and unique constraints. 2009-11-06 14:11:03 +00:00
romanb
10bc51fdcd [2.0][DDC-116] Fixed. 2009-11-06 10:28:37 +00:00
beberlei
7220cb2e8b DDC-118 - Fixed introduced regression and added tests for future 2009-11-05 18:55:02 +00:00
beberlei
3678b65186 [2.0] DDC-114 - Extend SchemaTool Drop functionality to optionally drop the complete database. Additionally a filter against all existing table is applied to avoid errors due to dropping non-existant tables. Updated Schema-Tool CLI command with optional calls --drop=database --drop=metadata but kept original --drop which defaults to "metadata". Updated documentation. 2009-11-05 08:47:56 +00:00
beberlei
884131e51f [2.0] DDC-115 - Proper fix of global namespace problem was in the ClassMetadataInfo, a namespace plus seperator was appended for reasons of shortcuts. However this broke associations in global namespace. Changes to ClassMetadataFactory were reverted and fix plus tests applied to ClassMetadataInfo. 2009-11-04 23:06:38 +00:00
beberlei
705a477067 [2.0] Fix bin/doctrine.php using unknown ClassLoader to use GlobalClassLoader instead 2009-11-04 22:16:22 +00:00
beberlei
120e6942e8 [2.0] DDC-115 - Fix for multiple class metadata instances because of classes being addressed with or without prepending namespace separator. 2009-11-04 19:59:34 +00:00
beberlei
69ef16360f [2.0] DDC-112 - Enhance debugging capabilities in OrmFunctionalTestCase by logging all SQL queries and enrichting all test failures with them (PHPUnit 3.4 only feature). 2009-11-04 11:39:49 +00:00
guilhermeblanco
4a861f08a8 [2.0] More refactorings in Annotations parser and DQL parser. Now they only use constants instead of string processment 2009-11-04 01:52:40 +00:00
guilhermeblanco
e05ec39ff3 [2.0] Moved string tokens to be constants. No more string comparisons inside parser 2009-11-03 21:42:58 +00:00
beberlei
a72977b33d [2.0] DDC-109 - Add support for Unique Constraint in OneToMany unidirectional relations 2009-11-03 18:33:38 +00:00
romanb
7bbdac1c88 [2.0][DDC-61][DDC-108] Fixed. Started exception refactoring. 2009-11-03 18:30:21 +00:00
beberlei
460aeeb194 [2.0] Applied patch from DDC-76, LazyLoad AnnotationDriver in ORM Configuration. 2009-11-03 16:59:13 +00:00
beberlei
a7847952a1 [2.0] Fixed DDC-63 and DDC-106. Oracle tests for SchemaManager need further tweeking, marked as skipped for now. 2009-11-03 16:56:05 +00:00
beberlei
cfea7883e0 [2.0] DDC-91 - Enhanced SchemaManager::listTableIndexes() considerably. Add primary keys to the index list, add a bool flag primary to each index, add an array of columns to each index. Moved a test to SchemaFunctionalTestCase to check that every database (Mysql, Pgsql, Sqlite, Oracle) returns exactly the same data from this function. 2009-11-03 08:58:03 +00:00
jwage
37824abffe [2.0] Fixed incorrectly used variable for cli config 2009-11-03 04:13:35 +00:00
beberlei
d8bf040165 [2.0] DDC-105 - Fix for use of quote() in getSetCharsetSql(). 2009-11-02 23:13:46 +00:00
beberlei
a307b86ecb [2.0] DDC-84 - Added increment alter table / update schema tests for Oracle Platform - Fixed a simple bug in Postgres Tests. 2009-11-02 16:50:48 +00:00
beberlei
d369d27f8b [2.0] DDC-84 - Added increment alter table / update schema tests for Postgres Platform - Fixed several bugs in Doctrine\DBAL\Platforms\PostgreSqlPlatform 2009-11-02 16:07:31 +00:00
beberlei
6a26de11ff [2.0] Fixed DDC-103 - Add missing changed file. 2009-11-02 15:10:26 +00:00
beberlei
79f4fcb3c4 [2.0] Fixed DDC-103 - Platform::getAlterTableSql() should return an array on all platforms, added doc-blocks on all methods and fixed some. 2009-11-02 15:08:51 +00:00
beberlei
140f597e3b [2.0] Fixed DDC-101, DDC-102 - Ensure defaults for string length and field nullability are handled consistently in both update and create schema commands of SchemaTool. 2009-11-02 12:53:05 +00:00
romanb
d1f14e42fd [2.0] Fixed commend. 2009-11-01 19:04:27 +00:00
romanb
2fbc766de7 [2.0][DDC-82] Fixed CLI problems introduced by changeset 6582. 2009-11-01 17:58:56 +00:00
romanb
94569baa0b [2.0][DDC-88] Corrected accidental swap of precision/scale. 2009-11-01 11:09:27 +00:00
romanb
44045a6b83 [2.0][DDC-88] Quoted field name in decimal model as a little test for identifier quoting. 2009-11-01 11:04:03 +00:00
beberlei
e2962c73dc [2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update - Changes in two files were missing. 2009-10-31 22:24:29 +00:00
beberlei
4d3c4a704a [2.0] DDC-84 - Add Mysql Platform unittests for incremental changes of the metadata for the schematool update function. Fixed some quirks in the Unit-Test suite alongside, Fixed changes of length in SchemaTool update. 2009-10-31 22:23:36 +00:00
beberlei
a680970347 [2.0] DDC-87 - Fix MysqlSchemaManager missing support for Mysql Decimal type 2009-10-31 20:50:31 +00:00
beberlei
932855317f [2.0] DDC-62 - Fixed bug with proxy class generation of non-namespaced entities 2009-10-31 08:59:27 +00:00
beberlei
a05bd5e20c [2.0] DDC-78 - Added support for context specific information in Annotation Parser Syntax Error Exceptions. 2009-10-30 20:58:06 +00:00
jwage
a0c9e9db8d [2.0] Fixing casing issue 2009-10-30 20:24:50 +00:00
beberlei
881eb212d2 [2.0] Added test that shows AnnotationParser only parses string literals with double quotes, wheras single quotes throw an Syntax Error. Removed debug output on failure for a proper syntax error exception. 2009-10-30 00:36:21 +00:00
beberlei
1eec9f211b [2.0] Fixed DDC-77 - Prevent PHP Warning on certain annotation constallations 2009-10-30 00:20:17 +00:00
guilhermeblanco
49bcc69f3a [2.0] Moved EntityManager creation to be always available in CLI Tasks 2009-10-30 00:15:53 +00:00
romanb
10e3407ed1 [2.0][DDC-70] Added some EntityManager tests provided by beberlei. 2009-10-28 22:12:45 +00:00
romanb
f572c372dc [2.0] Fixed DDC-18. Simplified proxy classes. Just 1 proxy class per entity now, instead of 2. 2009-10-28 15:32:55 +00:00
romanb
aa72619c5d [2.0][DDC-55] Fixed. 2009-10-28 11:29:29 +00:00
romanb
7694e9b7b9 [2.0] Fix for functional tests. Test suite now fully passes against mysql and postgres again. 2009-10-28 11:06:36 +00:00
romanb
ce6905cc5d [2.0] Fixed commit order calculation. 2009-10-28 11:00:17 +00:00
romanb
4fc1781d78 [2.0][DDC-22] Fixed. Also cleaned up association handling. More to come: exception refactorings, proxy simplifications (single proxy class, not two). 2009-10-28 10:31:47 +00:00
guilhermeblanco
e832d1723a [2.0] Fixed typo 2009-10-26 18:57:14 +00:00
romanb
8b1e0d413c [2.0][DDC-57] Added coverage for many-to-many issue provided by Arthur Purnama. 2009-10-26 13:18:44 +00:00
romanb
ac4b4889a6 [2.0][DDC-57] Fixed. 2009-10-26 13:05:32 +00:00
romanb
4918d3e174 [2.0] Simplification and fix to cascades. 2009-10-25 22:04:13 +00:00
romanb
08694d1826 [2.0] Some optimizations and small fixes. 2009-10-25 21:40:57 +00:00
jwage
ccf27a386c [2.0] Minor fixes to cache drivers and result set cache implementation 2009-10-24 00:28:43 +00:00