Commit graph

42393 commits

Author SHA1 Message Date
Balázs Meskó
8a105e6038 Update Hungarian translation 2018-05-05 22:59:49 +00:00
Anders Jonsson
da77713dd7 Update Swedish translation 2018-05-05 19:32:48 +00:00
Jehan
33a92e2447 app: get rid of gimp_get_backtrace().
It is not used anywhere anymore and can be replaced by the more powerful
gimp_stack_trace_print() (which can also allocate a string containing
the backtrace, hence is a proper replacement call).
2018-05-05 20:18:25 +02:00
Jehan
47a036f750 Bug 795814 - Error saving VERY large file.
g_alloca() is not very advisable, especially when it might be used to
allocate a big chunk of memory at once. It is better to allocate dynamic
memory with malloc(), or in particular with g_try_malloc() which won't
abort the program on failure.
This might be slightly slower (one of the advantages of memory on the
stack, though not even an absolute truth) but probably not by much, if
at all, and it's better to be safe anyway.
2018-05-05 20:13:27 +02:00
Simon Budig
5a048f5b5d imagemap: fix invalid source removal 2018-05-05 20:01:57 +02:00
Jehan
324873c7b8 build: no need for the splash screen patch anymore (was for 2.10.0 RC2). 2018-05-05 18:30:38 +02:00
Jehan
1ef0f50698 build: update nightly and dev flatpak.
In particular a bunch of dependencies were moved to the BaseApp.
Dev flatpak is actually a bit useless now (since last dev release is
older than stable). But I keep the dev manifest around to make it easier
to update for the future when we'll have a new dev release.
2018-05-05 16:12:11 +02:00
Jehan
98a575370c app: add a check on not-NULL string before g_utf8_validate().
Still looking for possible crash case during gimp_font_list_load_names()
(cf. bug 795650). g_utf8_validate() segfaults if called with NULL.
Though looking at pango_font_description_to_string() implementation, it
doesn't look like it would ever return NULL. Yet it is worth
double-checking. We don't load font every second anyway.
2018-05-05 15:55:30 +02:00
Jehan
d58f131b59 Bug 795650 - Gimp crashes on start in Windows.
Add more assertion checks (similar to commit d094ab7e56).

This is still not a fix per-se, but at least would make the code a bit
more robust. In particular FcObjectSetDestroy() could crash if somehow
FcObjectSetBuild() had returned a NULL pointer. And obviously
dereferencing a NULL fontset would crash as well.
Now if any of these happened, no fonts would be loaded. But at least
GIMP would not crash.
2018-05-05 15:26:26 +02:00
Michael Natterer
b706eaf002 plug-ins: enable metadata loading in file-heif
Do it half-manually for now. Also, there doesn't seem to be metadata
saving API in libhaif.
2018-05-05 14:38:27 +02:00
Balázs Meskó
bf2599fe20 Update Hungarian translation 2018-05-05 11:31:26 +00:00
Anders Jonsson
a6d4056c12 Update Swedish translation 2018-05-05 11:30:14 +00:00
Anders Jonsson
c476eb4312 Update Swedish translation 2018-05-05 11:16:59 +00:00
Michael Natterer
15b9bb1581 plug-ins: port file-heif to GIO 2018-05-05 12:53:39 +02:00
Jordi Mas
a22f9fe32b Update Catalan translation 2018-05-05 08:32:18 +02:00
Alexandre Prokoudine
4c004d5e16 NEWS: translations, formatting 2018-05-05 03:18:53 +03:00
Jehan
17ce730591 NEWS: add font loading update.
Also fix a typo.
2018-05-05 02:10:53 +02:00
Alexandre Prokoudine
e173aebf76 Update Russian translation 2018-05-05 03:07:13 +03:00
Alexandre Prokoudine
3899276245 NEWS: update 2018-05-05 02:27:35 +03:00
Jernej Simončič
2d3b8f67a8 Installer: optional GIMP debug symbols inclusion 2018-05-05 00:32:46 +02:00
Michael Natterer
7e3fa0c8d8 plug-ins: port file-heif to GEGL, and don't use any deprecated API 2018-05-04 21:14:23 +02:00
Michael Natterer
ba149f1759 plug-ins: add HEIF loading/saving plug-in written by Dirk Farin
Thanks a lot to Dirk for contributing this, added him to AUTHORS.

Import the code from https://github.com/strukturag/heif-gimp-plugin.git
as of today. Merged the files into a single-file plug-in. Changed
the code a lot to match our coding style, but only formatting,
no logic changes.

Still uses deprecated GimpDrawable API and no GIO, but I wanted to do
actual code changes separately from the initial import. Also disabled
metadata support because updating that to GimpMetadata was too much
for the initial import.
2018-05-04 20:49:56 +02:00
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