Fabien Potencier
e983029ddc
Revert "fixed link generation when doing sub-requests"
...
This reverts commit f8ba68332f
.
2010-04-25 16:16:05 +02:00
Fabien Potencier
f8ba68332f
fixed link generation when doing sub-requests
2010-04-25 16:15:20 +02:00
Fabien Potencier
ee799f6f6f
[RequestHandler] changed Request to use the headers bag when appropriate
2010-04-25 13:34:34 +02:00
Fabien Potencier
038f7d7bb4
[RequestHandler] added getPort() and setMethod() to Request
2010-04-25 13:34:02 +02:00
Fabien Potencier
1bce64678f
[RequestHandler] fixed cloning of Request instances
2010-04-25 13:32:45 +02:00
Fabien Potencier
3074f12727
[RequestHandler] added a way to delete a parameter from a RequestBag instance
2010-04-25 13:20:55 +02:00
Fabien Potencier
711b3d371a
fixed request management
...
* The "main" request is stored in the RequestHandler
* The request is passed to the core.response event
2010-04-25 13:18:42 +02:00
Fabien Potencier
52acc423d0
[RequestHandler] added the RequestHandlerInterface
2010-04-24 15:48:49 +02:00
Fabien Potencier
d498de88f0
[RequestHandler] removed RequestInterface and ResponseInterface, added RequestHandlerInterface (removed the run() method)
2010-04-24 09:39:13 +02:00
Pascal Borreli
b5089133d2
fixed typos and phpdoc
2010-04-24 09:25:44 +02:00
Jonathan H. Wage
20cc9b9669
Changing how command names are parsed to allow multiple levels of namespaces
2010-04-23 19:02:46 +02:00
Jonathan H. Wage
0c78e9f121
Adding feature to Command help that allows you to use %command.name% and %command.full_name% patterns so you don't have to hardcode the command name in help text.
2010-04-23 19:02:17 +02:00
Fabien Potencier
27057fe6ae
[RequestHandler] fixed request headers
2010-04-23 10:08:24 +02:00
Fabien Potencier
8d8afd992b
[RequestHandler] fixed request headers
2010-04-23 10:07:24 +02:00
Fabien Potencier
16d406a9da
fixed coding standards
2010-04-23 08:29:46 +02:00
Fabien Potencier
ab7adbff2b
[BrowserKit] fixed cookie management
2010-04-22 07:22:44 +02:00
Fabien Potencier
20527a0a5b
[BrowserKit] added a __toString() method to the Client to ease debugging
2010-04-21 13:28:59 +02:00
Fabien Potencier
1194520b83
[BrowserKit] added a way to automatically follow redirects
2010-04-21 13:17:50 +02:00
Fabien Potencier
fcda253a1b
added full support for functional tests
2010-04-21 12:05:34 +02:00
Fabien Potencier
6060d015eb
[Finder] fixed ugly code
2010-04-21 11:16:57 +02:00
Pascal Borreli
a21004a886
[Process] fixed phpdoc
2010-04-21 11:14:09 +02:00
Pascal Borreli
5b8a88476b
[DomCrawler] fixed phpdoc
2010-04-21 11:13:52 +02:00
Fabien Potencier
72fe9fa52f
[Finder] added the component
2010-04-21 11:11:38 +02:00
Katsuhiro OGAWA
9313e2607d
[RequestHandler] Fixed missing variables in RequestBag
2010-04-21 07:50:19 +02:00
Pierre Minnieur
ffc8964003
[BrowserKit] fixed phpdoc
2010-04-20 14:57:57 +02:00
Fabien Potencier
fb43314653
[BrowserKit] fixed typo
2010-04-19 22:10:22 +02:00
Fabien Potencier
fc72050eeb
[Console] fixed typo
2010-04-19 16:01:33 +02:00
Fabien Potencier
79b39157e2
[BrowserKit] added the component
2010-04-19 14:12:42 +02:00
Fabien Potencier
e09f730243
[DomCrawler] fixed DomCrawler::parseUri()
2010-04-19 12:01:47 +02:00
Fabien Potencier
6d4fb5e4a8
[RequestHandler] updated phpdoc for Response::setCookie()
2010-04-19 09:45:39 +02:00
Fabien Potencier
1c0a18d1b4
[DomCrawler] added Crawler::addContent()
2010-04-19 08:33:45 +02:00
Fabien Potencier
2d74ea7e23
[Process] fixed typo
2010-04-19 07:44:41 +02:00
Fabien Potencier
865031fa24
[Process] made the callback optional
2010-04-18 09:27:43 +02:00
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