Commit Graph

50615 Commits

Author SHA1 Message Date
Jordi Mas 26454809a7 Update Catalan translation 2023-08-16 19:37:27 +02:00
Alx Sa 64eaed2ad7 modules: Add translation note for Clip warning
Resolves #8207. Adds a note to clarify the purpose of the
Clip Warning color display filter.
2023-08-15 17:09:14 +00:00
Jacob Boerema 40b2412fa4 plug-ins: add synchronization with certain Exif tags.
Exif tags Exif.Image.Artist, Exif.Image.ImageDescription, and
Exif.Image.Copyright were not being synchronized with their Xmp and
Iptc.IIM equivalents in the metadata-editor.

This commit adds synchronization of reading and writing of the metadata.

We adjust the struct for equivalent_metadata_tags by removing unused
fields and adding a field that points to the equivalent Exif tag in
a new struct called exif_tag_info.

On loading of the metadata tags we now also check a limited set of
Exif tags. If no value was set yet, we use the Exif value, or else
we check to make sure both had the same value. If not, print a
warning in the terminal.

On saving of metadata, we now also save to the marked Exif tags, or
if the value is NULL, we remove the tag.

In passing, we also fix two memory leaks by freeing with g_strfreev
temporary string lists.
2023-08-14 17:29:44 -04:00
Jacob Boerema 8495dd6eed plug-ins: improve creation date handling in metadata-editor
Dates in Xmp include a time and timezone, so add a default time when
selecting a date since we can't edit time and timezone yet.

So far, we didn't take into account that IPTC-IIM has separate date
and time+timezone values instead of the combined value in XMP for
DateCreated.

When loading DateCreated check if it has the same value as IPTC
values DateCreated and TimeCreated combined. If not, we show a
terminal error and ignore the IPTC values.
If neither Xmp nor Iptc has a DateCreated, then use Exif.Photo.
DateTimeOriginal combined with OffsetTimeOriginal to set an initial
value.

When saving, synchronize with IPTC-IIM by splitting the DateCreated
value in date and time+timezone and save each to the appropriate tag.
Also make sure that for IPTC-IIM the date separator is a '-'.
2023-08-14 16:50:15 -04:00
Jacob Boerema 83294ba4c7 plug-ins: improve spacing in metadata-editor
Adds a bottom margin to the grids because the horizontal scrollbar
was overlapping the bottom-most row of the grid.
Adds wordwrap and left/right margins to multiline text widgets,
mainly to make the text not start right at the edge of the widget.
2023-08-13 15:15:04 -04:00
Jacob Boerema b97f96249a plug-ins: Xmp.plus.ImageSupplierName can only have one value
as used in metadata-editor:
Change from MODE_MULTI to MODE_SINGLE.
2023-08-13 15:15:04 -04:00
Jacob Boerema c633091d54 plug-ins: in metadata-editor use array size constants...
instead of hard-coded numbers.
Also:
- remove unneeded set_tag_string for n_creatorContactInfoTags
- remove now unneeded structs
2023-08-13 15:15:04 -04:00
Jacob Boerema 4e40a3edd2 plug-ins: make mode in metadata-editor an enum
We were using a string for the metadata mode, meaning we had to compare
string values in a lot of places.

We simplify and probably speed-up comparisons here by replacing the
mode string by an enum value.

The only place still needing the string values sometimes is
metadata-impexp.[ch] where we added a conversion table to convert
the mode to a string.
2023-08-13 15:15:03 -04:00
Lukas Oberhuber 5ccac0dd9b macos: Remove DYLD_LIBRARY_PATH
Revert: https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/561
2023-08-13 12:09:14 +00:00
lillolollo b08602a6f4 libgimpwidgets: hintbox gtk_widget_show update with gtk_widget_set_visible 2023-08-13 12:05:58 +00:00
Stanislav Grinkov 9ab7547607
widgets: initialize TextTag's alpha channel when deserializing markup
Code location and fix found by Massimo Valentini.

Fixes: #6927 (GNOME/Gimp tracker)
2023-08-13 13:40:17 +06:00
Stanislav Grinkov 6947e80b0b
icons: add white border to Color theme Dodge icon
Fixes: #9681 (GNOME/Gimp tracker)
2023-08-13 12:18:10 +06:00
Stanislav Grinkov 3f82a57f2d
icons: add white border to Legacy Airbrush and Dodge tool icons
Fixes: #9681 (GNOME/Gimp tracker)
2023-08-13 12:18:10 +06:00
Stanislav Grinkov 83f6eec57b
app: set the blank font name for the standard font instead of 'Standard'
to fix the issue when 'Standard' can be actual font from the list
or a font which starts with. (ie. Standard Symbols PS)

Fixes: #3104 (GNOME/Gimp tracker)
2023-08-13 12:15:27 +06:00
Luming Zh e489dc6e53 Update Chinese (China) translation 2023-08-12 19:54:48 +00:00
Luming Zh eb0c9b04ac Update Chinese (China) translation 2023-08-12 19:53:55 +00:00
Luming Zh 6bccd77e87 Update Chinese (China) translation 2023-08-12 19:52:52 +00:00
Jehan 63076ba342 devel-docs: add URLs to babl and GEGL gi-docgen documentation.
Note that these links are not valid yet. For now, documentations are only in
testing:
* babl: https://testing.developer.gimp.org/api/babl/
* GEGL: https://testing.developer.gimp.org/api/gegl/

The main links will appear next time we merge testing into the main developer
website, or at the next release of GIMP.
2023-08-12 21:09:30 +02:00
Jehan 661009d950 gitlab-ci: generating tarballs for babl and GEGL API reference documentation. 2023-08-12 17:33:54 +02:00
Anders Jonsson 369a7782a1 app, libgimp, libgimpbase: fix gi-docgen rendering 2023-08-12 14:52:52 +00:00
Martin 38b226a558 Update Slovenian translation 2023-08-11 23:22:00 +00:00
Martin 26cb91ddcf Update Slovenian translation 2023-08-11 23:16:41 +00:00
Martin 664de8f311 Update Slovenian translation 2023-08-11 23:13:50 +00:00
Yuri Chornoivan 83130f889b Update Ukrainian translation 2023-08-11 18:47:40 +00:00
Yuri Chornoivan c9e8b2a120 Update Ukrainian translation 2023-08-11 18:45:12 +00:00
Sabri Ünal 67cd2a60d3 Update Turkish translation 2023-08-11 11:21:30 +00:00
Sabri Ünal 1f24773e0e Update Turkish translation 2023-08-11 11:17:32 +00:00
Sabri Ünal a460650f75 Update Turkish translation 2023-08-11 11:17:26 +00:00
Sabri Ünal 8a6c385edf Update Turkish translation 2023-08-11 11:17:20 +00:00
Sabri Ünal af7b3d7e53 Update Turkish translation 2023-08-11 11:15:42 +00:00
Ekaterine Papava e24974ffc7 Update Georgian translation 2023-08-11 07:35:54 +00:00
Ekaterine Papava 494418f996 Update Georgian translation 2023-08-11 07:30:16 +00:00
Stanislav Grinkov cbcb477182
core: add FG to Transparent (Hardedge) gradient
Fixes: #9849 (GNOME/Gimp tracker)
2023-08-11 13:01:20 +06:00
Luming Zh 955a890bbc Update Chinese (China) translation 2023-08-11 02:28:35 +00:00
Alx Sa b459ce95bb plug-ins: Handle single-channel OpenEXR with unknown channel names
OpenEXR allows for arbitrary channel names. Instead of failing once the common ones are checked, this patch 
checks the number of channels in the file.
If there is only one channel, it is treated as 
grayscale (similar to OpenImageIO's behavior).
A debug warning with the channel name is also printed.
2023-08-10 19:37:25 +00:00
Stanislav Grinkov 4465db5223
tools: change text tool behavior when replacing a text
When replacing a selection, take and apply markup (if any)
from the first character of the selection for the entered
text.

This fixes the case when you no longer can change the
global layer text properties after replacing the text.

Also, this changes the behavior introduced in #1220.

Fixes: #7948 (GNOME/Gimp tracker)
2023-08-10 22:23:45 +06:00
lillolollo 4d7c2ab2b9 libgimp: missed break 2023-08-10 15:20:54 +00:00
Jehan 133acb2c99 NEWS: update. 2023-08-10 17:11:36 +02:00
Zander Brown e00f2b3bf9 play: use GMenu directly 2023-08-10 12:11:01 +00:00
Zander Brown ddd1a48825 remap: use GMenu directly 2023-08-10 12:11:01 +00:00
Zander Brown adc7e5331c colourbutton: use GMenu directly 2023-08-10 12:11:01 +00:00
Zander Brown efabebd0bb help-browser: move menu to XML 2023-08-10 12:11:01 +00:00
Zander Brown 7d1eac18ca ifs: move menu to XML
See: https://gitlab.gnome.org/GNOME/gimp/-/issues/9776
2023-08-10 12:11:01 +00:00
Martin 37220c5dab Update Slovenian translation 2023-08-10 10:55:09 +00:00
Yuri Chornoivan 24694e59c5 Update Ukrainian translation 2023-08-09 18:02:15 +00:00
Alx Sa 8709e91999 plug-ins: Make GFig menus translatable
Based on the IMAP port in !1031, this moves the menu code to a separate file
so that gettext can access it for translation.
2023-08-09 16:17:00 +00:00
Ekaterine Papava 2501807401 Update Georgian translation 2023-08-09 16:13:52 +00:00
Jehan 8a8451750d build: Imath is a dependency of OpenEXR.
Organizing sub-dependencies into modules helps. Later if for instance we need to
remove or change OpenEXR, we know that they are related and that Imath can be
removed if we remove OpenEXR.
2023-08-09 17:21:24 +02:00
lillolollo 8432c555a6 app: silencing warnings in switch statement
See MR !1007.
2023-08-09 15:20:52 +00:00
Zander Brown 3b6ea6f02e imap: generate sources
The targets were just being left floating, and the pre-generated in-tree
source were always used instead

When bison/flex are found, ensure we actually dep on their output - thus
actually running the targets - and only use the in-tree copies as a
fallback
2023-08-09 13:46:56 +00:00