Commit Graph

51861 Commits

Author SHA1 Message Date
Jehan 2bda55fa9a meson: cursors are now hosted and installed from gimp-data too. 2024-03-28 00:19:10 +01:00
Jehan 008f7b5093 cursors: move all cursors to gimp-data repository.
This is the symmetrical removal commit of the add commit gimp-data@299204f.
2024-03-28 00:19:10 +01:00
Jehan 686897e35d meson: icons are now installed by making gimp-data a meson subproject.
This commit is separate from the previous to make it immediately clear (by
comparing files) that the previous commit is a simple move with no modification
whatsoever of the icons/ directory, i.e. the symmetrical removal of add commit
gimp-data@8b54490.

We now clone gimp-data as a meson subproject. I am currently testing the
subproject feature though I am doubting a bit because of its limitations: the
git clone is not updated automatically, nor are errors clear. Therefore it would
be easy to end up with outdated data for developers not manually and regularly
running:

> meson subprojects update

Worse, it looks like even when updating the suproject, it fails to be properly
reconfigured. See: https://github.com/mesonbuild/meson/issues/12898
2024-03-28 00:19:10 +01:00
Jehan d57442eeeb icons: moved to gimp-data repository. 2024-03-28 00:19:10 +01:00
Bruno Lopes 85ed2847a6 gitlab-ci, build: Move to Clang in Flatpak (mostly)
In our efforts to use Clang, now the nightly (in fact weekly) flatpak
is built with Clang too, not only GIMP but also the dependencies.

* However, not aalib. We welcome fixes regarding this cursed lib.

Additionally, updated some build options from some deps.
2024-03-27 11:01:20 -03:00
Alx Sa e4a4063f40 pdb: Fix selection offset bug in Plasma
Resolves #7672

The Plasma wrapper gets the boundaries
of its filter area using gimp_item_mask_intersect().
If used on a selection, this gives the x and y
coordinates relative to the total canvas.
However, the GEGL operation will be drawn
relative to the selection - so this offsets
the effect within the selection rather than
filling the full space.
This patch fixes the problem by setting
the x and y position to 0 when there is an
active selection.
2024-03-27 10:54:39 +00:00
Jordi Mas f9a4d686a5 Update Catalan translation 2024-03-27 08:21:52 +01:00
Luming Zh 6293da2509 Update Chinese (China) translation 2024-03-27 03:07:01 +00:00
Luming Zh 21d36d1051 Update Chinese (China) translation 2024-03-27 03:03:45 +00:00
Luming Zh a23bc85e66 Update Chinese (China) translation 2024-03-27 02:42:02 +00:00
Martin e709f22359 Update Slovenian translation 2024-03-26 19:57:53 +00:00
Yuri Chornoivan cebbec9d77 Update Ukrainian translation 2024-03-26 19:22:46 +00:00
Alx Sa 5fcee54d49 widgets: Prevent reordering actively edited layer effects
Layer effects that have not yet been committed are not
attached to the drawable. Trying to reorder them causes a
crash since they're required to be attached for undo/redo
purposes. This patch checks if they're committed beforehand,
and informs the user with a warning if it's not possible.
2024-03-26 16:58:34 +00:00
Alx Sa 5ce128a9fa libgimpwidgets: Allow colors to be dropped on ColorAreas
Post color space invasion, this function needed to read in
GeglColors directly rather than converting from GimpRGB.
2024-03-26 13:57:52 +00:00
Anders Jonsson aaba366f0c plug-ins: avoid blinds crash by allowing MAX_FANS segments
In GIMP 2.10 the number of segments was restricted to MAX_FANS.
That was later changed to 1024 without increasing MAX_FANS
which can crash the plug-in.

Also change the max displacement angle back to 90 degrees. The interval
0 to 90 degrees is enough to return all possible values.

Fixes #11108
2024-03-25 21:50:34 +01:00
Bruno Lopes 8c3cce1737 build/windows: Remove redundant build options
These options are already auto set by babl and GEGL.
2024-03-25 15:55:34 +00:00
Marco Ciampa 6f7537b1fb Update Italian translation 2024-03-25 14:22:07 +00:00
Alx Sa 9bee3bed2a plug-ins, libgimpbase, text: Port border-average...
...to fully use and return GeglColor.
Also, fix gimptext-parasite sending a
GimpRGB to create a GimpText instead of
the now required GeglColor, and update
documentation in gimp_checks_get_colors
to reference GeglColor instead of GimpRGB.
2024-03-25 02:21:54 +00:00
Alx Sa 32c9a9a6cc plug-ins: Fix preview for Blinds GUI
Resolves #11092

Same fix as in 2b3b2af2, since Blinds and Jigsaw
were the two plug-ins which used GimpAspectPreview
before the port to GimpProcedureDialog.
2024-03-24 18:39:50 +00:00
Alx Sa 2b3b2af26d plug-ins: Fix preview for Jigsaw GUI
After the port to gimp_procedure_dialog_get_drawable_preview (),
the preview widget was being sized to the original drawable's dimensions
while the drawable was being redrawn with only its thumbnail dimensions.
This created a scrollbar that showed unallocated/overwritten buffers.

To fix, we update the preview size and boundaries whenever the preview
is changed. This removes the scrollbar and returns to 2.10 behavior.
2024-03-24 18:25:11 +00:00
Bruno Lopes 879cec8786 Issue #9999: Fix arbitrary headerbar height
The merged menu + title bar (headerbar mode) wasn't matching the height of
the title bar mode. This is inconsistent and, worse, ugly even in 768p.
2024-03-24 17:07:14 +00:00
Martin d6d3451898 Update Slovenian translation 2024-03-24 16:09:00 +00:00
Yuri Chornoivan 94916bd596 Update Ukrainian translation 2024-03-24 14:58:45 +00:00
Alx Sa d5c2585773 Issue #11098: Fix crash on saving PDF
Resolves #11098.
In f12687e9, a new parameter was put in the wrong order
in a call to draw_layer(). This caused a crash in
single layer PDF saves.
2024-03-24 13:56:42 +00:00
Rodrigo Lledó b21cbf505d Update Spanish translation 2024-03-24 13:52:26 +00:00
Alx Sa f12687e9f5 plug-ins: Port file-pdf-save-multi to GimpProcedureDialog
In addition to the port, mnemonics were added to both file-pdf-save-multi
and file-pdf-save's GUI parameters.
Some runtime warnings were also fixed, such as trying to use a NULL string
parameters to make a file and trying to access properties from file-pdf-save
that don't exist in file-pdf-save-multi.
2024-03-24 02:20:05 +00:00
Bruno Lopes 5de967aae9 gitlab-ci: Drop Windows resource .patch since MSYS2 now have LLVM 18 2024-03-23 20:07:54 -03:00
Alx Sa ed1e8a62aa xcf: Set NDE filter visibility on load
The filter visibility setting was being loaded but
not actually used to set a filter invisible.
2024-03-23 21:31:20 +00:00
Jordi Mas 027a52bcae Update Catalan translation 2024-03-23 16:53:52 +01:00
Alx Sa 2e0d31b17e modules, core, pdb, plug-ins: GeglColor ports
More minor ports from GimpRGB to
GeglColor.
Note that file-mng's GimpRGB code was
already dummied out.
2024-03-23 07:16:02 -04:00
Alx Sa db88383abb themes: Define no box-shadow on unselected tabs
As shown in a video for issue 11087, some system themes
may add a white box-shadow on the side of unselected
tabs. This patch forces box-shadow to "none" to prevent
this.
2024-03-22 16:27:55 +00:00
Rodrigo Lledó 9e0e56be95 Update Spanish translation 2024-03-22 15:10:31 +00:00
Marco Ciampa b4895b0ff5 Updated Italian translation 2024-03-22 11:28:47 +01:00
Marco Ciampa e0ee27f66f Updated Italian translation 2024-03-22 11:00:42 +01:00
Marco Ciampa 71c7d36009 Updated Italian translation 2024-03-22 10:06:14 +01:00
Alx Sa fef2120dd3 xcf: Fix filter color saving bug
Resolves #11057
Per Idriss Fekir's research, data from GBytes
should be written before the GByte is freed.
Perhaps due to luck, the data persisted on
Windows but was freed too early on Linux.
This patch should resolve the issue.
2024-03-22 02:01:57 +00:00
Marco Ciampa ec88bc40cc Updated Italian translation 2024-03-22 01:50:28 +01:00
Marco Ciampa 515f353737 Updated Italian translation 2024-03-22 01:47:09 +01:00
Ekaterine Papava 6f03b6934f Update Georgian translation 2024-03-21 23:33:27 +00:00
Ekaterine Papava ba0646bdf3 Update Georgian translation 2024-03-21 23:27:36 +00:00
Alx Sa 3233aed0dc plug-ins: Fix Palette and Gradient functions
Resolves #11083

Per bootchk, changes in function calls to
palette_entry_get_color () and 
gradient_segment_get_left_color () were
broken in Python scripts due to GelColor
being used post Color Space Invasion.
This patch fixes the calls and returns.
2024-03-21 13:06:39 +00:00
bootchk 59b6c8fc8f ScriptFu: fix 11077: call gimp_ui_init in every run_func
More descriptive name for script-fu-interface-dialog

Delete SF flag for gimp_ui_init already called: gimp_ui_init can be called often.

FUTURE: might be faster to call just gegl_init when mode is non-interactive.
2024-03-20 11:35:48 +00:00
bootchk fc310e0bed libgimpui: annotation of gimp_ui_init say it can be called often. 2024-03-20 11:35:48 +00:00
lillolollo c72f91d69a remove extraneous parentheses 2024-03-20 10:27:07 +00:00
Yuri Chornoivan d207fcde4a Update Ukrainian translation 2024-03-20 10:11:35 +00:00
Alx Sa ef548fff65 widgets,modules,plug-ins: GeglColor ports
After the color space invasion, the
Clip Warning filter no longer had color
areas for its shadow, highlights, and
bogus color properties. This patch ports
them to GeglColor so the widget can be
created correctly.
GimpRGB structs are also converted to
GeglColor in GimpPanedBox and two
plug-ins.
2024-03-20 02:53:41 +00:00
Anders Jonsson 0bc99a29e1 Update Swedish translation 2024-03-19 22:02:36 +00:00
Anders Jonsson 188d00193a Update Swedish translation 2024-03-19 22:01:07 +00:00
Jehan 1158fc2119 app: make sure we just seek past unknown effect properties.
Otherwise we are not in a valid position anymore and further loading the XCF
fails. This may happen when updating a GEGL operation (in particular removing
effect properties, or renaming them).
2024-03-19 18:03:25 +01:00
Alx Sa 2b62976260 propgui: Port Color-To-Alpha GUI to GeglColor
The two threshold color pick buttons needed to have
a GeglColor parameter for their GimpPickerCallback
rather than a const GimpRGB.
This also fixes a crash caused by trying to free the GeglColor
rather than unreferencing it.
2024-03-19 14:32:14 +00:00