Merge lp:~m2j/openlp/bug-687638 into lp:openlp
Status: | Work in progress |
---|---|
Proposed branch: | lp:~m2j/openlp/bug-687638 |
Merge into: | lp:openlp |
Diff against target: |
368 lines (+49/-26) 12 files modified
openlp/core/ui/exceptionform.py (+7/-1) openlp/core/ui/thememanager.py (+3/-3) openlp/core/utils/__init__.py (+19/-1) openlp/plugins/bibles/forms/bibleimportform.py (+2/-3) openlp/plugins/bibles/lib/mediaitem.py (+3/-3) openlp/plugins/custom/lib/mediaitem.py (+2/-2) openlp/plugins/images/lib/mediaitem.py (+3/-3) openlp/plugins/media/lib/mediaitem.py (+3/-3) openlp/plugins/presentations/lib/mediaitem.py (+2/-2) openlp/plugins/songs/forms/songexportform.py (+2/-2) openlp/plugins/songs/lib/mediaitem.py (+2/-3) scripts/check_dependencies.py (+1/-0) |
To merge this branch: | bzr merge lp:~m2j/openlp/bug-687638 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Raoul Snyman | Needs Information | ||
Andreas Preikschat (community) | Needs Information | ||
Tim Bentley | Approve | ||
Review via email: mp+89098@code.launchpad.net |
Commit message
Bug #687638: Use ICU collator by default to overcome issue in Windows locale.strcoll call.
Description of the change
I've splitted a previous merge request. This one contains only ICU integration:
locale.strcoll does not work correct on Windows with utf-8 [http://
The performance ICU is similar to locale.strcoll on Linux (12% faster for a English word list, 10% slower on a German one)
ICU is said to give better results and makes less cross platform troubles. I've implemented it to be ued if available. Fallback is the POSIX locale.strcoll. It seems to be only necessary on Windows, so I suggest to include it only in Windows builds.
Unmerged revisions
- 1161. By Meinert Jordan
-
purge scripture reference code from this branch
Some more informations: labs.qt. nokia.com/ 2011/06/ 14/string- collation- with-locales/
ICU binaries for Windows have a size of arround 9MB as they contain a lot of data.
I haven't figured out any other way to collide international strings on Windows with comparable performance.
Some information about colliding and Qt can be found on this blog post:
http://