platform/core/uifw/headless-server.git
2 years agoinput: Fix wrong return value 65/280765/3 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_7.0 tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.062328 accepted/tizen/7.0/unified/hotfix/20221116.110044 accepted/tizen/unified/20220908.013415 submit/tizen/20220906.003456 tizen_7.0_m2_release
Seunghun Lee [Mon, 5 Sep 2022 02:09:40 +0000 (11:09 +0900)]
input: Fix wrong return value

Change-Id: I92039fef769e4484cb826b2b345e4453711ce1da

2 years agoinput: Add null checks 64/280764/1
Seunghun Lee [Mon, 5 Sep 2022 02:06:46 +0000 (11:06 +0900)]
input: Add null checks

This adds null checks for xkb_context and xkb_keymap, also makes a
function for setting keymap for ds_keyboard.

Change-Id: If20e115c20491cf27e1a21a7fa77f15b97176a55

2 years agoinput: clean up devicemgr related code 89/280689/1
duna.oh [Fri, 2 Sep 2022 07:46:52 +0000 (16:46 +0900)]
input: clean up devicemgr related code

Change-Id: Ia8f04b19f3d41a7dc476201b1525a2377767f032

2 years agopackaging: Add xkeyboard-config dependency 21/280621/1 accepted/tizen/unified/20220901.224713 submit/tizen/20220901.093214
Seunghun Lee [Thu, 1 Sep 2022 08:20:17 +0000 (17:20 +0900)]
packaging: Add xkeyboard-config dependency

The xkeyboard-config is necessary to feed a keymap dataset to xkbcommon.
Otherwise, xkb_contexnt_new() will be failed.

Change-Id: I101cece10129a749ea2b78353445bebf27d0e1b7

2 years agooutput: Fix wrong return value 04/279104/1 accepted/tizen/unified/20220823.061610 submit/tizen/20220818.083245 submit/tizen/20220822.005318 submit/tizen/20220822.232422
Seunghun Lee [Tue, 2 Aug 2022 01:14:25 +0000 (10:14 +0900)]
output: Fix wrong return value

Change-Id: Idfdedc1f829b2403e78085e5fb99b7ee1b0565f4

2 years agooutput: Cleanup code 03/279103/1
Seunghun Lee [Tue, 2 Aug 2022 01:13:51 +0000 (10:13 +0900)]
output: Cleanup code

No functional changes

Change-Id: I0c5c75b27ba99315f63b6ec5431564ffbbc95946

2 years agoboot_ani: Change function signature properly 02/279102/1
Seunghun Lee [Tue, 2 Aug 2022 00:58:20 +0000 (09:58 +0900)]
boot_ani: Change function signature properly

No functional changes

Change-Id: I17146f399618950420d8b25f32131fd821586953

2 years agoUse a macro instead of string for dlog tag 01/279101/1
Seunghun Lee [Tue, 2 Aug 2022 00:40:06 +0000 (09:40 +0900)]
Use a macro instead of string for dlog tag

Change-Id: I56914f4d1c90f4a8cf76d40f87e440e8c40aa656

2 years agoRemove unused variable 00/279100/1
Seunghun Lee [Tue, 2 Aug 2022 00:35:48 +0000 (09:35 +0900)]
Remove unused variable

WAYLAND_DISPLAY is not meant to be used to create wayland socket.

Change-Id: I3eb9b9aab1cf4cd1daf0f188c36447547af405d3

2 years agoREADME: Replace pepper keyboard with libds 99/279099/1
Seunghun Lee [Mon, 1 Aug 2022 08:25:35 +0000 (17:25 +0900)]
README: Replace pepper keyboard with libds

Change-Id: Ic4c2aabc1aebd01a1e19959a1d0227c5a5660571

2 years agobuild: Fix parameters for AC_INIT 98/279098/1
Seunghun Lee [Mon, 1 Aug 2022 08:23:34 +0000 (17:23 +0900)]
build: Fix parameters for AC_INIT

Change-Id: I90f2588d37b7e598be3567221cb8e241c1888aa9

2 years agoAdd idle task after creating a view 97/279097/1
Seunghun Lee [Mon, 1 Aug 2022 08:17:55 +0000 (17:17 +0900)]
Add idle task after creating a view

Change-Id: I91bab91394ce92581b9ea56d659cae99da5b03e9

2 years agoshell: Send visibility events in shell 96/279096/1
Seunghun Lee [Mon, 25 Jul 2022 06:41:46 +0000 (15:41 +0900)]
shell: Send visibility events in shell

This is to separate implementation of visibliity from headless_server.c.

No functional changes.

Change-Id: I5635e42a92af7855bdca55a38228adfc0046dba2

2 years agoRename variables to be more clear 95/279095/1
Seunghun Lee [Mon, 25 Jul 2022 04:56:11 +0000 (13:56 +0900)]
Rename variables to be more clear

Change-Id: I1e7197cdc4481ab7f856f1f7ec28320ca8d42f64

2 years agoshell: Split into multiple files 94/279094/1
Seunghun Lee [Mon, 25 Jul 2022 04:41:21 +0000 (13:41 +0900)]
shell: Split into multiple files

This organizes the headless_shell implementation into separate files.

No functional changes, just moving code around.

Change-Id: Ibf793a2af4dc0860b8d067f2c5dc5b731535477c

2 years agoFix formatting 93/279093/1
Seunghun Lee [Mon, 25 Jul 2022 04:17:49 +0000 (13:17 +0900)]
Fix formatting

Change-Id: Ibd617c295dbf2b3e6058999efa6e14a265dfbb3b

2 years agoinput: Remove pepper dependency from input 92/279092/1
Seunghun Lee [Mon, 25 Jul 2022 00:47:25 +0000 (09:47 +0900)]
input: Remove pepper dependency from input

Change-Id: Ic322ec4807983439cf5ebfce198a310a3681f6e9

2 years agoinput: Use ds_tizen_input_devicemgr 91/279091/1
duna.oh [Fri, 8 Jul 2022 01:12:33 +0000 (10:12 +0900)]
input: Use ds_tizen_input_devicemgr

Change-Id: I7a75887e4cdd6a9021e635d03f5c29f7de3556af

2 years agoinput: Fix segfault caused by the access null 90/279090/1
Seunghun Lee [Wed, 6 Jul 2022 07:31:04 +0000 (16:31 +0900)]
input: Fix segfault caused by the access null

Change-Id: I5b45ab184dbd216de35ad032c03b469aab2116d8

2 years agoUse ds_tizen_keyrouter 89/279089/1
Seunghun Lee [Wed, 6 Jul 2022 06:52:31 +0000 (15:52 +0900)]
Use ds_tizen_keyrouter

Change-Id: I6c32a362e1d761ea45f5da717d0fd0b4daa7c12b

2 years agoHandle ds_seat 88/279088/1
Seunghun Lee [Wed, 29 Jun 2022 08:37:26 +0000 (17:37 +0900)]
Handle ds_seat

Change-Id: I2ab777726cb7edef0e53261bfe292f7ed718fc31

2 years agoAdd keyboard device 87/279087/1
Seunghun Lee [Tue, 28 Jun 2022 00:23:40 +0000 (09:23 +0900)]
Add keyboard device

Change-Id: I788ce93d738d6e1e284b1f12de0ddb94592339e2

2 years agoRemove pepper dependency from debug functionality
Seunghun Lee [Mon, 23 May 2022 01:41:31 +0000 (10:41 +0900)]
Remove pepper dependency from debug functionality

Change-Id: I28bbbb33a38a8b691cd6858fecae3255b79e99c6

2 years agoUse libds for wayland compositor
Seunghun Lee [Tue, 10 May 2022 08:59:00 +0000 (17:59 +0900)]
Use libds for wayland compositor

This is an attempt to use libds library instead of pepper for building
headless wayland compositor.

Change-Id: If04a01b275af1e6ed42718f73cf1b93da1c15990

2 years agoscripts: add PATH variable 63/268863/1 accepted/tizen/unified/20220104.123136 submit/tizen/20220104.064811
Sung-Jin Park [Tue, 4 Jan 2022 04:08:11 +0000 (13:08 +0900)]
scripts: add PATH variable

Change-Id: I48183fc44bb16b50878b8b7a7988745724c810a6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoheadless_server : add tbm bufmgr server init/deinit 82/268482/2 accepted/tizen/unified/20211224.035241 submit/tizen/20211223.110052
dyamy-lee [Thu, 23 Dec 2021 10:36:14 +0000 (19:36 +0900)]
headless_server : add tbm bufmgr server init/deinit

For using tbm buffer, it needs tbm_bufmgr_server_init.
THis is missed when it is integrated with doctor

Change-Id: I97a6a63a5ccfe3cbc348cb432312b6d19cdc59d6

2 years agoMerge "shell : add null check of pepper list when using pepper_list_for_each_list... accepted/tizen/unified/20211223.215716 submit/tizen/20211223.021126
DaYe Lee [Thu, 23 Dec 2021 02:07:08 +0000 (02:07 +0000)]
Merge "shell : add null check of pepper list when using pepper_list_for_each_list" into tizen

2 years agoshell : add null check of pepper list when using pepper_list_for_each_list 27/268427/1
dyamy-lee [Wed, 22 Dec 2021 10:32:28 +0000 (19:32 +0900)]
shell : add null check of pepper list when using pepper_list_for_each_list

Change-Id: I7ac045ff9ef92ebf3d141975931c8c6e285c7d8e
(cherry picked from commit cffa344a398a246bef8945470d3ad1a59097ccc1)

2 years agoshell : remove null check of top which can't be null 26/268426/1
dyamy-lee [Wed, 22 Dec 2021 06:26:54 +0000 (15:26 +0900)]
shell : remove null check of top which can't be null

Change-Id: I2d00b106e57a74644b25d6eeb03c1110d2ff7f80
(cherry picked from commit 73b5439572943398e237fc29519a289a17842868)

2 years agopackaging: apply ASLR 07/268207/2 accepted/tizen/unified/20211219.211407 submit/tizen/20210604.124342 submit/tizen/20210604.131213 submit/tizen/20211217.073219
Sung-Jin Park [Fri, 4 Jun 2021 10:48:48 +0000 (19:48 +0900)]
packaging: apply ASLR

Change-Id: Ia911cc3c62e7cdeff66bf89dd84d36c6d838b329
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoboot_anim: fix checking ani->source when adding event loop timer 25/268125/3
ulgal-park [Thu, 16 Dec 2021 09:38:03 +0000 (18:38 +0900)]
boot_anim: fix checking ani->source when adding event loop timer

Change-Id: I62d050e01ee4562b299281d9b36a53f9b07c424a

2 years agoshell: fix destroying not allocated resource 24/268124/3
ulgal-park [Thu, 16 Dec 2021 08:53:19 +0000 (17:53 +0900)]
shell: fix destroying not allocated resource

Change-Id: Ia631e6533c9605bd00246f501af507d2fd4e9292

2 years agodebug: fix printing error msg to use strerror_r() for thread safety 23/268123/2
ulgal-park [Thu, 16 Dec 2021 08:29:36 +0000 (17:29 +0900)]
debug: fix printing error msg to use strerror_r() for thread safety

Change-Id: I337a002d274cd9eed971c58a086ecbce88f1b8d3

2 years agounits: fix to check speaker correctly 05/267505/1 accepted/tizen/unified/20211207.133118 submit/tizen/20211206.095509
Sung-Jin Park [Mon, 6 Dec 2021 08:54:25 +0000 (17:54 +0900)]
units: fix to check speaker correctly

Change-Id: I739344684d568de8980f37b0e7ed821a2cc660fc
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoshell: fix only to access when shell is not NULL 15/266615/1 accepted/tizen/unified/20211129.092905 submit/tizen/20210604.071014 submit/tizen/20211129.081032
Sung-Jin Park [Wed, 9 Jun 2021 04:29:44 +0000 (13:29 +0900)]
shell: fix only to access when shell is not NULL

Change-Id: I6116da03f55016df6c5f7271a39497e7ec2bc84c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoshell: add checking hs_surface before accessing it 14/266614/1
Sung-Jin Park [Wed, 9 Jun 2021 04:16:51 +0000 (13:16 +0900)]
shell: add checking hs_surface before accessing it

Change-Id: I160d6e85dd1f107ca1295dedc727e57b6986f4bb
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agooutput: fix DEREF_AFTER_NULL issue 13/266613/1
Sung-Jin Park [Wed, 9 Jun 2021 04:10:48 +0000 (13:10 +0900)]
output: fix DEREF_AFTER_NULL issue

Change-Id: I20b66908cf2ca43ad3f6f3b5fe4d5a67ffeddc4f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agooutput: fix NULL_AFTER_DEREF issue 12/266612/1
Sung-Jin Park [Wed, 9 Jun 2021 04:09:09 +0000 (13:09 +0900)]
output: fix NULL_AFTER_DEREF issue

Change-Id: I6f2108b39aecbc87bffa0c3e1cf6b30009af6883
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
3 years agoinput : add get capabilities by env and event listeners about pointer, touch for...
dyamy-lee [Fri, 12 Nov 2021 05:16:23 +0000 (14:16 +0900)]
input : add get capabilities by env and event listeners about pointer, touch for integration doctor function

Change-Id: Iff8de4ced6c08f1cd61f86f9687eb49a993c08b1
(cherry picked from commit 3cc9b489271abc1093835cb925c4b3299ee84e6b)

3 years agospec file and scripts : for selective performance, add start script and execute this...
dyamy-lee [Fri, 12 Nov 2021 05:21:06 +0000 (14:21 +0900)]
spec file and scripts : for selective performance, add start script and execute this by display-manager.service

Change-Id: Id9144de7b32788f97447b9d3ad537a1f9e01699a
(cherry picked from commit 93c49782605e2e25ccbd65ac315329291e7a8b1e)

3 years agoheadless_server : seperate headless-output function for selective action
dyamy-lee [Fri, 12 Nov 2021 06:02:08 +0000 (15:02 +0900)]
headless_server : seperate headless-output function for selective action

Change-Id: I5588abd49502aeac9a8f8e7fb4cdb30c017fd04c
(cherry picked from commit cf68a6aa3d32547749bef5e8a35810d4105e7888)

3 years agoinput : add various input devices by it's capabilities from each environment not...
dyamy-lee [Fri, 12 Nov 2021 06:25:15 +0000 (15:25 +0900)]
input : add various input devices by it's capabilities from each environment not only keyboard.

Change-Id: I3b54904ad2a86b0d19a63c55dbd8088d63394e44
(cherry picked from commit c2bcdde8af7c16a151b0b38f53f1e5ad128daba5)

3 years agoadd name argument as null at pepper_compositor_create 41/262541/1 accepted/tizen/6.5/unified/20211028.115755 accepted/tizen/unified/20210816.122925 submit/tizen/20210813.050356 submit/tizen_6.5/20211028.163101 tizen_6.5.m2_release
SooChan Lim [Fri, 13 Aug 2021 05:43:14 +0000 (14:43 +0900)]
add name argument as null at pepper_compositor_create

Change-Id: I7c8372156e6eea6c0b353de90ef7ef1e5f11400a

5 years agoInitial version of headless-server accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix import tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix tizen_6.0_hotfix accepted/tizen/5.5/unified/20191031.020308 accepted/tizen/5.5/unified/mobile/hotfix/20201027.080110 accepted/tizen/5.5/unified/wearable/hotfix/20201027.111134 accepted/tizen/6.0/unified/20201030.113934 accepted/tizen/6.0/unified/hotfix/20201103.002057 accepted/tizen/unified/20190805.104341 submit/tizen/20190805.064108 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 submit/tizen_5.5_wearable_hotfix/20201026.184305 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_5.5.m2_release tizen_6.0.m2_release
Sung-Jin Park [Mon, 5 Aug 2019 06:25:18 +0000 (15:25 +0900)]
Initial version of headless-server

- Ref revision : b83ac3bcee706dd9043136f603596bbad9d16f46

Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
5 years agoInitial empty repository master
Tizen Infrastructure [Mon, 5 Aug 2019 05:49:25 +0000 (05:49 +0000)]
Initial empty repository