Philip Withnall
0d199d6199
girepository: Make gi_repository_find_by_error_domain() deterministic
...
As with the previous commit, finding a `GIBaseInfo` matching the given
error domain was non-deterministic because it iterated through a hash
table of typelibs. Hash table iteration is non-deterministic.
Change the method to instead use the `ordered_typelibs` and
`ordered_lazy_typelibs` arrays to give deterministic iteration order.
Add a unit test, although it can’t test the interesting case of an error
domain which is present in both `GioUnix`/`GioWin32` and `Gio`, because
no such error domain exists.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: #3303
2024-05-16 22:47:42 +01:00
..
2024-04-12 15:26:22 +01:00
2024-02-28 11:27:15 +00:00
2024-02-28 11:27:15 +00:00
2024-02-26 18:10:56 +00:00
2024-05-16 22:47:35 +01:00
2024-05-16 22:47:42 +01:00
2024-01-16 18:40:42 +01:00
2024-01-16 17:30:37 +01:00
2024-02-05 15:13:46 +00:00
2024-02-05 15:13:46 +00:00
2024-02-14 11:52:02 +00:00
2024-04-25 00:41:34 +01:00
2024-02-08 12:56:02 +00:00
2024-04-25 00:41:34 +01:00
2024-01-18 13:15:22 +00:00
2023-12-18 14:14:15 +00:00
2024-01-18 13:15:22 +00:00
2024-01-16 18:40:42 +01:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-04-25 00:41:34 +01:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-01-16 18:40:42 +01:00
2024-02-08 10:34:40 +00:00
2024-02-05 18:40:03 +00:00
2023-12-18 14:14:15 +00:00
2024-01-18 13:15:22 +00:00
2024-02-12 13:16:07 +00:00
2024-02-12 13:16:07 +00:00
2024-02-14 11:54:48 +00:00
2024-05-15 12:09:21 +01:00
2024-05-16 22:47:42 +01:00
2024-02-14 11:54:48 +00:00
2024-04-12 18:45:18 +01:00
2024-02-14 11:54:48 +00:00
2024-01-16 18:56:57 +01:00
2024-01-26 10:15:49 +00:00
2024-01-26 09:29:30 +00:00
2024-04-25 00:41:34 +01:00
2024-01-26 09:29:30 +00:00
2024-02-14 10:36:34 +00:00
2024-04-25 23:57:59 +01:00
2024-02-14 11:13:04 +00:00
2024-04-25 00:41:34 +01:00
2023-12-18 14:14:16 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 12:56:02 +00:00
2024-02-08 12:56:02 +00:00
2024-04-01 11:01:06 +00:00
2024-05-16 22:47:29 +01:00
2024-02-07 21:07:18 +00:00
2024-02-12 13:17:04 +00:00
2024-02-08 10:34:40 +00:00
2024-02-06 13:34:17 +00:00
2023-12-18 14:14:16 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-01-18 13:15:22 +00:00
2024-02-08 10:34:40 +00:00
2024-01-18 13:15:22 +00:00
2024-04-01 11:01:06 +00:00
2024-02-21 12:38:40 +01:00