Stefan Schmidt
cea45580e0
eeze/sensor: Remove handle_get() test for Eeze_Sensor as it gone from the code.
...
SVN revision: 77318
2012-10-02 12:53:48 +00:00
Stefan Schmidt
7032a54a09
eeze/sensor: Fix big memleak that happened on every eeze use.
...
Really free the list with sensor modules when shutting down. No idea how I
dropped that as I found it in one old local version I had. Thanks to Mike
for the notice and valgrind for the tooling.
Also make sure we don't corrupt the list before we can free it.
SVN revision: 77291
2012-10-02 08:47:54 +00:00
Stefan Schmidt
13110e7610
eeze/sensor: Free the hash table on shutdown. Leak--
...
Some bigger leak is still going on there with the module unloading. I swear that
was all non-leaking before. I had valgrind on it. :)
SVN revision: 77290
2012-10-02 08:47:50 +00:00
Stefan Schmidt
0d2fcf9837
eeze/sensor: Update documentation.
...
Updating the docs in the header as well as some more comments in the code itself.
SVN revision: 77289
2012-10-02 08:47:45 +00:00
Mike McCormack
70c99a039e
Update git ignore files
...
Signed-off-by: Mike McCormack <mikem@atratus.org>
SVN revision: 77217
2012-09-29 12:19:09 +00:00
Stefan Schmidt
ae81bcdcd5
eeze/sensor: Fix fake module to set timestamp to microseconds since epoch.
...
Seconds is not really a suitable resolution for sensor data read outs. This
also aligns it with the tizen module and the public API.
The sleep is no longer needed in the test program either.
SVN revision: 77191
2012-09-28 09:10:47 +00:00
Stefan Schmidt
c7d300cae3
eeze/sensor: Make the Eeze_Sensor struct private.
...
All data for the public API have moved into other data structures. This one
is only needed for internal housekeeping now. Thus move it into the pivate
header file so it does not confuse people.
SVN revision: 77190
2012-09-28 09:10:43 +00:00
Stefan Schmidt
8ca073ed14
eeze/sensor: Update eeze sensor docs.
...
Mostly typo fixes and hopefully clarify some things.
SVN revision: 77189
2012-09-28 09:10:40 +00:00
Rui Seabra
6ac749104c
Correct fix.
...
SVN revision: 77022
2012-09-23 13:28:06 +00:00
Rui Seabra
0ec3384720
* Add support to eeze_sensor lib in the spec
...
* Fix dist build by including a header file
* svn:ignore on .deps, Makefile and Makefile.in on modules and tests.
SVN revision: 77021
2012-09-23 12:17:22 +00:00
Stefan Schmidt
5dc29874f1
eeze/sensor: Fill in more properties in the tizen plugin.
...
Fill in timestamp values where provided and adjust accuracy to -1 if
undefined. 0 means bad accuracy here.
SVN revision: 76970
2012-09-21 14:56:47 +00:00
Stefan Schmidt
c35df67148
eeze/sensor: Finally get right of eeze_sensor_handle_get
...
No longer needed as it only contains the modules information that will be
used in the eeze_sensor core. All other important bits have found new homes
in other data structures.
SVN revision: 76969
2012-09-21 14:56:40 +00:00
Stefan Schmidt
33e20cf2a0
eeze/sensor: Be more failure tolerant in example.
...
If the sensor does not exist we should not ask for its properties.
SVN revision: 76918
2012-09-20 15:46:36 +00:00
Stefan Schmidt
63c3e6cc3c
eeze/sensor: Fail if we can't find the sensor object.
...
We might have asked for a sensor that is not supported on this device. Let
the application know about this.
SVN revision: 76917
2012-09-20 15:46:34 +00:00
Stefan Schmidt
dede039b35
eeze/tests: Fix test for sensor events.
...
Inject the event by hand to test the code pathes handling a sensor event coming in.
SVN revision: 76916
2012-09-20 15:46:04 +00:00
Stefan Schmidt
3a8be0b07a
eeze/tests: Cover private eeze functions as well.
...
SVN revision: 76915
2012-09-20 15:45:59 +00:00
Stefan Schmidt
a36ed3dc82
eeze/sensor: Adjust tizen module to API changes.
...
SVN revision: 76866
2012-09-19 13:36:17 +00:00
Stefan Schmidt
ccde4dce02
eeze/sensor: Wehn using sleep() we should include the header for declaration
...
SVN revision: 76865
2012-09-19 13:34:57 +00:00
Stefan Schmidt
eaa278444c
eeze/tests: Cover more eeze_sensor functions
...
Also start with testing for some error pathes by giving in wrong values.
SVN revision: 76857
2012-09-19 12:41:31 +00:00
Stefan Schmidt
087937b7f3
eeze/sensor: Init Eeze_Sensor_Obj to NULL
...
Without this the object get might fail but our NULL check would not trigger.
SVN revision: 76856
2012-09-19 12:41:23 +00:00
Stefan Schmidt
0b753f3e33
eeze: Introduce modules directory and place eeze_sensor modules into it.
...
More like other efl libs and maybe we have more modules for eeze later on.
SVN revision: 76847
2012-09-19 09:19:23 +00:00
Stefan Schmidt
58014e6fd2
eeze/tests: Also cover this part of the api in the unit tests
...
SVN revision: 76831
2012-09-18 14:29:28 +00:00
Stefan Schmidt
849502a832
eeze: Add basic test infrastructure and unit tests
...
SVN revision: 76828
2012-09-18 14:14:59 +00:00
Stefan Schmidt
63636545cf
eeze: Add myself to AUTHORS
...
SVN revision: 76827
2012-09-18 14:14:55 +00:00
Stefan Schmidt
c503879efb
eeze: Mention sensor addition in changelog and news.
...
SVN revision: 76826
2012-09-18 14:14:52 +00:00
Stefan Schmidt
535ef37087
eeze: Add sensor API
...
Extend eeze to read out sensor data from various sources with a simple API to
access for application developers. The sensor backends are eina modules. For
now we support a tizen module as well as a fake module for testing.
Modules for plain sysfs on a desktop or other sensor frameworks could get
integrated.
The api is not fixed until 1.8 is out so let me know what you think. Having
small wrappers for all kind of infos like eeze_sensor_light_get or
eeze_sensor_proximity_get are possible but I did not want to bloat the api
from the beginning.
SVN revision: 76825
2012-09-18 14:14:48 +00:00
Carsten Haitzler
0e77364887
update header #defined versions to 1.8 to make sure new apis are used
...
in e17 only with ifdefs.
SVN revision: 75994
2012-09-03 09:55:34 +00:00
Jerome Pinot
5008e82ac9
eeze: autotools
...
eeze/doc/img didn't made it to the dist package because of a missing slash.
Fix this and make the style consistent by removing the lonely $(srcdir).
SVN revision: 75886
2012-08-30 15:22:36 +00:00
Cedric BAIL
0008f2362f
ChangeLog: back in time.
...
SVN revision: 75875
2012-08-30 11:26:00 +00:00
Cedric BAIL
5e33eaa6c4
ChangeLog: state we did a release.
...
SVN revision: 75873
2012-08-30 10:55:40 +00:00
Carsten Haitzler
d22ca53faa
and up ver to 1.7.99 now in svn. nack to svnrev num at end.
...
SVN revision: 75869
2012-08-30 10:34:01 +00:00
Carsten Haitzler
6335870b45
no this isnt release - this is simply me removing the beta tag so when
...
we release it's ready.
SVN revision: 75740
2012-08-27 10:24:41 +00:00
Carsten Haitzler
1475fb3586
update @version's
...
SVN revision: 75739
2012-08-27 09:51:57 +00:00
Rui Seabra
5daa1a432a
Update rpm specs
...
SVN revision: 75404
2012-08-18 08:22:34 +00:00
Carsten Haitzler
497af2e1e4
tag as beta...
...
SVN revision: 75344
2012-08-17 03:57:49 +00:00
Carsten Haitzler
aef32ed6d3
more updates for 1.7.0 alpha.
...
SVN revision: 75095
2012-08-10 10:51:17 +00:00
Carsten Haitzler
1e2cbe8e7d
alpha release of 1.7 - let's roll. ALPHA!
...
SVN revision: 75091
2012-08-10 10:37:05 +00:00
Mike Blumenkrantz
917ce85269
revert remaining broken/wrong mount timeout behavior added recently
...
SVN revision: 74785
2012-08-02 07:06:31 +00:00
Mike Blumenkrantz
e0cec4d456
use new ecore fdh function and finally fix eeze mounting without mtab
...
SVN revision: 74784
2012-08-02 07:06:03 +00:00
Mike Blumenkrantz
d890c977ff
set NONBLOCK on /proc/self/mountinfo file descriptor
...
SVN revision: 74738
2012-08-01 13:32:38 +00:00
Mike Blumenkrantz
f782172e5a
if disk error has already occurred, delete check timer
...
SVN revision: 74737
2012-08-01 12:53:56 +00:00
Mike Blumenkrantz
52c05aaa01
eeze mount operations will now only retry up to 3 times when they fail before emitting an error event
...
SVN revision: 74736
2012-08-01 12:43:55 +00:00
Mike Blumenkrantz
ba567e440e
add EEZE_DISK_MOUNTOPT_NODEV
...
yes, I realize we're in a freeze, but this is trivial and important
SVN revision: 74564
2012-07-30 09:49:05 +00:00
Mike Blumenkrantz
d995e25c80
never attempt to use disk label for mounting
...
SVN revision: 74563
2012-07-30 09:10:35 +00:00
Mike Blumenkrantz
68a09359bd
eeze now unmounts using the devnode instead of the mount point
...
SVN revision: 74560
2012-07-30 08:22:05 +00:00
Mike Blumenkrantz
ce53e4f2e0
failing to create a mount point no longer results in an error since it's possible for this to be handled by certain mount utilities
...
SVN revision: 74559
2012-07-30 08:18:01 +00:00
Mike Blumenkrantz
244e5f7919
revert part of 74545 and change fopen to open; somehow this broke reading
...
SVN revision: 74557
2012-07-30 07:31:34 +00:00
Mike Blumenkrantz
10e1c670dd
add --enable-mtab to eeze to force use of deprecated mtab for mountinfo (libmount pre 2.20)
...
SVN revision: 74556
2012-07-30 07:30:46 +00:00
Carsten Haitzler
e33c5d05cd
and... first monitor mtab not fstab for MOUNT changes/ mtab is
...
"current mounted status" . fstab is "stuff i WANT to mount".
secondly.. if mtab is a symlink.. pretend we arent monitoring. this
then kicks in the poll checker after mount cmd is done.
SVN revision: 74545
2012-07-29 13:21:09 +00:00
Eduardo de Barros Lima
d288db2078
Eeze: lets make it buildable once again
...
SVN revision: 74329
2012-07-23 14:23:59 +00:00