Philip Withnall
48988a4098
girepository: Make gi_repository_find_by_gtype() deterministic
...
When faced with a `GType` which is present in multiple typelibs, the old
implementation was not deterministic, as it iterated over a hash table
of typelibs. The iteration order of a hash table is not deterministic.
Use the new `ordered_typelibs` and `ordered_lazy_typelibs` arrays to
iterate instead, making the order deterministic.
Add a unit test to check this. In particular, to check that symbols
which are present in both `Gio` and `GioUnix` are correctly resolved as
being from `GioUnix`.
Signed-off-by: Philip Withnall <pwithnall@gnome.org>
Helps: #3303
2024-05-16 23:32:02 +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:02 +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:02 +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