Pascal Borreli
33fb7a5ac2
[OutputEscaper] fixed coding standards: opening brace should be on a new line
2010-04-05 11:43:54 +02:00
Daniel Cestari
53cf10aba9
[WebBundle] updated application's skeleton routing.yml
2010-04-05 11:40:57 +02:00
Daniel Cestari
3bd87ed38b
[Foundation] updated link to the PHP 5.3's final proposal for autoloader interoperability
2010-04-05 11:40:34 +02:00
Fabien Potencier
95bb9d80d7
[WebBundle] fixed Symfony version in the text exception message
2010-04-02 17:21:45 +02:00
Fabien Potencier
77f56a61f6
[Foundation] made the Kernel serializable (to avoid weird error messages when used with PHPUnit)
2010-04-02 16:47:59 +02:00
Fabien Potencier
14ea0dacae
[CssSelector] added the component
2010-03-31 18:26:38 +02:00
Fabien Potencier
dc1bc88279
[Yaml] fixed YAML parser when mbstring.func_overload is used with an mbstring.internal_encoding different from ASCII
2010-03-29 12:40:22 +02:00
Bongiraud Dominique
4bd865de67
[Routing]fix bug
2010-03-28 19:03:00 +02:00
Bongiraud Dominique
8b45fcc7de
[DependencyInjection]fix bug
2010-03-28 19:02:36 +02:00
Fabien Potencier
bfef03a1cb
[Routing] fixed a warning when using a sub-class of UrlGenerator
2010-03-26 16:18:26 +01:00
Fabien Potencier
c69410ccde
[DependencyInjection] fixed Container::getService() when the service is empty ( closes #8456 )
2010-03-25 14:04:48 +01:00
Fabien Potencier
9606402b6f
[RequestHandler] changed the Request constructor signature to be more explicit
2010-03-25 08:55:50 +01:00
Fabien Potencier
c295db682d
[Foundation] removed the old class loader
2010-03-24 15:03:58 +01:00
Fabien Potencier
bc9bbd8436
[Yaml] added support for compact inline notation with immediate sub mapping
2010-03-24 15:02:49 +01:00
Fabien Potencier
a248fc133b
[Yaml] reverted previous commit
2010-03-24 12:10:26 +01:00
Fabien Potencier
d4f724ab4e
finished the conversions of unit tests to PHPUnit
2010-03-18 15:26:21 +01:00
Fabien Potencier
7f0ace8521
[WebBundle] changed the helper configuration to match the latest version of the Templating component
2010-03-13 14:43:06 +01:00
Fabien Potencier
bf08289e18
[Templating] remove Engine as a dependency for the Helper objects
2010-03-13 14:42:33 +01:00
Fabien Potencier
bce240badd
[Templating] added missing use statement
2010-03-13 14:29:56 +01:00
Fabien Potencier
7d19d8e375
[Yaml] fixed parsing of folded scalars when a # sign starts a line
2010-03-12 15:57:19 +01:00
Fabien Potencier
7c9559bc26
[Foundation] made some performance optimizations (if you change a parameter in a .htaccess or httpd.conf, you now need to flush the cache - should not be a big deal)
2010-03-12 11:54:22 +01:00
Fabien Potencier
98987b0f88
[Foundation] fixed typo
2010-03-12 11:22:19 +01:00
Jonathan H. Wage
08617caf56
[DoctrineBundle] Fixing issue with paths not being the realpath and causing issues when comparing string paths in Doctrine
2010-03-11 11:12:56 +01:00
Fabien Potencier
573f95a80c
[DoctrineBundle] fixed typo
2010-03-10 22:41:05 +01:00
Fabien Potencier
e17c43d7b2
Merge branch 'master' of github.com:fabpot/symfony
...
* 'master' of github.com:fabpot/symfony:
[Console] added __get() to Command to have shorter and more readable code in commands
[Console] fixed default message layout
[Routing] added requirements checking when generating a route
[Routing] changed matching to only check for method if it is available in the context
[Routing] fixed typo
2010-03-10 22:30:56 +01:00
Fabien Potencier
fff133414d
[DoctrineBundle] fixed the overridding of an Entity
2010-03-10 22:29:45 +01:00
Fabien Potencier
d229ce584f
[Console] added __get() to Command to have shorter and more readable code in commands
2010-03-10 17:01:50 +01:00
Fabien Potencier
7c727355d1
[Console] fixed default message layout
2010-03-10 15:15:21 +01:00
Fabien Potencier
0d05db0afc
[Routing] added requirements checking when generating a route
2010-03-10 12:58:40 +01:00
Fabien Potencier
2bc47f13f5
[Routing] changed matching to only check for method if it is available in the context
2010-03-10 12:58:40 +01:00
Fabien Potencier
e582408188
[Routing] fixed typo
2010-03-10 12:58:40 +01:00
Jordi Boggiano
dad75524fc
[ProfilerBundle] Allows the BundleStorage to use PDO_SQLITE as well as SQLite3 and fixes a bug in purge()
...
Signed-off-by: Jordi Boggiano <j.boggiano@seld.be>
2010-03-09 07:12:45 +01:00
Pascal Borreli
e182853ef0
[Foundation] fixed a typo
2010-03-09 07:04:18 +01:00
Pascal Borreli
ed6ffb502f
[RequestHandler] fixed a typo
2010-03-09 07:03:43 +01:00
Fabien Potencier
75c922884e
[Console] removed the application name in help
2010-03-07 14:58:55 +01:00
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
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
Jonathan H. Wage
f87f890b7a
[DoctrineBundle] made the ORM integration of DoctrineBundle usable
2010-02-22 12:01:11 +01:00
Fabien Potencier
0dcaabfc8c
[Foundation] added kernel.bundles to the list of default parameters of the DIC
2010-02-22 11:57:59 +01:00
Fabian Lange
62c2ef65f8
[Yaml] removed the unused value property from Parser. Tweaked one-line check to be self explaining
2010-02-22 11:48:26 +01:00
ever.zet
71bf2b6a95
render & output methods
2010-02-22 11:40:11 +01:00
Damon Jones
d2da3f73f4
[WebBundle] Switch the order of the response status codes in the RedirectController's redirectAction
2010-02-22 11:38:22 +01:00
Fabien Pennequin
0b5f017084
[WebBundle] Fixed some typos in skeleton config files
2010-02-22 01:47:32 +01:00
Nils Adermann
61f3603a7a
[DoctrineBundle] Don't mix "user" and "username"
...
The Doctrine Bundle refered to "username" in some places and to user in others.
Namely the schema and the DoctrineExtension have been updated to use "user".
I chose user rather than username because Doctrine uses that term itself.
2010-02-19 14:58:16 +01:00
Fabien Potencier
1d8a65a1b5
[WebBundle] made some error messages better
2010-02-19 08:20:36 +01:00
Fabien Potencier
e36b981562
[WebBundle] fixed coding standards for the Finder class
2010-02-19 08:17:22 +01:00
Fabien Potencier
5c18fa9669
[WebBundle] renamed GlobToRegex to Glob and fix method names
2010-02-19 07:59:36 +01:00
Fabien Potencier
bf8ffc47a4
[WebBundle] removed unneeded code
2010-02-18 10:43:44 +01:00
Fabien Potencier
5bf8908f6b
[Framework] added the Symfony 2 full-stack framework code (Preview Release - alpha)
2010-02-17 14:55:05 +01:00
Fabien Potencier
38aef98694
[Foundation] added the missing parts of Symfony Foundation
2010-02-17 14:54:36 +01:00
Fabien Potencier
4a002d78af
[Routing] added the Routing component
2010-02-17 14:53:31 +01:00
Fabien Potencier
0218245976
[RequestHandler] added the Request Handler component
2010-02-17 14:53:18 +01:00
Fabien Potencier
67964d0daa
[Foundation] added a check to the Universal class loader
2010-02-17 10:11:02 +01:00