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
Fabien Potencier
5cdee87b14
[Templating] added an output method to Engine
2010-02-15 15:31:16 +01:00
Fabien Potencier
9e5718cff1
[DependencyInjection] added a way to configure extensions in plain PHP, added a fluent interface to BuilderConfiguration
2010-02-14 14:57:17 +01:00
Fabien Potencier
4735bf88a3
[DependencyInjection] fixed XSD validation local path locations for extensions
2010-02-13 10:39:35 +01:00
Fabien Potencier
5d8529740a
[DependencyInjection] added the extension files in the list of loaded resources
2010-02-12 17:44:52 +01:00
Fabien Potencier
8e81bbbb4e
[Yaml] added specific exception classes
2010-02-11 20:11:30 +01:00
Fabien Potencier
97d6f76633
[Yaml] finished the renaming of YAML to Yaml
2010-02-11 19:29:50 +01:00
sensio
6b03670de6
[YAML] renamed YAML component to Yaml
2010-02-11 14:44:20 +01:00
Fabien Potencier
0cfdf2cbda
[DependencyInjection] fixed namespace problem when dumping to PHP
2010-02-09 11:35:07 +01:00
Fabien Potencier
7a26b42f19
[DependencyInjection] added annotations support in the service Definition
2010-02-09 09:45:23 +01:00
Fabien Potencier
661a1cfb5f
[DependencyInjection] removed Iterator interface support from Container as there is no real-world use case
2010-02-08 18:39:11 +01:00
Fabien Potencier
6b90eeb69c
[Templating] made a small speed optimization to some helpers
2010-02-07 11:20:08 +01:00
Fabien Potencier
7fce03c5bd
[Templating] renamed content slot to _content to avoid name collisions
2010-02-06 13:30:24 +01:00
Fabien Potencier
da364173cb
[Templating] refactored helpers, added helper slots, made some speed optimizations
2010-02-05 15:54:34 +01:00
Fabien Potencier
ec2a3bc417
[DependencyInjection] removed the built-in extensions
2010-02-05 15:50:05 +01:00
Fabien Potencier
8ff8464420
[Templating] renamed the template object in templates to view instead of this
2010-02-04 18:19:07 +01:00
Fabien Potencier
28554c5d08
[DependencyInjection] fixed XSD validation on Windows
2010-02-04 14:29:55 +01:00
Fabien Potencier
9a478f134a
[DependencyInjection] made extension entry points configurable
2010-02-04 14:29:33 +01:00
Fabien Potencier
2a7abb8ea0
[DependencyInjection] tweaked an error message to ease debugging
2010-02-03 15:40:26 +01:00
Fabien Potencier
967eb8d953
[DependencyInjection] made a small optimization
2010-02-02 18:47:39 +01:00
Fabien Potencier
b599ac9ef6
[DependencyInjection] removed usage of realpath() to be compatible with phar
2010-02-02 18:47:28 +01:00
Fabien Potencier
94f6e78ce4
[Templating] optimized the cache directory of CacheLoader (especially if there is a large number of templates)
2010-02-02 16:59:13 +01:00
Fabien Potencier
6ef1f07729
[Templating] fixed CacheLoader when more options are given
2010-02-02 14:24:22 +01:00
Fabien Potencier
8427af6389
[Templating] fixed CacheLoader
2010-02-02 14:05:05 +01:00
Fabien Potencier
287fa45dc7
[Templating] made a small speed optimization
2010-02-02 14:04:35 +01:00
Fabien Potencier
5b619bfa2d
[Templating] fixed bug when the cache dir does not exist
2010-02-02 14:03:55 +01:00
Fabien Potencier
e5f8da4ead
[Templating] added a getContent() method to the Storage class
2010-02-02 14:01:02 +01:00
Fabien Potencier
3caa805c48
[DependencyInjection] fixed bug when disabling all helpers in the Templating extension
2010-02-02 13:20:22 +01:00
Fabien Potencier
38c4b29555
[DependencyInjection] fixed Builder when trying to override an alias with a definition or the other way around
2010-02-02 11:45:21 +01:00
Dennis Benkert
dd5c73b5db
[YAML] removed echoln() function (they are other means to achieve the same thing more elegantly)
2010-02-02 09:14:51 +01:00
Dennis Benkert
0893600f0e
[YAML] fixed coding standards
2010-02-02 09:13:57 +01:00
Fabien Potencier
b0614ef0e1
[DependencyInjection] made some more tweak to the Doctrine extension
2010-02-01 17:55:40 +01:00
Fabien Potencier
b58c685508
[DependencyInjection] added a way to change the DBAL driver in the Doctrine extension
2010-02-01 05:12:12 +01:00
Fabien Potencier
9b3eec8861
[DependencyInjection] made a small speed optimization
2010-01-31 20:32:51 +01:00
Fabien Potencier
2f441df2ba
[DependencyInjection] made a bunch of changes to the bundled extensions
2010-01-31 17:27:25 +01:00
Fabien Potencier
8ddac2669b
[EventDispatcher] added some setters/getters to Event
2010-01-31 17:25:01 +01:00
Fabien Potencier
07817ba7d8
[DependencyInjection] changed service name for Doctrine DBAL
2010-01-30 12:27:12 +01:00
Fabien Potencier
ae7d911bce
[Templating] added a safeguard when no debugger is available
2010-01-30 12:26:55 +01:00
Fabien Potencier
e1aae4b820
[Templating] changed filesystem loader to only logged failed paths when not able to load the template
2010-01-29 21:53:29 +01:00
Fabien Potencier
d372ae8efe
[DependencyInjection] added a debugger to the Templating extension
2010-01-29 21:52:53 +01:00
Fabien Potencier
2fa08f4b49
[DependencyInjection] added a logger to the Doctrine DBAL extension
2010-01-29 21:52:24 +01:00
Fabien Potencier
bb8b4b74ca
[DependencyInjection] fixed typos
2010-01-29 13:33:59 +01:00
Fabien Potencier
41d35ab898
[Templating] added a getLoader() to the Engine class
2010-01-29 12:05:43 +01:00
Fabien Potencier
340a4e97c1
[Templating] added an explicit error message when a method does not exist in __call()
2010-01-29 09:52:03 +01:00
Fabien Potencier
81af3d6a58
[Templating] added a way to change renderers after the Engine is created
2010-01-29 09:51:39 +01:00
Fabien Potencier
26f1434b14
[OutputEscaping] refactor the component to take advantage of new PHP 5.3 features
2010-01-29 09:06:14 +01:00
Fabien Potencier
5c20bfec92
[Templating] changed the load() signature for loaders to allow for more flexibility
2010-01-28 07:56:34 +01:00
Fabien Potencier
869a4698ed
[Templating] fixed coding standards
2010-01-28 07:05:53 +01:00
Fabien Potencier
f8e3b4b035
[DependencyInjection] added a __call() method to Container to allow usage of getXXXService() methods even whithout a PHP dump (allows for faster production environments)
2010-01-27 11:10:45 +01:00
Fabien Potencier
7b2a968e31
[DependencyInjection] made a small optimization
2010-01-27 11:00:39 +01:00
Fabien Potencier
c2d4ab784b
[DependencyInjection] optimized (get|has)Service() methods as PHP method names are case insensitive
2010-01-27 09:37:32 +01:00
Fabien Potencier
e127c39f29
[DependencyInjection] fixed coding standards
2010-01-24 22:46:32 +01:00
Fabien Potencier
a2a7e4f6b7
[DependencyInjection] made an optimization to the Templating extension when only one loader is registered
2010-01-22 08:09:51 +01:00
Fabien Potencier
2ac6faaa0b
[DependencyInjection] changed the order of priority when a service is both defined with setService() and with a getXXXService() method
2010-01-22 07:58:49 +01:00
Fabien Potencier
dd759bd0b6
[DependencyInjection] allowed to disabled the helpers in the templating extension
2010-01-22 07:58:45 +01:00
Fabien Potencier
ce6f676eb2
[DependencyInjection] made another speed optimization
2010-01-21 22:00:29 +01:00
Fabien Potencier
c9d0a73fe3
[DependencyInjection] made a speed optimization
2010-01-21 21:29:22 +01:00
Fabien Potencier
ee3e298c5d
[Console] added a ways to add common behaviors to commands extending a common command
2010-01-20 15:58:25 +01:00
Fabien Potencier
c0ee9fee18
[DependencyInjection] fixed typo
2010-01-19 20:18:51 +01:00
Fabien Potencier
ab7533e6c0
[DependencyInjection] removed unneeded cast
2010-01-19 14:11:57 +01:00
Fabien Potencier
684ffc83e6
[DependencyInjection] added a check to ease debugging when a service id is not a string
2010-01-19 13:29:28 +01:00
Fabien Potencier
c0152e1bba
[DependencyInjection] disable the possibility to have a reference in parameters (as it breaks as soon as you want to use the PHP dumper with no solution - performance wise)
2010-01-18 14:01:29 +01:00
Fabien Potencier
63e7dda4c8
[DependencyInjection] fixed Resource interface
2010-01-18 12:00:00 +01:00
Fabien Potencier
bb3340d950
[DependencyInjection] added autodetection of resource format when importing a resource in an XML or YAML file
2010-01-18 09:19:39 +01:00
Fabien Potencier
53980bb55e
[DependencyInjection] added a way to retrieve loaded resources
2010-01-18 09:08:37 +01:00
Fabien Potencier
e9e2899cda
[DependencyInjection] simplified loaders (the load method only accept one resource now)
2010-01-17 11:16:50 +01:00
Fabien Potencier
a5871688a7
[DependencyInjection] oops, fixed the previous commit
2010-01-15 17:07:36 +01:00
Fabien Potencier
c8fc0a7ff3
[DependencyInjection] renamed the default schema URLs
2010-01-15 15:53:07 +01:00
Fabien Potencier
3a1ae543e5
[DependencyInjection] removed dead code
2010-01-15 14:22:23 +01:00
Fabien Potencier
76e2a66146
[DependencyInjection] removed unneeded code
2010-01-15 14:20:42 +01:00
Fabien Potencier
b333379e5c
[DependencyInjection] fixed PHPDoc
2010-01-15 14:07:23 +01:00
Fabien Potencier
150d3b4a75
[DependencyInjection] fixed coding standards
2010-01-15 14:01:49 +01:00
Fabien Potencier
ee7deaa5ee
[DependencyInjection] added a BuilderConfiguration::findService() to allows some optimizations when building a complex graph of dependencies in an extension
2010-01-15 11:35:25 +01:00
Fabien Potencier
11acd0e78b
[DependencyInjection] added some usage examples in the PHPDoc
2010-01-15 11:00:29 +01:00
Fabien Potencier
008d9da88f
[Console] added the version to the default shell prompt
2010-01-15 08:31:27 +01:00
Fabien Potencier
a40f48ce39
[Console] added ? as an alias for the help command
2010-01-15 08:31:09 +01:00
Fabien Potencier
4cfae0a266
[DependencyInjection] added an extension for the Zend Framework
2010-01-15 08:18:05 +01:00
Fabien Potencier
5e555d3d1a
[DependencyInjection] added an extension for the Symfony Templating Component
2010-01-14 18:34:03 +01:00
Fabien Potencier
392ab46952
[DependencyInjection] fixed Extension conversion from XML to PHP when the same tag is used more than once
2010-01-14 18:28:35 +01:00
Fabien Potencier
0aa50417cb
[DependencyInjection] fixed Doctrine DBAL parameter names
2010-01-14 18:23:15 +01:00
Fabien Potencier
7e2d6c0043
[DependencyInjection] added some missing accessors
2010-01-14 18:22:29 +01:00
Fabien Potencier
1a0bcd141a
[Console] added a new writeln() method to the Output classes
2010-01-14 15:40:25 +01:00
Fabien Potencier
104ee29f4e
[DependencyInjection] added some extensions
2010-01-14 12:17:07 +01:00
Fabien Potencier
6092709537
[Console] changed the subpackage from cli to console
2010-01-14 12:16:44 +01:00
Fabien Potencier
7a0586efb7
[Console] refactored helpers
2010-01-14 12:11:32 +01:00
geoffrey
e7dfdab05f
[Console] implemented helpers and moved formatter and ask* methods to their own helpers
2010-01-14 12:11:27 +01:00
Fabien Potencier
111a023466
[DependencyInjection] added some extensions
2010-01-14 11:36:34 +01:00
Fabien Potencier
5592580b32
[Console] refactored helpers
2010-01-14 11:19:24 +01:00
geoffrey
eb5b12ff46
[Console] implemented helpers and moved formatter and ask* methods to their own helpers
2010-01-14 11:19:13 +01:00
Fabien Potencier
d996e5535b
[Console] added a Shell
2010-01-14 11:18:50 +01:00
Fabien Potencier
52c4d163db
[Console] refactored helpers
2010-01-14 11:18:21 +01:00
geoffrey
6422483df3
[Console] implemented helpers and moved formatter and ask* methods to their own helpers
2010-01-14 11:18:21 +01:00
Fabien Potencier
f3705edb7e
[Console] changed the subpackage from cli to console
2010-01-14 11:18:21 +01:00
Fabien Potencier
7074036924
[Console] fixed typo
2010-01-14 10:56:23 +01:00
Fabien Potencier
ad1d11b032
[Console] added a Shell
2010-01-14 10:48:22 +01:00
Fabien Potencier
81340d349b
[Foundation] updated the autoloader, added a new one
2010-01-13 16:55:58 +01:00
Fabien Potencier
a4adc3f1ca
[DependencyInjection] made the loader extensions much more reliable and robust
2010-01-13 11:25:28 +01:00
Fabien Potencier
e9ad8512f3
renamed CLI component to Console
2010-01-09 12:57:15 +01:00
Fabien Potencier
41bc39ba61
[CLI] renamed Argument to InputArgument, Option to InputOption, and Definition to InputDefinition
2010-01-08 11:00:18 +01:00
Dennis Benkert
a650af8f00
deleted phpdoc @version tag in YAML component
2010-01-05 11:18:31 +01:00
Dennis Benkert
96bed6223d
deleted phpdoc @version tag in Templating component
2010-01-05 11:17:43 +01:00
Dennis Benkert
72c2c0fb74
deleted phpdoc @version tag in OutputEscaping component
2010-01-05 11:15:27 +01:00
Dennis Benkert
5242974570
deleted phpdoc @version tag in EventDispatcher component
2010-01-05 11:13:51 +01:00
Dennis Benkert
b720687445
deleted phpdoc @version tag in DependencyInjection component
2010-01-05 11:10:42 +01:00
Fabien Potencier
1e3e8c760e
changed the default version if nothing is provided by the developer
2010-01-04 20:01:46 +01:00
Fabien Potencier
f7752f79a0
renamed Task to Command (as in Command Line Interface)
2010-01-04 19:51:21 +01:00
pborreli
3dc0d16f67
replaced double negative with true ===
2010-01-05 01:58:30 +08:00
Fabian Lange
557bb48f1b
my first git commit fixing some typos
2010-01-05 01:57:28 +08:00
Fabien Potencier
6feaecf2fa
added the CLI component
2010-01-04 15:42:28 +01:00
Fabien Potencier
65d0750168
added some Symfony 2 components
2010-01-04 15:26:20 +01:00