Commit Graph

60 Commits

Author SHA1 Message Date
Conrad Meyer 9fece8c333 Ecore IMF: Add @since tags to new fields 2015-04-08 12:29:00 +09:00
Wonkeun Oh c7af3af835 ecore-imf: Added the device information in the Ecore_IMF_Event structs
Summary:
Added the device information in the Ecore_IMF_Event structs.
Applications may require to know actual source of key event to handle it differently depending on device.
Even if key events are currently generated from different devices, application couldn't distinguish it.
This patch will support device information for the Ecore-imf key events.

Reviewers: jihoon

Reviewed By: jihoon

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2214
2015-03-24 10:26:21 +09:00
Jihoon Kim dba7bdccfe ecore_imf: fix doxygen about key and mouse release event 2015-03-13 18:59:38 +09:00
Chris Michael ae9670c137 ecore-imf: Add check for environment variable to enable show/hide of input panel
Summary: Allow ecore_imf input panel to be shown/hidden via the master
'enabled' switch or via an environment variable. This is required for
Tizen in order that 3rd party apps can still show input_panel even if
master switch is disabled (as per discussion with Carsten).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-03-02 10:46:38 -05:00
Pierre Le Magourou 6a9cfbcfef ecore: update the doxygen groups to compile forgotten parts of the API.
Some parts of the API documentation where not compiled at all by doxygen
because of missing '@{' and '@}' tags. This commit adds the missing tags
in Ecore_Getopt.h, Ecore_Con_Eet.h, and Ecore_IMF.h headers.
2014-10-20 18:17:26 +02:00
Pierre Le Magourou 4a71cb268f ecore_imf: update missing Ecore_IMF.h API documentation. 2014-10-20 18:17:26 +02:00
Jihoon Kim 884ef21f22 ecore_imf: Add normal and password variations 2014-10-17 21:34:08 +09:00
Jihoon Kim 0386c57001 ecore_imf: Add example code link in Ecore_IMF API doxygen 2014-10-17 13:54:02 +09:00
Jihoon Kim 000f5fee84 ecore_imf: Add ecore_imf_context_bidi_direction_set/get API
Some Input Methods want to know the bidi direction (LTR/RTL) at the current cursor position.
2014-09-23 10:18:35 +09:00
Jihoon Kim 7387f7acfd Add explanation about ecore_imf_context_retrieve_surrounding_callback_set
ecore_imf_context_retrieve_surrounding_callback_set () is very important to input languages such as Thai.
2014-09-16 14:22:19 +09:00
Jihoon Kim 44326f9ed8 ecore_imf: Add ecore_imf_context_input_hint_set API 2014-08-30 12:45:44 +09:00
Jihoon Kim 39cb520718 Add ECORE_IMF_CALLBACK_PRIVATE_COMMAND_SEND enum in Ecore_IMF_Callback_Type
ECORE_IMF_CALLBACK_PRIVATE_COMMAND_SEND is called when the input method sends a private command.
2014-08-30 10:50:48 +09:00
Jihoon Kim 98e06b4f25 ecore_imf: fix to call function of immodule when the input method property is changed 2014-08-30 10:26:05 +09:00
Andrii Kroitor c8814e49ac ecore_imf_context: fixing default id getter
Summary:
If none of ECORE_IMF_MODULE and WAYLAND_DISPLAY variables are setted
best of available moduls should be found. Removed odd return statement.

Reviewers: cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1344

@fix
2014-08-20 22:41:10 +09:00
Carsten Haitzler 3943b45cf0 imf - fix x11 vs wl fix to leave x11 alone for those without scim
scim has a nasty habit of sitting and hanging if tryng to set up and
no scim daemon is there. since in x11 you may have multiple input
methods, leave it to be manually set up via env var, and if not then
dont work at all.
2014-08-11 11:05:41 +09:00
Carsten Haitzler 81d6713324 ecore-imf - fix broken state on non-x11 environments
this fixes ecore-imf to auto-pick scim or wayland vased in DISPLAY and
WALAND_DISPLAY env vars. it's not a perfect/good/correct fix. it
should be picking based on canvas engine type, but that is a far more
invasive effort, so for release, do this simple one that brings back
wayland input panel and keeps x11 input methods going as long as app
is either x11 (DISPLAY) or wayland (WAYLAND_DISPLAY). if both are set,
it'll get it wrong. as i said - that's a more invasive fix.
2014-08-11 08:46:29 +09:00
Jihoon Kim c0297197d7 ecore_imf: documentation about ECORE_IMF_INPUT_PANEL_LAYOUT_NUMBERONLY enums 2014-07-28 16:01:07 +09:00
Jihoon Kim 8940ce308d ecore_imf: Add ECORE_IMF_INPUT_PANEL_LAYOUT_EMOTICON 2014-02-27 13:46:16 +09:00
Jihoon Kim 4fb04c3cd0 ecore_imf: fix to call function of immodule when the input method property is changed 2014-01-23 11:19:54 +09:00
Jihoon Kim 7b30c41443 ecore_imf: Add selection_set callback type to allow Input Method to select a region of text 2014-01-23 11:02:51 +09:00
Jihoon Kim fa165f0902 Add ecore_imf_context_selection_get API to allow Input Method to get the selected text. 2014-01-23 10:44:00 +09:00
Carsten Haitzler e8c13118eb fix mingw build for setuid fix/checks 2014-01-08 22:06:41 +09:00
Carsten Haitzler b95ef3801f setuid safeness - ensure if an app that is setuid doesn't do bad things
this makes efl ignore certain env vars for thnigs and entirely removes
user modules (that no one ever used) etc. etc. to ensure that *IF* an
app is setuid, there isn't a priv escalation path that is easy.
2014-01-08 19:46:23 +09:00
Carsten Haitzler 6f685d7608 fixme notes - fixme: many instances of module loading that bloat our mem 2014-01-06 12:16:36 +09:00
Jihoon Kim 5f5088b677 ecore_imf: fix doxygen warning in ecore_imf_context_input_panel_enabled_set () 2014-01-06 09:29:02 +09:00
Jihoon Kim 164ef15b6c ecore_imf: Add description about Ecore_IMF_Lib_Group 2014-01-06 09:09:53 +09:00
Daniel Juyung Seo 76d8532b54 efl: Unified eina critical manro to CRI.
Being annoyed by different types of eina critical macros - CRI, CRIT,
 CRITICAL -, I concluded to unify them to one. Discussed on IRC and
 finally, CRI was chosen to meet the consistency with other macros -
 ERR, WRN, INF, DBG - in terms of the number of characters.
If there is any missing bits, please let me know.
2013-12-26 12:27:13 +09:00
Chris Michael d00b7b2fe6 Do not call the contexts' input_panel_show/hide methods unless
input_panel_enabled is True.

Part of Fix for Phab Ticket T501

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-11-15 08:43:23 +00:00
Jihoon Kim d47bc40896 Add @since in the doc of ecore_imf_input_panel_hide () API 2013-11-11 20:02:51 +09:00
Jihoon Kim 8f15ccdce8 ecore_imf: fix indentation 2013-11-11 20:01:51 +09:00
Chris Michael d0c24254cc An Imf module can fail to create a context so we should check the
return of module->create for valid context before trying to call
functions or use it.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-08-15 07:32:18 +01:00
Jihoon Kim fe05d358ea Add ecore_imf_context_input_panel_on_demand_set/get API 2013-08-13 15:27:29 +09:00
Carsten Haitzler 5ae4cfd192 edje - Fix efl to use key not keyname (so xmodmap works). 2013-07-31 15:15:51 +09:00
Chris Michael 8ed4b5ac84 Add wayland to ecore_imf "in tree" modules
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-24 07:06:49 +01:00
Jihoon Kim 2b344688f9 [ecore_imf] fix crash because of invalid show request context 2013-07-17 19:31:45 +09:00
Chris Michael 9fb63c761f Fix "Allocation too small" errors reported by Coverity. (Basically, if
we are going to allocate space for a variable of a certain type, then
lets make sure we Declare that variable as the proper type).

NB: Fixes Coverity CIDs 1039602, 1039603, 1039604

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:52:50 +01:00
Chris Michael 6011703bf5 Fix formatting
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-07-08 08:50:45 +01:00
Jihoon Kim 6d51904588 Add ECORE_IMF_INPUT_PANEL_LAYOUT_DATETIME, EDJE_INPUT_PANEL_LAYOUT_DATETIME layout 2013-05-27 16:14:52 +09:00
Jihoon Kim 41e5433735 ecore_imf: fix crash when ecore_imf_context_del is called in ecore_imf_context_input_panel_callback_call 2013-05-14 16:14:38 +09:00
Jihoon Kim af31393a09 ecore_imf: Add ecore_imf_context_input_panel_event_callback_call, clear API 2013-04-13 17:11:32 +09:00
Jihoon Kim 58d7c5c1dc ecore_imf: Add ecore_imf_input_panel_hide() API 2013-04-13 17:01:56 +09:00
Jihoon Kim 6265365ddc ecore_imf: Add ecore_imf_context_input_panel_layout_variation_set/get API 2013-03-27 10:15:42 +09:00
Jihoon Kim e5675179b4 efl/ecore_imf: add comment about ecore_imf_context_cursor_position_set()
SVN revision: 83630
2013-02-05 13:43:47 +00:00
Jihoon Kim ed8e0f222a efl/ecore_imf: remove trailing whitespace in Ecore_IMF.h
SVN revision: 83409
2013-01-29 06:17:13 +00:00
Jihoon Kim 3291f02bff efl/ecore_imf: fix wrong commit. name, address type shouldn't be uploaded :(
SVN revision: 83403
2013-01-29 04:41:23 +00:00
Jihoon Kim 27968b4fec efl/ecore_imf: fix typo in doxygen
SVN revision: 83397
2013-01-29 02:52:53 +00:00
Jihoon Kim aee571bf18 efl/ecore_imf: supplement the document about ecore_imf_context_cursor_position_set and ecore_imf_context_reset
SVN revision: 83396
2013-01-29 02:43:42 +00:00
Gustavo Sverzut Barbieri 720a81d58c move ecore_imf_evas out of ecore_imf.
SVN revision: 82837
2013-01-15 19:11:01 +00:00
Gustavo Sverzut Barbieri f80eef8806 efl/ecore_imf: consider ECORE_IMF_MODULES_DIR.
also do the standard eina_prefix_lib_get() usage as the last one.



SVN revision: 82505
2013-01-10 05:27:31 +00:00
Lucas De Marchi bc20101994 ecore_imf: install module under MODULE_ARCH like the rest of EFL
SVN revision: 82478
2013-01-09 19:38:04 +00:00