platform/core/uifw/isf.git
6 years agoUpdate package version to 4.0.29 68/159868/1 accepted/tizen/unified/20171114.132339 submit/tizen/20171114.023048
InHong Han [Mon, 13 Nov 2017 07:56:12 +0000 (16:56 +0900)]
Update package version to 4.0.29

Change-Id: Ica5cdae4efda6741d1cacdf14823c9bbe8cdd19a
(cherry picked from commit c05c49939a93f07b8f77bdc94569b025083b89d8)

6 years agoFix buffer overflow issue 19/159819/1
InHong Han [Mon, 13 Nov 2017 04:51:09 +0000 (13:51 +0900)]
Fix buffer overflow issue

Change-Id: Ib82a3b13e5233c37a9862d12db9da4d9fdde3fd4
(cherry picked from commit df4e7271f19da18a926e6d0b4081ab7d5b3d5a78)

6 years agoUpdate package version to 4.0.28 55/159155/2 accepted/tizen/unified/20171108.161138 submit/tizen/20171107.074149
Ji-hoon Lee [Tue, 7 Nov 2017 07:27:23 +0000 (16:27 +0900)]
Update package version to 4.0.28

Change-Id: Ifcb3d404c5d4689e1817c8fdcf98f16576a05198

6 years agoFix bug preedit changed event was called in mouse down and focus-in event 24/159124/2
Jihoon Kim [Tue, 7 Nov 2017 06:03:26 +0000 (15:03 +0900)]
Fix bug preedit changed event was called in mouse down and focus-in event

Even though preedit was not changed, preedit changed event was called.

Change-Id: Idc5d7f22bff56bbf454c1f2aa4ef6c4a6a460328
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix the problem 'obarred' gets entered as 'ocaron'. 89/158889/4
Ji-hoon Lee [Fri, 3 Nov 2017 07:01:17 +0000 (16:01 +0900)]
Fix the problem 'obarred' gets entered as 'ocaron'.

Change-Id: I1b7b50cc83467ede1aa5eb5e79c1f4bc22e81a28

6 years agoFix isf-panel-efl crash when typing in zcaron character 88/158888/4
Ji-hoon Lee [Tue, 31 Oct 2017 02:48:08 +0000 (11:48 +0900)]
Fix isf-panel-efl crash when typing in zcaron character

Add return value checking routine for lower_bound function and
update lookup table to have its values sorted properly.

Change-Id: I5c33558d317bce0073efc7a970b11a3070f32472

6 years agoReturn finalized_content as surrounding text when focus lost 18/158518/5
Ji-hoon Lee [Wed, 1 Nov 2017 10:43:42 +0000 (19:43 +0900)]
Return finalized_content as surrounding text when focus lost

Change-Id: Iaa2935c3502d4d75c8fdd049ef1d4b5ebbbe9178

6 years agoFix potential buffer overflow defect 52/158952/2
Ji-hoon Lee [Mon, 6 Nov 2017 06:01:29 +0000 (15:01 +0900)]
Fix potential buffer overflow defect

Change-Id: Ibdaa1cd989e6f2e8f50c1d46f42c980fb75191e2

6 years agoAdd sqlite3_free() and some code cleanup 13/158913/1
Sungmin Kwak [Wed, 1 Nov 2017 05:35:33 +0000 (14:35 +0900)]
Add sqlite3_free() and some code cleanup

Change-Id: I4931c9a4dca2ba2318aaf9ff6a3be155d0a30465
(cherry picked from commit 46505b7eba681cc2768242afa08b72e1313d9f96)

6 years agoUpdate package version to 4.0.27 03/158903/1
InHong Han [Tue, 31 Oct 2017 10:40:39 +0000 (19:40 +0900)]
Update package version to 4.0.27

Change-Id: I642124912f3f528eed3bb2fe759ad4cc7d2738f8
(cherry picked from commit 5c26263eda1ecbdf6a1ea6991254f611966cde69)

6 years agoImprove code to recreate the IME DB file when the DB file is corrupted 72/158372/2
InHong Han [Mon, 30 Oct 2017 06:09:01 +0000 (15:09 +0900)]
Improve code to recreate the IME DB file when the DB file is corrupted

Change-Id: I0245200539282336060217271b6bee2066e17e4b
(cherry picked from commit 7c0233c1f726cd76af85bf5efaeea01c1fd9e58f)

6 years agoAdd the extra language in scim_key table 89/157289/1
InHong Han [Mon, 23 Oct 2017 07:22:47 +0000 (16:22 +0900)]
Add the extra language in scim_key table

Change-Id: Iadf05ee15a0636bd180bf88b94ca99abc4bc23c6
(cherry picked from commit 4fe0d0f9800ffbc9c89b66d4dd3c160170a4ea00)

6 years agoAdd missing layout and return key type in return key disabled menu 97/156397/1
Jihoon Kim [Wed, 18 Oct 2017 08:08:24 +0000 (17:08 +0900)]
Add missing layout and return key type in return key disabled menu

Change-Id: I9699ca4df4c704e8c58f06c68f77a9e7cd193d55
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.26 91/156191/1 accepted/tizen/unified/20171018.062657 submit/tizen/20171017.112906
Jihoon Kim [Tue, 17 Oct 2017 11:06:40 +0000 (20:06 +0900)]
Update package version to 4.0.26

Change-Id: Icf52786a4cd76eab771b045772a049aa1566022f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix build break in 64bit profiles 79/156179/1
Ji-hoon Lee [Wed, 11 Oct 2017 07:25:05 +0000 (16:25 +0900)]
Fix build break in 64bit profiles

Change-Id: If3749ba124c6d7c53be7515bb54a1aa2eb9b2ec0
(cherry picked from commit c2f01c421f4a162dee6faa3e14762d8d82afaf6a)

6 years agoModified the wrong subclass value 78/156178/1
InHong Han [Tue, 17 Oct 2017 07:23:15 +0000 (16:23 +0900)]
Modified the wrong subclass value

Change-Id: I0f31b3476afded70aa1663e47986a99a7fbb270e
(cherry picked from commit a79b174da00ca98a4c90db3a27180f6a202ac6ab)

6 years agoRemove the filter_devices logic and use the device_subclass to distinguish the device... 76/156176/1
InHong Han [Tue, 17 Oct 2017 06:21:10 +0000 (15:21 +0900)]
Remove the filter_devices logic and use the device_subclass to distinguish the device information

Change-Id: I179b6138d8827e4f2e460aaf280dd1828f9717d7
(cherry picked from commit 26a9b9bc04f24f1f0e0612986c9db8febc978692)

6 years agoSet backlight timeout value to infinite before running autotest 85/155985/2
Ji-hoon Lee [Tue, 17 Oct 2017 01:28:38 +0000 (10:28 +0900)]
Set backlight timeout value to infinite before running autotest

Change-Id: I7ab140f7ece57dc24b5a8b5152b2555f957bb02e

6 years agoUse ISF-defined values when processing input device events 47/155747/1
Ji-hoon Lee [Wed, 11 Oct 2017 02:33:33 +0000 (11:33 +0900)]
Use ISF-defined values when processing input device events

Since the ECORE_EVENT_* values are not constants, they can't be
guaranteed to be the same over processes. For this reason, the
existing method to send ECORE_EVENT_* value directly to a different
process causes malfunction.
Thus, we define input device type enum at ISF side to ensure
the values at sender side and receiver side is consistent.

Change-Id: Ia93b7dc2a5b7d26d3236ff5bf5bb7d2b02a51afc
(cherry picked from commit 382345f650ef7e4089644cfd49f8f280376a78e2)

6 years agoRetry socket connection of remote_control to prevent abort issue 31/155331/3
InHong Han [Thu, 12 Oct 2017 08:53:23 +0000 (17:53 +0900)]
Retry socket connection of remote_control to prevent abort issue

Change-Id: I22cdde585e4b985e5f03d38b0b4efa17d79752cc

6 years agoRemove a build warning 39/154639/1
Sungmin Kwak [Tue, 10 Oct 2017 23:24:54 +0000 (08:24 +0900)]
Remove a build warning

The format '%x' expects argument of type 'unsigned int'

Change-Id: I42e7815a4c2dfab8e4916dc285a5f894ab25cafd
(cherry picked from commit 6108fbaca5953e6546ea7a133e9688450d6b7b00)

6 years agoAdd log message when restarting ISE 19/153619/1
Ji-hoon Lee [Fri, 29 Sep 2017 02:57:32 +0000 (11:57 +0900)]
Add log message when restarting ISE

Change-Id: Iec37f595d97475ccde7025e5cc06595a49e3dd68

6 years agoRevert "Relaunch IME if the connection is not properly made" 50/153450/3
Ji-hoon Lee [Thu, 28 Sep 2017 10:48:14 +0000 (19:48 +0900)]
Revert "Relaunch IME if the connection is not properly made"

Since the connection fail case is now handled using timer,
("Try re-launch IME if launch request failure is detected",
 commit 0b71ab13c936922fbb21d2025a2954197482ce36)
it is not required to relaunch IME if it has been launched.

This reverts commit 0555911cfa1c99ab17b41335b4bf3192527ad5a8.

Change-Id: Ia550630e6d3df1a2b3ff7bc5a8ba8562dcee8638

6 years agoFix autotest to work on latest images 53/152953/3
Ji-hoon Lee [Wed, 27 Sep 2017 11:08:40 +0000 (20:08 +0900)]
Fix autotest to work on latest images

Change-Id: Ib72d3d8b725cbfafbb7b47a0228a95e25cfe8d9b

6 years agoRestart ISE if it crashes before connecting to the panel 67/151667/5
Ji-hoon Lee [Thu, 21 Sep 2017 11:23:40 +0000 (20:23 +0900)]
Restart ISE if it crashes before connecting to the panel

Change-Id: I8939c4c06127993c1e44537f96f88972937faa85

6 years agoFixed the problem that does not have access to ime_info DB in encrytion mode 60/152760/1
InHong Han [Wed, 13 Sep 2017 09:00:02 +0000 (18:00 +0900)]
Fixed the problem that does not have access to ime_info DB in encrytion mode

Change-Id: I8e04e53554f3ed64e5bced4a3852fc64eebbfc87
(cherry picked from commit e3940693421978eee9881c401de2983c70586a95)

6 years agoUpdate package version to 4.0.22 95/152095/1 accepted/tizen/unified/20170926.061909 submit/tizen/20170925.054231
Jihoon Kim [Mon, 25 Sep 2017 05:32:47 +0000 (14:32 +0900)]
Update package version to 4.0.22

Change-Id: If53dcb831f4db250ae40c8745f24a6e29aefae0c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRemove appcore-efl dependency in isf-demo-efl 92/152092/1
Jihoon Kim [Mon, 25 Sep 2017 05:19:10 +0000 (14:19 +0900)]
Remove appcore-efl dependency in isf-demo-efl

Change-Id: I60f4b1b1e3d2f64b38679085a568cefdffe5b99e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix build warning 87/152087/1
Jihoon Kim [Mon, 25 Sep 2017 04:58:10 +0000 (13:58 +0900)]
Fix build warning

readdir_r() is deprecated.

Change-Id: I6f7adabe20422857b681bb9836f73a46ee90c6d7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.21 55/151655/1 accepted/tizen/unified/20170922.065543 submit/tizen/20170921.103649
Jihoon Kim [Thu, 21 Sep 2017 10:28:40 +0000 (19:28 +0900)]
Update package version to 4.0.21

Change-Id: Ideb31c2e187f6be868d7a7515922bba306dd572f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRevert "Remove the filter_devices logic and use the device_subclass to distinguish... 54/151654/1
InHong Han [Tue, 19 Sep 2017 06:22:33 +0000 (15:22 +0900)]
Revert "Remove the filter_devices logic and use the device_subclass to distinguish the device information"

This reverts commit 96ad09eefa376687416e0b575464487b76b088cc.
Change-Id: Iee563fbe160efbe59b1b33dc5a8a8a58473a92c6
(cherry picked from commit 1e1ed7481d8f6d8af33dcc47510e4cece7371be0)

6 years agoUpdate package version to 4.0.20 41/151641/1
Jihoon Kim [Thu, 21 Sep 2017 10:11:20 +0000 (19:11 +0900)]
Update package version to 4.0.20

Change-Id: I78695d71c2f76aa72cc013dbbf30536b76c55d07
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoChange socket path for security 40/151640/1
Jihoon Kim [Thu, 21 Sep 2017 10:09:31 +0000 (19:09 +0900)]
Change socket path for security

Change-Id: Id0712d869ed99284a8f095532db39ff5f544f2bd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRevert "Revert "Create socket for each user to support multi-user"" 84/151584/1
Jihoon Kim [Thu, 21 Sep 2017 08:08:50 +0000 (17:08 +0900)]
Revert "Revert "Create socket for each user to support multi-user""

This reverts commit 82436c3f2c6a23c9c406a1ff6ae9602229f325b1.

Change-Id: I0c8193c81078f517929b0598c1e7165b736c0cf9

6 years agoUse secure log 76/151176/2
Jihoon Kim [Wed, 20 Sep 2017 06:43:57 +0000 (15:43 +0900)]
Use secure log

Change-Id: I332e38ac7c552d524cc0c4cb257d4a6545a56609
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoAdd missing keysym-unicode in scim_key table 31/151331/1
InHong Han [Wed, 20 Sep 2017 11:36:47 +0000 (20:36 +0900)]
Add missing keysym-unicode in scim_key table

Change-Id: I5750b2cef10019a0007e7dc5e915272156375e97

6 years agoRelaunch IME if the connection is not properly made 45/150945/1
Sungmin Kwak [Wed, 13 Sep 2017 05:07:23 +0000 (14:07 +0900)]
Relaunch IME if the connection is not properly made

Relaunch it when ISF tries to show IME

Change-Id: I2b125eb6a5d70e528d90b7e2b650f10eea92ad4b
(cherry picked from commit 8e509a65e21b47a2ad91ca564909fb31693a9eba)

6 years agoFix typo in capital mode function 43/150743/1
Jihoon Kim [Mon, 18 Sep 2017 10:52:54 +0000 (19:52 +0900)]
Fix typo in capital mode function

Change-Id: I6aaffdb44a2d9a182528ff5fd1491e4e878bf26a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.19 41/149441/1 accepted/tizen/unified/20170913.071437 submit/tizen/20170912.083809
Jihoon Kim [Tue, 12 Sep 2017 08:33:04 +0000 (17:33 +0900)]
Update package version to 4.0.19

Change-Id: I6b9c3b0776dee02f5cbf389c51da9512da578026
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix issues detected by static analysis tool 00/149400/4
Jihoon Kim [Tue, 12 Sep 2017 07:36:32 +0000 (16:36 +0900)]
Fix issues detected by static analysis tool

Passing a null pointer to internally called std::char_traits::length()

Change-Id: I5a6cc71c8364ad255d35cd83aeff3948a55cd75f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix wrong conditional compile 17/148717/1
Jihoon Kim [Fri, 8 Sep 2017 11:10:39 +0000 (20:10 +0900)]
Fix wrong conditional compile

Change-Id: I79f5dab462e6c05cb6d345a0429aced67517af1d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoDelete the timer callback when destroying WSCContextISF pointer 97/147997/1
Sungmin Kwak [Wed, 6 Sep 2017 08:17:15 +0000 (17:17 +0900)]
Delete the timer callback when destroying WSCContextISF pointer

The 2-second timer callback is used to prevent Remote input after Local input.
The pointer parameter to this callback can be invalid if the context is deleted.

Change-Id: I2c63ca6474ab662cdc0a2957afbde1890856e3dc

6 years agoTry re-launch IME if launch request failure is detected 39/147839/4
Ji-hoon Lee [Wed, 6 Sep 2017 01:48:26 +0000 (10:48 +0900)]
Try re-launch IME if launch request failure is detected

Change-Id: I3ae551ec463bed100e4debff6f4338e88007c52f

6 years agoRemove IME from the client repository when sending EXIT command 38/147838/2
Ji-hoon Lee [Tue, 29 Aug 2017 06:43:15 +0000 (15:43 +0900)]
Remove IME from the client repository when sending EXIT command

Even after sending EXIT command to the currently selected IME,
the IME may not get destroyed right away due to its termination
logic, meaning the client repository still holds the IME info
until the socket connection is completely closed.
This would cause an unexpected result if the user first selects
IME A and then IME B, and IME A again.
After the last "IME A selected" event, if the socket connection to
previous IME A gets closed, panel would think the current IME
(that was launched due to the last selection for IME A) needs to be
restarted, so it tries launching new IME A instance.
To prevent this, we will going to remove IME info from client
repository right after we send the EXIT request command.

Change-Id: I28cdcf7796028d59cc6929c182abd64868309053

6 years agoUpdate package version to 4.0.18 83/147283/1 accepted/tizen/unified/20170904.144410 submit/tizen/20170904.000925
Jihoon Kim [Mon, 4 Sep 2017 00:07:59 +0000 (09:07 +0900)]
Update package version to 4.0.18

Change-Id: I25f62802a3156827afe848ef13f49c2f66249646
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRevert "Add required packages for wayland text input" 82/147282/1
Jihoon Kim [Mon, 4 Sep 2017 00:06:29 +0000 (09:06 +0900)]
Revert "Add required packages for wayland text input"

This reverts commit 40737abae398fb8cccba23ca4327b5b40d2536e7.

Change-Id: I36d121a0611d29c51c1fef5280a4a9a950b84b56
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix build warning 55/147155/1
Jihoon Kim [Fri, 1 Sep 2017 07:22:59 +0000 (16:22 +0900)]
Fix build warning

[   74s] wayland_panel_agent_module.cpp:182:17: warning: 'bool filter_devices(const char*)' declared 'static' but never defined [-Wunused-function]
[   74s]  static bool     filter_devices                          (const char *dev_name);

Change-Id: Id28ffbdd9d5a7d7a761894ec3514bb8718f0568b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoAdd missing regional languages in IMMODULE 20/147120/2
InHong Han [Fri, 1 Sep 2017 05:00:14 +0000 (14:00 +0900)]
Add missing regional languages in IMMODULE

problem: Print "." instead of "|" when tapping twice the space bar
cause: No code for supporting regional language
measure: Add missing regional language

Change-Id: I7d63643f2cfff4a2efd75f0f207d36f5fec0de8c

6 years agoSave logs to set IMEngine 29/146329/2
Jihoon Kim [Mon, 28 Aug 2017 05:46:45 +0000 (14:46 +0900)]
Save logs to set IMEngine

Change-Id: I91fc313f4ca221f4683ad947759513b1c5ef7fb2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoModify the log print and descriptions of remote control API 19/146119/1
Sungmin Kwak [Fri, 25 Aug 2017 04:54:34 +0000 (13:54 +0900)]
Modify the log print and descriptions of remote control API

Change-Id: I01779d27df8f2e10aa53fd65a11cb6f24fc4cdc6

6 years agoRemove the filter_devices logic and use the device_subclass to distinguish the device... 67/145467/1
InHong Han [Tue, 22 Aug 2017 10:26:27 +0000 (19:26 +0900)]
Remove the filter_devices logic and use the device_subclass to distinguish the device information

This reverts commit 2f0e37c78c4d0c0f0a2e33e690a32a2e9bdfb2de.

Change-Id: I65d8ccddcfe61c98d2c8d0c126a8c371628fc1e5

6 years agoUpdate package version to 4.0.17 20/145420/1 accepted/tizen/4.0/unified/20170829.020339 accepted/tizen/unified/20170823.031710 submit/tizen/20170822.055943 submit/tizen_4.0/20170828.100004
Jihoon Kim [Tue, 22 Aug 2017 08:25:23 +0000 (17:25 +0900)]
Update package version to 4.0.17

Change-Id: I8e853b47c5913c5727b11e0012e408c1f3706bd1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRevert "Remove the filter_devices logic and use the device_subclass to distinguish... 74/143474/2
Jihoon Kim [Thu, 10 Aug 2017 05:26:12 +0000 (05:26 +0000)]
Revert "Remove the filter_devices logic and use the device_subclass to distinguish the device information"

This reverts commit 89dc38d4ddb8269d35906e39b3cddbc6734a48da.

Change-Id: Ia73925a5cc88091801abd97fd087349f750b34fa

6 years agoAdd logs when launching IME 62/145062/1
Jihoon Kim [Fri, 18 Aug 2017 07:36:08 +0000 (16:36 +0900)]
Add logs when launching IME

Change-Id: Ib9daa951765f5efe0bd1c59b84b8483193298f4c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRevert "Fix delay issue occured when switching keyboard" 90/143690/1
Ji-hoon Lee [Thu, 10 Aug 2017 03:05:29 +0000 (12:05 +0900)]
Revert "Fix delay issue occured when switching keyboard"

This reverts commit feac2037b781d4eac90342fb3ae00ff9b62b9ba8.

Change-Id: If71fc630c4f3d10d3558b9354536411189d7f89f
(cherry picked from commit 817997828b5c832349c6808f610d7264b7165703)

6 years agoRemove old upgrade script 43/143543/1
Sunmin Lee [Thu, 10 Aug 2017 09:24:16 +0000 (18:24 +0900)]
Remove old upgrade script

RW upgrade script file for Tizen 3.0 is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.

Change-Id: I5db2f3dacfddd8c1c876235cede80689f81073c9

6 years agoRemove the filter_devices logic and use the device_subclass to distinguish the device... 63/140663/2
Wonkeun Oh [Wed, 12 Jul 2017 07:11:35 +0000 (16:11 +0900)]
Remove the filter_devices logic and use the device_subclass to distinguish the device information

Change-Id: I8180780026c63061eee46ddfaf10c86f0bb6c2ca

6 years agoUpdate package version to 4.0.16 72/142072/1 accepted/tizen/4.0/unified/20170816.011844 accepted/tizen/4.0/unified/20170816.014957 accepted/tizen/unified/20170803.075442 submit/tizen/20170802.105939 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
Jihoon Kim [Wed, 2 Aug 2017 10:57:54 +0000 (19:57 +0900)]
Update package version to 4.0.16

Change-Id: I656fb7b90dd5d7491e20f6d2484c4f7fd8f8e8c4
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFixed the crash issue when the ecore_wl_shutdown() is called without init 48/142048/1
InHong Han [Wed, 2 Aug 2017 09:56:50 +0000 (18:56 +0900)]
Fixed the crash issue when the ecore_wl_shutdown() is called without init

Change-Id: I334bdc1144b00a765a3c59ac7b3669f6548228a0

6 years agoFix logical error detected by static analysis tool 24/141524/1
Jihoon Kim [Tue, 1 Aug 2017 02:46:28 +0000 (11:46 +0900)]
Fix logical error detected by static analysis tool

Expression 'key < REMOTE_CONTROL_KEY_ENTER' is always false , which may be caused by a logical error

Change-Id: Ie499057a6281ddb68927c644cd0beb024196b385
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.15 82/141482/1 accepted/tizen/unified/20170801.054942 submit/tizen/20170731.100903
Jihoon Kim [Mon, 31 Jul 2017 22:51:07 +0000 (07:51 +0900)]
Update package version to 4.0.15

Change-Id: I7b7435e6f2be2afe36218626cc5ac0585ef75150
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix issues detected by static analysis tool 31/141431/3
Jihoon Kim [Mon, 31 Jul 2017 10:32:25 +0000 (19:32 +0900)]
Fix issues detected by static analysis tool

Change-Id: I06523a22f94ea8ff53dd9643aa74f90cf93fc671
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoCheck focused ctx while waiting in filter event waiting loop 79/141479/1
Ji-hoon Lee [Mon, 31 Jul 2017 12:25:31 +0000 (21:25 +0900)]
Check focused ctx while waiting in filter event waiting loop

Change-Id: I6dd2bb9e044a6a8f068bbce41a3f269bffda1989
(cherry picked from commit de390470fbe741b900de8db5ecea10ff85723d52)

6 years agoFix issue uninitialized value is used 30/141430/1
Jihoon Kim [Mon, 31 Jul 2017 04:56:26 +0000 (13:56 +0900)]
Fix issue uninitialized value is used

Change-Id: Ie9067723d6131693c70151691c565163b87ee945
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.14 48/141248/1 accepted/tizen/unified/20170731.020740 submit/tizen/20170729.030654
Jihoon Kim [Sat, 29 Jul 2017 02:54:02 +0000 (11:54 +0900)]
Update package version to 4.0.14

Change-Id: I58fbfddecbe8bfe828f716061cd567621d2afbb7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix lock issue when getting vconf value 91/141191/3
Jihoon Kim [Fri, 28 Jul 2017 11:30:31 +0000 (20:30 +0900)]
Fix lock issue when getting vconf value

Calling vconf_get_XXX function in vconf changed callback leads to lock up.
vconf_keynode_get_XXX function would be correct usage.

Change-Id: Ia6d502aa09236dc35ca94cfa359e7c67401c5f8e
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoSend candidate show/hide status update to wayland module 36/138736/3
Ji-hoon Lee [Thu, 13 Jul 2017 07:48:05 +0000 (16:48 +0900)]
Send candidate show/hide status update to wayland module

Change-Id: I8a4de6017a95ba3faf9e2c39fea591522967ec05

6 years agoMove the EXAPI macro from header to source file 10/141110/1
Jihoon Kim [Fri, 28 Jul 2017 07:21:02 +0000 (16:21 +0900)]
Move the EXAPI macro from header to source file

Change-Id: Icc4541474d43c02935ccb66dbfaae75138ae5e10
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.13 45/140645/1 accepted/tizen/unified/20170726.135804 submit/tizen/20170726.021844
InHong Han [Wed, 26 Jul 2017 00:54:56 +0000 (09:54 +0900)]
Update package version to 4.0.13

Change-Id: I8effe2296e10c12748cf4407609084b03e5b868f

6 years agoAvoid duplicate fd_read requests to prevent broken pipe error 06/140306/3
InHong Han [Mon, 24 Jul 2017 08:39:48 +0000 (17:39 +0900)]
Avoid duplicate fd_read requests to prevent broken pipe error

Change-Id: I5bcec8a95bc6c1b64db4b981b9d2b718f9071561

6 years agoModified to set keyboard mode to HW keyboard when the entry having focus in TV profile 31/140531/3
InHong Han [Tue, 25 Jul 2017 07:43:27 +0000 (16:43 +0900)]
Modified to set keyboard mode to HW keyboard when the entry having focus in TV profile

Change-Id: I8b22c82a327e75b072370bd6071c81f45d97ce22

6 years agoUpdate package version to 4.0.12 87/140087/1 accepted/tizen/unified/20170724.155217 submit/tizen/20170723.232019
Jihoon Kim [Sun, 23 Jul 2017 23:17:51 +0000 (08:17 +0900)]
Update package version to 4.0.12

Change-Id: Ic7f0be9e5d33ff0bc367a833e34bee08a177a40a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRemove unused variable 92/139992/1
Jihoon Kim [Fri, 21 Jul 2017 07:57:39 +0000 (16:57 +0900)]
Remove unused variable

Change-Id: Iedc9d7e601314d5661dd567153e4eab36a85cc11
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix implicitly cast issue 27/139927/2
Jihoon Kim [Fri, 21 Jul 2017 05:34:16 +0000 (14:34 +0900)]
Fix implicitly cast issue

The '_t1.tv_sec * 1000000' expression was implicitly cast from 'long' type to 'float' type.

Change-Id: If21fa998471b1b93ebffe18bd5845269594d8ed3
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoAdd required packages for wayland text input 10/139910/3
Jihoon Kim [Fri, 21 Jul 2017 04:40:17 +0000 (13:40 +0900)]
Add required packages for wayland text input

Change-Id: I54fd62c33b1ea279902c87eb2ac9d403da293493
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoRemove unnecessary ACK wait when process input device event 59/139959/2
Ji-hoon Lee [Fri, 21 Jul 2017 06:38:12 +0000 (15:38 +0900)]
Remove unnecessary ACK wait when process input device event

Since the current input device event delivery does not support
replying with return value mechanism, the ACK wait process
between the EcoreSocketPanelAgent and SCIM helper is useless
when processing input device events.

Change-Id: I7c352d9c9e88396e89f9f1fee65279f2212bb25e

6 years agoFix issues detected by static analysis tool 49/139849/1
Jihoon Kim [Fri, 21 Jul 2017 00:08:06 +0000 (09:08 +0900)]
Fix issues detected by static analysis tool

Change-Id: I1a82037f761ea5949f0c9626ab8234172b11efd0
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoUpdate package version to 4.0.11 54/139654/1 accepted/tizen/unified/20170720.062148 submit/tizen/20170720.014256
Jihoon Kim [Thu, 20 Jul 2017 01:38:26 +0000 (10:38 +0900)]
Update package version to 4.0.11

Change-Id: I30c86a0b52402a245ef30ad125c2a60e2fc73c54
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix issues detected by static analysis tool 07/139507/10
InHong Han [Wed, 19 Jul 2017 07:27:22 +0000 (16:27 +0900)]
Fix issues detected by static analysis tool

Change-Id: Id1adbe7e51d5277fbf20c3604f54215a614a2724

6 years agoRevert "Fix possible defect which seems to intend swapping variables" 52/139252/3
Jihoon Kim [Tue, 18 Jul 2017 06:06:57 +0000 (06:06 +0000)]
Revert "Fix possible defect which seems to intend swapping variables"

This reverts commit 8490141313501a975e532897bda6efe4fc357283.

Change-Id: I73f9a98206da1f32a3d344d39a637c2dec118da2

6 years agoCheck the return value of memory allocation function 94/139394/1
Jihoon Kim [Tue, 18 Jul 2017 23:20:28 +0000 (08:20 +0900)]
Check the return value of memory allocation function

Change-Id: I8da6df0ecbc416cdcfbda6d1921196365262eb7d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoPrint helper app id when registering is not available 38/139338/2
Jihoon Kim [Tue, 18 Jul 2017 11:13:36 +0000 (20:13 +0900)]
Print helper app id when registering is not available

Change-Id: Ia807e7882e7b59ce5e17ff79f8679937f31f3027
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoAdd missing calls to unlock() 38/139238/1
Sungmin Kwak [Tue, 18 Jul 2017 05:05:30 +0000 (14:05 +0900)]
Add missing calls to unlock()

Change-Id: Ic3e50378f3584dd8f433840c077301864eb1cf01

6 years agoImprove code performance when sending forward key event 89/139089/4
Jihoon Kim [Mon, 17 Jul 2017 08:06:29 +0000 (17:06 +0900)]
Improve code performance when sending forward key event

Code like this is a typical side effect of the refactoring of old C code turned into C++.
The length of a string in a variable of type std::string is computed by the strlen function.
This method is obviously inefficient and cumbersome.

Change-Id: Ibf17a043b96b134eb8f9b671d2d0d5d64534ebe1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix deference of NULL return issue 23/139123/2
Jihoon Kim [Mon, 17 Jul 2017 10:42:30 +0000 (19:42 +0900)]
Fix deference of NULL return issue

Pointer 'new_text' returned from function 'malloc' at wayland_panel_agent_module.cpp:1103 may be null,
and it is dereferenced at wayland_panel_agent_module.cpp:1109.

Change-Id: Idcd50ab2d93a43f5664b6736dc8e8643f1705a58
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoFix possible defect which seems to intend swapping variables 18/139018/2
Ji-hoon Lee [Mon, 17 Jul 2017 02:23:45 +0000 (11:23 +0900)]
Fix possible defect which seems to intend swapping variables

Change-Id: Iaf5d956e37ff9fe764c8f3f0c2a64b88d532c4fb

6 years agoSome description about profile function have been added 97/138897/1
Park, Sehwan [Fri, 14 Jul 2017 07:14:32 +0000 (16:14 +0900)]
Some description about profile function have been added

Change-Id: I0caca4fd29497c1d4c92a285c650029567d53bdd

6 years agoUpdate package version to 4.0.10 01/138601/2 accepted/tizen/unified/20170713.153704 submit/tizen/20170713.034058
Jihoon Kim [Thu, 13 Jul 2017 02:35:50 +0000 (11:35 +0900)]
Update package version to 4.0.10

Change-Id: I2f688ecf12a5c7a1b47133c143270657808d48d1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
6 years agoAdded input_panel_position_set interface 11/138411/2
InHong Han [Wed, 12 Jul 2017 06:32:45 +0000 (15:32 +0900)]
Added input_panel_position_set interface

Change-Id: I3232509184baffe9679d2187de1d68c734b25d0c

6 years agoFixed the crash issue when ecore_shutdown() is called after closing ecore_imf module 01/137501/3
Jihoon Kim [Thu, 6 Jul 2017 07:21:22 +0000 (07:21 +0000)]
Fixed the crash issue when ecore_shutdown() is called after closing ecore_imf module

Change-Id: Ib793e65087b562aa126db7ca5554ac3b20a008f0

6 years agoReorder wl_text_input_listener 78/138378/1
Jihoon Kim [Wed, 12 Jul 2017 04:34:27 +0000 (13:34 +0900)]
Reorder wl_text_input_listener

Considering 3.0 ABI, wl_text_input_listener should be reordered.

Change-Id: I7e65cbfc6f1313dbf5de4f4032b63ff2d3efa731
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix issue update_input_context does not work 34/136634/3
Jihoon Kim [Fri, 30 Jun 2017 11:11:01 +0000 (20:11 +0900)]
Fix issue update_input_context does not work

Change-Id: I47452e843165dd3c2020f46b369613819b835ad7
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix issues detected by static analysis tool 96/136596/5
Jihoon Kim [Fri, 30 Jun 2017 09:38:29 +0000 (18:38 +0900)]
Fix issues detected by static analysis tool

Change-Id: I3cd5c78be3f80b19385f165617596beca0e384f1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRevert "Fixed the crash issue when ecore_shutdown() is called after closing ecore_imf... 96/137496/1
Jihoon Kim [Thu, 6 Jul 2017 07:00:34 +0000 (07:00 +0000)]
Revert "Fixed the crash issue when ecore_shutdown() is called after closing ecore_imf module"

This reverts commit 3fca7d603bbbc73662dc2270193a94fb4b6e28f1.

Change-Id: I66eec178a3274d6f9547c3c4e7f7f92f1ffe1c9b

7 years agoFixed the crash issue when ecore_shutdown() is called after closing ecore_imf module 60/137460/1
InHong Han [Fri, 28 Apr 2017 05:26:57 +0000 (14:26 +0900)]
Fixed the crash issue when ecore_shutdown() is called after closing ecore_imf module

Change-Id: I0ff4772e1da2a58c77fefc44ce313a396cabe260

7 years agoUpdate package version to 4.0.9 22/136722/1 accepted/tizen/unified/20170706.193240 submit/tizen/20170703.050213 submit/tizen/20170705.022248
Jihoon Kim [Mon, 3 Jul 2017 04:48:18 +0000 (13:48 +0900)]
Update package version to 4.0.9

Change-Id: I5f739c29457c6c6fd83e67a94ba889683ab6cbbf
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRevert "Added input_panel_position_set interface" 16/136716/1
InHong Han [Mon, 3 Jul 2017 04:37:11 +0000 (13:37 +0900)]
Revert "Added input_panel_position_set interface"

Change-Id: Ib4c9102b424b219d1d8eb110270b0c493df368de

7 years agoModified to call the preedit changed callback when the preedit cursor is changed 48/135948/3
InHong Han [Tue, 27 Jun 2017 08:36:26 +0000 (17:36 +0900)]
Modified to call the preedit changed callback when the preedit cursor is changed

If ISE calls update_preedit_caret() after updating preedit_string,
the preedit changed callback could not be called.
In this case, the application doesn't know the change of preedit cursor.

Change-Id: Ia2f96cc4134135baac8887e0bdade331bd9f756e

7 years agoFix crash when prediction hint is equal to NULL 60/135760/1
Jihoon Kim [Mon, 26 Jun 2017 08:35:10 +0000 (17:35 +0900)]
Fix crash when prediction hint is equal to NULL

Change-Id: I7c105d1a6462c028c9245e41ab2ff237cc446d14
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoMerge "Fix delay issue occured when switching keyboard" into tizen
Jihoon Kim [Fri, 23 Jun 2017 08:18:59 +0000 (08:18 +0000)]
Merge "Fix delay issue occured when switching keyboard" into tizen