Add purple_strmatches and move purple_person_matches and purple_contact_info_matches to it

Review Request #2212 — Created Jan. 24, 2023 and updated

grim
pidgin/pidgin
default
PIDGIN-17737
2211
pidgin
This uses a naive algorithm to do fuzzy matching but appears to be good enough
for now. We can look at something more complicated later if the performance of
this is bad enough.

Ran the unit tests and tested the search in the contact list.

Summary
Add purple_strmatches and move purple_person_matches and purple_contact_info_matches to it

grim
Review request changed

Change Summary:

don't match id's because all of a sudden you type af and match things that you don't expect to match because the underlying sha256 hash in the id matches that..

Commits:

Summary
-
Add purple_strmatches and move purple_person_matches and purple_contact_info_matches to it
+
Add purple_strmatches and move purple_person_matches and purple_contact_info_matches to it

Diff:

Revision 2 (+326 -20)

Show changes

Loading...