Igor Wiedler
69b38faff7
[Locale] refactoring and some more tests
2011-02-23 14:20:44 +01:00
Igor Wiedler
e95df5d2a7
[Locale] fix failing test case
2011-02-23 14:20:44 +01:00
Igor Wiedler
8dab760160
[Locale] use eriksens intl test helpers
2011-02-23 14:20:43 +01:00
Igor Wiedler
1f248652cc
[Locale] minor naming change
2011-02-23 14:20:43 +01:00
Jordi Boggiano
bfbc8f63fa
[Locale] Fixed implementation of quote parsing and replacement
2011-02-23 14:20:43 +01:00
Jordi Boggiano
47c1110166
[Locale] Fixed two tests
2011-02-23 14:20:43 +01:00
Igor Wiedler
e962c4a633
[Locale] add another failing escape test case
2011-02-23 14:20:42 +01:00
Igor Wiedler
c7380fbb4c
[Locale] support standard date and time types if no format is set, refactoring and more tests
2011-02-23 14:20:42 +01:00
Igor Wiedler
d3a63d35d4
[Locale] slightly adjust regex for matching quotes
2011-02-23 14:20:42 +01:00
Igor Wiedler
85e6c5e426
[Locale] add some more test cases with escaping
2011-02-23 14:20:42 +01:00
Igor Wiedler
632ded5c96
[Locale] use UTC if timezone is unsupported
2011-02-23 14:20:42 +01:00
Igor Wiedler
a883a3f62a
[Locale] adjust to new quoting format, some tests failing
2011-02-23 14:20:42 +01:00
Igor Wiedler
cc6f996334
[Locale] add a list of unimplemented date format keywords
2011-02-23 14:20:41 +01:00
Igor Wiedler
cbfaaef76e
[Locale] support for z (timezone offset from GMT)
2011-02-23 14:20:41 +01:00
Igor Wiedler
d68c5fa7fd
[Locale] refactor to use DateTime and DateTimeZone, adding timezone support
2011-02-23 14:20:41 +01:00
Igor Wiedler
7efe476693
[Locale] support for s (second)
2011-02-23 14:20:41 +01:00
Igor Wiedler
87d3547679
[Locale] support for m (minute of hour)
2011-02-23 14:20:40 +01:00
Igor Wiedler
6b26f8296d
[Locale] support for K (12-hour (0-11))
2011-02-23 14:20:40 +01:00
Igor Wiedler
5a767045b6
[Locale] implement k (24-hour (1-24)
2011-02-23 14:20:40 +01:00
Igor Wiedler
42a652ce3d
[Locale] refactor IntlDateFormatter::format to build regExp dynamically
2011-02-23 14:20:40 +01:00
Igor Wiedler
bfc7e55692
[Locale] support for H (24 hour)
2011-02-23 14:20:39 +01:00
Igor Wiedler
71e3c97358
[Locale] support for a (AM/PM)
2011-02-23 14:20:39 +01:00
Igor Wiedler
49752f104b
[Locale] support for E (day of week)
2011-02-23 14:20:39 +01:00
Igor Wiedler
d4c1357f11
[Locale] support for D (day of year)
2011-02-23 14:20:39 +01:00
Igor Wiedler
5ffce2d6a2
[Locale] add support for h
2011-02-23 14:20:39 +01:00
Igor Wiedler
3b9f52ae9a
[Locale] use assertSame instead of assertEquals
2011-02-23 14:20:39 +01:00
Igor Wiedler
ae3ee5d896
[Locale] add support for L, which is the same as M
2011-02-23 14:20:38 +01:00
Igor Wiedler
b702ce86b5
[Locale] support for G and Q placeholders in StubIntlDateFormatter::format
2011-02-23 14:20:38 +01:00
Igor Wiedler
69f56dbbd9
[Locale] move intl bugs to skipped tests
2011-02-23 14:20:38 +01:00
Igor Wiedler
8c1146974f
[Locale] add support for escaping, give specifics on implementation used in tests
2011-02-23 14:20:38 +01:00
Igor Wiedler
55ac407458
[Locale] first implementation of StubIntlDateFormatter
2011-02-23 14:20:37 +01:00
Bernhard Schussek
404f83ccc3
[Locale] Added stubs as a replacement for the intl extension
...
You can enable the stubs by including the following code in app/autoload.php:
$loader->registerPrefixFallback(array(
__DIR__.'/../vendor/symfony/src/Symfony/Component/Locale/Resources/stubs',
));
If the intl extension is not loaded, the stub classes for the "en" locale
will be created automatically.
2011-02-23 13:26:05 +01:00
Eriksen Costa
b649843e00
[Locale] added implementation to StubNumberFormatter::getLocale(), matching StubIntlDateFormatter::getLocale()
2011-02-23 13:26:05 +01:00
Eriksen Costa
b58e25cc83
[Locale] added static constructor
2011-02-23 13:26:05 +01:00
Eriksen Costa
69b0e09d6a
[Locale] added stub implementations of Locale and NumberFormatter classes
...
Updated update-data.php script to extract locales, countries names, languages and currencies
from ICU to be used by the stub implementations
2011-02-23 13:26:05 +01:00
Marcin Sikon
491ee20392
[AsseticBundle] fix fatal error - missing argument assetic.asset_manager in definition assetic.asset_manager_cache_warmer serivce
2011-02-23 11:46:32 +01:00
Kris Wallsmith
3fb935de35
[AsseticBundle] removed PHP_CodeSniffer dependency
2011-02-23 00:21:17 -08:00
Fabien Potencier
d2840aaad3
[AsseticBundle] fixed unit tests
2011-02-23 07:19:00 +01:00
Kris Wallsmith
b622e6a9e6
[AsseticBundle] added skip if PHP_CodeSniffer is not installed ( closes #14 )
2011-02-22 21:16:48 -08:00
Jonathan H. Wage
0f353c1411
A command to generate a migration from the sql queries executed when you load some data fixtures.
2011-02-22 20:54:40 -06:00
Matthew Lewinski
4f54aacfc7
[Form] Fix infinite recursion in RadioField->getName()
2011-02-22 20:38:29 -06:00
Kris Wallsmith
d7ea92a0f6
[AsseticBundle] updated for latest assetic development
2011-02-22 16:58:10 -08:00
Fabien Potencier
f54cedfe5e
added LICENSE files for the subtree repositories
2011-02-22 18:58:15 +01:00
Kris Wallsmith
7c794b349d
[HttpKernel] fixed typo
2011-02-22 07:38:03 -08:00
Marcin Sikon
efb561767b
[AsseticBundle] fix AsseticController - removed response service dependency
2011-02-22 16:12:12 +01:00
Fabien Potencier
c63e1ace81
Merge remote branch 'kriswallsmith/assetic-renames'
...
* kriswallsmith/assetic-renames:
[AsseticBundle] renamed some classes
2011-02-22 14:14:09 +01:00
Fabien Potencier
cef86a3771
[HttpKernel] added a way to change the ESI cache strategy
2011-02-22 13:50:26 +01:00
Kris Wallsmith
bd32e3eea8
[AsseticBundle] renamed some classes
2011-02-21 22:18:50 -08:00
Kris Wallsmith
fb005396dc
[HttpKernel] fixed another test where an explicit cache-control header is necessary
2011-02-21 21:53:04 -08:00
Kris Wallsmith
3e131f5b70
[HttpKernel] fixed invalid test
...
According to ResponseHeaderBag::computeCacheControlValue(), a response with an ETag but no explicit Cache-Control header should have a sensible Cache-Control of "private, must-revalidate" set. According to Response::isCacheable(), a response that includes a private Cache-Controls is not considered cacheable. Therefore, in order for this test response to be cacheable and stored, it requires an explicit Cache-Control of public.
2011-02-21 20:09:50 -08:00