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
Sean Harvey
e71b8d6215
MINOR Installer cleanups, removing references to old "command line
...
installation" which is no longer supported.
MINOR Removed stray semi-colon when showing version in installer
template.
2012-04-15 15:05:20 +12:00
Will Rossiter
befbd3e6a8
MINOR: remove reference to sapphire in CMSVersion
2012-04-15 15:00:52 +12:00
Sean Harvey
effc654009
MINOR Moved ModulePath to GenericTemplateGlobalProvider
2012-04-15 10:50:21 +12:00
Sean Harvey
d7973ea006
MINOR Don't show warning if running tests
2012-04-15 10:50:20 +12:00
Sean Harvey
b2d602f275
MINOR Formatting code text properly in changelog
2012-04-15 10:50:20 +12:00
Sean Harvey
8949dfa691
ENHANCEMENT Replaced locations of sapphire with $ModulePath(framework) in templates, based off Controller which implements TemplateGlobalProvider
2012-04-15 10:50:20 +12:00
Sean Harvey
b755ab62e5
MINOR Update docs about sapphire rename, ModulePath template variable
2012-04-15 10:50:20 +12:00
Sean Harvey
01e0ce7b24
MINOR Ensure assertions of RequirementsTest use "framework" as the
...
FRAMEWORK_DIR, otherwise assertions of require() calls in
RequirementsTest_Conditionals template fail
2012-04-15 10:50:20 +12:00
Sean Harvey
f238fa4492
MINOR Fallbacks for _register_database path when FRAMEWORK_PATH isn't
...
available yet (during installation)
2012-04-15 10:50:20 +12:00
Sean Harvey
c45027d247
MINOR Fix tests to check against dynamic FRAMEWORK_DIR and $project
...
instead of hardcoding these checks
2012-04-15 10:50:20 +12:00
Sean Harvey
6405c44bc2
MINOR Enable the highest level of error_reporting() in install, to be
...
consistent with Core.php
2012-04-15 10:50:20 +12:00
Simon Welsh
f07258f3cf
MINOR Update @package values to match renaming sapphire
2012-04-15 10:50:19 +12:00
Simon Welsh
656369008c
API-CHANGE Update docs to match renaming of sapphire to framework
2012-04-15 10:50:19 +12:00
Simon Welsh
3a6341a251
API-CHANGE sapphire folder can now be renamed.
2012-04-15 10:50:19 +12:00
Simon Welsh
f8082e4814
MINOR Add newline to end of files without one
2012-04-15 10:50:19 +12:00
Sean Harvey
f57a763524
MINOR Ensure incomplete tests also have a backtrace
2012-04-15 00:26:17 +12:00
Sean Harvey
ce097a7b54
ENHANCEMENT If there are no test failures, but incomplete tests, mark
...
summary of test run as "ok but incomplete" in yellow for CliTestReporter
2012-04-15 00:07:15 +12:00
Sean Harvey
edaed5ef7e
BUGFIX If SS_Backtrace::get_rendered_backtrace() has $plainText argument
...
to TRUE, ensure there is no HTML in the output.
2012-04-15 00:05:49 +12:00
Sean Harvey
7e3a698d56
BUGFIX Fixed missing $properties arg to DatalessField::SmallFieldHolder
2012-04-14 23:40:03 +12:00
Sean Harvey
fc18b2c788
ENHANCEMENT TestReporter now reports incomplete tests properly
2012-04-14 23:11:54 +12:00
Sean Harvey
0e31846937
Merge pull request #319 from silverstripe/templatedforms
...
Templated form field enhancements
2012-04-14 03:28:18 -07:00
Will Rossiter
7df26fd702
BUGFIX: fix missing TabSet template from previous changes and selection group using wrong holder.
2012-04-14 22:08:00 +12:00
Will Rossiter
07d2d5273a
ENHANCEMENT: populate FormField:: on the fly based on class name of field rather than requiring explict definition.
2012-04-14 17:36:19 +12:00