Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Mar 18, 2012
  1. @fabpot

    updated VERSION for 2.0.12

    fabpot authored
Commits on Mar 17, 2012
  1. @fabpot

    merged branch nodrew/2.0 (PR #3625)

    fabpot authored
    Commits
    -------
    
    8642473 Changed instances of \DateTimeZone::UTC to 'UTC' as the constant is not valid a produces this error when DateTimeZone is instantiated: DateTimeZone::__construct() [<a href='datetimezone.--construct'>datetimezone.--construct</a>]: Unknown or bad timezone (1024)
    
    Discussion
    ----------
    
    [Locale] DateTimeZone called incorrectly by default
    
    Bug fix: yes
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: no (there were two tests that were failing previously, that still fail)
    Fixes the following tickets: none
    Todo: none
    
    While running, a warning throws every single time when the code
    
    ```php
    new \DateTimeZone(\DateTimeZone::UTC);
    ```
    is encountered. It is normally caught as a thrown exception and then corrected here:
    
    ```php
    // src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php:442
            try {
                $this->dateTimeZone = new \DateTimeZone($timeZoneId);
            } catch (\Exception $e) {
                $this->dateTimeZone = new \DateTimeZone('UTC');
            }
    ```
    
    However in my particular infrastructure, for whatever reason in production only, it causes an error to appear on shutdown in the logs. As ultimately the constant can NEVER pass, it should not be attempted with the constant. Instead, the correct 'UTC' should be passed in (as done in the catch statement).
  2. @fabpot

    merged branch pulzarraider/webprofiler_serch_ipv6_fix (PR #3626)

    fabpot authored
    Commits
    -------
    
    54b2413 Webprofiler ipv6 search fix
    
    Discussion
    ----------
    
    [WebProfilerBundle] ipv6 search fix
    
    Bug fix: yes
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: yes
    Fixes the following tickets: -
    Todo: -
Commits on Mar 16, 2012
  1. @pulzarraider
  2. Changed instances of \DateTimeZone::UTC to 'UTC' as the constant is n…

    Drew Butler authored
    …ot valid a produces this error when DateTimeZone is instantiated: DateTimeZone::__construct() [<a href='datetimezone.--construct'>datetimezone.--construct</a>]: Unknown or bad timezone (1024)
Commits on Mar 15, 2012
  1. @arnapou
  2. @fabpot

    merged branch vicb/twig_cfg/2.0 (PR #3545)

    fabpot authored
    Commits
    -------
    
    eee5065 [TwigBundle] Workaround a flaw in the design of the configuration (normalization)
    
    Discussion
    ----------
    
    [TwigBundle] Workaround a flaw in the design of the configuration (norma...
    
    ...lization)
    
    see #2823
    
    @Seldaek please comment.
    
    ---------------------------------------------------------------------------
    
    by Seldaek at 2012-03-09T20:52:47Z
    
    It seems fine at first glance. I don't have time to look at it in detail right now sorry.
  3. @xavierbriand

    Revert "Throw exception when "date_widget" option is not equal to "ti…

    xavierbriand authored
    …me_widget""
    
    This reverts commit 3c2539f.
    
    Conflicts:
    
    	tests/Symfony/Tests/Component/Form/Extension/Core/Type/DateTimeTypeTest.php
Commits on Mar 14, 2012
  1. @fixe

    Fixed an "Array to string conversion" warning when using PHP 5.4. Als…

    fixe authored
    …o affects Symfony2 master.
  2. @fabpot

    merged branch alan0101c/datatransformer-tz-fix (PR #3589)

    fabpot authored
    Commits
    -------
    
    17c3482 fixed timezone bug in DateTimeToTimestampTransformer
    
    Discussion
    ----------
    
    [FIX]fixed timezone bug in DateTimeToTimestampTransformer
    
    After several trials, I found out that the original code
    
    ```php
    $dateTime = new \DateTime(sprintf("@%s %s", $value, $this->outputTimezone));
    ```
    would create a DateTime object with timezone being '0000', even though $this->outputTimezone is set to my local timezone.
    
    so I expanded the code a bit and it's working now.
    
    PHP Test code,
    
    ```PHP
    $d = new DateTime("@1234567890 Asia/Tokyo");
    echo date_format($d, 'Y/m/d H:i:s')."\n";
    echo $d->getTimezone()->getName()."\n";
    
    $d = new DateTime("now Asia/Hong_Kong");
    echo date_format($d, 'Y/m/d H:i:s')."\n";
    echo $d->getTimezone()->getName()."\n";
    ```
    
    The output is as followed:
    2009/02/13 23:31:30
    +00:00
    2012/03/13 03:35:55
    Asia/Hong_Kong
    
    This could be a bug of PHP,
    
    ---------------------------------------------------------------------------
    
    by stealth35 at 2012-03-13T15:54:31Z
    
    :+1:
  3. Fixed proxy generation in the DoctrineBundle when using Doctrine >= 2…

    Martin Parsiegla authored
    ….2.0
Commits on Mar 13, 2012
  1. @fabpot

    merged branch vicb/validator/race_2.0 (PR #3587)

    fabpot authored
    Commits
    -------
    
    93cc9ef [Validator] Remove a race condition in the ClassMetaDataFactory (fix #3217)
    
    Discussion
    ----------
    
    [Validator] Remove a race condition (fix #3217)
    
    #3581 for 2.0
  2. @vicb
  3. @stof

    Fixed autoloader leakage in tests

    stof authored
    The autoloader for proxies is now unregistered on shutdown to avoid
    having several instances registered at the same time in tests.
Commits on Mar 12, 2012
  1. @alan0101c
  2. @fabpot

    merged branch iambrosi/issue2653 (PR #3564)

    fabpot authored
    Commits
    -------
    
    aa53b88 Sets _format attribute only if it wasn't set previously by the user
    
    Discussion
    ----------
    
    Sets _format attribute only if it wasn't set previously by the user.
    
    Fixes #2653
  3. @meandmymonkey
  4. @meandmymonkey
Commits on Mar 11, 2012
  1. @iambrosi
  2. @fabpot

    fixed CS

    fabpot authored
  3. @fabpot
  4. @stof
  5. @stof

    [Form] Moved the Validator component to the suggest section

    stof authored
    There is no hard dependency to the Validator component.
Commits on Mar 10, 2012
  1. @fabpot

    merged branch stealth35/patch-18 (PR #3542)

    fabpot authored
    Commits
    -------
    
    7aad478 [Locale] Prevent empty bundle
    
    Discussion
    ----------
    
    [Locale] Prevent empty bundle
    
    Bug fix: yes
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: [![Build Status](https://secure.travis-ci.org/stealth35/symfony.png?branch=patch-18)](http://travis-ci.org/stealth35/symfony)
    Fixes the following tickets: #3486
    Todo: -
  2. @clemherreman

    [BrowserKit] Fixed Client->back/forward/reload() not keeping all requ…

    clemherreman authored
    …est attributes
    
    The method used internally in these methods, Client->#requestFromRequest was badly
    passing the old request parameters to the new request.
Commits on Mar 9, 2012
  1. @vicb
  2. @stealth35
Commits on Mar 6, 2012
  1. @Seldaek
Commits on Mar 3, 2012
  1. @jcrombez
  2. @fabpot

    [EventDispatcher] fixed CS

    fabpot authored
  3. @fabpot
  4. @fabpot

    [FrameworkBundle] fixed CS

    fabpot authored
Commits on Mar 2, 2012
  1. @fabpot
  2. @stealth35
  3. @stealth35

    Only work with the cli sapi

    stealth35 authored
Something went wrong with that request. Please try again.