Commit Graph

8416 Commits

Author SHA1 Message Date
Ingo Schommer
51d4b86f2c Merge pull request #326 from halkyon/function_exists_removal
MINOR Removed function_exists() checks which aren't necessary for PHP 5.2+
2012-04-16 01:55:23 -07:00
Ingo Schommer
dc09d25fee Merge pull request #325 from halkyon/missing_lang
MINOR Fixed broken SecurityTest, missing entry in en.yml for ERRORWRONGC...
2012-04-16 01:52:40 -07:00
Jeremy Bridson
64300caae3 ENHANCEMENT:fixed issues with overflow between tabs and breadcrumbs in cms-content-header 2012-04-16 16:31:24 +12:00
Sean Harvey
311bfba6e2 Merge pull request #330 from robert-h-curry/7071-postgresql-gridfield-test-failures
BUGFIX: Fixes #7071. Change gridfield tests to not assume ids are always in order of addition.
2012-04-15 21:05:05 -07:00
Sean Harvey
c62b8e62bf Merge pull request #329 from silverstripe-big-o/filter-header-styling
BUGFIX:fixed broken filter header styling in users
2012-04-15 21:03:30 -07:00
Robert Curry
5686392a67 BUGFIX: Fixes #7071. Change gridfield tests to not assume ids are always
in order of addition.
2012-04-16 15:47:35 +12:00
Jeremy Bridson
e91c609bd2 BUGFIX:fixed broken filter header styling in users 2012-04-16 15:30:34 +12:00
Sean Harvey
b0952902ab Merge pull request #328 from mateusz/yml-linefeeds2
BUGFIX: normalise the config file, PCRE does not handle Windows/Mac line breaks (os7133)
2012-04-15 19:34:08 -07:00
Mateusz Uzdowski
b34be8190e BUGFIX: normalise the config file, PCRE does not handle Windows/Mac linebreaks (os7133) 2012-04-16 14:32:37 +12:00
Sean Harvey
e99ada4ebd Merge pull request #323 from ajoneil/fix-deprecation-notice
MINOR: Fix deprecation notice when saving user settings
2012-04-15 19:16:43 -07:00
Andrew O'Neil
a89228e934 MINOR: Fix deprecation notice when saving user settings 2012-04-16 14:13:21 +12:00
Sean Harvey
6ca7294c65 BUGFIX Fixed broken path, should be RailsYAML not RailsYaml 2012-04-16 14:04:41 +12:00
Sean Harvey
51b5120480 MINOR Documentation about renaming sapphire to framework 2012-04-16 13:43:48 +12:00
Sean Harvey
bbf04ee7ea MINOR Removed function_exists() checks which aren't necessary for PHP 5.2+ 2012-04-16 13:15:41 +12:00
Sean Harvey
1aa919d3a7 MINOR Fixed broken SecurityTest, missing entry in en.yml for ERRORWRONGCRED 2012-04-16 12:48:26 +12:00
Sean Harvey
38320691e4 Merge pull request #322 from ajoneil/cmstitle-config-system
MINOR: Use config system for cms title, rather than eval.
2012-04-15 16:14:29 -07:00
Andrew O'Neil
3b9f99394b MINOR: Use config system for cms title, rather than eval. 2012-04-16 11:04:55 +12:00
Ingo Schommer
1334711ba3 MINOR Removed outdated docs about missing template iterators 2012-04-15 21:16:58 +02:00
Ingo Schommer
7a7bfeb901 Merge branch 'yml-lang-file' 2012-04-15 20:55:38 +02:00
Ingo Schommer
6e13512200 MINOR Fixed up some language mappings in i18n (slightly different locales exported from getlocalization.com) 2012-04-15 20:54:24 +02:00
Ingo Schommer
ef5e6394d6 MINOR Don't break on empty YAML files 2012-04-15 20:43:32 +02:00
Ingo Schommer
a452b6aae5 MINOR Using SS locale notation for new YAML files (underscore instead of dashed) 2012-04-15 20:39:25 +02:00
Ingo Schommer
c649fa3acf MINOR Workaround for duplicate require_once calls of same class in two locations (SS core and Zend_Translate_RailsYAML) 2012-04-15 18:46:04 +02:00
Ingo Schommer
d3b63dae0c MINOR Allowing to flush translation cache through ?flush=1 2012-04-15 18:46:04 +02:00
Ingo Schommer
d57e864110 MINOR Fixed tests related to i18nLegacyAdapter changes 2012-04-15 18:46:02 +02:00
Ingo Schommer
f61dbfda09 MINOR Updated lang file to new generated YML format 2012-04-15 18:09:02 +02:00
Ingo Schommer
cbcee57496 ENHANCEMENT New i18nTextCollector_Writer_RailsYaml 2012-04-15 18:08:59 +02:00
Ingo Schommer
fca2c205b7 API CHANGE Removed $priority arguments from _t(), use module priorities instead.
ENHANCEMENT Refactored i18nTextCollector collection logic alongside $priority removal, from regex to (slightly more maintainable) PHP tokenizer. Using var_export() for generating PHP, which auto-escapes strings more robustly.
ENHANCEMENT Refactored i18nTextCollector into pluggable writers (in preparation of new YML output format)
2012-04-15 17:17:17 +02:00
Ingo Schommer
d44f6b3e1f MINOR Removed deprecated usage of $priority argument in _t() calls 2012-04-15 17:17:17 +02:00
Ingo Schommer
b81863cfd9 MINOR Caching DataObject->fieldLabels() in memory, to avoid _t() being called excessively through fieldLabel() 2012-04-15 17:17:17 +02:00
Ingo Schommer
3002598a5e MINOR Hardcoding correct module priorities in i18n.php 2012-04-15 17:17:16 +02:00
Ingo Schommer
9e95ba0045 BUGFIX Disable performance intensive Zend_Locale::isLocale() valiations in Zend_Translate_Adapter, which is only used for i18n class in SilverStripe core, so a controlled environment where valid locales are assumed 2012-04-15 17:17:16 +02:00
Ingo Schommer
95cdbe9d2c MINOR Avoid duplicate var declaration in i18n::_t() 2012-04-15 17:17:16 +02:00
Ingo Schommer
27ec83ce40 MINOR i18n::_t() getter performance optimisation (saves 10% on default CMS execution!) 2012-04-15 17:17:16 +02:00
Ingo Schommer
03de6e5e5f MINOR Removed i18nSSLegacyTranslator from default setup for performance reasons, document how to re-apply it 2012-04-15 17:17:16 +02:00
Ingo Schommer
652f0ec007 MINOR Infinite cache 2012-04-15 17:17:16 +02:00
Ingo Schommer
796975f53b MINOR Don't set locale on adapter in i18n::_t() for performance reasons, we're passing it with each individual translate() call anyway 2012-04-15 17:17:16 +02:00
Ingo Schommer
190c758639 MINOR Reverting to use directory scanning rather than Zend_Translate() in i18n::get_existing_languages(), as the only way to determine this information from Zend is loading all locales (which is way too slow e.g. for loading a language drop down in the member profile) 2012-04-15 17:17:15 +02:00
Ingo Schommer
326ff4a783 MINOR Added array fallback support to i18nSSLegacyAdapter 2012-04-15 17:17:15 +02:00
Ingo Schommer
0e0e5dd07a BUGFIX Ensuring that every locale (and its lang part) are registered as languages in i18n::include_by_locale() to avoid expensive re-parsing on subsequent i18n::_t() calls to the same locale 2012-04-15 17:17:15 +02:00
Ingo Schommer
bd23a07bba API CHANGE Using Zend_Translate with YAML translation files, replacing the $lang global and PHP files in the /lang folders. 2012-04-15 17:17:15 +02:00
Ingo Schommer
0a0be63ee2 ENHANCEMENT Added $exclusive flag to SS_ClassLoader->pushManifest() to allow for multiple manifests co-existing (useful for tests which rely on core classes but also want to test their own manifests) 2012-04-15 17:17:15 +02:00
Ingo Schommer
a3e74bb2ef MINOR Added Zend_Translate dependency (v1.11.11) 2012-04-15 17:17:14 +02:00
Ingo Schommer
3342c84abe MINOR Added zend_translate_railsyaml dependency 2012-04-15 17:17:14 +02:00
Ingo Schommer
7e7d98861e MINOR Removed legacy PHP translation files 2012-04-15 17:17:14 +02:00
Ingo Schommer
6c1c98e3b3 MINOR Converted YML lang files 2012-04-15 17:17:14 +02:00
Ingo Schommer
edd4ef2c25 MINOR Updated translations from translate.ss.org 2012-04-15 17:17:13 +02:00
Stig Lindqvist
5e79e81b31 MINOR ConfigManifest cache fixes
- Do not skip the cache if there are currently no environmental specific spec, just use the an empty variantKeySpec.
- When doing a regeneration of the config, clear the previous values from the array before regeneration.
2012-04-15 17:13:28 +02:00
Sean Harvey
ebe75fefab MINOR Update locations to server requirements page 2012-04-15 16:29:14 +12:00
Sean Harvey
515a2ccfcc MINOR Updating old URLs in installer, show message about creating admin
account
2012-04-15 16:01:06 +12:00