[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][upstream/latest] 70 commits: ci: Use our ci template

Guido Günther (@agx) gitlab at salsa.debian.org
Sat Feb 3 09:53:56 GMT 2024



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


Commits:
0fdd017f by Guido Günther at 2024-01-08T12:39:38+01:00
ci: Use our ci template

This avoids an external dependency and unbreaks ci

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/523>

- - - - -
759550fd by Guido Günther at 2024-01-08T12:39:38+01:00
ci: Update shared scripts

Update shared scripts to commit 04a85df2f3311f3012b6c49bf353b376ae0f32b2
(matching the ci template).

This isn't strictly necessary but avoids config drift.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/523>

- - - - -
730678fb by Guido Günther at 2024-01-08T12:39:38+01:00
po: Add de template

We want one template to make the po check happy

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/523>

- - - - -
8d6ee0be by Guido Günther at 2024-01-08T12:39:38+01:00
ci: Add po check

Just use our shared ci template for that

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/523>

- - - - -
210dd49a by Guido Günther at 2024-01-08T12:42:10+01:00
ci: Add commit message style checks

Since we pulled in the config in the previous commit let's add the check
as well.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/523>

- - - - -
35a5d840 by Marge Bot at 2024-01-08T14:33:26+00:00
Merge branch 'ci-templates' into 'main'

Use ci templates

See merge request World/Phosh/phoc!523
- - - - -
158c18ae by Guido Günther at 2024-01-14T09:50:49+00:00
d/control: Update URL

While at that fix the section and update the standards version

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
7beab75e by Guido Günther at 2024-01-14T09:50:49+00:00
view: Prefix view_unmap

No functional change.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
c5c857c1 by Guido Günther at 2024-01-14T09:50:49+00:00
view: Prefix view_is_ getters

This makes them show up in the docs

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
08504c40 by Guido Günther at 2024-01-14T09:50:49+00:00
view: Don't leak details of view arrangement

Instead of leaking the details how view are layed out keep that
local to view.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
17a6ab34 by Guido Günther at 2024-01-14T09:50:49+00:00
view: Use phoc_view_arrange()

Use phoc_view_arrange() internally too.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
3763a1b3 by Guido Günther at 2024-01-14T09:50:50+00:00
keybindings: Avoid self for keybinding

The object in this unit is PhocKeybindings so don't use self for a
single keybinding to avoid confusion.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
b7d5890e by Guido Günther at 2024-01-14T09:50:50+00:00
keybindings: Allow for a parameter

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
57f1f2ac by Guido Günther at 2024-01-14T09:50:50+00:00
keybindings: Use a single handler to move a view

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
eb3adc59 by Guido Günther at 2024-01-14T09:50:50+00:00
view: Prefix move_to_next_output

It's a public function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
bbfa94b2 by Guido Günther at 2024-01-14T09:50:50+00:00
keybindings: Use a single handler to tile a view

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
7df64d0f by Guido Günther at 2024-01-14T09:50:50+00:00
view: Prefix view_restore

It's a public function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
20634b12 by Guido Günther at 2024-01-14T09:50:50+00:00
view: Make view_center private

We only need phoc_view_arrange() to be public. We add a forward
declaration to avoid the code move.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
f60fd1b1 by Guido Günther at 2024-01-14T09:50:50+00:00
view: Prefix view_tile

It's a public function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
95795b0e by Guido Günther at 2024-01-14T09:50:50+00:00
view: Prefix view_automaximize

It's a public function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
3bcfb997 by Guido Günther at 2024-01-14T09:50:50+00:00
view: Prefix view_get_box

It's a public function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
4a2184be by Guido Günther at 2024-01-14T09:50:50+00:00
view: Prefix window decoration related functions

They're currently all public

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
a69adc6e by Guido Günther at 2024-01-14T09:50:50+00:00
view: Reindent function declarations

Finally make it consistent with the other headers.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
70bf65c9 by Guido Günther at 2024-01-14T09:50:50+00:00
keybindings: Prefix parse_accelerator

It's a public function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
f97fdc1f by Guido Günther at 2024-01-14T09:50:50+00:00
gtk-shell: Make phoc_gtk_{shell,surface}_from_resource static

No need to have them public.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
bfc5c40b by Guido Günther at 2024-01-14T09:50:50+00:00
doc-check: Make namespace check more strict

The only bits not properly namespaced are wlroots signal handlers that
are located in other compilation units.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/522>

- - - - -
29bf8561 by Marge Bot at 2024-01-14T09:51:14+00:00
Merge branch 'view-cleanups' into 'main'

Properly namespace view related methods and other improvements

See merge request World/Phosh/phoc!522
- - - - -
f21e28fd by Guido Günther at 2024-01-15T14:14:29+01:00
view: Fix doc string

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
10825c7b by Guido Günther at 2024-01-15T14:14:33+01:00
view-private: Rename first argument to self

We don't have everything fixed up in view.c but let's keep new
headers cosistent.

Gbp-Dch: Ignore
Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
bbed24ca by Guido Günther at 2024-01-15T14:14:41+01:00
view-deco: New class for decoration handling

We'll turn it into a full bling but let's move functionality into a
separate class first.  As we set the same decoration sizes keep this
internal to PhocViewDeco.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
d8da9764 by Guido Günther at 2024-01-15T14:17:08+01:00
view-deco: Make PhocViewDeco a bling

This way we don't need special handling for decorations in
output and renderer

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
7ad28e13 by Guido Günther at 2024-01-15T14:18:26+01:00
view: Nuke view_update_decorated

Just call phoc_view_set_decarated

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
f2c9d1fc by Guido Günther at 2024-01-15T14:19:33+01:00
view: Drop decorated boolean

We can use the pointer to the decoration object now instead.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
3832ffd7 by Guido Günther at 2024-01-15T14:19:42+01:00
view: Drop view_get_deco_box

Now unused

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/480>

- - - - -
08a1e223 by Marge Bot at 2024-01-17T16:10:30+00:00
Merge branch 'deco-bling' into 'main'

Use Bling to render decorations

See merge request World/Phosh/phoc!480
- - - - -
ab1d4e9d by Guido Günther at 2024-01-20T16:35:41+00:00
xdg-shell: Use PhocXdgToplevelDecoration everywhere

Simple search and replace to use the shorter names. No functional
change.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/525>

- - - - -
87b9f8a7 by Guido Günther at 2024-01-20T16:35:41+00:00
xdg-shell: Use PhocXdgPopup everywhere

Simple search and replace to use the shorter names. No functional
change.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/525>

- - - - -
50d62b82 by Guido Günther at 2024-01-20T16:35:41+00:00
view: Use PhocViewChildInterface everywhere

Simple search and replace to use the shorter names. No functional
change.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/525>

- - - - -
24d5f505 by Guido Günther at 2024-01-20T16:35:41+00:00
layer-shell: Use PhocLayerSubsurface everywhere

Simple search and replace. No functional change.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/525>

- - - - -
43523440 by Guido Günther at 2024-01-20T16:35:41+00:00
layer-shell: Use PhocLayerPopup everywhere

Simple search and replace. No functional change.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/525>

- - - - -
c1aa376b by Marge Bot at 2024-01-20T16:36:07+00:00
Merge branch 'use-typedefs' into 'main'

Use our typedefs for structs consistently

See merge request World/Phosh/phoc!525
- - - - -
04bfdb64 by Guido Günther at 2024-01-21T11:57:48+00:00
licenses: Move to LICENSES/ and add missing ones

This also helps us to use `reuse` out of the box

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
79b0a1ba by Guido Günther at 2024-01-21T11:57:48+00:00
protocols: Add copyright header to phosh-private

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
43fb3bc3 by Guido Günther at 2024-01-21T11:57:48+00:00
treewide: Add a bunch of missing copyright header

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
c5a2cab3 by Guido Günther at 2024-01-21T11:57:48+00:00
treewide: Use GPL-3.0-or-later consistently

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
97d58810 by Guido Günther at 2024-01-21T11:57:48+00:00
reuse: Add licensing information

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
4080f33b by Guido Günther at 2024-01-21T11:57:48+00:00
ci: Check copyright and licenses via reuse

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
23689e30 by Guido Günther at 2024-01-21T11:57:48+00:00
desktop: Use g_new0

Avoids possible NULL dereference

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
b2959c6d by Guido Günther at 2024-01-21T11:57:48+00:00
seat: Guard against NULL focus

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
7be4fddc by Guido Günther at 2024-01-21T11:57:48+00:00
layer-shell-effects: Guard against NULL output

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
66989dd7 by Guido Günther at 2024-01-21T11:57:48+00:00
view: Add G_NORETURN

This makes building with clang less noisy

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
e32253fb by Guido Günther at 2024-01-21T11:57:48+00:00
testlib: Add G_NORETURN

This makes building with clang less noisy

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
80255831 by Guido Günther at 2024-01-21T11:57:48+00:00
build: Disable -Wcast-align with clang

This tiggers for Wayland's wl_container_of() where it doesn' matter for
us.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
4837633d by Guido Günther at 2024-01-21T11:57:48+00:00
keybindings: Drop unused function

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
f53b85e1 by Guido Günther at 2024-01-21T11:57:48+00:00
phosh-private: Cast enum

Silences the clang warning (and we already co it just above the
assignment).

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
76c901e2 by Guido Günther at 2024-01-21T11:57:48+00:00
ci: Add clang build

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
769ee83b by Guido Günther at 2024-01-21T11:57:48+00:00
cursor: Drop unused assignment in handle_shell_reveal

wlr_layer_surface_v1_try_from_wlr_surface is only used to check
if it's a layer-surface, we don't need the assigned value.

While at that make things a bit easier to read.

Fixes: 8c363c72 ("cursor: Convert to try_from")

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
a20205c7 by Guido Günther at 2024-01-21T11:57:48+00:00
desktop: Drop unused value

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/526>

- - - - -
a35329c6 by Marge Bot at 2024-01-21T11:58:13+00:00
Merge branch 'clang' into 'main'

Add ci jobs for clang builds and reuse checks

See merge request World/Phosh/phoc!526
- - - - -
e433f853 by Guido Günther at 2024-01-26T09:09:06+00:00
server: Make session startup failure a critical

We exit the compositor so a warning looks like too low severity.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/527>

- - - - -
ed7d698a by Guido Günther at 2024-01-26T09:09:06+00:00
server: Avoid shell for argument parsing

This avoids yet another exec during session launch.

See https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1352

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/527>

- - - - -
737ff1f9 by Marge Bot at 2024-01-26T09:09:30+00:00
Merge branch 'avoid-shell' into 'main'

server: Avoid shell for argument parsing

See merge request World/Phosh/phoc!527
- - - - -
e700da62 by Guido Günther at 2024-01-30T08:33:26+00:00
seat: Grab meta press

Instead of just checking if it's pressed grab it so we cancel the
release event for the meta key "stand alone press".

This allows to move views via meta + mouse-drag without e.g. bringing up
phosh's the overview afterwards.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Closes: https://gitlab.gnome.org/World/Phosh/phoc/-/issues/322
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/529>

- - - - -
3249413d by Guido Günther at 2024-01-30T08:33:26+00:00
keyboard: Remove now unused phoc_keyboard_get_meta_key

This prevents some more leaking of keyboard details into the seat.

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/529>

- - - - -
63c1d9ac by Marge Bot at 2024-01-30T08:33:50+00:00
Merge branch 'super-key' into 'main'

seat: Grab meta press

Closes #322

See merge request World/Phosh/phoc!529
- - - - -
2c6226e4 by Guido Günther at 2024-01-31T09:03:20+00:00
layer-shell: Don't center views unconditionally

We only want to do so when using automaximize

Fixes: 08504c40 ("view: Don't leak details of view arrangement")

Signed-off-by: Guido Günther <agx at sigxcpu.org>
Part-of: <https://gitlab.gnome.org/World/Phosh/phoc/-/merge_requests/530>

- - - - -
cac60bbb by Marge Bot at 2024-01-31T09:03:45+00:00
Merge branch 'view-center' into 'main'

layer-shell: Don't center views unconditionally

See merge request World/Phosh/phoc!530
- - - - -
4108ce75 by Guido Günther at 2024-01-31T19:12:56+01:00
treewide: Document changes and release 0.36.0

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

- - - - -
70bbce16 by Marge Bot at 2024-02-03T09:26:52+00:00
Merge branch 'rel-0.36.0' into 'main'

Document changes and release 0.36.0

See merge request World/Phosh/phoc!532
- - - - -
a1df7fbe by Guido Günther at 2024-02-03T10:48:53+01:00
New upstream version 0.36.0+ds
- - - - -


30 changed files:

- .gitlab-ci.yml
- + .gitlab-ci/check-po
- .gitlab-ci/check-style.py
- + .gitlab-ci/commit-rules.yml
- .gitlab-ci/uncrustify.cfg
- + .reuse/dep5
- COPYING → LICENSES/GPL-3.0-or-later.txt
- + LICENSES/LGPL-2.1-or-later.txt
- + LICENSES/MIT.txt
- NEWS
- debian/changelog
- debian/control
- examples/device-state.c
- examples/idle.c
- examples/layer-shell-effects.c
- examples/phosh-private.c
- helpers/doc-check
- meson.build
- + po/de.po
- protocols/phosh-private.xml
- src/cursor.c
- src/desktop.c
- src/device-state.c
- src/device-state.h
- src/gtk-shell.c
- src/gtk-shell.h
- src/keybindings.c
- src/keybindings.h
- src/keyboard.c
- src/keyboard.h


The diff was not included because it is too large.


View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/f8b90397cac2f1897e82291c256e609cac106d96...a1df7fbeef7cb23e1933846109aa9aa5b3c21805

-- 
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/f8b90397cac2f1897e82291c256e609cac106d96...a1df7fbeef7cb23e1933846109aa9aa5b3c21805
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/20240203/8f6d32aa/attachment-0001.htm>


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