platform/core/uifw/mmi-manager.git
2 years agospec file: add GCOV define to check coverage only in special case 87/264487/1
Duna Oh [Thu, 23 Sep 2021 03:42:12 +0000 (12:42 +0900)]
spec file: add GCOV define to check coverage only in special case

Change-Id: I064ca21c87c1ed497ce6fac11e84134bf77644cf

2 years agospec file :add gcov option for checking code coverage 78/264478/1 accepted/tizen/unified/20210923.133043 submit/tizen/20210923.034212
Duna Oh [Fri, 17 Sep 2021 07:35:16 +0000 (16:35 +0900)]
spec file :add gcov option for checking code coverage

Change-Id: Idddb442dd4ea572add7a89923c34cf2ab30a2119

2 years agowayland-input : moved the xkb_state_new location and added unref it to resolve resour... 77/264477/1
dyamy-lee [Thu, 23 Sep 2021 00:34:16 +0000 (09:34 +0900)]
wayland-input : moved the xkb_state_new location and added unref it to resolve resource leak issue, also do unref if it already exists when keymap cb called.

Change-Id: I5edb9f4e1a487f60e66d61c515c420122c44cf14

2 years agoiu: fix issue not to check NULL 99/264399/1 accepted/tizen/unified/20210920.131433 submit/tizen/20210917.040337
Jihoon Kim [Fri, 17 Sep 2021 02:59:21 +0000 (11:59 +0900)]
iu: fix issue not to check NULL

Change-Id: Ib54462c4233e30836fd5efc575affb67257fcb4f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agommi-client-tests : resolve memory leak about event_cb 98/264398/1
dyamy-lee [Thu, 16 Sep 2021 10:40:15 +0000 (19:40 +0900)]
mmi-client-tests : resolve memory leak about event_cb

Change-Id: I0eeffeb9ae1f27b2ceb97000db47d1c03e3df195

2 years agommi-client-tests: add TC 'SetGetClientEventCB' 66/264366/1 accepted/tizen/unified/20210917.001233 submit/tizen/20210916.101118
Duna Oh [Thu, 16 Sep 2021 07:52:01 +0000 (16:52 +0900)]
mmi-client-tests: add TC 'SetGetClientEventCB'

Change-Id: Ife0161e20f2b322ee71f094b25086e8aabcf2409

2 years agowayland-input : add XF86BTVoice and XF86KeyBtFarVoice key to grab list 65/264365/1
dyamy-lee [Thu, 16 Sep 2021 01:32:02 +0000 (10:32 +0900)]
wayland-input : add XF86BTVoice and XF86KeyBtFarVoice key to grab list

Change-Id: Icfc0e1da7720345a76bfb705133f24730c13638f

2 years agommi-manager-main-tests: create mmi-manager-main-tests for mmi-manager api 64/264364/1
Duna Oh [Wed, 15 Sep 2021 07:26:39 +0000 (16:26 +0900)]
mmi-manager-main-tests: create mmi-manager-main-tests for mmi-manager api

Change-Id: Id390a309757fd6e6712381446d7de51484d194f6

2 years agommi-manager-tests : add ecore event dispatcher 06/264306/1
ulgal-park [Wed, 15 Sep 2021 12:20:09 +0000 (21:20 +0900)]
mmi-manager-tests : add ecore event dispatcher

Change-Id: Ifb026263da1b7e2f8c55cbd34c6bef614cf2b038

2 years agommi-api-handler : deregister proc info when shutdown 02/264302/1
ulgal-park [Wed, 15 Sep 2021 10:28:55 +0000 (19:28 +0900)]
mmi-api-handler : deregister proc info when shutdown

Change-Id: I21cb6f4f8c36de9b1272cbebed4911a9b40c28f9

2 years agommi-manager : initialize global variable when shutdown 01/264301/1
ulgal-park [Wed, 15 Sep 2021 10:00:07 +0000 (19:00 +0900)]
mmi-manager : initialize global variable when shutdown

Change-Id: Ifc5155a49cef5aa794a5edf0b0cc5484af283ee2

2 years agospec file : add ref_fusion-tests executable for testing ref_fusion module 00/264300/1
dyamy-lee [Wed, 15 Sep 2021 07:32:24 +0000 (16:32 +0900)]
spec file : add ref_fusion-tests executable for testing ref_fusion module

Change-Id: I5c4493c16a99de315c60301adce345c26516ef19

2 years agobuild : add tests/ref-fusion directory as subdir for build it 99/264299/1
dyamy-lee [Wed, 15 Sep 2021 07:31:43 +0000 (16:31 +0900)]
build : add tests/ref-fusion directory as subdir for build it

Change-Id: Id91e2ccb8ac7d579334924d62b637733fc0ca1f7

2 years agocreate tests/ref-fusion meson.build 98/264298/1
dyamy-lee [Wed, 15 Sep 2021 07:31:06 +0000 (16:31 +0900)]
create tests/ref-fusion meson.build

Change-Id: Ia96c5d2418a0dfc5a361abea3cee2363eed59d9d

2 years agoref_fusion build : declared ref-fusion dependency for build in tests 97/264297/1
dyamy-lee [Wed, 15 Sep 2021 07:30:01 +0000 (16:30 +0900)]
ref_fusion build : declared ref-fusion dependency for build in tests

Change-Id: Ib877691d80ea61ac3e82ec92c7cda5f804ea87d5

2 years agommi-ref-fusion-tests : add ref fusion testcase in tests/ref-fusion directory 96/264296/1
dyamy-lee [Wed, 15 Sep 2021 07:29:06 +0000 (16:29 +0900)]
mmi-ref-fusion-tests : add ref fusion testcase in tests/ref-fusion directory

Change-Id: Ie31ed27598b8e64b74b5427c9e26de4a746e9cdd

2 years agotests: fix to set correct install_rpath for modality_keyboard_tests 95/264295/1
Sung-Jin Park [Wed, 15 Sep 2021 07:45:43 +0000 (16:45 +0900)]
tests: fix to set correct install_rpath for modality_keyboard_tests

Change-Id: I9ec7e5571a145fbb0306ab07b5a20469d500f0b9
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agotests: fix to use proper path of modules for the given arch 94/264294/1
Sung-Jin Park [Wed, 15 Sep 2021 06:32:24 +0000 (15:32 +0900)]
tests: fix to use proper path of modules for the given arch

Change-Id: I90cb83ceb54fd809e22826f37aeb9205dc339235
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agowayland-input : change keyname as more similar name client knows, also fix print... 93/264293/1
dyamy-lee [Wed, 15 Sep 2021 06:35:58 +0000 (15:35 +0900)]
wayland-input : change keyname as more similar name client knows, also fix print type log error of key up/down by ev->type

Change-Id: I6bd94271f65aaef17b07a4c47d72cd72d3328488

2 years agotests build : add mmi-fusion-tests.cpp in meson.build of tests directory 92/264292/1
dyamy-lee [Tue, 14 Sep 2021 11:15:24 +0000 (20:15 +0900)]
tests build : add mmi-fusion-tests.cpp in meson.build of tests directory

Change-Id: I88c92aeba20beb1d95bd49c2c89e47ac53e5575a

2 years agommi-fusion-tests : create mmi-fusion-tests for mmi-fusion api 91/264291/1
dyamy-lee [Tue, 14 Sep 2021 11:14:30 +0000 (20:14 +0900)]
mmi-fusion-tests : create mmi-fusion-tests for mmi-fusion api

Change-Id: Idb88cc9c072171f9143f30e792fa06adfac9ae45

2 years agommi-provider : set Ecore_Event_Handler* as NULL after delete it. 90/264290/1
dyamy-lee [Wed, 15 Sep 2021 00:50:33 +0000 (09:50 +0900)]
mmi-provider : set Ecore_Event_Handler* as NULL after delete it.

Change-Id: If05fb8a9d49d3c9836a702bbbc6f6d3ea106718e

2 years agommi-ref-fusion : set Ecore_Event_Handler* as NULL after delete it. 89/264289/1
dyamy-lee [Wed, 15 Sep 2021 00:42:33 +0000 (09:42 +0900)]
mmi-ref-fusion : set Ecore_Event_Handler* as NULL after delete it.

Change-Id: Ia7fab2a74164cc4416661aa9d93af7eb089add65

2 years agommi-manager : set Ecore_Event_Handler* as NULL after delete it. It can make abort... 88/264288/1
dyamy-lee [Wed, 15 Sep 2021 00:24:03 +0000 (09:24 +0900)]
mmi-manager : set Ecore_Event_Handler* as NULL after delete it. It can make abort which is not expected.

Change-Id: Ibc21ebb5ceb420f72df5bebabf4878bcafa8263e

2 years agommi-client-tests: create mmi-client-testcases.cpp and add it in meson.build of tests... 87/264287/1
Duna Oh [Tue, 14 Sep 2021 16:40:16 +0000 (01:40 +0900)]
mmi-client-tests: create mmi-client-testcases.cpp and add it in meson.build of tests directory

Change-Id: I931b6041223376edbeb3fa1b3294abbf92de7f68

2 years agowayland-input: assign NULL after xkb_keymap_unref and add NULL checking 86/264286/1
Duna Oh [Wed, 15 Sep 2021 02:00:38 +0000 (11:00 +0900)]
wayland-input: assign NULL after xkb_keymap_unref and add NULL checking

Change-Id: I02514f41fceef3cb47abed1094ee25391f78784d

2 years agommi-provider: fix to use PROVIDER_PATH defined in a project for the given arch 32/264232/1
Sung-Jin Park [Tue, 14 Sep 2021 11:55:46 +0000 (20:55 +0900)]
mmi-provider: fix to use PROVIDER_PATH defined in a project for the given arch

Change-Id: I6af0a6c3f014690fc1f74ac51aa27a87d2753bc6
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agommi-fusion: fix to use FUSION_PATH defined in a project for the given arch 31/264231/1
Sung-Jin Park [Tue, 14 Sep 2021 11:55:29 +0000 (20:55 +0900)]
mmi-fusion: fix to use FUSION_PATH defined in a project for the given arch

Change-Id: I984ef10bce5e4c5794cb978d7db62018ec96224d
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agobuild: add definition of FUSION_PATH, PROVIDER_PATH to load modules on the correct... 30/264230/1
Sung-Jin Park [Tue, 14 Sep 2021 12:22:23 +0000 (21:22 +0900)]
build: add definition of FUSION_PATH, PROVIDER_PATH to load modules on the correct path

Change-Id: I2512b92eb32a3a5eb7f9287d1a7631fbb8198028
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
2 years agospec file : add modality_keyboard-tests executable for testing modality_keyboard... 26/264226/1
dyamy-lee [Tue, 14 Sep 2021 10:02:32 +0000 (19:02 +0900)]
spec file : add modality_keyboard-tests executable for testing modality_keyboard module

Change-Id: I318ddeff78ff33279c2cf93bc3a37515b42875bc

2 years agobuild : add tests/keyboard-provider directory as subdir for build it 25/264225/1
dyamy-lee [Tue, 14 Sep 2021 10:01:30 +0000 (19:01 +0900)]
build : add tests/keyboard-provider directory as subdir for build it

Change-Id: I1808d9528f1fb4424b4996f08d1c92ed00fc4362

2 years agocreate tests/keyboard-provider meson.build 24/264224/1
dyamy-lee [Tue, 14 Sep 2021 09:59:30 +0000 (18:59 +0900)]
create tests/keyboard-provider meson.build

Change-Id: Ie2db9ae2114d36084677d68b260b53e3e35fb88c

2 years agomodality_keyboard build : declared mmi-keyboard dependecy for build in tests 23/264223/1
dyamy-lee [Tue, 14 Sep 2021 09:58:27 +0000 (18:58 +0900)]
modality_keyboard build : declared mmi-keyboard dependecy for build in tests

Change-Id: I5603d5734166367fc89a9b4aad523623d2bd8350

2 years agommi-keyboard-provider-tests : add keyboard provider testcase in tests/keyboard-provid... 22/264222/1
dyamy-lee [Tue, 14 Sep 2021 09:57:09 +0000 (18:57 +0900)]
mmi-keyboard-provider-tests : add keyboard provider testcase in tests/keyboard-provider directory

Change-Id: I42bb64238623c4e75c6af4cf99fb5ae891a5988e

2 years agommi-provider-tests : create mmi-provider-tests.cpp and add this in meson.build of... 21/264221/1
dyamy-lee [Tue, 14 Sep 2021 09:51:35 +0000 (18:51 +0900)]
mmi-provider-tests : create mmi-provider-tests.cpp and add this in meson.build of tests directory

mmi-provider-tests has tc about mmi-provider and mmi-provider-iface api

Change-Id: I7c983831acdfe7dfb49a74aa1cef7a2adf4a308b

2 years agommi-provider : add missed header which is mmi-provider.h 20/264220/1
dyamy-lee [Tue, 14 Sep 2021 09:47:43 +0000 (18:47 +0900)]
mmi-provider : add missed header which is mmi-provider.h

Change-Id: I1a5718662d980b98cfa36e162bdc0056b0301828

2 years agommimgr : mmi-fusion-iface, mmi-provider-iface remove typedef bool for resolving confl... 19/264219/1
dyamy-lee [Tue, 14 Sep 2021 09:47:12 +0000 (18:47 +0900)]
mmimgr : mmi-fusion-iface, mmi-provider-iface remove typedef bool for resolving conflict with c++ bool. also, not used now.

Change-Id: I9f50447cd1f0b9ead6877e79f478bdea4e5cc2e8

2 years agoref-fusion : fix drop logic to handle focus client terminated case 18/264218/1
ulgal-park [Tue, 14 Sep 2021 09:00:32 +0000 (18:00 +0900)]
ref-fusion : fix drop logic to handle focus client terminated case

Change-Id: I3cf2583b36dadc815342974907f26820f64009b0

2 years agoiu: Send event in case app state is not matched 17/264217/1
Jihoon Kim [Tue, 14 Sep 2021 08:06:36 +0000 (17:06 +0900)]
iu: Send event in case app state is not matched

Change-Id: I4b68965218d6eae36f588c54f43e626ec3c5a9bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agoiu: Fix IU key event unittest 16/264216/1
Jihoon Kim [Tue, 14 Sep 2021 08:02:36 +0000 (17:02 +0900)]
iu: Fix IU key event unittest

[  FAILED  ] IUClientFeedInputEventTest.utc_mmi_iu_feed_intent_key_input_press_right
[  FAILED  ] IUClientFeedInputEventTest.utc_mmi_iu_feed_intent_key_press_ok

Change-Id: I359011a71c58e256e5f46b29f0b4f83020f84b81
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2 years agowayland-input.c: use xkb_keymap_unref instead of xkb_map_unref 15/264215/1
Duna Oh [Tue, 14 Sep 2021 08:15:26 +0000 (17:15 +0900)]
wayland-input.c: use xkb_keymap_unref instead of xkb_map_unref

Change-Id: Icfc25a9d1567e8c7316538986742e1dc7ef0aa87

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