summaryrefslogtreecommitdiff
path: root/src/lib/ecore_imf/ecore_imf_module.c (follow)
AgeCommit message (Collapse)Author
2019-04-17build: use only BUILD_ECORE_IMF_XIM as a defineMike Blumenkrantz
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-10ecore_imf: better to check whether the module is compiledBoris Faure
2018-02-17ecore: use new bs static libMarcel Hollerbach
2017-08-01ecore_imf: check return value of memory allocationJihoon Kim
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2017-02-27Revert "Revert "ecore-imf: Don't always load all modules""Chris Michael
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 5c858b86e5c84d4ced77d47bb61cc6817f0e3645.
2017-02-27Revert "ecore-imf: Don't always load all modules"Chris Michael
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 75b4bde8d226ffb59dfad5bcdcd76ce5dde5e1ac.
2017-02-27ecore-imf: Don't always load all modulesChris Michael
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-03ifdef RUN_IN_TREE logic.Gustavo Sverzut Barbieri
This logic is only needed for autotools, cmake will replicate the installation file structure and thus eina_prefix works out of box.
2016-08-05ecore_imf - fix make check to doa "load all" check after de-sillifying itCarsten Haitzler (Rasterman)
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-05ecore_imf: Fix crash when ECORE_IMF_MODULE is setJean-Philippe Andre
2016-08-01ecore-imf - fix stupidity of loading ALL modules even if not neededCarsten Haitzler (Rasterman)
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
2015-06-30ecore_imf: check parameter of ecore_imf_module_register ()Jihoon Kim
2014-01-08fix mingw build for setuid fix/checksCarsten Haitzler (Rasterman)
2014-01-08setuid safeness - ensure if an app that is setuid doesn't do bad thingsCarsten Haitzler (Rasterman)
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-06fixme notes - fixme: many instances of module loading that bloat our memCarsten Haitzler (Rasterman)
2013-08-15An Imf module can fail to create a context so we should check theChris Michael
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-07-24Add wayland to ecore_imf "in tree" modulesChris Michael
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-01-10efl/ecore_imf: consider ECORE_IMF_MODULES_DIR.Gustavo Sverzut Barbieri
also do the standard eina_prefix_lib_get() usage as the last one. SVN revision: 82505
2013-01-09ecore_imf: install module under MODULE_ARCH like the rest of EFLLucas De Marchi
SVN revision: 82478
2013-01-09efl: move ecore/immodules to ecore_imfLucas De Marchi
Move both the source tree and the install directory. SVN revision: 82474
2013-01-04efl: make libraries aware of EFL_RUN_IN_TREE.Gustavo Sverzut Barbieri
this variable tells that the build is being done in tree and we should not look at install locations. SVN revision: 82217
2012-12-02merge: add escape ecore, fix several bugsVincent Torri
SVN revision: 79995