platform/upstream/efl.git
9 years agoecore-wayland: Fix the issue of UnIconifying an xdg_surface
vivek [Wed, 12 Nov 2014 13:32:10 +0000 (08:32 -0500)]
ecore-wayland: Fix the issue of UnIconifying an xdg_surface

Summary:
Fixed the issue of UnIconifying an xdg_surface which is
needed for Enlightenment IBox scenario.

@fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoecore_drm: Added internal function for drm output updates when device is hotplug
vivek [Wed, 12 Nov 2014 13:30:53 +0000 (08:30 -0500)]
ecore_drm: Added internal function for drm output updates when device is hotplug

Summary:
Added internal function _ecore_drm_update_outputs which will update the
outputs if the drm device is hotplug

@fix

Signed-off-by: vivek <vivek.ellur@samsung.com>
Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric

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

9 years agoEvas: Use ENFN/ENDT in proxy subrender
Jean-Philippe Andre [Wed, 12 Nov 2014 10:25:21 +0000 (19:25 +0900)]
Evas: Use ENFN/ENDT in proxy subrender

Again, just a code readability change.

9 years agoEvas: Avoid creating an extra context for proxy rendering
Jean-Philippe Andre [Wed, 12 Nov 2014 10:18:09 +0000 (19:18 +0900)]
Evas: Avoid creating an extra context for proxy rendering

9 years agoelocation: Check return from eldbus_message_iter_arguments_get
Stefan Schmidt [Wed, 12 Nov 2014 09:18:58 +0000 (10:18 +0100)]
elocation: Check return from eldbus_message_iter_arguments_get

Coverity spotted my laziness here with the eldbus functions. Better check that
they actually succeeded.

CID: 1251470, 1251471, 1251472, 1251473

9 years agovieet: list the sections of an eet file if a section isn't passed.
Tom Hacohen [Thu, 23 Oct 2014 14:28:30 +0000 (15:28 +0100)]
vieet: list the sections of an eet file if a section isn't passed.

Thanks to Sachiel for suggesting this feature.

9 years agoelocation: Fix EAPI define for win32 builds
Stefan Schmidt [Wed, 12 Nov 2014 09:01:47 +0000 (10:01 +0100)]
elocation: Fix EAPI define for win32 builds

That clearyl shows that I never build this for win32 and I missed to change
from ecore to elocation when copying the definition. My bad. Thanks goes to
jenkins and jpeg.

9 years agoelocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI
Stefan Schmidt [Wed, 12 Nov 2014 08:54:58 +0000 (09:54 +0100)]
elocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI

9 years agoEvas: Improved code consistency
Jaeun Choi [Wed, 22 Oct 2014 10:59:50 +0000 (19:59 +0900)]
Evas: Improved code consistency

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEvas: Fixed indentation
Jaeun Choi [Fri, 10 Oct 2014 01:33:13 +0000 (10:33 +0900)]
Evas: Fixed indentation

This is a purely cosmetic change.

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEvas: Use common function for proxy_subrender
Jean-Philippe Andre [Thu, 23 Oct 2014 06:27:40 +0000 (15:27 +0900)]
Evas: Use common function for proxy_subrender

Merges functions from:
- filters
- image object

9 years agoEvas: Fix COPY op for mask+color
Jean-Philippe Andre [Mon, 10 Nov 2014 09:16:56 +0000 (18:16 +0900)]
Evas: Fix COPY op for mask+color

Also, mark some functions with a FIXME as they look just wrong.
COPY_REL is never used...

MMX and NEON optimizations should be implemented for COPY MASK+COL.

9 years agoEvas: Fix SW rendering COPY function with mask
Jean-Philippe Andre [Mon, 10 Nov 2014 07:48:38 +0000 (16:48 +0900)]
Evas: Fix SW rendering COPY function with mask

This does not fix any known bug as there is no known path using this
function.

9 years agoEvas image: Use macros ENFN/ENDT to improve code readability
Jean-Philippe Andre [Wed, 22 Oct 2014 09:34:51 +0000 (18:34 +0900)]
Evas image: Use macros ENFN/ENDT to improve code readability

These macros replace some very repetitive code:
 - define ENFN obj->layer->evas->engine.func
 - define ENDT obj->layer->evas->engine.data.output

This commit includes lots of space changes as well.
This is a purely cosmetic commit.

9 years agoEvas shaders: Auto-generate the shaders from Makefile
Jean-Philippe Andre [Wed, 12 Nov 2014 05:55:34 +0000 (14:55 +0900)]
Evas shaders: Auto-generate the shaders from Makefile

Let's regenerate the shaders when a SHD file changes.
I've removed the Git commit id because only touching a file
would insert a code change.

9 years agoEvas shaders: Write new shader generator script
Jean-Philippe Andre [Wed, 12 Nov 2014 05:41:23 +0000 (14:41 +0900)]
Evas shaders: Write new shader generator script

All shaders will be in a single .x (C) file.
There shall be no more useless .h files.

This also removes the need for awk (replaced by sed and bash stuff)

9 years agoEvas: Remove ugly REND_DBG
Jean-Philippe Andre [Wed, 5 Nov 2014 05:54:35 +0000 (14:54 +0900)]
Evas: Remove ugly REND_DBG

Here's a macro that's used for debugging in some of the ugliest
ways possible: avoid passing an extra argument to a function when the
cost of always passing it is negligible (it's an int).

Fixes T1749.

9 years agoelocation: Make sure the pc file gets installed like the others.
Stefan Schmidt [Tue, 11 Nov 2014 16:22:48 +0000 (17:22 +0100)]
elocation: Make sure the pc file gets installed like the others.

Forgot about this when merging it it from the separate lib where
the tooling did handle it. Thanks goes to Scimmia for letting me
know so quickly. :)

9 years agotests/elocation: Disable elocation test suite until deps are installed on jenkins
Stefan Schmidt [Tue, 11 Nov 2014 15:57:53 +0000 (16:57 +0100)]
tests/elocation: Disable elocation test suite until deps are installed on jenkins

I expected them to be installed but I was wrong. Will keep this disabled until
this is sorted out on jenkins.

9 years agopo: disable xgettext_wrapper for the time being (not really used and possibly won...
Daniel Kolesa [Tue, 11 Nov 2014 15:07:03 +0000 (15:07 +0000)]
po: disable xgettext_wrapper for the time being (not really used and possibly won't be)

9 years agoelocation: Add elocation libraray to EFL.
Stefan Schmidt [Tue, 11 Nov 2014 12:36:10 +0000 (13:36 +0100)]
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.

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.

So far it has only support for GeoClue1 while I already work on GeoClue2
support. The API is not considered stable yet and it will change for sure when
the GeoClue2 support gets merged. We will likely start if a reduced API when
1.13 gets released and extend if over time.

9 years agotests/elocation: Disable problematic elocation status test for now.
Stefan Schmidt [Tue, 11 Nov 2014 11:26:56 +0000 (12:26 +0100)]
tests/elocation: Disable problematic elocation status test for now.

This seems to fail in some cases. Have it disabled for now to have the
rest of the tests run stable.

9 years agoelocation: Check if the passed in address/position/status is already up to date
Stefan Schmidt [Tue, 11 Nov 2014 11:02:10 +0000 (12:02 +0100)]
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.

9 years agoelocation: Cleanup status code handling
Stefan Schmidt [Tue, 11 Nov 2014 10:46:14 +0000 (11:46 +0100)]
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.

9 years agotests/elocation: Enhance tests to wait for callback arrival.
Stefan Schmidt [Wed, 29 Oct 2014 13:39:47 +0000 (14:39 +0100)]
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.

9 years agotests/elocation: Generate libcheck xml output for jenkins
Stefan Schmidt [Wed, 29 Oct 2014 10:28:17 +0000 (11:28 +0100)]
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.

9 years agodocs/elocation: Update some more version tags
Stefan Schmidt [Wed, 29 Oct 2014 10:23:58 +0000 (11:23 +0100)]
docs/elocation: Update some more version tags

9 years agotests/elocation: Avoid testing of non elocation things in the elocation suite
Stefan Schmidt [Wed, 29 Oct 2014 08:48:55 +0000 (09:48 +0100)]
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.

9 years agoexamples/elocation: Add example makefile for elocation
Stefan Schmidt [Tue, 28 Oct 2014 16:35:05 +0000 (17:35 +0100)]
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.

9 years agoelocation: Mute all unused parameter warnings
Stefan Schmidt [Tue, 28 Oct 2014 16:01:07 +0000 (17:01 +0100)]
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.

9 years agodoc: Add reference to Elocation documentation from main page
Stefan Schmidt [Tue, 28 Oct 2014 15:22:00 +0000 (16:22 +0100)]
doc: Add reference to Elocation documentation from main page

9 years agodoc/elocation: Make it fit into the efl documentation
Stefan Schmidt [Tue, 28 Oct 2014 15:20:17 +0000 (16:20 +0100)]
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.

9 years agodoc/elocation: Update since tag to an appropriate 1.13
Stefan Schmidt [Tue, 28 Oct 2014 15:11:23 +0000 (16:11 +0100)]
doc/elocation: Update since tag to an appropriate 1.13

9 years agoexamples/elocation: Add gitignore file for generated elocation examples
Stefan Schmidt [Tue, 28 Oct 2014 14:58:18 +0000 (15:58 +0100)]
examples/elocation: Add gitignore file for generated elocation examples

9 years agopc: Ignore newly generated elocation.pc file
Stefan Schmidt [Tue, 28 Oct 2014 14:57:25 +0000 (15:57 +0100)]
pc: Ignore newly generated elocation.pc file

9 years agotests/elocation: Add elocation test suite.
Stefan Schmidt [Tue, 28 Oct 2014 14:55:02 +0000 (15:55 +0100)]
tests/elocation: Add elocation test suite.

Not covering all cases yet but still a good start.

9 years agoelocation: Add example for using the elocation API
Stefan Schmidt [Tue, 28 Oct 2014 12:00:11 +0000 (13:00 +0100)]
elocation: Add example for using the elocation API

Basic example to show API usage.

9 years agoelocation: Add elocation libraray to EFL.
Stefan Schmidt [Tue, 28 Oct 2014 10:22:55 +0000 (11:22 +0100)]
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

9 years ago build: Remove bzip2 tarballs from distcheck
Stefan Schmidt [Tue, 11 Nov 2014 09:33:05 +0000 (10:33 +0100)]
 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.

9 years agoconfigure: Switch to dev mode again. Merge window for 1.13 is open now.
Stefan Schmidt [Mon, 10 Nov 2014 13:00:24 +0000 (14:00 +0100)]
configure: Switch to dev mode again. Merge window for 1.13 is open now.

9 years agoEdje: Set the min, max sizes of the image automatically.
Jaehwan Kim [Mon, 10 Nov 2014 11:45:33 +0000 (20:45 +0900)]
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

9 years agoedje_calc: fix image set bug.
Jaehwan Kim [Mon, 10 Nov 2014 12:00:02 +0000 (21:00 +0900)]
edje_calc: fix image set bug.

When the image is changed, the border should be reseted.

@fix

9 years agorelease: Update NEWS and bump version for 1.12.0 release v1.12.0
Stefan Schmidt [Mon, 10 Nov 2014 11:04:06 +0000 (12:04 +0100)]
release: Update NEWS and bump version for 1.12.0 release

9 years agoRevert "Ecore File : Added test suite for Ecore File module"
Stefan Schmidt [Mon, 10 Nov 2014 10:40:55 +0000 (11:40 +0100)]
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 5866e166bb02374930922e38cd1c89809a5520d4.

9 years agoRevert "Ecore File: Added test case for Ecore File Monitor"
Stefan Schmidt [Mon, 10 Nov 2014 10:38:10 +0000 (11:38 +0100)]
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 cb84017a3f4ae6b3c13ee9fe7c0dca04a16aa43c.

9 years agoRevert "ecore-tests: Fix formatting"
Stefan Schmidt [Mon, 10 Nov 2014 10:36:48 +0000 (11:36 +0100)]
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 652e2f688bb7c7057e69a4740181c12f17aa4e1d.

9 years agoko.po: Fix wrong translation format.
Daniel Juyung Seo [Mon, 10 Nov 2014 00:44:21 +0000 (09:44 +0900)]
ko.po: Fix wrong translation format.

Thanks Shiin for the report.

9 years agoko: Update Korean translation.
Daniel Juyung Seo [Sun, 9 Nov 2014 16:02:30 +0000 (01:02 +0900)]
ko: Update Korean translation.

9 years agoexamples/eldbus: Initialize all description members
Stefan Schmidt [Fri, 7 Nov 2014 14:05:46 +0000 (15:05 +0100)]
examples/eldbus: Initialize all description members

Better to initialize all members here in the example.

9 years agoexamples/eldbus: Make sure Eldbus_Service_Interface_Desc is initialized for all members
Stefan Schmidt [Fri, 7 Nov 2014 13:51:15 +0000 (14:51 +0100)]
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.

9 years agoexamples/eldebus: Unregister service interface on shutdown.
Stefan Schmidt [Fri, 7 Nov 2014 13:48:18 +0000 (14:48 +0100)]
examples/eldebus: Unregister service interface on shutdown.

As we use this as an example for devlopers we better also handle the
shutdown case cleanly.

9 years agoedje: eo_data_unref the right data.
Cedric BAIL [Fri, 7 Nov 2014 06:59:50 +0000 (07:59 +0100)]
edje: eo_data_unref the right data.

9 years agoecore-con - url. fix curl init check to not access NULL _c context
Carsten Haitzler (Rasterman) [Thu, 6 Nov 2014 23:45:18 +0000 (08:45 +0900)]
ecore-con - url. fix curl init check to not access NULL _c context

this fixes T1738 (or should)

9 years agoelua: two-stage bytecode caching
Daniel Kolesa [Thu, 6 Nov 2014 10:57:19 +0000 (10:57 +0000)]
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

9 years agoedje: Edje_Edit - fix segfault on copying state of IMAGE part with twins
Kateryna Fesyna [Thu, 6 Nov 2014 05:18:34 +0000 (06:18 +0100)]
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>
9 years agoedje: Edje_Edit - fix segfaults on restacking of text parts with set 'text_source'.
Kateryna Fesyna [Thu, 6 Nov 2014 05:04:39 +0000 (06:04 +0100)]
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>
9 years agoevas: fix quaternion initiation for node, which isn't a root node
perepelits.m [Thu, 6 Nov 2014 05:03:55 +0000 (06:03 +0100)]
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>
9 years agopo: forgot to commit updated xgettext_wrapper
Daniel Kolesa [Wed, 5 Nov 2014 16:21:39 +0000 (16:21 +0000)]
po: forgot to commit updated xgettext_wrapper

9 years agoelua: remove the : prefix for running apps
Daniel Kolesa [Wed, 5 Nov 2014 16:09:36 +0000 (16:09 +0000)]
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

9 years agoelua: remove redundant checks
Daniel Kolesa [Wed, 5 Nov 2014 09:52:01 +0000 (09:52 +0000)]
elua: remove redundant checks

9 years agoelua: support foo.dll and libfoo.dll patterns on Windows in util + better errors
Daniel Kolesa [Wed, 5 Nov 2014 09:50:08 +0000 (09:50 +0000)]
elua: support foo.dll and libfoo.dll patterns on Windows in util + better errors

9 years agoedje: fix edje_object_part_text_item_list_get and edje_object_part_text_item_geometry_get
artem.popov [Tue, 4 Nov 2014 23:00:45 +0000 (00:00 +0100)]
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>
9 years agowarnings: remove 2 "equality comparison with extraneous parentheses"
Jean Guyomarc'h [Tue, 4 Nov 2014 22:59:59 +0000 (23:59 +0100)]
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>
9 years agoaddendum to previous commit: use callback param but still compile
zmike [Tue, 4 Nov 2014 22:58:39 +0000 (17:58 -0500)]
addendum to previous commit: use callback param but still compile

9 years agoeldbus-codegen now outputs compileable code for complex method signatures
zmike [Tue, 4 Nov 2014 22:40:59 +0000 (17:40 -0500)]
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.

9 years agoelua: only gendep on lualian when building in-tree
Daniel Kolesa [Tue, 4 Nov 2014 16:38:41 +0000 (16:38 +0000)]
elua: only gendep on lualian when building in-tree

9 years agoEcore File: Corrected documentation of ecore_file_monitor_add API
kabeer khan [Tue, 4 Nov 2014 13:53:17 +0000 (08:53 -0500)]
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

9 years agoelua: load .dylib on OSX
Jean Guyomarc'h [Tue, 4 Nov 2014 11:55:14 +0000 (11:55 +0000)]
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

9 years agoelua: support for environment variable library path lookups in util.lib_load
Daniel Kolesa [Mon, 3 Nov 2014 13:20:27 +0000 (13:20 +0000)]
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)

9 years agoecore-tests: Fix formatting
Chris Michael [Mon, 3 Nov 2014 13:17:34 +0000 (08:17 -0500)]
ecore-tests: Fix formatting

Summary: No functional changes, just formatting.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEcore File: Added test case for Ecore File Monitor
kabeer khan [Mon, 3 Nov 2014 13:16:57 +0000 (08:16 -0500)]
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

9 years agoEcore File: Corrected documentation of ecore_file_monitor_add API
kabeer khan [Mon, 3 Nov 2014 13:13:57 +0000 (08:13 -0500)]
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

9 years agoecore-file: Fix formatting
Chris Michael [Fri, 31 Oct 2014 13:15:46 +0000 (09:15 -0400)]
ecore-file: Fix formatting

Summary: No functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-file: Fix formatting.
Chris Michael [Fri, 31 Oct 2014 13:13:36 +0000 (09:13 -0400)]
ecore-file: Fix formatting.

Summary: No functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.12.0-beta2 release v1.12.0-beta2
Stefan Schmidt [Mon, 3 Nov 2014 11:36:24 +0000 (12:36 +0100)]
release: Update NEWS and bump version for 1.12.0-beta2 release

9 years agoevas: Use Eina_Bool
Tae-Hwan Kim [Mon, 3 Nov 2014 11:27:56 +0000 (20:27 +0900)]
evas: Use Eina_Bool

Summary: Use EINA_TRUE/EINA_FALSE instead of 1, 0

Reviewers: raster, cedric, Hermet

Subscribers: cedric

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

9 years agoefl - ethumb-client - fix docs for ethumb_client_thumb_exists()
Carsten Haitzler (Rasterman) [Mon, 3 Nov 2014 02:55:30 +0000 (11:55 +0900)]
efl - ethumb-client - fix docs for ethumb_client_thumb_exists()

fixes T1789

9 years agoevas: change the docs of evas_object_image_load_size_set()/get()
Jaehyun Cho [Sun, 2 Nov 2014 21:16:41 +0000 (22:16 +0100)]
evas: change the docs of evas_object_image_load_size_set()/get()

Summary: Change the docs of evas_object_image_load_size_set()/get() since the previous docs were not clear to identify those functions from evas_object_image_size_set()/get()

Reviewers: raster, eunue, cedric, Hermet

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoEina lock: try to fix compilation for OSX
Jean-Philippe ANDRE [Sun, 2 Nov 2014 06:02:32 +0000 (15:02 +0900)]
Eina lock: try to fix compilation for OSX

This is a quick fix.

It looks like OSX doesn't provide the same infra as linux for
cond_timedwait, but instead they provide directly a
relative time wait function. Since I don't have any build / test
environment for OSX, this is as far as I can go.

Arguably, OSX libc seems to use gettimeofday() for cond_timedwait,
so this should close T1701.

See the pthread cond implementation:
http://www.opensource.apple.com/source/Libc/Libc-167/pthreads.subproj/pthread_cond.c

9 years agoclean up glx context code to remove legacy and avoid server segv
Carsten Haitzler (Rasterman) [Sun, 2 Nov 2014 02:36:21 +0000 (11:36 +0900)]
clean up glx context code to remove legacy and avoid server segv

this cleans oyt a few bits o9f old glx context handling code that are
no longer used as well as avoids  causing server-side to crash on
tryng to set a "none" glxwindow as current. this is what cases the
nvidia server-side crashes.

9 years agoevas/gl_generic: remove dead code.
ChunEon Park [Fri, 31 Oct 2014 10:27:49 +0000 (19:27 +0900)]
evas/gl_generic: remove dead code.

9 years agoevas/gl_common: remove dead code.
ChunEon Park [Fri, 31 Oct 2014 10:18:41 +0000 (19:18 +0900)]
evas/gl_common: remove dead code.

9 years agoedje: use the right variable.
Cedric BAIL [Fri, 31 Oct 2014 09:45:28 +0000 (10:45 +0100)]
edje: use the right variable.

Thanks michelle_lg.

9 years agoeina: enhance doxygen in eina_magic.h
Tae-Hwan Kim [Fri, 31 Oct 2014 08:28:06 +0000 (09:28 +0100)]
eina: enhance doxygen in eina_magic.h

Summary:
Add @brief for brief description
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Add @see more
Add links for EINA_TRUE, EINA_FALSE, etc.
Fix indentation & Fix typeof
Use @p instead of @a for the consistency

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: group eina_sched
Tae-Hwan Kim [Fri, 31 Oct 2014 08:26:47 +0000 (09:26 +0100)]
eina: group eina_sched

Summary:
Schedule group is made for eina_sched_xxx.
It is grouped into Tools group.
Futher description is needed later.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: enhance doxgen for Eina_Trash
Tae-Hwan Kim [Fri, 31 Oct 2014 08:25:50 +0000 (09:25 +0100)]
eina: enhance doxgen for Eina_Trash

Summary:
Move doxygen comments from .x file to .h file

Basic rules are below:
Arrange grouping
Add @brief for brief description
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Add @see more
Add links for EINA_TRUE, EINA_FALSE, etc.
Fix indentation & Fix typeof
Use @p instead of @a for the consistency

Reviewers: raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: enhance doxygen in eina_prefix.h
Tae-Hwan Kim [Fri, 31 Oct 2014 08:24:35 +0000 (09:24 +0100)]
eina: enhance doxygen in eina_prefix.h

Summary:
Arrange grouping
 - Move Prefix group below Tools group
Add @brief for brief description
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Add @see more
Add links for EINA_TRUE, EINA_FALSE, etc.
Fix indentation & Fix typeof
Use @p instead of @a for the consistency

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje_calc: add null check.
Jaehwan Kim [Fri, 31 Oct 2014 06:15:39 +0000 (15:15 +0900)]
edje_calc: add null check.

9 years agoecore vsync - add debug and files to touch to disable vsync
Carsten Haitzler (Rasterman) [Fri, 31 Oct 2014 02:27:07 +0000 (11:27 +0900)]
ecore vsync - add debug and files to touch to disable vsync

this makes it just that much more convenient to disable the ecore x
vsync stuff in case you have troubles

9 years agoeina: clear up eina_tmpstr length information
Cedric BAIL [Fri, 31 Oct 2014 01:40:08 +0000 (02:40 +0100)]
eina: clear up eina_tmpstr length information

This @fix a potential wrong return value according to documentation and
improve consistency accross this API. This should fix T1775.

9 years agoecore-drm: Remove dead functions
Chris Michael [Thu, 30 Oct 2014 13:35:26 +0000 (09:35 -0400)]
ecore-drm: Remove dead functions

Summary: These functions were never exposed via API/Header, and never
used internally. Since drm gbm stuff is handled inside the gl_drm evas
engine now, we don't need this code here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove commented out dead functions
Chris Michael [Thu, 30 Oct 2014 13:34:34 +0000 (09:34 -0400)]
ecore-drm: Remove commented out dead functions

Summary: These functions were never exposed in the header, and were
also already commented out. This commit just removes the dead comments.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecoreidrm: Cleaned up unwanted code.
Srivardhan Hebbar [Thu, 30 Oct 2014 13:33:55 +0000 (09:33 -0400)]
ecoreidrm: Cleaned up unwanted code.

Summary: Cleaned up all unwanted code's in ecore_drm. This just
removes a bunch of already commented out code.

@fix

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: devilhorns

Subscribers: cedric

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

9 years agoEina: Fix eina_condition_timedwait once again
Jean-Philippe Andre [Thu, 30 Oct 2014 11:09:43 +0000 (20:09 +0900)]
Eina: Fix eina_condition_timedwait once again

Much confusion with this spaghetti code of #ifdefs and clocks.
So, we can't use CPU clocks for the timedwait, this doesn't make
sense (and it's explicit in the manpage, too).

But we can use CLOCK_MONOTONIC or CLOCK_MONOTONIC_RAW which are
much better than the wall clock (because of ntp updates, etc...)

The test case tests that the cond actually waited for as long as was
requested and for not too long either.

This is hopefully a final fix for T1701.

9 years agoEina file: Fix calls to getenv
Jean-Philippe Andre [Thu, 30 Oct 2014 09:23:49 +0000 (18:23 +0900)]
Eina file: Fix calls to getenv

There seems to be an intent to check that UID==EUID
before calling getenv to get the temp directory.
But that was lost in commits 61478af3a6c4f9263 and
then in e105abc99e717b84723ab35258375e27f17f8e82.

9 years agobuild: Print configure warning when trying --with-api=eo
Stefan Schmidt [Thu, 30 Oct 2014 08:14:48 +0000 (09:14 +0100)]
build: Print configure warning when trying --with-api=eo

Our code base simply do not work with the EO API alone right now. Leave the
option for testing but hide the knob to turn it on behind the beloved "I
know what I do" option.

Fixes T1558

9 years agoeina: enhance doxygen in eina_file.h
Tae-Hwan Kim [Thu, 30 Oct 2014 07:49:01 +0000 (08:49 +0100)]
eina: enhance doxygen in eina_file.h

Summary:
Arrange grouping
Add @brief for brief description
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Add @see more
Add links for EINA_TRUE, EINA_FALSE, etc.
Fix indentation & Fix typeof
Use @p instead of @a for the consistency

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: enhance doxygen in eina_mempool.h
Tae-Hwan Kim [Thu, 30 Oct 2014 07:47:25 +0000 (08:47 +0100)]
eina: enhance doxygen in eina_mempool.h

Summary:
Arrange grouping
Add @brief for brief description
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Add @see more
Add links for EINA_TRUE, EINA_FALSE, etc.
Fix indentation & Fix typeof
Use @p instead of @a for the consistency

Reviewers: raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: fix use of eina_tmpstr_del after eina_shutdown.
Cedric BAIL [Wed, 29 Oct 2014 23:36:49 +0000 (00:36 +0100)]
edje: fix use of eina_tmpstr_del after eina_shutdown.

atexit could call eina_tmpstr_del after the shutdown of eina leading
to the access of some random/garbage memory.

@fix

9 years agoeina: enhance doxygen in eina_lock.h
Tae-Hwan Kim [Wed, 29 Oct 2014 21:40:07 +0000 (22:40 +0100)]
eina: enhance doxygen in eina_lock.h

Summary:
Arrange grouping
Add @brief for brief description
Add @details for detailed description
Add @note for noted description
Add [in] & [out] for parameters
Add @see more
Add links for EINA_TRUE, EINA_FALSE, etc.
Fix indentation & Fix typeof

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>