Commit Graph

49476 Commits

Author SHA1 Message Date
Balázs Meskó 26e917e93b Update Hungarian translation 2023-03-14 23:43:38 +00:00
dimspingos 418e747853 Update Greek translation 2023-03-14 22:54:06 +02:00
Jacob Boerema ecbcc4c4a4 build: fix ci failure due to partial missing bg in windows installer
Bulgarian was added to the installer po files and LINGUAS, but the other
files needing updates were forgotten. Let's fix that.
2023-03-14 14:17:19 -04:00
Alx Sa 6d02eb4505 plug-ins: Recognize https:// in ImageMap plug-in
This adds "https://" as a valid website prefix in the ImageMap URL edit
field, in addition to http://.
It also restores the prefix change that 2.10 had when you switched URL
types. It also fixes code formatting in affected areas.
2023-03-11 21:53:12 +00:00
Michael Schumacher d7216f5e49 gitlab-ci: Add xvfb to win32 and win64 image, because we now attempt to run wine there. 2023-03-11 19:48:47 +01:00
Balázs Úr e3f150b241 Update Hungarian translation 2023-03-10 23:45:51 +00:00
Alx Sa 66271e1e56 actions: Disable Arbitrary Rotation menus if...
...no image is active.
There are Arbitrary Rotation options under both the Image and Layer
menus. All of those rotation options are disabled without an image open.
To keep consistency, this disables those menu options as well.
The Tools menu Rotation option is left as-is.
2023-03-07 20:45:48 +00:00
Hugo Carvalho 9d73413c3d Update Portuguese translation 2023-03-07 19:15:52 +00:00
Piotr Drąg 9e9367c412 Update Polish translation 2023-03-05 13:51:17 +01:00
Martin e8a9f1cc45 Update Slovenian translation 2023-03-05 10:43:28 +00:00
Yuri Chornoivan 787a3d3dff Update Ukrainian translation 2023-03-05 07:48:42 +00:00
Anders Jonsson 949c6d43c3 plugins: Remove extra word, spacing 2023-03-04 07:13:52 +01:00
Yuri Chornoivan 3b77af9264 Update Ukrainian translation 2023-03-03 14:50:15 +00:00
Martin 9448842b79 Update Slovenian translation 2023-03-03 08:32:26 +00:00
Ekaterine Papava 97f5e74215 Update Georgian translation 2023-03-03 05:33:28 +00:00
lapaz 9908a06896
app: Increase width of position/size boxes ...
... in rectangle select tool. This allows boxes to display larger
values up to 7 characters.

Resolves: #9034 (GNOME/GIMP tracker)
2023-03-03 09:57:14 +06:00
Alx Sa 1d45fc0808 plug-ins: Show unsupported PSD features in GUI
Adds a new PSDSupport struct to keep track of what unsupported features
a PSD contains.
It is then used to conditionally display a compatibility notice
via a GUI.
2023-03-03 02:34:32 +00:00
Sveinn í Felli 2c533abe9f Update Icelandic translation 2023-03-01 11:35:14 +00:00
Sveinn í Felli 4804d69fdb Update Icelandic translation 2023-03-01 10:17:54 +00:00
Jordi Mas 32a92f76fd Update Catalan translation 2023-02-28 22:19:20 +01:00
Sveinn í Felli ad073dedda Update Icelandic translation 2023-02-28 18:43:44 +00:00
Sveinn í Felli 82826f2a30 Update Icelandic translation 2023-02-28 18:33:04 +00:00
Alx Sa dbaea2ac50 core: Fix CSS palette import regex
GIMP expects CSS palettes to end with a ";" when importing. However,
GIMP exports CSS lines without ";". This means GIMP can't reopen its
own exported CSS palettes.
The ";" was removed from the regex since CSS2 does not require
the last line to end with a ";". However, CSS3 and above
require ending all lines with a ";", so it is added to the
export script.
2023-02-28 16:00:03 +00:00
Sveinn í Felli 340edf4f1e Update Icelandic translation 2023-02-28 14:08:56 +00:00
Sveinn í Felli f852b8e572 Update Icelandic translation 2023-02-28 13:18:35 +00:00
Alexander Shopov 1f46063e52 Add Bulgarian translation 2023-02-27 21:49:42 +00:00
Alexander Shopov c25bcf4ca4 Add Bulgarian translation 2023-02-27 21:47:27 +00:00
Daniel Novomeský 359ce849bc Fix flatpak release info about JPEG XL
(cherry picked from commit d8566241a0)
2023-02-27 01:47:17 +01:00
Tim Sabsch 1fd4b270e2 Update German translation 2023-02-25 21:16:30 +00:00
Michael Schumacher c689c41841 gitlab-ci: Install dependencies for ASCII art and PostScript plug-ins. 2023-02-25 11:09:22 +01:00
Michael Schumacher 39f4029bfc gitlab-ci: python3-zstandard is a Debian package. pip3 requires a venv to install packages now. 2023-02-25 10:47:50 +01:00
Michael Schumacher 1f3a2475fc gitlab-ci: gi-docgen is a Debian package, installing it through pip3 seems to fail on some runners 2023-02-25 10:37:55 +01:00
Tim Sabsch 24ecaf3f34 Update German translation 2023-02-24 21:37:39 +00:00
Alx Sa 3df39dee91 plug-ins: Re-add toggle behavior from GAction port
When porting IFS-Compose and GFig to GAction, I originally created
all icons as GtkToolButtons. However, the toggle buttons no longer 
appeared "pressed in" when selected.

This is fixed by creating those as GtkToggleToolButtons instead.
A lingering UIManager object was removed from IFS Compose as well.
2023-02-24 03:25:08 +00:00
Jehan 2167ff98fb desktop: update AppStream metadata release date.
(cherry picked from commit c4efe45cab)
2023-02-22 14:04:15 +01:00
Jehan 9c15a2055f desktop: new <release> tag for GIMP 2.10.34.
See #9136.

(cherry picked from commit 0cd38a87e1)

Note: when cherry-picking, the tags were fixed as the main dev branch does not
need the underlined tags for localization anymore.
2023-02-22 14:04:08 +01:00
Jehan 220f0948f7 libgimp: (meson) disable GIR building when a sanitizer is set.
Similar to the change in autotools, a few commits before.
2023-02-22 13:42:59 +01:00
Jehan 87bda8879b libgimp: fix leak.
Discovered by running with sanitize=address.
2023-02-22 13:28:07 +01:00
Jehan ee92210dde app: fix an unused variable warning. 2023-02-22 12:46:56 +01:00
Jehan 36cc6c6e8a configure, libgimp: disable introspection when building libgimp with sanitizer.
The initial issue was that 3 leaks were detected when running the "DumpCompiler"
during g-ir-scanner phase. The failing command was apparently about running some
temp binary, which looks like would be called the DumpCompiler in g-ir-scanner
code:

> libgimp/tmp-introspectn8jg64to/Gimp-3.0 --introspect-dump=libgimp/tmp-introspectn8jg64to/functions.txt,libgimp/tmp-introspectn8jg64to/dump.xml

My first fix attempt was to try and play with build/link FLAGS so that this temp
binary is built without sanitizer. But the problem when I did this was that
libgimp itself is sanitized, so we are mixing a sanitized lib with a
non-sanitized binary:

> ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

So it looks like I could still solve this with tweaking LD_PRELOAD, cf. this
sanitizer FAQ: https://github.com/google/sanitizers/wiki/AddressSanitizer#faq

Nevertheless it proved complex to do it right while not interfering with other
parts of the build and I found out that I risk encountering more issues down the
road with GIR + sanitizer:
https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/375

So I've decided that I didn't want to waste too much time on this and simply
disable introspection when sanitizing, as I guess what we care the most to
diagnose when sanitizing is core code anyway.
2023-02-22 12:23:26 +01:00
Jehan 0b75fbd91c tools: do not sanitize build tools. It's OK if they leak a bit.
Especially as our code does not actually leak as far as we can see. It looks
like librsvg might not play well with -fsanitize=address (possibly having real
leaks or false positives).
2023-02-22 10:57:36 +01:00
dimspingos e0f070a649 Update Greek translation 2023-02-22 10:01:06 +02:00
Alexander Shopov 2616df0921 Update Bulgarian translation 2023-02-21 10:27:03 +00:00
dimspingos 07516e2c4d Update Greek translation 2023-02-21 12:21:53 +02:00
dimspingos 0d14b0bca7 Update Greek translation 2023-02-20 13:06:35 +02:00
Jehan 577d803bd4 app: don't draw the drop zone, just nothing when converting.
(cherry picked from commit 6adf574513)
2023-02-19 18:54:46 +01:00
Jehan aab73ae3a4 app: fix a crash when converting to higher precision.
gimp_display_shell_render() writes to a GeglBuffer backed by allocated memory
(shell->profile_data). Unfortunately while converting prevision in
gimp_image_convert_precision(), we change the "precision" property (hence the
source format) first, hence end up trying to write data in a too small buffer.
This crash was hard to find as it was not showing up on my machine (though it
did produce rendering artifacts!), unless I built both GIMP and babl with
`b_sanitize=address`.

Note that an alternate fix was to make sure that the profile_data buffer is big
enough (by calling gimp_display_shell_profile_update() before rendering), but
anyway the image is in an inconsistent state while conversion is in progress:
whereas the `src_format` is the new one, the `src_profile` is still the old one
(and cannot be changed before we finish converting).

Moreover the render happen regularly on progress signals, once after each
converted drawable. So each of these rendering step happens in an inconsistent
state, with the wrong profile set, some of the drawables converted and others
not yet.
We could still render properly if each drawable's buffer used space-aware format
(thus allowing different drawables to use different profiles/spaces), but it
feels over-engineering the problem. It might be much better to ignore rendering
steps while converting the image precision. Moreover it would obviously make a
faster conversion.

See discussions in #9136 for this crash, which didn't have dedicated report
AFAIK.

(cherry picked from commit de25be9210)

Note: on the `master` branch, even with sanitized code, I don't get the crash.
Yet this change seems relevant enough that I'm adding it.
2023-02-19 18:46:31 +01:00
Jacob Boerema ba9ceae7d7 Revert "Upload New File"
This reverts commit 2023e4c6ca.
2023-02-18 18:40:42 -05:00
dimspingos 9f2942fec9 Updated Greek translation 2023-02-18 21:12:47 +02:00
Dimitris Spingos 2023e4c6ca Upload New File 2023-02-18 13:14:10 +00:00