platform/upstream/efl.git
9 years agoecore-drm: Fix ecore_drm_device_find function to use Eeze
Chris Michael [Tue, 23 Sep 2014 17:13:25 +0000 (13:13 -0400)]
ecore-drm: Fix ecore_drm_device_find function to use Eeze

Summary: This converts the internal code of ecore_drm_device_find
function to use Eeze function calls instead of udev in order to locate
the drm card.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove references to udev functions and init Eeze during
Chris Michael [Tue, 23 Sep 2014 14:34:00 +0000 (10:34 -0400)]
ecore-drm: Remove references to udev functions and init Eeze during
startup

Summary: This removes the variable & function calls to udev and adds
code to initialize/shutdown Eeze.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix comment to not mention udev
Chris Michael [Tue, 23 Sep 2014 13:06:17 +0000 (09:06 -0400)]
ecore-drm: Fix comment to not mention udev

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add Eeze as an internal dependency for ecore-drm
Chris Michael [Tue, 23 Sep 2014 13:04:56 +0000 (09:04 -0400)]
ecore-drm: Add Eeze as an internal dependency for ecore-drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove internal dependency on libudev
Chris Michael [Tue, 23 Sep 2014 13:04:37 +0000 (09:04 -0400)]
ecore-drm: Remove internal dependency on libudev

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove dependency on libudev for ecore-drm
Chris Michael [Tue, 23 Sep 2014 13:03:46 +0000 (09:03 -0400)]
ecore-drm: Remove dependency on libudev for ecore-drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add Eeze as a dependency for Ecore_Drm
Chris Michael [Tue, 23 Sep 2014 13:03:17 +0000 (09:03 -0400)]
ecore-drm: Add Eeze as a dependency for Ecore_Drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Move Eeze above Ecore_Drm
Chris Michael [Tue, 23 Sep 2014 13:02:28 +0000 (09:02 -0400)]
ecore-drm: Move Eeze above Ecore_Drm

Summary: Ecore_Drm is going to be using Eeze for udev functionality,
so we need to check for Eeze deps before Ecore_Drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add cases for backlight and leds in get_syspath_from_watch.
Chris Michael [Tue, 23 Sep 2014 19:26:30 +0000 (15:26 -0400)]
eeze: Add cases for backlight and leds in get_syspath_from_watch.

Summary: This adds support for backlight and leds devices for use with
an Eeze_Udev_Watch

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add cases for backlight and leds in eeze_udev_find_by_type
Chris Michael [Tue, 23 Sep 2014 19:25:29 +0000 (15:25 -0400)]
eeze: Add cases for backlight and leds in eeze_udev_find_by_type

Summary: Add code to find backlight and led devices inside
eeze_udev_find_by_type function. This will be used in Ecore-Drm to
find the backlight of an output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add Eeze udev types for backlight and leds
Chris Michael [Tue, 23 Sep 2014 19:20:14 +0000 (15:20 -0400)]
eeze: Add Eeze udev types for backlight and leds

Summary: Add additional types to Eeze udev device types for backlight
and leds. Ecore-Drm will use these types to locate the backlight in
order to support setting/getting the backlight level on an output.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-evas-drm: Fix calling ecore_drm_device_find twice in some cases
Chris Michael [Tue, 23 Sep 2014 19:09:47 +0000 (15:09 -0400)]
ecore-evas-drm: Fix calling ecore_drm_device_find twice in some cases

Summary: If no device name was passed in to ecore_drm_device_find
function, then if we fail to find the default drm device on the first
call, there is No point in calling the same function again to get the
same result.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Fix issue with eeze_udev_find_by_type not finding devices when
Chris Michael [Tue, 23 Sep 2014 18:58:37 +0000 (14:58 -0400)]
eeze: Fix issue with eeze_udev_find_by_type not finding devices when
name is NULL.

Summary: This was totally wrong !! eeze_udev_find_by_type can be
passed EEZE_UDEV_TYPE_NONE to list all devices and it can also be
passed name == NULL to find All devices listed of a certain type. To
check for !etype && !name is just plain Wrong !! We have checks below
for a valid name (and then do a comparison).

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agorename eina_value_util_timestamp_new -> eina_value_util_time_string_new
Mike Blumenkrantz [Tue, 23 Sep 2014 18:57:10 +0000 (14:57 -0400)]
rename eina_value_util_timestamp_new -> eina_value_util_time_string_new

9 years ago+eina_value_util api
Mike Blumenkrantz [Tue, 23 Sep 2014 18:37:48 +0000 (14:37 -0400)]
+eina_value_util api

merged from maelstrom/azy. commonly used functionality for eina_value with _util_ namespace to make them easier to find in the value header nightmare

@feature

9 years agoeeze: Fix return value for eeze_udev_syspath_get_sysnum
Chris Michael [Tue, 23 Sep 2014 17:04:57 +0000 (13:04 -0400)]
eeze: Fix return value for eeze_udev_syspath_get_sysnum

Summary: oopsie !! Big fat copy/paste error :( This fixes the return
value for the eeze_udev_syspath_get_sysnum function

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add code for eeze_udev_syspath_get_sysnum function
Chris Michael [Tue, 23 Sep 2014 16:59:54 +0000 (12:59 -0400)]
eeze: Add code for eeze_udev_syspath_get_sysnum function

Summary: This adds an API function to return the sysnum of a device
based on syspath. This is needed in ecore-drm to return the id
(sysnum) of a drm device.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add eeze_udev_syspath_get_synum function
Chris Michael [Tue, 23 Sep 2014 16:51:23 +0000 (12:51 -0400)]
eeze: Add eeze_udev_syspath_get_synum function

Summary: This adds an API declaration for getting the sysnum of a
device from the syspath. This is needed in the ecore-drm code to fetch
the id of a device.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoedje: fix borked edje_external.
Cedric BAIL [Tue, 23 Sep 2014 16:03:02 +0000 (18:03 +0200)]
edje: fix borked edje_external.

Someone fixed a CID without looking of the full use path a data, resulting
in a value being used after free and stored in edje file. Leading to a garbage
string with no meaning for those poor externals.

9 years agoeina: do no use umask on Windows in eina_file_mkstemp()
Vincent Torri [Tue, 23 Sep 2014 13:44:05 +0000 (15:44 +0200)]
eina: do no use umask on Windows in eina_file_mkstemp()

umask() sets the permissions of the file to read-only on Windows
(see umask documentation on MSDN).
This breaks the creation of .edj file (epp needs to modify the
created file).
Anyway, on Windows, permissions should be given to anybody.

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoMerge branch 'devs/devilhorns/eeze'
Chris Michael [Tue, 23 Sep 2014 14:04:53 +0000 (10:04 -0400)]
Merge branch 'devs/devilhorns/eeze'

eeze: Add ability for Eeze to find DRM cards

Ecore-Drm is going to use Eeze (instead of udev directly) to locate
drm cards and other inputs. As such, I needed the ability (inside
Eeze) to locate devices based on the drm subsystem. This merge adds
code to handle that.

@feature

9 years agoeeze: Add ability to get syspath from a watch for DRM
Chris Michael [Tue, 23 Sep 2014 13:57:20 +0000 (09:57 -0400)]
eeze: Add ability to get syspath from a watch for DRM

Summary: This adds the EEZE_UDEV_TYPE_DRM to the switch for
_get_syspath_from_watch.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add case for EEZE_UDEV_TYPE_DRM in eeze_udev_find_by_type function
Chris Michael [Tue, 23 Sep 2014 13:56:12 +0000 (09:56 -0400)]
eeze: Add case for EEZE_UDEV_TYPE_DRM in eeze_udev_find_by_type function

Summary: This adds the ability to find drm cards using
eeze_udev_find_by_type function.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoeeze: Add missing drm subsystem & device type and add a new
Chris Michael [Tue, 23 Sep 2014 13:27:53 +0000 (09:27 -0400)]
eeze: Add missing drm subsystem & device type and add a new
Eeze_Udev_Type for drm

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEo do: simplify eo_do macro.
Tom Hacohen [Tue, 23 Sep 2014 13:36:18 +0000 (14:36 +0100)]
Eo do: simplify eo_do macro.

This moves the mainloop check inside the function. There was never need
for it to be in client code (i.e a header/macro).
This is better suited inside eo_do_start because this is a macro some
bindings have to re-implement, and we definitely don't want it to be any
more complicated than it has to be.

This breaks ABI and makes elm 1.12 depend on efl 1.11. This is not an issue
as because of eolian and interfaces it's already the case.

9 years agoecore-drm: Fix minor formatting issue
Chris Michael [Tue, 23 Sep 2014 12:29:45 +0000 (08:29 -0400)]
ecore-drm: Fix minor formatting issue

NB: No functional changes

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoEcore_drm: Added initial support for backlight in ecore_drm module
vivek [Tue, 23 Sep 2014 12:28:08 +0000 (08:28 -0400)]
Ecore_drm: Added initial support for backlight in ecore_drm module

Summary:
Added initial support for backlight in drm by adding various structures
and provided api for initializing the backlight struct.

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

Subscribers: stefan_schmidt, cedric

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

9 years agoefl - vsync - deal with both broken and non-broken libdrm
Carsten Haitzler (Rasterman) [Tue, 23 Sep 2014 12:31:54 +0000 (21:31 +0900)]
efl - vsync - deal with both broken and non-broken libdrm

@fix

9 years agoevas/engines: avoid redefinition of typedef Outbuf
Jérémy Zurcher [Tue, 23 Sep 2014 09:15:11 +0000 (11:15 +0200)]
evas/engines: avoid redefinition of typedef Outbuf

'typedef struct _Outbuf Outbuf' is in software_generic/Evas_Engine_Software_Generic.h
that is always included

9 years agoRevert "edje: prevent resource leak."
Amitesh Singh [Tue, 23 Sep 2014 09:06:16 +0000 (11:06 +0200)]
Revert "edje: prevent resource leak."

Summary:
This reverts commit f6eb1f17a1b34b2f2fb49feb09bb03a8263be56f.

This will result into failure of edc compilation with recursive use of include.

Reviewers: cedric, raster, seoz

Reviewed By: seoz

Subscribers: chinmaya061, cedric, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian: silence uninitialized var in goto end branch
Jérémy Zurcher [Tue, 23 Sep 2014 08:56:57 +0000 (10:56 +0200)]
eolian: silence uninitialized var in goto end branch

9 years agoeo: call stack depth is 1024
Jérémy Zurcher [Tue, 23 Sep 2014 08:51:05 +0000 (10:51 +0200)]
eo: call stack depth is 1024

9 years agoeo: call stack can grow/shrink when not using mmap
Jérémy Zurcher [Tue, 23 Sep 2014 08:47:24 +0000 (10:47 +0200)]
eo: call stack can grow/shrink when not using mmap

- if HAVE_MMAP call stack do not shrink and abort() when should grow
- otherwise it's a growing/shrinking stack using realloc

9 years agoeo: remove stack->max_size
Jérémy Zurcher [Tue, 23 Sep 2014 08:43:36 +0000 (10:43 +0200)]
eo: remove stack->max_size

- define EO_CALL_STACK_SIZE instead of stack->max_size
- we are talking about size here not maxsize

9 years agoeo: remove XXX, it's ok now ...
Jérémy Zurcher [Tue, 23 Sep 2014 08:41:13 +0000 (10:41 +0200)]
eo: remove XXX, it's ok now ...

9 years agoeo: unify error msgs
Jérémy Zurcher [Tue, 23 Sep 2014 08:29:44 +0000 (10:29 +0200)]
eo: unify error msgs

9 years agoeo: call stack remove stack->dropcount
Jérémy Zurcher [Tue, 23 Sep 2014 08:26:33 +0000 (10:26 +0200)]
eo: call stack remove stack->dropcount

stack->shrink_frame does the same but more efficiently
change the value of EO_CALL_STACK_SHRINK_DROP if needed

9 years agoeo: fix call stack shrink_frame
Jérémy Zurcher [Tue, 23 Sep 2014 08:24:06 +0000 (10:24 +0200)]
eo: fix call stack shrink_frame

- do never shrink under EO_CALL_STACK_DEPTH_MIN size
- set shrink_frame at (current_size/2) - EO_CALL_STACK_SHRINK_OFFSET

9 years agoeo: remove FIXME: Thread Local Storage
Jérémy Zurcher [Tue, 23 Sep 2014 08:21:26 +0000 (10:21 +0200)]
eo: remove FIXME: Thread Local Storage

done in d39d7050

9 years agoAdd example code of ecore_imf_context_bidi_direction_set in ecore_imf_example
Jihoon Kim [Tue, 23 Sep 2014 01:20:49 +0000 (10:20 +0900)]
Add example code of ecore_imf_context_bidi_direction_set in ecore_imf_example

9 years agoecore_imf: Add ecore_imf_context_bidi_direction_set/get API
Jihoon Kim [Tue, 23 Sep 2014 01:18:35 +0000 (10:18 +0900)]
ecore_imf: Add ecore_imf_context_bidi_direction_set/get API

Some Input Methods want to know the bidi direction (LTR/RTL) at the current cursor position.

9 years agoMerge branch 'devs/devilhorns/ecore_drm'
Chris Michael [Mon, 22 Sep 2014 20:04:20 +0000 (16:04 -0400)]
Merge branch 'devs/devilhorns/ecore_drm'

ecore-drm: Merge rewrite of ecore-drm input/dbus handling to use
Eldbus library.

Previous ecore-drm code relied on dbus itself. This changes the code
(internally) to rely on Eldbus library and thus makes ecore-drm input
handling asynchronous.

@fix

9 years agoecore-drm: Rework internal dbus code to use Eldbus
Chris Michael [Mon, 22 Sep 2014 19:57:12 +0000 (15:57 -0400)]
ecore-drm: Rework internal dbus code to use Eldbus

Summary: This changes all of our internal dbus code for ecore-drm to
work with async Eldbus calls. This adds a potential delay to startup
in that input devices may not be immediately available for use, but is
unavoidable due to Eldbus not having a dbus function call to block for
a reply.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Rework input code to function with Eldbus
Chris Michael [Mon, 22 Sep 2014 19:54:37 +0000 (15:54 -0400)]
ecore-drm: Rework input code to function with Eldbus

Summary: Eldbus runs async so we needed to rework the internal input
code to function with it. This commit changes the iternal code to
issue a device open, and then wait for Eldbus to return us a callback
from the proxy that the device open is finished. This Does add a delay
during startup (which means devices will not always be immediately
ready for use) but thus is the nature of Eldbus.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix some error/warn message formatting
Chris Michael [Mon, 22 Sep 2014 19:44:50 +0000 (15:44 -0400)]
ecore-drm: Fix some error/warn message formatting

NB: Nothing functional here, just alignment of error messages in output.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix private function prototypes for new dbus functions
Chris Michael [Mon, 22 Sep 2014 19:43:37 +0000 (15:43 -0400)]
ecore-drm: Fix private function prototypes for new dbus functions

Summary: In porting Ecore_Drm to use Eldbus, I had to change some
internal functions to work with the async nature of Eldbus. As a
result, I had to modify some private local functions.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Include config.h in private header
Chris Michael [Thu, 18 Sep 2014 15:39:29 +0000 (11:39 -0400)]
ecore-drm: Include config.h in private header

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add Eldbus header to private header file
Chris Michael [Thu, 18 Sep 2014 15:35:20 +0000 (11:35 -0400)]
ecore-drm: Add Eldbus header to private header file

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add Eldbus as a dependency for ecore-drm
Chris Michael [Thu, 18 Sep 2014 15:32:37 +0000 (11:32 -0400)]
ecore-drm: Add Eldbus as a dependency for ecore-drm

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove direct dbus dependency from Ecore_Drm
Chris Michael [Thu, 18 Sep 2014 15:31:37 +0000 (11:31 -0400)]
ecore-drm: Remove direct dbus dependency from Ecore_Drm

Sumary: Ecore_Drm will be using Eldbus library now, so remove dbus-1
dependency

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoefl: Move Eldbus above Ecore_Drm
Chris Michael [Thu, 18 Sep 2014 15:30:56 +0000 (11:30 -0400)]
efl: Move Eldbus above Ecore_Drm

Sumary: Ecore_Drm will use Eldbus library for dbus functionality, so
we need to check for Eldbus first before Ecore_Drm

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore_x: No need to free NULL value.
Amitesh Singh [Mon, 22 Sep 2014 17:42:36 +0000 (13:42 -0400)]
ecore_x: No need to free NULL value.

NB: This reintroduces the Coverity Resouce Leak detected with CID1039276

Summary:
When ecore_x_window_prop_property_get returns 0, data is already NULL hence
no need to free NULL value. This fault was introduced in 45a2296218b0f297
while fixing coverity defects.

Reviewers: seoz, cedric, raster, devilhorns

Subscribers: cedric, seoz

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

9 years agoAdd missing cmake config for efl libs.
Tom Hacohen [Mon, 22 Sep 2014 15:08:21 +0000 (16:08 +0100)]
Add missing cmake config for efl libs.

9 years agoepp: fix memory leak.
Amitesh Singh [Mon, 22 Sep 2014 12:52:10 +0000 (14:52 +0200)]
epp: fix memory leak.

Reviewers: cedric, seoz

Subscribers: cedric, seoz

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit - get the buffer with sound's data
Igor Gala [Mon, 22 Sep 2014 12:24:32 +0000 (14:24 +0200)]
edje: Edje_Edit - get the buffer with sound's data

Summary:
add opportunity get the buffer with sound data for certain sound
from the given edje object. It is needed to play some sound with logic API.
@feature

Reviewers: Hermet, raster, seoz, reutskiy.v.v, NikaWhite, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: Gl_Cocoa - fix early segfault caused by unloaded symbols
Jean Guyomarc'h [Mon, 22 Sep 2014 12:20:31 +0000 (14:20 +0200)]
evas: Gl_Cocoa - fix early segfault caused by unloaded symbols

Summary:
evas_gl_symbols() (introduced in commit 9a9d78d) was not dlsym()ed
which led to unloaded symbols, so NULL function pointers which were happily
dereferenced, leading to an early segfault, and therefore to a broken engine.

@fix

Reviewers: cedric, raoulh

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: Remove TODO, add code to delete the modules array
kabeer khan [Mon, 22 Sep 2014 12:17:26 +0000 (14:17 +0200)]
eina: Remove TODO, add code to delete the modules array

Summary:
As mentioned in TODO in eina_bench.c I added the code to loop through _modules array and delete each item.:

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: cedric, raster

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeina: add test cases for Eina_Trash
kabeer khan [Mon, 22 Sep 2014 12:16:00 +0000 (14:16 +0200)]
eina: add test cases for Eina_Trash

Summary:
New test case for Eina_Trash was added

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>
Reviewers: raster, cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit: fixing text properties setting
Andrii Kroitor [Mon, 22 Sep 2014 12:14:41 +0000 (14:14 +0200)]
edje: Edje_Edit: fixing text properties setting

Summary:
edje_edit_state_text_source_set shouldn't replace existing text.
edje_edit_state_text_set should update text in other parts, that are using given part as text.text_source

Reviewers: seoz, Hermet, cedric

Reviewed By: cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: Edje_Edit: add missing part type checks
Andrii Kroitor [Mon, 22 Sep 2014 12:13:17 +0000 (14:13 +0200)]
edje: Edje_Edit: add missing part type checks

Summary: added necessary type checks before using typedata

Reviewers: seoz, Hermet, cedric

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: fix resourse leak in epp.
Anand [Mon, 22 Sep 2014 12:12:02 +0000 (14:12 +0200)]
edje: fix resourse leak in epp.

Summary: Variable prefix going out of scope leaks the storage it points to.

Reviewers: seoz, singh.amitesh, cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoeolian: stringshare del note in 2 more functions
Daniel Kolesa [Mon, 22 Sep 2014 12:19:50 +0000 (13:19 +0100)]
eolian: stringshare del note in 2 more functions

9 years agoeolian: update docs
Daniel Kolesa [Mon, 22 Sep 2014 12:16:57 +0000 (13:16 +0100)]
eolian: update docs

9 years agoeolian: remove some unused funcs
Daniel Kolesa [Mon, 22 Sep 2014 11:47:30 +0000 (12:47 +0100)]
eolian: remove some unused funcs

9 years agoedje_program: added signal "focus,part,out" when focus is discarded
Andrii Kroitor [Mon, 22 Sep 2014 04:51:41 +0000 (13:51 +0900)]
edje_program: added signal "focus,part,out" when focus is discarded

Summary: @fix

Reviewers: cedric, seoz, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

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

9 years agoedje_edit: added missing funcion declaration
Andrii Kroitor [Mon, 22 Sep 2014 01:55:27 +0000 (10:55 +0900)]
edje_edit: added missing funcion declaration

Summary:
added edje_edit_program_filter_state_get and
edje_edit_program_filter_state_set to header

Reviewers: seoz, cedric, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

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

9 years agodoc: Add footer to display project version and copyright
Stefan Schmidt [Fri, 19 Sep 2014 13:55:18 +0000 (15:55 +0200)]
doc: Add footer to display project version and copyright

Like we do in Elementary already.

9 years agodocs: Sync foooter css style from Elementary
Stefan Schmidt [Fri, 19 Sep 2014 13:48:12 +0000 (15:48 +0200)]
docs: Sync foooter css style from Elementary

9 years agodocs: Add eolian and eina c++ pages to main docs page
Stefan Schmidt [Fri, 19 Sep 2014 13:25:25 +0000 (15:25 +0200)]
docs: Add eolian and eina c++ pages to main docs page

Make sure these are marked as BETA as we don't guarantee API for these just now.

9 years agodocs/eolian: Add main landing page for Eolian documentation
Stefan Schmidt [Fri, 19 Sep 2014 13:24:58 +0000 (15:24 +0200)]
docs/eolian: Add main landing page for Eolian documentation

9 years agodocs/eina_cxx: Add main landing page for Eina C++ documentation
Stefan Schmidt [Fri, 19 Sep 2014 13:23:51 +0000 (15:23 +0200)]
docs/eina_cxx: Add main landing page for Eina C++ documentation

9 years agodocs: Correct D-Bus spelling
Stefan Schmidt [Fri, 19 Sep 2014 12:13:30 +0000 (14:13 +0200)]
docs: Correct D-Bus spelling

9 years agoEcore_Wayland: Raise a event when data source target accepts events
vivek [Fri, 19 Sep 2014 13:04:49 +0000 (09:04 -0400)]
Ecore_Wayland: Raise a event when data source target accepts events

Summary:
   1) Added data source target struct for target event
   2) Raise a event when data source target accepts pointer focus or
      motion events

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

Subscribers: cedric

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

9 years agoEcore_Wayland: Raise a event when data source cancelled
vivek [Fri, 19 Sep 2014 12:42:49 +0000 (08:42 -0400)]
Ecore_Wayland: Raise a event when data source cancelled

Summary:
  1) Created a event struct for data source cancel event
  2) Raise a event when data source is cancelled

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

Subscribers: cedric

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

9 years agoEvas filters: Fix parsing of argument lists
Jean-Philippe ANDRE [Thu, 18 Sep 2014 07:11:46 +0000 (16:11 +0900)]
Evas filters: Fix parsing of argument lists

Make check would even fail on 32bit machines because of that:
Lua tables are not arrays and lua_next doesn't ensure the order
of the elements as I wrongly assumed.

@fix
Fixes T1615

9 years agoEvas: Directly load ETC2 and ETC1+Alpha formats from Eet
Jean-Philippe Andre [Fri, 8 Aug 2014 04:46:22 +0000 (13:46 +0900)]
Evas: Directly load ETC2 and ETC1+Alpha formats from Eet

When loading those formats from an Eet file, software fallback was
always happening.

9 years agoEvas DDS: Silently fail when the format is not DDS
Jean-Philippe Andre [Thu, 24 Jul 2014 06:21:16 +0000 (15:21 +0900)]
Evas DDS: Silently fail when the format is not DDS

Evas can try all image loaders sequentially and they shouldn't
complain that the file does not match their format.

9 years agoEvas GLX: Simplify code
Jean-Philippe Andre [Thu, 17 Jul 2014 05:35:49 +0000 (14:35 +0900)]
Evas GLX: Simplify code

if (A) then B else B

9 years agoecore_con: Fix error goto, scope data should not be freed
Marcel Hollerbach [Fri, 19 Sep 2014 01:16:37 +0000 (02:16 +0100)]
ecore_con: Fix error goto, scope data should not be freed

Summary:
If the function jumpes to the error, the scope data is freed, this is
wrong, just the object should be destroyed, so not free, just eo_unref
the object. Cause the object is just added above the object ref count
should get 0 and obj will get removed

Test Plan: Use the ecore_con_server_client_limit_set function and set the max count to 1, at the connect of a second client the server will fail at this free.

Reviewers: tasn

Subscribers: cedric

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

9 years agoecore-wayland: Don't crash if we have no shm interface yet when
Chris Michael [Thu, 18 Sep 2014 15:57:24 +0000 (11:57 -0400)]
ecore-wayland: Don't crash if we have no shm interface yet when
setting cursor theme

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Allow setting input->cursor_size even if we don't have
Chris Michael [Thu, 18 Sep 2014 15:56:41 +0000 (11:56 -0400)]
ecore-wayland: Allow setting input->cursor_size even if we don't have
the shm interface yet

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland should not cause crashes when setting cursor size if display shm is...
Mike Blumenkrantz [Thu, 18 Sep 2014 15:49:36 +0000 (11:49 -0400)]
ecore-wayland should not cause crashes when setting cursor size if display shm is not yet acquired

crash added in c01c8456fecbf979ce0d4a91d6291a93e56486c8

9 years agoecore_wayland: Added goto in ecore_init for exit to reduce repetition of code.
Srivardhan Hebbar [Thu, 18 Sep 2014 15:03:26 +0000 (11:03 -0400)]
ecore_wayland: Added goto in ecore_init for exit to reduce repetition of code.

Summary:
Instead of repeating the clean-up code if any initialization fails in the init function, I've moved those to one location and added goto.

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

Subscribers: cedric

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

9 years agoecore_wayland: Added cursor_theme_name in Ecore_Wl_input.
Srivardhan Hebbar [Thu, 18 Sep 2014 14:52:29 +0000 (10:52 -0400)]
ecore_wayland: Added cursor_theme_name in Ecore_Wl_input.

Summary:
1. Added cursor_theme_name to Ecore_Wl_Input struct.
2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_THEME_NAME.
3. Added a API ecore_wl_cursor_theme_name_set for user to set manually.

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

Subscribers: cedric

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

9 years agoEvas: Fix crash in hide
Sebastian Dransfeld [Thu, 18 Sep 2014 08:44:18 +0000 (10:44 +0200)]
Evas: Fix crash in hide

During E shutdown I often get a crash here, so check if we have an evas.

@fix

9 years agoefreet: Store known desktop environments
Sebastian Dransfeld [Thu, 18 Sep 2014 07:23:00 +0000 (09:23 +0200)]
efreet: Store known desktop environments

9 years agoecore-con: Fixed header to allow compilation in C++.
Savio Sena [Thu, 18 Sep 2014 06:05:47 +0000 (07:05 +0100)]
ecore-con: Fixed header to allow compilation in C++.

Summary: C++ takes the second typedef as redefinition and yields errors.

Reviewers: zmike, tasn

Reviewed By: tasn

Subscribers: larry, cedric, felipealmeida

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

9 years agoexamples: Change EINA_TRUE/FALSE to ECORE_CALLBACK_RENEW/CANCEL
WooHyun Jung [Thu, 18 Sep 2014 04:30:07 +0000 (13:30 +0900)]
examples: Change EINA_TRUE/FALSE to ECORE_CALLBACK_RENEW/CANCEL

9 years agoautotools: Removed undefined variable from Makefile_Efl.am.
Savio Sena [Wed, 17 Sep 2014 18:59:19 +0000 (15:59 -0300)]
autotools: Removed undefined variable from Makefile_Efl.am.

Variable 'efleolianfiles_DATA' used before definition.

9 years agoecore-wayland; Fix formatting
Chris Michael [Wed, 17 Sep 2014 13:17:03 +0000 (09:17 -0400)]
ecore-wayland; Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Fix formatting
Chris Michael [Wed, 17 Sep 2014 13:14:39 +0000 (09:14 -0400)]
ecore-wayland: Fix formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore_wayland: Added cursor_size in Ecore_Wl_Input.
Srivardhan Hebbar [Wed, 17 Sep 2014 13:11:46 +0000 (09:11 -0400)]
ecore_wayland: Added cursor_size in Ecore_Wl_Input.

Summary:
1. Added cursor_size to Ecore_Wl_Input struct.
2. Made it configurable through environment variable ECORE_WL_INPUT_CURSOR_SIZE.
3. Added a API ecore_wl_input_cursor_size_set for user to set manually.

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

Subscribers: cedric

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

Conflicts:
src/lib/ecore_wayland/ecore_wl_private.h

9 years agoecore-wayland: Move external variable below structure
Chris Michael [Wed, 17 Sep 2014 12:05:42 +0000 (08:05 -0400)]
ecore-wayland: Move external variable below structure

This commit moves the typedef struct to just above the structure, and
moves the external variable below the structure definition. No real
functional changes, just some cleanup.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-wayland: Moving Ecore_Wl_Display to private.
Srivardhan Hebbar [Wed, 17 Sep 2014 12:04:40 +0000 (08:04 -0400)]
ecore-wayland: Moving Ecore_Wl_Display to private.

Summary:
Moving "typedef _Ecore_Wl_Display Ecore_Wl_Display" from Ecore_Wayland.h to ecore_wl_private.h.

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

Subscribers: cedric

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

9 years agoeolian-cxx: Remove warnings during release compilation.
Savio Sena [Tue, 16 Sep 2014 21:16:56 +0000 (18:16 -0300)]
eolian-cxx: Remove warnings during release compilation.

9 years agoeolian: initialize property type correctly
Daniel Kolesa [Tue, 16 Sep 2014 14:10:22 +0000 (17:10 +0300)]
eolian: initialize property type correctly

9 years agoecore: silent pointless warning when not having epoll
Jean Guyomarc'h [Tue, 16 Sep 2014 10:11:59 +0000 (12:11 +0200)]
ecore: silent pointless warning when not having epoll

Reviewers: cedric, raster

Subscribers: cedric

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

9 years agogitignores: ignore efl-cxx.pc
Jean Guyomarc'h [Tue, 16 Sep 2014 09:45:27 +0000 (11:45 +0200)]
gitignores: ignore efl-cxx.pc

Reviewers: cedric

Subscribers: cedric

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

9 years agoecore-evas: Add missing opengl_drm engine in available engine list
Gwanglim Lee [Tue, 16 Sep 2014 09:21:28 +0000 (11:21 +0200)]
ecore-evas: Add missing opengl_drm engine in available engine list

Summary:
This adds opengl_drm to the list of ecore-evas available engines.
Now, we can test opengl_drm engine using expedite.

Test Plan: run expedite with opengl_drm option

Reviewers: devilhorns, stefan_schmidt, cedric, raster

Subscribers: cedric

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

9 years agoevas/gl_drm: Remove drm own_fd handling from gl_drm engine
Gwanglim Lee [Tue, 16 Sep 2014 09:17:38 +0000 (11:17 +0200)]
evas/gl_drm: Remove drm own_fd handling from gl_drm engine

Summary:
These are obsolete codes because evas engines no longer
has a use case for handling the drm file descriptor. And also it
is the same change as what Stefan Schmidt did to evas_drm.

Test Plan: N/A

Reviewers: devilhorns, stefan_schmidt, cedric, raster

Subscribers: cedric

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