Commit Graph

28419 Commits

Author SHA1 Message Date
Stefan Schmidt 821d68ded1 elocation: Check if the passed in address/position/status is already up to date
This API needs to get rewritten when the GeoClue2 support lands.
2014-11-11 12:02:10 +01:00
Stefan Schmidt 510773a99d elocation: Cleanup status code handling
The code is an integer enum so we should really handle it like this. Use dummy
free callbacks for ecore_event_add as we pass not malloced data in.
2014-11-11 11:46:14 +01:00
Stefan Schmidt 699e5a2bed tests/elocation: Enhance tests to wait for callback arrival.
These message are passes async over dbus so we better wait until we see the
reply if we want to have a test case that is somewhat useful.
2014-11-11 11:10:12 +01:00
Stefan Schmidt 2358c69983 tests/elocation: Generate libcheck xml output for jenkins
Jenkins reads the xml file generated by libcheck to display the coverage.
Also setup EFL_RUN_IN_TREE to make sure all paths are setup correctly.
2014-11-11 11:10:12 +01:00
Stefan Schmidt 9ab00e96ed docs/elocation: Update some more version tags 2014-11-11 11:10:12 +01:00
Stefan Schmidt 0d6dcb9581 tests/elocation: Avoid testing of non elocation things in the elocation suite
These inits and shutdown are already done in elocation_init() directly. As we
do not use any of its functionality here we better concentrate on elocation
unit tests in here.
2014-11-11 11:10:12 +01:00
Stefan Schmidt 61a27cbf7f examples/elocation: Add example makefile for elocation
To make the example worthwhile to run alone add a basic makefile for the
example like we do for others.
2014-11-11 11:10:12 +01:00
Stefan Schmidt 1eb4ffcc4d elocation: Mute all unused parameter warnings
The signature is given by the callback so the only thing we can do here is to
mute the warnings.
2014-11-11 11:10:11 +01:00
Stefan Schmidt c389e36ef5 doc: Add reference to Elocation documentation from main page 2014-11-11 11:10:11 +01:00
Stefan Schmidt 597ce8e1ca doc/elocation: Make it fit into the efl documentation
@mainpage would override the main efl page. Its no longer a separate
lib which needs its own mainpage. We just need to make sure the group
and sections show up from the main page.
2014-11-11 11:09:59 +01:00
Stefan Schmidt 701502cde2 doc/elocation: Update since tag to an appropriate 1.13 2014-11-11 11:08:58 +01:00
Stefan Schmidt 8468b8c073 examples/elocation: Add gitignore file for generated elocation examples 2014-11-11 11:08:58 +01:00
Stefan Schmidt f1badf1c39 pc: Ignore newly generated elocation.pc file 2014-11-11 11:08:58 +01:00
Stefan Schmidt d3476bf778 tests/elocation: Add elocation test suite.
Not covering all cases yet but still a good start.
2014-11-11 11:06:05 +01:00
Stefan Schmidt a80b88c0ea elocation: Add example for using the elocation API
Basic example to show API usage.
2014-11-11 11:03:23 +01:00
Stefan Schmidt a2d2cdaf9f elocation: Add elocation libraray to EFL.
Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are just
some of the use cases.

In the beginning elocation will rely on the GeoClue1 DBus service. Supporting
the new GeoClue2 DBus service is planned and worked on. GeoClue offers
providers for various techniques to get hold off the current position. Ranging
from GeoIP over wifi and GSM cell location to GPS.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

The detection of the GeoClue service is being handled on runtime and no new
dependency is added due to this library.

@feature
2014-11-11 11:02:08 +01:00
Stefan Schmidt c2f130a2f7 build: Remove bzip2 tarballs from distcheck
When adding xz as third compression format in May 2014 I mentioned that I'm
going to remove bzip2 in favor of xz in 1.12.
I heard no complains but I left it in for 1.12. With 1.13 starting its time
to remove it. From now on it will be only gz and xz compressed tarballs.
2014-11-11 10:48:39 +01:00
Stefan Schmidt ee4d396227 configure: Switch to dev mode again. Merge window for 1.13 is open now. 2014-11-10 14:00:24 +01:00
Jaehwan Kim e4a1696a72 Edje: Set the min, max sizes of the image automatically.
Set the min, max sizes of the image automatically,
if it uses image set and there's no setting about min, max sizes.
This idea is originated by Jinsol Park.

@feature
2014-11-10 21:01:19 +09:00
Jaehwan Kim 9aba5eb346 edje_calc: fix image set bug.
When the image is changed, the border should be reseted.

@fix
2014-11-10 21:01:08 +09:00
Stefan Schmidt 3013a7c5cb release: Update NEWS and bump version for 1.12.0 release 2014-11-10 12:04:06 +01:00
Stefan Schmidt 4d66ed9b1f Revert "Ecore File : Added test suite for Ecore File module"
Same problem with this as for the revert before. Fails when run the second
time. See last commit for details.

This reverts commit 5866e166bb.
2014-11-10 11:40:55 +01:00
Stefan Schmidt 2f9d5d19fe Revert "Ecore File: Added test case for Ecore File Monitor"
This breaks make check and distcheck when run more than once. I first look
seems to indicate that the hardcoded /tmp/rootDir is not removed during
shutdown and fials to be created the next time as it is already present.

When removing it manually another problem with the subdir popped up. No
time to fix this just before I want to do the release so this gets
reverted. Please fix this up and submit it again for 1.13. Thanks.

This reverts commit cb84017a3f.
2014-11-10 11:38:10 +01:00
Stefan Schmidt 1721c8e043 Revert "ecore-tests: Fix formatting"
This commit alone is fine but it does changes to another commit that needs
reverting as it breaks make check / distcheck and thus this one has to be
reverted as well.

This reverts commit 652e2f688b.
2014-11-10 11:36:48 +01:00
Daniel Juyung Seo 2c35578a65 ko.po: Fix wrong translation format.
Thanks Shiin for the report.
2014-11-10 09:44:21 +09:00
Daniel Juyung Seo 50c6a2934c ko: Update Korean translation. 2014-11-10 01:02:30 +09:00
Stefan Schmidt 5d7d023124 examples/eldbus: Initialize all description members
Better to initialize all members here in the example.
2014-11-07 15:05:46 +01:00
Stefan Schmidt a939e0c5fb examples/eldbus: Make sure Eldbus_Service_Interface_Desc is initialized for all members
The property_set callback might be automatically set to NULL here but making it
explicit avoids confusion on how many members this description has.
2014-11-07 14:51:15 +01:00
Stefan Schmidt 9f67419ab3 examples/eldebus: Unregister service interface on shutdown.
As we use this as an example for devlopers we better also handle the
shutdown case cleanly.
2014-11-07 14:48:18 +01:00
Cedric BAIL ce212de286 edje: eo_data_unref the right data. 2014-11-07 08:08:49 +01:00
Carsten Haitzler b97778a1c2 ecore-con - url. fix curl init check to not access NULL _c context
this fixes T1738 (or should)
2014-11-07 08:45:18 +09:00
Daniel Kolesa 6b20fcdc8f elua: two-stage bytecode caching
This unbreaks parallel builds where an elua process tries to read a bytecode
file that is currently being written. Now, we write into a temporary file first
instead and when it's written, rename.

@fix
2014-11-06 10:57:36 +00:00
Kateryna Fesyna 8ceef8c6ca edje: Edje_Edit - fix segfault on copying state of IMAGE part with twins
Summary:
The copying of state of IMAGE part with twins caused the sefmentation fault due to the extra memory freing in _edje_edit_part_state_copy() that is deleted with this commit.
The data that is freed was previously copied from the structure of state 'from' and freeing of this data leads to freeing data of 'from' part.
Later, on copying of tweens to 'to' state array of tweens appears segmentation fault because we try to access freed data of 'from' state.

@fix

Reviewers: cedric, Hermet, raster, seoz

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1636

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-11-06 06:18:38 +01:00
Kateryna Fesyna 41ea6e81d6 edje: Edje_Edit - fix segfaults on restacking of text parts with set 'text_source'.
Summary:
This commit fixes segfault on restacking text parts with set 'text_source'
that is caused by wrong updaiting of 'text_source' IDs on restacking of parts due to typo.

@fix

Reviewers: Hermet, seoz, raster, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

Differential Revision: https://phab.enlightenment.org/D1646

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-11-06 06:04:43 +01:00
perepelits.m 4dd2b89213 evas: fix quaternion initiation for node, which isn't a root node
Summary:
Default orientation of node should be corrected, because its zero rotation matrix multiplies on rotation matrix of its children node and we also get zero orientation for children,
so the vector of orientation should be non-zero

@fix

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1647

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-11-06 06:03:59 +01:00
Daniel Kolesa 90ba56b1ff po: forgot to commit updated xgettext_wrapper 2014-11-05 16:21:55 +00:00
Daniel Kolesa f0f9edd0bd elua: remove the : prefix for running apps
Instead, check if there is a file specified by the argument to elua and
if there is, execute it, otherwise treat it as app name. The reason this
is done is that the colon triggered ugly stuff in certain environments,
such as our MinGW crossbuild Jenkins slave.

@fix
2014-11-05 16:09:36 +00:00
Daniel Kolesa d23b9342d5 elua: remove redundant checks 2014-11-05 09:52:01 +00:00
Daniel Kolesa 1ea00af7e9 elua: support foo.dll and libfoo.dll patterns on Windows in util + better errors 2014-11-05 09:50:08 +00:00
artem.popov a5e3e0d0d4 edje: fix edje_object_part_text_item_list_get and edje_object_part_text_item_geometry_get
Summary:
There is copy-paste bug, when _anchors_get works in the same way like
_items_get. edje_object_part_text_item_list_get and
edje_object_part_text_item_geometry_get didn't work.

@fix

Reviewers: seoz, Hermet, raster, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1641

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-11-05 00:15:52 +01:00
Jean Guyomarc'h 704c448141 warnings: remove 2 "equality comparison with extraneous parentheses"
Reviewers: stefan_schmidt, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1644

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2014-11-05 00:15:52 +01:00
zmike dbd3bea99e addendum to previous commit: use callback param but still compile 2014-11-04 17:58:39 -05:00
zmike 80076bffb9 eldbus-codegen now outputs compileable code for complex method signatures
it would be an understatement to say that I am disappointed by the original author's decision to write zero tests for this utility.
2014-11-04 17:42:52 -05:00
Daniel Kolesa 856db64d92 elua: only gendep on lualian when building in-tree 2014-11-04 16:38:41 +00:00
kabeer khan 0abcd5133e Ecore File: Corrected documentation of ecore_file_monitor_add API
Summary:
Added condition that if given path does not exist it returns NULL

@fix

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: englebass, devilhorns

Reviewed By: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1640
2014-11-04 08:53:33 -05:00
Jean Guyomarc'h 9fa0e6ea19 elua: load .dylib on OSX
Summary:
On OSX, libraries are generated as .dylib instead of .so. This led elua to
try loading missing libraries, and therefore crashing.

@fix

Reviewers: cedric, q66

Reviewed By: q66

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1642
2014-11-04 11:55:14 +00:00
Daniel Kolesa 8077e14fd6 elua: support for environment variable library path lookups in util.lib_load
This allows us to get rid of the LD_LIBRARY_PATH hack and thus make it more
cross-plaform as well as fix some bad behavior (with the hack it still looked
up the systemwide library if present instead of preferring in-tree)
2014-11-03 13:20:54 +00:00
Chris Michael 652e2f688b ecore-tests: Fix formatting
Summary: No functional changes, just formatting.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2014-11-03 08:17:34 -05:00
kabeer khan cb84017a3f Ecore File: Added test case for Ecore File Monitor
Summary: Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1634
2014-11-03 08:16:57 -05:00
kabeer khan 61d2e8cdf6 Ecore File: Corrected documentation of ecore_file_monitor_add API
Summary:
Existing doc specifies that ecore_file_monitor_add returns NULL if path is not file.
Removed this line as it works if path is either file or directory.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: devilhorns, englebass

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D1635
2014-11-03 08:13:57 -05:00