Page MenuHomePhabricator

Evas: Add evas_language_reinit() API
ClosedPublic

Authored by id213sin on Apr 4 2016, 3:25 AM.

Details

Summary

evas_common_language_from_locale_* functions kept static pointers
inside of its functions. Once these function was called, it was never reset.
It made big problems for harfbuzz and hyphenation. Also, Elementary
provides elm_language_set() API. Then we need to support it fully.
@fix

Test Plan

Test case for hyphenation is included in Evas test suite.

Diff Detail

Repository
rEFL core/efl
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
id213sin updated this revision to Diff 8826.Apr 4 2016, 3:25 AM
id213sin retitled this revision from to Evas: Add evas_language_reinit() API.
id213sin updated this object.
id213sin edited the test plan for this revision. (Show Details)
tasn accepted this revision.Apr 8 2016, 3:26 AM
tasn edited edge metadata.

Looks good. I just needed to slightly change the documentation of evas_language_reinit(), please take a look at what I did.
I also slightly changed the commit message.

Thanks for this patch!

This revision is now accepted and ready to land.Apr 8 2016, 3:26 AM
This revision was automatically updated to reflect the committed changes.