platform/core/uifw/mmi-manager.git
2 years agommi-manager.h: add extern 'C' wrapper to allow cpp files to refer its APIs 14/264214/1
Duna Oh [Tue, 14 Sep 2021 07:25:58 +0000 (16:25 +0900)]
mmi-manager.h: add extern 'C' wrapper to allow cpp files to refer its APIs

Change-Id: Idb7dfbab9a6e521484bed7347a7469e4a25085aa

2 years agommi_provider:fix the wrong array index of _provider_event_handlers 13/264213/1
Duna Oh [Tue, 14 Sep 2021 07:25:07 +0000 (16:25 +0900)]
mmi_provider:fix the wrong array index of _provider_event_handlers

Change-Id: I8dce0cc02eea70871247e9b68756e657bda5a5fb

2 years agopackaging: disable compiling tidl temporarily 60/264160/1 accepted/tizen/unified/20210914.053333 submit/tizen/20210914.041950
Sung-Jin Park [Tue, 14 Sep 2021 03:16:14 +0000 (12:16 +0900)]
packaging: disable compiling tidl temporarily

Change-Id: I5fec351645d98fd88cc113be239ad26424fdc383
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoiu: Support to send event 40/264140/1
Jihoon Kim [Mon, 13 Sep 2021 11:39:25 +0000 (20:39 +0900)]
iu: Support to send event

Change-Id: I961a77e2e3006e87e8ce7a895859b263eae5a611
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agobuild, packaging, src, tests: restructure source tree to provide libmmimgr library... 09/264109/1
Sung-Jin Park [Mon, 13 Sep 2021 08:35:08 +0000 (17:35 +0900)]
build, packaging, src, tests: restructure source tree to provide libmmimgr library for modules

Change-Id: I059ab1d426b97cb6d63a642bf027ad0f9fbee9a8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoiu: Fix unittest fail issue 08/264108/1
Jihoon Kim [Mon, 13 Sep 2021 04:31:57 +0000 (13:31 +0900)]
iu: Fix unittest fail issue

Change-Id: If32e09b22eaf8b1fa0cec5bc9804d984e4edaa80
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoiu: Change OK key event as Ok 07/264107/1
Jihoon Kim [Mon, 13 Sep 2021 04:31:03 +0000 (13:31 +0900)]
iu: Change OK key event as Ok

Change-Id: I92148e8cacf0442e7a185728400f989f5a0b4b18
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agobuild: fix to install debug header 06/264106/1
Sung-Jin Park [Mon, 13 Sep 2021 07:28:09 +0000 (16:28 +0900)]
build: fix to install debug header

Change-Id: Id6626d229e2fce23c3c5b02cc9a860f013e17e32
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agobuild: remove invalid modules from meson.build 05/264105/1
Sung-Jin Park [Mon, 13 Sep 2021 07:20:57 +0000 (16:20 +0900)]
build: remove invalid modules from meson.build

Change-Id: Ie323283981db4bbc0629443d301543ebd1d3637c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoiu: Add bridge code between mmi-manager and iu 04/264104/1
Jihoon Kim [Thu, 9 Sep 2021 11:03:41 +0000 (20:03 +0900)]
iu: Add bridge code between mmi-manager and iu

Change-Id: I4ae67aebd57c6cd5392bbf09e293229883c93f95
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoiu: Replace event type with the enum in mmi-common.h 03/264103/1
Jihoon Kim [Wed, 8 Sep 2021 02:30:04 +0000 (11:30 +0900)]
iu: Replace event type with the enum in mmi-common.h

Change-Id: I1401a1098ea6b661357cd007a49bbad5e3d6cc95
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agommi: add NULL checks and free allocated variables to prevent RESOURCE_LEAK 02/264102/1
Duna Oh [Fri, 10 Sep 2021 07:58:36 +0000 (16:58 +0900)]
mmi: add NULL checks and free allocated variables to prevent RESOURCE_LEAK

Change-Id: I4795673e189f75c8b294aa85b17352a244ad4da5

2 years agowayland-input : check calloc returns NULL 01/264101/1
dyamy-lee [Fri, 10 Sep 2021 05:46:12 +0000 (14:46 +0900)]
wayland-input : check calloc returns NULL

Change-Id: Ib9fa0a073f2308306fcfaccad8cec40d1e247934

2 years agommi-api-handler: remove unreachable code 00/264100/1
Sung-Jin Park [Thu, 9 Sep 2021 09:05:55 +0000 (18:05 +0900)]
mmi-api-handler: remove unreachable code

Change-Id: I3cf3a3acb2adf3596d22c005addb552f2c48ae27
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoiu: fix issue detected by static analysis tool 99/264099/1
Jihoon Kim [Thu, 9 Sep 2021 08:50:27 +0000 (17:50 +0900)]
iu: fix issue detected by static analysis tool

Change-Id: I94ee32dedd12f284de2981128458a05062fdacca
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoref-fusion: remove unused event handler 98/264098/1
Sung-Jin Park [Wed, 8 Sep 2021 12:30:25 +0000 (21:30 +0900)]
ref-fusion: remove unused event handler

Change-Id: I18b6184f6d28bd8432c91589c20e3dbfad508d5b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: implement set_state() for a given client 97/264097/1
Sung-Jin Park [Wed, 8 Sep 2021 12:27:16 +0000 (21:27 +0900)]
mmi-manager: implement set_state() for a given client

Change-Id: I086675ba251783bf640bfe8aee58c8c6ca2100da
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoref-fusion: implement focus/state change callbacks and set_state() 96/264096/1
Sung-Jin Park [Wed, 8 Sep 2021 12:24:25 +0000 (21:24 +0900)]
ref-fusion: implement focus/state change callbacks and set_state()

Change-Id: I91ab02ce71a27cfd6c27ca025a2190cbde3d994b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-fusion: add apis for getting a fusion handle, getting/setting state of the fusion 95/264095/1
Sung-Jin Park [Wed, 8 Sep 2021 12:21:35 +0000 (21:21 +0900)]
mmi-fusion: add apis for getting a fusion handle, getting/setting state of the fusion

Change-Id: I8b65301c816703a62c9afe5b3f0338882d9754c4
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agomodality_keyboard: fix not to create MMI_PROVIDER_EVENT_KEY type newly 94/264094/1
Sung-Jin Park [Wed, 8 Sep 2021 04:56:19 +0000 (13:56 +0900)]
modality_keyboard: fix not to create MMI_PROVIDER_EVENT_KEY type newly

Change-Id: I89f0ecaa5ab5b9a758fe10d2ee49072bf9a6ac1b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager : resolving when client shutdown, mmi-manager abort unexpected because... 93/264093/1
dyamy-lee [Wed, 8 Sep 2021 00:48:01 +0000 (09:48 +0900)]
mmi-manager : resolving when client shutdown, mmi-manager abort unexpected because of focus.

When client shutdown, it doesn't need to set 'focus out' about this client, because it already disconnected.
Also, if it need to set 'focus in' to new client which is in _focus_candidates, it should be deleted from _focus_candidates when it set 'focus in'.

Change-Id: I3bd110331048bf847c57d91c24f8256d93b98c11

2 years agommi-fusion: initiate a fusion module found for the first time 92/264092/1
Sung-Jin Park [Tue, 7 Sep 2021 13:36:12 +0000 (22:36 +0900)]
mmi-fusion: initiate a fusion module found for the first time

Change-Id: I963cdc5e3a137e40a1404f2605cc7b14868d3f70
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoref_fusion: override b_lundef option to 'false' 91/264091/1
Sung-Jin Park [Tue, 7 Sep 2021 14:50:37 +0000 (23:50 +0900)]
ref_fusion: override b_lundef option to 'false'

Change-Id: Ic62a35e28dbcd0b36fa34c447baa7122a6141103
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agomodality_keyboard: override b_lundef option to 'false' 90/264090/1
Sung-Jin Park [Tue, 7 Sep 2021 14:38:59 +0000 (23:38 +0900)]
modality_keyboard: override b_lundef option to 'false'

The modality_keyboard module is a module of mmi-manager and it'll be loaded
and used by dlopen/dlsym and some variables and apis of mmi-manager will be used
by the module. As mmi-manager is an executable, it doesn't export variables
and apis to a module. Therefore building modality_keyboard module will make
build errors like 'undefined reference to XXX'.

To not make the undefined reference errors when building modality_keyboard module,
we override b_lundef option to 'false'. Please note that the default value of
b_lundef option is 'true'.

Of cource, setting b_lundef option to 'false' will hide all the other undefined
 reference errors other than errors related to symbols of mmi-manager. Thus, we
will make mmi-manager into a share library soon. Please refer to it.

Change-Id: I7737bcec648d4f73cca81ca707534236465244b9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: set export_dynamic to true for modules(.so) of mmi-manager 89/264089/1
Sung-Jin Park [Tue, 7 Sep 2021 14:35:44 +0000 (23:35 +0900)]
mmi-manager: set export_dynamic to true for modules(.so) of mmi-manager

For shared module to be able to refer to functions and variables defined in
mmi-manager executable, we set export_dynamic to 'true' in meson.build file.

Change-Id: I7b66b964e7b4281a24e51ccb303cf45ebbc5ed26
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-keyboard-provider, wayland-input : change indent space to tab about modality_keyboard 88/264088/1
dyamy-lee [Tue, 7 Sep 2021 03:19:11 +0000 (12:19 +0900)]
mmi-keyboard-provider, wayland-input : change indent space to tab about modality_keyboard

Change-Id: Idfd1d87f0b9017aac1954ab4ed6894c00538ae3e

2 years agoFix typo in gesture type 87/264087/1
Jihoon Kim [Mon, 6 Sep 2021 12:10:49 +0000 (21:10 +0900)]
Fix typo in gesture type

Change-Id: I04b2a030ba1338649dfe8106dc5ffe4531b712f7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agommi-provider: add mmi provider event handlers for debugging 86/264086/1
Sung-Jin Park [Mon, 6 Sep 2021 08:12:00 +0000 (17:12 +0900)]
mmi-provider: add mmi provider event handlers for debugging

Change-Id: I41f8d150d0787c1d91e7dba68255c9db7e0dc01c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: add definitions of MMI_PROVIDER_EVENT_XXX 85/264085/1
Sung-Jin Park [Mon, 6 Sep 2021 08:06:34 +0000 (17:06 +0900)]
mmi-manager: add definitions of MMI_PROVIDER_EVENT_XXX

Change-Id: Ic220ac7697feb512ce95701818494e332c821630
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: remove unused file (mmi-manager-event-types.h) 84/264084/1
Sung-Jin Park [Mon, 6 Sep 2021 06:14:53 +0000 (15:14 +0900)]
mmi-manager: remove unused file (mmi-manager-event-types.h)

Change-Id: I2d80cab03c7a8e4e32c5ae70e403f627109063a9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agomodality_keyboard : add include_directories in build and change header path 83/264083/1
dyamy-lee [Mon, 6 Sep 2021 09:51:44 +0000 (18:51 +0900)]
modality_keyboard : add include_directories in build and change header path

Change-Id: Ie224b648e1dca9b4bb027caf3feff1e4bf412819

2 years agommi-manager : set client has focus state when it change 82/264082/1
dyamy-lee [Mon, 6 Sep 2021 09:08:05 +0000 (18:08 +0900)]
mmi-manager : set client has focus state when it change

Change-Id: I799756d5b3d549351ba9fa231c80fc61b9a4a6a2

2 years agommi-keyboard-provider : op_mode changes to extern, wayland-input : check op mode... 81/264081/1
dyamy-lee [Thu, 26 Aug 2021 10:36:40 +0000 (19:36 +0900)]
mmi-keyboard-provider : op_mode changes to extern, wayland-input : check op mode - when PROPAGATE_EVENT, can add event

Change-Id: I4ac892b00a606c230a4a74204a9e0361f36cbf0d

2 years agowayland-input : add/free mmi_provider_event_key event and separate this as function 80/264080/1
dyamy-lee [Thu, 26 Aug 2021 10:05:37 +0000 (19:05 +0900)]
wayland-input : add/free mmi_provider_event_key event and separate this as function

Change-Id: I7f56a12afba8246e21df023e313dda434def7bb0

2 years agommi-client: destroy all event handles which belong to a disconnected client 79/264079/1
Sung-Jin Park [Sat, 4 Sep 2021 04:39:12 +0000 (13:39 +0900)]
mmi-client: destroy all event handles which belong to a disconnected client

Change-Id: I4afbd29c21420578ad68dd077aad6456275b5fa3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoref-fusion: add definition of needed caps for each mmi state 78/264078/1
Sung-Jin Park [Sat, 4 Sep 2021 07:33:16 +0000 (16:33 +0900)]
ref-fusion: add definition of needed caps for each mmi state

Change-Id: I34ab1bb799777bf122c4c30102e0b7ad9d723542
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: fill out args of each event before sending to app and fix indentation 77/264077/1
Sung-Jin Park [Fri, 3 Sep 2021 12:38:24 +0000 (21:38 +0900)]
mmi-client: fill out args of each event before sending to app and fix indentation

Change-Id: I59774a1b648f67f49e28e4fdc4b5e0daffbdfa8c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: set client state in _state_change_cb 76/264076/1
Sung-Jin Park [Fri, 3 Sep 2021 12:33:10 +0000 (21:33 +0900)]
mmi-manager: set client state in _state_change_cb

Change-Id: I8cc67f2fe4bb56947f48d330d8cbf32305f7a72b
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: remove unnecessary args_size variable 75/264075/1
Sung-Jin Park [Fri, 3 Sep 2021 12:31:34 +0000 (21:31 +0900)]
mmi-manager: remove unnecessary args_size variable

Change-Id: I76a606f9f65dcfdf5c9e6ea2ba7f5ed9777fc8cd
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoref-fusion: implement basic MMI_MANAGER_EVENT_FOCUS/STATE_CHANGE event handlers 74/264074/1
Sung-Jin Park [Fri, 3 Sep 2021 12:30:48 +0000 (21:30 +0900)]
ref-fusion: implement basic MMI_MANAGER_EVENT_FOCUS/STATE_CHANGE event handlers

Change-Id: I6686e9f5034bcc1799909da7e715ff9c52adee21
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoref-fusion: fix formatting and module name 73/264073/1
Sung-Jin Park [Thu, 2 Sep 2021 10:57:05 +0000 (19:57 +0900)]
ref-fusion: fix formatting and module name

Change-Id: I9904834a514674706cb1960ad3f7797ffb8bf147
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoref-fusion: fix the way to include headers 72/264072/1
Sung-Jin Park [Fri, 3 Sep 2021 07:06:17 +0000 (16:06 +0900)]
ref-fusion: fix the way to include headers

Change-Id: I3d1246319b95aeb0faf332bef212313c41b81cb0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agobuild: remove link option and correct build orders between mmi-manager and modules 71/264071/1
Sung-Jin Park [Fri, 3 Sep 2021 06:58:36 +0000 (15:58 +0900)]
build: remove link option and correct build orders between mmi-manager and modules

Change-Id: I4e280af6471266c614947d1ed2163b896aac5699
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-common: import definition of MMI_MANAGER_EVENT_XXX_CHANGE event from mmi-manager 70/264070/1
Sung-Jin Park [Fri, 3 Sep 2021 06:43:27 +0000 (15:43 +0900)]
mmi-common: import definition of MMI_MANAGER_EVENT_XXX_CHANGE event from mmi-manager

Change-Id: I548e4800b6f7e0fcb2d76585e1641c7d18b04917
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-provider: implement set_op_mode_on_caps()/register_caps() apis 69/264069/1
Sung-Jin Park [Thu, 2 Sep 2021 08:14:04 +0000 (17:14 +0900)]
mmi-provider: implement set_op_mode_on_caps()/register_caps() apis

Change-Id: I7380a6d5d70c752936d6d9731f3f3344f5ed0320
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-provider-iface: correct mmi_provider_handler -> mmi_provider_handle* in register_... 68/264068/1
Sung-Jin Park [Thu, 2 Sep 2021 08:10:57 +0000 (17:10 +0900)]
mmi-provider-iface: correct mmi_provider_handler -> mmi_provider_handle* in register_caps()

Change-Id: I2ea64222f85f6d668a285fcf8a89522b3b739816
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-provider: set capabilities and op_mode of provider handle properly 67/264067/1
Sung-Jin Park [Thu, 2 Sep 2021 09:32:55 +0000 (18:32 +0900)]
mmi-provider: set capabilities and op_mode of provider handle properly

Change-Id: Ibebd2d002f18ae11c620e489ee9ec1ed0c76d544
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agowayland-input : change parameter/retern value's type int to unsigned int, add map... 66/264066/1
dyamy-lee [Thu, 26 Aug 2021 09:55:51 +0000 (18:55 +0900)]
wayland-input : change parameter/retern value's type int to unsigned int, add map unref

it changed to follow event handler type
when it shutdown, it needs keymap unref

Change-Id: I8ae1523bf42d7050905e9aa5ae046bafd58751d9

2 years agowayland-input : add ecore fd handler for polling ecore fd change when get request 65/264065/1
dyamy-lee [Thu, 26 Aug 2021 08:33:33 +0000 (17:33 +0900)]
wayland-input : add ecore fd handler for polling ecore fd change when get request

Change-Id: I9265e42fd286eaa9c494603dd14152c63c19d920

2 years agokeyboard module build : add ecore dependency for using ecore api 64/264064/1
dyamy-lee [Thu, 26 Aug 2021 08:30:03 +0000 (17:30 +0900)]
keyboard module build : add ecore dependency for using ecore api

Change-Id: I818b25fa673808ca85422c4a08c46d565ed17596

2 years agowayland-input : rename wayland-input from mmi-wayland-input 63/264063/1
dyamy-lee [Mon, 30 Aug 2021 02:34:39 +0000 (11:34 +0900)]
wayland-input : rename wayland-input from mmi-wayland-input

Change-Id: Iceb6ec0feae5d399900eacb1f99d47810acad8a0

2 years agommi-manager: add mmi_manager_get_focus_client() api 62/264062/1
Sung-Jin Park [Fri, 27 Aug 2021 12:30:37 +0000 (21:30 +0900)]
mmi-manager: add mmi_manager_get_focus_client() api

Change-Id: Ief44cf89f121a965c3868a9785c219d58521e113
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: change mmi_manager_get_focus() -> mmi_manager_set_focus_client() 61/264061/1
Sung-Jin Park [Fri, 27 Aug 2021 12:28:51 +0000 (21:28 +0900)]
mmi-manager: change mmi_manager_get_focus() -> mmi_manager_set_focus_client()

Change-Id: I2f8ee72a3393c128cba4a8176ae99a9b6d6fce9f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: add apis for sending each event to given mmi client 60/264060/1
Sung-Jin Park [Fri, 27 Aug 2021 10:47:32 +0000 (19:47 +0900)]
mmi-client: add apis for sending each event to given mmi client

Change-Id: I1b1925684b2d32fc6ea158ff2bff93df62df7456
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-api-handler: fix to check return value from set_client_{event}_cb_handle() functi... 59/264059/1
Sung-Jin Park [Fri, 27 Aug 2021 08:58:07 +0000 (17:58 +0900)]
mmi-api-handler: fix to check return value from set_client_{event}_cb_handle() functions of client

As client_manager_set_client_{event}_cb_handle() will clone the given handle
and returns a handle which is different value with the given handle.
Therefore we just check the return value to check if the given handle has been
cloned successfully.

Change-Id: I9546b4050b0654a1ef55e423a7e87fb88a9df1a2
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: correct usecase of rpc_port_{event}_clone() to rpc_port_mmifw_{event_cb... 58/264058/1
Sung-Jin Park [Fri, 27 Aug 2021 08:57:04 +0000 (17:57 +0900)]
mmi-client: correct usecase of rpc_port_{event}_clone() to rpc_port_mmifw_{event_cb}_clone()

Change-Id: I2d654144eee72b7964cd20a35bea147aec7a1e32
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client : fix execution error - add hash failed because of no initialize one 57/264057/1
dyamy-lee [Fri, 27 Aug 2021 04:06:46 +0000 (13:06 +0900)]
mmi-client : fix execution error - add hash failed because of no initialize one

Change-Id: I663af4c47bdad38bc0fcbd4ec63fbb20dd1e74eb

2 years agommi-wayland-input : change some confused name, ex) xkb_keycode_from_keysym to _get_ke... 56/264056/1
dyamy-lee [Thu, 26 Aug 2021 00:00:33 +0000 (09:00 +0900)]
mmi-wayland-input : change some confused name, ex) xkb_keycode_from_keysym to _get_keycode_from_keysym, and add underbar(_) in front of created api

Change-Id: Ie10686d6d6028c16b38f2158bad3f8ec81834485

2 years agochange the name mmi-legacy-input to mmi-wayland-input 55/264055/1
dyamy-lee [Wed, 25 Aug 2021 23:48:34 +0000 (08:48 +0900)]
change the name mmi-legacy-input to mmi-wayland-input

Change-Id: I24aeb3b305e259f3d3aaf40e5133ce0ec826fb1a

2 years agommi-keyboard-provider : when init keyboard module, init legacy input 54/264054/1
dyamy-lee [Wed, 25 Aug 2021 11:06:20 +0000 (20:06 +0900)]
mmi-keyboard-provider : when init keyboard module, init legacy input

Change-Id: I87a9239c47e8a8feccbfd9bf1295a511d916805d

2 years agommi-legacy-input : add doing keygrab 53/264053/1
dyamy-lee [Wed, 25 Aug 2021 11:05:30 +0000 (20:05 +0900)]
mmi-legacy-input : add doing keygrab

Change-Id: I79b06bb8df785a325082e36e3a3490b9d352ceee

2 years agommi-legacy-input : add tizen_keyrouter listener and implemente keybrab notify event 52/264052/1
dyamy-lee [Wed, 25 Aug 2021 10:57:37 +0000 (19:57 +0900)]
mmi-legacy-input : add tizen_keyrouter listener and implemente keybrab notify event

Change-Id: I63653450d65b81c36fc04e67f9a98a58ea82ac23

2 years agommi-legacy-input : implemente wl_keyboard events with keymap 51/264051/1
dyamy-lee [Wed, 25 Aug 2021 10:49:32 +0000 (19:49 +0900)]
mmi-legacy-input : implemente wl_keyboard events with keymap

Change-Id: I92db70fab7d20e4ed3e4394fe56e9bde1dfd546b

2 years agokeyboard module build: add xkbcommon pkgconfig dependency, mmi-legacy-input : xkb_con... 50/264050/1
dyamy-lee [Wed, 25 Aug 2021 10:42:59 +0000 (19:42 +0900)]
keyboard module build: add xkbcommon pkgconfig dependency, mmi-legacy-input : xkb_context init for keymap

Change-Id: I6445ec4d93b01a2fcc2fa9a660c795dd2970e714

2 years agokeyboard module build : remove not needed dependency and, add wayland-client dependen... 49/264049/1
dyamy-lee [Wed, 25 Aug 2021 10:37:14 +0000 (19:37 +0900)]
keyboard module build : remove not needed dependency and, add wayland-client dependency for build with wayland

Change-Id: I8e1fd448ecb77ddb7a58823445fa610264621c64

2 years agopackaging : add wayland-client pkgconfig 48/264048/1
dyamy-lee [Wed, 25 Aug 2021 10:36:19 +0000 (19:36 +0900)]
packaging : add wayland-client pkgconfig

Change-Id: I4339b3aa94386106f02a00991b3af1426ac236ec

2 years agommi-legacy-input : implemente wl_seat interface and add skeleton code of wl_keyboard 47/264047/1
dyamy-lee [Wed, 25 Aug 2021 10:34:14 +0000 (19:34 +0900)]
mmi-legacy-input : implemente wl_seat interface and add skeleton code of wl_keyboard

Change-Id: Ib267e066d117a9e06fafc4492ceeae765253a432

2 years agommi-legacy-input : initialize mmi-legacy-input with wayland display connection and... 46/264046/1
dyamy-lee [Wed, 25 Aug 2021 10:19:46 +0000 (19:19 +0900)]
mmi-legacy-input : initialize mmi-legacy-input with wayland display connection and skeleton registry_listener

Change-Id: I244fb80ffd6cf014df03e3c729b9b19614384b33

2 years agommi-manager: fixed to fill client variable of state_change event arg 45/264045/1
Sung-Jin Park [Wed, 25 Aug 2021 12:25:17 +0000 (21:25 +0900)]
mmi-manager: fixed to fill client variable of state_change event arg

Change-Id: Ib44fe6c5ab8f71b68b3116bc2c0b751c16ceba11
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agoReplace key enum with xkb key code 44/264044/1
Jihoon Kim [Fri, 20 Aug 2021 05:34:25 +0000 (14:34 +0900)]
Replace key enum with xkb key code

Change-Id: I4019ad4907bb5201698b7b5ec0f60ec589230a9c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoAdd Intent understanding 43/264043/1
Jihoon Kim [Wed, 18 Aug 2021 11:05:27 +0000 (20:05 +0900)]
Add Intent understanding

Change-Id: I68065cc3800da0794f517b67aabba7be1eafdb67
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agommi-manager: fixed indentation in mmi-common.h 42/264042/1
Sung-Jin Park [Sat, 24 Jul 2021 19:39:59 +0000 (04:39 +0900)]
mmi-manager: fixed indentation in mmi-common.h

Change-Id: Ib5683512a7d5991f6bbd6addeec386dea3f2d3f7
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: remove client from focus client or candidates list 41/264041/1
Sung-Jin Park [Sat, 24 Jul 2021 19:17:50 +0000 (04:17 +0900)]
mmi-client: remove client from focus client or candidates list

Change-Id: I120b27116f2a9b0ca94fc6c11ea4a4190e35b6bd
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: implemented focus/state change handlers 40/264040/1
Sung-Jin Park [Sat, 24 Jul 2021 19:02:38 +0000 (04:02 +0900)]
mmi-manager: implemented focus/state change handlers

Change-Id: I4bd8c38f001798d7cc6a5d5e5e3623c95bc457d3
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: added focus management logic/apis 39/264039/1
Sung-Jin Park [Sat, 24 Jul 2021 19:00:01 +0000 (04:00 +0900)]
mmi-manager: added focus management logic/apis

Change-Id: I054ddadb143152683af8204eb4affd3a9136d342
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: added event types, structures, functions to init/deinit for focus/state... 38/264038/1
Sung-Jin Park [Sat, 24 Jul 2021 18:46:29 +0000 (03:46 +0900)]
mmi-manager: added event types, structures, functions to init/deinit for focus/state change event

Change-Id: I93b25cbf04fd1f78c140286438106519d9d69578
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: added apis skeleton for sending focus/state_change event 37/264037/1
Sung-Jin Park [Sat, 24 Jul 2021 18:32:31 +0000 (03:32 +0900)]
mmi-client: added apis skeleton for sending focus/state_change event

Change-Id: I811ee397e6d3d3bbc91b95b53a0ed94673c3c822
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: fixed indentation 36/264036/1
Sung-Jin Park [Sat, 24 Jul 2021 18:29:20 +0000 (03:29 +0900)]
mmi-client: fixed indentation

Change-Id: I8f19d5acba8e98c812f1edb20dec009a86a16fc8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: added api for getting sender variable of a client 35/264035/1
Sung-Jin Park [Sat, 24 Jul 2021 18:22:15 +0000 (03:22 +0900)]
mmi-client: added api for getting sender variable of a client

Change-Id: I7510369c544db45b985fa88787851d6300a8aec0
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: added apis for setting/getting has_focus of a client 34/264034/1
Sung-Jin Park [Sat, 24 Jul 2021 18:19:03 +0000 (03:19 +0900)]
mmi-client: added apis for setting/getting has_focus of a client

Change-Id: I47647e8e1309853a98a4761670124f2daa41b568
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-common: defined subtype and event structure of each mmifw event to be sento client 33/264033/1
Sung-Jin Park [Sat, 24 Jul 2021 18:13:07 +0000 (03:13 +0900)]
mmi-common: defined subtype and event structure of each mmifw event to be sento client

Change-Id: I5e32a0cd627bb472cb109eb0fd923d11e64e0310
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: fix not to do duplicated init/shutdown 32/264032/1
Sung-Jin Park [Mon, 19 Jul 2021 15:14:30 +0000 (00:14 +0900)]
mmi-manager: fix not to do duplicated init/shutdown

Change-Id: I80218bc5e3917b4ad0995dc36e7f2713c263018e
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agomodality keyboard module : set initialization of _provider_mode in mmi-keyboard-provi... 31/264031/1
dyamy-lee [Thu, 19 Aug 2021 08:29:46 +0000 (17:29 +0900)]
modality keyboard module : set initialization of _provider_mode in mmi-keyboard-provider.c

Change-Id: I6c39300886ce78e16a651887a96bcfec1b813071

2 years agomodality keyboard module : implement set/get mode in mmi-keyboard-provider.c 30/264030/1
dyamy-lee [Thu, 19 Aug 2021 07:53:13 +0000 (16:53 +0900)]
modality keyboard module : implement set/get mode in mmi-keyboard-provider.c

Change-Id: Ibcc8253fcc61ee8ed300dabdf90ffdd0d610cdf4

2 years agommi-api-handler: add implementation of _get_focus_cb and _set_state_cb 29/264029/1
Sung-Jin Park [Mon, 19 Jul 2021 11:55:40 +0000 (20:55 +0900)]
mmi-api-handler: add implementation of _get_focus_cb and _set_state_cb

Change-Id: I09c2f91c311375faf2d4baea6a9d4551abb0ddcd
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-manager: add get_focus(), set_state() api skeleton code 28/264028/1
Sung-Jin Park [Mon, 19 Jul 2021 11:54:47 +0000 (20:54 +0900)]
mmi-manager: add get_focus(), set_state() api skeleton code

Change-Id: I80307c7c1e4c587199d5ec43f8c22ef4b0fbd147
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-api-handler: tidl protocol & remove unnecessary sender information 27/264027/1
Sung-Jin Park [Mon, 19 Jul 2021 11:23:04 +0000 (20:23 +0900)]
mmi-api-handler: tidl protocol & remove unnecessary sender information

Change-Id: Iece99fedfa969b5ecf204791d101fe812c60beee
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-common: get event types and data structures from mmi-manager-event-types.h 26/264026/1
Sung-Jin Park [Sun, 18 Jul 2021 16:15:17 +0000 (01:15 +0900)]
mmi-common: get event types and data structures from mmi-manager-event-types.h

Change-Id: I1c460887e9c0dee9e8b8e12bf13619b884424b53
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-api-handler: implement register/deregister callbacks 25/264025/1
Sung-Jin Park [Sun, 18 Jul 2021 15:48:30 +0000 (00:48 +0900)]
mmi-api-handler: implement register/deregister callbacks

Change-Id: I7bd72100faf4bc5a0745220b1d51ec29ed37eba8
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: add apis for setting/getting each mmifw event callback handle for a client 24/264024/1
Sung-Jin Park [Sun, 18 Jul 2021 15:46:30 +0000 (00:46 +0900)]
mmi-client: add apis for setting/getting each mmifw event callback handle for a client

Change-Id: I4b7203e0268c1047ed2bc0d840662bd6f7322749
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-ref-fusion : fix build break 23/264023/1
dyamy-lee [Wed, 18 Aug 2021 08:44:55 +0000 (17:44 +0900)]
mmi-ref-fusion : fix build break

changed to  ref_fusion_set_state/get_state in mmi-ref-fusion.h

Change-Id: I871ffa5a62f3e37208f62a545ad3c7ab985b2470

2 years agommi-provider-iface, mmi-provider 22/264022/1
dyamy-lee [Wed, 18 Aug 2021 08:01:47 +0000 (17:01 +0900)]
mmi-provider-iface, mmi-provider

mmi-provider-iface : for removing dynamic linker, need to save it's pointer,
                   for provider_deinit, need to save mmi_provider_module_data
mmi-provider : add shutdown logic,
           correct to miss 'return' before goto err

Change-Id: Ib673205f63b8823b483d3a22ef7b5bac6e470259

2 years agommi-fusion-iface, mmi-fusion, ref_fuison module 21/264021/1
dyamy-lee [Wed, 18 Aug 2021 07:31:56 +0000 (16:31 +0900)]
mmi-fusion-iface, mmi-fusion, ref_fuison module

mmi-fusion-iface : for removing dynamic linker, need to save it's pointer,
                 for fusion_deinit, need to save mmi_fuison_module_data
mmi-fusion : add return value of _modality_fusions_lookup() and _fuison_load_module()
            to know how many fusions loaded or found
             add shutdown logic
modules/ref_fusion : correct to miss return value

Change-Id: Ic51827f9d13f1f4746dc0d44d53acf65a8dea55c

2 years agopackaging, build, mmi-fusion, ref-fusion module 20/264020/1
dyamy-lee [Tue, 17 Aug 2021 08:51:16 +0000 (17:51 +0900)]
packaging, build, mmi-fusion, ref-fusion module

packaging : add fuison
build : add modules/ref_fusion
mmi-fusion : lookup fusion by path and load it
ref-fusion module : generate ref_fusion directory under modules
    it generates reference fusion module library

Change-Id: Ib38cfbb3b31fb6c9cff86ecca4c23e7e1743e9f2

2 years agommi-api-handler: fix a memory leak by freeing sender in _on_terminate() 19/264019/1
Sung-Jin Park [Sun, 18 Jul 2021 12:09:37 +0000 (21:09 +0900)]
mmi-api-handler: fix a memory leak by freeing sender in _on_terminate()

Change-Id: I06c9dc3e8035712820e73ab67427cab117b2245c
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-api-handler: fix build break : client_manager_client_add/remove 18/264018/1
Sung-Jin Park [Sun, 18 Jul 2021 11:49:06 +0000 (20:49 +0900)]
mmi-api-handler: fix build break : client_manager_client_add/remove

Change-Id: I1dbcf4a4340a5784efc00ad1021b228be8ddc80f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-api-handler: adding/removing client information in connection/disconnection handler 17/264017/1
Sung-Jin Park [Sat, 17 Jul 2021 16:33:38 +0000 (01:33 +0900)]
mmi-api-handler: adding/removing client information in connection/disconnection handler

Change-Id: Iab13a1b6df6304e65435766ca094c91d16c7d442
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-client: add basic client manager implementation 16/264016/1
Sung-Jin Park [Sat, 17 Jul 2021 16:31:09 +0000 (01:31 +0900)]
mmi-client: add basic client manager implementation

Change-Id: I9404b583daa444417edb5414d518f0b45bdccb55
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agochange provider lookup by path and add modules 15/264015/1
dyamy-lee [Tue, 17 Aug 2021 01:15:41 +0000 (10:15 +0900)]
change provider lookup by path and add modules

for example, add modality_keyboard module for testing load provider
change as struct pointer about mmi_provider_hander structure.

Change-Id: I1de75abf3e75cad624a4d45789550c1e00f8b8d8

2 years agommi-provider.c : add provider lookup and load 14/264014/1
dyamy-lee [Fri, 13 Aug 2021 09:08:17 +0000 (18:08 +0900)]
mmi-provider.c : add provider lookup and load

It considers only one provider lookup and load.
It needs provider library and it should be care about multiple providers
which have different capabilities.

Change-Id: I4ced39f940ee39ddb8ed38e9e3fc9db00d5bf382