[HttpFoundation] optimize makeDisposition
[Process] Fixed a problem on RHEL5 where the exit code was incorrect

RHEL5 will intermittently result in an exit code of -1 [1] due to
proc_get_status() being called after the process has completed
but outside of updateStatus() which saves the exit code.

[1]: https://github.com/composer/composer/issues/876
merged branch cs278/rhel5-invalid-exitcode (PR #4970)

Commits
-------

310c458 [Process] Fixed a problem on RHEL5 where the exit code was incorrect

Discussion
----------

[Process] Fixed a problem on RHEL5 where the exit code was incorrect

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
License of the code: MIT

RHEL5 will intermittently result in an exit code of -1 due to `proc_get_status()` being called after the process has completed but outside of `updateStatus()` which saves the exit code.

See composer/composer#876
merged branch Tobion/patch-2 (PR #4968)

Commits
-------

1986e10 [HttpFoundation] optimize makeDisposition

Discussion
----------

[HttpFoundation] optimize makeDisposition
Changed $request->setDefaultLocale() to $request->setLocale() in custom LocaleListener.
merged branch mpiecko/patch-1 (PR #4977)

Commits
-------

f5e03a3 Changed $request->setDefaultLocale() to $request->setLocale() in custom LocaleListener.

Discussion
----------

Changed $request->setDefaultLocale() to $request->setLocale() in custom ...

...LocaleListener.

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

by mpiecko at 2012-07-19T13:05:07Z

This is based on my comments from https://github.com/symfony/symfony/pull/4692#issuecomment-7096255
Add a customRepository option to the uniqueEntity validator
[Routing] fixed typo
[Doctrine] [Bridge] fix repositoryMethod test
[HttpFoundation] Allow setting an unknown status code without specifying a text
[Validator] Fix bug order for constraint, property, getter and group-sequence-provider in validation.xml
[Validator] remove return value in TrueValidator
[Security] fixes multiple overlapping definitions of DefaultFailureHandler and DefaultSuccessHandler in AbstractFactory
[EventDispatcher] Rename UnmodifiableEventDispatcher to ImmutableEventDispatcher
[Form] Rename UnmodifiableFormConfig to ImmutableFormConfig
merged branch Tobion/patch-3 (PR #4984)

Commits
-------

d85650d [Validator] remove return value in TrueValidator

Discussion
----------

[Validator] remove return value in TrueValidator
merged branch Fran6co/fix-security-handlers (PR #4985)

Commits
-------

39157a8 [Security] fixes multiple overlapping definitions of DefaultFailureHandler and DefaultSuccessHandler in AbstractFactory

Discussion
----------

[Security] fixes multiple overlapping definitions of DefaultFailureHandler and DefaultSuccessHandler in AbstractFactory

If more than one listener extends AbstractFactory, you'll have multiple calls to createAuthenticationFailureHandler and createAuthenticationSuccessHandler with the same id.

Implicitly it's going to use the one generated by the last factory generating unexpected behavior.

This is related to commits 915704c0717c1b13f44468e51638761e71682da5 and c6aa392df7b1b68d7f5be0b858bd93e97a5a6cdc
merged branch Seldaek/rename (PR #4986)

Commits
-------

c81b2ad [Form] Rename UnmodifiableFormConfig to ImmutableFormConfig
274eb9e [EventDispatcher] Rename UnmodifiableEventDispatcher to ImmutableEventDispatcher

Discussion
----------

Rename unmodifiable to immutable

Maybe it's just me, but it sounded really wrong. The EventDispatcher one was added in 2.1 so no BC break. I don't know about the Form one, but I guess it's just used internally anyway.
[Console] Use proc_open instead of exec to suppress errors when run on windows and stty is not present
Merge branch '2.0'

* 2.0:
  [Console] Use proc_open instead of exec to suppress errors when run on windows and stty is not present