Commit Graph

22 Commits

Author SHA1 Message Date
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
Carsten Haitzler 48fb969e20 eeze - fix if formatting to be consistent within file
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-10 10:50:44 +09:00
Carsten Haitzler 55e49f12bf fix tom's fix by nmot making e segfault EVERY EXIT
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 896c18045a
2015-10-10 10:45:30 +09:00
Tom Hacohen 896c18045a Eeze sensor udev: Fix memory leak and possible crash.
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
2015-10-09 12:32:37 +01:00
Stefan Schmidt 5e4d26a1aa eeze/sensor/tizen: Fix typos to let it build for tizen
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-24 16:01:42 +01:00
Stefan Schmidt c2da27328b eeze/sensor: Simplify object handling in async paths.
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-22 15:58:28 +01:00
Stefan Schmidt 3c167a964b eeze/sensor/tizen: Fix start and stop from sensors during init and shutdown 2013-04-19 10:00:11 +01:00
Stefan Schmidt 27a711b83c eeze/sensor: Simplify sensor object handling.
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-19 09:21:12 +01:00
Carsten Haitzler 6ccae99bd1 let's fix eeze sensors to not segv on shutdown.. dup registered fake
(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-18 00:30:04 +09:00
Stefan Schmidt f58ffeb7be eeze/sensor: Add small udev module to read temperature from sysfs
This module does only provide a temperature sensor. Some pieces
borrowed from the temget code.
2013-04-17 09:09:42 +01:00
Stefan Schmidt 763bdd1618 eeze/sensor: Switch timestamp to relative values coming.
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-16 13:21:28 +01:00
Stefan Schmidt 25843ac65e eeze/sensor/tizen: Fix bug where we set the wrong sensor type to the object.
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-11 13:11:08 +01:00
Stefan Schmidt 98806b17e2 eeze/sensor/tizen: Big update to support all new tizen sensor types.
This needs quite soem testing but it should copver all new sensors now.
2013-04-03 17:14:20 +01:00
Stefan Schmidt f5b322a824 eeze/sensor/tizen: USe enum sentinel to iterate over sensor types.
With the newer version we now have a sentinel that marks the last item of the enum.
2013-04-03 17:14:20 +01:00
Stefan Schmidt 9d47faa761 eeze/sensor: Add more sensor types used in Tizen.
Just setting up the sensor types in the lib and fake module.
2013-04-03 17:14:20 +01:00
Stefan Schmidt bc93fd6aa7 eeze/sensor/fake: Finally fix fake module to send out correct ecore events.
Sensor type is completely different from event type.
2013-03-28 14:38:12 +00:00
Stefan Schmidt 85d7dddbde eeze/sensor: Make sure we send out ecore events for all async reads in fake module 2013-03-27 13:23:53 +00:00
Stefan Schmidt 394fa35356 eeze: Make eeze sensor log domain private and use different ones for the modules
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-26 09:33:59 +00:00
Stefan Schmidt 948d7e3743 eeze/fake/module: Correct error message and fix typo. 2013-03-26 08:36:37 +00:00
Daniel Willmann 0bbd944672 eeze_sensor: Don't free the object we want to return asynchronously
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-03-22 17:50:26 +00:00
Lucas De Marchi 76f373fae3 efl/eeze: move sensor modules to their own dir
SVN revision: 82574
2013-01-10 16:14:55 +00:00
Gustavo Sverzut Barbieri 68188ac0c8 efl: merge eeze.
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
2013-01-03 20:37:42 +00:00