Commit Graph

27201 Commits

Author SHA1 Message Date
Fabien Potencier
8ed170c726 [DoctrineBundle] fixed alias support to be in sync with the latest version of Doctrine 2010-03-05 10:22:53 +01:00
Fabien Potencier
60b714c2d3 [DoctrineBundle] changed option dir_or_file to dir-or-file 2010-03-05 09:50:28 +01:00
Fabien Potencier
9d060340f6 [DoctrineBundle] fixed Doctrine extension to always create aliases for entities in the Entities/ directory 2010-03-05 09:27:43 +01:00
Fabien Potencier
450550d06d [ProfilerBundle] fixed storage read() method and unpack/pack data to avoid weird character in the data stream 2010-03-04 09:00:29 +01:00
Fabien Potencier
e8119ce875 [OutputEscaper] renamed Safe to SafeDecorator 2010-03-02 14:06:28 +01:00
Fabien Potencier
9738f34c4d [ProfilerBundle] refactored some code 2010-03-01 19:10:47 +01:00
Fabien Potencier
74ff6cbd9f [WebBundle] tweaked error message 2010-03-01 18:38:31 +01:00
Fabien Potencier
17d4e1538f [DependencyInjection] store references to shared services as soon as possible to avoid circular references on legal code 2010-03-01 18:37:22 +01:00
Fabien Potencier
6ba662b0a4 [WebBundle] removed the Model/ directory from skeleton 2010-03-01 17:04:32 +01:00
Fabien Potencier
2e420c3c8a [ProfiledBundle] moved debug tools from WebBundle to ProfilerBundle 2010-03-01 12:47:28 +01:00
Fabien Potencier
3fbe294461 [DoctrineBundle] removed the need to pass the container to the extension (which is dangerous) 2010-03-01 12:30:23 +01:00
Jordi Boggiano
635135a4e0 [WebBundle] Fixing regression introduced in de37e5225b
Signed-off-by: Jordi Boggiano <j.boggiano@seld.be>
2010-03-01 11:48:04 +01:00
Jonathan H. Wage
47aee04459 [DoctrineBundle] Integrating the new Doctrine 2.0 entity alias feature for the query language 2010-03-01 11:46:05 +01:00
Jonathan H. Wage
42ad9b7c72 [DoctrineBundle] Improvements for building entities and getting started 2010-03-01 11:42:39 +01:00
Jonathan H. Wage
d15f2329ae [Foundation] Fixing typo 2010-03-01 11:41:59 +01:00
Jonathan H. Wage
6ead924835 [DoctrineBundle, WebBundle] Enhancing API for retrieving database connections and entity managers from controllers to allow for specifying the name of the connection or entity manager. If no argument is given it returns the default configured connection or entity manager. 2010-03-01 11:41:28 +01:00
Jonathan H. Wage
2db073b03a [DoctrineBundle] Fixes for building when you have multiple bundles which mixes mapping information types 2010-03-01 11:37:55 +01:00
Jonathan H. Wage
1be4ff9095 [DoctrineBundle] Adding doctrine:import-mapping command to allow you to easily import the mapping information from an existing database connection to a bundle 2010-03-01 11:33:32 +01:00
Jonathan H. Wage
0472d0f0e2 [DoctrineBundle] Adding some XML examples 2010-03-01 11:32:50 +01:00
Jonathan H. Wage
85ed6df2f0 [DoctrineBundle] Making mapping information more flexible to allow different metadata mapping files for each bundle 2010-03-01 11:32:26 +01:00
Jonathan H. Wage
1a45bb6d63 [DoctrineBundle] Enhancing the Doctrine 2 integration further to better handle multiple connections/entity managers 2010-03-01 11:30:18 +01:00
Jonathan H. Wage
b3d8aa414e [Symfony] Adding isBooted() method so that I can pass an existing kernel to a Console application. Right now it throws an exception otherwise about it already being booted. 2010-03-01 11:28:03 +01:00
Fabien Potencier
165b9832fe [Console] added hasOption and hasArgument to Input 2010-03-01 11:24:21 +01:00
Jonathan H. Wage
0c3a4b15ec [DoctrineBundle] Cloning cache driver service for each usage so we can set a prefix to avoid caching conflicts 2010-03-01 11:21:27 +01:00
Romain Dorgueil
3671f4a08a [DependencyInjection] made a small performance enhancement. No need to lowercase three times the same.
`strtolower` was called three times at most on the same value, and one
at least. To avoid this, let's compute it first.

Additionally, $value cast in last return clause was useless as it has
been done previously, and nothing changed $value's value.

Signed-off-by: Romain Dorgueil <romain.dorgueil@symfony-project.com>
2010-03-01 11:14:10 +01:00
Christian Stocker
8948ae1f6e [WebBundle] set the limiter to 4, otherwise it's not possible to use another renderer 2010-03-01 10:57:03 +01:00
Jordi Boggiano
a8fc5c62ff [Foundation] Fixes parsing of env parameters
Signed-off-by: Jordi Boggiano <j.boggiano@seld.be>
2010-02-25 11:21:31 +01:00
Jordi Boggiano
de37e5225b [WebBundle] Fixing Console application for projects using subversion
Signed-off-by: Jordi Boggiano <j.boggiano@seld.be>
2010-02-25 11:15:04 +01:00
Fabien Potencier
272959dc3d [WebBundle] made registration of templating debugging automatic without the use of the web.debug element 2010-02-24 16:19:42 +01:00
Fabien Potencier
987a36d936 [WebBundle] fixed typo that prevented templating logging 2010-02-24 16:18:11 +01:00
Fabien Potencier
2748c48ae0 [Foundation] made a small optimization 2010-02-24 16:15:22 +01:00
Fabien Potencier
e240a9e339 [Foundation] added missing XML file 2010-02-24 16:01:34 +01:00
Fabien Potencier
c54c7e0466 [Foundation] moved debug services to their own XML file 2010-02-24 16:00:28 +01:00
Fabien Potencier
b709367371 [WebBundle] fixed XSD 2010-02-24 15:54:43 +01:00
Fabien Potencier
1cbed102d4 [WebBundle] made the exception handler available by default in all environments 2010-02-24 15:42:42 +01:00
Fabien Potencier
037dfca003 [WebBundle] renamed the file_link_format option and moved it to the main web:config element 2010-02-24 15:42:04 +01:00
Fabien Potencier
45e6573774 [Foundation] moved event_dispatcher debug mode to Foundation 2010-02-24 15:28:56 +01:00
Fabien Potencier
c9211d9300 [DoctrineBundle] made it easier to configure Doctrine DBAL when only one connection needs to be configured 2010-02-24 14:36:50 +01:00
Jonathan H. Wage
ffc36f02d5 [DoctrineBundle] Enhancing Doctrine 2 integration to allow multiple connections/entity managers, more flexibility and more complete integration with ORM and DBAL all around. 2010-02-24 13:23:15 +01:00
Fabien Potencier
22e310e240 [WebBundle] refactored the data collector sub-system (WIP) 2010-02-23 15:28:08 +01:00
Fabien Potencier
19f93cb859 [Yaml] fixed compact notation when there is an inlined hash (closes #8082) 2010-02-23 14:45:23 +01:00
Fabien Potencier
18abbb81ee [DependencyInjection] fixed fixture 2010-02-23 14:31:25 +01:00
Fabien Potencier
b4414bc3de [WebBundle] fixed unneeded overhead in the exception handler 2010-02-23 13:57:43 +01:00
Fabien Potencier
a80a61b5c2 [Yaml] added support for compact notation (patch from redotheoffice - closes #8082) 2010-02-23 12:07:10 +01:00
Fabien Potencier
83023764b6 [Yaml] fixed offset when the document use --- or the %YAML element (patch from redotheoffice) 2010-02-23 11:52:41 +01:00
Fabien Potencier
46c4f23496 [Yaml] added ? in the list of characters that trigger quoting (for compatibility with libyaml - patch from indeyets) 2010-02-23 11:21:00 +01:00
Fabien Potencier
caa7cc8d64 [Yaml] added backtick to the list of characters that trigger quotes as it is reserved for future use (patch from indeyets) 2010-02-23 11:15:37 +01:00
Fabien Potencier
1f9b161045 [WebBundle] fixed typo 2010-02-23 07:04:51 +01:00
Nils Adermann
68af3ebfb7 [WebBundle][DoctrineBundle] Use backslashes in namespaces, not slashes.
The registerBundleDirs method in the kernel returns array(namespace => dir, ...).
In some places dirname() is used to separate a namespace from the classname. The
resulting value contains slashes rather than backslashes, causing look ups in the
bundle dirs array to fail.

I assume this was not noticed so far because it requires that you use one of the
features making this mistake with a bundle inside a subnamespace, as top level
namespaces will not contain a backslash anyway.
2010-02-23 02:13:05 +01:00
Fabian Lange
4e0204dfd5 [Yaml] restored old behaviour of including a trailing newline during parsing. Added test case for empty value 2010-02-22 15:40:00 +01:00