[TwigBundle] implemented context auto-escaping in Twig templates based on the template extension
[Routing] Compiler: fix in the computing of the segment separators
[Routing] Compiler: remove lazy quantifiers with no effect
merged branch vicb/routingmatcher (PR #4170)

Commits
-------

a196ca0 [Routing] Compiler: remove lazy quantifiers with no effect
8232aa1 [Routing] Compiler: fix in the computing of the segment separators

Discussion
----------

[Routing] Fix the matching process

This PR is based on the PR #3678, #4139.

[![Build Status](https://secure.travis-ci.org/vicb/symfony.png?branch=routingmatcher)](http://travis-ci.org/vicb/symfony)

**The spec**

A pattern is composed of both text and variable segments: `/{variable}-test/{other_variable}`.

A variable segment will match anything until a separator is encountered. The separator is the character following the variable segment when available or preceding the variable otherwise (i.e. at the end of the pattern).

That is:

* the separator is `-` for the `variable`,
* the separator is `/` for the `other_variable`.

*Note: This default matching behavior can be overridden if a requirement is specified for a variable)*

**Fixes**

* The current behavior is to consider booth the preceding and following characters as separators (considering availability),
* The "preceding" separator of the first variable is always set to `/` whatever the preceding character is (due to `$pos = 0` for the first iteration).

**Todo**

Update the doc once this is merged
[Validator] Fix a bug in the ExecutionContext
[Validator] Some cleanup of the GraphWalker
[Validator] Add a base AbstractLoader
updated minimum PHP version to 5.3.3

5.3.3 has some interesting fixes and this is the version used by
Redhat 6 and Debian 6
fixed Travis configuration
merged branch vicb/validator/fix (PR #4200)

Commits
-------

bdc21b4 [Validator] Add a base AbstractLoader
ead4908 [Validator] Some cleanup of the GraphWalker
23e15bb [Validator] Fix a bug in the ExecutionContext

Discussion
----------

[Validator] Fix/cleanup

Bug fix: yes
Feature addition: no
Backwards compatibility break: yes
Symfony2 tests pass: [![Build Status](https://secure.travis-ci.org/vicb/symfony.png?branch=validator/fix)](http://travis-ci.org/vicb/symfony)

* d2100a27 has some fixes for the EC,
* 51769e03 has some cleanup in the graph walker,
* f9b3591c add an AbstractLoader (namespace aliases does not belong to FileLoaders).

---------------------------------------------------------------------------

by vicb at 2012-05-07T08:32:40Z

@fabpot PR ready
merged branch symfony/escaping-839 (PR #4105)

Commits
-------

1e84f1e [TwigBundle] implemented context auto-escaping in Twig templates based on the template extension

Discussion
----------

[2.2] Implements context escaping for Twig (fixes #839)
[TwigBundle] updated CHANGELOG
[DependencyInjection] made a small cleanup
[DependencyInjection] fixed anonymous services handling in XmlFileLoader

Previous to this commit, it was not possible to have anonymous services
as arguments AND anonymous services in custom configs
[DependencyInjection] added support for anonymous services as properties (closes #2964)
[DomCrawler] converted all usage of filter() to filterXPath() in unit tests to be less dependent on CssSelector
[DomCrawler] fixed encoding when using addHtmlContent() (fixes #3881)
[HttpFoundation] fixed docblock typos in session class
[DependencyInjection] Add ParameterBag::remove
[Routing] Fix a regression introduced by #4170