Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mlocale] Avoid broken MLocale::localeScripts() code and adjust tests. JB#52793 #2

Merged
merged 1 commit into from Feb 14, 2022

Conversation

pvuorela
Copy link
Contributor

The locale script data seems removed from ICU in 2015 so
we need a reimplementation if there's any need for the method.
The method could be beneficial if there's wider use for the library
so made it just warns instead of total removal. But at the moment
the usage is quite thin in Sailfish side.

On non-ICU build this was defining the method but didn't have
an implementation. Made the method consistently defined now.

Disabled some related testing in ft_locales.

On testing side, also disabled @pinyinsearch collation which
didn't work and for which I didn't find any definitions.
Using that in real code would be making quite specific expectations
as it's not included in any documentation.

kk_Cyrl_KZ existence test removed. Deleted from ICU in 2015 CLDR 28
integration.

@Tomin1 @spiiroin

tests/ft_locales/ft_locales.cpp Show resolved Hide resolved
…. JB#52793

The locale script data seems removed from ICU in 2015 so
we need a reimplementation if there's any need for the method.
The method could be beneficial if there's wider use for the library
so made it just warns instead of total removal. But at the moment
the usage is quite thin in Sailfish side.

On non-ICU build this was defining the method but didn't have
an implementation. Made the method consistently defined now.

Disabled some related testing in ft_locales.

On testing side, also disabled @pinyinsearch collation which
didn't work and for which I didn't find any definitions.
Using that in real code would be making quite specific expectations
as it's not included in any documentation.

kk_Cyrl_KZ existence test removed. Deleted from ICU in 2015 CLDR 28
integration.
@pvuorela pvuorela merged commit 7c62d55 into master Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants