Commit Graph

40671 Commits

Author SHA1 Message Date
Ell 07c81abf01 app: fix propgui random seed generation
After the switch of random-seed properties from INT to UINT, their
upper bound results in a negative value when converted to a
gint32, causing a CRITICAL in the call to g_random_int_range().
Use g_random_double_range() instead, which has enough precision to
accurately represent all values in the range, and round the result.
2018-05-04 13:41:55 -04:00
Michael Natterer 48f6d1b8ee app: avoid scaling GimpCanvasArc to zero, it causes a non-invertable matrix 2018-05-04 11:48:44 +02:00
Ell 2e643e6270 app: cleanly remove log handlers on exit
Remove the log handlers registered in errors_init(), in
errors_exit(), and call errors_exit() before destroying the Gimp
instance, since the log handlers depend on it.  This avoids
segfaulting if a message is logged after destroying the Gimp
instance.
2018-05-03 15:50:29 -04:00
Jordi Mas c692994b98 Update Catalan translation 2018-05-03 21:07:47 +02:00
Jordi Mas 4508a57a52 Update Catalan translation 2018-05-03 20:48:58 +02:00
Anders Jonsson f3ba248b2f Update Swedish translation 2018-05-03 09:24:08 +00:00
Marco Ciampa 35f1bfc1f7 Added Julien Hardelin as documentation author 2018-05-03 01:32:47 +02:00
Michael Natterer 62279047b1 Bug 795763 - Update gimp.org links to https://
Update links to https:// in "About". the "Help" menu, and several
user-visible error messages.
2018-05-03 00:27:29 +02:00
Jernej Simončič 7376f9ce29 Installer: update URLs 2018-05-02 17:34:26 +02:00
Jernej Simončič c5bde2559e Installer: require Windows 7 or newer 2018-05-02 17:18:46 +02:00
Jernej Simončič 8bc219b2c3 Installer: require Windows 7 or newer 2018-05-02 17:18:46 +02:00
Jernej Simončič 2f28ddf62b Installer: include less cruft 2018-05-02 17:18:46 +02:00
Jernej Simončič fc34accf4c Installer: another leftover library to clean up 2018-05-02 17:18:46 +02:00
Marco Ciampa 0bde05c64a Updated and fixed Italian translation (tnx to S. Ginestrini) 2018-05-02 15:44:31 +02:00
Jernej Simončič 68b4938830 Installer: fixes for upgrading from 2.8 2018-05-02 14:04:13 +02:00
Jernej Simončič 69cbd89694 Installer: use mingw Python 2018-05-02 13:02:17 +02:00
Jernej Simončič 074b337d43 Installer: don't attempt signing when not compressing the installer 2018-05-02 11:40:06 +02:00
Jernej Simončič 449e7b4961 Installer: NOCOMPRESSION fix 2 (installer name) 2018-05-02 11:36:50 +02:00
Jernej Simončič e8947d2ac4 Installer: oops, NOCOMPRESSION should only affect installer compression 2018-05-02 11:35:16 +02:00
Jernej Simončič 634b0e68c3 Installer: add missing files 2018-05-02 11:34:29 +02:00
Jernej Simončič e7c50755f9 Installer: more fixes for split GIMP/deps directories 2018-05-02 02:17:48 +02:00
Jernej Simončič d981c930c5 Installer: forgot a few things for GIMP/deps split 2018-05-02 02:17:48 +02:00
Jernej Simončič 770f596c6e Installer: fix mode 2018-05-02 02:17:48 +02:00
Jernej Simončič b6813cfe3c Installer: split GIMP and dependencies again (makes it easier to digitally sign
binaries I built myself)
2018-05-02 02:17:48 +02:00
Jernej Simončič 68f4c8a5ed Revert "build: fix removal of old GIMP versions during installation on Windows"
This reverts commit d8ae5481ac.

The original code was meant to remove old (pre-2.8) installers, which used WinGimp AppId.
2018-05-02 02:17:48 +02:00
Anders Jonsson 7ec7167fb5 Update Swedish translation 2018-05-01 22:54:35 +00:00
Ell 6be0bb1358 app: always set text-tool image when starting the editor
In GimpTextTool, when starting the editor in response to a button
press, always set the text tool's image first, so that the style
editor picks the correct resolution for the text-size entry.
Currently the image is only set when clicking inside the active
drawable's bounds.
2018-05-01 17:08:23 -04:00
Michael Natterer 12908aed8c pdb: don't change generated files... 2018-05-01 14:14:00 +02:00
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