~vcs-imports/gimp/+git/gimp:wip/wormnest/64-bit-window-ids

Last commit made on 2023-05-24
Get this branch:
git clone -b wip/wormnest/64-bit-window-ids https://git.launchpad.net/~vcs-imports/gimp/+git/gimp

Branch merges

Branch information

Name:
wip/wormnest/64-bit-window-ids
Repository:
lp:~vcs-imports/gimp/+git/gimp

Recent commits

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

88e82d5... by Jehan <email address hidden>

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.

305b278... by NielsDG

ci: Add gobject-introspection to win64 image

01e960e... by NielsDG

plug-ins/scheme-wrapper: Use GIR for enum values

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

00415be... by NielsDG

libgimp: Always pass size to g_bytes_unref_to_data

Unlike `g_bytes_get_data()`, the out argument for the size is not
optional, so if we try to pass `NULL` there, we actually get a segfault.

e1e30c6... by Alx Sa <email address hidden>

app: Scale pattern preview to show full image

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>

script-fu: fix double free in script-fu-dialog.c

Spotted by Lloyd Konneker.

7a1e6be... by Alx Sa <email address hidden>

plug-ins: Increase Script-fu Console size...

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>

app: plug leaks in GimpExtensionManager