platform/core/uifw/isf.git
7 years agoUse xkb_keysym to look for unresolved keynames 79/116779/4
Ji-hoon Lee [Tue, 28 Feb 2017 07:56:04 +0000 (16:56 +0900)]
Use xkb_keysym to look for unresolved keynames

Change-Id: I41f3db37b61e04dd68b8a6dd58f4426f6b61eaa4

7 years agoModified initializing wl_input_method resource logic 50/110850/8
InHong Han [Wed, 18 Jan 2017 07:55:47 +0000 (16:55 +0900)]
Modified initializing wl_input_method resource logic

Change-Id: Iedc2d6f8c2b1889f295200cdb738a82c9b8c7419

7 years agoUpdate package version to 3.0.176 63/116663/1 accepted/tizen/3.0/common/20170228.061502 accepted/tizen/3.0/ivi/20170228.033950 accepted/tizen/3.0/mobile/20170228.033837 accepted/tizen/3.0/tv/20170228.033923 accepted/tizen/3.0/wearable/20170228.033935 submit/tizen_3.0/20170227.122247
Jihoon Kim [Mon, 27 Feb 2017 12:21:31 +0000 (21:21 +0900)]
Update package version to 3.0.176

Change-Id: I48d46a5b2576531d925b7931b5bb332943bc6acc
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoReset some variables related to Remote Input on focus-out event 05/116605/2
Sungmin Kwak [Mon, 27 Feb 2017 07:36:30 +0000 (16:36 +0900)]
Reset some variables related to Remote Input on focus-out event

Some interfaces might be called before focus-in event, so need to reset the variables on focus-out event.

Change-Id: I56c6023c83141d209c63bfd3b0a06cacbc640f40

7 years agoAdd more logs in IME plugin 36/116636/3
Jihoon Kim [Mon, 27 Feb 2017 10:34:14 +0000 (19:34 +0900)]
Add more logs in IME plugin

Change-Id: I3475d9a76562eebc9dcebf60d9bd691842dc60ff
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix memory leak in immodule 33/116533/3
Jihoon Kim [Mon, 27 Feb 2017 02:14:27 +0000 (11:14 +0900)]
Fix memory leak in immodule

==1321== 156 bytes in 1 blocks are definitely lost in loss record 7,687 of 9,703
==1321==    at 0x4847E64: calloc (vg_replace_malloc.c:623)
==1321==    by 0x92EA7E9: wayland_im_context_new (wayland_imcontext.c:3194)
==1321==    by 0x92E66DD: im_module_create (wayland_module.c:129)
==1321==    by 0x4D521E7: ecore_imf_module_context_create (ecore_imf_module.c:152)
==1321==    by 0x4D51EF7: ecore_imf_context_add (ecore_imf_context.c:141)

Change-Id: I8ee28941e4dd984f85df6f48d673c092bd455c4b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFixed issue not to send the ise state variables to IMEngine 73/116573/1
InHong Han [Mon, 27 Feb 2017 04:01:34 +0000 (13:01 +0900)]
Fixed issue not to send the ise state variables to IMEngine

Change-Id: If0f186895f6cb2104b8df9e838f8560c8b0130dd

7 years agoFix wrong parameter check in remote_control_send_key_event function 77/116377/3
Sungmin Kwak [Fri, 24 Feb 2017 05:48:45 +0000 (14:48 +0900)]
Fix wrong parameter check in remote_control_send_key_event function

Change-Id: I22ed8acf94fe4c05a5e82ac3d0714f2126df67db

7 years agoFixed the deadlock issue. 10/116410/1
Wonkeun Oh [Fri, 24 Feb 2017 01:36:27 +0000 (10:36 +0900)]
Fixed the deadlock issue.

If the default event queue is empty, the 'wl_display_dispatch' function blocks until there are events to be read from the display fd.
So, it might cause the deadlock state of the application's process, If the event queue is empty continually because of some problem.

As for the 'wl_display_roundtrip' function,
This function blocks until the server has processed all currently issued requests by sending a request to the display server and waiting for a reply before returning.

Plus, these functions return the -1 on failure such as closed connection case. It need to be checked

Change-Id: If1e007196945422433d66bf47de58f1809f0535d

7 years agoUpdate package version to 3.0.175 23/116223/2 accepted/tizen/3.0/common/20170224.130041 accepted/tizen/3.0/ivi/20170224.041325 accepted/tizen/3.0/mobile/20170224.040851 accepted/tizen/3.0/tv/20170224.041028 accepted/tizen/3.0/wearable/20170224.041205 submit/tizen_3.0/20170223.103048
InHong Han [Thu, 23 Feb 2017 10:09:49 +0000 (19:09 +0900)]
Update package version to 3.0.175

Change-Id: I48898b57f06d7edc6c6328a42f2f5f56a3fabfc3

7 years agoFix Remote Input bug 98/116098/4
Sungmin Kwak [Thu, 23 Feb 2017 02:36:07 +0000 (11:36 +0900)]
Fix Remote Input bug

In case of REMOTE → LOCAL, clear preedit variables after committing it.

Change-Id: I38d8a2925dd7170b5544720a377019b8ec62d2b0

7 years agoSupport back key 27/116127/1
Jihoon Kim [Thu, 23 Feb 2017 05:41:18 +0000 (14:41 +0900)]
Support back key

Change-Id: If9f77f2f03429b60b71926c6ae970aef8a979d4c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix Remote Input bug 91/116091/1
Sungmin Kwak [Thu, 23 Feb 2017 01:55:25 +0000 (10:55 +0900)]
Fix Remote Input bug

SearchAll > In mobile, input a certain word that can't be searched > Press Done > SearchAll app has only the text field > Press OK (center) key > The word is duplicated and inputted again.

Change-Id: Ia21ddbe095c02cdf5d05f28fb1731269fdaaa9e0

7 years agoAdd context information in log 62/116062/2
Jihoon Kim [Wed, 22 Feb 2017 22:50:43 +0000 (07:50 +0900)]
Add context information in log

Change-Id: I19a99b19154f6517dae7fb0cd061cb37bf546d51
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoDestroy package info handler in ime plugin 10/116010/3
Jihoon Kim [Wed, 22 Feb 2017 10:07:32 +0000 (19:07 +0900)]
Destroy package info handler in ime plugin

Change-Id: I352e4c15c974acf2bf418d689e49d3ad8aabec8d

7 years agoUpdate package version to 3.0.174 65/116065/1 accepted/tizen/3.0/common/20170223.122346 accepted/tizen/3.0/ivi/20170223.040542 accepted/tizen/3.0/mobile/20170223.040504 accepted/tizen/3.0/tv/20170223.040517 accepted/tizen/3.0/wearable/20170223.040529 submit/tizen_3.0/20170222.232443
Jihoon Kim [Wed, 22 Feb 2017 23:18:13 +0000 (08:18 +0900)]
Update package version to 3.0.174

Change-Id: I8373fff9a6c7a92e6e66a90154fa0a3ad058644c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRevert "Remove hide panel key" 64/116064/2
Jihoon Kim [Wed, 22 Feb 2017 23:14:21 +0000 (15:14 -0800)]
Revert "Remove hide panel key"

This reverts commit 8de29218c58d48d6065c0708f363ec031371ea27.

Change-Id: I994f2ca0226742eea55f64dfa43820f884af03a0

7 years agoUpdate package version to 3.0.173 51/115751/1 accepted/tizen/3.0/common/20170222.125951 accepted/tizen/3.0/ivi/20170222.082526 accepted/tizen/3.0/mobile/20170222.082340 accepted/tizen/3.0/tv/20170222.082418 accepted/tizen/3.0/wearable/20170222.082455 submit/tizen_3.0/20170221.231646
InHong Han [Tue, 21 Feb 2017 07:38:42 +0000 (16:38 +0900)]
Update package version to 3.0.173

Change-Id: If22d5ecc1ac8d8c1748e641fbd05e8b35af3ca84

7 years agoAdd more information to log for debugging 28/115728/2
Sungmin Kwak [Tue, 21 Feb 2017 06:40:55 +0000 (15:40 +0900)]
Add more information to log for debugging

Change-Id: I4beffeb370cc9f5ae10a4a0c2a907bed91d41785

7 years agoMerge "Check keyboard mode before sending ise state variables" into tizen_3.0
Jihoon Kim [Tue, 21 Feb 2017 06:50:06 +0000 (22:50 -0800)]
Merge "Check keyboard mode before sending ise state variables" into tizen_3.0

7 years agoCheck keyboard mode before sending ise state variables 93/115593/4
InHong Han [Mon, 20 Feb 2017 11:52:38 +0000 (20:52 +0900)]
Check keyboard mode before sending ise state variables

The hardware keyboard should receive ise state variables because the ise_show is not requested
Change-Id: I8925469dd0d181623e971cabb704a6e3b69932de

7 years agoFix typo in socket config log 75/115575/1
Jihoon Kim [Mon, 20 Feb 2017 10:46:47 +0000 (19:46 +0900)]
Fix typo in socket config log

Change-Id: I55b987487849491abd9f08efa7108595ba04df0c
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix wrong parameter of pkgmgrinfo_appinfo_get_usr_appinfo 00/115500/1
Jihoon Kim [Mon, 20 Feb 2017 07:36:49 +0000 (16:36 +0900)]
Fix wrong parameter of pkgmgrinfo_appinfo_get_usr_appinfo

Change-Id: I35dfaffdf427ab72ebff763a02e6329b89d3e717
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.172 48/115348/2 accepted/tizen/3.0/common/20170220.130033 accepted/tizen/3.0/ivi/20170220.014122 accepted/tizen/3.0/mobile/20170220.013957 accepted/tizen/3.0/tv/20170220.014100 accepted/tizen/3.0/wearable/20170220.014111 submit/tizen_3.0/20170217.113306
Jihoon Kim [Fri, 17 Feb 2017 11:09:55 +0000 (20:09 +0900)]
Update package version to 3.0.172

Change-Id: Idc71278b537ddb24791483fbb056b2cc108cbb18
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoAdd recapture_string interface 45/115345/2
Jihoon Kim [Fri, 17 Feb 2017 08:14:08 +0000 (17:14 +0900)]
Add recapture_string interface

recapture string will be used for deleting the existed text and inserting preedit or commit string.
It's for avoiding the blinking due to the deleting and update preedit or commit string

Change-Id: I509755429e1e9c78cd1e2d27e4c821c669fc234f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix buffer overflow issue when the commit_preedit size is greater than 4096 bytes. 85/115285/4
InHong Han [Fri, 17 Feb 2017 07:09:13 +0000 (16:09 +0900)]
Fix buffer overflow issue when the commit_preedit size is greater than 4096 bytes.

The wayland protocol have limit of 4096 bytes if using string type argument.
So modified the maximum size of commit_preedit to 4000 bytes.
Change-Id: I81b080a4c2c6c8094cd970e9ba27453b6263fd62

7 years agoMerge "Support the multiple remote control instances" into tizen_3.0
Sungmin Kwak [Fri, 17 Feb 2017 09:32:49 +0000 (01:32 -0800)]
Merge "Support the multiple remote control instances" into tizen_3.0

7 years agoSupport the multiple remote control instances 92/115292/1
Sungmin Kwak [Fri, 17 Feb 2017 08:24:40 +0000 (17:24 +0900)]
Support the multiple remote control instances

The remote control event callbacks are not called if they are registered multiple times.

Change-Id: Ib63916ff591969cd0360c859881b0e31cdfa59a6

7 years agoSend all key events to IMMODULE first and then process when requested 88/115288/1
Ji-hoon Lee [Fri, 17 Feb 2017 08:05:12 +0000 (17:05 +0900)]
Send all key events to IMMODULE first and then process when requested

The previous implementation had whitelist of key events that could be
sent to IMMODULE, and other key events were sent to IMEngine directly.
Modified scim_helper to send all key events to IMMODULE, and added
code for processing events starting with u/U.

Change-Id: Id5df610cfaade917a3cefc20c933da71da0e97b7

7 years agoFix typo in log 96/115196/2
Jihoon Kim [Thu, 16 Feb 2017 22:29:09 +0000 (07:29 +0900)]
Fix typo in log

Change-Id: I169581347e4d06755c1984570d548c24a56ff9fb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoModified to prevent sending ise state variables before ise_show is called 42/115242/2
InHong Han [Fri, 17 Feb 2017 04:50:17 +0000 (13:50 +0900)]
Modified to prevent sending ise state variables before ise_show is called

Change-Id: Iccaf22185c13649888e9af57ebab7cfb538769bf

7 years agoUpdate package version to 3.0.171 96/115096/1 accepted/tizen/3.0/common/20170217.122021 accepted/tizen/3.0/ivi/20170217.022655 accepted/tizen/3.0/mobile/20170217.022515 accepted/tizen/3.0/tv/20170217.022604 accepted/tizen/3.0/wearable/20170217.022639 submit/tizen_3.0/20170216.094217
sungwook79.park [Thu, 16 Feb 2017 08:48:47 +0000 (17:48 +0900)]
Update package version to 3.0.171

Change-Id: I505e4f8ea8ab4fb3f2d07155dfcc22784fed1964
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
7 years agoRemove hide panel key 54/115054/2
sungwook79.park [Thu, 16 Feb 2017 07:24:46 +0000 (16:24 +0900)]
Remove hide panel key

Change-Id: I96d5e5f77b2640468f1cc4486deb135bd5aff717
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
7 years agoUpdate package version to 3.0.170 90/114690/1
Jihoon Kim [Tue, 14 Feb 2017 11:36:25 +0000 (20:36 +0900)]
Update package version to 3.0.170

Change-Id: Ifb472d20c2c5ed47537dfcbacebaec8d12f6bf1a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix build warning 88/114688/1
Jihoon Kim [Tue, 14 Feb 2017 11:31:19 +0000 (20:31 +0900)]
Fix build warning

Change-Id: Ifcb7e2cdfceebc9bdf7443051f1fe136903e05c1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix build warning 81/114681/1
Jihoon Kim [Tue, 14 Feb 2017 11:15:13 +0000 (20:15 +0900)]
Fix build warning

Change-Id: Iddf954321834692adb7d5023cafe4ede9c19dd1f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoAdded the logic to change the keyboard mode from H/W mode to S/W mode by remote control 09/114609/5
Wonkeun Oh [Tue, 14 Feb 2017 07:27:50 +0000 (16:27 +0900)]
Added the logic to change the keyboard mode from H/W mode to S/W mode by remote control

Change-Id: Ia7c827c7221b6fd835b53be824d1451724d66053

7 years agoAdded the code to check key event's device_name in the keyboard mode logic. 76/114576/5
Wonkeun Oh [Tue, 14 Feb 2017 05:01:08 +0000 (14:01 +0900)]
Added the code to check key event's device_name in the keyboard mode logic.

Currently, the physical keyboard's number key code and symbol value are the same as remote_control's ones.
The number key could be used to input some text in the some language.

So, It should be distinguished by the device name to change the keyboard mode.

Change-Id: I2543bfa2308343e6e2aa64fb4df64cf7efcee504

7 years agoUpdate package version to 3.0.169 34/114134/1 accepted/tizen/3.0/common/20170214.180215 accepted/tizen/3.0/ivi/20170213.230843 accepted/tizen/3.0/mobile/20170213.230743 accepted/tizen/3.0/tv/20170213.230810 accepted/tizen/3.0/wearable/20170213.230828 submit/tizen_3.0/20170210.063600
Jihoon Kim [Fri, 10 Feb 2017 06:30:47 +0000 (15:30 +0900)]
Update package version to 3.0.169

Change-Id: I8c6dd69e7e9503a0a1f4677039a5c22c6b789ff4
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRemove unnecessary build configuration 37/113937/3
Jihoon Kim [Thu, 9 Feb 2017 10:01:00 +0000 (19:01 +0900)]
Remove unnecessary build configuration

Change-Id: Ib09d6d7ecb8b1c6b86dad853c2df057cfebfb06a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix unitialized variable issues detected by static analysis tool 11/113911/3
Jihoon Kim [Thu, 9 Feb 2017 08:37:56 +0000 (17:37 +0900)]
Fix unitialized variable issues detected by static analysis tool

Change-Id: I282701e9494923c2b43ebcf66dcbccbacdeefd06
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoMake the configuration for the web_server(open_input server) logic. 67/114067/1
Wonkeun Oh [Fri, 10 Feb 2017 01:19:36 +0000 (10:19 +0900)]
Make the configuration for the web_server(open_input server) logic.

Change-Id: Ie8e95d6c25b9c24594bf571685ac9dbd49a2a278

7 years agoFixed the crash issue due to null pointer 87/113987/1
Wonkeun Oh [Thu, 9 Feb 2017 12:12:48 +0000 (21:12 +0900)]
Fixed the crash issue due to null pointer

Change-Id: I20878c47181a2bea65425dafc09308c2f05ecb4d

7 years agoUpdate package version to 3.0.168 11/113711/1 accepted/tizen/3.0/common/20170210.071209 accepted/tizen/3.0/ivi/20170210.002118 accepted/tizen/3.0/mobile/20170210.002025 accepted/tizen/3.0/tv/20170210.002047 accepted/tizen/3.0/wearable/20170210.002103 submit/tizen_3.0/20170208.101840
Jihoon Kim [Wed, 8 Feb 2017 11:17:09 +0000 (20:17 +0900)]
Update package version to 3.0.168

Change-Id: I0f9ea28dfa17c6a70005d63c7b9e48c19216ed77

7 years agoFix build error 10/113710/1
Jihoon Kim [Wed, 8 Feb 2017 11:16:10 +0000 (20:16 +0900)]
Fix build error

Change-Id: I37506d388216d8cd679d1982aabbdeaa203f83bb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.167 80/113680/1
Jihoon Kim [Wed, 8 Feb 2017 10:06:19 +0000 (19:06 +0900)]
Update package version to 3.0.167

Change-Id: Ib0ab064a4d6ac213ab5282b2a83084315c7b6a68
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix uninitialized value issue detected by static analysis tool 48/113648/1
Jihoon Kim [Wed, 8 Feb 2017 08:37:48 +0000 (17:37 +0900)]
Fix uninitialized value issue detected by static analysis tool

Change-Id: I3bbed4db5f87bbf0a29c938fadb554d799f164a9
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoSupport the update_ise_geometry api to notify the ime geometry to app. 85/113385/1
Wonkeun Oh [Tue, 7 Feb 2017 08:16:49 +0000 (17:16 +0900)]
Support the update_ise_geometry api to notify the ime geometry to app.

Change-Id: I135272bed49696d864aa5d91fa4f0ce6a4b88999

7 years agoUse hardcoded path due to no working 08/113108/1
Jihoon Kim [Mon, 6 Feb 2017 06:05:19 +0000 (15:05 +0900)]
Use hardcoded path due to no working

Change-Id: Id15b27a76c40cabb94b396cf0e4e09bd8e9450d8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFixed issue when application don't use callback function in remote input 77/112677/1
InHong Han [Thu, 2 Feb 2017 07:13:05 +0000 (16:13 +0900)]
Fixed issue when application don't use callback function in remote input

Added null check code to fix issue
Change-Id: Ie7fc2b00d7f7cd40e44deb0784f07ebcde1fc438

7 years agoUpdate package version to 3.0.166 29/112529/1 accepted/tizen/3.0/common/20170202.151016 accepted/tizen/3.0/ivi/20170202.010546 accepted/tizen/3.0/mobile/20170202.010149 accepted/tizen/3.0/tv/20170202.010249 accepted/tizen/3.0/wearable/20170202.010430 submit/tizen_3.0/20170201.095134
Jihoon Kim [Wed, 1 Feb 2017 09:01:37 +0000 (18:01 +0900)]
Update package version to 3.0.166

Change-Id: Idfa9fe07795c6cad382a31716526b28b30f76414
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix the typos of error logs 67/112367/2
Sungmin Kwak [Tue, 31 Jan 2017 11:29:50 +0000 (20:29 +0900)]
Fix the typos of error logs

Change-Id: I9eb7366334ede1a39c54ba0b31ae3b66ed8462e4

7 years agoMerge "Change filter_event to return true even read_from_socket fails" into tizen_3.0
Jihoon Kim [Wed, 1 Feb 2017 00:37:27 +0000 (16:37 -0800)]
Merge "Change filter_event to return true even read_from_socket fails" into tizen_3.0

7 years agoChange filter_event to return true even read_from_socket fails 08/112308/1
Ji-hoon Lee [Tue, 31 Jan 2017 06:29:46 +0000 (15:29 +0900)]
Change filter_event to return true even read_from_socket fails

If the filter_event returns false, the ISE will terminate itself.
So modified filter_event to return false only when the connection
is lost, and keep alive in other abnormal cases such as timeout.

Change-Id: I96f15fede012789cb74d2a72aef6f78c145e8230

7 years agoUpdate package version to 3.0.165 73/112273/1 accepted/tizen/3.0/common/20170131.161827 accepted/tizen/3.0/ivi/20170131.090514 accepted/tizen/3.0/mobile/20170131.090428 accepted/tizen/3.0/tv/20170131.090442 accepted/tizen/3.0/wearable/20170131.090457 submit/tizen_3.0/20170131.023722
InHong Han [Tue, 31 Jan 2017 02:13:13 +0000 (11:13 +0900)]
Update package version to 3.0.165

Change-Id: I0449b62c18bdd71ddc07eb11bcf6447e0fdda5b3

7 years agoUsing secure log 72/112272/1
InHong Han [Tue, 31 Jan 2017 02:12:14 +0000 (11:12 +0900)]
Using secure log

Change-Id: I0a48bc911bcfcfe6188dc19362bc1fbe178056fb

7 years agoFix URL layout issue in remote input #2 20/112120/1
Sungmin Kwak [Thu, 26 Jan 2017 06:21:45 +0000 (15:21 +0900)]
Fix URL layout issue in remote input #2

Delete all surrounding texts before commit string when URL layout

Change-Id: I6d3e7f77c0b12de8d3d28d0251ff982c988faf69

7 years agoFix build error due to undefined reference to eina_str_split 20/112020/2
Jihoon Kim [Wed, 25 Jan 2017 10:37:36 +0000 (19:37 +0900)]
Fix build error due to undefined reference to eina_str_split

Change-Id: I4d5f8b51acb10a3c906c0f091c3e1aeaa23d1739
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix issue when focused_context is greater than 0x7FFF 76/111876/2
Ji-hoon Lee [Tue, 24 Jan 2017 11:17:35 +0000 (20:17 +0900)]
Fix issue when focused_context is greater than 0x7FFF

Since opensource SCIM generates helper_ic using the formula
helper_ic = (uint32)(client&0xFFFF)|((context&0x7FFF)<<16);
, if the context is greater than 0x7FFF the operator "="
is not appropriate for comparing two contexts properly.
Thus added compare function for contexts and modified to use
focused_context variable that is not being truncated by the
helper_ic generation formula.
But still, helper_ic related code seems to need a refinement.

Change-Id: Iecf2c72788b7d3acebb4b119ad0fe4ea78a6b881

7 years agoReplace Ecore_Fd_handler with GIOChannel in remote input. 77/111877/3
InHong Han [Tue, 24 Jan 2017 11:38:59 +0000 (20:38 +0900)]
Replace Ecore_Fd_handler with GIOChannel in remote input.

Use GIOChannel to support g_main_loop instead of ecore_main_loop from remote input
Change-Id: I31ff0653038c2be37d1b1ae54d6281710c1f64aa

7 years agoUpdate package version to 3.0.164 18/111818/1 accepted/tizen/3.0/common/20170125.121738 accepted/tizen/3.0/ivi/20170125.084018 accepted/tizen/3.0/mobile/20170125.084005 accepted/tizen/3.0/tv/20170125.084009 accepted/tizen/3.0/wearable/20170125.084014 submit/tizen_3.0/20170124.114159
InHong Han [Tue, 24 Jan 2017 06:59:21 +0000 (15:59 +0900)]
Update package version to 3.0.164

Change-Id: I084afcb3a15b205ab0a5ae25b43f074fe703ccc0

7 years agoModified to receive both remote_surrounding_text and cursor_position 76/111676/1
InHong Han [Mon, 23 Jan 2017 10:08:01 +0000 (19:08 +0900)]
Modified to receive both remote_surrounding_text and cursor_position

Change-Id: Idb77e9704368bc687c54b1dcfdca0a55cbfbb1c1

7 years agoUpdate package version to 3.0.163 54/111554/1 accepted/tizen/3.0/common/20170123.173445 accepted/tizen/3.0/ivi/20170123.022817 accepted/tizen/3.0/mobile/20170123.022704 accepted/tizen/3.0/tv/20170123.022724 accepted/tizen/3.0/wearable/20170123.022753 submit/tizen_3.0/20170121.235335
InHong Han [Sun, 22 Jan 2017 01:07:14 +0000 (10:07 +0900)]
Update package version to 3.0.163

Change-Id: Ica828e2e32dafba01bb8097859c398b2bc470352

7 years agoRemove cynara session in privilege_checker 53/111553/1
InHong Han [Fri, 20 Jan 2017 07:45:30 +0000 (16:45 +0900)]
Remove cynara session in privilege_checker

Session information is unnecessary in cynara checker
Change-Id: Id39809225e5d4ccb3493ba5ba0e586e1b3fe0674

7 years agoUpdate package version to 3.0.162 72/111272/1 submit/tizen/20170120.050913
InHong Han [Fri, 20 Jan 2017 05:10:30 +0000 (14:10 +0900)]
Update package version to 3.0.162

Change-Id: I7d2ad4ca88ed86d5c27902d9c0e69b485d8ef634

7 years agoCheck preedit_text first before analyzing surrounding_text 32/111032/2
Ji-hoon Lee [Thu, 19 Jan 2017 07:50:52 +0000 (16:50 +0900)]
Check preedit_text first before analyzing surrounding_text

Since the "cursor_position==0" condition is evaluated first,
the immodule considers autocapitalization is required even
when imcontext has preedit_text. Thus modified to check the
existence of preedit_text first.

Change-Id: Ibaa73a68617eaf08b8de6cade0ab8e28c2d83ea4

7 years agoFixed the deadlock issue during the wl_interface. 72/111072/1
Wonkeun Oh [Thu, 19 Jan 2017 09:38:23 +0000 (18:38 +0900)]
Fixed the deadlock issue during the wl_interface.

Do not send the filter_key_event if there is no _focused_ctx

Change-Id: I4934af371222155edfe51284d25185ece633844a

7 years agoRemoved the unnecessary code 81/110981/4
Wonkeun Oh [Thu, 19 Jan 2017 05:05:12 +0000 (14:05 +0900)]
Removed the unnecessary code

The same logic which check the keyboard mode before showing IME was added in the e-mod-tizen-wl-textinput.
And this logic makes the issue which IME can't be shown because the asynchronous communication between immodule and e-mod-tizen-wl-textinput module.

Immodule get the vconf changed callback function later than show_input_panel function because of the asynchronous interface of the vconf and wl_text_input api.

Change-Id: Ie0dcdf1d204ff19a56b2bc5fad98c5f1fbcdbbb4

7 years agoRemove unnecessary NULL check code 95/110895/1
Jihoon Kim [Wed, 18 Jan 2017 12:07:10 +0000 (21:07 +0900)]
Remove unnecessary NULL check code

Change-Id: Ie88ad2d58d3652b999a544b36603462fa7a80c78
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.161 93/110893/1 accepted/tizen/3.0/common/20170119.105945 accepted/tizen/3.0/ivi/20170119.020929 accepted/tizen/3.0/mobile/20170119.020842 accepted/tizen/3.0/tv/20170119.020859 accepted/tizen/3.0/wearable/20170119.020915 submit/tizen_3.0/20170118.115831
Jihoon Kim [Wed, 18 Jan 2017 11:55:36 +0000 (20:55 +0900)]
Update package version to 3.0.161

Change-Id: Iecb61dcc9e4dfb60b6afc5e66773a255c51604d8
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoCheck conformant reset state together with reset_conformant() success 26/110826/2
Ji-hoon Lee [Wed, 18 Jan 2017 01:12:35 +0000 (10:12 +0900)]
Check conformant reset state together with reset_conformant() success

Since the conformant is reset right after _input_panel_hide() call,
at the time that immodule receives conformant_reset request from
wl_textinput module, reset_conformant_area() function might return
false since the keyboard geometry is already set to 0x0.
So, even the keyboard geometry is set to 0x0, check the conformant
reset state to ensure there is no preceding conformant reset request
being processed.

Change-Id: I26f7062c52d3f3763167d4cfa87b3437ee7e8ad4

7 years agoCheck if preedit string is empty before sending cursor_pos 66/110566/5
Ji-hoon Lee [Tue, 17 Jan 2017 05:03:20 +0000 (14:03 +0900)]
Check if preedit string is empty before sending cursor_pos

Currently we are not sending cursor_pos if we have preedit string,
but since the routine only checks whether the preedit_text is NULL,
so if the preedit_string is empty "" string, the ISE / IMEngine
will not get cursor_pos information properly. Thus added 'strlen()'
condition at the NULL checking 'if()' statement.

Change-Id: Ia2444d59f736b3474da02ca56bf55b0c8c1f53a3

7 years agoFix issue not to launch 3rd party IME application in 64bit architecture 81/110681/2
Jihoon Kim [Tue, 17 Jan 2017 11:14:55 +0000 (20:14 +0900)]
Fix issue not to launch 3rd party IME application in 64bit architecture

In 64bit architecture, /usr/lib64 prefix should be used instead of /usr/lib

Change-Id: Ic016fa0a4a910f2bcc5203813848affe396e9368
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.160 12/110612/1 accepted/tizen/3.0/common/20170118.131113 accepted/tizen/3.0/ivi/20170118.043239 accepted/tizen/3.0/mobile/20170118.043152 accepted/tizen/3.0/tv/20170118.043203 accepted/tizen/3.0/wearable/20170118.043222 submit/tizen_3.0/20170117.072955
InHong Han [Tue, 17 Jan 2017 07:19:31 +0000 (16:19 +0900)]
Update package version to 3.0.160

Change-Id: I1f22c11dba51d7f74b7d937fc57f36adf09e7162

7 years agoCheck focus event flag in wl_input_method_listener 72/110572/1
InHong Han [Tue, 17 Jan 2017 00:59:43 +0000 (09:59 +0900)]
Check focus event flag in wl_input_method_listener

Unnecessary focus event occurred when calling the hide_input_panel() after
the focus_out event is called.
Change-Id: I2323d81d25ef870c0a87ae6b5e53af25f1576f4b

7 years agoUpdate package version to 3.0.159 18/110418/1 accepted/tizen/3.0/common/20170117.075746 accepted/tizen/3.0/ivi/20170117.005808 accepted/tizen/3.0/mobile/20170117.005720 accepted/tizen/3.0/tv/20170117.005733 accepted/tizen/3.0/wearable/20170117.005749 submit/tizen_3.0/20170116.102249
Jihoon Kim [Mon, 16 Jan 2017 10:14:13 +0000 (19:14 +0900)]
Update package version to 3.0.159

Change-Id: I9cd736d78a33b2972e635228123b33c12e70ec87
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoAdd isf_debug.h header file inclusion 07/110407/1
Sungmin Kwak [Mon, 16 Jan 2017 09:16:33 +0000 (18:16 +0900)]
Add isf_debug.h header file inclusion

Change-Id: Ie9e07064f269b7c825a6cd4d2324f85163f5852f

7 years agoAdded to send fail_reply message in the panel_agent's socket communication. 65/110165/1
Wonkeun Oh [Fri, 13 Jan 2017 05:41:58 +0000 (14:41 +0900)]
Added to send fail_reply message in the panel_agent's socket communication.

Because there was a missing reply message in the socket communication.
Even if there is no reply data or fail case in the socket, It should send the reply message to prevent the client side's timeout.
This patch fixed the 5 sec delay of helper_agent when the helper_agent(IME) is relaunched

Change-Id: I0bab779ea508bd108005e7707de98e9105484d3e

7 years agoUpdate package version to 3.0.158 80/109980/1 accepted/tizen/3.0/common/20170113.182208 accepted/tizen/3.0/common/20170116.122054 accepted/tizen/3.0/ivi/20170113.080706 accepted/tizen/3.0/ivi/20170113.235622 accepted/tizen/3.0/mobile/20170113.080619 accepted/tizen/3.0/mobile/20170113.235535 accepted/tizen/3.0/tv/20170113.080632 accepted/tizen/3.0/tv/20170113.235553 accepted/tizen/3.0/wearable/20170113.080650 accepted/tizen/3.0/wearable/20170113.235604 submit/tizen_3.0/20170112.091741 submit/tizen_3.0/20170113.013300
Ji-hoon Lee [Thu, 12 Jan 2017 10:35:06 +0000 (19:35 +0900)]
Update package version to 3.0.158

Change-Id: I20b1462dcfb4b07fa565cdbb98918d6a9d875900

7 years agoDisable unnecessary hide_permission query 82/109882/3
Ji-hoon Lee [Thu, 12 Jan 2017 06:32:27 +0000 (15:32 +0900)]
Disable unnecessary hide_permission query

Change-Id: I4b75479071d44fcd53c276e1d7c2d8bcd0536421

7 years agoReturn empty surrounding text when no focused client available 56/109856/3
Ji-hoon Lee [Thu, 12 Jan 2017 04:48:49 +0000 (13:48 +0900)]
Return empty surrounding text when no focused client available

Change-Id: I13b6c30bbf1a1d2e671ef583ab29f44fd8420a8a

7 years agoReduce binary size of wayland immodule to use hidden visibility 77/109477/1
Jihoon Kim [Tue, 10 Jan 2017 07:09:44 +0000 (16:09 +0900)]
Reduce binary size of wayland immodule to use hidden visibility

size : 39740 -> 36560

Change-Id: I25e4e99ff585b3cf04026d97660c63b39703227a
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.157 70/109070/2 accepted/tizen/3.0/common/20170110.125753 accepted/tizen/3.0/ivi/20170110.044315 accepted/tizen/3.0/mobile/20170110.044217 accepted/tizen/3.0/tv/20170110.044239 accepted/tizen/3.0/wearable/20170110.044256 submit/tizen_3.0/20170109.104857
Jihoon Kim [Sat, 7 Jan 2017 09:00:18 +0000 (18:00 +0900)]
Update package version to 3.0.157

Change-Id: I07b132c6000a8f8cb4a3c2ca9c1a0da3add43537
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRemove unnecessary exported symbols in immodule 59/108959/5
Jihoon Kim [Fri, 6 Jan 2017 09:11:44 +0000 (18:11 +0900)]
Remove unnecessary exported symbols in immodule

Change-Id: I4ab7d9a2834c50ee1d0b6e4bac66b2dc709d8559
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix blink issue when reset is called 69/109069/1
Jihoon Kim [Sat, 7 Jan 2017 08:48:00 +0000 (17:48 +0900)]
Fix blink issue when reset is called

Consecutive empty preedit and commit occurs blink.

Change-Id: I35e271dc4ccdc6f7223cf2c3ce016e4ecc1ef4fd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.156 62/108962/2 accepted/tizen/3.0/common/20170109.195938 accepted/tizen/3.0/ivi/20170109.073436 accepted/tizen/3.0/tv/20170110.055312 accepted/tizen/3.0/wearable/20170109.073240 submit/tizen_3.0/20170106.102334 submit/tizen_3.0/20170107.035043
Jihoon Kim [Fri, 6 Jan 2017 09:22:47 +0000 (18:22 +0900)]
Update package version to 3.0.156

Change-Id: I05f2b6c989b605f642acc74c8d585428a37f4e0f
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRequire libtzplatform-config explicitly 14/109014/1
Kunhoon Baik [Fri, 6 Jan 2017 12:25:36 +0000 (21:25 +0900)]
Require libtzplatform-config explicitly

Until now, this package has been built using symbols in other packages indirectly.
As static library is removed, it should require libtzplatform-config library in itself.

Change-Id: I1b82f91ecbebf01b2cb64f5d2dc58196b8e6f108

7 years agoCheck focus before sending wayland text input protocol 26/108826/3
Jihoon Kim [Fri, 6 Jan 2017 02:37:38 +0000 (11:37 +0900)]
Check focus before sending wayland text input protocol

wl_text_input_set APIs should be used when it has focus.

Change-Id: I16566c86353e0fa04dfec1bccdd10d7b099f8e4f

7 years agoRemove unused scim process 38/107638/2
Jihoon Kim [Thu, 29 Dec 2016 04:25:26 +0000 (13:25 +0900)]
Remove unused scim process

Change-Id: I6367d930130782db96fdd41a83001a73571bb4f1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.155 34/108634/1 accepted/tizen/3.0/common/20170109.200225 accepted/tizen/3.0/ivi/20170106.094514 accepted/tizen/3.0/mobile/20170106.094422 accepted/tizen/3.0/tv/20170106.094440 accepted/tizen/3.0/wearable/20170106.094458 submit/tizen_3.0/20170105.095152
Ji-hoon Lee [Thu, 5 Jan 2017 08:47:52 +0000 (17:47 +0900)]
Update package version to 3.0.155

Change-Id: Ie42e56913749605a2a6b1d72b27699ae8cedfb00

7 years agoCache has_conformant info for preventing app crash 28/108628/1
Ji-hoon Lee [Thu, 5 Jan 2017 07:57:40 +0000 (16:57 +0900)]
Cache has_conformant info for preventing app crash

ecore_wl_window_conformant_get() invokes ecore_wl_sync(),
and when this function gets called inside class destructor,
sometimes causes abort() when no connection is available.
Need to enhance this piece of code, to check if there is a
valid wl connection available before querying conformant info.

Change-Id: Iefec96095eaca1e2faa99b3c7186ce2a98808a10

7 years agoUpdate package version to 3.0.154 77/108277/1 submit/tizen_3.0/20170104.021409
Ji-hoon Lee [Wed, 4 Jan 2017 01:56:52 +0000 (10:56 +0900)]
Update package version to 3.0.154

Change-Id: I9f9a2a1e45357c3bbdcdd3ae7028915802e70c53

7 years agoRename (un)initialize functions for prevent confusion 01/108001/2
Ji-hoon Lee [Mon, 2 Jan 2017 08:43:27 +0000 (17:43 +0900)]
Rename (un)initialize functions for prevent confusion

Change-Id: I8eeae66de109fbcbde37775552775498f065cc9b

7 years agoWake up IME application before using it 49/108249/1
Ji-hoon Lee [Tue, 3 Jan 2017 11:38:54 +0000 (20:38 +0900)]
Wake up IME application before using it

Change-Id: Iccfabc06ac3b0df1f368d801836a1095f330c1f8

7 years agoUpdate package version to 3.0.152 92/107392/2 accepted/tizen/3.0.m2/mobile/20170104.143002 accepted/tizen/3.0.m2/tv/20170104.143447 accepted/tizen/3.0.m2/wearable/20170104.143848 accepted/tizen/3.0/common/20161228.162429 accepted/tizen/3.0/ivi/20161228.092335 accepted/tizen/3.0/mobile/20161228.092255 accepted/tizen/3.0/tv/20161228.092313 accepted/tizen/3.0/wearable/20161228.092324 submit/tizen_3.0.m2/20170104.093752 submit/tizen_3.0/20161228.025249
Jihoon Kim [Wed, 28 Dec 2016 01:37:29 +0000 (10:37 +0900)]
Update package version to 3.0.152

Change-Id: I5ab6e0703ae656f5901494a9e51052fbe55207b5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix dereference of NULL assign issue 90/107390/2
Jihoon Kim [Wed, 28 Dec 2016 01:36:26 +0000 (10:36 +0900)]
Fix dereference of NULL assign issue

Pointer 'pkgtype', which is dereferenced at ime_parser.c:77 by calling function 'strcmp', may have NULL value.

Change-Id: I27099b5bfc5b952d37ada7a07906969d5b2e3604
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoRemoved remote input functions excluding the TV profile 04/107204/3
InHong Han [Tue, 27 Dec 2016 06:47:56 +0000 (15:47 +0900)]
Removed remote input functions excluding the TV profile

Change-Id: Ie4fd23e93341cdc40001df51d1009fabf68c3743

7 years agoUpdate package version to 3.0.152 36/107336/2 submit/tizen_3.0/20161227.130048
Jihoon Kim [Tue, 27 Dec 2016 12:50:56 +0000 (21:50 +0900)]
Update package version to 3.0.152

Change-Id: I05494a52f250b7d2de24ecf56d43d970cf91a981
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoFix issue 3rd party shared object IME can't be launched 24/107324/2
Jihoon Kim [Tue, 27 Dec 2016 12:08:49 +0000 (21:08 +0900)]
Fix issue 3rd party shared object IME can't be launched

Change-Id: If5291bc7ac805a2fcf2add7729aba3f6aab05d0b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
7 years agoUpdate package version to 3.0.151 91/106991/2 accepted/tizen/3.0/common/20161227.102116 accepted/tizen/3.0/ivi/20161227.010809 accepted/tizen/3.0/mobile/20161227.010715 accepted/tizen/3.0/tv/20161227.010733 accepted/tizen/3.0/wearable/20161227.010750 submit/tizen_3.0/20161226.100512
InHong Han [Mon, 26 Dec 2016 05:29:54 +0000 (14:29 +0900)]
Update package version to 3.0.151

Change-Id: Ic91accb2f5986b7e2931cacfe0e315bdb404fc5a