Philip Withnall
400fac7c4a
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 23:32:09 +01:00
..
2024-04-12 10:04:31 -05: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 23:32:02 +01:00
2024-05-16 23:32:09 +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-02-14 11:51:08 +00:00
2024-02-08 12:56:02 +00:00
2024-02-08 12:56:02 +00: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-02-12 13:17:04 +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-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:57:44 +01:00
2024-05-16 23:32:09 +01:00
2024-02-14 11:54:48 +00:00
2024-04-26 10:32:53 +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-02-08 12:56:02 +00:00
2024-01-26 09:29:30 +00:00
2024-02-14 10:36:34 +00:00
2024-03-18 10:48:31 +00:00
2024-02-14 11:13:04 +00:00
2024-02-14 11:13:04 +00: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-02-14 11:52:33 +00:00
2024-05-16 23:31:56 +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-01-16 18:40:42 +01:00
2024-02-21 12:38:40 +01:00