Commit Graph

43759 Commits

Author SHA1 Message Date
Ell
04d17b7829 app: add option to show tool-button menu on hover
Add a "Menu mode" option to the toolbox preferences, which controls
the menu behavior for tool-group buttons, and can be one of "Show
on click" (current behavior), "Show on hover" (show the menu when
hovering over the button), and "Show on hover in single column"
(behaves like "Show on hover" when the toolbox has a single column,
and "Show on click" otherwise) -- the latter is the default.

Note that "Show on hover" requires the ability to remove the menu
grab, which doesn't seem to work in GTK3, so this change is
restricted to 2.10 for now.
2020-03-26 13:31:55 +02:00
Ell
327b3fb772 app: in GimpToolButton, select active tool in menu
In a GimpToolButton representing a tool group, select the group's
active-tool item when showing the menu.

(cherry picked from commit 75435c8e6b)
2020-03-26 13:30:05 +02:00
3041a51f5b Installer: add Croatian and Marathi language 2020-03-24 21:36:32 +01:00
a8fb741246 Installer: rearrange install order of files, should make installing slightly faster 2020-03-24 20:59:35 +01:00
888efb220a Installer: file-mng builds on 32-bit Windows, stop special-casing it 2020-03-24 20:26:28 +01:00
Ell
ad85b13498 Issue #4858 - Duplicated image shows NULL in warning when closing it
In gimp_image_duplicate(), explicitly mark the new image as dirty,
so that its dirty time is set.  This avoids showing a NULL message
in place of the dirty time when closing the image.

(cherry picked from commit 83f935873a)
2020-03-23 22:31:07 +02:00
Ell
b6a777cb9d app, menus: add gegl:bloom to Filters -> Light and Shadow
(cherry picked from commit 74b0d2ad14)
2020-03-23 21:31:57 +02:00
8fcd187bf5 Update Russian translation 2020-03-23 17:27:52 +03:00
Ell
0e8b995ba0 app: apply spin-scale gamma to input, not output
In GimpSpinScale, apply the slider gamma to the input [min,max]
range, rather than the output [0,1] range, using an odd gamma
curve, in particular, so that we handle negative values correctly.

(cherry picked from commit 5678153797)
2020-03-22 13:30:30 +02:00
f6120257cd Update Ukrainian translation 2020-03-21 14:38:03 +00:00
942a1e4e97 Update Swedish translation 2020-03-19 23:28:45 +00:00
Ell
3c845ec433 Issue #4827 - Modified settings requiring a restart aren't saved
When checking for updates, write the new timestamp and version info
to Gimp::edit_config, instead of Gimp::config, and rely on its
auto-save mechanism to save the changes, in order to avoid having
to save Gimp::config on exit, which overrides modified settings
that require a restart, such as the UI language, as they are only
reflected in Gimp::edit_config.

This fixes the bug, but can cause the new update info to be
discarded if the Preferences dialog is open while checking for
updates, and is subsequently canceled.  Ideally, the update info
should live in a separate file, rather than in gimprc.

(cherry picked from commit ee2a65af0d)
2020-03-19 12:40:06 +02:00
0463cbfaff Update Ukrainian translation 2020-03-18 09:19:40 +00:00
fcb161c3f8 Change order of CFLAGS for SSE tests
This makes the configure tests for SSE support fail if CFLAGS specify -mno-sse2 or/and -mno-sse4.1.
Fixes #4363.

(cherry picked from commit 0108d7e214)
2020-03-18 00:47:47 +01:00
3616734faf Issue #4745: make check test-desktop failed.
Please translators, read the translation comments! ;-)

(cherry picked from commit 8fd2f1e0e3)
2020-03-17 19:42:36 +01:00
83da81f308 Fix typos
Found via `codespell -q 3 -S ./ChangeLog*,*.po -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint`

(cherry picked from commit a928452eba)
2020-03-17 13:36:59 +01:00
d46812839c m4macros: update ax_gcc_func_attribute.m4 to serial 12
The serial 7 of m4macros/ax_gcc_func_attribute.m4 has an issue that when
Wstrict-prototypes is used with gcc, the attribute detection always
fails even if the attribute is actually supported. In such case the fish
cache will never be constructed. It's fixed in serial 12 of the macro in
autoconf-archive and this change updates the one distributed with GIMP
to serial 12.

(cherry picked from commit 7a4254dda1)
2020-03-17 13:36:52 +01:00
34fc10f014 Update Spanish translation 2020-03-16 09:17:28 +00:00
Ell
1af8ad8905 app: in plug-ins, fix invalid parameter names instead of rejecting procedure
Instead of rejecting plug-in procedures with invalid parameter- or
return-value names (see issues #4392 and 4641), simply fix the
invalid name and allow the procedure to register.  Apparently,
there are plug-ins out there that use invalid parameter names (in
particular, liquid-rescale), so let's keep them working in 2.10.

Show appropriate warning/error for invalid parameter names when not
in PDB compat mode.
2020-03-15 17:16:44 +02:00
e4d3d88ac6 Update Polish translation 2020-03-15 14:19:41 +01:00
cb4f0de066 Issue #4618: support Canon CR3.
And by "supporting CR3", I mean sending the file over to raw developer
software which are supposed to support it! At the very least RawTherapee
support CR3 (since recent version 5.8 apparently), not sure about
darktable (but if not yet, I assume it won't be long either).

(cherry picked from commit 3a0af1f50a)
2020-03-14 23:59:31 +01:00
Ell
fbaf3c4290 app: render layer-group preview in chunks
In gimp_drawable_get_sub_preview_async(), when the drawable buffer
has a validate handler (i.e., when it's a group layer), use a chunk
iterator to validate the buffer in chunks, where each chunk is
validated in a separate invocation of the async function.  This
prevents validation from blocking the main thread for too long when
the buffer is not already fully validated.

(cherry picked from commit 64bf77aed8)
2020-03-14 16:06:13 +02:00
Ell
cd4c81133a app: speed up layer-group preview rendering
In gimp_drawable_get_sub_preview_async(), when the drawable buffer
has a validate handler (i.e., when the drawable is a group layer),
validate the requested area before calling gegl_buffer_get(), so
that the buffer is validated in a single step, instead of tile-by-
tile.

(cherry picked from commit 919ddce773)
2020-03-14 13:55:05 +02:00
Ell
422452b5da app: add "chunked" parameter to gimp_tile_handler_validate_validate()
... which allows validating the area in chunks, instead of in a
single step.

(cherry picked from commit faf6acfb67)
2020-03-14 13:55:04 +02:00
Ell
24db85bef6 app: allow waiting on idle asyncs
In gimp_idle_run_async(), connect to the async's "waiting" signal,
and run the async func in the context of the caller in response, to
avoid blocking indefinitely.

(cherry picked from commit 30f509c84d)
2020-03-14 13:55:04 +02:00
552c9565e4 NEWS: mention #4793 fix 2020-03-14 09:54:43 +00:00
Ell
2460322522 app: white-space fix in gimp-utils.c
(cherry picked from commit fe82ee54e8)
2020-03-14 01:01:14 +02:00
Ell
42bfadd5c8 app: avoid duplication in gimp_drawable_get_sub_preview_async()
(cherry picked from commit 10fe3009ed)
2020-03-14 00:57:21 +02:00
Ell
d4b79fdcf1 Issue #4793 - Layer-group preview-update blocks UI when adding/removing layers
In gimp_drawable_get_sub_preview_async(), use
gimp_idle_run_async_full() to render the preview in a low-priority
idle source when the drawable uses a validate handler (i.e., when
it's a group layer), to avoid rendering the preview before the
projection is done rendering, causing a noticeable freeze.

(cherry picked from commit fee159e6b4)
2020-03-14 00:47:31 +02:00
Ell
d0d43ce252 app: add gimp_idle_run_async[_full]()
In gimp-utils, add new gimp_idle_run_async() and
gimp_idle_run_async_full() functions, having the same signature as
gimp_parallel_run_async[_full](), but running the async function in
an idle source on the main thread, instead of in a separate thread.

The 'priority' parameter of gimp_idle_run_async_full() specifies
the idle-source priority.

(cherry picked from commit 6733b153cc)
2020-03-14 00:47:30 +02:00
Ell
a787d61fbc app: rename GimpParallelRunAsyncFunc to GimpRunAsyncFunc
... and move it to core-type.h, in preparation for next commit.

(cherry picked from commit f25a8934fa)
2020-03-14 00:45:41 +02:00
f8fb958fde NEWS: some forgotten bits for 2.10.20 2020-03-10 19:01:54 +00:00
2ab72aac3f NEWS: start tracking 2.10.18 -> 2.10.20 changes 2020-03-10 18:59:09 +00:00
a1af934d9d Issue #4094 - Corrects some tools descriptions
This patch corrects some inconsitent Tool Options Tab Title using tools tooltips.
Scissors > Scissors Select
Heal > Healing
Align > Aligment
2020-03-09 21:57:26 +00:00
Ell
5528c660af configure.ac: fix last commit
Removed a little bit too much.

(cherry picked from commit 51e4549d5c)
2020-03-08 13:10:41 +02:00
Ell
bf8f004b15 configure.ac: require glib >= 2.56.2
Recent code changes depend on 2.56 symbols, and no one seemed to
complain for 2.10.18, so let's just bump the requirement.

Furthermore, 2.56.0 and 2.56.1 have a Windows-specific bug we were
testing for, so let's just bump straight to 2.56.2.
2020-03-08 12:30:29 +02:00
3f2e17ca6e Issue #4328 - Distorted path of an open/imported circle...
...from an svg file

gimp_bezier_stroke_new_ellipse(): need to interpolate the path's head
and tail, not its tail and tail. Spotted by Massimo.

(cherry picked from commit 27e78849a2)
2020-03-07 14:50:30 +01:00
Ell
f70d24784c tools: in performance-log-viewer.py, handle markers with > INT_MAX timestamps
(cherry picked from commit 84ff130e18)
2020-03-06 12:37:11 +02:00
4bd51786f2 Update Spanish translation 2020-03-06 07:35:25 +00:00
Ell
b886dd1f46 Issue #4641 - Invalid PDB parameter names for data-selection functions
In the various libgimp data-selection functions, replace spaces
with hyphens in the callback-proc parameter names.  Spaces in
parameter names are invalid, which is now enforced by GIMP/GLib,
causing procedure registration to fail.
2020-03-05 20:21:42 +02:00
Ell
84fdd1b601 Issue #4734 - GIMP crashed while using Unified Transformation Tool
When committing a transformation to a floating-selection layer, if
the selection mask is non-empty (probably a state we don't want to
allow, but one that can currently be achieved), and the tool-GUI
dialog is detached, gimp_transform_grid_tool_response() is called
*while* applying the transformation, leading, ultimately, to a
segfault.

Fix this by returning early when this happens.

(cherry picked from commit 11efe64736)
2020-03-05 19:02:17 +02:00
cbb8e9debc Replace fileicon.ico with version contain 24x24, 64x64, 128x128, and 256x256 sizes for Windows icon, per issue #872 2020-03-05 14:22:56 +00:00
23f7de4428 Replace wilber.ico with version containing 128x128 size of Windows icon, per issue #872 2020-03-05 14:22:56 +00:00
e6633d7568 Replace fileicon.ico with version contain 24x24, 64x64, 128x128, and 256x256 sizes for Windows icon, per issue #872 2020-03-05 14:22:56 +00:00
7966dce4d4 Update Ukrainian translation 2020-03-03 06:40:56 +00:00
34964a0057 Update Ukrainian translation 2020-03-03 06:39:39 +00:00
0d9b227d87 Update Spanish translation 2020-03-02 10:38:04 +00:00
cf1afbc248 Update Polish translation 2020-03-01 14:51:36 +01:00
Ell
225fc14872 Issue #4663 - "Error loading PSD file: No error" while trying to open a PSD
In file-psd, avoid error on load when encountering an uknown image
resource of size 0.

(cherry picked from commit 0ce993c4b9)
2020-02-28 00:48:09 +02:00
Ell
44d0c63129 plug-ins: in file-psd, make offset/size fields unsigned
In file-psd, make the data_start and data_len fields of the
PSDimageres and PSDlayerres structs unsigned, to avoid potential
overflow/sign-extension.

(cherry picked from commit be7cace74e)
2020-02-28 00:48:09 +02:00