Commit Graph

51311 Commits

Author SHA1 Message Date
Bruno Lopes 161d6e6932 Add .vscode/settings.json compliant with Coding Style
As recommended in the Coding Style "Code editor" section:
https://developer.gimp.org/core/coding_style/#code-editor--integrated-development-environment-ide
2024-01-19 16:06:06 -03:00
Bruno Lopes e653535ed2 .gitignore: Delete unused exceptions
The '_build' and '.vscode' folders (this in particular makes impossible
to commit settings.json) are not welcome in this general file, according
to Jehan comment:
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/1021#note_1801018
2024-01-19 15:43:46 -03:00
Jordi Mas 5a4a58a728 Update Catalan translation 2024-01-19 16:07:11 +01:00
Alx Sa 21d24467ad scripts: Fix "Remove all Guides" script bug
Resolves #10651
The "Remove All Guides" script calls
gimp-image-find-next-guide, which per
its description can take in 0. However,
the parameter sets 1 as the minimum
value.
This patch fixes the range so that it can
accept 0, which enables the Remove All
Guides script to work again.
It also updates the script to the new
multi-layer aware API.
2024-01-19 11:17:36 +00:00
Jehan 14abb71c34 NEWS: update. 2024-01-19 11:26:08 +01:00
Anders Jonsson 7a66111b19 Update Swedish translation 2024-01-18 21:01:16 +00:00
Bruno Lopes ca5b2cd7c7 devel-docs: Update content according to 'gimp-web-devel'
- Drops HACKING file (it is outdated and we have the "same thing",
  updated, in the devel site), but moved PDB content to the README
* Update various links now to the devel site
+ Added 'TODOs' to avoid confusion from titles with empty content
  and removed some that are already implemented
2024-01-18 19:05:04 +00:00
Yuri Chornoivan 71ceff9125 Update Ukrainian translation 2024-01-18 17:51:16 +00:00
Yuri Chornoivan 088a4d42be Update Ukrainian translation 2024-01-18 17:49:22 +00:00
programmer-ceds 0514a07616 scripts: Update Guides from Selection API
Updates script to v3 code, which allows for it to work
when multiple layers are selected.
2024-01-18 11:14:31 -05:00
Bruno Lopes 107887f929 build/flatpak: Drop 'gimp_app_version' hardcoding
Now, the script reads the major.minor version automatically from the main
meson.build file, reducing maintenance work, which is already especially
high regarding flatpak because of the natural hashes updates etc.

Also, a small organization made to make the code more humanly readable.
2024-01-18 15:59:45 +00:00
Anders Jonsson ab9f8146da app: mark missing tool option as translatable 2024-01-18 13:20:21 +00:00
Anders Jonsson e2843e40cf libgimpwidgets: mark tooltips as translatable 2024-01-18 13:20:21 +00:00
Martin f07ad4b2d6 Update Slovenian translation 2024-01-18 07:23:15 +00:00
Martin cf133337c2 Update Slovenian translation 2024-01-18 07:21:36 +00:00
Bruno Lopes b887211934 Issue #9106: Create desktop shortcut by default with Inno installer
As consensus on Windows contributors, it is more useful for most users
the generation of the desktop shortcut by default.
Now, users who don't want it should uncheck the option in custom install
or manually delete the shortcut after a full install.
2024-01-17 17:30:35 +00:00
Jacob Boerema e58afad043 app: fix #10641 API for adding to the local Layers menu is broken
It was not possible anymore for a plug-in to add a menu item to the
local Layers, Classes and Paths dialogs using <Layers>, <Classes> and
<Vectors> at the start of the menu path.
For the first two this was due to an extra length parameter and the
drawables now being inside a GimpObjectArray. To fix that we check
inside the object array for the correct type names.
I'm not sure if Vectors ever worked, but testing shows it only adds
runmode and image parameters. To fix that we do the same as for
ColorMap.
2024-01-17 12:20:00 -05:00
Sabri Ünal 174d9c5631 Update Turkish translation 2024-01-17 08:04:53 +00:00
Sabri Ünal 007484517f Update Turkish translation 2024-01-17 07:48:30 +00:00
Sabri Ünal 78d768037e Update Turkish translation 2024-01-17 07:46:50 +00:00
Ekaterine Papava f3887e362c Update Georgian translation 2024-01-16 20:07:22 +00:00
Bruno Lopes 38f5fec491 build/windows: Drop 'jhbuild'
The 'jhbuild' build of GIMP (Windows only) was added in 2013 and then maintained
by only one contributor (it even offered unnoficial nightly builds) until 2017,
when it never received a new jhbuild-specific commit again.

After so long, update it to keep up with current development status is quite hard,
so it is reasonable to remove this already dead version of GIMP.
2024-01-16 20:06:10 +00:00
Ekaterine Papava ea54f99ec0 Update Georgian translation 2024-01-16 20:05:05 +00:00
Ekaterine Papava 30bab1919e Update Georgian translation 2024-01-16 20:02:57 +00:00
Alx Sa 0286210539 widgets: Add checks if GdkDevice doesn't exist
Resolves #10643.

Prevent gimp_modifiers_editor_show_settings () from being called
when the user clicks the Modifier Reset button in Preferences if
there is no device connected to GIMP.
2024-01-16 14:17:53 +00:00
Bruno Lopes c239d522c8 gitlab-ci: Tweak CI to avoid stuck win-a64 jobs
'clangarm64' pacman is getting stuck and killing it is the only "solution"
before any patch by the MSYS2 folks.
2024-01-16 13:11:56 +00:00
Marco Ciampa cb63e4505e Updated Italian translation (WIP) 2024-01-16 13:59:58 +01:00
Anders Jonsson cea5397a59 Update Swedish translation 2024-01-16 10:25:39 +00:00
dimspingos d5771b21e2 Updated Greek Translation 2024-01-16 10:54:56 +02:00
Alx Sa 15929e83fd core: Fix crash when pattern can't be loaded
For certain small selections, the pattern preview can't be loaded.
Since e1e30c6f assumes the pattern loads, this could cause a
crash if a dialogue with the preview is visible.
This patch checks if the scaled pattern was loaded before using
it, and otherwise uses the default pattern.
2024-01-15 22:55:57 +00:00
Anders Jonsson 31d8ac70a1 Update Swedish translation 2024-01-15 21:39:26 +00:00
Aurimas Černius 4424bafd47 Update Lithuanian translation 2024-01-15 20:55:55 +00:00
Aurimas Černius 656bf8d1fb Update Lithuanian translation 2024-01-15 20:46:13 +00:00
Aurimas Černius a0c111a53c Update Lithuanian translation 2024-01-15 20:41:15 +00:00
Aurimas Černius ee3e49299b Update Lithuanian translation 2024-01-15 20:36:12 +00:00
Yuri Chornoivan 92f7903331 Update Ukrainian translation 2024-01-15 20:24:04 +00:00
Bruno Lopes 663b6636ab build/windows: Enable Norwegian translation for the Windows installer
Following ce3b6430d5
2024-01-15 16:37:08 -03:00
Bruno Lopes 6850232cdb build/windows: Organize Installer script
The order of the commands was very confusing and some useful comments
was lacking. Let's fix it.
2024-01-15 16:36:32 -03:00
Bruno Lopes 2c1c7aae03 gitlab-ci, build/windows: Fix .patch and improve a little pacman upgrade
* Fixes an ARM .patch that stop to working after !1171, causing job fail
* Changes the logic of system upgrade (pacman -Syyuu) to be less redundant
  This also improves consistency with the Debian jobs
2024-01-15 15:04:30 -03:00
Bruno Lopes 3a561d1c68 build/windows: Fix and update some Inno Installer files
These files (specially the script) were not properly updated in the
previous MR, which would make the Inno Installer Job fail.
2024-01-15 15:04:30 -03:00
Bruno Lopes 9c0cc6ab98 plug-ins: Don't build ScriptFu interpreter and server in crossbuilds
Since !1171, ScriptFu .scm and .interp files aren't available to prevent
errors caused by no instrospection support, but this binaries escaped.
2024-01-15 15:04:30 -03:00
Kolbjørn Stuestøl 96a0cf98ca Update Norwegian Nynorsk translation 2024-01-15 17:58:51 +00:00
Kolbjørn Stuestøl a380886c03 Update Norwegian Nynorsk translation 2024-01-15 17:47:58 +00:00
Kolbjørn Stuestøl 8f9dd1fe6b Update Norwegian Nynorsk translation 2024-01-15 17:35:59 +00:00
Kolbjørn Stuestøl ce3b6430d5 Add Norwegian Nynorsk translation 2024-01-15 17:08:37 +00:00
Kolbjørn Stuestøl 46a4fbaa45 Update Norwegian Nynorsk translation 2024-01-15 17:05:05 +00:00
Bruno Lopes 5dc8c267da build: remove obsolete 'patches'
They have already been released in Cairo and were not even being applied
by us anymore.
2024-01-15 11:53:42 -03:00
Bruno Lopes f24432e632 build: drop 'buildbot'
This folder has become totally obsolete because we currently use Gitlab CI
and its content was not being maintained for over a decade.
2024-01-15 11:53:42 -03:00
Anders Jonsson 9838c9f65f plug-ins: fix crash on export to xmc
Fixes #10605.

Export to xmc when image width or height is 256 pixels
causes a crash. Add equality check to an assert to stop
the plug-in from crashing.
2024-01-15 14:50:58 +01:00
Alx Sa bb588155fd plug-ins: Fix ImageMap resize bug in GTK3
Resolves #10530.

In GTK2, setting a window's scrollbar policy to GTK_POLICY_NEVER
hid the scrollbars. In GTK3, this also makes the window automatically
resize to fit the contents. Since ImageMap displays the full drawable
with no scaling, this caused the plug-in window to be very large for large
layers.
GTK_POLICY_EXTERNAL in GTK3 works the same as the GTK2 version of
GTK_POLICY_NEVER, so using it instead fixes the problem.
The default width and height magic numbers were also replaced with
constants.
2024-01-14 19:43:32 +00:00