[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][upstream/latest] 28 commits: Merge branch 'rel0.21beta1' into 'master'

Guido Günther (@agx) gitlab at salsa.debian.org
Thu Aug 4 12:10:31 BST 2022



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


Commits:
826ca557 by Guido Günther at 2022-06-26T18:23:37+00:00
Merge branch 'rel0.21beta1' into 'master'

Document changes and release 0.21.0~beta1

Closes #282

See merge request World/Phosh/phoc!384
- - - - -
63c7f81a by Guido Günther at 2022-07-01T20:27:45+02:00
layer-shell-effects: Make sure we remove the mapping

When a layer surface goes away we need to remove the mapping to the
draggable layer-surface. We can't do it in
phoc_draggable_layer_surface_destroy as we don't have the
layer-surface's address anymore.

Otherwise we might return the wrong surface if a new layer-surface
gets the same address.

- - - - -
bff38980 by Sebastian Krzyszkowiak at 2022-07-05T04:22:48+00:00
Merge branch 'drag-crash' into 'master'

layer-shell-effects: Make sure we remove the mapping

See merge request World/Phosh/phoc!385
- - - - -
06274c4e by Sebastian Krzyszkowiak at 2022-07-05T11:46:20+02:00
xdg-shell: Use correct state for maximized and fullscreen flags

See https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3199

Fixes: 6a508d5467395 ("Adjust to wlroots 0.15")

- - - - -
f18a3081 by Sebastian Krzyszkowiak at 2022-07-05T11:46:20+02:00
xdg-surface: Don't schedule configure when the size doesn't change

Since https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3199,
wlroots doesn't check whether a configure actually changes anything
before sending it. This results in a flood of useless configure events.
Do the check ourselves.

- - - - -
b51c17bc by Guido Günther at 2022-07-06T08:16:56+00:00
Merge branch 'xdgshell' into 'master'

xdg-shell: State handling fixes

See merge request World/Phosh/phoc!389
- - - - -
ae2c7bfa by Sebastian Krzyszkowiak at 2022-07-06T08:17:33+00:00
output: Don't check for empty buffer damage in damage_surface_iterator

Effective damage may be non-empty even if there's no buffer damage.
See: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3389

Closes #289

- - - - -
d24842d5 by Guido Günther at 2022-07-06T08:21:24+00:00
Merge branch 'damage-sub' into 'master'

output: Don't check for empty buffer damage in damage_surface_iterator

Closes #289

See merge request World/Phosh/phoc!387
- - - - -
9dbb4056 by Sebastian Krzyszkowiak at 2022-07-06T08:35:18+00:00
view: Handle initial mapped state of PhocViewChild

If the subsurface is already mapped at PhocViewChild creation time,
we won't receive mapped event, so PhocViewChild::mapped will stay false,
causing any damage from subsurface to be ignored.

- - - - -
a8671a3a by Guido Günther at 2022-07-07T09:04:23+00:00
Merge branch 'submap' into 'master'

view: Handle initial mapped state of PhocViewChild

See merge request World/Phosh/phoc!390
- - - - -
c26891b2 by Sebastian Krzyszkowiak at 2022-07-13T08:16:12+00:00
layer-shell-effects: Calculate slide duration based on distance to travel

Previously phoc would use the same duration for slide animation regardless
of how far the surface had to slide, which caused it to be unnaturally slow
in cases when the surface had to slide for a very short distance. Fix it
by shortening the animation duration based on how far the surface has been
already (un)folded at the beginning of animation.

- - - - -
56efa97d by Guido Günther at 2022-07-13T08:25:29+00:00
Merge branch 'anim' into 'master'

layer-shell-effects: Calculate slide duration based on distance to travel

See merge request World/Phosh/phoc!388
- - - - -
4d77e8f6 by Sebastian Krzyszkowiak at 2022-07-17T12:14:10+00:00
layer-shell-effect: Split accept_drag out of drag_update

This way drag gesture can be accepted in other situations than passing
the threshold while pending as well.

- - - - -
0e985e41 by Sebastian Krzyszkowiak at 2022-07-17T12:14:10+00:00
layer-shell-effects: Accept drag immediatelly during an animation

If the user catches the surface during a slide, we want to stop the
animation and instantly start following the finger.

- - - - -
bfa954af by Guido Günther at 2022-07-17T12:19:40+00:00
Merge branch 'instadrag' into 'master'

layer-shell-effects: Accept drag immediatelly during an animation

See merge request World/Phosh/phoc!392
- - - - -
1f93c041 by Sebastian Krzyszkowiak at 2022-07-27T12:14:38+00:00
render: Keep the aspect ratio when rendering into buffer

If the buffer size doesn't match the surface size, keep the surface
aspect ratio when drawing into buffer (which is initialized as fully
transparent).

- - - - -
9370819d by Sebastian Krzyszkowiak at 2022-07-27T12:14:38+00:00
render: Don't take view scale into account when drawing into buffer

This is extraneous and results in bad rendering, because it's already
scaled to match the buffer size.

- - - - -
521ff490 by Sebastian Krzyszkowiak at 2022-07-27T12:14:38+00:00
render: Apply geometry before scaling to buffer coordinates

Geometry is provided in surface coordinates, so it has to be
applied before scaling to buffer coordinates.

- - - - -
f2942876 by Sebastian Krzyszkowiak at 2022-07-27T12:14:38+00:00
render: Simplify scale handling when rendering to buffer

root->current.scale ends up being canceled by next scale operation.

- - - - -
034b0b73 by Sebastian Krzyszkowiak at 2022-07-27T12:14:38+00:00
render: Position the surface using matrix when rendering to buffer

No functional change, makes the order of operations clearer.

- - - - -
e367874f by Guido Günther at 2022-07-27T12:15:00+00:00
Merge branch 'thumbs' into 'master'

Render to buffer: fixes and cleanups

See merge request World/Phosh/phoc!386
- - - - -
e110d292 by Sebastian Krzyszkowiak at 2022-07-30T13:13:49+00:00
layer-shell: Move handling of mapped property out of commit handler

We need to be able to tell whether the surface is mapped or not before
handle_surface_commit is called, since unmapping causes cursor focus to
be updated, which in turn could end up choosing the surface that's being
unmapped as the focused one again. We can't rely on wlr_layer_shell's
`mapped` property, because it only gets updated already after unmap
handler is called. Therefore, handle `mapped` status directly in map/unmap
handlers.

- - - - -
dcb15af7 by Sebastian Krzyszkowiak at 2022-07-30T13:13:49+00:00
desktop: Ignore unmapped surfaces in layer_surface_at

Fixes #277

- - - - -
f88d4584 by Guido Günther at 2022-08-03T10:29:20+00:00
Merge branch 'cur' into 'master'

layer-shell: Move handling of mapped property out of commit handler

Closes #277

See merge request World/Phosh/phoc!391
- - - - -
d5d34fc2 by Sebastian Krzyszkowiak at 2022-08-04T01:28:23+00:00
layer-shell-effects: Make sure to apply new margin on animation end

We were forgetting to set the margin and trigger layer arrangement
at the very last frame of the animation. Usually this wouldn't
matter since the last frame doesn't usually change the margin,
but this may matter in cases where we need to correct for
overshooting, which may happen if the surface has changed its
target margins.

- - - - -
35725488 by Sebastian Krzyszkowiak at 2022-08-04T01:37:42+00:00
Merge branch 'anim-end' into 'master'

layer-shell-effects: Make sure to apply new margin on animation end

See merge request World/Phosh/phoc!394
- - - - -
1a58a236 by Sebastian Krzyszkowiak at 2022-08-04T12:39:49+02:00
Document changes and release 0.21.0

- - - - -
7085d468 by Guido Günther at 2022-08-04T13:08:18+02:00
New upstream version 0.21.0
- - - - -


0 changed files:



Changes:


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/72287982e0ef588f9201d8e6c4a9d664c6e61925...7085d46867d204978794d4fe45ef2f97090b3596

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/72287982e0ef588f9201d8e6c4a9d664c6e61925...7085d46867d204978794d4fe45ef2f97090b3596
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/20220804/1f25bb6b/attachment-0001.htm>


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