Commit graph

42393 commits

Author SHA1 Message Date
Michael Natterer
e8d0f8e3cf data: don't use deprecated enum value nicks in tool presets 2018-05-01 13:57:44 +02:00
Danylo Korostil
a204d922b4 Updated uk translation 2018-05-01 10:48:13 +03:00
Ell
474e27b27a Bug 795693 - GIMP doesn't enable visibility of vector layers in PSD
In the file-psd plug-in, ignore the 'irrelevant' flag of layers
when loading PSD files; in particular, don't hide such layers
unconditionally.  The 'irrelevant' flag seems to indicate that the
layer's content can be entirely derived without using the layer's
pixel data, and not that the layer itself it irrelevant.
2018-05-01 02:49:19 -04:00
Ell
d8ae5481ac build: fix removal of old GIMP versions during installation on Windows
Fix the registry path where uninstaller information is searched for
during installation, so that old GIMP versions are properly
uninstalled before installing a new version.

This fix has already been included in the 2.10.0 installer.
2018-05-01 01:12:10 -04:00
Ell
25db980d01 build: add MyPaint brushes component to the Windows installer
In order to bundle the MyPaint brushes, GIMP needs to be configured
with --enable-bundled-mypaint-brushes, and the brushes need to be
present at $GIMP_DIR32\share\mypaint-data.
2018-05-01 01:12:10 -04:00
Ell
de508da0e9 build: add 2.10 splash to the Windows installer 2018-05-01 01:11:56 -04:00
Ell
9839891ec0 Bug 795688 - Misspelled "Pinsel" in the german GIMP windows installer
Thanks to Lukas Buehner.
2018-05-01 01:11:56 -04:00
Ell
bf7bbdba2e build: add Chinese (Taiwan) translation to the Windows installer 2018-05-01 01:11:56 -04:00
Ell
b8b7cf0ba5 po-windows-installer: technical fix to the Chinese (Taiwan) translations
ender's name can't be encoded in the target encoding -> use ASCII.
2018-05-01 01:11:56 -04:00
Jehan
d094ab7e56 app: add some g_return_if_fail() in gimp_font_list_load_names().
Some crash happens inside this function (cf. bug 795650) on Windows.
Because of very inaccurate trace on this OS, it is hard to determine the
exact issue. Let's at least add some basic check on function parameters.
This won't fix any core issue, but may make things a bit more robust and
bugs easier to detect.
2018-05-01 03:41:37 +02:00
Jehan
e796e3a50a app: popup error at startup when some fonts fail to load.
As proposed on IRC. This will allow people to debug their fonts (for
instance when there are permission issues or whatnot) by knowing the
list of problematic fonts in an error dialog at startup (and not only on
terminal).
2018-05-01 03:25:58 +02:00
Jehan
070bcb8979 libgimpbase: strengthen other use of g_win32_locale_filename_from_utf8()
Let's make our various usages of this broken function more robust, or at
least return with errors when we can. But this is still seriously
broken. Inside gimp_locale_directory() though, there was nothing I could
do, so I just added a FIXME for at least keeping an eye on it.
2018-04-30 22:23:18 +02:00
Jehan
55d1ea5cf0 app: check that the font path is not NULL.
This is for Windows where we apparently need to call
g_win32_locale_filename_from_utf8() before feeding the path to
FcConfigAppFontAddFile().
Unfortunately as we discovered earlier (cf. commit ba06a0fe86), this
can sometimes return NULL. So we absolutely need to check for the path
not being NULL first.
2018-04-30 22:05:11 +02:00
Jehan
69f864d5f5 app: use a GFileEnumerator to loop through font files. 2018-04-30 21:58:19 +02:00
Alexandre Prokoudine
1811d8ebf9 script-fu: fix a typo in the Add Border script 2018-04-30 18:10:08 +03:00
Dimitris Spingos (Δημήτρης Σπίγγος)
0884f901a2 Update Greek translation 2018-04-30 12:28:49 +03:00
Chao-Hsiung Liao
8c1830335c Add Chinese (Taiwan) translation 2018-04-30 05:53:28 +00:00
Alexandre Prokoudine
c3b1cf05d8 Update Russian translation 2018-04-30 05:39:11 +03:00
Anders Jonsson
abeef86452 Update Swedish translation 2018-04-29 19:44:16 +00:00
Piotr Drąg
45b9da92f7 Update POTFILES.in 2018-04-29 19:56:38 +02:00
Jehan
3de1f33702 app: font loading output a GError.
This GError will either specify the font which failed to load (if
unique) or a vague message about fonts which fail to load.
Unfortunately right now, this message also goes to terminal because the
GUI is not ready yet.
2018-04-29 19:47:44 +02:00
Piotr Drąg
17e64d2017 Update Polish translation 2018-04-29 18:05:42 +02:00
Jehan
00dcd50a6c Bug 748553 - GIMP crash if a font does not have read permission.
Do not use FcConfigAppFontAddDir() because it seems to be half-loading
some fonts, even when they are not actually readable. On the other hand,
FcConfigAppFontAddFile() properly fails and does not leave the font list
in unstable state.
2018-04-29 17:34:13 +02:00
Marco Ciampa
48b04fb746 Updated Italian translation 2018-04-29 15:43:58 +02:00
Ell
151eeb9761 app: use gimp_item_{start,end}_transform() in GimpEditSelectionTool
... instead of gimp_item_{start,end}_move().

This should have been part of commit
37742a9fee.
2018-04-29 08:30:37 -04:00
Ell
741c78ec9e app: serialize "draw mask" option of region-select tools 2018-04-29 07:21:07 -04:00
Michael Natterer
4cc8481b66 app: get rid of a few forgotten stock-ids and new_from_stock() 2018-04-29 04:50:17 +02:00
Jehan
0fce8fdb3c app: expand/unexpand locale paths in pluginrc.
It doesn't look like it is actually much of a problem, but anyway it's
better to have non-absolute paths in config files when possible.

Thanks to jtojnar on IRC for reporting these (and MyPaint brush paths
from my previous commit).
2018-04-29 02:20:58 +02:00
Jehan
f6b586237c app: identifier of MyPaint brush GimpData using ${mypaint_brushes_dir}.
Absolute paths not to be used in $XDG_CONFIG/GIMP/{version}/tags.xml.
These are actually only an identifier, and not used as a path at all
anyway. Moreover MyPaint brushes even generate checksum (which allows
to remap the GimpData appropriately even if the paths are changing).
But anyway it's better not to have absolute paths when we can prevent
so.
2018-04-29 00:40:26 +02:00
Jehan
0c4cbbfffa Revert "desktop: add an <icon> tag in appdata."
This reverts commit e5dcd80957.
So apparently this is not the right fix (for the original flatpak issue)
and we already have the icon specified in the desktop file.
Let's just cancel this commit until we understand better the problem.
2018-04-28 18:03:07 +02:00
Ting-Wei Lan
077036273c libgimpbase: Find thread ID on FreeBSD with thr_self
https://bugzilla.gnome.org/show_bug.cgi?id=795510
2018-04-28 17:09:34 +02:00
Michael Natterer
a007ad4b98 app: remove debug output from gimp_image_create_color_transforms() 2018-04-28 16:42:01 +02:00
Michael Natterer
f3bf8cd53f plug-ins: don't use gimp_rgb_to_cmyk_int() in newsprint 2018-04-28 14:44:23 +02:00
Jehan
74c1f021bf Fix some texts in NEWS.pre-2-10. 2018-04-28 12:33:40 +02:00
Jordi Mas
e0d1793b39 Update Catalan translation 2018-04-28 12:25:23 +02:00
Jehan
e5dcd80957 desktop: add an <icon> tag in appdata.
Apparently not having it is a problem (at least for flathub), even
though we already had this information in the desktop file.
See: https://github.com/flathub/org.gimp.GIMP/issues/8
2018-04-28 12:18:03 +02:00
Jan Tojnar
aa67a0228b Bug 795620 - Missing gegl in rpath of python/gimp.so
gegl was not listed as a dependency of python/gimp.so, which
omitted it from rpath, breaking the plug-ins on Nix, which relies
on rpaths.
2018-04-28 11:53:44 +02:00
Michael Natterer
710ac0fb52 Bug 795611 - unit-editor.c: Boolean result is used in bitwise operation
Fix "or" expression: it's || not |.
2018-04-28 02:48:56 +02:00
Michael Natterer
fc8e28c971 NEWS: truncate and move content to NEWS.pre-2-10 2018-04-28 02:42:32 +02:00
Michael Natterer
8265b2425b app: s/GtkObject/GObject/ in gui-message.c, and minor reordering 2018-04-28 02:18:44 +02:00
Michael Natterer
ee47a848eb configure.ac: no need to override gimp_version any longer 2018-04-28 02:18:44 +02:00
Jehan
2451435323 configure: argh! Forgot to AC_SUBST() the GEGL major-minor version. 2018-04-28 01:45:45 +02:00
Jehan
f6a8d93190 configure, gimp.pc: do no hardcode the major.minor version of GEGL. 2018-04-28 01:30:19 +02:00
Jehan
7e19906827 gimp.pc: Fix reference to gegl-0.3. 2018-04-28 00:28:21 +02:00
Mario Blättermann
74698bd5d4 Update German translation 2018-04-27 20:00:47 +00:00
Jehan
6463e80c71 build: update my howto for flatpak releases.
After a small fiasco of 5 consecutive builds, add some newly learned
ways to test the builds beforehand on flathub infrastructure, for the
next time.
2018-04-27 18:35:33 +02:00
Michael Natterer
8be9b12e78 configure.ac: require GEGL >= 0.4.1 2018-04-27 17:22:54 +02:00
Michael Natterer
fa79130c35 configure.ac: post-release version bump to 2.10.1 2018-04-27 14:31:11 +02:00
Michael Natterer
5e662c37d7 configure.ac: release GIMP 2.10.0 \o/ 2018-04-27 13:38:31 +02:00
Michael Natterer
36586f291a docs, etc: system gimprc and its manpage regenerated 2018-04-27 13:20:59 +02:00