Commits on Source (7)
-
Øyvind Kolås authoredf01acc74
-
John authored
- don't expose source in dependency to avoid name clashes - add babl path variables to dependency object - add babl path variables to uninstalled pc
4383ee86 -
Øyvind Kolås authored
ci/meson has started failing due to missing scp binary.
0a87f731 -
Jehan authored
When a format is named explicitly by the caller, we should just keep the same name, not tweak it. Generating a name is only valid when no explicit name is given. Moreover this is the behavior as described in the docs of babl_format_new(): > If no name is provided a (long) descriptive name is used. (which usually implies that with a name provided, this one will be used instead of a generated name) This is especially important for palette formats for which name is mostly not descriptive anyway (either caller-set or generated by babl with incremental number) and this fixes a bug when calling babl_new_palette_with_space() with the same name and space would fail to find the already created formats (yet would find the models and return NULL for both formats) because it would search without the space description appended. Yet the docs of babl_new_palette*() clearly says as well: > If you pass in the same name the previous formats will be provided > again. Moreover we actually already tweak a bit the palette format name by appending the space pointer. No need to tweak it twice appending the same information (space) in a different way. See also: https://gitlab.gnome.org/GNOME/gimp/-/issues/6501
4c7c2b75 -
Jehan authored
If we allow conversions to be recreated for palettes, it will create a new identical conversion with collision number incremented in the name and no user data. Yet the user data is extremely important for palette conversions, because it contains the palette itself which is required by the palette conversion functions. Hence we end up crashing. Moreover, although I think that right now, only palette conversions use the data field, it might be used for other type of data in the future. In any case, we should always save this data along as it has been stored there for a reason. Finally in babl-palette code, make sure the user data is added to the models before creating the formats and conversions as we also ended up in crash-happy code when we didn't. See: https://gitlab.gnome.org/GNOME/gimp/-/issues/6501
69e6b090 -
Øyvind Kolås authoredd4984bc2
-
Jeremy Bicha authored60a279e1
babl/babl/meson.build
0 → 100644
babl/git-version.h
deleted
100644 → 0
git-version.h
0 → 100644