Commit Graph

43700 Commits

Author SHA1 Message Date
Ell
68c250b63e libgimpwidgets: fix percentage use in size-entry arithmetic when lower-bound != 0
In GimpSizeEntry, the value corresponding to 0%, as per
gimp_size_entry_set_size(), may be non-zero.  This works correctly
when using the size entry in percentage mode, but not when using
precentage as part of arithmetic.

Fix this by adding an 'offset' parameter to eevl's unit-resolution
callback, which can be specifies a constant value to add as part
of unit conversion, after scaling the converted value by the
conversion factor.  In GimpSizeEntry, use this parameter to offset
percentages by their lower bound.
2020-01-06 23:10:04 +02:00
93f935865f Issue #4203 - Wavelet decomposition only on RGB images
Add GRAY* to the list of supported image types.

(cherry picked from commit 38cccaac49)

(not really a cherry-pick, but nice to see the resp. commit from
master)
2020-01-06 19:49:57 +01:00
61a2d53c9d Issue 2862 - Error message. Unable to decode abr...
...format version 10.

Simply allow the parser to read version 10, seems to work
with the brushes in issue #2862.

(cherry picked from commit c39d8fde33)
2020-01-06 19:38:12 +01:00
07b3acd69b Issue #3588 - Add Yu'v' (CIE 1976 UCS) to GIMP color picker
Which is a linear transform of xyY that is more perceptually
uniform, and so well-suited for eventually adding chromaticity
diagrams to GIMP color tools. ACES documentation uses this color
space instead of xyY for showing chromaticity diagrams. Moving
forward I expect other venues also will start using Yu'v' as
the advantages over xyY chromaticity diagrams are fairly obvious.

(cherry picked from commit bb660c5821)
2020-01-06 19:24:24 +01:00
b419aa5d10 app: expand functionality of merge-down button
Adds a number of modifier keys to the layer dockable's new "Merge Down"
button to access further functions, and adds among them a new action to
merge visible layers using the dialog's last values, akin to those
accompanying the New Layer and Add Layer Mask dialogs.

Modifier keys are bound as follows:
  Shift -> Merge layer group
  Ctrl -> Merge visible layers
  Ctrl + Shift -> Merge visible layers from last used values

The Merge Down button is kept sensitive even when the current layer
can't be merged down to allow access to these functions

(cherry picked from commit a11ada4ce2)
2020-01-06 18:39:30 +01:00
3bab2e60fa app: consolidate UI for merging down and anchoring layers (issue #1184)
As they are both mutually exclusive and serve an almost identical
purpose, the "Merge down" and "Anchor Layer" are given mutually
exclusive visibility in menus, and the anchor button is replaced
with a merge down button in the Layers dockable whenever there is
no active floating selection

(cherry picked from commit f539fc78c0)
2020-01-06 18:39:10 +01:00
90de27109e Update Japanese translation 2020-01-06 14:32:50 +00:00
8ae2d8358d Updated Italian translation 2020-01-06 11:32:50 +01:00
94739caf31 Update Japanese translation 2020-01-06 09:43:18 +00:00
f1b7801f95 Update Japanese translation 2020-01-06 09:35:06 +00:00
b69c2ef9ce app: fix missing const qualifier.
Thanks to frogonia for noticing.

(cherry picked from commit 5ec22b6720)
2020-01-01 02:24:22 +01:00
0731fa3f35 Issue #2227 - GIMP 2.10.6 crashes with assertion GIMP_IS_TAGGED in...
...MyPaint brushes dialog

In gimp_tag_entry_assign_tags(), don't add/remove tags while iterating
tag_entry->selected_items, because that might change the list. Instead,
make a temporary deep copy of the list and iterate the copy. Spotted
by Massimo.

(cherry picked from commit ff32fe9f5d)
2020-01-01 00:27:24 +01:00
1354d37921 Update French translation 2019-12-31 11:02:56 +00:00
66a833f8f2 Update French translation 2019-12-30 09:15:55 +00:00
3f76d7782a Issue #4338 Plug-in file-header exporting to format C header wrong output. 2019-12-29 21:51:51 +00:00
52d7088c46 Issue #2674 - File/Open Recent opens the wrong document
Must call gimp_action_init() from gimp_action_impl_init() or the
signal handlers to update label and tooltip will ever be installed.
Found by Massimo.

(cherry picked from commit 45ad58dff4)
2019-12-28 21:40:39 +01:00
923ee63b43 plug-ins cml-explorer add missing gegl_init. 2019-12-28 17:05:02 +00:00
b5ceb4610d Issue #4331 - Bevel Reflect Logo script crashes in 2.10.14
Add missing gegl_init() to map-object.
2019-12-28 17:57:54 +01:00
dba4e95497 Update Spanish translation 2019-12-24 10:50:19 +00:00
573c043bab Issue #4392: Gimp Segmentation Fault triggered by Glib GParamSpec...
... property name validation.
Previous commit fixed the parameter name validation in core code. This
commit fixes the source error in the plug-in code.
2019-12-24 01:34:29 +01:00
4550fc1bfa Issue #4392: Gimp Segmentation Fault triggered by Glib GParamSpec...
... property name validation.
GLib tightened its GParamSpec name validation, as it used to only check
that the first letter was a letter, which triggered this issue, though
the crash could have also happened with the former lax rules too (commit
30e630c9df792cf36cdb1cceb3daefbde1dc898a).

I opened a merge request in GLib to make the validation code into a
public function. In the meantime, let's just copy-paste the validation
code into ours and when a plug-in attempts to create a procedure with
invalid parameter or return value names, GIMP will just output an error
and refuse to install the procedure instead of crashing.
See: https://gitlab.gnome.org/GNOME/glib/merge_requests/1302
2019-12-24 01:34:29 +01:00
92fda7713b build: .gitlab-ci.yml: add xorgproto package 2019-12-21 17:07:34 +01:00
414b76f358 NEWS: update fixed bugs list. 2019-12-21 10:31:03 +01:00
94b1e98767 plug-ins: WebP: save_dialog() before gimp_export()
As mentioned in issue #1777, exporting non-animated WebP images was
only keeping the current layer.
Mimick file-gif-save.c: display the encoding settings pop-up earlier
so that gimp_export_image() can merge the layers unless "As Animation"
is enabled. Call gimp_image_get_layers() directly in save_image() in
case the layers were merged (for clarity because layers are used only
for animations).

(cherry picked from commit 8f828d1899)
2019-12-21 10:20:33 +01:00
ecf40cffdb NEWS: add fixed bug number. 2019-12-19 21:15:06 +01:00
feeaa819a2 Update Japanese translation 2019-12-19 15:05:00 +00:00
b205bd6f59 Update Japanese translation 2019-12-18 16:11:50 +00:00
4254fe1ed7 Update Japanese translation 2019-12-18 16:09:21 +00:00
f50cb339c0 Core: Fix cast to pointer from integer of different size warning on gimpbacktrace-windows.c 2019-12-01 01:33:51 +00:00
638ce9a585 Updating NEWS added bug resolved whit no commit reference 2019-12-01 00:45:00 +00:00
1ca3d99fbc tools, fix implicit declaration of function atoi warning 2019-11-30 02:06:30 +00:00
8f33d5ea05 apply the same master patch 2019-11-29 22:06:28 +00:00
771304d73b libgimpbase, plug-ins: fix all warnings to g_stat() calls.
The second parameter should be GStatBuf*, which will be defined to be
the right struct depending on the actual platform. Using `struct stat*`
was good on Linux but was outputting warnings on other platforms (at
least on Win32).

(cherry picked from commit 6bc6a07b7e)
2019-11-29 23:04:12 +01:00
5a5069649d Updated Greek translation 2019-11-28 11:02:54 +02:00
1c0f128de8 Updated Greek translation 2019-11-28 10:08:23 +02:00
5c163918a2 NEWS: update bug report list. 2019-11-24 22:27:55 +01:00
2d25b06f6f Issue #4209: Animation optimize for GIF moves layers to top left corner.
Regression from commit 9d33a9a9ca as spotted by Massimo.

(cherry picked from commit 9a4d1f0277)
2019-11-24 22:26:36 +01:00
73c99d8ebb NEWS: update bug list. 2019-11-22 00:29:42 +01:00
ce4865670b Windows backtrace: VEH must use stdcall
Fixes issue #2794

(cherry picked from commit cd54a8fee9)
2019-11-22 00:08:38 +01:00
27dd38531e build: add a patch for OpenBlas on Windows.
Actual patch contributor wants confidentiality to avoid leaking
proprietary information or whatever (I am not sure either what to be
scared of as it's all good and harmless to me, but let's respect the
request). See also #4246 for more details.

(cherry picked from commit 370499676f)
2019-11-20 17:29:35 +01:00
b67fe859a7 app, devel-docs: remove dangling DBUS_GLIB_* variables.
dbus-glib is no more a dependency since commit c4460e84, i.e. already
since 2013!

(cherry picked from commit 5f2a6940e3)
2019-11-16 19:32:35 +01:00
e177d6ce07 Update Catalan translation 2019-11-16 08:28:42 +01:00
68d2a7f952 configure: fix typo which was breaking the build.
(cherry picked from commit 6124be59b7)
2019-11-13 13:26:08 +01:00
0570aec5fe Issue #4185: Plug-in “file-heif.exe” crashes exporting HEIF/HEIC.
My previous test (commit 41285813a5) was a bit misinformed. So it turns
out bug #4185 is for all platforms and the broken libheif versions are
1.5.0 and 1.5.1 only.

So my new test (platform independent) is: prefer libheif versions with
profile support, except 1.5.x; then prefer lower versions without
profile support; and only as last resort accept 1.5.x versions (but
output a warning).

(cherry picked from commit f051e6d238)
2019-11-13 12:40:14 +01:00
876c781b97 Fix make check by replacing metadata-tags.h with metadata.c as spotted by grem 2019-11-12 23:46:11 +03:00
c0c0e9afc6 Issue #2543: gimp doesn't open on debian stretch (libmypaint crash).
Known bug in libmypaint dependency. It has been fixed in libmypaint
1.4.0, which we cannot hard require unfortunately (Debian testing still
at 1.3.0).

Still let's make add a warning so that packagers are aware of the issue
and update when possible.

(cherry picked from commit 5da252ca18)
2019-11-12 17:17:33 +01:00
8f510e68f6 configure: improve libheif detection and output.
Replace the "Heif >= 1.4.0" line in the summary output by a comment in
the "Heif" line explaining this is about profile support.

Also add a >= 1.6.0 test and output a warning for Windows and macOS (cf.
bug #4185).

(cherry picked from commit 41285813a5)
2019-11-12 15:33:28 +01:00
7328f0eab9 po: fix missing semicolon in Basque translation.
I am not touching the translation, only the formatting for the Keywords
field in desktop file. As requested by a translation comment, all
translations of this field need to end with semicolon too (without, we
get validation warnings).

(cherry picked from commit 053fbd7da5)
2019-11-12 15:32:36 +01:00
83dd89b9d1 Updated Danish translation of gimp-plug-ins 2019-11-12 03:30:53 +01:00
be953fb5c0 Update German translation 2019-11-11 23:06:03 +00:00