platform/core/uifw/libds-tizen.git
20 months agotinyds: fix the SVACE issue dev/duna-oh
duna.oh [Tue, 21 Feb 2023 06:32:23 +0000 (15:32 +0900)]
tinyds: fix the SVACE issue

20 months agoclients: fix the SVACE issue
duna.oh [Fri, 20 Jan 2023 08:54:00 +0000 (17:54 +0900)]
clients: fix the SVACE issue

22 months agoRename event types for consistency 70/286370/1 accepted/tizen/unified/20230106.165108
Seunghun Lee [Thu, 27 Oct 2022 06:00:25 +0000 (15:00 +0900)]
Rename event types for consistency

The event type names should be prefixed with `ds_{submodule}_event_`.

Change-Id: I0dcfa36d901b5a89b78af172ce664a81bd1e40a5

2 years agovideo: Add tizen_viewport implementation 71/283571/2
Seunghun Lee [Tue, 11 Oct 2022 09:29:20 +0000 (18:29 +0900)]
video: Add tizen_viewport implementation

Change-Id: I56840111bfa69fa4de99c8e12e45088712f6c6df

2 years agoexamples: make tinyds-input-devicemgr files 77/283577/1
SooChan Lim [Sat, 29 Oct 2022 03:22:47 +0000 (12:22 +0900)]
examples: make tinyds-input-devicemgr files

move the implementation of ds_tizen_input-devicemgr at tinyds-tdm.c to tinyds-input-devicemgr file.

Change-Id: Icc37023b56d556932d5013d321f23f53050c4a6d

2 years agoexamples: make tinyds-launch files 76/283576/1
SooChan Lim [Fri, 28 Oct 2022 23:21:05 +0000 (08:21 +0900)]
examples: make tinyds-launch files

move the implementation of ds_tizen_launch at tinyds-tdm.c to tinyds-launch file.

Change-Id: Id19d390874f725f843fbf8e4553dfd618ee1a7b1

2 years agorename tinyds-tdm-common to tinyds-common 75/283575/1
SooChan Lim [Thu, 27 Oct 2022 09:03:49 +0000 (18:03 +0900)]
rename tinyds-tdm-common to tinyds-common

Change-Id: Ic0a78ca9a881e3f60b74036f60f37c5be7fddc90

2 years agoexamples: rename tinyds-tdm-renderer to tinyds-renderer 74/283574/1
SooChan Lim [Thu, 27 Oct 2022 09:00:24 +0000 (18:00 +0900)]
examples: rename tinyds-tdm-renderer to tinyds-renderer

Change-Id: I7d897f44a0042fb16d8efe9d6d656aec820d54f2

2 years agoexamples: make tinyds-dpms files 73/283573/1
SooChan Lim [Thu, 27 Oct 2022 08:14:58 +0000 (17:14 +0900)]
examples: make tinyds-dpms files

move the implementation of ds_tizen_dpms at tinyds-tdm.c to tinyds-dpms file.

Change-Id: Ia61bb80c4e3b534a569441e365c483d5c66838e0

2 years agoexamples: make tinyds-policy files 72/283572/1
SooChan Lim [Tue, 25 Oct 2022 08:53:24 +0000 (17:53 +0900)]
examples: make tinyds-policy files

move the implementation of ds_tizen_policy at tinyds-tdm.c to tinyds-policy file.

Change-Id: I690b48bf49485f24ab1dc74c56434e3667695b57

2 years agoimplement ds_tizen_remote_surface 18/283418/1
Changyeon Lee [Wed, 26 Oct 2022 07:04:21 +0000 (16:04 +0900)]
implement ds_tizen_remote_surface

This is the server implementation for tizen_remote_surface protocol.

Change-Id: I96bfae99814b9ac9331f510c5f378ed2a5c56c7e

2 years agoeom: Init eom module 77/283377/1
Junkyeong Kim [Tue, 25 Oct 2022 09:42:56 +0000 (18:42 +0900)]
eom: Init eom module

Change-Id: I3cbf077088184bc5c5c0077f76e4b10e14c8bf1e
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agotinyds-tdm: create cursor and show it when mouse connected 60/283360/1
duna.oh [Fri, 21 Oct 2022 07:40:30 +0000 (16:40 +0900)]
tinyds-tdm: create cursor and show it when mouse connected

cursor is a simple red box for now. (cursor size: 10x16)

Change-Id: Ie2b323c15f4086e327fba9a66885ea738eea6271

2 years agotinyds: enable protocol_trace only when protocol_trace_init() returns true 22/283322/2
duna.oh [Fri, 21 Oct 2022 08:23:24 +0000 (17:23 +0900)]
tinyds: enable protocol_trace only when protocol_trace_init() returns true

This fixes segfault when rule file doen't exist and
protocol_trace_init() returns false.

Change-Id: I3785fb664c87c13d717556f7219760bc32dc1afb

2 years agovideo: Add tests for ds_tizen_video 54/283254/1
Seunghun Lee [Fri, 14 Oct 2022 10:03:52 +0000 (19:03 +0900)]
video: Add tests for ds_tizen_video

This adds tests for ds_tizen_video and ds_tizen_video_object except for
tizen_viewport. The tests for tizen_viewport should be added with its
implementation later.

Change-Id: Ic49e8c90de49aced5aea44e8cb3f71d8af285ffb

2 years agovideo: Add ds_tizen_video_object 53/283253/1
Seunghun Lee [Thu, 15 Sep 2022 06:15:18 +0000 (15:15 +0900)]
video: Add ds_tizen_video_object

The ds_tizen_video_object is to support for tizen_video_object extension
protocol, and it is generated from ds_tizen_video emitting new_object
signal.

Change-Id: I2b11b3795de1dbe9dd64ce57cd84c89f7626e7c7

2 years agovideo: Add ds_tizen_video_add_format() 52/283252/1
Seunghun Lee [Tue, 13 Sep 2022 09:37:10 +0000 (18:37 +0900)]
video: Add ds_tizen_video_add_format()

This is to send supported formats to wayland clients as described by
tizen_video protocol.

Change-Id: Ibebdffdf637e6c1ae1d3b0b8aadaae37a2ac9946

2 years agoAdd libshared static library 51/283251/1
Seunghun Lee [Thu, 15 Sep 2022 05:34:10 +0000 (14:34 +0900)]
Add libshared static library

The libshared library is to be used for shared functionalities.
For now, it only provides converting pixel format functionality for both
tbm_server and video implementation, but it will be expanded as needed.
Video implementation will use it in a future patch.

Change-Id: I94d7cd6479abbdcc4e0860fb41c878b96ac9296e

2 years agoAdd skeleton code for ds_tizen_video 50/283250/1
Seunghun Lee [Tue, 13 Sep 2022 06:19:25 +0000 (15:19 +0900)]
Add skeleton code for ds_tizen_video

Change-Id: Id499c27336f7e4f774893444b9988d8367156148

2 years agoscaler: Fix missing free for allocated resources 39/283039/1
Seunghun Lee [Thu, 13 Oct 2022 07:56:55 +0000 (16:56 +0900)]
scaler: Fix missing free for allocated resources

Change-Id: I5651bacd1b3927f123957575ec6d777a9fd5ab4a

2 years agodpms: remove function parameters ds_ prefix 34/282734/1
Junkyeong Kim [Fri, 7 Oct 2022 05:03:44 +0000 (14:03 +0900)]
dpms: remove function parameters ds_ prefix

Change-Id: I147a59d8e0824cccd94cec022838a8e5c8dc2be6
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agodpms: use output resource 33/282733/1
Junkyeong Kim [Thu, 6 Oct 2022 02:52:17 +0000 (11:52 +0900)]
dpms: use output resource

Change-Id: Icdcfb2790b928d7f14561b0b5e4c4e3f9aeffd36
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agodpms: remove tizen dpms protocol header include from ds dpms header 32/282732/1
Junkyeong Kim [Thu, 6 Oct 2022 02:42:49 +0000 (11:42 +0900)]
dpms: remove tizen dpms protocol header include from ds dpms header

Change-Id: I92aa03eb77fef0830e170900304d9f44736b8e5a
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agotinyds: removes wl_listeners when it's destroied 09/281909/1
duna.oh [Thu, 22 Sep 2022 02:06:42 +0000 (11:06 +0900)]
tinyds: removes wl_listeners when it's destroied

To fix segfault error, wl_listeners should be removed properly.

Change-Id: Ida1a6c8c51eefa08932c22fb6296635532f3edb7

2 years agodpms: add null checking of 'dpms->res' variable 08/281908/1
duna.oh [Thu, 22 Sep 2022 01:59:03 +0000 (10:59 +0900)]
dpms: add null checking of 'dpms->res' variable

dpms->res could be null if no client binds to dpms interface

Change-Id: I4bb631903190ed9a892857b24ea0eb4776b341c5

2 years agotest: adapt the change of policy request 05/281905/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.060050 accepted/tizen/7.0/unified/hotfix/20221116.110121 accepted/tizen/unified/20220925.234917 accepted/tizen/unified/20220925.234946 accepted/tizen/unified/20220926.025510 tizen_7.0_m2_release
SooChan Lim [Fri, 23 Sep 2022 05:52:48 +0000 (14:52 +0900)]
test: adapt the change of policy request

the argument of interactive_mode_done and interactive_resize_done is changed.

Change-Id: I81d604d1ca7a2f69e5ccda7b7731ba5ed42fb6a0

2 years agotinyds: add 'protocol_trace' feature 81/281781/1
duna.oh [Fri, 16 Sep 2022 04:55:03 +0000 (13:55 +0900)]
tinyds: add 'protocol_trace' feature

1. add rules in rule file
ALLOW iface=wl_pointer and msg=motion
ALLOW iface=wl_seat and type=event

2. set environment variables (or default path is given)
$export DS_PROTOCOL_RULE_FILE=/tmp/rule
$export DS_PROTOCOL_TRACE_FILE=/tmp/trace

3. will see protocol logs in trace file
$tail -f /tmp/trace
[1499148.714] Server->Client [PID:25430]wl_seat@7.capabilities(7), cmd: ds-simple-tbm
[1499148.810] Server->Client [PID:25430]wl_seat@7.name("seat0"), cmd: ds-simple-tbm
[1499155.391] Server   [PID:25430] client destroying

Change-Id: I9fff75555d002fa0c25a5f3d61ce31c8d7c0886b

2 years agotest: Add tests for ds_tizen_scaler 52/281352/1 accepted/tizen/unified/20220919.021617
Seunghun Lee [Thu, 8 Sep 2022 04:10:10 +0000 (13:10 +0900)]
test: Add tests for ds_tizen_scaler

Change-Id: I1eb8d0b69f236e77d46c3ef0fd737a337adfc387

2 years agoAdd ds_tizen_scaler for wl_scaler 51/281351/1
Seunghun [Tue, 23 Aug 2022 05:51:43 +0000 (14:51 +0900)]
Add ds_tizen_scaler for wl_scaler

Change-Id: Ib6d1f7e43aee8f96f05ecaf2b81f855bce66648e

2 years agoInit tizen-screenshooter 71/281271/1
Junkyeong Kim [Wed, 7 Sep 2022 08:33:30 +0000 (17:33 +0900)]
Init tizen-screenshooter

Change-Id: I438cd7e690f93bc9f64894c968bbd8dedcc7c919
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agotext_input: Add a missing parameter 25/281125/1
Seunghun Lee [Tue, 13 Sep 2022 01:25:38 +0000 (10:25 +0900)]
text_input: Add a missing parameter

This is to silence a warning.

Change-Id: I0a8291a194a7bea1f8c651230e732f092bc31540

2 years agofix the memory leak 91/280991/1 accepted/tizen/unified/20220908.124855
SooChan Lim [Wed, 7 Sep 2022 08:16:27 +0000 (17:16 +0900)]
fix the memory leak

Change-Id: I58f5eb7d5ec611e41d78e2110a1d20fe1ee6b0da

2 years agotext_input: add dummy implementation of tizen only handlers 90/280990/1
SooChan Lim [Tue, 6 Sep 2022 07:46:30 +0000 (16:46 +0900)]
text_input: add dummy implementation of tizen only handlers

to avoid a crash from a client's request.

Change-Id: Ie224f2437fa38aad83fa983e32feb088df1ecc7e

2 years agoinput_method: check if a resource of input_method is null. 89/280989/1
SooChan Lim [Tue, 6 Sep 2022 07:44:56 +0000 (16:44 +0900)]
input_method: check if a resource of input_method is null.

Change-Id: I5932828b6ca1fefbdb81c2d747856d0761e5bd5b

2 years agoexample: check if a input_method_context is null. 88/280988/1
SooChan Lim [Tue, 6 Sep 2022 07:43:38 +0000 (16:43 +0900)]
example: check if a input_method_context is null.

Change-Id: I284fec4336d6235e2f8c88985c8965a6448fd6e7

2 years agotizen_policy: check the client's version of TIZEN_POLICY_CONFORMANT_REGION event 81/280981/1
SooChan Lim [Wed, 7 Sep 2022 06:59:23 +0000 (15:59 +0900)]
tizen_policy: check the client's version of TIZEN_POLICY_CONFORMANT_REGION event

Change-Id: Iaa6cd9fcc7e99933f8ff6f4a4ed9eee039d564d9

2 years agochange get_subsurface_watcher to new_subsurface_watcher 80/280980/1
SooChan Lim [Wed, 7 Sep 2022 06:20:02 +0000 (15:20 +0900)]
change get_subsurface_watcher to new_subsurface_watcher

change the symbol names

Change-Id: I05c21fedb75ebdc4fca9f23bad62df0a022de6c8

2 years agochange the get_position to new_position 79/280979/1
SooChan Lim [Wed, 7 Sep 2022 06:18:33 +0000 (15:18 +0900)]
change the get_position to new_position

change the symbol names

Change-Id: I0b5f095ad75aa59f92ba90d9aa0dd1378309286c

2 years agotizen_policy: change the get_visibility to new_visibility 78/280978/1
SooChan Lim [Wed, 7 Sep 2022 06:17:04 +0000 (15:17 +0900)]
tizen_policy: change the get_visibility to new_visibility

change the symbol name

Change-Id: Ic8c6fecd1f51b3aef6f7f0ca328f5805159f489d

2 years agotizen_policy: change get_surface to new_surface 77/280977/1
SooChan Lim [Wed, 7 Sep 2022 06:15:22 +0000 (15:15 +0900)]
tizen_policy: change get_surface to new_surface

change the symbol name

Change-Id: Icc7e8193d85abed07f2b1306f2e69ed3ffd384b2

2 years agotinyds-tdm: create ds_tizen_policy resource 76/280976/1
SooChan Lim [Sat, 3 Sep 2022 01:12:39 +0000 (10:12 +0900)]
tinyds-tdm: create ds_tizen_policy resource

ds_tizen_policy provide the wayland server implementation of tizen_policy_interface.

Change-Id: I056fae55b3dcd1b8b9d3a493a6f525cd4704a7f4

2 years agoadd testcases for ds_tizen_policy 75/280975/1
SooChan Lim [Sun, 28 Aug 2022 04:05:36 +0000 (13:05 +0900)]
add testcases for ds_tizen_policy

Change-Id: Ia93e8f7caf52713beaf6dd175f2443337252266e

2 years agoimplement tizen_policy 74/280974/1
SooChan Lim [Fri, 12 Aug 2022 08:07:33 +0000 (17:07 +0900)]
implement tizen_policy

Change-Id: I1be6f809cba50e8864e3d7ee6059dcefbdf8840a

2 years agoadd .vscode to .gitignore 73/280973/1
SooChan Lim [Sun, 28 Aug 2022 06:14:09 +0000 (15:14 +0900)]
add .vscode to .gitignore

Change-Id: I5ed9158db630465b6766fdf3454dc30d90a7ab68

2 years agoclients: merge text-entry code to simple-tbm 72/280972/1
duna.oh [Wed, 7 Sep 2022 06:44:23 +0000 (15:44 +0900)]
clients: merge text-entry code to simple-tbm

Change-Id: I9c74e6155cb570d74cdb24c6b05e0515cc8362bf

2 years agotests: no need to include 'input-method-server-protocol.h' 71/280971/1
duna.oh [Wed, 7 Sep 2022 05:56:00 +0000 (14:56 +0900)]
tests: no need to include 'input-method-server-protocol.h'

Change-Id: I0b65f6b0b4a089c13ec174076e44dcfdc8ca18dc

2 years agoclients: refactor to prevent access to global variable 70/280970/1
duna.oh [Wed, 7 Sep 2022 05:41:25 +0000 (14:41 +0900)]
clients: refactor to prevent access to global variable

Change-Id: Ia2283b124fb4b19473d8ca173a017c434153271a

2 years agoclients: merge ime-keyboard code to input-generator 69/280969/1
duna.oh [Tue, 6 Sep 2022 07:07:03 +0000 (16:07 +0900)]
clients: merge ime-keyboard code to input-generator

Change-Id: I0e39cef61183833eaf7c06917a42285a2faa24f6

2 years agoime: free allocated variables before return statement 49/280849/1 accepted/tizen/unified/20220908.013420
duna.oh [Mon, 5 Sep 2022 04:19:11 +0000 (13:19 +0900)]
ime: free allocated variables before return statement

To fix resource leak.

Change-Id: Icf1bdfdecebf14903c89c4f21fa92bbebc19513c

2 years agotext-entry: use memcpy instead of strcpy 48/280848/1
duna.oh [Sun, 4 Sep 2022 01:51:48 +0000 (10:51 +0900)]
text-entry: use memcpy instead of strcpy

For better security, do not use vulnerable function 'strcpy'

Change-Id: Ib0ac0a253b19df4ce14d0faac233591ecd1d16c4

2 years agotinyds: use 'rand_r' instead of function 'rand' 47/280847/1
duna.oh [Fri, 2 Sep 2022 06:28:39 +0000 (15:28 +0900)]
tinyds: use 'rand_r' instead of function 'rand'

For thread safety, rand_r is preferred to use.

Change-Id: I56fef4a94ee5110b090add7c1449797956c93db3

2 years agoimplement ds_tizen_hwc 88/280388/1
Changyeon Lee [Wed, 24 Aug 2022 06:40:50 +0000 (15:40 +0900)]
implement ds_tizen_hwc

This is the server implementation for tizen_hwc protocol.

Change-Id: I4ba3b103efaf6ce2c8863d63f26b40e120ffc327

2 years agoUpdate .gitignore 09/280109/2 accepted/tizen/unified/20220829.062550 submit/tizen/20220826.081449
Seunghun Lee [Wed, 24 Aug 2022 04:31:47 +0000 (13:31 +0900)]
Update .gitignore

This adds vim swapfiles.

Change-Id: Ifce2e25131882a52806f7df06dc6d7c437f4093f

2 years agoime: refactoring. delete new_input_method_context event/listener 51/280251/1
duna.oh [Wed, 24 Aug 2022 02:32:57 +0000 (11:32 +0900)]
ime: refactoring. delete new_input_method_context event/listener

Change-Id: Iaf93b435f8178b8b8bf2a13d477d9a2364d20503

2 years agoclients: 'text-entry' fix formatting 50/280250/1
duna.oh [Wed, 24 Aug 2022 01:12:38 +0000 (10:12 +0900)]
clients: 'text-entry' fix formatting

Change-Id: I5f175968d063363be2cb6343d92ea3e27ce6b60f

2 years agoinput_method: add object pointer member in event struct 49/280249/1
duna.oh [Tue, 23 Aug 2022 09:19:37 +0000 (18:19 +0900)]
input_method: add object pointer member in event struct

Change-Id: I5002a7b4e42c5c6a7bb5b47dcf92500a0b22dcdf

2 years agoclients: add ime-keyboard(input_method), text-entry(text_input) 48/280248/1
duna.oh [Mon, 22 Aug 2022 10:44:53 +0000 (19:44 +0900)]
clients: add ime-keyboard(input_method), text-entry(text_input)

ime-keyboard
 - deals with input_method
 - input key event
   usage) key [keys index] [down=1/up=0] ( keys = [q,w,e,r,t,,,,] )
      ex) key 1 1 (input 'w' key)
          key 1 0
          key 2 1 (input 'e' key)
          key 2 0

text-entry
 - deals with text_input
 - when mouse enters into the surface and mouse is pressed,
   text_input is activated.
   when mouse is released, text_input is deactivated.
 - usage) when text_input is activated, this gets key event from
   input_method.

Change-Id: Idbea6f4d5756cfcb65f2810f4a3967669ff04045

2 years agotext_input: implement wl_text_input and manager 47/280247/1
duna.oh [Mon, 22 Aug 2022 01:16:15 +0000 (10:16 +0900)]
text_input: implement wl_text_input and manager

Change-Id: Ibfa33280ad057afaac5168e3be15d10cb341f017

2 years agoinput_method: implement zwp_input_method_manager 46/280246/1
duna.oh [Fri, 19 Aug 2022 10:19:24 +0000 (19:19 +0900)]
input_method: implement zwp_input_method_manager

Change-Id: Ia98c1e325f014ad0f4c3f2445f236b2b4e93eba8

2 years agoinput_method: implement zwp_input_method and context 45/280245/1
duna.oh [Fri, 19 Aug 2022 10:08:17 +0000 (19:08 +0900)]
input_method: implement zwp_input_method and context

Change-Id: Icc35ccd4f9e6285c37f9143630cca852b8edfd90

2 years agotbm_server: add get_resource function 50/279850/1 accepted/tizen/unified/20220821.211122 submit/tizen/20220818.083245 submit/tizen/20220819.052238
Junkyeong Kim [Thu, 18 Aug 2022 08:26:03 +0000 (17:26 +0900)]
tbm_server: add get_resource function

Change-Id: Ib4d3345dba45c8b3ce7c2276126d8efcdb54b725
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
2 years agoinput_devicemgr: Apply change of function name 07/279807/2
Seunghun Lee [Thu, 11 Aug 2022 00:56:06 +0000 (09:56 +0900)]
input_devicemgr: Apply change of function name

This change should be applied with follow commit.

commit 6b492bf069a1a8754ebac49b6caf42d91ccd0c04 (HEAD -> dnd)
Author: Seunghun Lee <shiin.lee@samsung.com>
Date:   Thu Aug 11 09:45:03 2022 +0900

    seat: Rename ds_seat_keyboard_destroy_grab properly

    This renames ds_seat_keyboard_destroy_grab to
    ds_seat_keyboard_grab_destroy

    The function takes ds_seat_keyboard_grab as a first argument, and we
    use, by convention, name of object at the beginning of function
name.

Change-Id: Id993400d0376c7cef4924a1641d186bb1452e03c

2 years agotinyds-tdm: add null-check to prevent null pointer dereference 16/279816/1
duna.oh [Fri, 12 Aug 2022 09:09:26 +0000 (18:09 +0900)]
tinyds-tdm: add null-check to prevent null pointer dereference

Change-Id: I8e62560f3fb7ebb6e828978d9d20b5c6d502b9b2

2 years agotinyds-tdm: returns early to prevent null dereference 15/279815/1
duna.oh [Fri, 12 Aug 2022 08:46:36 +0000 (17:46 +0900)]
tinyds-tdm: returns early to prevent null dereference

Change-Id: I691bed00f777f74b2c504d9fa8a41749b48e3e3b

2 years agotinyds-tdm: clean up devicemgr related code 14/279814/1
duna.oh [Fri, 12 Aug 2022 08:13:32 +0000 (17:13 +0900)]
tinyds-tdm: clean up devicemgr related code

Change-Id: I92d3142f98f26c8d21dca7f3abd82a7698ca7c5f

2 years agotdm: the return value from read() should be checked 13/279813/1
duna.oh [Fri, 12 Aug 2022 06:32:37 +0000 (15:32 +0900)]
tdm: the return value from read() should be checked

Change-Id: I53526cb576f16eca858a900394f77d6af70544db

2 years agotinyds-tdm: free() an allocated object to prevent a memory leak 12/279812/1
duna.oh [Fri, 12 Aug 2022 05:41:38 +0000 (14:41 +0900)]
tinyds-tdm: free() an allocated object to prevent a memory leak

Change-Id: I8b3a6f9ebe22d50a5489a8a28757a5e7df395cb2

2 years agodevicemgr: null-checking to prevent null pointer dereference 11/279811/1
duna.oh [Fri, 12 Aug 2022 05:22:56 +0000 (14:22 +0900)]
devicemgr: null-checking to prevent null pointer dereference

Change-Id: Id40d4e7fde37d963bde2071d0def3fc4cc80c4d9

2 years agomerge tinyds-tdm-hwc code to tinyds-tdm 57/279757/1
Changyeon Lee [Tue, 16 Aug 2022 07:34:36 +0000 (16:34 +0900)]
merge tinyds-tdm-hwc code to tinyds-tdm

Change-Id: I15e9fd39f646b8fd7fd75ae4b957504a42b69c88

2 years agoexport ds_tdm_output_hwc_set_client_target_buffer 44/279744/2
Changyeon Lee [Tue, 16 Aug 2022 07:33:47 +0000 (16:33 +0900)]
export ds_tdm_output_hwc_set_client_target_buffer

Change-Id: Ifb7fe17bb2b57357c059c716eb7593237039d61a

2 years agolaunch: merge header files in one (launch.h) 58/279458/1
duna.oh [Tue, 9 Aug 2022 04:18:00 +0000 (13:18 +0900)]
launch: merge header files in one (launch.h)

Change-Id: I37f92da33205a3d8c457483be68f1c2519b3c682

2 years agoadd test cases for ds_tizen_embedded_compositor 02/279402/1
SooChan Lim [Mon, 8 Aug 2022 02:35:53 +0000 (11:35 +0900)]
add test cases for ds_tizen_embedded_compositor

Change-Id: Ic9a11417dfde46aec23bfc21164b4d7f1d39fbc5

2 years agoimplement ds_tizen_embedded_compsitor 01/279401/1
SooChan Lim [Mon, 8 Aug 2022 01:40:04 +0000 (10:40 +0900)]
implement ds_tizen_embedded_compsitor

This implement the server impelmentation for tizen_embedded_compositor
interface.

Change-Id: Icd0c42ad490397616bd91c023a3ca0661f0a3e5a

2 years agomerge tizends-tdm-libinput code to tinyds-tdm 82/279382/1
SooChan Lim [Mon, 8 Aug 2022 06:55:50 +0000 (15:55 +0900)]
merge tizends-tdm-libinput code to tinyds-tdm

Change-Id: Iac7a17b98776e88eb1a434f7318ed69c7cf839c8

2 years agomerge tizends-tdm-dpms code to tinyds-tdm 81/279381/1
SooChan Lim [Mon, 8 Aug 2022 06:46:33 +0000 (15:46 +0900)]
merge tizends-tdm-dpms code to tinyds-tdm

Change-Id: I647578cf6321fceb28ff15a4313f027a303e0241

2 years agolaunch: implement tizen_launch_effect, tizen_launch_splash 98/279198/1 accepted/tizen/unified/20220808.135412 submit/tizen/20220805.072229
duna.oh [Thu, 28 Jul 2022 05:54:09 +0000 (14:54 +0900)]
launch: implement tizen_launch_effect, tizen_launch_splash

Change-Id: I58c4c5e3b56237d370f56d0b7b96a5e8b058bfcc

2 years agofix the typo 38/278638/1
SooChan Lim [Fri, 22 Jul 2022 06:47:45 +0000 (15:47 +0900)]
fix the typo

Change-Id: Iab7a6a560047d7ae545515a3cfefff960c56e013

2 years agoadd test cases for ds_tizen_global_resource 37/278637/1
SooChan Lim [Fri, 22 Jul 2022 06:24:01 +0000 (15:24 +0900)]
add test cases for ds_tizen_global_resource

Change-Id: I5ee07c9a598c6470f5703aef3d71a1cd564cd7a2

2 years agoimpelement libds-tizen-global-resource 36/278636/1
SooChan Lim [Thu, 21 Jul 2022 11:54:26 +0000 (20:54 +0900)]
impelement libds-tizen-global-resource

This is the server implementation for tizen_surface protocol.

Change-Id: I40e97d4fedabe68e364ff9c9a95791311646216a

2 years agoadd test cases for ds_tizen_screen_rotation 35/278635/1
SooChan Lim [Fri, 22 Jul 2022 05:31:13 +0000 (14:31 +0900)]
add test cases for ds_tizen_screen_rotation

Change-Id: I35a3d6f5519d7c4f0f93d66bd71788415e8a83ef

2 years agoimpelement libds-tizen-screen-rotation 34/278634/1
SooChan Lim [Thu, 21 Jul 2022 08:19:58 +0000 (17:19 +0900)]
impelement libds-tizen-screen-rotation

This is the server implementation for tizen_screen_rotation protocol.

Change-Id: I5c7a71543edf8e6e12c6616cfaef8e7dec43fc01

2 years agoadd test cases for ds_tizen_renderer 33/278633/1
SooChan Lim [Fri, 22 Jul 2022 02:15:18 +0000 (11:15 +0900)]
add test cases for ds_tizen_renderer

Change-Id: I4f669d3fcf727c7109f0b8a81d14a12c55d3edbe

2 years agoimpelement libds-tizen-renderer 32/278632/1
SooChan Lim [Thu, 21 Jul 2022 07:43:21 +0000 (16:43 +0900)]
impelement libds-tizen-renderer

This is the server implementation for tizen_renderer protocol.

Change-Id: Id7d91034cf43e0ee201cc9ea3e92eb05305e2787

2 years agoadd test cases for ds_tizen_memory_flusher 31/278631/1
SooChan Lim [Fri, 22 Jul 2022 01:51:10 +0000 (10:51 +0900)]
add test cases for ds_tizen_memory_flusher

Change-Id: I3ca0315e7c90f357079d46fc8cb8bd55cd22fa1b

2 years agoimpelement libds-tizen-memory-flusher 30/278630/1
SooChan Lim [Thu, 21 Jul 2022 06:41:35 +0000 (15:41 +0900)]
impelement libds-tizen-memory-flusher

This is the server implementation for
tizen_surface_shm/tizen_surface_shm_flusher protocol.

Change-Id: I0731be582066cd3085fb03da9000b6a1697e093b

2 years agoadd test cases for ds_tizen_display_policy 29/278629/1
SooChan Lim [Thu, 21 Jul 2022 23:45:13 +0000 (08:45 +0900)]
add test cases for ds_tizen_display_policy

Change-Id: I8a140320dbe5547b65c214f44095dae2bf0d1283

2 years agoimpelement libds-tizen-display-policy 28/278628/1
SooChan Lim [Thu, 21 Jul 2022 04:54:34 +0000 (13:54 +0900)]
impelement libds-tizen-display-policy

This is the server implementation for tizen_display_policy protocol.

Change-Id: Idfa58ce16a1e6183cd3f44b5ac31d5a94e78233c

2 years agolaunch: implement appinfo interface 27/278627/1
duna.oh [Thu, 21 Jul 2022 17:41:29 +0000 (02:41 +0900)]
launch: implement appinfo interface

Change-Id: I6afd36726e16ed967bffc6f9b24c772c1740bab8

2 years agoindicator: create and bind global resource with version info 62/278462/1
SooChan Lim [Wed, 20 Jul 2022 23:30:20 +0000 (08:30 +0900)]
indicator: create and bind global resource with version info

Change-Id: Iaa20162c9a2d6a918e72e5071f7f7d809902f33e

2 years agofix the typo 61/278461/1
SooChan Lim [Wed, 20 Jul 2022 23:27:35 +0000 (08:27 +0900)]
fix the typo

Change-Id: I8a9325b59e7f6cf4e372554bde71386ca9d15514

2 years agoadd test cases for ds_tizen_clipboard 60/278460/1
SooChan Lim [Wed, 20 Jul 2022 08:13:47 +0000 (17:13 +0900)]
add test cases for ds_tizen_clipboard

These are unit testcases.

Change-Id: I17d0d392c3c8af7041fe93752b5facb6be7e41b5

2 years agoimpelement libds-tizen-clipboard 59/278459/1
SooChan Lim [Wed, 20 Jul 2022 07:11:22 +0000 (16:11 +0900)]
impelement libds-tizen-clipboard

This is the server implementation for tizen_clipboard protocol.

Change-Id: Idb03da717fd867bb9fd31e8bf9878e1006553ada

2 years agoadd indicator test cases 91/278391/1
SooChan Lim [Sun, 10 Jul 2022 04:48:27 +0000 (13:48 +0900)]
add indicator test cases

Change-Id: I6c755aff6ca1764b73289b64991544b26bed08fb

2 years agoadd mock client/compositor 90/278390/1
SooChan Lim [Sun, 10 Jul 2022 04:46:59 +0000 (13:46 +0900)]
add mock client/compositor

This is the mock classes for testing request/event interaction between
client and server.

Change-Id: Ide1366d47f3cae83944520c8459a62bf4d737a1f

2 years agoimpelement libds-tizen-indicator 89/278389/1
SooChan Lim [Thu, 7 Jul 2022 10:28:26 +0000 (19:28 +0900)]
impelement libds-tizen-indicator

This is the server implementation for tizen_indicator protocol.

Change-Id: I97efef30d5f9e5c540d51b92bcac43808b53951a

2 years agodevicemgr: implement pointer_warp 47/278247/1 accepted/tizen/unified/20220720.034120 submit/tizen/20220720.024540
duna.oh [Mon, 11 Jul 2022 16:26:50 +0000 (01:26 +0900)]
devicemgr: implement pointer_warp

Change-Id: Ia3054efdedc15b04b93f4b3e089fa1491c87f981

2 years agoadd libds-tizen-allocator-tbm tests 46/278246/1
SooChan Lim [Thu, 7 Jul 2022 23:11:23 +0000 (08:11 +0900)]
add libds-tizen-allocator-tbm tests

Change-Id: I305f0b527ff2b2408f7ce5017cfa8f5107d057fb

2 years agoadd .clang-format file 45/278245/1
SooChan Lim [Thu, 7 Jul 2022 23:09:51 +0000 (08:09 +0900)]
add .clang-format file

Change-Id: I988a24843b381135d65b53cb78bd8dfc4d11ce0a

2 years agoadd gtest files 44/278244/1
SooChan Lim [Thu, 7 Jul 2022 23:08:36 +0000 (08:08 +0900)]
add gtest files

Change-Id: I2d2c87aee0a1c842467d04d907f249ce4bd6b57b

2 years agoremove the test files. 43/278243/1
SooChan Lim [Thu, 7 Jul 2022 10:57:35 +0000 (19:57 +0900)]
remove the test files.

This test files are useless.

Change-Id: I0528e80430c947e1dfcf92f8b71860188d9d0ec5