Jabber Developer
00f11eb704
fix(ai): guard NULL search_str and update tests for new cycling behavior
...
Update ai_providers_find() to handle NULL search_str safely by treating it
as an empty string, preventing a segfault in strdup() within autocomplete_complete().
Rename test_ai_providers_find_case_sensitive to test_ai_providers_find_case_insensitive
to reflect the new case-insensitive matching contract. Update all affected tests to
expect cycling behavior (NULL/empty returns first provider) and use auto_gchar for
automatic memory management.
Use `gchar` instead of `char` in ai_providers_find for consistency
2026-05-01 13:08:28 +00:00
..
2025-09-10 14:11:03 +02:00
2025-09-10 14:11:03 +02:00
2025-09-10 14:11:03 +02:00
2025-10-14 12:42:00 +02:00
2025-06-20 18:20:47 +00:00
2025-09-10 14:11:03 +02:00
2025-03-07 21:09:16 +01:00
2025-06-20 18:20:47 +00:00
2026-04-30 17:41:36 +00:00
2025-10-14 12:42:00 +02:00
2025-09-10 14:11:03 +02:00
2023-11-01 18:30:08 -06:00
2026-05-01 13:08:28 +00:00
2026-05-01 13:08:28 +00:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2021-08-26 00:28:49 +00:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2023-04-13 16:41:21 +02:00
2025-09-10 14:11:03 +02:00
2025-09-01 23:29:26 +02:00
2026-03-07 11:55:50 +01:00
2023-03-11 15:05:03 +01:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 15:50:26 +02:00
2025-08-27 16:48:27 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2021-08-26 00:28:49 +00:00
2025-09-10 14:11:03 +02:00
2023-11-01 18:30:08 -06:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2025-09-10 14:11:03 +02:00
2021-06-30 18:58:07 -04:00
2025-09-10 14:11:03 +02:00
2020-07-07 14:18:57 +02:00
2026-05-01 13:08:28 +00:00