Commit Graph

357 Commits

Author SHA1 Message Date
Stefan Schmidt d13ca5705f eeze/sensor: Fix leaks when getting allocated data from obj_get
SVN revision: 80882
2012-12-13 15:54:29 +00:00
Stefan Schmidt 77b2e63002 eeze/sensor: Add more documentation and comment the code.
SVN revision: 80861
2012-12-13 14:17:14 +00:00
Stefan Schmidt d5523905e4 eeze/tests: Disable tests that will fail with -fvisibility=hidden
On the one hand this also should have test coverage. On the other hand we
don't want to expose this as an public API. Disable for now so we don't
fail with -fvisibility=hidden.

SVN revision: 80743
2012-12-12 09:40:17 +00:00
Stefan Schmidt 945a413b8c eeze/sensor: Improve unit test coverage for eeze_sensor.
Mostly error cases and error paths stuff.

SVN revision: 80673
2012-12-11 16:48:49 +00:00
Stefan Schmidt c12b96f055 eeze:/sensor: These are motions event types we can't read from.
SVN revision: 80672
2012-12-11 16:48:46 +00:00
Stefan Schmidt 1e8dc19715 eeze/sensor: Break out from the read if the sensor object is NULL
Better handle this error case. Spotted by some unit tests updates.

SVN revision: 80671
2012-12-11 16:48:43 +00:00
Stefan Schmidt 083434f695 eeze: Make sure we use the modules from the current build for make check.
Befoe this we always used the installed modules from the system. That is often
fine but there are cases we would need the local. un-installed, modules. The
coverage check is a example. The system modules normally don't had the options
for coverage enabled and thus would not produce anything for the modules.

Default still stays as it was. You would need to set an env var to use the
local modules.

SVN revision: 80670
2012-12-11 16:48:39 +00:00
Rui Seabra 717f492b1a Remove explicit ecore dependencies from the rpm specs of edje, e, eeze, empower and ephoto, as well as the extra modules template.
SVN revision: 80547
2012-12-09 10:56:20 +00:00
Stefan Schmidt ac6cadd8dc eeze/doc: Be a bit more verbose in the entry section of eeze_sensor
SVN revision: 80244
2012-12-05 13:42:37 +00:00
Stefan Schmidt a94b021f17 eeze: Also give the eeze_sensor_test example a bit more comments.
SVN revision: 80073
2012-12-03 14:45:19 +00:00
Stefan Schmidt a3269e66fe eeze/doc: Notes about init and shutdown of the sensor subsystem.
Make both functions and EAPI as well. Not needed if the general eeze_init
is called though. Note that in the docs.

SVN revision: 80072
2012-12-03 14:45:14 +00:00
Stefan Schmidt 1f5820514e eeze/docs: Make sure we do not do a explicit link to ecore here.
SVN revision: 80071
2012-12-03 14:45:10 +00:00
Stefan Schmidt a423b298b8 eeze: Give the eeze_sensor doxygen an overhaul.
Wrap at 80 chars, fix some typos and add more descriptions.

SVN revision: 80070
2012-12-03 14:44:33 +00:00
Stefan Schmidt cedf5d0cf9 Doxyfile.in: Remove obsolte doxygen tags from all our Doxyfile.in files.
Doygen tells us:
warning: Tag `SHOW_DIRECTORIES' at line 507 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `HTML_ALIGN_MEMBERS' at line 879 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag `USE_INLINE_TREES' at line 1065 of file Doxyfile has become obsolete.
To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"

So we are nice and remove them. A yay for the day where we have amerged tree and
not two dozens of Doxyfile.in files floating around.

SVN revision: 78409
2012-10-24 19:50:29 +00:00
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