Commit Graph

42130 Commits

Author SHA1 Message Date
Jehan f8a1d574ee libgimpthumb: another missing link to libgimpbase.
Again this error was only raised when cross-compiling.

(cherry picked from commit 2587b85aaa)
2018-08-12 22:46:44 +02:00
Jehan 1461496999 tools: fix linking error.
Though no error was raised during a native build, a cross-build was
choking on this missing link to libgimpbase and failing.
The error returned by the linker though was a bit amiss.

Fixes:
> gimp-test-clipboard.o: In function `test_clipboard_copy_callback':
> tools/gimp-test-clipboard.c:419: undefined reference to `g_file_get_contents'
> collect2: error: ld returned 1 exit status

(cherry picked from commit 0865e9db1f)
2018-08-12 22:46:44 +02:00
Jehan 04bbe941d5 Issue #1999: Opening the Preferences dialogue triggers Xcode warning.
It seems that calling `lldb` when it is absent triggers some popup
proposing to install Xcode on macOS. This is obviously not good. Let's
check presence with g_find_program_in_path() instead. I was refraining
from doing so until now, because this function allocates memory, hence
may not do well during a crash.
Fortunately we don't need to check for lldb during crash (unlike gdb
which has some unacceptable behavior for older versions, at least on
FreeBSD) so that should be ok.
2018-08-11 00:25:45 +02:00
Jehan ae19441ddc app: small code cleaning.
Removing unused declaration of icons_set_icon_theme().
And reorder a bit the declarations to match the definition order.
2018-08-10 21:40:27 +02:00
Martin Srebotnjak 4818e93686 Updated Slovenian translation 2018-08-10 20:59:45 +02:00
Martin Srebotnjak 442e71dbfe Updated Slovenian translation 2018-08-10 20:50:26 +02:00
Rūdolfs Mazurs b7d614b330 Update Latvian translation
(cherry picked from commit 23c877cb09)
2018-08-10 13:55:59 +00:00
Rodrigo Lledó 49cebcb643 Update Spanish translation 2018-08-10 11:57:00 +00:00
Tim Sabsch a6c65fe05f Update German translation
(cherry picked from commit 83c764817f)
2018-08-10 11:48:08 +00:00
Tim Sabsch fabc0ceaf7 Update German translation
(cherry picked from commit eeb942612e)
2018-08-10 11:00:58 +00:00
Anders Jonsson 29a05ccfac Update Swedish translation
(cherry picked from commit b785d7752c)
2018-08-10 07:48:39 +00:00
Ell fc2c640ca2 app: fix group layer drawable update during size change
In gimp_group_layer_update_size(), never suspend drawable updates
(and, in fact, remove the option to suspend drawable updates
entirely,) and instead never update the drawable during the call to
gimp_drawable_set_buffer_full(), and flush the group's projection
*after* setting the drawable's buffer, so that any pending updates
will happen after the group's buffer and size are up-to-date.

This fixes some missed drawable updates.
2018-08-10 03:21:08 -04:00
Ell 2d63bc6e0a app: fix projection update-area offset upon buffer allocation/reisizing
In GimpProjection, change gimp_projection_add_update_area() to take
coordinates in the projection's coordinate system, rather than the
image coordinate system, and move the offset adjustment to the
projectable invalidation handler.

Modify gimp_projection_projectable_structure_changed() to pass
projection-space coordinates to gimp_projection_add_update_area().

gimp_projection_get_buffer() and
gimp_projection_projectable_bounds_changed() already pass
projection-space coordinates to gimp_projection_add_update_area(),
which was wrong before, when the projection had a nontrivial
offset, but is correct now.
2018-08-10 03:21:08 -04:00
Piotr Drąg 0380ac82bf Update Polish translation 2018-08-10 06:49:47 +02:00
Ell 537bf4ec6a app: add gegl:long-shadow to the menus 2018-08-09 19:02:59 -04:00
Ell b6c56a6ae9 app: keep sanity/blacklist gegl op lists alphabetically sorted 2018-08-09 19:02:59 -04:00
Ell d4ef45bdbd configure.ac: require GEGL >= 0.4.7 2018-08-09 19:02:57 -04:00
Rūdolfs Mazurs 0b075b5692 Update Latvian translation
(cherry picked from commit 4409d5496d)
2018-08-09 19:25:57 +00:00
Martin Srebotnjak 3c483321ee Updated Slovenian translation 2018-08-09 20:57:13 +02:00
Rūdolfs Mazurs 0a42267d1e Update Latvian translation
(cherry picked from commit b17619399f)
2018-08-09 18:47:37 +00:00
Rūdolfs Mazurs 0e6364d583 Update Latvian translation
(cherry picked from commit ee89bfad52)
2018-08-09 18:42:54 +00:00
Martin Srebotnjak c210a1f097 Updated Slovenian translation 2018-08-09 20:41:37 +02:00
Martin Srebotnjak bd2e7d1805 Updated Slovenian translation 2018-08-09 20:31:32 +02:00
Martin Srebotnjak 0d696efe89 Updated Slovenian translation 2018-08-09 20:24:28 +02:00
Martin Srebotnjak 01ae843589 Updated Slovenian translation 2018-08-09 20:09:40 +02:00
Michael Natterer 6938d11716 Issue #1997 - Colors not properly converted to image's color space
Add a Babl space parameter to gimp_gegl_color_new() and all utility
functions using it. Pass NULL if the GimpRGB actually is sRGB, pass
the image's layer space if the color was already converted using
gimp_pickable_srgb_to_image_color() or similar.
2018-08-09 20:04:44 +02:00
Michael Natterer 753523c4d1 Issue #1953 - Crashes during color profile conversion
gimp_image_convert_color_profile(): need to ref the src_profile across
the conversion because gimp_image_set_color_profile() might unref it.
2018-08-09 18:53:13 +02:00
Anders Jonsson ef60a04a53 Update Swedish translation
(cherry picked from commit 6c201827a7)
2018-08-08 23:25:39 +00:00
Anders Jonsson bbd5b66d65 Update Swedish translation
(cherry picked from commit b43a84c6fb)
2018-08-08 23:18:04 +00:00
Michael Natterer 6798f7d4cd app: add precondition checks to gimp_gegl_convert_color_profile() 2018-08-08 23:04:08 +02:00
Rodrigo Lledó 3ff2f28b94 Update Spanish translation 2018-08-08 09:34:18 +00:00
Michael Natterer 49dfc6143d Issue #1662 - GIMP crashes while using cage transform when selection is active
Fixed by implementing Massimo's two findings:

gimp_operation_cage_transform_process(): if aux_buf is NULL, bail out
after initializing out_buf with identity vectors, fixes the crash.

gimp_cage_tool_create_filter(): set the drawable filter's region to
GIMP_FILTER_REGION_DRAWABLE, fixes offset when there is a selection.
2018-08-07 20:09:35 +02:00
Piotr Drąg 0169d48165 Update Polish translation 2018-08-07 18:55:09 +02:00
Jehan 549d880847 app: display extension long description in the details widget.
AppStream spec says it can only contain <p>, <ol> and <ul> markups.
Unfortunately these are not pango markups (nor is there any equivalent).
So I just use newlines and spaces until I figure out anything fancier.

That's all still quite ugly, but whatever, I'm still in the start.
2018-08-07 18:22:47 +02:00
Mario Blättermann ab1bad23e3 Update German translation
(cherry picked from commit b8ef5a8527)
2018-08-07 16:15:42 +00:00
Jehan a4e0a8f96e app: extensions can now install themes. 2018-08-07 15:51:54 +02:00
Jehan 7d611e713c app: extensions can now install splashes.
Not the most useful type of extensions per-se, but a lot of people seem
to appreciate creating and installing new splashes. Let's make it easy
to install as extensions.
Note that extension splashes are cumulative. So if you enabled several
splash extensions at once, an image would be chosen in random amongst
all of them.
2018-08-07 15:51:54 +02:00
Jehan c7b5977637 app: work with GIO in splash code.
This will go with the next commit, but I broke it so I can backport the
code without extension handling in gimp-2-10 first.
2018-08-07 15:51:54 +02:00
Rodrigo Lledó 5331e40042 Update Spanish translation 2018-08-07 09:48:09 +00:00
Jehan b3add5109c app: fix small leak.
Return values of gimp_config_build_*_path() must be properly freed.
2018-08-06 16:51:39 +02:00
Jehan f6d1380fcd app: removing gimp_get_icon_size() now unused.
It was using deprecated functions regarding how icons used to work, such
as gtk_icon_set_get_sizes() or gtk_style_context_lookup_icon_set().
The last uses of this function disappeared in last commit.
2018-08-06 15:38:37 +02:00
Jehan d1372c6c24 libgimpwidgets, app: change "stock-size" property of...
... GimpCellRendererToggle into "icon-size".

In particular making it a pixel size instead of a GtkIconSize. This enum
is limited to a few presets (registering new values is deprecated since
GTK+ 3.10), with names completely semantically wrong. It is better to
specify icon sizes (before scaling) in pixels directly, which goes also
with named icons instead of stock ones.
2018-08-06 15:38:37 +02:00
Jehan 343bfbf259 desktop: preparing release for GIMP 2.10.6. 2018-08-06 15:38:37 +02:00
Ell 9530b5cea3 Issue #1980 - Color picker wrong results when picking from non-sRGB...
...image using "Sample Average"

Also fix gimp_gegl_average_color(), which is where all current
implementers of GimpPickable actually calculate the average.
2018-08-06 09:02:42 -04:00
Anders Jonsson f14ace2116 Update Swedish translation
(cherry picked from commit 8b893bb817)
2018-08-06 11:37:06 +00:00
Anders Jonsson 05226763ba Update Swedish translation
(cherry picked from commit 7057490298)
2018-08-06 11:31:05 +00:00
Michael Natterer a2fe90aa54 Issue #1980 - Color picker wrong results when picking from non-sRGB...
...image using "Sample Average"

In GimpPickable, create the "RaGaBaA double" format used for averaging
with the space of the source pixels.
2018-08-06 12:39:36 +02:00
ONO Yoshio f0e585e7ff Fix file-pdf-save exports broken vertical text. 2018-08-06 10:10:40 +00:00
Ell 2ac91e0fc3 Issue #1125 - Transform tools temporarily disables layer mask
In GimpCanvasTransformPreview, add the necessary bits to the
preview graph so that, when transforming a layer, the layer's
opacity and mask are correctly applied to the preview.  Note that
since we're still not rendering the preview as part of the image
graph, the output is not always accurate, but it should be good
enough in most cases.
2018-08-06 04:21:42 -04:00
Rodrigo Lledó 2b90231844 Update Spanish translation 2018-08-06 07:29:51 +00:00