Commit Graph

104 Commits

Author SHA1 Message Date
Jihoon Kim daa35a1893 ecore_imf: deprecate ambigous or unused APIs
ecore_imf_context_show
ecore_imf_context_hide
ecore_imf_context_control_panel_show
ecore_imf_context_control_panel_hide
ecore_imf_context_preedit_start_event_add
ecore_imf_context_preedit_end_event_add
ecore_imf_context_preedit_changed_event_add
ecore_imf_context_commit_event_add
ecore_imf_context_delete_surrounding_event_add

Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-07-10 20:03:14 +09:00
Mike Blumenkrantz 59526ba58d build: use only BUILD_ECORE_IMF_XIM as a define
Summary:
meson and autotools were a bit out of sync with this, resulting in
unexpected behavior

Reviewers: billiob

Reviewed By: billiob

Subscribers: billiob, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8641
2019-04-17 15:45:35 -04:00
Boris Faure 27bb81cc03 ecore_imf: better to check whether the module is compiled 2019-04-10 22:44:14 +02:00
Jihoon Kim 69b3009c25 ecore_imf: Add keycode in key down and key up event structs
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-02-22 11:05:56 +09:00
Jihoon Kim 0f40a43e53 ecore_imf: fix wrong sample code
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-02-01 16:45:12 +09:00
Jihoon Kim 2eccc52449 docs: introduce how to receive media content
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-01-30 18:55:44 +09:00
Jihoon Kim f15c1f1417 ecore_imf: Fix document about ecore_imf_context_input_panel_position_set()
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2018-12-05 20:01:28 +09:00
Marcel Hollerbach 46d464e5bf here comes meson
a new shiny buildtool that currently completes in the total of ~ 4 min..
1 min. conf time
2:30 min. build time
Where autotools takes:
1:50 min. conf time
3:40 min. build time.

meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read.

Further informations can be gathered from the README.meson

Right now, bindings & windows support are missing.

It is highly recommented to use meson 0.48 due to optimizations in meson
that reduced the time the meson call would need.

Co-authored-by: Mike Blumenkrantz <zmike@samsung.com>

Differential Revision: https://phab.enlightenment.org/D7012
Depends on D7011
2018-10-02 17:22:50 +02:00
Jihoon Kim 24536de3a9 ecore_imf: Remove security_code in autofill type
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2018-06-18 08:45:55 +09:00
Jihoon Kim dbb464e94e ecore_imf: turn off autocapital mode in password layout
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2018-06-04 10:47:55 +09:00
Jihoon Kim 54b689f3e0 ecore_imf: check validation before accessing context class
Change-Id: Id329b87167caa71aadd8ca454c50e9aaca275415
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2018-03-26 08:05:45 +09:00
Marcel Hollerbach 17d8781a2a ecore: use new bs static lib 2018-02-17 21:17:58 +01:00
Vincent Torri f5b01ac5ce all: Simplify definition of EAPI
This will help in the transition from Autotools to Meson. This has been
tested on Windows for which EFL_XXX_BUILD were first introduced.
2018-01-18 18:04:03 +09:00
Jihoon Kim d1823c6152 ecore_imf: Add transaction start and end event callback
@feature

Change-Id: I091b4e291b821ee5b6cc180d98024e251d4bcd03
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2018-01-09 11:00:43 +09:00
Jihoon Kim 4262c33bfc ecore_imf: Add prediction hint hash APIs
Change-Id: Id012fd172d3b15bfa3e9ea10c22216db10ba23b5
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2017-12-20 17:36:27 +09:00
Jihoon Kim 9e8bd48e70 ecore_imf: Add autofill hints in input hint
Change-Id: I4e51adf179afa69a077de8ecabf7fa763c03f871
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2017-12-20 17:36:27 +09:00
JinYong Park 9d946fa839 Ecore_Imf: fix wrong annotation and enum name
Summary:
There are wrong annotation about version and wrong enum name
so fix that.

Reviewers: jpeg, cedric, akanad

Differential Revision: https://phab.enlightenment.org/D5403
2017-11-01 13:09:18 +09:00
Wonki Kim 81c6f93933 ecore_imf: Add missing documentation comments
Summary:
There are missing documentation comments for Ecore_Imf Input.
so that this patch add the information.

Reviewers: jpeg, cedric

Differential Revision: https://phab.enlightenment.org/D5376
2017-10-26 12:17:33 +09:00
InHong Han 9f068c55db ecore_imf: Add ecore_imf_context_input_panel_position_set API
Summary: Sets the x,y coordinates of the input panel

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon, cedric

Subscribers: jpeg, jihoon, cedric

Differential Revision: https://phab.enlightenment.org/D5193
2017-09-14 10:49:03 +09:00
Jihoon Kim 15250fb8cf ecore_imf: check return value of memory allocation
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2017-08-01 10:27:37 +09:00
Jihoon Kim 0f74d5ed99 ecore_imf: fix wrong doxygen 2017-06-15 19:07:34 +09:00
InHong Han a026fad779 ecore_imf: add ecore_imf_context_mime_type_accept_set API
Summary: Added a new api to send the mime type of entry to IME.

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon, cedric

Reviewed By: cedric

Subscribers: cedric, jihoon, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-06-05 12:04:43 -07:00
Jihoon Kim e2804c6f01 ecore_imf: Add commit content event callback
COMMIT_CONTENT is called when the input method commits content such as an image.

Change-Id: Idf238dc9b27811999b1ee733eeba2318d57e54f1
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2017-06-02 09:24:47 +09:00
Jihoon Kim ea8196e411 ecore_imf: Add ecore_imf_context_prediction_hint_set API
Summary: Added a new api to send the prediction hint string to IME.

Test Plan: Tested in Tizen device

Reviewers: woohyun, id213sin, jihoon

Reviewed By: jihoon

Subscribers: cedric, jsuya, z-wony, jpeg

Differential Revision: https://phab.enlightenment.org/D4805
2017-05-02 16:28:10 +09:00
Jihoon Kim badf7bca45 ecore_imf: Added a new ecore_imf_context_keyboard_mode_get API and input_panel_event_callback type
Summary:
Applications want to know the current keyboard mode state to handle application's size manually.
So added a new ecore_imf_context_keyboard_mode_get API and input_panel_event_callback type for
keyboard mode.

Test Plan: Tested in Tizen device

Reviewers: jihoon, woohyun, id213sin

Reviewed By: jihoon

Subscribers: cedric, jsuya, z-wony, jpeg

Differential Revision: https://phab.enlightenment.org/D4790
2017-04-18 16:18:10 +09:00
Carsten Haitzler 0a600a45d3 Revert "ecore_imf: Add ecore_imf_context_keyboard_mode_get API"
This reverts commit 4533eef59b.

this commit breaks efl's build and can't be fixed - missing types.
2017-04-17 17:23:19 +09:00
Jihoon Kim 4533eef59b ecore_imf: Add ecore_imf_context_keyboard_mode_get API
Summary:
When the keyboard mode state is changed, the keyboard_mode_event_cb will be called, too.
But there is no way to get keyboard mode manually.

Test Plan: Tested in Tizen device

Reviewers: jihoon, woohyun, id213sin

Reviewed By: jihoon

Subscribers: jpeg, z-wony, jsuya, cedric

Differential Revision: https://phab.enlightenment.org/D4786
2017-04-17 16:53:50 +09:00
Cedric BAIL 41769b122c ecore_imf: avoid crash during shutdown due to Ecore_Event queue. 2017-03-09 16:17:58 -08:00
Chris Michael cd1f986244 Revert "Revert "ecore-imf: Don't always load all modules""
Reverting the revert here...this Does actually work in a wayland
environment, however you may need to export ELM_DISPLAY=wl in order to
get the desired result...

NB: If you desire a specific ecore_imf module then you may want to
export ECORE_IMF_MODULE=xyz, else this patch will try to load them in
the order specified in the code (xim, ibus, scim, wayland).

This reverts commit 5c858b86e5.
2017-02-27 13:31:50 -05:00
Chris Michael 5c858b86e5 Revert "ecore-imf: Don't always load all modules"
Reverting this as it broke autoloading of the ecore_imf WL module.
This commit basically only loaded an X11 Ecore_Imf module even under a
wayland environment.

This reverts commit 75b4bde8d2.
2017-02-27 13:12:24 -05:00
Chris Michael 75b4bde8d2 ecore-imf: Don't always load all modules
If there is no ecore_imf_module specified in the environment, then
previous code here would load ALL the modules when we really only need
one. This patch fixes that issue...if a module is specified in the env
(export ECORE_IMF_MODULE=xyz) than that module will be loaded. If NO
module is specified in the env, then we will loop the list of built
modules and load only one.

This patch fixes an issue where running 'WAYLAND_DEBUG=1
WAYLAND_DISPLAY=wayland-0 terminology' inside an X11 environment would
cause ecore_imf to load the wayland module (as reported by Derek).

NB: If this patch breaks automatic IMF (it should not) then please feel
free to revert.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2017-02-27 12:57:02 -05:00
Myoungwoon Roy, Kim 8c19d9251d docs: Fix typos and some wrong expressions
Covers: Ecore_Drm, Ecore_Evas, Ecore_File, Ecore_IMF, and
Ecore_IMF_Evas API reference doxygen.

Summary: I had fixed some typos and wrong expressions, such
as capital letters, singular Etc. in Ecore_Drm, Ecore_Evas,
Ecore_File, Ecore_IMF, and Ecore_IMF_Evas API reference doxygen.

Test Plan: Doxygen Revision

Reviewers: stefan, cedric, raster, jpeg, Jaehyun_Cho

Subscribers: conr2d

Differential Revision: https://phab.enlightenment.org/D4680
2017-02-27 19:37:43 +09:00
Gustavo Sverzut Barbieri 8dc853f230 ifdef RUN_IN_TREE logic.
This logic is only needed for autotools, cmake will replicate the
installation file structure and thus eina_prefix works out of box.
2017-02-03 12:36:38 -02:00
InHong Han fb6ffc6ac5 elm_entry: Add voice input panel layout
@feature

Change-Id: I41502d2446b95a4be31fc60a8d995b9d37930844
Signed-off-by: InHong Han <inhong1.han@samsung.com>
2016-10-31 19:10:53 +09:00
Jihoon Kim 9dee7cf359 ecore_imf: Add more description about key event in return_key_type_set
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2016-08-23 17:09:41 +09:00
Sungmin Kwak bf2755efef ecore_imf: fix typo
Change-Id: I2660fa96a0525fcdf9e83e9eb33f449c282f6581
2016-08-16 08:26:23 +09:00
Carsten Haitzler 013c0702f4 ecore_imf - fix make check to doa "load all" check after de-sillifying it
this should make ecore_imf testable with empty env vars also meaning
no env var and the make check test will now ensuree this is set to
exactly test this.
2016-08-05 13:42:11 +09:00
Jean-Philippe Andre 32df056a32 ecore_imf: Fix crash when ECORE_IMF_MODULE is set 2016-08-05 11:33:01 +09:00
Carsten Haitzler 37735d8b4f ecore-imf - fix stupidity of loading ALL modules even if not needed
eocre-imf loaded all input modules even though an env var was set to
tell it to use a specific one. this just wastes memory and slows down
startup time. this uses the env var to choose ro auto-guesses wayland
or xim input if the right env vars are set, and if it doesnt know
falls back to "load all" as before. this saves 28kb of dirty pages.
this helps address T4227

@fix
2016-08-01 21:12:24 +09:00
Jihoon Kim 2b8d93a5d1 ecore_imf: Add multiline hint in input hint
@feature
2016-05-18 15:21:12 +09:00
Carsten Haitzler 6f684f3a6a ecore imf: fix imf module load hangs when not even configured
so on some distributions scim tries to connect and hangs waiting for
connect to work. this is a problem for just loading any imf module
unless EXPLICITLY configured, so disable using an imf module unless it
is specifically configured to work. this fixes this hang. this is a
workaround though, but what else are we to do?

@fix
2016-01-18 17:23:56 +09:00
Jihoon Kim 25962ccf64 ecore_imf: check parameter of ecore_imf_module_register () 2015-06-30 16:43:37 +09:00
Jihoon Kim 6840d17f9e ecore_imf: fix wrong return type of ecore_imf_context_input_panel_return_key_type_get
@fix
2015-06-30 16:39:56 +09:00
Cedric BAIL ce5ccfb5be ecore: remove the need to order the header correctly for Windows. 2015-05-07 09:53:10 +02:00
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