Commit Graph

45081 Commits

Author SHA1 Message Date
8e154d9426 Update Turkish translation 2022-12-11 19:47:50 +00:00
7b8d8d8e4a Update Turkish translation 2022-12-11 19:47:37 +00:00
19445e111b Update Turkish translation 2022-12-11 19:46:18 +00:00
3fad4fd93d Issue #8948: Autotools build does not support the new babl-0.1 naming.
(cherry picked from commit 09ece8f6f9)
2022-12-09 16:35:23 +01:00
df56becafb Update Romanian translation 2022-12-05 23:42:37 +00:00
e681f837ab Update Romanian translation 2022-12-05 23:41:24 +00:00
a56eabbcfa Update Romanian translation 2022-12-05 23:40:35 +00:00
57a6206a6d Update Romanian translation 2022-12-05 23:39:42 +00:00
f32353b2de Update Romanian translation 2022-12-05 23:36:16 +00:00
15300dc440 Update Romanian translation 2022-12-05 23:34:04 +00:00
543f9e37e6 plug-ins: fix return value
-1 should be returned in case of error, not NULL.
It caused incompatible pointer to integer conversion with
clang version 15.0.3
2022-11-28 18:04:57 +01:00
31cfca68a7 Small fix in Italian translation 2022-11-28 13:41:00 +01:00
69c65b09c3 Small fix in Italian translation 2022-11-28 13:06:24 +01:00
426a8dbdbb Update Romanian translation 2022-11-21 04:26:51 +00:00
dd06849944 Update Turkish translation 2022-11-19 16:53:21 +00:00
8a84f3b750 Update Catalan translation 2022-11-12 15:14:24 +01:00
d2d363727d plug-ins: JXL export
Partial back-port of JPEG XL export from GIMP 2.99
Export is always in 8bit lossless.
Export is quite slow but compression efficiency is usually
significantly better than PNG
and yet slightly better than lossless WebP.
2022-11-09 13:35:50 +00:00
0c53ee8c93 plug-ins: fix memory leak in HEIF, AVIF export 2022-11-09 13:35:50 +00:00
b7219d51b1 plug-ins: improve security in flame plug-in
- Use g_malloc* functions instead of malloc, so we don't continue on
failed allocations unless we test for NULL.
- Make sure we don't iterate past the known number of control points (ncps).
- Safely allocate, initialize and free points. Since points seems to be
used uninitialized, we use g_malloc0 to set everything to 0.

(cherry picked from commit 981979bb39)
2022-11-08 16:57:44 -05:00
b5178c5691 Update Swedish translation 2022-11-07 16:30:56 +00:00
c8fead2775 CI: add libheif-dev, libjxl-dev dependencies 2022-11-07 15:42:12 +01:00
2dd68ad1ee plug-ins: backport JPEG XL metadata import
and increase libjxl requirement to 0.7.0
2022-11-07 15:42:12 +01:00
60cbb99479 Update Chinese (China) translation 2022-11-02 20:26:21 +00:00
a1aea9e9fa Update Ukrainian translation 2022-11-01 20:44:14 +00:00
61359eba18 Update Spanish translation 2022-11-01 10:51:18 +00:00
5481b110f9 plug-ins: fix crash when reading corrupt flame settings file
Thanks to a report by Stefan Cornelius, we became aware that the flame
plug-in does no checking for correct input when loading a pre-saved
settings file.

I reworked the parser to read one or more values based on the type of
token, making sure we also don't read past the end of our token buffer.

All int values have a min and max value set. If any unexpected input is
encountered, we will give a warning.

(cherry picked from commit 89c83ef4c7)
2022-10-31 14:40:01 -04:00
b36cc3ab3f plug-ins: fix missing input buffer length checking in flame
The flame plug-in can read stored settings from a file. The expected
input is that a ; signifies the end of input.

However, with user input we cannot depend on this to be true, so we need
to make sure that we do not read past the end of our input buffer.
To do so, we add a length check.

(cherry picked from commit 536c7cbc4b)
2022-10-31 14:39:54 -04:00
b3186d72ee plug-ins: fix failure to load flame saved settings from file
We were using the plug-in name with underscores, which is incorrect.
Since nobody ever complained about this, this doesn't seem to be used
very often.

We will use the const that defines the plug-in name instead.

(cherry picked from commit 193596397e)
2022-10-31 14:39:45 -04:00
792d7a4114 Update Polish translation 2022-10-30 13:12:32 +01:00
7a83ea6dbb Update Slovenian translation 2022-10-26 21:30:00 +00:00
a53c84c244 plug-ins: fix #8127 Option to load reduced TIFFs
Adds a toggle to let users load TIFF pages with FILETYPE_REDUCEDIMAGE
tags. The specs do not state that these are always thumbnails, and they 
may have other uses. We assume that if only one page with this metadata
exists then it is a thumbnail; otherwise, the toggle option is 
enabled on load.
2022-10-26 18:16:41 +00:00
0015eaf19c Update Georgian translation 2022-10-24 21:18:55 +00:00
adc1419881 app: remove duplicate GIMP_HELP_TOOL_CURVES define
This caused a missing documentation warning for help id gimp-tool-curves
in gimp-help.

(cherry picked from commit 6cb58fbc8d)
2022-10-15 16:33:01 -04:00
2beaee0a65 app: remove unused GIMP_HELP_TOOLS_DIALOG help id
This help id was used in the past but all references to it were removed
long ago with commit c53113d0cc.

Let's remove this define too since it causes a warning in gimp-help when
checking for help id's without documentation.

(cherry picked from commit 4b4dd5ec38)
2022-10-15 14:05:50 -04:00
11e063e416 Fix build on Windows by removing include of a missing header file
That was a mistake made when backporting a feature from GIMP3,
see https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/755
2022-10-11 15:03:59 +02:00
555efb528d libgimpwidgets: fix automake syntaxe.
Automake doesn't accept the "if else" syntax. Instead, we must add a new if/else
inside the first else block.

While I'm at it, I also add a G_GNUC_INTERNAL to the internal function
_gimp_pick_button_win32_pick(), though I don't think it's absolutely necessary
(yet explicit is better).

(cherry picked from commit 8ac5178214)
2022-10-11 00:34:19 +02:00
031ba6a258 Updated Italian translation 2022-10-10 09:39:01 +02:00
90c3e4a8e4 Updated Italian translation 2022-10-10 09:33:16 +02:00
744115bac2 Add GimpPickButton implementation for Windows
Fixes https://gitlab.gnome.org/GNOME/gimp/-/issues/8506
2022-10-07 17:51:32 +02:00
d1f173938a Fix warning about using %d format modifier for an unsigned type
GetLastError () returns a DWORD, which is a typedef for a 32 bit
unsigned integral.
2022-10-07 17:50:49 +02:00
011d46e220 Update German translation 2022-09-27 16:14:40 +00:00
65c66756cf Update Hungarian translation 2022-09-19 22:54:03 +00:00
b25e219c46 Update Swedish translation 2022-09-10 11:30:41 +00:00
2d45e7e335 Update Icelandic translation 2022-09-08 16:54:01 +00:00
4d61f0d129 gimp-updates: fix update checks on macOS
Update processing has to be done on the main thread to avoid
problems with GTK thread safety.

(cherry picked from commit 7f257a3a33)

Conflicts fixed:
	app/gimp-update.c
2022-09-07 00:34:29 +02:00
e4a9f1b35a app, autotools: new GIMP_RELEASE macro.
We were using GIMP_UNSTABLE extensively to differentiate development
from stable code. But there is actually another level of development
code. Basically GIMP_UNSTABLE tells you are on the development branch,
e.g. for current branches, that you are on 2.99.* versions (vs. 2.10).
This depends on the minor version oddness.

GIMP_RELEASE will tell you if it's a release or a in-between-releases
code. This works with the micro version which must be even on release.
Any odd number means you are basically using random git code.

There can be any combination of GIMP_RELEASE and GIMP_UNSTABLE. For
instance 2.99.12 is a release of the unstable branch, whereas 2.10.33 is
development code of the stable branch.

I use this first in the update code as we were using GIMP_UNSTABLE for
both concepts but it made it harder to test. Now:

* GIMP_DEV_VERSIONS_JSON environment variable is only available on
  development code, not on release (whether stable or unstable).
* The weekly check limitation is also only for releases (dev code just
  check at every startup to quickly detect issues and regressions).
* Whether to look on testing website or public website json file depends
  on the code being a release or not.
* Finally only whether to check "DEVELOPMENT" or "STABLE" sections in
  the json file depends on whether we are on stable or unstable
  branches.

(cherry picked from commit fbb5b40345)
2022-09-05 22:55:47 +02:00
7809cbf09d app: also properly check updates for "source" platform family.
I.e. non-macOS and non-Windows. For these, we don't really care about
the startup check usually (which is normally disabled anyway, at least
as a default), but we still care about the version check to work when
explicitly requested through the "About" dialog's button.
2022-09-05 16:39:28 +02:00
b391f9f5c8 check_for_updates: fixes update check macos #7325
This was not working due to a missing port in glib.

Potentially could be contributed upstream to GLib.
2022-09-05 13:35:35 +00:00
3622b39862 Update Chinese (China) translation 2022-09-04 18:17:07 +00:00
d6cdbdebb3 Update Portuguese translation 2022-09-02 13:44:46 +00:00