]> spindle.queued.net Git - midori/commit
Implement katze_utf8_stristr, katze_collfold and use in completion
authorChristian Dywan <christian@twotoasts.de>
Mon, 28 Dec 2009 22:44:16 +0000 (23:44 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 28 Dec 2009 22:59:54 +0000 (23:59 +0100)
commitb1ee80d55ed65bff17566f9f2b2bafbc76550550
tree80630b84878d665ec8996bfd5e1bdcf0e96ab78a
parent613f47627e79e9c691d8aff009b710cf041d8e63
Implement katze_utf8_stristr, katze_collfold and use in completion

Evidently normalizing any whole string is too slow for completion,
so we need to even out case and composition while iterating through
the strings.

The decompositing version of katze_utf8_stristr is disabled, since
it is too slow, and an ascii only version is used, for now.

A unit test 'compare' is added that solely measures performance of
katze_collfold and katze_utf8_stristr.
katze/katze-utils.c
katze/katze-utils.h
midori/midori-locationaction.c
tests/completion.c