3851dcd...
by
Jacob Boerema <email address hidden>
app, libgimp, pdb: use 64-bit window id
This is a follow-up of the clang issues signaled in #8649. When testing
CLANG64 on Windows under MSYS2, there was another similar issue in
gimpwidgets-utils.c.
In addition to that, the previous cast using GPOINTER_TO_INT proved
incorrect, since that discards anything except the lower 32-bits.
Since we already return guint64 here, we will cast this to guint64 too.
By changing the return to guint64 in gimpwidgets-utils.c too, we kind of
snowball into needing to change multiple functions that so far used
guint32 for window ids.
50774b8...
by
Jacob Boerema <email address hidden>
app, libgimp, libgimpbase, pdb: introduce int64 pdb type
build: install gobject-introspection with MSYS2 when cross-building…
… for Windows.
Though it's useless for actually building the GIR files, we still need
this package now, for building script-fu with introspection abilities,
to generate GIMP and GEGL enums.
See the 2 previous commits for more information.
This allows our script-fu plugins to use the GIMP enum values, just like
all our other plug-ins know them.
In other words:
* Names are consistent with those of other plug-ins
* Introspectable enums are automatically added as they are added to the
introspection file, without even needing a recompile
* No need to keep track of our enum types anymore, as that is just a
redundant implementation of introspection in practice. This in turn
will let us simplify some of the pdb code
Currently, patterns are loaded as-is - if the full pattern is larger
than the preview, its cut off and you only see the left corner.
In those cases, the pattern is scaled using gegl_buffer_get ()'s scale
parameter.
a8d3057...
by
Michael Natterer <email address hidden>
and Plug-in/Procedure Browser size.
gtk_widget_set_size_request () is applied to the dialog, as it does not
seem to bubble up from being applied to individual elements.
The existing 2.10 width/height values are used.
15d81b6...
by
Michael Natterer <email address hidden>