Commit Graph

43935 Commits

Author SHA1 Message Date
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
0ff65ff76a Update Spanish translation 2020-02-27 13:50:18 +00:00
e0e41796cc Update German translation 2020-02-24 20:30:03 +00:00
4ac41df830 Update Dutch translation 2020-02-24 16:15:55 +00:00
5dfa459364 Update Swedish translation 2020-02-24 13:20:23 +00:00
Ell
9084b2449b app: add Finnish translation to the Windows installer
(cherry picked from commit ac289461ae)
2020-02-24 11:09:41 +02:00
3f9cd9b435 Update Finnish translation 2020-02-23 18:21:08 +00:00
2e1ae761ac Add Finnish translation 2020-02-23 18:00:00 +00:00
Ell
2d671cf5f7 Revert "configure.ac, app: temporarily revert GEGL dependency to 0.4.22 for release"
This reverts commit 6bed57abe2.
2020-02-23 19:28:02 +02:00
d1438a3fa0 configure.ac: post-release version bump to 2.10.19 2020-02-23 18:23:27 +01:00
26a8592f96 Update Finnish translation 2020-02-23 16:57:30 +00:00
de7f04567d NEWS: slight reformatting 2020-02-23 17:53:54 +01:00
69b63c2f14 2.10.18: update appdata to match recent changes 2020-02-23 16:27:34 +00:00
197bd743c8 2.10.18: update NEWS 2020-02-23 13:12:45 +03:00
25e3c899e0 Update Basque translation 2020-02-23 10:06:59 +00:00
ceaf9a8657 Update Basque translation 2020-02-23 09:33:55 +00:00
Ell
f8b07bd8b5 icons, tools: add Symbolic high-contrast variants
Add new Symbolic-High-Contrast and Symbolic-Inverted-High-Contrast
themes, which are automatically-generated high-contrast variants of
the (original) Symbolic theme.  The contrast factor is settable in
the makefile, and is currently at 1.5 for both themes.

Rename tools/invert-svg to tools/svg-contrast, which now takes a
contrast-factor argument, and adjusts the input SVG contrast,
instead of just inverting it.  Note that we can still use the tool
to invert icons, using a contrast of -1.
2020-02-22 22:51:18 +02:00
Ell
6bed57abe2 configure.ac, app: temporarily revert GEGL dependency to 0.4.22 for release
... and work around the missing gegl_buffer_share_storage() API in
gimp:replace.
2020-02-22 22:28:11 +02:00
696bb3fa21 app: use GIMP_BUILD_PLATFORM_FAMILY instead of GIMP_BUILD_PLATFORM.
I didn't realize it because the meson build was returning 'windows' for
GIMP_BUILD_PLATFORM when I cross-built with Mingw-w64. But in the
autotools, it was storing "mingw32", which would not compare with our
gimp_versions.json. Therefore in GIMP 2.10.16, the version update check
would have worked, but not the revision check.
This fixes the problem.

(cherry picked from commit a5ea6d6b9b)
2020-02-22 19:58:55 +01:00
Ell
6e6366e53c plug-ins: in file-psd, use scratch allocator for temporary CMYK buffers; cleanup
(cherry picked from commit 1b6191d176)
2020-02-22 18:21:43 +02:00
Ell
49b12b58af app: in the Preferences dialog, allow horizontal scrollbars in all tree-views
Allow horizontal scrollbars in all the Preferences dialog tree-
views, so that they don't limit the minimal width of the dialog (in
particular, the UI- and icon-theme tree-views may contain
arbitrarily-long paths).

(cherry picked from commit d868247fd9)
2020-02-22 17:40:41 +02:00
7b7ff8e152 Update Polish translation 2020-02-22 16:22:54 +01:00
Ell
38a9e80821 app: draw border around FG/BG-editor color areas
In GimpFgBgEditor, we currently use gtk_render_frame() in master,
and gtk_paint_shadow() in gimp-2-10, to draw a border around the
color FG/BG color areas.  However, the former is relatively
subtle, especially with dark themes, and the latter is a NOP with
the pixmap engine, which is what our built-in themes use.

Instead, draw the border ourselves as a pair of black and white
rectangles, similarly to Photoshop.

Move the entire color-frame drawing functionality to a separate
function, to avoid code duplication between the FG and BG frames.

(cherry picked from commit fb1c086097)
2020-02-22 17:16:54 +02:00
1432f5ca4f Update Swedish translation 2020-02-22 12:55:08 +00:00
Ell
878f222233 app: suspend layer-group size updates while loading XCF
In xcf_load_image(), suspend size updates for layer groups before
adding their sublayers, to avoid unnecessary intermediary size
updates.  Resume size updates in reverse order, so that nested
groups are updated before their ancestors, after all layers have
been loaded.

(cherry picked from commit 63df5602a2)
2020-02-22 12:45:19 +02:00