[Debian-on-mobile-maintainers] [Git][DebianOnMobile-team/phoc][upstream/latest] 103 commits: ci: Drop unneeded tags
Arnaud Ferraris (@a-wai)
gitlab at salsa.debian.org
Thu Oct 28 08:54:34 BST 2021
Arnaud Ferraris pushed to branch upstream/latest at Debian On Mobile / phoc
Commits:
c912d65d by Guido Günther at 2021-08-10T09:49:43+02:00
ci: Drop unneeded tags
- - - - -
ef5d3bb1 by Guido Günther at 2021-08-10T10:22:05+02:00
ci: Drop support for bullseye and amber
We only worry about current stable in upstream CI
- - - - -
9ce21098 by Guido Günther at 2021-08-10T10:22:28+02:00
ci: Add the arm64 job explicitly
No need to build/lint/autopkgtest for amd64 upstream
- - - - -
73f12d3f by Guido Günther at 2021-08-10T08:52:49+00:00
server: Don't assert when we fail to initialize the backend
So far we asserted which confuses users thinking that there's someting
wrong in phoc when usually there's something wrong with their EGL or DRM
setup.
The solution is not ideal since the servier is a singleton and hence
we need to evaulate the error in `phoc_server_get_default ()` but since
it stays around forever that doesn't hurt much atm.
- - - - -
ea4b879f by Guido Günther at 2021-08-10T10:46:24+00:00
cursor: Rename to PhocCursor and reindent
No functional changes.
- - - - -
03bdf8e4 by Guido Günther at 2021-08-10T10:46:24+00:00
Make PhocCursor a GObject
This will allow signal emission, property bindings, etc.
The usual restrictions as with other objects apply (until we cleaned up
more):
- struct members remain public due to all the listeners
- seat is a g_param_spec_pointer until we converted it to GObject too
- - - - -
bf7be9af by Guido Günther at 2021-08-10T10:46:24+00:00
seat: Unref cursor
So for nothing got freed at all
- - - - -
dee3498b by Guido Günther at 2021-08-10T10:46:24+00:00
cursor: Use g_debug() instead of wlr_debug()
This gives us the correct logging domains
- - - - -
fe228482 by Guido Günther at 2021-08-10T10:46:24+00:00
seat: No need to poke cursor directly
phoc_cursor_create() took a seat but never used it. Since we now
set it correctly in phoc_cursor_new() we can drop the assignment
in roots_seat_init_cursor().
- - - - -
748a3bce by Guido Günther at 2021-08-11T14:21:07+02:00
seat: Rename structs to Phoc* and reindent
- - - - -
15f6d748 by Sebastian Krzyszkowiak at 2021-08-12T21:34:03+02:00
seat: Trigger layer arrangement when unsetting layer focus
Layer arrangement depends on layer focus for layer promotion of
the keyboard surface, so make sure it always gets updated.
- - - - -
be21b6db by Guido Günther at 2021-08-27T11:05:09+00:00
wlroots: Update to 0.12.x
Although submodule builds are not much of a thing nowadays point
to something that is somewhat recent and matches what is e.g.
shipped in Debian and PureOS.
The submodule still tracked 0.10.x before.
- - - - -
bcb2168e by Guido Günther at 2021-08-27T13:25:30+02:00
gitignore: Ignore more package build files
- - - - -
96841815 by Guido Günther at 2021-08-27T13:25:30+02:00
Add dir-locals.el
Indentation is becoming more homogenous so add a dir-locals.el to use
that by default.
- - - - -
465a8b04 by Guido Günther at 2021-08-27T13:25:31+02:00
Rename phosh to phosh-private to match protocol name
- - - - -
8396915f by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Rename test as well
- - - - -
84119953 by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Make a GObject
Consistently prefix with phoc_ and turn into a GObject
since there's more work upcoming here.
- - - - -
74c44aa7 by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Make screencopy frame private
No need to have it in the public header
- - - - -
7f4cb3b7 by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Use g_new0
For consistency with the rest of the file
- - - - -
3d9ae784 by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Remove unused define
- - - - -
22f836e0 by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Remove panel tracking
This is unused since some time
- - - - -
c7874a4d by Guido Günther at 2021-08-27T13:25:31+02:00
phosh-private: Make phoc_phosh_private_from_resource static
No need to have that public
- - - - -
d28c21d7 by Guido Günther at 2021-09-02T11:22:14+02:00
phosh-private: Mark unused interfaces and requests
- - - - -
2a185121 by Guido Günther at 2021-09-02T11:22:14+02:00
testlib: Wire up gtk_shell1 protocol
Useful in tests
- - - - -
228d1233 by Guido Günther at 2021-09-02T11:22:14+02:00
phosh-private: Allow clients to be informed about application startup
This allows interested clients to be notified about an apps startup
sequence. We add two events: One is used whan the app is launched
(spawned) and the other one when the spawned client send it's
startup-id.
This is modeled after gtk_shell1 wayland protocol but can be extended to
cover other protocols like xdg-activation or X startup-notification spec
in the future.
- - - - -
f1be4ca6 by Guido Günther at 2021-09-03T21:10:48+02:00
protocols: Update toplevel management
- - - - -
6c35ce8e by Guido Günther at 2021-09-03T21:10:48+02:00
protocols: Update layer-shell
- - - - -
7f7527ae by Guido Günther at 2021-09-03T21:10:48+02:00
seat: Ignore docs for internal comments
- - - - -
8b939ccf by Guido Günther at 2021-09-03T21:10:48+02:00
seat: Fix doc strings
This avoids warnings and makes those properly exported into the
generated documentation
- - - - -
9306d7c3 by Guido Günther at 2021-09-03T21:10:48+02:00
utils: Fix doc strings
We need at least the function name on the first line
- - - - -
8e69ab5b by Guido Günther at 2021-09-03T21:10:48+02:00
settings: Remove unused declarations
Those were removed a while ago.
- - - - -
50c8c892 by Guido Günther at 2021-09-03T21:10:48+02:00
settings: Move doc comments to c file
This is where we have the others and avoids recompiling files on doc
changes.
- - - - -
f8109729 by Guido Günther at 2021-09-03T21:10:48+02:00
keyboard: Ignore docs for inline function
We don't want gi-docgen warn about these since they don't end
up in documentation anyway.
- - - - -
221f5721 by Guido Günther at 2021-09-07T16:59:54+02:00
build: Use shared wlroots
This is needed for gir generation and comes at the slight expense
that using embed wlroots with statical linking now requres:
meson -Dembed_wlroots=true --default-library=static _build
but we're mostly using shared wlroots nowadays anyway (see
7800da06e9d5de86f3aa60c46bf7fc00d37feb12) so this is only for
developer builds which is likely o.k.
- - - - -
1a10b6da by Guido Günther at 2021-09-07T16:59:54+02:00
desktop: Add doc header
Let's have an example how to add class descriptions
- - - - -
51fe357c by Guido Günther at 2021-09-07T16:59:54+02:00
build: Add headers to list of sources
Wrap them in `files()` so we don't have to worry about relative
paths.
- - - - -
c02fb99a by Guido Günther at 2021-09-07T16:59:54+02:00
build: Rename phoc_dep to libphoc_dep
We build the libarary not the phoc binary.
- - - - -
101db448 by Guido Günther at 2021-09-07T16:59:54+02:00
d/control: Add deps for doc build
We don't add the actual doc package build yet since gi-docgen
is not in the Debian archive yet (but already in NEW).
- - - - -
056b50b9 by Guido Günther at 2021-09-07T16:59:54+02:00
build: Add gi-docgen
This will allow us to build documentation from introspection data
- - - - -
f23c802d by Guido Günther at 2021-09-07T16:59:54+02:00
build: Forbid doc generation with embedded wlroots build
We can't create gir files so building the docs will fail.
- - - - -
aefe5a54 by Guido Günther at 2021-09-07T16:59:54+02:00
build: Add doc generation via introspection data
We create the necessary introspection data and doc via gi-docgen from
it when `-Dgtk_doc=true` is passed.
- - - - -
1137f315 by Guido Günther at 2021-09-07T16:59:54+02:00
protocols: Use custom_target instead of generate
This allows us to drop some interim libraries reducing the number of
targets build.
We need to bump the required meson version but 0.54.0 is in Debian
bullseye (stable) as well as Debian buster-backports so not a big
deal.
- - - - -
03b7142b by Guido Günther at 2021-09-07T16:59:54+02:00
gitlab-ci: Update and publish docs
- - - - -
3c2695b1 by Guido Günther at 2021-09-24T16:19:09+02:00
Update screencopy-unstable protocol
This gets us in sync with the embedded wlroots and ensures
tests can work with and without embedded wlroots.
It will also allow us to switch to dmabufs for e.g. screenhots.
- - - - -
cb80e695 by Guido Günther at 2021-09-24T19:05:19+00:00
wlroots: Update submodule
Update to version that has de1522aeee04e23522398fe5cee17af67de7602a
backported.
- - - - -
648d6974 by Guido Günther at 2021-09-24T19:05:19+00:00
xwayland: Forward startup-ids as well
This allows phosh to startup track x11 apps like firefox.
- - - - -
61324853 by Guido Günther at 2021-09-24T19:05:19+00:00
desktop: Handle xwayland startup-id removal
We want to notify phosh-private clients in that case too.
- - - - -
8598a17d by Sebastian Krzyszkowiak at 2021-09-30T01:50:42+02:00
xwayland: Guard set_startup_id listener removal with PHOC_HAVE_WLR_SET_STARTUP_ID
This went unnoticed in !259 and causes crashes when using a wlroots build that
doesn't have set_startup_id support.
- - - - -
49e68156 by Guido Günther at 2021-09-30T14:22:05+02:00
Adjust section headers for gi-docgen
Fixes: aefe5a5410cabd6edacdaeb4818b7d51b3f89ead
- - - - -
d19ca2bb by Guido Günther at 2021-09-30T14:22:05+02:00
desktop: Cleanup headers
We're making progress here.
- - - - -
e4949eba by Guido Günther at 2021-09-30T14:22:05+02:00
server.c: Add doc string
Silences a gi-docgen warning about a missing transfer annotation.
- - - - -
3a15071b by Guido Günther at 2021-09-30T14:22:05+02:00
output: Use correct base class for signal
This makes sure connecting signals to objects not derived from
PhocOutput warns correctly.
- - - - -
cceb7e61 by Guido Günther at 2021-09-30T14:22:05+02:00
touch: Remove unused headers
- - - - -
d5cf3050 by Guido Günther at 2021-09-30T14:22:05+02:00
touch: Use correct base class for signal
This makes sure connecting signals to objects not derived from
PhocOutput warns correctly.
- - - - -
abf06ab3 by Guido Günther at 2021-09-30T14:22:05+02:00
gitlab-ci: Use bookworm
This allows to use wlroots 12 but also gives us newer glib, etc.
It also gets rid of the
note: previous declaration of ‘…’ was here
warnings when building the tests due to newer libwayand-dev which
has our fix.
- - - - -
3844e5bb by Guido Günther at 2021-09-30T14:22:05+02:00
Bump minimum wlroots version to 0.12.0
We've been sending out different messages regarding supported
versions via submodule, meson and d/control, We don't run CI against
older versions either so let's make a cut at 0.12.0.
- - - - -
b16c67e7 by Guido Günther at 2021-09-30T14:22:05+02:00
build: Generate enum types
- - - - -
5f1ee76e by Guido Günther at 2021-09-30T14:22:05+02:00
server: Set name for wayland source
This can help in debugging.
- - - - -
63072157 by Guido Günther at 2021-09-30T14:22:05+02:00
input: Drop nowadays unused config argument
- - - - -
177a36bb by Guido Günther at 2021-09-30T14:27:15+02:00
output: Handle desktop prop as GObject
PhocDesktop is a GObject since some time, treat it as such.
Fixes e68887f1626a1ce3868698c91dde0cd2acd7ce42
- - - - -
5abfa9dc by Guido Günther at 2021-09-30T14:36:18+02:00
phosh-private: Remove 'desktop' property
We never used it but by taking a ref on it we never disposed
PhocDesktop which then lead to crashed when finalizing PhocServer.
- - - - -
4613b166 by Guido Günther at 2021-09-30T14:36:18+02:00
Make renderer a GObject
This isn't of much use as is but will allow for a more flexible
pipeline and type checks.
For that we move the compositor from PhocDesktop to PhocServer
and move some header includes to avoid forward declarations.
- - - - -
f5627578 by Guido Günther at 2021-10-01T14:44:51+02:00
gitlab-ci: Fix branch name for publishing
The repo still uses 'master' not 'main'
- - - - -
277740f1 by Guido Günther at 2021-10-07T09:43:31+02:00
README: link to API docs
Now that they're published let's link to them.
- - - - -
ad91a7e7 by Evangelos Ribeiro Tzaras at 2021-10-07T21:50:03+00:00
server: Stop using deprecated g_spawn_check_exit_status()
It is deprecated since glib 2.70
- - - - -
a5dc2c8f by Sebastian Krzyszkowiak at 2021-10-08T00:37:12+02:00
seat: Don't allow to start resizing a fullscreen window
- - - - -
aee845b6 by Sebastian Krzyszkowiak at 2021-10-08T00:37:54+02:00
cursor, seat: Allow to move fullscreen windows between outputs
- - - - -
e23306ff by Sebastian Krzyszkowiak at 2021-10-11T13:49:47+00:00
view: Don't center tiled views in view_setup
Currently this shouldn't ever happen as nothing gets tiled without explicit
input from the user, but it seems to be a reasonable thing to do anyway,
especially if we start to tile by default in the future.
- - - - -
4ba0bb59 by Guido Günther at 2021-10-11T14:03:40+00:00
Merge branch 'center-tiled' into 'master'
view: Don't center tiled views in view_setup
See merge request World/Phosh/phoc!275
- - - - -
db2a14f3 by Sebastian Krzyszkowiak at 2021-10-11T14:04:02+00:00
view: Turn roots_view::saved into wlr_box
- - - - -
66ce95bf by Sebastian Krzyszkowiak at 2021-10-11T14:04:02+00:00
view: Guard roots_view::saved usage by wlr_box_empty checks
This prevents us from trying to restore uninitialized state (which can
happen for instance when the surface was initially mapped already in
fullscreen state).
- - - - -
38a893bc by Sebastian Krzyszkowiak at 2021-10-11T14:04:02+00:00
view: Center the surface when resizing after (0, 0) configure
If we send a (0, 0) configure when restoring a surface to floating state,
it means we didn't have its previous state stored. This means that we need
to place it on screen as if it was newly created.
- - - - -
430deee1 by Guido Günther at 2021-10-11T14:16:22+00:00
Merge branch 'saved-box' into 'master'
view: Fixes for using invalid saved state
See merge request World/Phosh/phoc!277
- - - - -
336d1288 by Sebastian Krzyszkowiak at 2021-10-11T14:16:39+00:00
view: Move view_update_output to update_position/size
Having view_update_output in view_resize doesn't make sense, as this
function is only requesting a future resize. Also, moving it from view_move
to view_update_position allows to catch more cases when the view gets moved
that would fail to update the outputs before.
One case where this could happen was running fullscreen SDL apps with
external screen attached. Despite of being visible only on a single screen,
the surface would get wl_surface::enter events for both outputs, causing
it to assume the highest scale factor - which led to games being needlessly
rendered at scale 2 on scale 1 display (so 4K on 1080p).
- - - - -
7bb65cae by Guido Günther at 2021-10-11T14:27:54+00:00
Merge branch 'update-output' into 'master'
view: Move view_update_output to update_position/size
See merge request World/Phosh/phoc!276
- - - - -
5a7f25f5 by Sebastian Krzyszkowiak at 2021-10-11T14:49:25+00:00
view: Fix updating surface's fullscreen state when exiting fullscreen
We need to notify the surface (and foreign handle) of changed state
every time it changes, not just when the view wasn't fullscreened yet..
- - - - -
670b37be by Guido Günther at 2021-10-11T15:00:41+00:00
Merge branch 'was_fullscreen' into 'master'
view: Fix updating surface's fullscreen state when exiting fullscreen
See merge request World/Phosh/phoc!279
- - - - -
bd477e23 by Sebastian Krzyszkowiak at 2021-10-11T18:49:57+02:00
view: Rename PHOC_VIEW_STATE_NORMAL to FLOATING and explicitly initialize
- - - - -
82f5f77c by Sebastian Krzyszkowiak at 2021-10-11T18:53:58+02:00
view: Revamp view_is_[state] functions
Introduce view_is_floating and view_is_fullscreen, and check in
view_is_floating/maximized/tiled whether the view isn't fullscreen.
This allows to simplify some logic and make the code easier to read.
- - - - -
1be4de2e by Guido Günther at 2021-10-13T08:57:55+00:00
Merge branch 'view_state' into 'master'
view: Revamp view_is_[state] functions
See merge request World/Phosh/phoc!278
- - - - -
cae12fbf by Sebastian Krzyszkowiak at 2021-10-13T09:19:48+00:00
output: Turn damage_whole_decoration into damage_whole_view
view_get_deco_box defaults to view_get_box on undecorated surfaces,
which makes it useful for both kinds of views. Make use of it in
phoc_output_damage_whole_view so the whole view box gets damaged
regardless of underlying surfaces (which can be useful during resizes,
as currently phoc doesn't do a very good job at double buffering
all necessary state).
This should slightly help with some damage tracking issues, for instance
on windows that disappear from some outputs while being maximized (but
doesn't fix them completely, as simultaneous surface geometry changes are
still problematic).
- - - - -
1a046528 by Guido Günther at 2021-10-13T09:30:47+00:00
Merge branch 'damage-whole' into 'master'
output: Turn damage_whole_decoration into damage_whole_view
See merge request World/Phosh/phoc!274
- - - - -
77f57119 by Guido Günther at 2021-10-17T23:56:10+00:00
utils: Add ease in/out helpers
Taken from libhandy
- - - - -
985fb361 by Guido Günther at 2021-10-17T23:56:10+00:00
phosh-private: Add shell state protocol and property
This allows the shell client to notify about it's state (e.g. when
it's up).
- - - - -
f7254b3b by Guido Günther at 2021-10-17T23:56:10+00:00
server: Allow to pass mode flags
- - - - -
a4a1f06c by Guido Günther at 2021-10-17T23:56:10+00:00
main: Add shell mode command line option
- - - - -
5e7ee03d by Guido Günther at 2021-10-17T23:56:10+00:00
renderer: Emit signals at start and end of rendering loop
This allows us to act on these without cluttering the rendering loop
further.
- - - - -
4423254b by Guido Günther at 2021-10-17T23:56:10+00:00
server: Render shield until shell is attached
Once it attaches fade in by submitting damage at the start of the render
loop and drawing the shield at the very end.
This currently assumes all output tick at the same rate.
- - - - -
8472105f by Sebastian Krzyszkowiak at 2021-10-18T00:08:41+00:00
Merge branch 'wait-for-shell' into 'master'
Wait for shell and fade it in
See merge request World/Phosh/phoc!265
- - - - -
8f2ba46b by Sebastian Krzyszkowiak at 2021-10-19T05:49:31+02:00
view: Don't recreate GSettings object on every window resize
The only time when we need to change the GSettings path is when
app-id changes, so we can take advantage of that.
- - - - -
75900fe6 by Guido Günther at 2021-10-19T07:04:13+00:00
Merge branch 'settings' into 'master'
view: Don't recreate GSettings object on every window resize
See merge request World/Phosh/phoc!283
- - - - -
f1f921dd by Sebastian Krzyszkowiak at 2021-10-19T16:20:46+02:00
gtk-shell/xdg-shell: Use app_id from gtk_surface::set_dbus_properties
See https://source.puri.sm/Librem5/OS-issues/-/issues/224
- - - - -
1d1753df by Guido Günther at 2021-10-23T10:09:50+00:00
Merge branch 'app-id-gtk-shell' into 'master'
gtk-shell/xdg-shell: Use app_id from gtk_surface::set_dbus_properties
See merge request World/Phosh/phoc!282
- - - - -
7055cecf by Sebastian Krzyszkowiak at 2021-10-24T22:39:44+02:00
phosh-private: Fix zwlr_screencopy_frame_v1_flags handling
wlr_renderer's enum is different than zwlr_screencopy's.
- - - - -
9dd5d11e by Guido Günther at 2021-10-25T09:25:23+00:00
Merge branch 'flags' into 'master'
phosh-private: Fix zwlr_screencopy_frame_v1_flags handling
See merge request World/Phosh/phoc!288
- - - - -
d6d31320 by Sebastian Krzyszkowiak at 2021-10-27T11:05:37+00:00
view: Don't allow unfocused surfaces to make themselves fullscreen
- - - - -
6fa7b419 by Guido Günther at 2021-10-27T11:18:31+00:00
Merge branch 'fullscreen-focus' into 'master'
view: Don't allow unfocused surfaces to make themselves fullscreen
See merge request World/Phosh/phoc!287
- - - - -
8df6b1c6 by Sebastian Krzyszkowiak at 2021-10-27T13:19:07+02:00
view: Implement fullscreen view handling in view_move_to_next_output
This allows fullscreen windows to be moved between outputs via keybindings.
- - - - -
8169cba8 by Sebastian Krzyszkowiak at 2021-10-27T16:18:16+02:00
view: Allow to pass output to center the view on to view_center
- - - - -
d584c475 by Sebastian Krzyszkowiak at 2021-10-27T16:18:28+02:00
view: Check whether the view is floating before attempting to center
- - - - -
02bb02c8 by Sebastian Krzyszkowiak at 2021-10-27T16:18:28+02:00
view: Center the view in view_move_to_next_output
view_get_output uses view's center to determine output to return, so aside
of an obvious visual effect this should also improve reliability of moving
views across screens.
- - - - -
ba816647 by Guido Günther at 2021-10-27T14:55:25+00:00
Merge branch 'fs-move' into 'master'
view_move_to_next_output improvements
See merge request World/Phosh/phoc!281
- - - - -
0563907a by Sebastian Krzyszkowiak at 2021-10-27T16:56:44+02:00
Document changes and release 0.9.0
- - - - -
30 changed files:
- + .dir-locals.el
- .gitignore
- .gitlab-ci.yml
- README.md
- config.h.in
- debian/changelog
- debian/control
- + doc/meson.build
- + doc/phoc.toml.in
- meson.build
- meson_options.txt
- protocols/meson.build
- protocols/phosh-private.xml
- protocols/wlr-foreign-toplevel-management-unstable-v1.xml
- protocols/wlr-layer-shell-unstable-v1.xml
- protocols/wlr-screencopy-unstable-v1.xml
- src/cursor.c
- src/cursor.h
- src/desktop.c
- src/desktop.h
- src/gtk-shell.c
- src/gtk-shell.h
- src/input.c
- src/input.h
- src/keybindings.c
- src/keybindings.h
- src/keyboard.c
- src/keyboard.h
- src/layer_shell.c
- src/main.c
The diff was not included because it is too large.
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/527689df1300277af2cdfc872474c8322e38f690...0563907a884f4edb9f0a84dcefb52dccc3407c10
--
View it on GitLab: https://salsa.debian.org/DebianOnMobile-team/phoc/-/compare/527689df1300277af2cdfc872474c8322e38f690...0563907a884f4edb9f0a84dcefb52dccc3407c10
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/20211028/7a3e08ad/attachment-0001.htm>
More information about the Debian-on-mobile-maintainers
mailing list