Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 31a358087be7e5e70c7a03bdfcf89de35628a2a2 https://github.com/WebKit/WebKit/commit/31a358087be7e5e70c7a03bdfcf89de35628a2a2 Author: Yusuke Suzuki <ysuz...@apple.com> Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths: M Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp M Source/JavaScriptCore/runtime/IntlDateTimeFormat.h M Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp M Source/JavaScriptCore/runtime/IntlDurationFormat.cpp M Source/JavaScriptCore/runtime/IntlDurationFormat.h M Source/JavaScriptCore/runtime/IntlListFormat.cpp M Source/JavaScriptCore/runtime/IntlListFormat.h M Source/JavaScriptCore/runtime/IntlNumberFormat.cpp M Source/JavaScriptCore/runtime/IntlNumberFormat.h M Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp M Source/JavaScriptCore/runtime/IntlObject.cpp M Source/JavaScriptCore/runtime/IntlPluralRules.cpp M Source/JavaScriptCore/runtime/IntlPluralRules.h M Source/JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp M Source/JavaScriptCore/runtime/IntlWorkaround.cpp M Source/JavaScriptCore/runtime/JSDateMath.cpp Log Message: ----------- [JSC] Rebaseline Intl implementation based on lowest dependency ICU 70 https://bugs.webkit.org/show_bug.cgi?id=280762 rdar://137128937 Reviewed by Yijia Huang. Now, Apple and https://docs.webkit.org/Ports/WebKitGTK%20and%20WPE%20WebKit/DependenciesPolicy.html dependency has ICU 70. This significantly cleans up Intl implementation and make them maintainable and extendable easily. This patch removes ifdefs based on ICU 70 requirement. * Source/JavaScriptCore/runtime/IntlDateTimeFormat.cpp: (JSC::IntlDateTimeFormat::formatRange): (JSC::IntlDateTimeFormat::formatRangeToParts): * Source/JavaScriptCore/runtime/IntlDateTimeFormat.h: * Source/JavaScriptCore/runtime/IntlDateTimeFormatPrototype.cpp: (JSC::IntlDateTimeFormatPrototype::finishCreation): * Source/JavaScriptCore/runtime/IntlDurationFormat.cpp: (JSC::IntlDurationFormat::initializeDurationFormat): (JSC::IntlDurationFormat::format const): (JSC::IntlDurationFormat::formatToParts const): * Source/JavaScriptCore/runtime/IntlDurationFormat.h: * Source/JavaScriptCore/runtime/IntlListFormat.cpp: (JSC::IntlListFormat::initializeListFormat): (JSC::stringListFromIterable): (JSC::IntlListFormat::format const): (JSC::IntlListFormat::formatToParts const): * Source/JavaScriptCore/runtime/IntlListFormat.h: * Source/JavaScriptCore/runtime/IntlNumberFormat.cpp: (JSC::UNumberFormatterDeleter::operator()): (JSC::UNumberRangeFormatterDeleter::operator()): (JSC::partTypeString): (JSC::IntlNumberFormat::initializeNumberFormat): (JSC::IntlNumberFormat::format const): (JSC::IntlNumberFormat::formatRange const): (JSC::IntlNumberFormat::formatRangeToParts const): (JSC::IntlNumberFormat::formatToParts const): * Source/JavaScriptCore/runtime/IntlNumberFormat.h: * Source/JavaScriptCore/runtime/IntlNumberFormatPrototype.cpp: (JSC::IntlNumberFormatPrototype::finishCreation): (JSC::JSC_DEFINE_HOST_FUNCTION): * Source/JavaScriptCore/runtime/IntlObject.cpp: (JSC::IntlObject::finishCreation): * Source/JavaScriptCore/runtime/IntlPluralRules.cpp: (JSC::IntlPluralRules::initializePluralRules): (JSC::IntlPluralRules::select const): (JSC::IntlPluralRules::selectRange const): * Source/JavaScriptCore/runtime/IntlPluralRules.h: * Source/JavaScriptCore/runtime/IntlPluralRulesPrototype.cpp: (JSC::IntlPluralRulesPrototype::finishCreation): (JSC::JSC_DEFINE_HOST_FUNCTION): * Source/JavaScriptCore/runtime/IntlWorkaround.cpp: (JSC::cloneUBreakIterator): * Source/JavaScriptCore/runtime/JSDateMath.cpp: (JSC::OpaqueICUTimeZoneDeleter::operator()): (JSC::DateCache::calculateLocalTimeOffset): (JSC::DateCache::defaultTimeZone): (JSC::DateCache::timeZoneDisplayName): (JSC::DateCache::timeZoneCacheSlow): (JSC::toICUTimeZone): Deleted. (JSC::toOpaqueICUTimeZone): Deleted. Canonical link: https://commits.webkit.org/284568@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes