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

37 Commits

Author SHA1 Message Date
hobodave
1ad982a4fe [2.0][DC-460] Refactored cache bulk deletion methods to use driver specific features to retrieve list of keys. Also, refactored tests
so that all methods are tested for all drivers.

Removed:

- Doctrine\Common\Cache\AbstractCache::count()
- Doctrine\Common\Cache\AbstractCache::deleteAll()

API Changes:

- Doctrine\ORM\AbstractQuery::getResultCacheId() now public

Bugs fixed:

- Doctrine\Common\Cache\AbstractCache::deleteByPrefix() was deleting _every_ key in cache
2010-01-29 01:38:37 +00:00
guilhermeblanco
54d4476c47 [2.0] Added unit tests for CLI Configuration. Fixed hasAttrbibute() issue of undefined property. 2010-01-18 02:02:37 +00:00
guilhermeblanco
4d88f40c81 [2.0] Added unit tests for CLI Configuration. Fixed hasAttrbibute() issue of undefined property. 2010-01-18 02:02:15 +00:00
guilhermeblanco
03d69eea77 [2.0] Added some tests for CLI 2010-01-09 21:25:51 +00:00
guilhermeblanco
42a1af8256 [2.0][DDC-183] Fixed issue with Annotations parser failing on identifiers that matches with token types. 2009-12-22 02:15:12 +00:00
romanb
59a17eb51c [2.0][DDC-171] Fixed (second attempt). Some other cleanups. Performance fix for mock Statement used in hydration performance tests for more accurate and better results. 2009-12-10 21:27:20 +00:00
romanb
8e3f6eee0a [2.0][DDC-121] Fixed. Also fixed memcache tests and some small refactorings. 2009-11-08 11:07: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
romanb
7bbdac1c88 [2.0][DDC-61][DDC-108] Fixed. Started exception refactoring. 2009-11-03 18:30:21 +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
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
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
jwage
ccf27a386c [2.0] Minor fixes to cache drivers and result set cache implementation 2009-10-24 00:28:43 +00:00
romanb
4328a4e9e3 [2.0] Small refactorings on the cache drivers. Introduced flag to control whether the cache driver should manage the cache keys since this is an advanced feature that is not always needed and can have negative side-effects (higher probability for cache slams). 2009-10-23 15:03:00 +00:00
jwage
93e6cabe04 [2.0][DDC-48][DDC-47] Refactored cache drivers to allow more control over deleting, added namespacing to cache drivers and implemented clear-cache task 2009-10-22 22:19:17 +00:00
romanb
320d21e2be [2.0] Refactored classloader architecture. Renamed ClassLoader => GlobalClassLoader. Introduced IsolatedClassLoader that is suitable for participating in autoload stacks. Added 2 example entity classes to the sandbox with 2 xml mappings and 2 yaml mappings. Simplified sandbox setup. 2009-09-11 19:50:48 +00:00
romanb
00599a80d4 [2.0] Streamlined result structures. Hydration improvements: Small overall improvements, large improvement for (joined) fetched collections (~60%). 2009-08-03 13:25:56 +00:00
romanb
2ec4cc5cbe [2.0] More cleanups for recent lazy-loading implementation and minor object hydration improvements and cleanups. Collection refactoring part I for ticket #2352. 2009-07-29 11:57:27 +00:00
romanb
da07bf4a37 [2.0] Small refactorings. 2009-07-24 11:33:38 +00:00
guilhermeblanco
59fbb8b20f [2.0] Commented Memcache test since it was throwing a fatal error if module is loaded. It requires a memcache server config to be able to run these tests 2009-07-15 22:45:34 +00:00
romanb
a3d58e7b0d [2.0] Fixed array tests by removing tests for ArrayCache specific methods from the tests of other cache drivers. Some general API work on the cache interface. 2009-07-15 10:10:04 +00:00
jwage
311cff87d3 [2.0] More test coverage 2009-07-14 22:36:09 +00:00
romanb
2ffc7f17db [2.0] Migrated AnnotationDriver to new annotation parser. Removed addendum vendor library. 2009-07-08 15:25:41 +00:00
romanb
0515d9abb7 [2.0] New Annotation API work: Simplifications, changed namespace separator to match the one of PHP, adjusted Lexer to swallow any * characters outside of a string value to be more forgiving when it comes to formatting. 2009-07-07 11:25:58 +00:00
romanb
9075f10bf5 [2.0] Moved cache drivers to Common package. Added new annotation parser implementation to Common package. AnnotationDriver in ORM not yet migrated. 2009-07-06 20:34:54 +00:00
romanb
f28127664c [2.0] Cleanups, build fixes. 2009-06-15 18:25:47 +00:00
romanb
104398003c [2.0] Parser work. 2009-06-14 17:34:28 +00:00
jwage
405ba00983 [2.0] Committing missing DoctrineExceptionTest 2009-02-28 20:22:12 +00:00
jwage
5582f07b53 [2.0] Intermediate refactoring for new exception handling 2009-02-19 07:00:54 +00:00
jwage
68147808f6 [2.0] Cleaning up tests and removing some unused files to remove any confusion 2009-02-18 07:59:11 +00:00
jwage
9dfab03ee0 [2.0] Small changes to ClassLoader and add basic unit test for it 2009-02-17 22:30:13 +00:00
jwage
554adc32a4 [2.0] Testing Collection base class and removing some code 2009-02-17 21:18:13 +00:00
romanb
2ef81cf2a9 [2.0] Various small changes and enabling the collection tests. 2009-02-17 10:54:18 +00:00
romanb
9dcab5ee63 Small reorganizations, improvements and progress. 2009-02-07 17:02:13 +00:00
romanb
0ac97e7adf [2.0] Making use of new constant __DIR__ 2009-01-24 16:56:44 +00:00
romanb
22e94ac594 Enabling namespaces. Final restructurings. 2009-01-22 19:38:10 +00:00