Commit graph

48109 commits

Author SHA1 Message Date
Jehan
ab1fc79a07 app, libgimpwidgets: move GimpSpinScale to libgimpwidgets.
There is really nothing specific to the core application, it is quite a
generic widget, so it would be nice for plug-ins to be able to use this
widget.
2022-02-17 23:13:42 +01:00
dimspingos
17528d787e Updated Greek translation 2022-02-17 10:58:37 +02:00
Bruce Cowan
19ac1f3c4f Update British English translation 2022-02-16 16:52:57 +00:00
Bruce Cowan
4adb49383b Update British English translation 2022-02-16 16:51:39 +00:00
Bruce Cowan
6d11b36a7e Update British English translation 2022-02-16 16:34:55 +00:00
Yuri Chornoivan
5e50603d3c Update Ukrainian translation 2022-02-16 07:44:43 +00:00
Jordi Mas
919101aef7 Update Catalan translation 2022-02-16 07:27:25 +01:00
Stanislav Grinkov
65fcda3b70 themes: Add a bit of padding around treeview header column icons 2022-02-16 04:07:50 +00:00
Stanislav Grinkov
50ae1d1a68 themes: issue #7303. Add on-hover indicator around...
... inactive/unset eye/locked toggles in Layer/Channels/Paths dialogs.

Resolves: #7303 (GNOME gitlab tracker)
2022-02-16 04:07:50 +00:00
Anders Jonsson
9f15da20aa Update Swedish translation
(cherry picked from commit 8bfcaaa504)
2022-02-16 01:11:17 +00:00
Jehan
27ca25f15a app: this string became singular. Fix the grammar.
Thanks to Anders Jonsson for notifying the bug.
2022-02-15 23:52:08 +01:00
Jehan
61a0d97292 devel-docs: add specifications for the various locks behavior.
As I review and tweak various aspects of GIMP UI, I also write down
specifications for these subparts. Here is one for the locks behaviors.

We worked on these specifications with Aryeom and tried to make the most
useful and also somehow obvious logics for these locks, in particular
the cases when applied to layer groups which can have wider ranges of
meaning (on leaf items, it is much simpler). The various previous
commits are implemented based on these specifications.
2022-02-15 22:52:43 +01:00
Yuri Chornoivan
2bbd128862 Update Ukrainian translation 2022-02-15 21:32:08 +00:00
Jehan
e52955bc2f NEWS: update. 2022-02-15 22:17:13 +01:00
Jehan
aa3808addf app, devel-docs: bumping the XCF version to 17.
XCF 17 includes the new visibility locks and the ability to add position
and alpha locks on layer groups.
I am going to push the various commits implementing these different
features together which is why we gather them as a single XCF version.
2022-02-15 22:08:23 +01:00
Jehan
05d226c343 app, desktop: fix the Alt-click exclusive visibility case.
We want it to work whatever the level in the item tree. We only care
about whether the items are selected or not.

Also fixing the AppStream release tag for the description of this
feature.
2022-02-15 22:08:23 +01:00
Jehan
50496b8fb1 app: update the item visibility lock logics.
Unlike other locks, visibility lock is less useful for locking a whole
hierarchy of item and their children. On the other hand, being able to
lock a group visibility while editing the children visibility is quite
useful.
2022-02-15 22:08:23 +01:00
Jehan
2e64bfc61b app: allow "Lock alpha" to be set on layer groups.
It can be argued that layer groups can't be painted on, and that's
probably the original reason, but it's really just the same as "Lock
pixels". It is interesting to be able to lock alpha channels on a layer
group to simply lock all its contents alpha channels.
2022-02-15 22:08:23 +01:00
Jehan
ed59344406 app: allowing to "Lock position" on layer groups.
Since we are now allowed to move groups (which is the same thing as
multi-selecting all its children and moving them), it makes no sense
that this lock is disabled.

This works the same way as "Lock pixels" in that a locked grouped also
forbid moving children. And there was already some logics so that you
can't move a layer group if one of it's children is locked. So this lock
really works both ways and is a bit special.

Finally I cleaned up a bit the multi-layer selection logics and
messaging, as well as which lock to blink (similar to the previous
commit) for the "Lock position" case.
2022-02-15 22:08:23 +01:00
Jehan
e72f5614da app: properly blink the right locked layer when pixels are locked.
In particular, if painting on a layer whose parent's pixels are locked,
we were blinking an empty lock spot, which is confusing. Now
gimp_item_is_content_locked() will also return the proper item (when
relevant, i.e. when returning TRUE) which is locked. It may or may not
the same item as passed in (it may also be a parent item in particular).
2022-02-15 22:08:23 +01:00
Jehan
957b547fac Issue #7864: store and load "lock visibility" flag on items.
This was just completely forgotten!
2022-02-15 22:08:23 +01:00
Yuri Chornoivan
2ce4984693 Update Ukrainian translation 2022-02-15 16:28:56 +00:00
Hugo Carvalho
b618adcd6f Update Portuguese translation 2022-02-15 13:46:55 +00:00
Jehan
73414b9320 desktop: prepare an AppStream <release> tag for GIMP 2.99.10. 2022-02-15 13:47:19 +01:00
Jehan
89f06c68d5 NEWS: update. 2022-02-15 12:54:14 +01:00
Jehan
4ba8aa2322 icons: fix the native Windows build in CI with autotools.
Fixes:

> make[3]: *** No rule to make target '64/dialog-question.png', needed
> by 'gimp-core-pixbufs.gresource.xml'.  Stop.

It looks like a bug in autotools on Windows because there is no reason
why it would fail. The missing PNG should be caught by the '64/%.png'
rule. Anyway after testing, it fixes the gimp-win(32|64)-native CI jobs.
2022-02-14 23:22:39 +01:00
Anders Jonsson
b881ad0482 Update Swedish translation 2022-02-14 21:30:25 +00:00
Hugo Carvalho
eaf6604631 Update Portuguese translation 2022-02-14 12:38:57 +00:00
Hugo Carvalho
1849887ce1 Update Portuguese translation 2022-02-14 12:37:16 +00:00
Daniel Novomeský
f61f389233 plug-ins: remove save-bit-depth heuristics in HEIF plug-in 2022-02-14 11:37:14 +00:00
Matej Urbančič
50b3078cb8 Update Slovenian translation 2022-02-14 11:32:41 +00:00
Matej Urbančič
0cdb76a25c Update Slovenian translation 2022-02-14 11:32:14 +00:00
Daniel Novomeský
cbbae3a907 plug-ins: fix procedure parameter in file-jpegxl-save 2022-02-14 09:48:19 +01:00
Anders Jonsson
7fa04b1c17 Update Swedish translation 2022-02-13 21:36:21 +00:00
Jehan
f361009783 devel-docs: edit and rename debugging-tips file.
Also list it from the devel-docs README.
2022-02-13 21:07:05 +01:00
Jehan
1918736b99 Issue #6792: broken annotation for GimpRunBrushCallback.
As Massimo notes, the issue is not about the callback being broken in
bindings, but simply that bindings fail to handle random data without an
associated size. So let's just add the size. I confirmed testing API in
the Python binding that it now works fine.
2022-02-13 19:02:54 +01:00
Matej Urbančič
6fe62ce7f5 Update Slovenian translation 2022-02-13 17:03:08 +00:00
Matej Urbančič
c1b0364468 Update Slovenian translation 2022-02-13 17:02:39 +00:00
Yuri Chornoivan
643a5f88ab Update Ukrainian translation 2022-02-13 16:53:43 +00:00
Jehan
32049afd05 app: don't propagate resize requests from statusbar to display shell.
See discussion in !572, #7840 and #7690. Note that this was reported on
macOS where the consequences were pretty dire, but it actually also
happens on other platforms, at least on Linux too (as confirmed in X11
with the GTK Inspector set to show graphics updates; on Wayland this
debug option doesn't work, but I assume it is the same).

I am not perfectly happy with this change either, because it is based on
part of the API which has various deprecated parts (hence doesn't exist
anymore on the main dev tree, i.e. it might have to be reviewed in GTK4;
of course, it's unsure, maybe the whole resize propagation to parent
containers is just better handled there and the problem won't exist
anymore).
In any case, it is cleaner than the proposition for this part of the
problem in !572 which is problematic (patching GtkLabel with a new API
which won't trigger resize even when actually needed, hence which likely
won't ever get accepted upstream because it's not right).
2022-02-13 15:24:32 +01:00
Anders Jonsson
2bb2c8949b app: fix typo in name of lens mode enum 2022-02-13 13:49:36 +01:00
Alexandre Prokoudine
89159f0da7 Update Russian translation 2022-02-13 02:18:01 +03:00
Yuri Chornoivan
6b45c03f15 Update Ukrainian translation 2022-02-12 20:51:37 +00:00
Jehan
cef6737d86 app: plural is expected here with multi-layer selected support.
Thanks to Anders Jonsson for noticing.
2022-02-12 18:55:56 +01:00
Yuri Chornoivan
ac204595b3 Update Ukrainian translation 2022-02-12 16:22:28 +00:00
Jehan
d14b1d0523 plug-ins: change export dialog format name for Windows Cursors. 2022-02-12 13:54:20 +01:00
Anders Jonsson
6492186d76 Update Swedish translation 2022-02-12 11:32:18 +00:00
Jehan
061a20d30a NEWS: update. 2022-02-12 01:51:47 +01:00
Jehan
ce236b843e plug-ins: rename "write-color-space-info" arg into "write-color-space".
Let's sync with the proposal in !571 after discussing with Jacob. The
shorter naming is fine and the '-info' suffix feels a bit redundant
anyway. Also since this arg never even existed in GIMP 2.10 (until !571
which is soon to be merged), there is really not even a historical
reason.
2022-02-12 01:43:48 +01:00
Jehan
3e1c914358 plug-ins: fix file-gih.
"sel" argument was wrongly numbered.
2022-02-12 00:07:53 +00:00