Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 6, 2012
  1. @fabpot

    Merge branch '2.1'

    fabpot authored
    * 2.1:
      fixed CS
      added doc comments
      added doc comments
      [Validator] Updated swedish translation
      Update src/Symfony/Component/Validator/Resources/translations/validators.de.xlf
      [2.1] Exclude tests from zips via gitattributes
      [HttpKernel][Translator] Fixed type-hints
      Updated lithuanian validation translation
      [DomCrawler] Allows using multiselect through Form::setValues().
      [Translation] forced the catalogue to be regenerated when a resource is added (closes symfony/Translation#1)
      Unit test for patched method OptionsResolver::validateOptionValues().
      validateOptionValues throw a notice if an allowed value is set and the corresponding option isn't.
      [Form] Hardened code of ViolationMapper against errors
      [HttpFoundation] Fixed #5611 - Request::splitHttpAcceptHeader incorrect result order.
      [Form] Fixed negative index access in PropertyPathBuilder
      Update src/Symfony/Component/Validator/Resources/translations/validators.ro.xlf
    
    Conflicts:
    	src/Symfony/Component/DomCrawler/Form.php
    	src/Symfony/Component/Process/Process.php
Commits on Oct 4, 2012
  1. @igorw
Commits on Sep 28, 2012
  1. @fabpot

    Merge branch '2.1'

    fabpot authored
    * 2.1:
      Added Base64 encoding, decoding to MongoDBProfilerStorage
      Fix duplicated code and a field name
      refactor src/Symfony/Component/Translation/Loader/MoFileLoader.php
      fixed typo
      Update src/Symfony/Component/Validator/Resources/translations/validators.pl.xlf
      fixed issue #5596 (Broken DOM with the profiler's toolbar set in position top)
      [Form] Fixed the testsuite for PHPUnit 3.6 as travis still uses it
      added dirs generated by build-data.php in locale component to .gitignore
      [Process] Fixed bug introduced by 7bafc69.
      [Process][Tests] Prove process fail (Add more test case)
      [Process][Tests] Prove process fail
      [HttpFoundation] Fixed the tests
      [DomCrawler] Added test for supported encodings by mbstring
      [Config] Fixed preserving keys in associative arrays
      [Console] Fixed return value for Command::run
      [Locale] Fixed tests
      [Console] Fix some input tests
      [Filesystem] Fixed tests on Windows
      [Config] Fixed tests on Windows
  2. @Slamdunk

    Optimize autoload prefix in composer.json

    Slamdunk authored
    By having more specific autoload prefixes it is possible to reduce the
    number of stat calls made. Also it prevents conflicts with similar
    namespaces.
Commits on Sep 21, 2012
  1. @hason
Commits on Sep 6, 2012
  1. @fabpot

    udpated composer.json to 2.2

    fabpot authored
Commits on Aug 22, 2012
  1. @willdurand
Commits on Aug 13, 2012
  1. @bdmu

    [Filesystem] missing realpath breaking FilesystemTest class on Window…

    bdmu authored
    …s (one line of code change)
Commits on Jul 28, 2012
  1. @pborreli

    Fixed Phpdoc

    pborreli authored
  2. @pborreli
Commits on Jul 27, 2012
  1. @pborreli
Commits on Jul 25, 2012
  1. @pborreli
Commits on Jul 15, 2012
  1. @fabpot
Commits on Jul 13, 2012
  1. @fabpot

    raised the minimum version of PHP to 5.3.4 (closes #3856)

    fabpot authored
    We've raised the minimum version of PHP because of a PHP
    bug before 5.3.4:
    
    https://bugs.php.net/bug.php?id=52083
    https://bugs.php.net/bug.php?id=50027
Commits on Jul 10, 2012
  1. @aharonp
Commits on Jun 19, 2012
  1. @ErikTrapman
Commits on Jun 18, 2012
  1. @romainneutron
  2. @romainneutron

    [Filesystem] Added few new behaviors:

    romainneutron authored
     - add a IOException and a main filesystem exception interface
     - whenever an action fails, an IOException is thrown
     - add access to the second and third arguments of touch() function
     - add a recursive option for chmod()
     - add a chown() method
     - add a chgrp() method
     - Switch the 'unlink' global function in Filesystem::symlink to Filesystem::remove.
    
    BC break: mkdir() function now throws exception in case of failure instead of returning Boolean value.
Commits on Jun 16, 2012
  1. @aerialls
Commits on Jun 13, 2012
  1. @fabpot

    merged branch SamsonIT/remove_symlink_on_windows (PR #4565)

    fabpot authored
    Commits
    -------
    
    fc3ebb8 [FileSystem] added if-windows check
    0b58828 [FileSystem] remove symlinks under windows
    
    Discussion
    ----------
    
    [FileSystem] remove symlinks under windows
    
    Bug fix: yes
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: yes
    
    When installing assets on Windows with symlink, the following error occurs when symlink-folders already exist. This PR makes sure symlink-folders are removed under Windows.
    
    ```
    $ app/console assets:install web --symlink
    Installing assets using the symlink option
    Installing assets for Symfony\Bundle\FrameworkBundle into web/bundles/framework
    
      [ErrorException]
      Warning: symlink(): Cannot create symlink, error code(1314) in C:\workspace\erik\roompot\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php line 167
    
    assets:install [--symlink] [--relative] target
    ```
    
    ---------------------------------------------------------------------------
    
    by travisbot at 2012-06-13T09:00:42Z
    
    This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1608541) (merged 0b58828 into 37550d2).
    
    ---------------------------------------------------------------------------
    
    by travisbot at 2012-06-13T14:39:32Z
    
    This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1611288) (merged fc3ebb8 into 0f67ca8).
  2. @ErikTrapman
  3. @stealth35
  4. @ErikTrapman
Commits on May 15, 2012
  1. @fabpot

    fixed phpdoc @param alignment

    fabpot authored
  2. @fabpot

    added @ to all chmod() calls to avoid PHP warnings (operation not per…

    fabpot authored
    …mitted) when using CIFS or NTFSa (closes #2125)
Commits on May 7, 2012
  1. @fabpot

    updated minimum PHP version to 5.3.3

    fabpot authored
    5.3.3 has some interesting fixes and this is the version used by
    Redhat 6 and Debian 6
Commits on May 1, 2012
  1. @fabpot

    merged branch willdurand/fix-components (PR #4155)

    fabpot authored
    Commits
    -------
    
    c195957 [Components] Tests/Autoloading fixes
    
    Discussion
    ----------
    
    Fix components
    
    See #4141
    
    ----
    This PR:
    
    * configures each component to use composer to manage "dev" dependencies instead of env variables;
    * adds phpunit configuration file on Filesystem component;
    * fixes READMEs.
    
    It's mergeable without any problems, but I would recommend to wait a fix in Composer in order to use `self.version` in `require`/`require-dev` sections.
    
    Note: I kept `suggest` sections because it makes sense but this PR doesn't aim to provide useful explanations for each entry. It could be another PR, not that one.
    
    ---------------------------------------------------------------------------
    
    by willdurand at 2012-04-30T20:43:13Z
    
    @fabpot I reviewed each component, one by one. Now `phpunit` always works, even if tests are skipped. A simple `composer install --dev` allows to run the complete test suite. Each commit is well separated from the others. I guess, everything is ok now.
    
    ---------------------------------------------------------------------------
    
    by Tobion at 2012-04-30T20:47:00Z
    
    Please squash, as it makes no sense to have the same commit for each component.
    
    ---------------------------------------------------------------------------
    
    by fabpot at 2012-05-01T14:26:11Z
    
    Can you squash your commits before I merge? Thanks.
    
    ---------------------------------------------------------------------------
    
    by willdurand at 2012-05-01T14:29:38Z
    
    done
    
    ---------------------------------------------------------------------------
    
    by fabpot at 2012-05-01T15:48:25Z
    
    It does not seem that the commits are squashed.
    
    ---------------------------------------------------------------------------
    
    by willdurand at 2012-05-01T15:54:08Z
    
    done
  2. @willdurand

    [Components] Tests/Autoloading fixes

    willdurand authored
    * Switched to Composer to manage "dev" dependencies
    * Fixed READMEs
    * Excluded vendor in phpunit.xml.dist files
    * Fixed message in bootstrap.php files
    * Added autoloader for the component itself
Commits on Apr 27, 2012
  1. @fabpot

    Revert "merged branch Seldaek/master (PR #4133)"

    fabpot authored
    This reverts commit 00e7a94, reversing
    changes made to a01dec0.
  2. @Seldaek

    Update branch aliases

    Seldaek authored
Commits on Apr 26, 2012
  1. @fabpot

    [Filesystem] added CHANGELOG

    fabpot authored
Commits on Apr 20, 2012
  1. @fabpot

    merged branch michal-pipa/symlink-fix (PR #4012)

    fabpot authored
    Commits
    -------
    
    94bee7a [Filesystem] symlink() creates target directories
    
    Discussion
    ----------
    
    [Filesystem] symlink() creates target directories
    
    Bug fix: yes
    Feature addition: no
    Backwards compatibility break: no
    Symfony2 tests pass: yes [![Build Status](https://secure.travis-ci.org/michal-pipa/symfony.png?branch=symlink-fix)](http://travis-ci.org/michal-pipa/symfony)
    Fixes the following tickets: #3967
    Todo: -
    
    Changed symlink() method behavior to recursively create target directory if it does not exist. It makes Filesystem component methods more consistent since copy() does the same. It is also more convenient.
    
    Also mirror() fails to create symlink in non-existent directory (if we don't want to change symlink(), than we need to fix mirror()).
    
    Fixes: #3967
Commits on Apr 19, 2012
  1. @michalpipa
  2. @vicb

    Fix umasks in chmod() calls

    vicb authored
  3. @Seldaek
Something went wrong with that request. Please try again.