Commit Graph

43935 Commits

Author SHA1 Message Date
5667dd2b97 Update and denaphtalinize Russian translation, part 1 of many 2020-05-21 12:38:38 +03:00
Ell
5771393379 app: zero-out transparent pixels when converting to indexed
When converting an image to indexed mode, zero-out transparent
pixels instead of leaving junk in their indices, which might well
be out of range of the palette.

(cherry picked from commit 09870d4b15)
2020-05-20 21:16:55 +03:00
Ell
3e61ef9ae6 app: fix alignment of generic pixel buffers
Wherever we store arbitrary-format colors in an opaque buffer, use
double for the buffer, instead of char, so that it has a strict-
enough alignment to handle all our used pixel formats.

(cherry picked from commit a90f59d961)
2020-05-20 08:54:31 +03:00
81fb595ca0 app: do not try to copy a buffer result from a canceled GEGL operation.
This fixes:
> GEGL-WARNING: (../../src/gegl/gegl/buffer/gegl-tile.c:127):gegl_tile_dup: runtime check failed: (! src->damage)

Which happened when a GEGL operation was running and you canceled it in
the middle, say with the ESC key (easy to reproduce with long operations
such as "Color to Gray"). In such case, obviously don't try to copy the
unfinished operation result into the dest buffer.

(cherry picked from commit 2b764c6542)
2020-05-20 08:39:34 +03:00
3ebcf8d31a Update Romanian translation 2020-05-19 14:46:27 +00:00
Ell
7c8c2c0d69 app: don't leak text-tool UI manager
(cherry picked from commit 8fa9221fb8)
2020-05-19 17:06:32 +03:00
Ell
b5353eb2eb app: in GimpPanedBox, don't accept drag contexts with unsupported targets
... to avoid highlighting the droppable areas during darg.

(cherry picked from commit e38010b2d1)
2020-05-18 18:19:47 +03:00
b8dfa31a88 Update Romanian translation 2020-05-18 14:24:17 +00:00
7361e2d8c3 Update Swedish translation 2020-05-17 20:14:10 +00:00
1e9b8b32c7 Update Polish translation 2020-05-17 12:40:15 +02:00
Ell
f000e40590 Revert "app: update display-enums.c"
The updated display-enums.h isn't in gimp-2-10 yet :P

This reverts commit 3899d75a98.
2020-05-16 16:02:58 +03:00
Ell
bd892491f4 app: fix CRITICAL when using "show all" by default
When using "show all" by default, gimp_display_flush() can be
called during GimpDisplayShell construction, before the newly-
constructed shell is assigned to the display.  Use an ugly hack to
just ignore the flush when this happens.

(cherry picked from commit 0a06294af7)
2020-05-16 15:59:25 +03:00
Ell
3899d75a98 app: update display-enums.c
(cherry picked from commit bc13dc80dd)
2020-05-16 15:59:17 +03:00
cebcd49b3a Updated Greek translation 2020-05-15 14:24:46 +03:00
Ell
60db24b655 app: another fix in GimpToolFocus
(cherry picked from commit 1171798ca6)
2020-05-15 13:39:53 +03:00
Ell
03fcb782a6 app: various fixes in GimpToolFocus
(cherry picked from commit 2fcf667efd)
2020-05-15 12:34:04 +03:00
60a4248ebf Update Ukrainian translation 2020-05-15 09:18:53 +00:00
991626f62e Updated Greek translation 2020-05-15 12:00:11 +03:00
765a427ac8 Updated Greek translation 2020-05-15 10:03:18 +03:00
Ell
92baa76e11 app: fix signature of gimp_canvas_limit_new()
... and gimp_tool_widget_add_limit().

(cherry picked from commit 9fe589734b)
2020-05-15 00:56:06 +03:00
Ell
3bc1d6a31a app: add gegl:focus-blur to Filters -> Blur
gegl:focus-blur blurs the image around a focal point.  It can be
used to create fake depth-of-field effects.

Add a prop-gui constructor which uses a FOCUS controller to control
the focus geometry.

(cherry picked from commit 60d4d25b93)
2020-05-15 00:50:01 +03:00
Ell
8e96c6c1b2 app, menus: add gegl:variable-blur to Filters -> Blur
gegl:variable-blur applies a blur with a per-pixel radius
controlled by a mask.

(cherry picked from commit 721f2d8c27)
2020-05-15 00:49:57 +03:00
Ell
85259b3faf app: add FOCUS controller to gegl:vignette
Add a prop-gui constructor to gegl:vignette, using a FOCUS
controller to control the op's geometry.

(cherry picked from commit f6f0a8a2d8)
2020-05-15 00:49:56 +03:00
Ell
5295a1121e app: add FOCUS prop-gui controller
... based on GimpToolFocus.

(cherry picked from commit 3a62c53009)
2020-05-15 00:49:47 +03:00
Ell
36b3745d10 app: add GimpToolFocus tool widget
Add a new GimpToolFocus tool widget, which defines a focus region,
consisting of an inner limit, an outer limit, and a transition
midpoint between them.  The widget allows controlling the limits
and the midpoint, and moving, scaling, and rotating the region.

(cherry picked from commit 5e005a762c)
2020-05-15 00:49:46 +03:00
Ell
d9ef974d43 app: add gimp_tool_widget_add_group()
... which adds a regular (non-filling, non-stroking) canvas-item
group to the widget.

(cherry picked from commit 1a8f0b6cd6)
2020-05-15 00:49:41 +03:00
Ell
24a7a3d27b app: add gimp_display_shell_constrain_angle()
... which constrains an angle to discrete increments in screen
space, similarly to gimp_display_shell_constrain_line().

(cherry picked from commit 8c1a277007)
2020-05-15 00:49:41 +03:00
Ell
ecf131ed0c app: add GimpCanvasLimit canvas item
Add a new GimpCanvasLimit canvas item, which draws an area limit
for different shapes.  It will be used by the following commits to
implement GimpToolFocus.

(cherry picked from commit 06a2b4f338)
2020-05-15 00:49:40 +03:00
Ell
bd00527fe5 app: in GimpDrawTool, update widget on tool resume
In GimpDrawTool, update the tool widget on GIMP_TOOL_ACTION_RESUME,
so that it can respond to changes in the display-shell scale/
offset.  We'd previously done that for individual tools/widgets,
but let's just do it in one place.

(cherry picked from commit c73710e410)
2020-05-15 00:49:08 +03:00
Ell
c4061c01aa app: pause/resume active tool when rotating canvas
In GimpDisplayShell, pause and restore the active tool when
rotating the canvas, similarly to scrolling and scaling.

(cherry picked from commit cd5e4e99dd)
2020-05-15 00:49:07 +03:00
Ell
2bfc4fc476 app: allow arbitrary aux inputs in GimpOperationTool
In GimpOperationTool, don't limit aux inputs to "aux".."aux32", and
rather list all aux inputs the op has.

(cherry picked from commit 1bf9d1ba53)
2020-05-15 00:48:55 +03:00
10ca1d8cd3 Update Romanian translation 2020-05-14 13:47:14 +00:00
abdd94583d Update Ukrainian translation 2020-05-14 12:53:25 +00:00
cd1c842cd5 plug-ins: fix duplicate mnemonic in one string in ddswrite.c 2020-05-14 09:41:58 +02:00
63a749721f Update Ukrainian translation 2020-05-12 20:10:16 +00:00
546309b7a2 Update Romanian translation 2020-05-12 20:01:43 +00:00
e9e4421787 Update Romanian translation 2020-05-12 19:58:06 +00:00
4aad8599f1 Update Romanian translation 2020-05-12 19:52:37 +00:00
f274b139fc Issue #3533 - Tool preset doesn't restore opacity and paint mode
There is no non-hackish way of fixing this without adding a new
"use-opacity-paint-mode" property to GimpToolPreset and a new toggle
in GimpToolPresetEditor. Restoring opacity and paint mode can now be
controlled explicitly, and defaults to TRUE.

(cherry picked from commit 97b714d428)
2020-05-12 21:14:41 +02:00
2dbd3a951c Update Swedish translation 2020-05-11 22:49:35 +00:00
bdd0a88783 Update Ukrainian translation 2020-05-11 07:04:24 +00:00
d0074985cc app: in UI strings s/Precision/Encoding/
(cherry picked from commit 7025039b93)
2020-05-11 03:55:45 +02:00
4d2b82f0d3 Update Romanian translation 2020-05-10 07:58:49 +00:00
fd52dfd55e Add Romanian translation 2020-05-10 07:48:09 +00:00
c6103998d4 Update Romanian translation 2020-05-09 18:57:28 +00:00
Ell
acd6c2b5f5 app: remove ANTI_ERASE from filter mode set
It used to be included in "Edit -> Fade", but it's too low-level.

(cherry picked from commit 59f3b07c5f)
2020-05-08 14:42:25 +03:00
a92270fe73 Fixed translation
(cherry picked from commit 58c41d9fdc)
2020-05-06 21:18:41 +03:00
ef217108a6 app: clear the clipboard after storing its contents, upon quitting.
If we don't do this, the clipboard owner doesn't get unreffed (also the
GtkClipboardClearFunc is not called either, but we don't set any so this
was not a big problem).

The main consequence was that copying was setting the Gimp object as an
owner, which kept a reference and prevent its finalize() method to run,
hence was leaking data (and in particular some GEGL buffers for
clipboard operations, which was how the issue became more visible upon
exit).

(cherry picked from commit fca6371e29)
2020-05-06 19:25:25 +02:00
694ce3fd54 devel-docs: update debugging-tips with GEGL's meson option names.
(cherry picked from commit 29b1d91b76)
2020-05-06 19:25:18 +02:00
c35572f0c1 gitlab-ci: babl requires now vapigen for Vala binding.
(cherry picked from commit 2baf8a3be1)
2020-05-06 19:25:02 +02:00