summaryrefslogtreecommitdiff
path: root/src/modules/ecore_imf
Commit message (Collapse)AuthorAgeFilesLines
* build: addition to abf0e9dffe35da8fa6e20055f53786b2adbec271Marcel Hollerbach2020-09-252-2/+2
| | | | | | the fix is also needed in ecore_imf modules. Thank you Ross!
* Get rid of trailing whitespaces (13 / 14)Elyes HAOUAS2020-06-232-20/+20
| | | | | Remove trailing whitespaces Differential Revision: https://phab.enlightenment.org/D12012
* refactor buildMarcel Hollerbach2020-05-271-1/+0
| | | | | | | | | | libraries are split into deps, external deps, and pub deps. Evas engines are refactored to use the predefined engine deps. this is preparation work for efl-one. Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Differential Revision: https://phab.enlightenment.org/D11806
* Use __func__ C99 identifier instead of __FUNCTION__ compiler extensionVincent Torri2020-05-072-86/+86
| | | | | | | | | | | | | | Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
* meson: support unified suffixes for modulesMarcel Hollerbach2020-04-074-4/+8
| | | | | | | | | | | | A long story in a few words: sometimes on macos modules will be compiled into .dylib, sometimes, into .so suffix. We did not set the suffix everywhere in our meson build instructions, hence our suffixes have been differently, which resulted in random load fails on different maschines. With this commit, we ensure that we suffix all modules the same way. Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11650
* imf - make xim+scim the defaults not xim+ibus due to ibus being brokenCarsten Haitzler (Rasterman)2019-12-061-0/+5
| | | | | | at leats ibus seems to just not work for me on arch at least - even with gtk apps, but scim does, so maybe make scim the main thing again? also allows glib to be off by default. :)
* meson: add xkbcommon to the build depsMarcel Hollerbach2019-08-151-1/+4
| | | | | | | | | | | | | | | | Summary: fix T8064 Reviewers: cedric, zmike, devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8064 Differential Revision: https://phab.enlightenment.org/D9573
* ecore_imf: remove code to use deprecated API in wayland immoduleJihoon Kim2019-07-151-11/+0
| | | | Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
* ecore_imf: deprecate ambigous or unused APIsJihoon Kim2019-07-103-47/+3
| | | | | | | | | | | | | | 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>
* ecore-imf/xim: only call ecore_x_shutdown if init was previously calledMike Blumenkrantz2019-05-291-1/+8
| | | | | | | | | | | | | | | | | | | | | Summary: this isn't a perfect fix, but it's probably the best that can be done given the current ecore-imf module api which calls the exit() module function unconditionally during module cleanup even if the module was never initialized @fix Depends on D9003 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9005
* meson: enable strict linkingMarcel Hollerbach2019-04-233-3/+3
| | | | | | | | | | | | | | Summary: with this commit you can compile efl with -Wl,-z,defs. Reviewers: zmike Reviewed By: zmike Subscribers: simotek, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8677
* build: use only BUILD_ECORE_IMF_XIM as a defineMike Blumenkrantz2019-04-171-3/+0
| | | | | | | | | | | | | | | | 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
* ecore_imf: do not loop forever on shutdown when there is no more a displayBoris Faure2019-04-101-1/+1
| | | | @fix
* meson: set ENABLE_XIM if the xim module is compiledBoris Faure2019-04-101-0/+3
|
* ecore imf - scim module - fix string handling to stop warningsCarsten Haitzler (Rasterman)2019-03-031-6/+17
| | | | | | | | so blind use of strncpy was again wrong - it limited to the length of the src not the dest buffer and gcc warnings pointed out this silliness. so instead go back to strcpy with proper length checks before and now it's clear that it's correct and not trying to hide behind strncpy which was wrong.
* meson - fix ecore imf scim build to detect scim fully and work againCarsten Haitzler (Rasterman)2018-11-171-1/+6
|
* ecore imf - xim module - use proper prorotypes and returns for ximCarsten Haitzler (Rasterman)2018-11-091-4/+3
|
* ecore imf - ibus - fill all struct fieldsCarsten Haitzler (Rasterman)2018-11-091-8/+12
|
* ecore imf - wl - fill all stgruct fields with something...Carsten Haitzler (Rasterman)2018-11-091-1/+5
|
* ecore imf modules - check ecore x display state beofre doing x thingsCarsten Haitzler (Rasterman)2018-11-093-26/+52
| | | | | using an uninitted x display is not good/useful so ... don't do it. leads to crashes.
* here comes mesonMarcel Hollerbach2018-10-025-0/+77
| | | | | | | | | | | | | | | | | | | | | | | 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
* ecore_wl2: Remove ecore_wl2_display_window_findDerek Foreman2018-07-061-2/+1
| | | | | | | | | | | | | | | | Summary: This is now totally trivial and needs not exist. Depends on D6522 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Differential Revision: https://phab.enlightenment.org/D6523
* ecore_wl2: Replace window ids with pointersDerek Foreman2018-07-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: There's no benefit to generating ids instead of just using the Ecore_Wl2_Window pointer in events. This has the added benefit of working around a really nasty hash collision bug when multiple ecore_evas engines are used at once. ref T7053 ref T6222 @beta_break Depends on D6521 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #committers, zmike Tags: #efl Maniphest Tasks: T7053, T6222 Differential Revision: https://phab.enlightenment.org/D6522
* wayland_imf: Clear hide timer when deleting contextDerek Foreman2018-02-091-0/+2
| | | | | Otherwise the callback can fire after the module is unloaded leading to some very entertaining to debug crashes at shutdown.
* ecore-imf: do ecore-x init during ctx creation instead of module initMike Blumenkrantz2018-02-071-9/+6
| | | | | | | this avoids a number of issues with efl under wayland, msot notably the automatic triggering of xwayland during every app startup @fix
* disable async mode (use sync mode) for ibus when keymap changesCarsten Haitzler (Rasterman)2018-02-071-1/+1
| | | | | | | | | | | | | | so scenario: 1. use ibus 2. have at least english input and japanese input (or korean etc.) 3. have 2 kbd layouts (english and greek). 4. enable "use system keyboard layout" in ibus advanced settings 5. switch to english input mode 6. switch to greek key layout 7. type and get english, not greek input as you should @fix for both terminology and elm/efl entry/ytext input.
* efl: drop deprecated Encoding key from desktop filesRoss Vandegrift2017-12-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | Summary: The Encoding key is no longer required, all desktop files are assumed to be UTF-8 encoded. See details at: https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html Fix various typos and misspellings lintian, Debian's package checker, uses strings to check for common typos in compiled binaries. This change fixes the ones it identified in 1.20.6. Reviewers: cedric Reviewed By: cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5584 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
* ecore_imf/wayland: Check the return value of memory allocation functionJihoon Kim2017-08-121-5/+11
|
* ecore-imf-wayland: Check xkb_keysym_to_utf8Bryce Harrington2017-06-021-1/+1
| | | | | | | | | | | | | | Summary: Coverity reports an error "Calling "xkb_keysym_to_utf8" without checking return value (as is done elsewhere 4 out of 5 times)." fixes: cid1375673 Reviewers: zmike Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4936
* wayland: move pointer-related functions to ecore_wl2_input namespaceMike Blumenkrantz2017-05-191-1/+3
| | | | | | | windows do not have pointers or cursors under wayland, seats do. due to lack of multiseat support, most components simply use the "default" seat with these functions, but this should make the corresponding code more easily adaptable
* ecore_imf/xim: Fix memory leakJihoon Kim2017-03-031-0/+3
| | | | | | | | | | | | | | | | 64 bytes in 1 blocks are definitely lost in loss record 152 of 258 at 0x4C2AB80: malloc (vg_replace_malloc.c:296) by 0xC786A77: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) by 0xC78747B: _XimDecodeIMATTRIBUTE (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) by 0xC77A7EF: ??? (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) by 0xC767771: XGetIMValues (in /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0) by 0x113CFE09: ??? by 0x113D08F7: ??? by 0x83DD329: ecore_imf_context_client_window_set (ecore_imf_context.c:240) by 0x530779D: _edje_entry_real_part_init (edje_entry.c:2937) by 0x5311C20: _edje_object_file_set_internal (edje_load.c:1079) by 0x5328665: _edje_object_efl_file_mmap_set (edje_smart.c:438) by 0x775BD3A: efl_file_mmap_set (in /usr/local/lib/libefl.so.1.18.4)
* ecore_imf/ibus: Fix memory leak allocated by ibus_bus_newJihoon Kim2017-03-023-0/+12
|
* ecore-imf-wayland: Reduce calls to set_cursor_rectangleChris Michael2017-02-281-9/+22
| | | | | | | | | | | | | Avoid calls to zwp_text_input_v1_set_cursor_rectangle if we do not need to. Previous code here would always call this function even if the cursor rectangle was in the same position. Now we set a flag on the cursor_location field to let us know that it needs updating. ref T5226 @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-imf-wayland: Remove duplicate header includeChris Michael2017-02-281-2/+1
| | | | | | | | | wayland_imcontext.h already includes this header, so no need to re-include. Also add missing (void) to function declaration @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore-imf-wayland: Formatting fixesChris Michael2017-02-281-68/+63
| | | | | | NB: No functional changes Signed-off-by: Chris Michael <cp.michael@samsung.com>
* ecore_imf/ibus: fix memory leakJihoon Kim2017-02-281-0/+1
|
* ecore_imf/ibus: Fix memory leakJihoon Kim2017-02-271-0/+2
|
* ecore_imf/wayland: Fix memory leak in immoduleJihoon Kim2017-02-271-0/+2
| | | | | | | | | ==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:1094) ==1321== by 0x92E66DD: im_module_create (wayland_module.c:132) ==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)
* ecore_imf/wayland: Auto generate wayland text-input protocolDerek Foreman2017-01-185-706/+72
| | | | | | | | | | | Needed to do some fairly invasive changes because naming conventions changed since we checked in the header. Also, since I'm done converting protocol, change the gitignore to use wildcards for wayland protocol. This fixes a long standing bug in text-input binding and restores previous OSK behaviour.
* ecore_imf: remove unnecessary exported symbols in immodulesJihoon Kim2017-01-095-122/+122
| | | | Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
* ecore imf - xim module - fix domain check to be be gteq 0Carsten Haitzler (Rasterman)2016-11-171-1/+1
| | | | minor correctness fix.
* ecore imf - ibus - fix destroy/disconnect handling that crashesCarsten Haitzler (Rasterman)2016-07-301-2/+3
| | | | | | | | | restart e or have ibus input get destroyed and come back... the ibus module will do bad things to its pants... because the wrong things were passed to the signal callbacks... this fixers that along with ensuring a freed string ptr is NULL. @fix
* ecore-imf - remove usueless checks for context - CID 1351451Carsten Haitzler (Rasterman)2016-07-241-2/+2
| | | | useless checks for ic in code. fix
* efl - fix lots of little init/shutdown pairs that are wrongCarsten Haitzler (Rasterman)2016-07-041-1/+0
| | | | | | | i've fixed almost all the eina init/shutdown pairs to do the right thing now... except one (ecore_shutdown) with comment inline where eo_shutdown is not called. if this is called we are in crash land. this needs further inspection.
* efl - ecore c+ ecore-imf - fix odd case input when faking a real eventCarsten Haitzler (Rasterman)2016-05-271-10/+26
| | | | | | | | | | | | so ibus module for ecore-imf likes to send an x event back to ourselves faking a key... this works unless we are looking at modifiers that make make for odd combos with keysyms turned into keycodes. so actualyl use the correct original keycode plus state unless we are having to explicitly send a keysym from ibus core. this fixes T3703 @fix
* ecore_imf: Add multiline hint in input hintJihoon Kim2016-05-181-0/+5
| | | | @feature
* ecore_imf/wayland: Change sequence to call preedit changed and end callbackJihoon Kim2016-05-171-9/+9
| | | | preedit changed and end callback should be called before commit callback
* ecore_imf/wayland: Fix bug language changed event is always calledJihoon Kim2016-04-181-6/+10
|
* Add ECORE_IMF_CALLBACK_DELETE_SURROUNDINGLi Zhang2016-03-291-3/+6
| | | | Change-Id: I0e1ab14736a3d3849becb7cbeea81fe7b61053b7
* ecore_imf/wayland: fix IME flickering issue when input_panel_hide and show ↵Jihoon Kim2016-03-241-4/+1
| | | | | | is called sequentially Change-Id: Ieafa9cd921cc8d68c64af6b72404ef52e7bbf724