Commit Graph

52280 Commits

Author SHA1 Message Date
Alx Sa 0b171e9bae core: Copy NDE filters in layer group children
Resolves #10765
This allows us to retain any filters that a
layer group's children might have when
copied or exported. They were previously
lost when the group layer was duplicated.
Note that an OR condition was added to
GimpDrawableFilter creation, to allow
one to be created if the layer was 
attached to a parent layer rather than the
image.
2024-04-29 20:51:36 +00:00
Bruno Lopes 59b62c3355 build/windows: Make possible to execute Win cross artifact without the wrapper
The wrapper, like in native artifact, exists just for avoid searching the exe.
But, if the user wanted, wasn't possible to execute gimp-*.exe directly since
the wrapper was needed to generate loaders.cache. Now, loaders.cache are built.
2024-04-29 15:51:33 +00:00
Bruno Lopes bf0671dac2 build/windows: Make clear that our Windows builds are not incomplete
This improves the gimp.cmd wrapper wording a bit to not need the README
anymore. Our dev site was improved some time ago to clarify this:
the Windows builds aren't not incomplete if run correctly (under MSYS2)

Also, add cleanup commands to make the .typelib wizardy less invasive.
2024-04-29 15:51:33 +00:00
Bruno Lopes 649f0c7747 build/windows: Update 'project_subdir' in gimp.cmd wrapper following 973c2dd7 2024-04-29 15:51:33 +00:00
Rodrigo Lledó 99d29f0345 Update Spanish translation 2024-04-29 11:48:35 +00:00
Cheesequake 10cc33b28e widgets: Deleting effects now deletes the selected effect instead of the topmost effect
Resolves #11404
Since the GimpContainer selected function automatically updates which filter is the
"active" selected filter, we can remove the code that sets it to NULL after a filter
is deleted. This fixes a bug where the top effect was always deleted in subsequent
attempts rather than the highlighted one.
A now unnecessary gimp_drawable_remove_last_filter () function was also removed.
2024-04-29 11:34:59 +00:00
Bruno Lopes b080180955 gitlab-ci: Little changes in 'file-plug-in-tests' for consistency
Some details went unnoticed by me when reviewing the MR,
so Jacob authorized me to fix them separately.
2024-04-28 23:34:06 +00:00
Bruno Lopes f7c5c5a6e0 build/windows: Update 'project_subdir' in MSIX following 973c2dd7
Also, drops manual removing of test plug-ins since they willn't be
installed at build time for stable versions, I suppose.
2024-04-28 19:05:18 -03:00
Bruno Lopes e53d6df611 build/windows: Add 'GIMP.GIMPPreview' identity for testing purposes
Without this, Partner Center refuses the .MSIX by not matching the
entry Identity and DisplayName (which isn't the same as the stable).

Also, rework the naming of the .msix's to be more Microsoft-ish
2024-04-28 17:55:22 -03:00
Alan Mortensen ef62625c27 Update Danish translation 2024-04-28 16:28:41 +00:00
Alan Mortensen f80353e8ee Update Danish translation 2024-04-28 16:28:00 +00:00
Bruno Lopes 0a2433c062 build/linux: Fix failing Flatpak jobs due to old path 2024-04-28 14:24:48 +00:00
Yuri Chornoivan 6075afd70d Update Ukrainian translation 2024-04-28 05:58:56 +00:00
Jacob Boerema 97671dbab7 plug-ins, tests: fix #11408 test-file-plug-ins: permission error ...
for gimp-tests.log

On Linux we may not have permission to create a log at our default
location, so we need to check for that.

First we should not init the log when our plug-in is asked for info.
Only create it when we actually run the import or export tests.

Second, try to catch the permission error and write a message either
in GIMP or in the terminal for non-interactive.
2024-04-27 22:46:02 +00:00
Martin b5c6b48bee Update Slovenian translation 2024-04-27 21:49:18 +00:00
Bruno Lopes 7503dd449a build/windows: Add 'qoi' back to the unified deps list
Following 93722e81. I forgot adding into the list
2024-04-27 16:37:05 -03:00
Jacob Boerema 5def9ffd09 plug-ins: don't crash file export tests when sections is None 2024-04-27 13:10:18 -04:00
Bruno Lopes 93722e81b5 build/windows: Remove a bit of actually dead code in msys2 scripts
This commit is mostly a little cleanup:
- Reduce redundancy in Local compatibility layer regarding build commands,
  which partily reverts !1171 regarding buggy "ninja && ninja install"
- Reduce redundancy of some variables (MSYS_PREFIX and GIMP_DISTRIB)
- Remove manual QOI install since MSYS2 granted a exception in the win32 drop

This commit also reverts 7cca69cd, a fix from the autotools era that isn't
actually needed according to my tests in CI.
2024-04-27 17:00:43 +00:00
Alx Sa b283d9fe08 plug-ins: Port file-ps to GimpChoice
Resolves #9946
2024-04-27 16:49:31 +00:00
Martin e1cc217057 Update Slovenian translation 2024-04-26 21:36:55 +00:00
Martin 76bf9174ad Update Slovenian translation 2024-04-26 21:34:49 +00:00
Yuri Chornoivan 510b557fc8 Update Ukrainian translation 2024-04-26 19:58:04 +00:00
Yuri Chornoivan ac56004fd0 Update Ukrainian translation 2024-04-26 19:49:25 +00:00
Yuri Chornoivan 62f94d8746 Update Ukrainian translation 2024-04-26 19:44:08 +00:00
Sabri Ünal bc6dbf87d6 Update Turkish translation 2024-04-26 17:31:21 +00:00
Sabri Ünal 339db86473 Update Turkish translation 2024-04-26 17:29:06 +00:00
Jacob Boerema 3478e1c00f plug-ins: add file-plug-in testing framework
Copied over from the original separate work in:
https://gitlab.gnome.org/Wormnest/gimp-file-plugin-tests
After that further improved and changed and added more file format
tests.

Added meson.build files to integrate it in our build, but we do not
install it for releases.
2024-04-26 12:28:47 -04:00
Rodrigo Lledó 44225ef1c0 Update Spanish translation 2024-04-26 12:11:08 +00:00
Jordi Mas 628a8d1f5b Update Catalan translation 2024-04-26 13:53:07 +02:00
Alx Sa 9a4d365d59 core: Copy correct filters to new layers
Should resolve #11392

In dfb26f37, the NDE filters in the copied image are
retrieved with gimp_image_get_layer_iter (). This works
fine for single layer images or when all the layers are copied
at once. However, if a subset is copied then the filters are always
copied starting from the top level of the image. This can result
in an incorrect filter being copied to the wrong layer.
To fix this, we get the filters from the provided drawables list
instead. This matches the number of layers in the copied
image exactly, since it was used to create the copied image.
2024-04-26 04:17:08 +00:00
Martin 9f1a099202 Update Slovenian translation 2024-04-25 19:59:07 +00:00
Bruno Lopes ab4267d620 gitlab-ci: Fix custom builds being interrupted
This regression was added by c064148a and it's similar to fb7a9954. Now, that
we are using 'interruptible: false' in custom rules, this is probably fixed.

Also, organize a bit better some pipelines with official GitLab .yml wizardy.
I was hesitating to use "<<: *" since this creates a new layer of complexity,
but this was the better way and the trick have a distinct marking by the way.
2024-04-25 19:03:12 +00:00
Anders Jonsson d83cf4d9b6 plug-ins: fix typo in file-raw-data 2024-04-25 18:18:38 +02:00
Ekaterine Papava c28f63f119 Update Georgian translation 2024-04-25 14:51:19 +00:00
Alx Sa ed557ad2bd plug-ins: Typo correction from 1247c8ba 2024-04-25 14:49:21 +00:00
Ekaterine Papava 596619d928 Update Georgian translation 2024-04-25 14:46:30 +00:00
Ekaterine Papava 62b3df3aa5 Update Georgian translation 2024-04-25 14:45:09 +00:00
Ekaterine Papava 81975732c0 Update Georgian translation 2024-04-25 14:43:10 +00:00
Alx Sa 62cdbfbafa plug-ins: Port file-jpeg to GimpChoice parameters 2024-04-25 14:04:23 +00:00
bootchk 20b19b960e ScriptFu: fix #10307 plugin call display not effective
This benefits script authors and testers of ScriptFu.

Now a call to (display "foo") in a plugin goes to the terminal where GIMP started.
Whether interactive or in batch mode.

Make TS errors go to an error port instead of the output port.

Tool plugins: Console, Eval, Server get error messages from the error port.
TextConsole not changed. Tools behave per new doc "ScriptFu Tools" at dev web site.

Driveby fix of SF Server: send whole message instead of byte by byte.

Driveby comments and more semantic checking of set-output-port in TS.

Add test plugin test-display.scm
2024-04-25 12:51:00 +00:00
Alx Sa 1247c8ba2e plug-ins: Port file-raw-data parameters to GimpChoice
In addition, this restores the palette options for HGT import
that were accidentally removed from 2.10. Mnemonics
were also added to parameters which were missing them
earlier.
2024-04-25 12:40:42 +00:00
Jehan 973c2dd710 meson: fixing the datadir/libdir/sysconfdir.
As noticd by Bruno, the meson port is inconsistent with our 2.10
autotools build here too (and therefore our data path standards).
Fixing.
2024-04-25 01:13:38 +02:00
Jehan 9d93160de6 Issue #11384: new Image automatically uses comment from active image. 2024-04-25 00:20:32 +02:00
Bruno Lopes b494944f2f build: Add pedagogic README towards 'gimp-macos-build' repo
It's not obvious (when browsing in the repo) where the macOS files are.
Now, that we have one folder per OS, this became desirable for clarity.
2024-04-24 22:02:32 +00:00
Martin 9406b61a05 Update Slovenian translation 2024-04-24 21:31:47 +00:00
Jehan c40dc612a5 tools: update the rm command for macOS.
Hopefully now the CI jobs can run?!
2024-04-24 23:31:05 +02:00
Martin 16d15dccf2 Update Slovenian translation 2024-04-24 21:30:11 +00:00
Anders Jonsson 80b7727770 Update POTFILES.in 2024-04-24 22:32:03 +02:00
Jehan 4e8f7c5be6 tools: fix in-build-gimp.sh on macOS.
This should hopefully fix:

> realpath: /Users/circleci/macports-gimp3-arm64/var/macports/build/_Users_circleci_project_ports_graphics_gimp3/gimp3/work/build/.GIMP3-build-config-: No such file or directory

Though it's harder to verify because of the "Intel macOS resource brownouts"
going on on CircleCI infra, and only x86_64 runners allowed me to SSH to them.
But I think that's the right fix seeing the error.
2024-04-24 21:57:15 +02:00
Jehan 55b5e14f69 plug-ins: port file-wmf-load to GimpVectorLoadProcedure.
The preview widget is a bit stretched, though at least I fix the contents to be
distorted (instead, the preview is fine but we've got black-filled parts
around). I'm not focusing on it because anyway, I'm not sure either if the
preview is that important, or (if it is) whether we should not just integrate it
as part of GimpVectorLoadProcedureDialog, i.e. for every vector images.
2024-04-24 21:57:15 +02:00