Commit Graph

53082 Commits

Author SHA1 Message Date
Jehan d1c8e5efb9 app, libgimp, pdb: prettify the previous commit.
I double-checked the gi-docgen docs and realized the "Note:" were all on
the same line as previous text. I had forgotten it just removed one
newline. So if I want a new paragraph (double-newline in markdown), I
need 3 newlines in the pdb file.
2024-08-26 22:48:45 +02:00
Yuri Chornoivan 85c48a9a25 Update Ukrainian translation 2024-08-26 19:57:17 +00:00
Kolbjørn Stuestøl 8a4613cc63 Update Norwegian Nynorsk translation 2024-08-26 17:45:15 +00:00
Kolbjørn Stuestøl 925b80cc37 Update Norwegian Nynorsk translation 2024-08-26 17:38:38 +00:00
Kolbjørn Stuestøl 1ab55ba8b8 Update Norwegian Nynorsk translation 2024-08-26 15:38:49 +00:00
Marco Ciampa 3a6f2de90d Update Italian translation 2024-08-26 14:42:33 +00:00
Marco Ciampa 317a8b6424 Update Italian translation 2024-08-26 14:41:25 +00:00
Marco Ciampa d50f7faa63 Update Italian translation 2024-08-26 14:41:17 +00:00
Marco Ciampa e134866764 Update Italian translation 2024-08-26 14:41:04 +00:00
Kolbjørn Stuestøl e8344b81da Update Norwegian Nynorsk translation 2024-08-26 13:35:30 +00:00
Jehan 890a3c715f Issue #10673: make clearer API docs for _id*() functions.
All the functions working with object's IDs are mostly internal. They
are still made public because they can be useful and are relevant in
specific use cases (i.e. using IDs to reference items in specific
widgets, such as drop-down lists, or when temporarily storing an item as
integer, etc.).
Yet it should be made clear that these usages are the exception rather
than the norm.
2024-08-26 15:03:24 +02:00
Kolbjørn Stuestøl 3ded3c47fe Update Norwegian Nynorsk translation 2024-08-26 11:52:01 +00:00
Jehan 98ebe96c1f Issue #10441: encoding conversion popup when changing from SWM to MWM. 2024-08-26 13:35:49 +02:00
Jehan 77712347d1 app: fix a random segmentation fault.
I had this one case at GIMP exit where destroying editor->selection
inside gimp_colormap_editor_set_context() was segfaulting, very likely
because the widget was already destroyed so the pointer was dangling.

Therefore set a weak pointer, and clear it in dispose, so that whatever
comes first at destruction time will reset the pointer to NULL.
2024-08-26 13:35:49 +02:00
Luming Zh 91741467c6 Update Chinese (China) translation 2024-08-26 11:11:53 +00:00
Jehan c5db158f58 Issue #11957: ignore events on all display shell when one is being created.
This fixes a never-ending flickering blocking the GUI, until a manual
focus event (such as moving a window in front) breaks the infinite loop
of handling focus events.
2024-08-25 23:56:26 +02:00
Alx Sa b728ecb9f2 plug-ins: Reduce initialization warnings on Windows
This patch initializes a number of variables
that are used in the PSD plug-in.
Otherwise, they display warnings in the
Windows pipelines.
2024-08-25 21:20:05 +00:00
Martin 3f57035a0a Update Slovenian translation 2024-08-25 21:14:46 +00:00
Anders Jonsson bbb1607107 menus: fix Plug-In CamelCase
Followup to 34af64b70f

The menu definition in image-menu.ui.in.in didn't have the same
capitalization as in the plug-ins that uses it, so it was never
used, and would never be shown translated.
2024-08-25 20:47:51 +00:00
Asier Sarasua Garmendia c2888b63ee Update Basque translation 2024-08-25 19:21:51 +00:00
Kolbjørn Stuestøl 3de4551155 Update Norwegian Nynorsk translation 2024-08-25 17:51:46 +00:00
Anders Jonsson 0c0ea8d8fd Update Swedish translation 2024-08-25 13:20:37 +00:00
Anders Jonsson f7f77f239a Update Swedish translation 2024-08-25 13:19:22 +00:00
Cheng-Chia Tseng cd345eede9 Update Chinese (Taiwan) translation 2024-08-25 09:35:35 +00:00
Jehan 91d90ff7f9 Issue #11950: lua version can be on stderr.
Though the output of `lua -v` is on stdout and was also on stdout by
default, even back with version 5.1, it turns out that lua's print
function was considered configurable back then. And this is very likely
why we now have this report of someone whose lua is on stderr.

So let's still look on stdout, then fallback to stderr it the format
doesn't match.
2024-08-25 00:12:45 +02:00
Jehan 49ce5c2aa5 app, libgimpwidgets, plug-ins: add `tooltip` arg to gimp_help_connect().
As Cheesequake noted in !1673, there may be cases where one would want
to run gimp_help_connect() while also setting a tooltip. So they also
run gimp_help_set_help_data(), even though the latter is implied by the
former. Worse, it makes the order matter too much because if you call
gimp_help_connect() after gimp_help_set_help_data(), the tooltip would
be removed.

Now the reason is that gimp_help_connect() was clearly made to be run on
windows whereas gimp_help_set_help_data() was for other widgets, which
usually don't need to react to F1. Yet the previous commit does add
F1-connect for the lock buttons, which kind of makes sense. So why not
just add this tooltip argument.

As a side fix, I am removing a bunch of gimp_help_connect() on each
button in the layers effect popover. Just run it once on the top
container.
2024-08-24 23:29:39 +02:00
cheesequake aad228cfeb widgets: Set up help-ids properly
This patch adds gimp_help_connect () calls before
gImp_set_help_data () to set up F1 keybind to work
properly. It also adds lock_visibility_help_id to channel
view.

Resolves #11718
2024-08-24 23:20:23 +02:00
Bruno f9c790c73f
build/linux: Add REVISION support to Inno .PS1 script 2024-08-24 16:30:56 -03:00
Jehan 038ccfc1c1 plug-ins: removing a string because of an obvious typo.
Thanks to Anders for noticing this one! Sorry to translators if you
already worked on this and wondered what this AA was (answer: nothing
but a typo!).
2024-08-24 20:29:52 +02:00
Anders Jonsson 74bbe26918 Update Swedish translation 2024-08-24 12:49:29 +00:00
Alx Sa 5699102163 plug-ins: Fix TIFF Sketchbook layers import...
...when the height is larger than the width.
Due to a copy/paste error, the width was used
for both layer width and height. Since we only
had two sample files and both images were
wider than they were tall, this was not noticed.
2024-08-24 11:26:36 +00:00
Jehan 690391b985 app: fix layer filter copying.
Copying filters over from one image to a partial copy was broken on
multiple level by doing it on an additional loop, and assuming that the
originally selected layers and the newly created ones had the same
structure:

1. First the actually copied layers may be more numerous. For instance,
   we'd also copy parent layers. Typically copying a layer under a layer
   group, both the layer and its parent layer group would be in the clip
   image.
2. Second, because this structure may change, the assumptions made so
   that filters were not copied to the right image.
3. And as a last consequence, sometimes we could have crashes, assuming
   the same structure and therefore directly dereferencing a NULL
   pointer. I had such a crash when copy-pasting a layer group, while
   also selecting its children layers (though this crash also got hidden
   by my previous commit, but just by chance).

Instead just copy filters in the same time as layers are copied, so that
we can easily associate the filter from the correct original layer we
copied from.
2024-08-24 12:36:26 +02:00
Jehan 408c22dd70 app: copying a layer group implies copying all its children.
Similar to how cut already works, when we shift-click both a layer group
and its descendants, just drop the descendants. They are already
implied.
2024-08-24 12:36:26 +02:00
Sabri Ünal 1c1a26e82c Update Turkish translation 2024-08-24 06:22:31 +00:00
Luming Zh 58d7cd4dd4 Update Chinese (China) translation 2024-08-24 01:36:46 +00:00
Luming Zh bfe5c8281e Update Chinese (China) translation 2024-08-24 01:14:19 +00:00
Ekaterine Papava e89bb33408 Update Georgian translation 2024-08-23 04:51:42 +00:00
Alx Sa c57bf3c6bd plug-ins: Fix GIH export crash due to selection-modes
Like ranks, the number of selection modes are defined by gihparams.dim.
However, we were unconditionally setting GimpProcedureConfig's
"selection-modes" parameter to the gihparams.selection array, which 
might have more elements than we had dimensions. This caused a crash.
This patch moves the selection-modes code into the check for
gihparams.dim > 0, and copies only the relevant values into a separate
array to set them.
2024-08-22 21:56:17 +00:00
Sveinn í Felli 3286dbb4f4 Update Icelandic translation 2024-08-22 17:05:06 +00:00
Sveinn í Felli 4542c0156e Update Icelandic translation 2024-08-22 13:27:28 +00:00
Sveinn í Felli 922358ab70 Update Icelandic translation 2024-08-22 12:17:37 +00:00
Alx Sa c36b7d016f libgimpcolor, plug-ins: Remove GimpHSV
This patch replaces all instances of GimpHSV
in the codebase with babl implementations,
so that it can removed as part of the color
space invasion.
2024-08-21 18:57:50 +00:00
Yuri Chornoivan 99403fe5a3 Update Ukrainian translation 2024-08-21 18:08:53 +00:00
Luming Zh 8d00e4ce9f Update Chinese (China) translation 2024-08-20 23:57:57 +00:00
Bruno 8ac28cfbee build/windows: Warn about the fate of 32-bit
It's desirable to announce this with advance to not surprise anyone.
2024-08-20 20:39:17 +00:00
Martin ba5cb3ab16 Update Slovenian translation 2024-08-20 14:57:01 +00:00
Cheng-Chia Tseng 1e8ee854c7 Update Chinese (Taiwan) translation 2024-08-20 13:23:23 +00:00
Cheng-Chia Tseng 5e8750e5db Update Chinese (Taiwan) translation 2024-08-20 13:18:23 +00:00
Alx Sa 5a03dff9d2 app, plug-ins: Fix warnings and typo
app/text/gimptextlayout.c gives warnings
on MSYS2 about xres and yres not being
initialized.
plug-ins/file-tiff/file-tiff-load.c gives
warnings about read_unit not being
initialized.
plug-ins/file-bmp/bmp.c has a typo on
the label of the rgbx-8888 option for
rgb-format.
2024-08-20 12:50:49 +00:00
Alx Sa 8dd7783fc2 plug-ins: Port more plug-ins to GimpChoice
This replaces most of the remaining
gimp_procedure_dialog_get_int_combo ()
parameters with defined GimpChoice
parameters.
The only exceptions are where we retrieve
the values from a library (such as file-aa)
or the integer value itself is intuitive
(such as bit-depth or rotation degree)
2024-08-20 11:34:16 +00:00