platform/core/uifw/libds-tizen.git
3 days agopackaging: Update version to 0.1.8 15/325415/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250611.024024 accepted/tizen/unified/x/20250611.044712
SooChan Lim [Tue, 10 Jun 2025 07:13:53 +0000 (16:13 +0900)]
packaging: Update version to 0.1.8

Change-Id: Ia378aa05b002340727e6ea966bb6c3eacb2d37e6

3 days agosecurity: query creds for CLIENT_METHOD_SMACK 14/325414/1
SooChan Lim [Tue, 10 Jun 2025 07:13:35 +0000 (16:13 +0900)]
security: query creds for CLIENT_METHOD_SMACK

Change-Id: I137218d7aa6cb7cfcfc2a9181bd6f59598cc4ab3

4 days agopackaging: Update version to 0.1.7 99/325399/1
SooChan Lim [Tue, 10 Jun 2025 02:05:53 +0000 (11:05 +0900)]
packaging: Update version to 0.1.7

Change-Id: I57383e352236016bbcfc3bae6e7cab72859d12ab

4 days agosecurity: use cynara api instaed of smack api 98/325398/1
SooChan Lim [Tue, 10 Jun 2025 02:05:05 +0000 (11:05 +0900)]
security: use cynara api instaed of smack api

smack api will be deprecated. use cynara_creds_pid_get_client.

Change-Id: Ic04362921721e568bc50d591b794ef5f09562735

6 weeks agopackaging: Update version to 0.1.6 14/323414/1 accepted/tizen/unified/20250429.111539 accepted/tizen/unified/x/20250430.012755
Junkyeong Kim [Mon, 28 Apr 2025 05:48:08 +0000 (14:48 +0900)]
packaging: Update version to 0.1.6

Change-Id: Ia9f6fbde693cf205be5bb2274fba3f2fda859995

6 weeks agoRemove eom 92/323392/1
Junkyeong Kim [Mon, 28 Apr 2025 02:30:25 +0000 (11:30 +0900)]
Remove eom

Change-Id: I432366bd52ca978d0670441d896a9055b6d3a89e

2 months agopackaging: Update version to 0.1.5 72/321272/1 accepted/tizen/unified/20250319.072539 accepted/tizen/unified/x/20250319.090601
Junseok Kim [Mon, 17 Mar 2025 09:31:29 +0000 (18:31 +0900)]
packaging: Update version to 0.1.5

Change-Id: I65fd4c479847472c88daaa207669c06a6ed76a44

2 months agoscreen: Add setter for screen name and size 71/321271/1
Junseok Kim [Tue, 11 Mar 2025 01:02:32 +0000 (10:02 +0900)]
screen: Add setter for screen name and size

Change-Id: I3504c3f413e8cdf405115236ae6d4a5e2a5e0db6

3 months agopackaging: Update version to 0.1.4 57/320957/1 accepted/tizen/unified/20250313.070950 accepted/tizen/unified/x/20250313.140311
Junseok Kim [Wed, 12 Mar 2025 04:50:05 +0000 (13:50 +0900)]
packaging: Update version to 0.1.4

Change-Id: I48af055d739461039f47b2d041e993ef24d3a7d7

3 months agoscreen: Add handler for assign_surface request 21/320921/1
Junseok Kim [Thu, 16 Jan 2025 08:42:49 +0000 (17:42 +0900)]
screen: Add handler for assign_surface request

Change-Id: Ifaa96e96ee7b2c9d67705c83978b04cff033c242

3 months agosurface_exporter: Add documentation 23/320023/1
Seunghun Lee [Fri, 21 Feb 2025 02:01:26 +0000 (11:01 +0900)]
surface_exporter: Add documentation

Change-Id: I733d828b0a2c784b75ebee492129f7de0488ac92

4 months agoblur: Remove set_region request 40/319440/1 accepted/tizen/unified/20250212.101016 accepted/tizen/unified/x/20250218.043812
Changyeon Lee [Thu, 16 Jan 2025 09:12:23 +0000 (18:12 +0900)]
blur: Remove set_region request

Change-Id: I294f60af1a10c6581d5b8d63e474f2d908dc9973

6 months agopackaging: Update version to 0.1.3 43/316043/1 accepted/tizen_unified_x_asan accepted/tizen/unified/20241210.105106 accepted/tizen/unified/x/20241218.032823 accepted/tizen/unified/x/asan/20241224.004546
Seunghun Lee [Mon, 9 Dec 2024 04:51:16 +0000 (13:51 +0900)]
packaging: Update version to 0.1.3

Change-Id: I9821cddeea25a5f2cb278645e7cf9dd903f2e939

6 months agosurface_exporter: Add exception handler for overflow of ID pool 88/315988/1
Seunghun Lee [Fri, 6 Dec 2024 04:38:28 +0000 (13:38 +0900)]
surface_exporter: Add exception handler for overflow of ID pool

Change-Id: I0eb0422d4baba60a41e92721393fbb92057603b6

6 months agoRename global resource to surface exporter 87/315987/1
Seunghun Lee [Fri, 6 Dec 2024 03:26:49 +0000 (12:26 +0900)]
Rename global resource to surface exporter

Change-Id: I03f9a5e20b88684cb3617ab19531f223a6e3b3d0

6 months agoglobal_resource: Rework ds_tizen_global_resource 86/315986/1
Seunghun Lee [Thu, 5 Dec 2024 07:19:37 +0000 (16:19 +0900)]
global_resource: Rework ds_tizen_global_resource

The ds_tizen_global_resource assigns unique ID for a ds_surface which
may be shared between different wl_clients.
The ID of ds_surface may be assigned by clients using tizen_surface
protocol and calling ds_tizen_global_resource_get_or_create_ds_surface()
by compositor.

Change-Id: I5dc9b38f2cce516f863f34fbbcee742a40c10464

8 months agohwc: Modify ds_tizen_hwc destruction logic 49/317949/1 accepted/tizen_9.0_unified accepted/tizen_unified_toolchain tizen_9.0 accepted/tizen/9.0/unified/20241030.231741 accepted/tizen/unified/20240924.153216 accepted/tizen/unified/toolchain/20241004.102019 accepted/tizen/unified/x/20240925.015939 accepted/tizen/unified/x/asan/20241014.000419 tizen_9.0_m2_release
TaeHyeon Jeong [Wed, 4 Sep 2024 09:24:19 +0000 (18:24 +0900)]
hwc: Modify ds_tizen_hwc destruction logic

AS-IS
- when hwc is destroyed, client is not destroyed together

TO-BE
- client is also destroyed with hwc

Change-Id: I3706afeacc3388350391531188786cae3127eb3f

9 months agorenderer: Fix minor issue 97/317097/1 accepted/tizen_unified_dev accepted/tizen/unified/20240905.164036 accepted/tizen/unified/dev/20240910.111601 accepted/tizen/unified/x/20240906.021720
TaeHyeon Jeong [Wed, 4 Sep 2024 02:22:21 +0000 (11:22 +0900)]
renderer: Fix minor issue

Change-Id: I83e831b5a7f8085c3dd935a5af0e5b5cb88c12d2

9 months agorenderer: Remove unused function 96/317096/1
TaeHyeon Jeong [Wed, 4 Sep 2024 01:34:05 +0000 (10:34 +0900)]
renderer: Remove unused function

Change-Id: Ibc7292aa27d51a60b64523fb6ba239c2bc18a8e4

9 months agorenderer: Seperate info's lifecycle from client 95/317095/1
TaeHyeon Jeong [Wed, 4 Sep 2024 01:33:31 +0000 (10:33 +0900)]
renderer: Seperate info's lifecycle from client

AS-IS
- when the renderer_client is removed, the info is also erased

TO-BE
- regardless of the renderer_client's destruction, the info is maintained

Change-Id: I4af548b3f1c71b06183b09882095705fac31bb82

9 months agorenderer: Fix resource overwriting when renderer_surface get 93/317093/2
TaeHyeon Jeong [Tue, 3 Sep 2024 02:53:12 +0000 (11:53 +0900)]
renderer: Fix resource overwriting when renderer_surface get

AS-IS
- finds the info corresponding to renderer_client and ds_surface, and then overwrites info->resource with new wl_resource

TO-BE
- creates a new info each time and allocates a wl_resource

Change-Id: If76f2905c26b695c65270c963e0e2837561cdd0e

9 months agoRemove unused _client's destroy signal 85/317085/1
TaeHyeon Jeong [Tue, 13 Aug 2024 05:00:31 +0000 (14:00 +0900)]
Remove unused _client's destroy signal

Change-Id: Id652668f5aa989062ca598431da522881e26a265

9 months agoImprove wl_signal_emit() func call when children destroyed 84/317084/1
TaeHyeon Jeong [Tue, 13 Aug 2024 04:57:29 +0000 (13:57 +0900)]
Improve wl_signal_emit() func call when children destroyed

- AS-IS
if we try to add listener to info (child) using add_destroy_listener() func, listener is added to client (parent) rather than info.

for this reason, when info is destroyed, client's destroy signal is emitted, so all added listeners recive signal.

- TO-BE
client don't have info's destroy signal and info have its own destroy signal. so, when info is destroyed, info emits its own destroy signal.

Change-Id: Ida00bfc4d0bcb51c6df462281413ecf8d8024be0

9 months agoblur: Support wtz_blur_behind protocol 40/316740/1 accepted/tizen/unified/20240828.164010 accepted/tizen/unified/dev/20240829.043847 accepted/tizen/unified/x/20240829.020405
Changyeon Lee [Thu, 22 Aug 2024 02:52:04 +0000 (11:52 +0900)]
blur: Support wtz_blur_behind protocol

Change-Id: I8d05b48842718f28af03c7d5191fa095eab4901e

9 months agomemory_flusher: Remove useless version check 34/315834/2
TaeHyeon Jeong [Thu, 8 Aug 2024 05:36:46 +0000 (14:36 +0900)]
memory_flusher: Remove useless version check

Change-Id: I3ba16fa8dcba630eaa4beaa73f9be0c76c0e5aea

9 months agomemory_flusher: Add flusher version check 33/315833/2
TaeHyeon Jeong [Wed, 7 Aug 2024 08:26:08 +0000 (17:26 +0900)]
memory_flusher: Add flusher version check

Change-Id: If33ac0dc8f0d6ec9edf9b6acdeb50a3e5a6494c1

9 months agoblur: Fix missing reset pending flag of blur_rectangle 38/316138/1 accepted/tizen/unified/20240814.180412 accepted/tizen/unified/dev/20240819.095648 accepted/tizen/unified/x/20240819.023412
Changyeon Lee [Wed, 14 Aug 2024 03:25:54 +0000 (12:25 +0900)]
blur: Fix missing reset pending flag of blur_rectangle

Change-Id: I22a2557cde98951337747765365cabd5efe26326

10 months agotbm_server: Inlucde tbm_bufmgr_internal header 84/315984/1 accepted/tizen/unified/20240812.190155 accepted/tizen/unified/dev/20240813.035949 accepted/tizen/unified/x/20240813.112421
Changyeon Lee [Mon, 12 Aug 2024 02:32:37 +0000 (11:32 +0900)]
tbm_server: Inlucde tbm_bufmgr_internal header

Change-Id: I9052096372839f039fdf1403aa20d1ddae351cd2

10 months agohwc: Add commit_feedback destroy when client destroyed 77/315777/2
TaeHyeon Jeong [Wed, 31 Jul 2024 09:43:03 +0000 (18:43 +0900)]
hwc: Add commit_feedback destroy when client destroyed

Change-Id: I4959d3ae0dd604ba4c6084427e98eeddad8a8f53

10 months agorenderer: Fix dangling pointer 76/315776/1
TaeHyeon Jeong [Tue, 30 Jul 2024 08:43:22 +0000 (17:43 +0900)]
renderer: Fix dangling pointer

Change-Id: I9e11e2a45170130d1b941d43b4011d1e5083caa9

10 months agodpms: Move wl_signal_emit for consistency 62/315362/1
TaeHyeon Jeong [Thu, 25 Jul 2024 01:57:32 +0000 (10:57 +0900)]
dpms: Move wl_signal_emit for consistency

Change-Id: Id1d7dfeabb9f636c79d47bbca906b25be445d66a

10 months agodpms: Add wl_signal_emit in _tizen_dpms_client_cb_destroy() 61/315361/1
TaeHyeon Jeong [Wed, 24 Jul 2024 06:57:06 +0000 (15:57 +0900)]
dpms: Add wl_signal_emit in _tizen_dpms_client_cb_destroy()

Change-Id: I5f1b95b4bd645a812a53b0f012bc215928bc956a

10 months agoblur: Support wtz_blur_rectangle protocol 12/314912/1 accepted/tizen/unified/20240724.005734 accepted/tizen/unified/dev/20240724.110115 accepted/tizen/unified/toolchain/20240812.133402 accepted/tizen/unified/x/20240724.011810 accepted/tizen/unified/x/asan/20240813.231843
Changyeon Lee [Tue, 9 Jul 2024 08:36:35 +0000 (17:36 +0900)]
blur: Support wtz_blur_rectangle protocol

Support create_rectangle request and Remove set_region request

Change-Id: I673d777e55fdd3a270b97c87ca1ada757ad6c96b

12 months agoRevert "screen: add wtz_screen_set_opaque_region request callback" 03/312403/1 accepted/tizen/unified/20240611.162714 accepted/tizen/unified/dev/20240620.010158 accepted/tizen/unified/toolchain/20240624.121610 accepted/tizen/unified/x/20240612.030009 accepted/tizen/unified/x/asan/20240625.092736
Junseok Kim [Tue, 4 Jun 2024 11:09:55 +0000 (20:09 +0900)]
Revert "screen: add wtz_screen_set_opaque_region request callback"

This reverts commit e511fc05afa2bf1098a133ab9eb7fd646faa58c4.

Change-Id: Ifeb3b6ce3d43e3e2ebe00f7e343c9416c7fa6520

12 months agoscreen: add wtz_screen_set_opaque_region request callback 52/311952/1 accepted/tizen/unified/20240603.032429 accepted/tizen/unified/20240604.160810 accepted/tizen/unified/x/20240604.013025
Junseok Kim [Thu, 23 May 2024 00:39:56 +0000 (09:39 +0900)]
screen: add wtz_screen_set_opaque_region request callback

Change-Id: I299750529260c82a90a4d17e470397629a58baa4

13 months agochange wl_signal_emit_mutable into wl_signal_emit 39/310939/1 accepted/tizen/unified/20240513.053351 accepted/tizen/unified/x/20240514.011851
SooChan Lim [Fri, 10 May 2024 02:35:45 +0000 (11:35 +0900)]
change wl_signal_emit_mutable into wl_signal_emit

wl_signal_emit_mutable make the sigsegv crash at multi-threading situation.
So libds-tizen does not use wl_signal_emit_mutable till fixing it

Change-Id: I7bda8bafac54df4c45e0954ab8896d2d76197480

15 months agoblur: Reset the current committed flag when the pending committed is none 81/307781/1 accepted/tizen/unified/20240315.032932 accepted/tizen/unified/x/20240318.021747
Changyeon Lee [Tue, 12 Mar 2024 11:59:05 +0000 (20:59 +0900)]
blur: Reset the current committed flag when the pending committed is none

Change-Id: I7c8a45f0b88ac544a31418dac34e7d5938779988

15 months agoblender: Reset the current committed flag when the pending committed is none 80/307780/1
Changyeon Lee [Tue, 12 Mar 2024 11:58:13 +0000 (20:58 +0900)]
blender: Reset the current committed flag when the pending committed is none

Change-Id: I56fd12b833f6a9574c35981c4b590242e67624f6

15 months agotests: wayland requsets do not allow a null argument. 06/306806/1 accepted/tizen/unified/20240301.134601 accepted/tizen/unified/toolchain/20240311.065745 accepted/tizen/unified/x/20240304.072550 accepted/tizen/unified/x/20240304.072812
SooChan Lim [Wed, 28 Feb 2024 00:06:11 +0000 (09:06 +0900)]
tests: wayland requsets do not allow a null argument.

Wayland protocol does not allow the null argument of which type
is arrary anymore.

Change-Id: I8e00f68154aa064e7a0667e49253f67a97c90db0

16 months agoadd ds_tizen_blur 12/305612/1 accepted/tizen/unified/20240207.171601 accepted/tizen/unified/x/20240208.023004
Changyeon Lee [Wed, 15 Nov 2023 10:12:45 +0000 (19:12 +0900)]
add ds_tizen_blur

implementation of wtz-blur protocol

Change-Id: Idcf10764a957e53ce6aa3bc49381d4dbbfd37aea

17 months agoadd ds_tizen_blender 56/303556/1
Changyeon Lee [Tue, 19 Dec 2023 06:26:11 +0000 (15:26 +0900)]
add ds_tizen_blender

Change-Id: Icea8fd11ae642bad90dd6f094a6fc71583218e18

19 months agoscreen: add ds_tizen_screen 65/301265/1 accepted/tizen_8.0_unified tizen_7.0_mc tizen_8.0 accepted/tizen/8.0/unified/20231229.032728 accepted/tizen/unified/20231114.041330
SooChan Lim [Thu, 9 Nov 2023 10:03:11 +0000 (19:03 +0900)]
screen: add ds_tizen_screen

This is the implementation for wtz-screen server.

Change-Id: I645d1b3db5941c839a0d94417b3588ff4ccf3216

19 months agopixel_format: Add more format 58/301158/1 accepted/tizen/unified/20231110.172201
Seunghun Lee [Thu, 9 Nov 2023 06:18:46 +0000 (15:18 +0900)]
pixel_format: Add more format

Change-Id: Ie9fa3a4bdcbc5f59a951cd1744542eda8585253f

19 months agoExport ds_tizen_pixel_format_convert_tbm_to_drm 57/301157/1
Seunghun Lee [Thu, 9 Nov 2023 06:17:38 +0000 (15:17 +0900)]
Export ds_tizen_pixel_format_convert_tbm_to_drm

Change-Id: Ieabd837cdbdd66003344af52a1dde50304d8a6a7

19 months agotbm_server: Unreference tbm_surface when ds_buffer is destroyed 40/301140/1
Seunghun Lee [Mon, 6 Nov 2023 00:53:04 +0000 (09:53 +0900)]
tbm_server: Unreference tbm_surface when ds_buffer is destroyed

Although a wl_buffer resource is destroyed, a tbm_surface associated
with the wl_buffer still has to stay alive because we increases
reference count of tbm_surface with tbm_surface_internal_ref().
Since we don't need to drop the reference count of tbm_surface even when
wl_buffer resource is destroyed, so it's reasonable that we keep the
tbm_surface until ds_buffer is destroyed.

Change-Id: I58cd008f965b1cf84671eba3bfa774274d0df957

19 months agotbm_server: Reference/unreference tbm_surface 39/301139/1
Seunghun Lee [Mon, 6 Nov 2023 00:49:15 +0000 (09:49 +0900)]
tbm_server: Reference/unreference tbm_surface

This is to prevent tbm_surface from being destroyed while ds_buffer is
alive.

Change-Id: Iaab843d721d01b82a774094d91f03629e0a98fa4

19 months agolibds-tizen: make libds-tizen rpm package 30/300930/1 accepted/tizen/unified/20231107.172841
SooChan Lim [Mon, 6 Nov 2023 06:16:47 +0000 (15:16 +0900)]
libds-tizen: make libds-tizen rpm package

libds-tizen include all functionalities needed by Tizen Platform.

Change-Id: I7a7363250e46a9dc0dbac019a93b8c8ad798ac8d

21 months agoAdd gbm_server for supporting gbm_bo buffer 00/298600/1 accepted/tizen/8.0/unified/20231005.094159 accepted/tizen/unified/20230912.013622 tizen_8.0_m2_release
Changyeon Lee [Mon, 4 Sep 2023 04:25:27 +0000 (13:25 +0900)]
Add gbm_server for supporting gbm_bo buffer

Change-Id: Ic6191bb3cf025acfacdb15a385b0b1d9eb7c275c

21 months agoexamples: Remove unnecessary assignment 61/297961/1 accepted/tizen/unified/20230831.081028
Seunghun Lee [Tue, 29 Aug 2023 06:22:12 +0000 (15:22 +0900)]
examples: Remove unnecessary assignment

Change-Id: I8ad0759f8dea177a324fd9a8e475236a7ca43453

22 months agotbm_server: Decrease log level for buffer 26/297226/1 accepted/tizen/unified/20230822.162237
Seunghun Lee [Mon, 14 Aug 2023 06:35:48 +0000 (15:35 +0900)]
tbm_server: Decrease log level for buffer

Change-Id: I7db33a317e6c8aa05a05318e8b5967c5befb8060

22 months agoUse -fmacro-prefix-map to strip build path 25/297225/1
Seunghun Lee [Tue, 8 Aug 2023 05:16:46 +0000 (14:16 +0900)]
Use -fmacro-prefix-map to strip build path

This is taken from wlroots to strip the build-path dependent bytes
of each __FILE__ string used by ds_log and related functions.

Change-Id: I6ac9babf381efafb62f03c30da5c7f3da5e1d36f

22 months agotests: Fix unsafe mix of types in comparison 76/296676/1 accepted/tizen/unified/20230803.174834
Seunghun Lee [Wed, 2 Aug 2023 07:13:46 +0000 (16:13 +0900)]
tests: Fix unsafe mix of types in comparison

Change-Id: Ifd88ba0d67dc72e7ce60df75f976d37a0ba503d0

22 months agotests: Fix use of an uninitialized variable 75/296675/1
Seunghun Lee [Wed, 2 Aug 2023 06:47:14 +0000 (15:47 +0900)]
tests: Fix use of an uninitialized variable

Change-Id: Ib5f8255c54d876f641fe1af1a953014f6748cc42

23 months agoUse wl_signal_emit_mutable() 76/295276/1 accepted/tizen/unified/20230720.164644
Seunghun Lee [Thu, 11 May 2023 06:59:32 +0000 (15:59 +0900)]
Use wl_signal_emit_mutable()

It's a safer version of wl_signal_emit().

Change-Id: If8d1c68a19c7107ec580a118a97908600af9d63e

2 years agoExpose ds_tbm_server as ABI 95/294095/1
Seunghun Lee [Tue, 21 Feb 2023 04:29:06 +0000 (13:29 +0900)]
Expose ds_tbm_server as ABI

Change-Id: I19f37aaad954245ede523299f0c52a6a41390e17

2 years agotests: Fix build warning of -Wshadow 73/290573/1 accepted/tizen/unified/20230330.104243
Seunghun Lee [Wed, 29 Mar 2023 01:39:24 +0000 (10:39 +0900)]
tests: Fix build warning of -Wshadow

Change-Id: I1867d94617568a75e1378f4ebf70f86dcbe9c784

2 years agoeom: add xdg-shell-unstable-v6-server dependency 81/290181/2 accepted/tizen/unified/20230322.164705
Junkyeong Kim [Tue, 21 Mar 2023 06:15:03 +0000 (15:15 +0900)]
eom: add xdg-shell-unstable-v6-server dependency

Change-Id: I6191a480294887030ecf613eb769f21c5abe0486

2 years agotests: Fix build warning 09/290209/1
Seunghun Lee [Tue, 21 Mar 2023 06:17:13 +0000 (15:17 +0900)]
tests: Fix build warning

Change-Id: I917c771cfb0528c02f0befc48edc6f8927733591

2 years agotests: Fix a compile warning 04/290104/1 accepted/tizen/unified/20230320.164229 accepted/tizen/unified/20230321.035435
Seunghun Lee [Thu, 5 Jan 2023 04:45:59 +0000 (13:45 +0900)]
tests: Fix a compile warning

This silences a follow warning.

[  155s] /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*,
  const char*, unsigned int)' output truncated before terminating nul copying as many bytes
  from a string as its length [-Wstringop-truncation]
[  155s]   106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
[  155s]       | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[  155s] ../tests/tc_screenshooter.cpp: In function 'void client_registry_cb_global(void*,
  wl_registry*, uint32_t, const char*, uint32_t)':

Change-Id: Ibe959f4fdb0117b4b554558d29d79b50da0a6ed9

2 years agoFix build warnings which casues build error by -Werror option 98/290098/1
Seunghun Lee [Mon, 20 Mar 2023 06:41:29 +0000 (15:41 +0900)]
Fix build warnings which casues build error by -Werror option

Change-Id: I05856cfbf303fb2a84266c4fae264914239acb41

2 years agotinyds: fix the SVACE issue 59/289259/1 accepted/tizen/unified/20230313.022857
duna.oh [Tue, 21 Feb 2023 06:32:23 +0000 (15:32 +0900)]
tinyds: fix the SVACE issue

Change-Id: Ibdbdcb07c2c07cc3f3d5b05df62d73e4cfb066e4

2 years 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