Commit Graph

43035 Commits

Author SHA1 Message Date
a4b151759f plug-ins: updating deprecated enum names from libheif.
(cherry picked from commit b1133ef866)
2019-06-25 13:22:35 +02:00
1c0761053d Issue #3164: HEIC doesnt have color profile.
Since this requires libheif 1.4.0, released end of February 2019, this
commit should not go into the gimp-2-10 branch right now.

(cherry picked from commit 22e14e0b9b)
2019-06-25 13:22:23 +02:00
96713a30c9 Update Polish translation 2019-06-24 16:16:30 +02:00
86c858cc53 app: some formatting in the edit non-visible layers code
(cherry picked from commit e47936182e)
2019-06-24 15:58:42 +02:00
a8b9dfbc3f Issue #3560: "Screenshot delay: __ seconds" item lacks mnemonic.
(cherry picked from commit 3604e8e7ad)
2019-06-24 12:03:52 +02:00
a5cc4c8dfd Add woob to the authors list 2019-06-23 17:51:40 +03:00
4afc11580a app: Add initial support for configurable editing of non-visible layers (Issue #2713)
Add a "edit-non-visible" configuration option, found under
Edit->Preferences->Tool Options as "Allow editing on non-visible layers"
2019-06-23 16:18:05 +03:00
89ff122e01 Update Turkish translation 2019-06-22 22:02:45 +00:00
3a7ebc0ec7 Update Turkish translation 2019-06-22 21:50:38 +00:00
f73e31571a Issue #3500 - Preferences option to convert to Preferred RGB profile...
...doesn't work

Rename the labels to "built-in sRGB color profile" and "built-in
grayscale color profile" because that's what the option does, it never
converted to the preferred profiles from preferences.

(cherry picked from commit d67f4604aa)
2019-06-21 12:50:38 +02:00
f97464f7bf Revert "Issue #3164: HEIC doesnt have color profile."
This reverts commit bbe3911c80.

..and not this one either.
2019-06-21 10:11:52 +02:00
f09fbbda3f Revert "plug-ins: updating deprecated enum names from libheif."
This reverts commit 85a196e711.

Didn't mean to push that one...
2019-06-21 10:11:28 +02:00
28b20af6b2 Issue #3532 - Wrong color profile on nikon taken photos, it's...
...always AdobeRGB!

Enable the code in gimp_image_metadata_update_colorspace() which syncs
the DCF information to the image's actual color profile, at least as
good as it can, and otherwise sets it to "unspecified".

Also fixes issue #301.

(cherry picked from commit c4ee350f02)
2019-06-21 10:06:04 +02:00
85a196e711 plug-ins: updating deprecated enum names from libheif.
(cherry picked from commit b1133ef866)
2019-06-20 19:31:09 +02:00
bbe3911c80 Issue #3164: HEIC doesnt have color profile.
Since this requires libheif 1.4.0, released end of February 2019, this
commit should not go into the gimp-2-10 branch right now.

(cherry picked from commit 22e14e0b9b)

Cherry-picked now anyway... If we allow new featues in 2.10, we must
also allow for a few updated dependencies.
2019-06-20 19:30:19 +02:00
cfd5d5038c Issue #3493: GIMP changes R-channel, when it should not.
Instead of treating any unspecified TIFF channel as non-premultiplied
alpha, let's now ask the user (in non-interactive case, we continue
defaulting to non-premultiplied channel and outputing a message). The 3
choices are: premultiplied, non-premultiplied (which is the default so
you can just hit Enter and get same result as previously) and channel.

It's still not perfect as it still assumes that an alpha channel will
necessarily be the first extra channel (though the spec does not mandate
such assumption). Let's say for now that it is enough. Using extra
channels for the alpha channel only is most likely the most common usage
(actually the spec only has specific types for such usage).

(cherry picked from commit 7cf98231f1)
2019-06-20 18:57:10 +02:00
da33bb5107 app: consolidate all metadata syncing code into gimpimage-metadata.c
Add gimp_image_metadata_update_pixel_size(), _bits_per_sample(),
_resolution() and use them from gimp_image_set_metadata() and from
various places in gimpimage.c which had identical copies of the same
code.

Also add gimp_image_metadata_update_colorspace() which syncs the color
space stored in the image's metadata with the color space of the
image's actual color profile. Call the function from the right places.

The body of gimp_image_metadata_update_colorspace() is currently
disabled because the syncing of color space information is
controversial, see issue ##3532 and issue #301.

(cherry picked from commit b9829eddfe)
2019-06-20 16:19:25 +02:00
11dfa49b44 libgimpconfig: fix previous commit to return the right error token
(cherry picked from commit d7d281bd97)
2019-06-20 15:03:17 +02:00
7a2ffc1a2c enhancement: validate reference argument of gimp_scanner_parse_string before using it
(cherry picked from commit f19844d0d1)
2019-06-20 15:03:03 +02:00
c7867017e4 NEWS: keep up-to-date.
Future GIMP 2.10.14 is starting well! :-)
2019-06-18 19:00:48 +02:00
6dd2475bf8 Foreground-select Tool: new Preview Mode and color selector for "On color" preview
This commit adds a new preview called "Grayscale", allowing to see the
resulting mask in black and white. The previous preview is now called
"On color" and allow users to choose the color and opacity, instead of
imposing only 4 colors (red, green, blue, grey).

(cherry picked from commit d6bcb16b0b)
2019-06-18 18:06:30 +02:00
d01dd612e7 app: add missing space to a tooltip of the new feather feature
(cherry picked from commit 66b55da9c1)
2019-06-17 00:03:21 +02:00
327b40792b app: commit the free selection before floating it.
When using a selection modifier Altr+Ctrl|Shift, we want to commit the
selection. If I do it too late though, and if the polygon was not closed
yet, the computed coordinates for the floating selection end up (0, 0)
because it is based on the selection coordinates (yet an unclosed
polygon does not create a selection yet). So commit the tool from within
GimpSelectionTool instead, as soon as we confirmed that the class is
going to take over with SELECTION_MOVE or SELECTION_MOVE_COPY.

Note: ability of quick copying|cuting an unclosed polygon is very useful
as it removes the additional step for a case where anyway committing the
selection was a prerequisite.

(cherry picked from commit 50f8cb8542)
2019-06-16 20:54:03 +02:00
f948aaa939 Issue #3514: Free Select tool: Alt-Ctrl|Shift not working unless...
... selection is committed;
Fast copy|cut-paste modifiers in selection tools were not working with
the Free Select tool, even when the polygon was closed. The reason was
that GimpPolygonSelectTool was not properly chaining up with the parent
implementation for oper_update(), and then upon a button press, we need
to check to call gimp_selection_tool_start_edit() to see if the action
should not be handled by GimpSelectionTool.
Of course, since we don't necessarily want all child class of
GimpPolygonSelectTool to support these modifiers (typically we may not
want these in the Foreground select tool), I set allow_move to FALSE,
then set it to TRUE only in the GimpFreeSelectTool subclass.

(cherry picked from commit c9a91b32bc)
2019-06-16 20:20:04 +02:00
45aaa3a45d app: some files were missing from the previous commit
(cherry picked from commit 5160f51676)
2019-06-16 17:07:55 +02:00
a65042aebf Issue #3512 - feather selection doesn't work at edges of images
Add a "gboolean edge_lock" parameter to GimpChannel::feather() and a
"Selected areas continue outside the image" toggle to the "Feather
Selection" dialog, just like they exist for shrink selection and
border selection. At the end, convert the boolean to the right abyss
policy for gegl:gaussian-blur.

(cherry picked from commit aace6b179b)
2019-06-16 16:55:03 +02:00
ddb704634e Update Polish translation 2019-06-16 13:36:56 +02:00
c71a146220 Installer: forgot about .xcf extension 2019-06-16 09:18:38 +02:00
e8ac2ed19b Installer: minor fixes 2019-06-16 00:28:10 +02:00
fa1d71f714 Installer: ported install script to Inno Setup 6, add per-user install support
Rewrote file association handling to work both for all users and per-user
2019-06-15 23:55:44 +02:00
8623119e7a Update French translation 2019-06-15 13:30:11 +00:00
538156f715 Update French translation 2019-06-15 13:16:04 +00:00
ad7434bb48 Installer: install 64-bit Python on 64-bit Windows 2019-06-14 20:27:11 +02:00
cd8192ad5b Installer: changes for 2.10.12 2019-06-14 08:23:36 +02:00
f17e3b157d Remove <U+FEFF> character before shebang header, OSX is very strict on that 2019-06-13 14:45:15 +02:00
73a0ad7c31 configure.ac: post-release version bump to 2.10.13 2019-06-12 23:37:45 +02:00
3d8535b55f configure.ac: bump versions for the 2.10.12 release 2019-06-12 23:17:10 +02:00
9b205f1583 NEWS: formatting, typos 2019-06-12 23:16:19 +02:00
3809645bc5 NEWS: create news section for GIMP 2.10.12. 2019-06-12 23:10:00 +02:00
4938615236 Update Russian translation 2019-06-12 22:49:57 +03:00
fa87116fe6 Offset tool: mark forgotten messages for translation 2019-06-12 22:49:57 +03:00
add350f335 AUTHORS: regenerated 2019-06-12 21:43:19 +02:00
4abf2306b3 build: depend on babl-0.1.66
(cherry picked from commit b3dcb5aaac)
2019-06-12 21:36:44 +02:00
e70c08cdd0 app: add missing parameter in test-xcf.c 2019-06-12 21:06:56 +02:00
aedee5ef82 desktop: Update gimp-data-extras.metainfo with gimp's new appstream ID
(cherry picked from commit 6786343909)
2019-06-12 17:25:06 +02:00
4c8c4c7e96 authors.xml: add Oleksii Samorukov and Yoshio Ono.
(cherry picked from commit 3ebad22539)
2019-06-12 17:23:51 +02:00
76f1a02631 plug-ins: get rid of compilation warning.
Note that I am using twice TIFFErrorHandler type. This is because
TIFFWarningHandler does not exist, despite what the docs says and
upstream code actually uses twice the same handler type.

(cherry picked from commit de866d8815)
2019-06-12 17:23:51 +02:00
b7b275f908 Update Swedish translation 2019-06-11 20:09:16 +00:00
4fe8a76f9b Update Swedish translation 2019-06-11 19:18:26 +00:00
e8f7b3575d Update Swedish translation 2019-06-11 19:06:43 +00:00