Commit Graph

45924 Commits

Author SHA1 Message Date
Peter Oliver 84c08e55e1 Offer image/webp content type in .desktop file
Nautilus will only offer to open WebP files in applications that accept
the `image/webp` content type, not `image/x-webp`.  Even though it isn’t
on the [official
list](https://www.iana.org/assignments/media-types/media-types.xhtml#image),
`image/webp` seems to be more
[widely](https://en.wikipedia.org/wiki/WebP)
[recommended](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types#Image_types)
than `image/x-webp`.
2020-07-22 17:42:41 +00:00
Baurzhan Muftakhidinov 962a1cfea6 Update Kazakh translation 2020-07-21 05:00:54 +00:00
Baurzhan Muftakhidinov c0c0d21ed9 Update Kazakh translation 2020-07-21 04:59:36 +00:00
Baurzhan Muftakhidinov 5169264e1c Update Kazakh translation
(cherry picked from commit 7942fe66b7)
2020-07-21 04:51:37 +00:00
Baurzhan Muftakhidinov 0f31dafaf4 Update Kazakh translation
(cherry picked from commit 3f0ffaa461)
2020-07-21 04:45:19 +00:00
Jehan 1a7a53dc09 plug-ins: fix argument description. 2020-07-20 17:38:16 +02:00
Jehan 73b960aefb app: fix a build warning.
Fixes:
> warning: passing argument 1 of ‘GIMP_CONFIG’ discards ‘const’
> qualifier from pointer target type.
2020-07-20 15:41:22 +02:00
Tim Sabsch df2083dcb0 Update German translation 2020-07-18 09:40:27 +00:00
Jehan d3ef6cfb18 app: show playground if any of the experimental feature is enabled.
Basically if you enabled OpenCL or any of the experimental tools, it
will show the Playground in Preferences. Otherwise, say you enabled some
experimental feature months ago (e.g. with the CLI option) and you now
experience crashes or whatnot. And you forgot how to change it, and only
remembered that there was something in Preferences. It would make you
crazy to not find the tab again to disable the option.

This is even more important as OpenCL is moving from a normal option to
a playground option. So you might not even have ever seen the Playground
tab in Preferences and would not know how to disable OpenCL after you
enabled it originally in "System Resources" tab.

So now Playground is visible with any of these 3 conditions:
* If you use an unstable version.
* If you run GIMP with --show-playground option.
* If you previously enabled one of the playground options.
2020-07-17 13:28:43 +02:00
Jehan 0f806d0e9c app: move OpenCL settings into the Playground.
After discussions on IRC, it was decided that our current level of
support of OpenCL was not good enough. As a normal settings, people just
see it as a normal acceleration checkbox, even despite the warning text
and emoticone saying the opposite (i.e. it may even slow things down in
some cases).
Basically this feature needs more love to be back into mainstream
Preferences.
2020-07-17 12:04:27 +02:00
Jehan bc5f6371e9 app: add contents of /.flatpak-info in the verbose info.
This file is available in a flatpak sandbox and will contain various
info such as the build commit, very useful info as we can have several
builds for a same version. For instance if we have exactly the right
commit, we can load exactly the same binary as a bug reporter very
easily, hence are able to get source correspondance without necessarily
asking reporters to install debug symbols (though it stays easier if
they can do it).

Other interesting info contained in this file are the exact runtime
used, the installed application or runtime extensions, the permissions
(people may override our flatpak permissions so it's useful to be able
to check when they did) and environment variables…
2020-07-16 12:12:37 +02:00
Boyuan Yang f2ef0ec6a5 Update Chinese (China) translation 2020-07-14 15:24:22 +00:00
Ell e531023031 libgimpwidgets: handle Enter/Esc keys in GimpSpinButton
In GimpSpinButton, don't propagate Enter key-press events if
updating the spin-button's value in response changes the entered
text.  This prevents confirming dialogs when hitting Enter after
entering a math expression in size entries, updating their value
instead.

Likewise, don't propagate Escape key-press events if a new value
was entered, and restore the original value instead.
2020-07-14 13:00:55 +03:00
Yacine Bouklif 2e46e6552b Update Kabyle translation 2020-07-13 20:23:30 +00:00
Yacine Bouklif 24c740b0e0 Add Kabyle translation 2020-07-13 15:33:54 +00:00
Elad Shahar 0a611bd8ad Issue #5069: Gfig uses the Stroke color for filling instead of the fill color 2020-07-12 21:43:44 +02:00
Jehan 74d0990456 app: fix Alpha to Selection for single selected layer.
By adding support for multiple selected layers, it seems I broke the
single selected layer case. Fixed now!
2020-07-06 23:15:12 +02:00
Jehan b52cdf4c90 app: make "gegl:matting-levin" default engine of Foreground Select tool.
Even though this engine is optional, we already have the code to detect
its absence at runtime, and to fallback to "gegl:matting-global". So it
won't be a problem even then.

When the operation is present though, it definitely makes a lot more
sense than matting global as default, because it performs a lot better
in most cases (as far as I could see as well as others).
2020-07-06 22:19:26 +02:00
Félix Piédallu 1a19ac6a3a Try to reenable Print plugin on Windows. Let's see if the CI passes. 2020-07-06 17:49:59 +00:00
Félix Piédallu 979b0bd9b3 Fix GIMP_UNSTABLE macro.
Fixes #5261.
2020-07-06 10:55:05 +02:00
Jehan fae85e704a Issue #5349: meson build with -Dpoppler=false has no effect.
Poppler has not been an optional dependency for years now, because it
was decided that PDF import was considered a granted feature by most
people. So removing the option in the meson build. This option should
not have existed in the first place.
2020-07-05 11:31:22 +02:00
Michael Schumacher 47afc8170d gitlab: add a trailing space to the bug template reproduction list steps 2020-07-04 22:51:45 +02:00
Andre Klapper 89fa643ef9 Fix broken markup in Asturian UI translation 2020-07-04 19:23:04 +02:00
Umarzuki Bin Mochlis Moktar df5b363a96 Update Malay translation 2020-07-03 00:32:47 +00:00
Jordi Mas fb8cdc4219 Update Catalan translation 2020-07-02 14:51:13 +02:00
Boyuan Yang f40d702696 Update Chinese (China) translation 2020-07-01 19:25:44 +00:00
Aron Xu 15d0aac4fd Update Chinese (China) translation 2020-07-01 19:17:28 +00:00
Anders Jonsson 73daf0fcfb Update Swedish translation 2020-07-01 09:52:39 +00:00
Jehan e21db99333 libgimp: fix documentation comment.
No need "See Also: gimp_drawable_get_shadow_buffer()" from within
gimp_drawable_get_shadow_buffer() documentation itself!
2020-07-01 11:09:52 +02:00
Yuri Chornoivan a774d542b5 Update Ukrainian translation 2020-07-01 06:18:11 +00:00
Umarzuki Bin Mochlis Moktar adeb3214a1 Add Malay translation 2020-07-01 02:50:37 +00:00
Umarzuki Bin Mochlis Moktar cd5f023267 Add Malay translation 2020-07-01 01:48:03 +00:00
Jehan 5565a6a389 app: layers-resize-to-image action multi-layer aware. 2020-07-01 01:00:48 +02:00
Jehan 86716ba8a4 app: fix gimp_image_merge_down() when merging multiple neighbour layers.
If the next visible layer below a selected layer is itself selected, we
want to create bigger merge list with all 3 layers merged at once (or
even more if the next-next is also selected, and so on).
2020-07-01 00:40:40 +02:00
Jehan 955aecab92 app, pdb: layers-merge-down action now multi-layer aware.
When several layers are selected, each layer will merge down with the
layer below it. This is similar to running Merge Down several times, one
for each selected layer.
2020-06-30 23:29:05 +02:00
Jwtiyar Nariman 5cafcbe920 Update Central Kurdish translation 2020-06-29 15:57:49 +00:00
Anders Jonsson fa5e345fda Update Swedish translation 2020-06-29 00:09:47 +00:00
Anders Jonsson 1c38e2122b Update Swedish translation 2020-06-29 00:08:34 +00:00
Asier Sarasua Garmendia 53b68bfc21 Update Basque translation 2020-06-28 20:06:00 +00:00
Piotr Drąg b5659e8aa4 Update Polish translation 2020-06-28 13:00:42 +02:00
Yuri Chornoivan d7e7457329 Update Ukrainian translation 2020-06-27 18:12:12 +00:00
Yuri Chornoivan 240bc3ac45 Update Ukrainian translation 2020-06-27 18:08:41 +00:00
Jehan 3edcaa4baa libgimp: do not assume there are selected layers.
The list of selected layers may be empty, which doesn't matter much
because we don't actually do much with this list in current export code.
In the code modified in this commit, we were only using existing layers
to set the type of a new layer (which seems very useless right now as
anyway the layer type has to be the image base type with or without
alpha, so a with_alpha boolean parameter would be just as good, unless
we plan to support different color model layers in a same image).
2020-06-27 18:17:15 +02:00
Jehan dadae644bf app: fix selected layers in duplicated image.
This seems to have been broken since much longer, but it only made a
problem with recent changes. Since we were duplicating layer groups and
contents layers at once, the current code could not keep layer selection
other than at root level in a duplicated image.
Use the layer paths to make sure we select exactly the right copied
layers, since the path should not change in a fully duplicated image.
2020-06-27 18:07:51 +02:00
Jehan 257ada495f desktop: add a <developer_name> tag.
It just says "The GIMP team" so it's kind of redundant/useless, but I
noticed that Flathub would just display an empty "Developer" section
because the tag is absent. Well at least it emphasizes the
community-developed side of GIMP.
2020-06-27 11:19:54 +02:00
Ell 7f39be86de plug-ins: add option to crop layers to image bounds when exporting TIFF
In file-tiff, add an option to crop the layers to the image bounds
when exporting individual layers (using GIMP_EXPORT_NEEDS_CROP
added in the previous commit), since TIFF has no concept of global
image bounds otherwise.  Cropping is enabled by default.
2020-06-25 18:35:09 +03:00
Ell 4c8ee413eb libgimp: add GIMP_EXPORT_NEEDS_CROP export capability
Add a new GIMP_EXPORT_NEEDS_CROP export capability, which causes
gimp_export_image() to crop the exported image content to the image
bounds; this is useful for formats that support layers, but have no
concept of global image bounds, hence cropping is the only way to
enforce the image bounds.

When showing the export dialog, give an option to either crop the
layers to the image bounds, or to resize the image to fit the
layers.
2020-06-25 18:20:47 +03:00
Ell 536bf771b7 Issue #5274 - Exporting as TIFF fails for layers with a negative offset
When exporting a TIFF file without merging the image, make sure non
of the exported layers has a negative offset, by offsetting all the
layers as necessary.  TIFF doesn't support negative page offsets,
giving an error in libtiff.
2020-06-25 18:20:44 +03:00
Sabri Ünal 8732f06196 Update Turkish translation 2020-06-25 00:47:23 +00:00
Xandru Armesto b86984e80f Add Asturian translation 2020-06-24 20:57:41 +00:00