Commit Graph

44620 Commits

Author SHA1 Message Date
56cf217579 Update Dutch translation 2021-07-14 09:30:21 +00:00
73a9cb50ac Update Polish translation 2021-07-11 12:34:23 +02:00
3047ea9c5b Update Ukrainian translation 2021-07-05 16:39:36 +00:00
6829274dde app: add a comment and some newlines before the debug data section.
The markdown triple-quote (```) has to be on its own at the start of a
newline. Schumaml was telling me that too many reporters would paste
just after some text, which would therefore break the markdown syntax.

Instead let's add 3 newlines before the triple-quote, so that even
people who would not hit the "Copy Bug Information" button (but instead
select and copy) have a hint that these newlines are made on purpose.
Also add a comment (which is discarded by Gitlab) to make this even more
obvious.

Then even when pasting just after some text on the same line, the
triple-quote will end up on its own line.

(cherry picked from commit d3105e5c72)
2021-07-05 16:45:52 +02:00
26baa0527d app: check if an item was already inserted by actually looking it up in…
… the container.

There was this weird case which we somehow could only reproduce on
Aryeom's computer/build, not mine, with the same code and reproduction
steps (reproducible at will on her build only). Basically when drag'n
dropping a duplicated layer inside a collapsed layer group, the
row-expanded handler would try to select the moved layer before it is
actually inserted. This would end up into crash-happy code.

I'm still unsure of why the order of operation is different here, but
anyway what is for sure is that the `inserting_item` boolean flag was
not protecting much. It's not like it's an actual mutex and anyway this
is not multi-threaded code either so this flag was mostly useless (which
is why we were crashing). Instead let's actually look if the item is in
the container or not.
2021-07-05 10:41:52 +02:00
1dd7e8ac55 Update Dutch translation 2021-07-01 11:11:59 +00:00
371c5f9a76 Update Russian translation 2021-06-26 03:42:59 +03:00
89b930cedf Update Catalan translation 2021-06-03 06:10:33 +02:00
c920260765 Update Catalan translation 2021-06-03 05:59:26 +02:00
f880844183 Update Catalan translation 2021-05-31 07:49:56 +02:00
d6685d8951 Update Spanish translation 2021-05-25 06:17:35 +00:00
a038051bb8 plug-ins: fix #6859 Hurl random pct limits in PDB are incorrect 2021-05-24 14:56:41 +00:00
557a19469a plug-ins: fix incorrect cherry-picking of previous commit. 2021-05-19 22:29:37 -04:00
815e624851 plug-ins: fix #6116 grayscale gif animation hangs on export.
GIF export was not taking into account that there can be
both grayscale layers with and without alpha in an image.

We make sure that the GEGL buffer knows the type of
drawable for the current layer.

(cherry picked from commit 3b3ab0aa11)

# Conflicts:
#	plug-ins/common/file-gif-save.c
2021-05-19 17:49:01 -04:00
ad5aa1a6b1 Update Spanish translation 2021-05-18 12:05:09 +00:00
63a9ef7915 Update Slovenian translation 2021-05-13 07:45:40 +00:00
2c6866f8a6 Update Slovenian translation 2021-05-13 07:45:23 +00:00
f2c2163be4 NEWS: update. 2021-05-12 13:18:57 +02:00
be32831984 Update Vietnamese translation 2021-05-12 07:03:21 +00:00
496582b160 Update Vietnamese translation 2021-05-12 06:54:27 +00:00
af76c091cb Issue #6852: Don't include gimp30-tips.mo in binary package
Similar to previous plug-in but only for autotools. Separated in its own
commit for easy cherry-picking to `gimp-2-10` branch.

(cherry picked from commit a4a6ac59e0)
2021-05-11 14:38:41 +02:00
f3c21c7e6e Issue #6850: support for memory in the dashboard under OpenBSD.
(cherry picked from commit 6dc98fe7f0)
2021-05-09 20:02:56 +02:00
25bf957a1b Update Croatian translation 2021-05-06 07:39:27 +00:00
fe077ff3b3 plug-ins: fix using wrong offset for group layer masks in psd export.
Exporting to psd could result in very large files which often failed to
load in both GIMP and PS when a group layer with a layer mask
was present.

Reported on our IRC channel with a sample xcf which made it
possible to figure out the problem.

(cherry picked from commit 8fdeaddbe7)
2021-05-04 15:51:25 -04:00
d58ba7c617 Update Polish translation 2021-05-02 12:02:45 +02:00
108d9be2b7 Update Spanish translation 2021-04-29 11:20:52 +00:00
c9d2722192 plug-ins: fix compilation of previous commit. 2021-04-26 22:27:20 -04:00
e29219fee7 plug-ins: fix #5960 Gimp loads 16 bit DDS images with luminosity as 8 bit.
So far all dds images were loaded as 8 bit per channel which makes
sense for most but not all dds formats.

This commit implements loading in 16 bit for "L16" - a 16 bit
luminance channel.

In addition to that we improve security a bit  by not assuming
that L16 is the only left over case but instead explicitly
checking the correct value of rmask for L16.

For other cases we now set an error with enough details
to identify the type of DDS image that needs extra
handling.

(cherry picked from commit fe228a6f6f)

# Conflicts:
#	plug-ins/file-dds/ddsread.c
2021-04-26 17:45:04 -04:00
0bc3653f98 Update Catalan translation 2021-04-26 20:27:09 +02:00
330c3f49a9 Update Ukrainian translation 2021-04-25 17:53:28 +00:00
0ebf24d4b4 Update Catalan translation 2021-04-25 19:11:18 +02:00
9102914748 Update Swedish translation 2021-04-25 16:01:35 +00:00
eb9eec4acb pdb: add a PDB compat procedure for median-blur 2021-04-25 12:19:04 +00:00
9406991bb7 plug-ins:fix #6624 metadata viewer default window size is too small
Let's increase the default size of the metadata viewer a bit.
Ideally we would add some logic to determine the width of
the first column since that one currently depends on the
length of the longest tag. However for now this change
will be enough for most cases.

(cherry picked from commit 165b50abcc)
2021-04-24 12:52:58 -04:00
b2fa1bd948 script-fu: fix #6741 Round Corners script fails to work on layer masks
The round corners script was assuming that the drawable always
was a layer, which is incorrect when a layer mask is selected.

We fix this by always requesting the active layer instead of
active drawable.

We also enable this script for RGB and GRAY with alpha
channel. Although it might not always make sense to
use this script when an alpha channel is present, there
can be use cases where it is perfectly fine.

So let the designer decide if this script is suited or not
instead of GIMP making that judgement.

(cherry picked from commit ed35579861)

# Conflicts:
#	plug-ins/script-fu/scripts/round-corners.scm
2021-04-24 12:52:19 -04:00
58a54998d3 NEWS: update. Start the GIMP 2.10.26 section. 2021-04-24 15:42:24 +02:00
c447c7e7b5 plug-ins: Add 'dir-make' procedure to Script-fu.
Closes: GNOME/gimp#541

Reviewer note: thanks to Stanislav Grinkov for cleaning up and reworking
a bit the patch, such as renaming the procedure to dir-make, as per
Kevin Cozens' review.

(cherry picked from commit 11906fa82c)
2021-04-24 15:23:48 +02:00
57bffb2464 GIMP-CRITICAL: gimp_marshal_VOID__OBJECT_STRING_STRING: assertion 'n_param_values == 4' failed
(cherry picked from commit c6fde64815)
2021-04-24 15:23:41 +02:00
ac7e841e24 Issue #5008: Always true condition (i>=0) inside fill_inverse_cmap_gray.
Removing useless condition, add a g_return_if_fail() assertion for the
only (impossible unless bug) case which we don't expect. Also set
default mindist to G_MAXLONG instead of a magic number (which was ok now
but might become a problem if some day colormap allowed more than 16-bit
per channel colors).
Finally break when we reach a distance of 0 since we won't get lower
anyway, so better stop early.

Thanks to Rafał Mikrut and Øyvind Kolås for code commenting.

(cherry picked from commit d6dac25579)
2021-04-24 15:23:33 +02:00
2e6c233a4c app: fix an assertion when converting grayscale images to indexed.
We cannot just compare the drawable format with the model-type specs of
the color model. We need to include the space now.
In my case, some random screenshot converted to gray then indexed would
assert because the format is "Y' u8-space-gray-sRGB" (or for layers with
alpha: "Y'A u8-space-gray-sRGB"), hence indexed conversion failed and
ended up dark.

(cherry picked from commit c0e605ef96)
2021-04-24 15:23:21 +02:00
404c728e2a plug-ins: fix #6755 DDS RGB10A2 has Red and Blue swapped.
Looking at the documentation it is indeed red that should go
in the lowest bits and blue in the highest bits so just
reverse our code for red and blue.

We also update the version of our GIMP DDS plug-in,
this way we can catch and correct RGB10A2 images
written by older versions of our plug-in and correct
them.

(cherry picked from commit cad6273fed)

# Conflicts:
#	plug-ins/file-dds/dds.h
2021-04-23 15:12:54 -04:00
b93dd4e0fe Revert "app: append insensitive reason to GimpAction proxy tooltip."
This reverts commit bf9a292723.

I messed up copying the commit to cherry pick.
2021-04-23 15:07:55 -04:00
bf9a292723 app: append insensitive reason to GimpAction proxy tooltip.
With my previous commit, I improved the search action display and search
algorithm (which was returning wrong results), but we had lost showing
the non-sensitive reason in menu item tooltips. This fixes it, by
actually appending the reason, but only in the end, on the GtkWidget
tooltip (not in the action's tooltip itself).

(cherry picked from commit 13a02aea23)
2021-04-23 15:02:12 -04:00
c52aa7dc2c plug-ins: change non-existing brush.
Fixes:
> Calling error for procedure 'gimp-brush-get-pixels':
> Brush 'Circle (03)' not found

The data/brushes/Circle-3.vbr brush doesn't exist since commit
7aa12175a4 in 2012 as far as I can see.

(cherry picked from commit 65e10faf50)
2021-04-21 17:53:43 +02:00
1664ca7867 Update Makefile.am
(cherry picked from commit 6e27c46b5f)
2021-04-21 01:37:02 +02:00
9b87106720 Issue 6210: Subpixel font rendering system settings should only apply…
… to GIMP not text layer rendering in image

Patch was merged n Cairo today, wouhou!
https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/114
If not mistaken, the fix should then appear in Cairo 1.17.6 or 1.18.0
(whatever comes next). As we are obviously not going to bump the Cairo
dependency so early, let's just add the patch, at the very least to be
used for our official builds. Also this way, we won't forget about this
issue in the future when we need to bump Cairo.

(cherry picked from commit 5f61d84570)
2021-04-20 18:30:56 +02:00
7b0df6f04a Fix issue #6577 : scriptfu hang on select dialog on Mac 2021-04-19 14:30:59 +00:00
573a4798b6 plug-ins: fix #6723 Unable to open DDS files.
This is the same as what we did for #5357
but in the reverse situation. The reason
for not doing the same at that time was
because I wasn't sure if that was valid
in all cases.

Looking at the documentation it does seem
to be the right solution and is working for
the supplied example image.

(cherry picked from commit 48ff5313c3)

# Conflicts:
#	plug-ins/file-dds/ddsread.c
2021-04-14 13:44:14 -04:00
59bab76383 app: fix 3d transform tool not added to gimphelp-ids.h
(cherry picked from commit 4aaad4f749)
2021-04-09 18:04:49 -04:00
2b6ab09cc1 Issue #6394: Wacom Airbrush finger wheel non-functional (on…
… Cintiq 16).
Adding the patch provided by Knuckx. Note that the GTK3 variant of the
patch is already merged to gtk-3-24 branch and published since GTK
3.24.28. Nevertheless since the contributor also provided a GTK2
variant, it would be a bit of a waste to let it go down the drain,
wouldn't it?
So let's try and use it in our GIMP 2.10.x packages for Windows.
2021-04-07 14:27:56 +02:00