summaryrefslogtreecommitdiff
path: root/src/modules/eeze (follow)
AgeCommit message (Collapse)Author
2015-10-10eeze - fix if formatting to be consistent within fileCarsten Haitzler (Rasterman)
some if's were single line: if (x) blah(); others were if (x) blah(); make formatting consistent at any rate. same for EINA_LIST_FREE() blah();
2015-10-10fix tom's fix by nmot making e segfault EVERY EXITCarsten Haitzler (Rasterman)
when fixing something like a leak .. it might be good to fix it to not CRASH 100% of the time. a leak (minor) is better than a crash by far. the strings in the list are stringshared. fixes 896c18045aafb9c677d8d41b4876c47db2b4d5ce
2015-10-09Eeze sensor udev: Fix memory leak and possible crash.Tom Hacohen
Due to a misplaced semicolon, EINA_LIST_FREE was doing nothing and only the last part was freed if there was one, and probably a crash if there wasn't. This shows again that having statements without {} is dangerous. We need to force {} and add a lint rule, or at the very least, add a rule to put the ; in a new line (like clang warns about by default anyway). (Same as issue found in previous commit) @fix
2013-04-24eeze/sensor/tizen: Fix typos to let it build for tizenStefan Schmidt
Finally have a way to compile the merged efl tree against the latest tizen things. Only three typos after all this changes it quite good imho. Zero would have been better though. :)
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/tizen: Fix start and stop from sensors during init and shutdownStefan Schmidt
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-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-17eeze/sensor: Add small udev module to read temperature from sysfsStefan Schmidt
This module does only provide a temperature sensor. Some pieces borrowed from the temget code.
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-11eeze/sensor/tizen: Fix bug where we set the wrong sensor type to the object.Stefan Schmidt
Eeze sensor and Tizen types can't be in sync as the order have been changed several times in Tizen already. We need to keep the order stable for ABI compliance though after 1.8. While we did the translation in one direction we did not in the other. Fix this bug that shows now.
2013-04-03eeze/sensor/tizen: Big update to support all new tizen sensor types.Stefan Schmidt
This needs quite soem testing but it should copver all new sensors now.
2013-04-03eeze/sensor/tizen: USe enum sentinel to iterate over sensor types.Stefan Schmidt
With the newer version we now have a sentinel that marks the last item of the enum.
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-28eeze/sensor/fake: Finally fix fake module to send out correct ecore events.Stefan Schmidt
Sensor type is completely different from event type.
2013-03-27eeze/sensor: Make sure we send out ecore events for all async reads in fake ↵Stefan Schmidt
module
2013-03-26eeze: Make eeze sensor log domain private and use different ones for the modulesStefan Schmidt
The main eeze sensor log domain was EAPI as it was used in the modules as well. (Gives some nice runtime error when loading the shared object). Switch to different domains for the module and make the main domain private. Spotted by zmike.
2013-03-26eeze/fake/module: Correct error message and fix typo.Stefan Schmidt
2013-03-22eeze_sensor: Don't free the object we want to return asynchronouslyDaniel Willmann
The event callback will take care of freeing the object. This issue was found thanks to clangs -fsanitize=address option - coming to a CI job near you. Signed-off-by: Daniel Willmann <d.willmann@samsung.com>
2013-01-10efl/eeze: move sensor modules to their own dirLucas De Marchi
SVN revision: 82574
2013-01-03efl: merge eeze.Gustavo Sverzut Barbieri
Changes also in this commit: * fix missing EAPI in symbols used by modules * removed old libudev and libmount support as agreed by discomfitor/zmike * replaced __UNUSED__ with EINA_UNUSED * fixed docs hierarchy SVN revision: 82100