Commit Graph

271 Commits

Author SHA1 Message Date
Fabien Potencier
4933ddd6a8 [Process] added the component 2010-04-17 14:51:17 +02:00
Kris Wallsmith
4569ca033c [DependencyInjection] Cleaned up formatting of complex isAbsolutePath() logic. 2010-04-17 09:43:58 +02:00
Kris Wallsmith
3c07383bfb [Console] Removed reference to old test:all task. 2010-04-17 09:42:52 +02:00
Fabien Potencier
797327110b [DomCrawler] added the component 2010-04-15 14:41:42 +02:00
Fabien Potencier
13759a7fac [CssSelector] fixed XPathExpr::xpathliteral() 2010-04-15 11:53:23 +02:00
Pascal Borreli
b9fe42238a modified tests to use better PHPUnit methods 2010-04-12 17:36:49 +02:00
Pascal Borreli
3dc26a7280 [RequestHandler] dynamic method called as static 2010-04-12 17:24:22 +02:00
Fabien Potencier
28c0f493a2 [CssSelector] added missing accessors 2010-04-08 12:09:14 +02:00
Fabien Potencier
d568437d23 changed Request storage for parameters coming from PHP global variables 2010-04-08 11:15:19 +02:00
Fabien Potencier
1683f46279 [DependencyInjection] reverted 2ac6faaa0b 2010-04-08 10:43:42 +02:00
Pascal Borreli
7d106aa80e fixed typo 2010-04-08 07:11:40 +02:00
Dennis Benkert
e815a7eb2e fixed line indention coding standards 2010-04-08 07:10:08 +02:00
Pascal Borreli
eee2b74c08 [RequestHandler] Fixed coding standard : correct indentation / typo 2010-04-08 07:08:53 +02:00
Pascal Borreli
f2d75ed279 Fixed trailing whitespaces 2010-04-07 07:07:14 +02:00
Pascal Borreli
c1e357d200 Fixed @package and @subpackage phpdoc tags 2010-04-07 07:06:21 +02:00
Fabien Potencier
1b9fee18d4 [CssSelector] removed the use of lower-case() in XPath as it is not supported by PHP 2010-04-06 18:11:22 +02:00
Fabien Potencier
233a25595f [RequestHandler] fixed phpdoc 2010-04-06 17:48:47 +02:00
Fabien Potencier
85e5496d9d [RequestHandler] added Request::createFromUri() 2010-04-06 17:44:52 +02:00
Fabien Potencier
1816b8543e [DependencyInjection] fixed phpdoc 2010-04-06 16:31:51 +02:00
pborreli
7c628a98d2 fixed spelling typo 2010-04-06 16:31:08 +02:00
Fabien Potencier
bc29f81e8e [DependencyInjection] changed exception class in __call() 2010-04-06 16:18:25 +02:00
Fabien Potencier
b6d00a4e87 [RequestHandler] added files and cookies support to Request 2010-04-06 10:21:02 +02:00
Fabien Potencier
229b0cea31 [RequestHandler] fixed warning when baseUrl is empty 2010-04-06 10:00:46 +02:00
Pascal Borreli
12690a8e92 fixed @throws phpdoc tag 2010-04-05 11:48:31 +02:00
Pascal Borreli
dd7817ae62 [RequestHandler] fixed assertion in getFormat when format is associated with only one mime-type + phpunit tests 2010-04-05 11:47:10 +02:00
Pascal Borreli
8b1c1db860 [RequestHandler] fixed coding standards: the use of function is_null() is forbidden 2010-04-05 11:45:38 +02:00
Pascal Borreli
45a0d739b9 [CssSelector] fixed coding standards: removed useless else statements 2010-04-05 11:45:13 +02:00
Pascal Borreli
5d99cba7ab [CssSelector] fixed coding standards: removed perl comment style 2010-04-05 11:44:17 +02:00
Pascal Borreli
cb8fb71a73 [OutputEscaper] fixed coding standard: removed useless else statements 2010-04-05 11:44:01 +02:00
Pascal Borreli
33fb7a5ac2 [OutputEscaper] fixed coding standards: opening brace should be on a new line 2010-04-05 11:43:54 +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
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
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
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
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
e8119ce875 [OutputEscaper] renamed Safe to SafeDecorator 2010-03-02 14:06:28 +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
165b9832fe [Console] added hasOption and hasArgument to Input 2010-03-01 11:24:21 +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
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
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
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
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
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
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
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