[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][upstream/latest] 46 commits: NEWS: Fix typo

Guido Günther (@agx) gitlab at salsa.debian.org
Wed May 31 09:33:10 BST 2023



Guido Günther pushed to branch upstream/latest at Debian On Mobile / phoc


Commits:
203c8397 by Newbyte at 2023-05-02T10:40:41+00:00
NEWS: Fix typo

Phoc, not Phoch
- - - - -
fb7de6be by Guido Günther at 2023-05-02T10:54:33+00:00
Merge branch 'Newbyte-main-patch-01634' into 'main'

NEWS: Fix typo

See merge request World/Phosh/phoc!451
- - - - -
9970d54e by Sebastian Krzyszkowiak at 2023-05-02T19:56:29+00:00
layer-shell: Make find_osk public

This is going to be useful in order to reveal shell when fullscreen view
requests the keyboard and to draw the keyboard inside window thumbnails.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/404>

- - - - -
ca31342d by Sebastian Krzyszkowiak at 2023-05-02T19:56:29+00:00
output: Reveal the shell when a fullscreen view requests the keyboard

Without that, the keyboard would stay hidden unless the user revealed
shell surfaces manually.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/404>

- - - - -
b7523ed2 by Guido Günther at 2023-05-02T19:56:29+00:00
output: Only care about mapped views when checking shell reveal

This avoids

  (phoc:767816): phoc-text-input-CRITICAL **: 16:51:26.961: phoc_input_method_relay_is_enabled: assertion 'surface' failed

when a surface is marked to become fullscreen but isn't mapped
yet (doesn't have a wlr_surface attached).

This happens e.g. when starting electron apps fullscreen.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/404>

- - - - -
d09c311c by Marge Bot at 2023-05-02T20:04:42+00:00
Merge branch 'osk-reveal' into 'main'

output: Reveal the shell when a fullscreen view requests the keyboard

See merge request World/Phosh/phoc!404
- - - - -
83fb6ca6 by Alistair Francis at 2023-05-06T19:20:08+00:00
keyboard: Forward on the super key if pressed by itself

If the super key is the only key pressed (so it isn't used as a
modifier) we want to pass the event onto Phosh. This handles the complex
logic of looking for the key being pressed and released in Phoc allowing
Phosh to just easily react to the event.

Fixes: https://gitlab.gnome.org/World/Phosh/phosh/-/issues/563
Signed-off-by: Alistair Francis <alistair at alistair23.me>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/447>

- - - - -
c9fa722e by Marge Bot at 2023-05-06T19:20:31+00:00
Merge branch 'alistair/super-key' into 'main'

keyboard: Forward on the super key if pressed by itself

Closes phosh#563

See merge request World/Phosh/phoc!447
- - - - -
00b14c94 by Guido Günther at 2023-05-15T19:24:55+00:00
layer-surface: Allow to get and set alpha

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
d8f8149c by Guido Günther at 2023-05-15T19:24:55+00:00
output: Make layer surface iterator public

Name it consistently with the view iterator. We need a forward
declaration of PhocLayerSurface until we cleanup up more headers.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
f8e9e41e by Guido Günther at 2023-05-15T19:24:55+00:00
output: Add helper to get layer surfaces in render order

We need this in several places.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
4c0455c4 by Guido Günther at 2023-05-15T19:24:55+00:00
render: Allow to use alpha for layer surfaces

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
276cdd8b by Guido Günther at 2023-05-15T19:24:55+00:00
layer-shell-effects: Drop unused destroy signal

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
2e3a6d4e by Guido Günther at 2023-05-15T19:24:56+00:00
layer-shell-effects: Allow to set surface alpha

Extend the protocol with a new effect that allows to set a layer
surface's alpha value. Bump the protocol version for that.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
bff4742c by Guido Günther at 2023-05-15T19:24:56+00:00
layer-shell-effects: Fix surface typos

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
8c888b8e by Guido Günther at 2023-05-15T19:24:56+00:00
examples: Allow to test layer surface alpha

Add a `-A` option that sets alpha based on how far the
surface is pulled out:

   $ WLR_BACKENDS=wayland  _build/src/phoc -C ../phosh/data/phoc.ini  -E '_build/examples/layer-shell-effects -l overlay -h 350 -a left -a top -a right -w 0 -f -300 -t 0.5 -e 50 -A'

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
7aa471f1 by Guido Günther at 2023-05-15T19:24:56+00:00
layer-shell-effects: Add a test for setting alpha

We skip this under pixman. wlroots 0.16 should allow us to
enable this test permanently.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/420>

- - - - -
448bba89 by Marge Bot at 2023-05-15T19:25:20+00:00
Merge branch 'layer-surface-alpha' into 'main'

Allow to set alpha on layer surfaces

See merge request World/Phosh/phoc!420
- - - - -
de05e77e by Guido Günther at 2023-05-21T09:49:05+00:00
property-easer: Document that we don't ref the object

This makes sure that easing of properties stops as soon as the object
that we track is disposed.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
3fa13faf by Guido Günther at 2023-05-21T09:49:05+00:00
desktop: Remove unused code

Fixes: a8992d3124442c19d65d1db66ba35727c80ec3f4
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
afc73674 by Guido Günther at 2023-05-21T09:49:05+00:00
desktop: Dispose settings

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
83843b3c by Guido Günther at 2023-05-21T09:49:05+00:00
desktop: Make settings private

We'll add more settings and that makes sure they're in one place

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
6fa73674 by Guido Günther at 2023-05-21T09:49:05+00:00
desktop: Track whether animations should be used

Track the enable-animations GSetting to figure out if we want
to use animations in the compositor.

We also add a debug flag to disable animations from the command
line or in tests.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
4a107d66 by Guido Günther at 2023-05-21T09:49:05+00:00
tests: Disable animations

Disable animations so the screenshots continue to work. For that
pass the debug flags to the created compositor.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
bf097862 by Guido Günther at 2023-05-21T09:49:05+00:00
output: Mark cutout texture rendering as unlikely

It's a debugging tool after all

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
927f05b2 by Guido Günther at 2023-05-21T09:49:05+00:00
animatable: Improve documentation

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
fed479b8 by Guido Günther at 2023-05-21T09:49:05+00:00
timed-animation: Allow to dispose animations when done

Setting the dispose-on-done property will dispose the animations so it
doesn't need to be tracked.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
4bf048de by Guido Günther at 2023-05-21T09:49:05+00:00
tests: Add simple tests for timed animation

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
833c05f6 by Guido Günther at 2023-05-21T09:49:05+00:00
output: Implement animatable interface

This makes it very simple to use an output to drive a
PhocTimedAnimation without requiring the animated object
to implement PhocAnimatable itself.

We currently ignore the case of the output going away while the
animatable is being driven.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
c66c5261 by Guido Günther at 2023-05-21T09:49:05+00:00
view: Add getter for output

We want to make all of View's methods use PhocOutput instead of
wlr_output but let's do that later to avoid more noise.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
f4ccf760 by Guido Günther at 2023-05-21T09:49:05+00:00
view: Make surface alpha a property

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
635210a2 by Guido Günther at 2023-05-21T09:49:05+00:00
view: Animate surface map

We fade the surface of a stack in when animations are enabled.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
d5170e23 by Guido Günther at 2023-05-21T09:49:05+00:00
view: Make want_automaximize public

This can be useful elsewhere and we'd need to move it up anyway
(or add a forward declaration) as we want to use it in view_map.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
5add29b9 by Guido Günther at 2023-05-21T09:49:05+00:00
view: Disable fade in animation when automaximize is in use

While the fade in would be nice for slow staring apps (where splash is
already gone) it introduces flicker for applications using
xdg-activation. This can be fixed once we landet the xdg-activation
cleanups and the alpha for layer surfaces.

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/440>

- - - - -
86942fe3 by Marge Bot at 2023-05-21T09:49:29+00:00
Merge branch 'view/alpha' into 'main'

Make view alpha a property and fade in toplevels on map

See merge request World/Phosh/phoc!440
- - - - -
25d4deee by Guido Günther at 2023-05-21T20:24:51+02:00
tests: Disable animation for xdg-decoration test

The other tests have it disabled.

Fixes 4a107d661e51f7d0b962c14829aacb2f8e4e36b1

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/453>

- - - - -
23c8a58b by Marge Bot at 2023-05-21T18:30:25+00:00
Merge branch 'test-anim' into 'main'

tests: Disable animation for xdg-decoration test

See merge request World/Phosh/phoc!453
- - - - -
a0486f84 by Guido Günther at 2023-05-21T20:44:33+02:00
layer-shell: Reindent arrange_layers

- - - - -
e3208501 by Guido Günther at 2023-05-21T20:44:33+02:00
layer-shell: Avoid crash when surfaces width or height become negative

In case of negative width and height we removed a member from the list
being iterated but didn't use the wl_list_for_each_reverse_safe variant
for list iteration.

Doing so wouldn't solve the problem though since we invoke
`arrange_layer` from `handle_layer_shell_surface`. So we destroy
the object currently being constructed and all accesses to
wlr_layer_surface after that call to `arrange_layer` become invalid.

In stead of that just skip the loop so the client gets aborted as the
layer surface never gets configured.

- - - - -
4f5835a4 by Guido Günther at 2023-05-29T10:00:13+00:00
Merge branch 'layer-surface-neg' into 'main'

layer-shell: Avoid crash when surfaces width or height become negative

See merge request World/Phosh/phoc!452
- - - - -
bbf1040a by Guido Günther at 2023-05-29T10:02:46+00:00
Allow to cycle backwards through windows

Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/455>

- - - - -
2d6c51c5 by Marge Bot at 2023-05-29T10:03:09+00:00
Merge branch 'cycle-back' into 'main'

Allow to cycle backwards through windows

See merge request World/Phosh/phoc!455
- - - - -
d5ffdce0 by Guido Günther at 2023-05-30T17:04:02+02:00
phoc-layer-shell-effects: Fix typo

- - - - -
b5277b16 by Guido Günther at 2023-05-30T17:04:02+02:00
Document changes and release 0.28.0

- - - - -
ec5e24da by Guido Günther at 2023-05-31T08:16:52+00:00
Merge branch 'rel-0.28.0' into 'main'

Document changes and release 0.28.0

See merge request World/Phosh/phoc!456
- - - - -
8035fc67 by Guido Günther at 2023-05-31T10:25:26+02:00
New upstream version 0.28.0+ds
- - - - -


30 changed files:

- NEWS
- debian/changelog
- examples/layer-shell-effects.c
- meson.build
- protocols/phoc-layer-shell-effects-unstable-v1.xml
- src/anim/animatable.c
- src/anim/animatable.h
- src/anim/property-easer.c
- src/anim/timed-animation.c
- src/anim/timed-animation.h
- src/desktop.c
- src/desktop.h
- src/keybindings.c
- src/keyboard.c
- src/layer-shell-effects.c
- src/layer-shell-effects.h
- src/layer-surface.c
- src/layer-surface.h
- src/layer_shell.c
- src/layers.h
- src/main.c
- src/output.c
- src/output.h
- src/phosh-private.c
- src/render.c
- src/seat.c
- src/seat.h
- src/server.h
- src/view.c
- src/view.h


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/d5665643e18937fd2f5f3449ddcdea86047633aa...8035fc67006ed7ad41cbddc1aa324b73052b2fab

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/d5665643e18937fd2f5f3449ddcdea86047633aa...8035fc67006ed7ad41cbddc1aa324b73052b2fab
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20230531/a4474d93/attachment-0001.htm>


More information about the Debian-on-mobile-maintainers mailing list