Commit Graph

50302 Commits

Author SHA1 Message Date
Jehan e6ccea7c39 app: verify that the GimpUIManager exists.
Though I didn't encounter this bug in my commit 54b22c717a, 2 unit tests are now
failing with:

> Bail out! Gimp-Widgets-FATAL-CRITICAL: gimp_ui_manager_update: assertion 'GIMP_IS_UI_MANAGER (manager)' failed

I am assuming this is a consequence of this code I just changed.
2023-07-10 16:58:15 +02:00
Martin 82b1fd6c2e Update Slovenian translation 2023-07-10 13:56:48 +00:00
Jehan 4ddf6ae8f6 Issue #9725: top menus and sub menu not translated.
Adding 2 missing .ui files.
2023-07-10 12:11:34 +02:00
Jehan 54b22c717a app: make sure gimp_ui_manager_update() is run from the main thread.
This GTK widget code could be reach from a thread calling gimp_image_flush().
Yet all GUI-related code must happen in the main thread (also even though
actions are not GTK code anymore, they can trigger GUI updates).

No issue happened from this so far (that we know of), but a trace by SBDaule for
their growing layer project showed that we'd reach this code if calling
gimp_image_flush() from the paint thread.
2023-07-09 23:24:07 +02:00
Jehan e465e867c1 NEWS: typo fix. 2023-07-09 22:21:00 +02:00
Jehan 760e912d20 INSTALL: add some packages in the optional packages list. 2023-07-09 13:32:51 +02:00
Niels De Graef ed1ad72255 pdb: Fix size in gimp_image_get_colormap
It looks like we left out the multiplication by 3 when passing the
colormap size to get to the number of bytes in commit 89c359ce

This fixes a crash when saving an XPM file

Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/9711
2023-07-08 23:08:54 +02:00
Alx Sa b9e49a3fd9 tools: Fix hiding on-canvas text editor
After 59cb3e36, the GimpOverlayFrame that contains
the on-canvas text editor is still partially visible as a dot.
This patch now hides and shows that as well based on
the "Show On-Canvas Editor" option.
2023-07-07 23:11:22 +00:00
Alx Sa 69ddbeba29 themes: Hide 1/0 labels on GtkSwitch sliders
Resolves #9676.
Per @pixelmixer and @programmer_ceds's research,
setting the color attribute on the switch's image children
removes the 1/0 labels on non-System themes.
2023-07-07 18:56:34 +00:00
Jehan 2c608168a2 plug-ins: don't use Tabs indentation, only space.
This was introduced in commit 95fa902827. Unfortunately Gitlab web UI is really
not good at showing indentation issues (or any other space coding style issues,
for that matter).
2023-07-07 17:38:23 +02:00
Luming Zh 13dd829335 Update Chinese (China) translation 2023-07-07 12:13:43 +00:00
Luming Zh b18894ccfd Update Chinese (China) translation 2023-07-07 12:09:41 +00:00
Jehan 1319523de7 app: no need to show the "Merge menu and title bar" option on macOS.
This doesn't do anything in this case, so better hide the settings.
2023-07-07 13:51:29 +02:00
Jehan 6d2580a421 meson.build: post-release version bump to 2.99.17. 2023-07-05 18:09:54 +02:00
Jehan d3c5536ac8 Release development version GIMP 2.99.16. 2023-07-05 16:00:47 +02:00
Jehan 74fee1a957 desktop: update release date (to today) in AppStream file. 2023-07-05 15:57:24 +02:00
Jehan 18e47a29e0 NEWS: last update (this time really!) before GIMP 2.99.16 release. 2023-07-05 15:49:33 +02:00
Jordi Mas daa19fc2db Update Catalan translation 2023-07-05 14:00:59 +02:00
Jehan 1b3af8a89b Issue #9648: don't flush the image when selecting items.
This results in an infinite loop and there is no change done, so no reason to
flush anything. Mitch had a fix for this (probably the same, per the IRC
discussion), but I really wanted to just release GIMP 2.99.16. So Mitch, if you
read this, sorry for not waiting for you to push this one!
2023-07-04 22:10:40 +02:00
Jehan c95b8518fe app, icons: use the Python executable found by pythonmod.find_installation().
We already search for a compatible Python version in the root meson file, no
need to look up Python 3 again in the PATH, each time we run an external Python
script in the build.

This should hopefully fix #9687.
2023-07-04 19:00:55 +02:00
Jordi Mas 95fa902827 Specify no format to prevent the % to be interpreted as formatter by the gettext toolchain 2023-07-04 14:39:11 +02:00
Jordi Mas ca404795e3 Update Catalan translation 2023-07-04 12:42:58 +02:00
Lukas Oberhuber df4ed9c1ec app: Fix key presses not working on mac
Part fixes #9322. This was making GIMP on MacOS unusable.
2023-07-02 15:57:44 +01:00
Jordi Mas 780cda6f72 Update Catalan translation 2023-07-02 07:40:17 +02:00
Alexandre Prokoudine df9a7f9ca1 Update Russian translation 2023-07-02 02:19:29 +02:00
Jehan 274b734e61 libgimp: fix double free crash in gimp_drawable_get_thumbnail(). 2023-07-01 23:24:33 +02:00
Jehan 8e4850dafe build: fix (hopefully) lua in the Windows installer.
See: https://gitlab.gnome.org/GNOME/gimp/-/issues/9653#note_1780587

Looking at MSYS2 logs, it looks like they very recently "fixed" the search paths
for lua files, which in turn broke our workaround (searching in subdirectories
of bin/ instead of share/ and lib/).

This should work better (though untested) with the workaround removed now.

Commit on luajit package at MSYS2:
703c7bae2f
2023-07-01 22:12:13 +02:00
Yuri Chornoivan e32a67d948 Update Ukrainian translation 2023-07-01 20:06:36 +00:00
Yuri Chornoivan 1a23fc5e9a Update Ukrainian translation 2023-07-01 20:04:25 +00:00
Martin 1186a5dbcc Update Slovenian translation 2023-07-01 18:56:32 +00:00
Marco Ciampa 53f929dc9c Updated Italian translation 2023-07-01 12:00:38 +02:00
Marco Ciampa 95c141007c Updated Italian translation 2023-07-01 11:50:57 +02:00
Asier Sarasua Garmendia 7219245bfb Update Basque translation 2023-07-01 09:23:11 +00:00
Anders Jonsson f8aa50204f Update Swedish translation 2023-07-01 09:13:23 +00:00
Ekaterine Papava 16a921da37 Update Georgian translation 2023-07-01 06:09:22 +00:00
Jacob Boerema 9038fd2c13 libgimpwidgets: issue #9673 screenshot plug-in crashes
In commit 48c27770 some unicode related changes were made. As a result of
that on Windows display_device, which was previously a duplicated string,
is now referenced directly.
However, the g_free was not removed, causing a crash.

We resolve this by removing the obsolete g_free.
2023-06-30 17:43:39 -04:00
Alx Sa d68c7f612f plug-ins: Clarify JPEG subsampling option labels
Resolves #5525.
"4:4:0" is the more well-known term rather than "4:2:2 vertical" for this subsampling option.
2023-06-30 17:28:52 +00:00
Jehan c21dbc8a20 tools: better support of using --runtime with --beta or --nightly. 2023-06-30 18:35:06 +02:00
Anders Jonsson ba2b7550f7 Update Swedish translation 2023-06-30 16:26:03 +00:00
Alx Sa 3cf5a587ce plug-ins: Match RGB FITS orientation to SiriL
Switching to the cfitsio library's fits_read_img () function in 03ea666f 
caused RGB FITS images to be read in upside down per SiriL developers and
NASA standards (odd, since cfitsio is maintained by NASA). This flips them back.
2023-06-30 16:01:39 +00:00
Martin 71fa32424c Update Slovenian translation 2023-06-30 15:59:48 +00:00
Jacob Boerema 14cce79d16 app: use hyphen for the precision settings in Encoding submenu
The Microsoft style guide and other places online suggest that using a
hyphen is recommended between a number and the related word, when modifying
a noun, so let's do that in our Image -> Encoding submenu too.
2023-06-30 11:37:19 -04:00
Martin 3d7fa18c6d Update Slovenian translation 2023-06-30 15:29:06 +00:00
Martin 7f08ad4d76 Update Slovenian translation 2023-06-30 15:27:44 +00:00
Martin 7521c3dd70 Update Slovenian translation 2023-06-30 15:26:24 +00:00
Anders Jonsson fee62e2b05 NEWS: Typo fixes 2023-06-30 12:21:09 +02:00
Asier Sarasua Garmendia 27acf41699 Update Basque translation 2023-06-30 08:01:45 +00:00
Alx Sa 03ea666fc8 plug-ins: Fix regression on importing RGB FITS
The developers of SiriL sent me some RGB FITS images that rendered incorrectly
after d4f42076. These must be read in as 
planes rather than individual rows.
2023-06-29 15:31:50 +00:00
Jehan 84fb879973 NEWS: possibly finale update before 2.99.16 release. 2023-06-29 12:13:33 +02:00
Jehan e1203e9f76 gitlab-ci, build: create Windows installer files with the Linux build.
The creation of the BMP welcome images for the Windows installer (part of
-Dwindows-installer=true build option) fails in the Windows job. After much
debugging, I could run GIMP, yet it was not enough. One of my hypothesis so far
is that the environment variables for DLLs won't work, since all the DLLs must
be in the same directory as the main binary (though with the WSL thing, I am
unsure, maybe it is still supposed to work), which only happens once GIMP is
installed. So GIMP runs successfully but not plug-ins.

Anyway I wasted too much time working on this and without a local Windows, it
just takes too long (mostly testing thanks to the CI) and is frustrating. Let's
just move to building both the localization files and the images on the main
Debian job (gimp-meson-debian), then use these as dependencies of the
win-installer-nightly job, i.e. when building the installer.
2023-06-29 00:21:44 +02:00