Commit Graph

43533 Commits

Author SHA1 Message Date
Ell
862821b98f app: fix CRITICAL when translating selected content
Fix a CRITICAL when creating a floating selection by Alt-dragging a
selection using one of the selection tools.

(cherry picked from commit 1e9bf288ba)
2019-10-02 18:38:05 +03:00
Ell
72eeee39db Issue #2837 - Floating selection is clipped to base layer
When attaching a floating selection to a layer, don't clip the
floating selection to the layer's boundary, and instead resize the
layer to include the entire floating selection when it's anchored.
As per the last commit, this can be prevented by locking the
layer's position.

(cherry picked from commit 64b979c2f3)
2019-10-02 18:22:28 +03:00
Ell
58e486ad93 app: don't resize layer when applying filter if its position/size are locked
When applying a filter to a layer whose position and size are
locked, avoid resizing the layer to the result size in ADJUST mode.
We do this by always returning GIMP_TRANSFORM_RESIZE_CLIP in
gimp_item_get_clip() when the position is locked, and properly
updating the drawable-filter's clip mode, and the filter-tool's UI,
when the position lock changes.

(cherry picked from commit 6ed6cd78d8)
2019-10-02 18:22:27 +03:00
Ell
b8177906a2 app: fix use of Clone tool with "sample merged" across images
In GimpSourceCore, when "sample merged" is enabled, derive the
source pickable from the source drawable's image according to the
paint-core's show-all flag manually, instead of using
gimp_paint_core_get_image_pickable(), which uses the destination
image, and would therefore only work when the source and
destination images are the same.

In GimpSourceTool, override GimpPaintTool::paint_prepare() to set
the paint-core's show-all flag according to the source display,
rather than the destination display.

(cherry picked from commit aa02f1f35c)
2019-10-02 17:16:00 +03:00
Ell
8f290dccce app: add GimpPaintTool::paint_prepare() vfunc
... which is called when starting to paint, before the tool's
paint-core is started, allowing the tool to configure the core.
Move the call to gimp_paint_core_set_show_all() to the default
implementation of paint_prepare().

(cherry picked from commit ffd6c2eda2)
2019-10-02 17:16:00 +03:00
Ell
78aeba77e2 app: add missing SET_SENSITIVE() for new filter actions
(cherry picked from commit 6b8ffd419d)
2019-10-01 19:03:26 +03:00
Ell
08f59073de Issue #3994 - Artifacts when committing half-cached filters
In gimp_gegl_apply_cached_operation(), when applying a non-point
filter with the same source and destination buffers, render the
result to a temporary buffer to avoid chunking artifacts.  We'd
previously duplicate the source buffer instead (with commit
35729ee02a erroneously copying the
cached results to the source/destination buffer before duplicating
it, causing this bug), but we now use a temporary result buffer
instead; this has roughly the same overhead, but would allow us to
keep the original operation-node input when committing a drawable
filter in a future commit, which would avoid dropping any cached
data.

(cherry picked from commit 88c6f8296d)
2019-09-30 10:25:19 +03:00
f4e6fbdbbe Update Polish translation 2019-09-29 16:15:39 +02:00
c5e0559291 Updated Slovenian translation 2019-09-28 21:18:59 +02:00
5581a2f668 Updated Slovenian translation 2019-09-28 21:12:50 +02:00
7c1ec07e3b Update Chinese (Taiwan) translation 2019-09-28 10:34:29 +00:00
Ell
dd1525cf75 app: add missing change to last commit
(cherry picked from commit 24731851e4)
2019-09-28 11:36:30 +03:00
Ell
a93d410916 app: avoid updating image bounding box multiple times when reordering layer
Add internal gimp_image_{freeze,thaw}_bounding_box() functions, and
use them in gimp_image_reorder_item() to avoid updating the
bounding box multiple times while moving a layer across group
boundary, to prevent flickering.

(cherry picked from commit a6ebbfe317)
2019-09-28 11:14:16 +03:00
Ell
e4c7f869c4 app: update image bounding box when moving layer inside/outside of group
In GimpImage, update the image's bounding box in response to the
layer container's "add" and "remove" signals, instead of during
gimp_image_{add,remove}_layer(), so that the bounding box is
properly updated when moving an existing layer inside/outside of a
layer group, instead of only when adding/removing a new layer.

Even though moving a layer across group boundary doesn't change the
overall image bounding box, it does change the group's bounding
box, affecting the image bounding box.  It's therefore necessary to
update the image bounding box again when the layer is re-added to
the layer stack, so that the bounding box doesn't get stuck in an
intermediate state.

(cherry picked from commit 2a753170b9)
2019-09-28 11:14:16 +03:00
Ell
6a1474677d app: fix offset handling in spiral gradients
In gimp:gradient, properly scale the "offset" property in spiral
graidnets.

(cherry picked from commit 04280690b2)
2019-09-27 16:07:52 +03:00
a19f03486e --verbose messages don't need to be translatable. 2019-09-26 23:56:41 +00:00
98989f1cde po-plug-ins: remove duplicate 'es' language.
Added in commit cf12a423ac. I assume this
was an error. Thanks to Piotr Drąg for noticing.
2019-09-27 01:24:55 +02:00
8a400e304f Issue #3990: make the status of the XCF docs a bit clearer (hopefully).
Though it may have started as an unofficial document, it is clearly now
an official one (which should be obvious since it is in our source
repository, but apparently some people get misled by the historical
"Status" text to think this to be somehow unofficial).
So first of all, change the s/official/unofficial/ mention.

Secondly, add a small paragraph explicitly telling that the document is
complete (and meant to be), to the best of our knowledge. This document
is a detailed, full and exhaustive written "specification" of the XCF
format up to GIMP 2.10.x (even though the normative spec is still the
code itself). Now we are humans, we may have missed something, and if
so, this is just to be considered as any other bug, and reported to us
nicely to be fixed.

(cherry picked from commit 80e2e0a508)
2019-09-27 01:22:34 +02:00
339b80aa15 Updated Slovenian translation 2019-09-26 20:47:31 +02:00
30448c002c Updated Slovenian translation 2019-09-26 20:46:44 +02:00
c0f3521e36 Updated Slovenian translation 2019-09-26 20:44:48 +02:00
a7f308d276 Updated Slovenian translation 2019-09-26 20:44:01 +02:00
47127c78e3 Update Spanish translation 2019-09-24 12:51:06 +00:00
871b9fedae libgimp: fix gimp_image_metadata_save_prepare()'s check for IPTC flags
it was checking gimp_export_xmp() not gimp_export_iptc(), probably a
copy/paste error.

(cherry picked from commit 70ac0e9d9a)
2019-09-24 12:14:28 +02:00
cf12a423ac Add Spanish translation 2019-09-23 14:08:26 +00:00
d1d8ffaa23 Updated Spanish Translation 2019-09-23 16:06:49 +02:00
a572718f71 Update Spanish translation 2019-09-23 14:03:15 +00:00
9d925aa629 Update NEWS 2019-09-23 00:15:24 +03:00
Ell
b7f1b1fbe9 app: add offset support to shaped gradients
In gimp:gradient, handle the "offset" property in shaped gradients.

(cherry picked from commit 6bd5deea89)
2019-09-22 21:59:19 +03:00
Ell
7c51194cc1 po: add gimpcompressioncombobox.c to POTFILES.in
(cherry picked from commit beeaec5670)
2019-09-22 18:17:36 +03:00
Ell
4e71435112 libgimpbase, libgimp, app: inherit swap-compression in plug-ins
Pass the swap-compression option set in the preferences down to
plug-ins, so that they use the same swap-compression algorithm as
the main app.

(cherry picked from commit 5cc289b642)
2019-09-22 18:07:11 +03:00
Ell
d5e78f1899 app: add "Swap compression" option to the preferences
Add a new "Swap compression" option to the preferences, allowing
explicit control over the tile-swap compression algorithm.
Previously, control over swap compression was only possible through
GEGL command-line options/environment variables.  Since the GEGL
API to list all available compression algorithms is still private
for now, we currently only list the three predefined compression
levels -- "best performance" (the default), "balanced", and "best
compression" -- and a "none" option, to disable compression
altogether.  Selecting a custom compression algorithm is possible
by entering its name manually.

(cherry picked from commit 1664ecbf1d)
2019-09-22 17:42:23 +03:00
eb386d2d5e Update Polish translation 2019-09-21 12:58:31 +02:00
740571401f Merge branch 'gimp-2-10' of https://gitlab.gnome.org/GNOME/gimp into gimp-2-10 2019-09-21 12:42:48 +03:00
f00fdab055 Update Russian translation 2019-09-21 12:42:20 +03:00
a8740ee510 Updated French translation 2019-09-21 10:55:26 +02:00
Ell
bafb44064b app: add "show all" support to "Layer -> New from Visible"
When in "show all" mode and canvas padding is disabled, have the
"layers-new-from-visible" action create a new layer from the full
image content, rather than just the canvas content.

(cherry picked from commit e7479cad47)
2019-09-19 20:24:49 +03:00
Ell
7132dd0355 app: handle buffers with arbitrary origin in gimp_layer_new_from_gegl_buffer()
... by translating the layer according to the buffer's origin.

(cherry picked from commit 6ef21ed1f0)
2019-09-19 20:24:49 +03:00
Ell
b67efd4b6c app: add gimp_display_shell_get_canvas_pickable()
... which is similar to gimp_display_shell_get_pickable(), however,
it returns the projection, rather than the image, only when
gimp_display_shell_get_infinite_canvas() is TRUE, i.e., when the
shell is in "show all" mode *and* canvas padding is disabled.

(cherry picked from commit 71f42f6675)
2019-09-19 20:24:49 +03:00
fd631a37c2 Update French translation 2019-09-19 14:46:09 +00:00
Ell
bb8a3b94cc app: in Rectangle/Ellipse tools, update selection when clicking inside existing one
In GimpRectangleSelectTool, when creating the rectangle widget as a
result of clicking inside an existing selection, update the
selection at the click, so that the tool's effects are applied
immediately, without having to further modify the selection.

(cherry picked from commit 7d2e872f4f)
2019-09-19 17:39:39 +03:00
b2e6468e0c Update French translation 2019-09-19 14:22:03 +00:00
4bd55696ec Update Brazilian Portuguese translation 2019-09-18 22:26:25 +00:00
a997027da4 Issue #1283 - Artifacts in filters when aux input depends on filter result
In GimpBufferSourceBox, dup the selected buffer (and flush the
pickable to make sure it's fully rendered) instead of using it
directly in the source node.  This avoids chunking artifacts when
the buffer's content depends on the filter output, such as when
using the affected layer, or a dependent projection, as input.

(cherry picked from commit 9f85efd825)
2019-09-18 13:17:03 +03:00
dc9e147b60 desktop: use better wording by prokoudine in Appdata file.
Just merge a bit with the "Title: info" formatting of other items.
2019-09-17 19:33:57 +02:00
3313bfc9d3 desktop: fix the AppData release listing.
I wrote down the wrong option name (based on some Gaussian Blur specific
option). My mistake was to make a quick check in GIMP itself instead of
properly looking at the relevant commit message and code change.
Thanks to Sabri Ünal for raising this issue.

(cherry picked from commit 46e96a413d)
2019-09-17 19:31:46 +02:00
8940e1db0b desktop: update release note in AppData.
So many exciting changes in 2.10.14, it's hard to choose what to list,
since AppData notes need to stay short. :-)

(cherry picked from commit 8cdcaa4ef1)
2019-09-17 19:31:46 +02:00
cde574ba20 Revert "Fix typo on appdata changelog, spotted by Sabri Ünal"...
and "Mention Show All option in the appdata changelog".

This reverts commit 57f5861ec4
and commit f203e92aa2.

The master AppData file is the one in master branch and should be kept
in sync. Even for 2.10.x release, this should have been pushed to master
then cherry-picked to gimp-2-10 (or the opposite as long as both
branches are synced).
Now I need to revert these to fix branch divergence. I will merge back
the wording by prokoudine in a later commit.
2019-09-17 19:30:42 +02:00
51d924ef18 Update Turkish translation 2019-09-16 19:00:27 +00:00
86a77ff07c Update Turkish translation 2019-09-16 18:58:46 +00:00