path: root/src/lib/eeze (follow)
AgeCommit message (Collapse)Author
2015-05-07eeze: remove the need to order the header correctly for Windows.Cedric BAIL
2015-04-02Eeze.h: Delete white space.woochan lee
Summary: Delete white space in Eeze.h Reviewers: cedric, Sergeant_Whitespace Subscribers: cedric Differential Revision:
2015-03-23eeze: Fix issue of eeze_udev_watch_add not getting events for drmChris Michael
Summary: This fixes eeze_udev_watch_add for DRM events, Previously, we were not getting a watch callback fired due to using the wrong subsystem device type in udev_monitor_filter_add_match_subsystem_devtype. @fix Signed-off-by: Chris Michael <>
2015-02-13edje, eeze: compiler portability (use full ternary operator)Daniel Kolesa
2014-12-29eeze: Fix unused variable build warning.Daniel Juyung Seo
lib/eeze/eeze_udev_syspath.c: In function 'eeze_udev_syspath_set_sysattr': lib/eeze/eeze_udev_syspath.c:206:38: warning: unused parameter 'value' [-Wunused-parameter] double value) ^
2014-12-09eeze: Add API function for eeze_udev_find_by_subsystem_sysnameChris Michael
Summary: This adds an API function to find a device by subsystem_sysname. This is needed for the port of ecore_drm to use libinput. @feature Signed-off-by: Chris Michael <>
2014-12-09eeze: Add API function declaration for find_by_subsystem_sysnameChris Michael
Summary: This adds an API function declaration for eeze_udev_find_by_subsystem_sysname function which is needed for the porting of ecore_drm to use libinput @feature Signed-off-by: Chris Michael <>
2014-11-29Check return value of udev_device_get_sysattr_value(); before using atoi();Shinwoo Kim
Summary: udev_device_get_sysattr_value(); could return NULL, and using atoi(); with NULL make system crash Test Plan: It is hard to make a case to retun NULL. I got this from aging test of a product. Reviewers: cedric, raster, seoz, woohyun, Hermet, jaehwan Subscribers: cedric, seoz Differential Revision:
2014-10-20eeze: add documentation for Eeze_Version structure.Nicolas Aguirre
2014-10-01eeze - sensors - ints for sensor events were decld in .h - and never .cCarsten Haitzler (Rasterman)
this was bad - we never had eeze sensor events declared inside eeze so they were only in the .h - they could be diff symbols and thus valuses may not match. big @fix - it worked by luck, not design.
2014-09-30eeze: Add ifdef trap for older udev versionChris Michael
Summary: This adds an ifdef trap for older versions of libudev which do not provide udev_device_set_sysattr_value function. This fixes broken EFL compile with older versions of udev. @fix Signed-off-by: Chris Michael <>
2014-09-26eeze: Added API to get sysattr list of a devicevivek
Summary: Added eeze_udev_syspath_get_sysattr_list API to get list of sysattr of a device. It returns Eina list containing list of system attributes. Signed-off-by: vivek <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-09-26eeze: Added API to set sysattr valuesvivek
Summary: Added eeze_udev_set_sysattr API to set value of various system attributes of a device Signed-off-by: vivek <> Reviewers: devilhorns Subscribers: cedric Differential Revision:
2014-09-23eeze: Fix missing break in switch(s)Chris Michael
Summary: Fixes Coverity CID1240226, CID1240225 @fix Signed-off-by: Chris Michael <>
2014-09-23eeze: Add cases for backlight and leds in get_syspath_from_watch.Chris Michael
Summary: This adds support for backlight and leds devices for use with an Eeze_Udev_Watch @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Add cases for backlight and leds in eeze_udev_find_by_typeChris Michael
Summary: Add code to find backlight and led devices inside eeze_udev_find_by_type function. This will be used in Ecore-Drm to find the backlight of an output. @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Add Eeze udev types for backlight and ledsChris Michael
Summary: Add additional types to Eeze udev device types for backlight and leds. Ecore-Drm will use these types to locate the backlight in order to support setting/getting the backlight level on an output. @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Fix issue with eeze_udev_find_by_type not finding devices whenChris Michael
name is NULL. Summary: This was totally wrong !! eeze_udev_find_by_type can be passed EEZE_UDEV_TYPE_NONE to list all devices and it can also be passed name == NULL to find All devices listed of a certain type. To check for !etype && !name is just plain Wrong !! We have checks below for a valid name (and then do a comparison). @fix Signed-off-by: Chris Michael <>
2014-09-23eeze: Fix return value for eeze_udev_syspath_get_sysnumChris Michael
Summary: oopsie !! Big fat copy/paste error :( This fixes the return value for the eeze_udev_syspath_get_sysnum function @fix Signed-off-by: Chris Michael <>
2014-09-23eeze: Add code for eeze_udev_syspath_get_sysnum functionChris Michael
Summary: This adds an API function to return the sysnum of a device based on syspath. This is needed in ecore-drm to return the id (sysnum) of a drm device. @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Add eeze_udev_syspath_get_synum functionChris Michael
Summary: This adds an API declaration for getting the sysnum of a device from the syspath. This is needed in the ecore-drm code to fetch the id of a device. @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Add ability to get syspath from a watch for DRMChris Michael
Summary: This adds the EEZE_UDEV_TYPE_DRM to the switch for _get_syspath_from_watch. @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Add case for EEZE_UDEV_TYPE_DRM in eeze_udev_find_by_type functionChris Michael
Summary: This adds the ability to find drm cards using eeze_udev_find_by_type function. @feature Signed-off-by: Chris Michael <>
2014-09-23eeze: Add missing drm subsystem & device type and add a newChris Michael
Eeze_Udev_Type for drm @feature Signed-off-by: Chris Michael <>
2014-08-22eeze - fix possible null dereference of mount pount on mountCarsten Haitzler (Rasterman)
fix fixes CID 1039425
2014-05-07do not use EINA_FALSE instead of NULLJérémy Zurcher
2014-04-07+eeze_udev_get()Mike Blumenkrantz
2014-03-22warnings--Carsten Haitzler (Rasterman)
2014-03-21eeze_udev gets more helper functionsMike Blumenkrantz
eeze_udev_syspath_get_parent_filtered, eeze_udev_syspath_check_property, eeze_udev_syspath_check_sysattr @feature
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-11-04alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1Carsten Haitzler (Rasterman)
2013-08-07eeze: Remove unused var and related dead code.Stefan Schmidt
Must be a leftover from older times. syspath never get set here. CID 1039463
2013-08-07eeze: Go to next loop iterate if test is NULL.Stefan Schmidt
We would dereference it even if NULL one line later. CID1039328
2013-05-12eeze: do no try to match an unknown propertyBoris 'billiob' Faure
2013-04-22eeze/sensor: Simplify object handling in async paths.Stefan Schmidt
This follows the simplified handling of sensor object we are already doing for the sync paths. Its a bit more complicated here as we need to pass all data through the module specific async handling. But the result should be the same.
2013-04-19eeze/sensor: Simplify sensor object handling.Stefan Schmidt
We rely on the app to provide a sensible object pointer and we now longer need to have a copy of the object around to operate on it. Simplifies code, maintenance and reduces mem copies. Win-Win :)
2013-04-18eeze/sensor: Just use one list for available modules and add udev.Stefan Schmidt
The second list got introduced when eeze got merged into efl. Instead of maintaining both lists we can just go with one.
2013-04-18let's fix eeze sensors to not segv on shutdown.. dup registered fakeCarsten Haitzler (Rasterman)
(udev registered it as fake)... and in the process i found that we probably double free as sensor is calloced in the module and AGAIN in eeze sensor core... oh and symbols probably might lak from modules.. so static them up yo.
2013-04-16eeze/sensor: Switch timestamp to relative values coming.Stefan Schmidt
Switch from absolut microseconds since epoch to a monotonic clock with realtive values. Switch from unsigned long long to double. This aligns it with how we present time in efl. ecore_time_get is used when possible. For the tizen modules we convert the the epoch timestamp we get into a double. This is still a working monotone clock source. As this will be released the first time with 1.8 we don't have any API break here.
2013-04-12eeze/sensor: Move eeze_Sernsor_obj_get into private header.Stefan Schmidt
Together with eeze_sensor_module_register/unregister these are the functions that are irrelevant for developer when they just want to use the eeze_sensor API. Still all three need to be marked with EAPI as they are used in the backend modules and due to our visibility hidden usage the module loading would fail if we remove EAPI from them. Moving them into the private header should give an indication that these are not meant for pure API users.
2013-04-12eeze/sensor: Make sensor init and shutdown symbols private.Stefan Schmidt
These are called only from eeze_init/shutdown. No need to have them public.
2013-04-11Revert "eeze/sensor: Expose less symbols for the initial API."Stefan Schmidt
Sadly not ready yet as jenkins showed me. Need some more work on the eeze_sensor_object_get front. This reverts commit 081d55c51ca204e9f7decb45f5ff1d561a79c9e3.
2013-04-11eeze/sensor: Expose less symbols for the initial API.Stefan Schmidt
Less is more. These symbols are only used in the internal modules and can live in the private header without EAPI.
2013-04-11eeze/sensor: Use Eeze_Sensor_Type in sensor object.Stefan Schmidt
We use the typedef everywhere else. This makes sure we also use it in the struct to avoid any confusion. The API is new for upcoming 1.8 release so no problem in changing it now.
2013-04-03eeze/sensor: Add more sensor types used in Tizen.Stefan Schmidt
Just setting up the sensor types in the lib and fake module.
2013-03-27eeze/sensor: Setup all ecore event types in init.Stefan Schmidt
We had some set up but not all. Do that and avoid the redo'ing in eeze_sensor test.
2013-03-26eeze: Decrement eeze init count also in error casesStefan Schmidt
2013-03-26eeze: Unregister all log domains in eeze shutdown.Stefan Schmidt
We only unregistered _udev so far. Now also doing it for _net and _sensor