src/agl-shell-activator.git
3 months agoAglShellGrpcClient: Add support for split windows 46/29646/5 master
Marius Vlad [Thu, 25 Jan 2024 22:03:17 +0000 (00:03 +0200)]
AglShellGrpcClient: Add support for split windows

Bug-AGL: SPEC-4839
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I57769b64c2d4d14933f1da4930027adf9ec9f519

3 months agoAdd gitlab issue/merge request templates 17.90.0 ricefish/17.90.0 ricefish_17.90.0
Jan-Simon Moeller [Tue, 13 Feb 2024 22:02:20 +0000 (23:02 +0100)]
Add gitlab issue/merge request templates

Add template files for gitlab

Bug-AGL: SPEC-4474
Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Change-Id: Id5311675a0d07958973a03fd555d19d8abbd022d

9 months agoAdd support for positioning and scaling 73/29073/2
Marius Vlad [Mon, 31 Jul 2023 12:40:09 +0000 (15:40 +0300)]
Add support for positioning and scaling

This adds support for dynamic positioning and scalling of windows, using
the gRPC interface. This can used to manipulate other's windows, wheareas
the window management client gRPC will do so with its own window.

Bug-AGL: SPEC-4862, SPEC-4863
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I8f5cc40a929ae55dbf4b287833c473c8db64a1c3

13 months agoAglShellGrpcClient: Add support for set_app_on_output 27/28727/1
Marius Vlad [Fri, 7 Apr 2023 13:31:53 +0000 (16:31 +0300)]
AglShellGrpcClient: Add support for set_app_on_output

This adds support for testing out window movement and placement to
other outputs.

Bug-AGL: SPEC-4673
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I5b750f6b5498f4297163480b0f49668115bc335a

15 months agoAglShellGrpcClient: Add set_app_fullscreen functionality 50/28550/1
Marius Vlad [Wed, 1 Mar 2023 15:04:50 +0000 (17:04 +0200)]
AglShellGrpcClient: Add set_app_fullscreen functionality

Bug-AGL: SPEC-4673
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I946524243e3205ae96098cc31123baac4f50c1b4

15 months agosrc: add support for set_app_normal 62/28462/2
Marius Vlad [Thu, 9 Feb 2023 12:49:06 +0000 (14:49 +0200)]
src: add support for set_app_normal

Bug-AGL: SPEC-4673
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I89b73ba1e2167271d4075f9f5176aed7cfe2dc64

15 months agosrc: Add set_app_float request support 61/28461/2
Marius Vlad [Thu, 2 Feb 2023 21:44:05 +0000 (23:44 +0200)]
src: Add set_app_float request support

Bug-AGL: SPEC-4673
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I7beaead3c5c87e1e60f66ad1b20f2bf625414c8e

15 months agosrc: Fix iteration over actions 60/28460/2
Marius Vlad [Wed, 8 Feb 2023 10:48:39 +0000 (12:48 +0200)]
src: Fix iteration over actions

Minor bug-fix for avoiding printing items over what the array
can handle.

Bug-AGL: SPEC-4673
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I770d8d0abba3537bfd32eef36ab13ca705706a0e

17 months agomain: Add support for GetOuputs request 74/28274/1 sandbox/mvlad/use-grpc-for-activation
Marius Vlad [Tue, 13 Dec 2022 18:18:33 +0000 (20:18 +0200)]
main: Add support for GetOuputs request

Bug-AGL: SPEC-4503
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I484f2170d62f93c3f01b4131436daf5c144c45e8

19 months agosrc: Re-work actions and provide a callback 74/28074/1
Marius Vlad [Thu, 27 Oct 2022 13:39:37 +0000 (16:39 +0300)]
src: Re-work actions and provide a callback

This re-works a bit the way we handle events, and allows to pass a
callback to the client directly.

This patch further cleans-up the older agl-shell-desktop implementation
and adds a a new action, 'deactivate' request as another example.

Further more, clients can now choose to just listen for events,
or listen for events and perform an action (activate).

Bug-AGL: SPEC-4503
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ic9f8bb1f6ff1c7f6b69f2059caac066ee106beba

19 months agomeson.build: Remove all traces of agl-shell-desktop 73/28073/1
Marius Vlad [Thu, 27 Oct 2022 12:41:29 +0000 (15:41 +0300)]
meson.build: Remove all traces of agl-shell-desktop

This patch removes support for agl-shell-desktop.

Bug-AGL: SPEC-4503
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1ad69a4fc4c8ccdc9c659ec1a50526fc9f3a8d81

19 months agosrc: Add initial support for gRPC 72/28072/1
Marius Vlad [Fri, 30 Sep 2022 14:10:39 +0000 (17:10 +0300)]
src: Add initial support for gRPC

Brings in initial support for gRPC. It re-uses the same protobuf as
supplied by the compositor. With it, this changes from C to CPP as that
allows far better and easier integration with gRPC.

Bug-AGL: SPEC-4503
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Idf09db80063dfa0c4cd7f3f345686fe9d2d27622

21 months agomain: Add support for binding to wl_output version 4 50/27950/3
Marius Vlad [Thu, 18 Aug 2022 15:07:29 +0000 (18:07 +0300)]
main: Add support for binding to wl_output version 4

This allows the ability to specify which output to activate the
surface/application.

Note that this requires a libweston update to include support for this
new interface update, but it still fallbacks to to version 3 and uses
the first available output if uses that older interface.

Bug-AGL: SPEC-4530
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I151368720093422565746a01048fc2802c55c553

2 years agoFix compilation error due to missing wl_output_listener fields initializers. 74/27474/1 13.93.0 needlefish/13.93.0 needlefish_13.93.0
Vasyl Vavrychuk [Wed, 11 May 2022 23:02:11 +0000 (01:02 +0200)]
Fix compilation error due to missing wl_output_listener fields initializers.

Bug-AGL: SPEC-4369
Change-Id: I9d575952a01178e6ff175f96a6946e40d980eaef
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
2 years agoFix no reaction to 'Ctrl+C'. 52/27452/2
Vasyl Vavrychuk [Mon, 2 May 2022 11:54:18 +0000 (13:54 +0200)]
Fix no reaction to 'Ctrl+C'.

'Ctrl+C' was intercepted by 'handler'. Function 'handler' set 'running' to zero
but it had no effect since wl_display_dispatch was waiting for wayland events.

Bug-AGL: SPEC-4347
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I71fcb8bc48a54d483737c83187c18414770580eb

2 years agoRemove unneeded wl_display_flush. 51/27451/1
Vasyl Vavrychuk [Sat, 30 Apr 2022 06:54:07 +0000 (08:54 +0200)]
Remove unneeded wl_display_flush.

wl_display_dispatch will do flush.

Bug-AGL: SPEC-4347
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Change-Id: I495e8024dc9a8b10c7aea42281e007018ad83a19

2 years agoscript/agl-activator: No need for the script 80/27380/2
Marius Vlad [Thu, 14 Apr 2022 07:30:02 +0000 (10:30 +0300)]
script/agl-activator: No need for the script

Script is no longer needed. Running it as the regular user (agl-driver)
will no longer need this script.

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: If7bcb035039b1e45d842b5fa75144ee82edf91f1

2 years agomain: Handle agl-shell-desktop events 79/27379/1
Marius Vlad [Thu, 14 Apr 2022 07:27:24 +0000 (10:27 +0300)]
main: Handle agl-shell-desktop events

We get back an event when the application has been activated, so
use it.

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I1d47cf0612e3c98b2fd54925c3274b28ff743be7

2 years agomeson.build: Update compositor protocols version 78/27378/1
Marius Vlad [Thu, 14 Apr 2022 07:26:43 +0000 (10:26 +0300)]
meson.build: Update compositor protocols version

We've updated the protocols a while ago, but forgot to update this one
as well.

Bug-AGL: SPEC-4324
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I3b0401455b5644e4a55c8ca6e4a02c26db74a1a6

3 years agoInitial commit 30/26330/3 sandbox/mvlad/init 11.0.3 11.0.4 11.0.5 11.91.0 11.92.0 12.90.0 12.90.1 12.91.0 12.92.0 12.93.0 koi/11.0.3 koi/11.0.4 koi/11.0.5 koi_11.0.3 koi_11.0.4 koi_11.0.5 lamprey/11.91.0 lamprey/11.92.0 lamprey_11.91.0 lamprey_11.92.0 marlin/12.90.0 marlin/12.90.1 marlin/12.91.0 marlin/12.92.0 marlin/12.93.0 marlin_12.90.0 marlin_12.90.1 marlin_12.91.0 marlin_12.92.0 marlin_12.93.0
Marius Vlad [Wed, 5 May 2021 19:14:07 +0000 (22:14 +0300)]
Initial commit

Bug-AGL: SPEC-3817

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: Ie7e2168737f668a5c558b0fad3e58fe42f81e62e

3 years agoInitial empty repository
Jan-Simon Moeller [Wed, 5 May 2021 15:11:20 +0000 (15:11 +0000)]
Initial empty repository