Commit Graph

43533 Commits

Author SHA1 Message Date
b6837276b0 Update British English translation 2019-08-27 17:15:32 +00:00
a47fcadcd8 NEWS: add bugfix number. 2019-08-27 12:48:51 +02:00
7fc9357452 Issue #3263: fix critical error on bucket fill tool.
Fixes the error:
> Critical error: gimp_line_art_thaw: assertion 'line_art->priv->frozen'

This may happen in cases when we didn't actually freeze the line art at
pointer click, because we were in an invalid case (for instance,
clicking out of selection), hence we must not thaw the line art either
at button release.

(cherry picked from commit 6391b2bcff)
2019-08-27 12:45:21 +02:00
7c0ed951c2 Updated Slovenian translation 2019-08-26 22:29:27 +02:00
c70bd96b87 Updated Slovenian translation 2019-08-26 22:28:41 +02:00
89f8217f4a Updated Slovenian translation 2019-08-26 22:27:48 +02:00
a55b962d33 Updated Slovenian translation 2019-08-26 22:26:26 +02:00
ba4fe89dcf Updated Slovenian translation 2019-08-26 22:19:18 +02:00
ad542450ea Update British English translation 2019-08-26 09:11:44 +00:00
7d0fc8d2d9 Update Catalan translation 2019-08-26 09:34:43 +02:00
30dfd499ca Update Hungarian translation 2019-08-24 21:49:34 +00:00
ad7bbd3af3 Updated Slovenian translation 2019-08-24 20:23:20 +02:00
b6a4799314 Updated Slovenian translation 2019-08-24 20:21:34 +02:00
98eb78a2b4 Updated Slovenian translation 2019-08-24 20:20:18 +02:00
7bd11df998 Updated Slovenian translation 2019-08-24 20:19:19 +02:00
20533c8567 Update Swedish translation 2019-08-23 12:04:24 +00:00
4f24ee0397 Remove Bugzilla from the desktop file
We don't seem to need it anymore, and all GNOME apps have removed it already.
2019-08-20 13:00:18 +03:00
b742c7e39c Update Polish translation 2019-08-18 16:00:15 +02:00
b24cb22547 Update Swedish translation 2019-08-16 20:58:35 +00:00
70273f8d41 Update Swedish translation 2019-08-16 20:30:33 +00:00
7cc61ade2b plug-ins: link dds plugins against libm
(cherry picked from commit 1661aab620)
2019-08-14 11:58:26 +02:00
Ell
409853a03b app: update projection-buffer extent when projectable size changes
In GimpProjection, when the projectable's size changes, while its
offset remains the same, simply update the projection buffer's
extent, instead of allocating a new buffer and copying the contents
over.

(cherry picked from commit 1577174739)
2019-08-13 17:44:26 +03:00
Ell
d3af77890d app: add gimp_tile_handler_validate_buffer_set_extent()
... which sets the extent of a buffer with an assigned
GimpTileHandlerValidate, clipping the dirty region to the new
extent.

(cherry picked from commit b4ee9ff055)
2019-08-13 17:44:26 +03:00
Ell
56f6c35e30 app: add gimp_gegl_buffer_set_extent()
.... as a drop-in replacement for gegl_buffer_set_extent(), which,
in addition to setting the buffer's extent, clears any now-out-of-
bounds tiles, to free memory.

(cherry picked from commit 90610ac87e)
2019-08-13 17:44:25 +03:00
574602dc1d Update Spanish translation 2019-08-13 08:35:14 +00:00
Ell
7072c20bb9 Issue #3341 - Add Bevel doesn't work for high thickness values
Something during the port to gimp-drawable-edit (commit
233ac80de1) broke add-bevel.scm when
the thickness is high enough for the selection to become empty.

Add an explicit check for a selection while constructing the bump-
map layer.

(cherry picked from commit 21649c5eaa)
2019-08-12 22:19:08 +03:00
afdd573136 pdb: don't pass nodes with parents to gimp_drawable_apply_operation()
(cherry picked from commit 8222d3ffad)
2019-08-12 19:43:44 +02:00
Ell
55c7841f15 app: differentiate tooltips of image/layer arbitrary-rotation actions
Change the tooltips of the "Image/Layer -> Transform -> Arbitrary
Rotation..." to make the two actions distinguishable in the action
search dialog, similarly to the other image/layer transform
actions.

(cherry picked from commit 9582cf7717)
2019-08-12 17:32:23 +03:00
a61fb20e18 Update Turkish translation 2019-08-11 17:55:50 +00:00
66e1601bca Update Turkish translation 2019-08-11 17:54:40 +00:00
1e23fa2828 Update Turkish translation 2019-08-11 17:52:27 +00:00
a9784d7b5f Update Polish translation 2019-08-11 15:06:46 +02:00
Ell
fd29ee1997 app, menus: add "Image -> Transform -> Arbitrary Rotation..." action
Add a gimp-rotate-image-arbitrary action, and a corresponding
"Image -> Transform -> Arbitrary Rotation..." menu entry, which
activates the rotate tool in image mode (similarly to the
corresponding action for layers).

(cherry picked from commit 8bff415f59)
2019-08-11 00:34:29 +03:00
Ell
7c7983d5ef app: use gimp_transform_tool_set_type() in tools-rotate-arbitrary action
... so that the original transform-type of the rotate tool is
restored once the layer is rotated.  Additionally, make sure to
set the tool's transform-type even if it's already active.

(cherry picked from commit 52ad37a2aa)
2019-08-11 00:30:18 +03:00
Ell
1e52fc5fa9 app: add gimp_transform_tool_set_type()
... which temporarily changes the transform-type of the tool,
restoring the original type once it's halted.  To be used when
activating a transform tool through an action for a specific
transform type.

(cherry picked from commit f651db52fb)
2019-08-11 00:30:17 +03:00
Ell
5903c9c71d app: add "Image" transform type to transform tools
Add a new "Image" transform type to the transform tools, in
addition to the existing "Layer", "Selection", and "Path" transform
types.  The "Image" mode transforms the entire image, rather than a
single item.  In tools with a preview, the preview shows the
transformed image projection.  The clipping mode controls how the
canvas is clipped during the transform; in particular, the ADJUST
clipping mode resizes the canvas to fit its transformed size.

(cherry picked from commit e4990bee7b)
2019-08-11 00:30:17 +03:00
Ell
cd4eaf6e54 app: indentation fixes in the transform tools
(cherry picked from commit 9f823c396a)
2019-08-11 00:30:16 +03:00
Ell
3675916880 app: use a pickable instead of a drawable in GimpCanvasTransformPreview
In GimpCanvasTransformPreview, use a GimpPickable, instead of a
GimpDrawable, as the preview source, so that we can use it with the
image projection, rather than just with drawables.

(cherry picked from commit 6023f97509)
2019-08-11 00:30:16 +03:00
Ell
e5d1f5ac4b app: add gimp_display_shell_show_image()
... which controls whether or not the image is rendered by the
shell.  We'll use this to hide the image while showing its
transform preview in the next commits.

(cherry picked from commit 539d666ae2)
2019-08-11 00:30:14 +03:00
Ell
52c66bca5e app: add gimp_image_transform()
Add a new gimp_image_transform() function, which transforms the
entire image, including all layers, channels (including selection
mask), vectors, guides, and sample points, according to a
transformation matrix.  The canvas is resized according to the
clip_result parameter, the same way drawables are resized during
transformation; the layers are resized using ADJUST mode
regardless.

(cherry picked from commit c45f1b4148)
2019-08-11 00:29:33 +03:00
Ell
2558d77d1c app: add gimp_image_flip_full()
... which takes the symmetry axis as a parameter, instead of hard-
coding the axis to the middle of the image, and which additionally
takes the clipping mode as a parameter, controlling whether to clip
or resize the canvas.  Note that the actual canvas size never
changes, but it may be offset when flipped around an off-center
axis, without clipping.

Implement gimp_image_flip() in terms of gimp_image_flip_full().

(cherry picked from commit ae080f06f9)
2019-08-11 00:29:32 +03:00
Ell
20dd07ca45 app: fix sample-point OOB check in gimp_image_resize[_with_layers]()
(cherry picked from commit d13c6ce3e0)
2019-08-11 00:29:32 +03:00
Ell
75d3276aa7 pdb: fix image-mask transforms
In the various PDB transform functions, avoid erroneously creating
a floating selection when transforming the image mask, and rather
transform the mask normally.
2019-08-09 22:24:04 +03:00
Ell
f221b424c0 app, pdb: use gimp_item_get_clip() everywhere
Remove the special clipping-mode handling for channels throughout
the transform (and drawable-filter) code, and rather use
gimp_item_get_clip(), added in the previous commit, instead.  As
mentioned in the previous commit, we only modify the clipping mode
in top-level code, while having lower-level code use the clipping
mode as-is.  This not only hides the actual clipping-mode logic
from the transform code, but, in particular, allows code performing
transformation internally to use arbitrary clipping modes.

Also, this commit fixes a bunch of PDB bugs all over the place :)
2019-08-09 22:24:03 +03:00
Ell
3a7972e5fb app: add gimp_item_get_clip()
Add a new GimpItem::get_clip() virtual function, and a
corresponding gimp_item_get_clip() function, which return the
actual clipping mode to be used when transforming (or applying a
filter to) a given item, given the original clipping mode.  This
applies only to whole-item transformations (i.e., when not creating
a floating selection), and should be used by the top-level code
applying the transformation, rather than by the actual
transformation code, so that the item can be transformed using a
different clipping mode internally.

Provide a default implementation that simply returns the input
clipping mode, and override for GimpChannel (to always return CLIP)
and for GimpVecotrs (to always return ADJUST).

(cherry picked from commit d5cdcc6c02)
2019-08-09 22:23:57 +03:00
Ell
a0d43cd927 app: fix layer-mask offset when applying filter to layer without clipping
(cherry picked from commit f9fb3e6fad)
2019-08-09 22:23:57 +03:00
Ell
037bc8575e app: limit color-history palette size
Limit the color-history palette size (currently, to 256 colors), to
avoid slowdowns, especially during loading.

(cherry picked from commit 07b7d63a7d)
2019-08-07 19:20:59 +03:00
Ell
8d15563f4c Issue #3718 - Large colorrc file causes lag when painting with a new color
In gimp_palette_mru_add(), if the added color doesn't match an
existing color, don't look for two duplicate existing colors (which
has quadratic complexity), since there shouldn't be any under
normal circumstances (as we're not adding duplicates to begin
with).

(cherry picked from commit e60829767e)
2019-08-07 19:20:58 +03:00
5db729bdbe Update Russian translation 2019-08-07 14:23:25 +03:00
6a36bdacf1 Update Russian translation 2019-08-07 14:02:37 +03:00