platform/upstream/efl.git
8 years agoEvas box: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:33:32 +0000 (14:33 +0000)]
Evas box: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl gfx shape: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:25:15 +0000 (14:25 +0000)]
Efl gfx shape: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl gfx gradient: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:20:15 +0000 (14:20 +0000)]
Efl gfx gradient: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl gfx spread: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:15:41 +0000 (14:15 +0000)]
Efl gfx spread: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEio model: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:05:50 +0000 (14:05 +0000)]
Eio model: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEcore poller: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 14:00:46 +0000 (14:00 +0000)]
Ecore poller: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEcore eolian: Ignore callback prototypes for now.
Tom Hacohen [Tue, 16 Feb 2016 13:55:20 +0000 (13:55 +0000)]
Ecore eolian: Ignore callback prototypes for now.

We don't plan on handling function pointers in Eolian.
Fixing these is work for the future, in the meanwhile, we should just work
around these.

8 years agoEfl tests: Major test rework
Tom Hacohen [Tue, 16 Feb 2016 13:09:10 +0000 (13:09 +0000)]
Efl tests: Major test rework

This is a merge commit of a branch by vtorri to rework all the test
infrastructure.

Closes D3654

8 years agoEfl tests: Fix running of tests.
Tom Hacohen [Tue, 16 Feb 2016 13:03:20 +0000 (13:03 +0000)]
Efl tests: Fix running of tests.

8 years agoEfl tests: Fix dangerous coding style.
Tom Hacohen [Tue, 16 Feb 2016 13:01:00 +0000 (13:01 +0000)]
Efl tests: Fix dangerous coding style.

8 years agoEeze test: Fix eeze test compilation.
Tom Hacohen [Tue, 16 Feb 2016 12:54:29 +0000 (12:54 +0000)]
Eeze test: Fix eeze test compilation.

8 years agoAdd efl_check.h to eina unit test files as Eina is mandatory
Vincent Torri [Thu, 4 Feb 2016 14:27:32 +0000 (15:27 +0100)]
Add efl_check.h to eina unit test files as Eina is mandatory

8 years agoTest rework
Vincent Torri [Thu, 4 Feb 2016 14:12:34 +0000 (15:12 +0100)]
Test rework

Summary:
Factorisation of the infra
make uniform all the tests

Test rework #1: Ecore

Test rework #2: Ecore_Con

Test rework #3: Ecore_Cxx

Test rework #4: Ector

Test rework #5: Edje

Test rework #6: Eet

This one is big: I had to split the huge eet_suite.c into separate test files
and it needs more review

Test rework #7: Eet_Cxx

Test rework #8: Eeze

eeze_suite.c has also been splitted

Test rework #9: Efreet

this efreet test suite needs more love later

Test rework #10: Eina

mainly minor stuff: whitespaces, order of includes, ... Just don't fear the number
of changed files :-)

Test rework #11: Eina_Cxx

Test rework #12: Eio

Test rework #13: ElDbus

Test rework #14: ElDbus_Cxx

Test rework #15: Elua

Test rework #16: Emile

Test rework #17: Eo

I've only touched the suite/ subdir. Maybe we should merege the others into
the test suite in suite/

Test rework #18: Eolian

Test rework #19: Eolian_Cxx

Test rework #20: Evas

Test rework #21: Evil

Test Plan: make check

Reviewers: cedric, jpeg, tasn

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

8 years agoTest rework #20: Evas
Vincent Torri [Thu, 4 Feb 2016 14:11:52 +0000 (15:11 +0100)]
Test rework #20: Evas

8 years agoTest rework #19: Eolian_Cxx
Vincent Torri [Thu, 4 Feb 2016 14:10:11 +0000 (15:10 +0100)]
Test rework #19: Eolian_Cxx

8 years agoTest rework #18: Eolian
Vincent Torri [Thu, 4 Feb 2016 14:04:45 +0000 (15:04 +0100)]
Test rework #18: Eolian

8 years agoTest rework #17: Eo
Vincent Torri [Thu, 4 Feb 2016 14:02:57 +0000 (15:02 +0100)]
Test rework #17: Eo

I've only touched the suite/ subdir. Maybe we should merege the others into
the test suite in suite/

8 years agoTest rework #16: Emile
Vincent Torri [Thu, 4 Feb 2016 13:59:36 +0000 (14:59 +0100)]
Test rework #16: Emile

8 years agoTest rework #15: Elua
Vincent Torri [Thu, 4 Feb 2016 13:57:14 +0000 (14:57 +0100)]
Test rework #15: Elua

8 years agoTest rework #14: ElDbus_Cxx
Vincent Torri [Thu, 4 Feb 2016 13:55:35 +0000 (14:55 +0100)]
Test rework #14: ElDbus_Cxx

8 years agoTest rework #13: ElDbus
Vincent Torri [Thu, 4 Feb 2016 13:52:49 +0000 (14:52 +0100)]
Test rework #13: ElDbus

8 years agoTest rework #12: Eio
Vincent Torri [Thu, 4 Feb 2016 13:51:07 +0000 (14:51 +0100)]
Test rework #12: Eio

8 years agoTest rework #11: Eina_Cxx
Vincent Torri [Thu, 4 Feb 2016 13:49:18 +0000 (14:49 +0100)]
Test rework #11: Eina_Cxx

8 years agoTest rework #10: Eina
Vincent Torri [Thu, 4 Feb 2016 13:44:58 +0000 (14:44 +0100)]
Test rework #10: Eina

mainly minor stuff: whitespaces, order of includes, ... Just don't fear the number
of changed files :-)

8 years agoTest rework #9: Efreet
Vincent Torri [Thu, 4 Feb 2016 13:42:13 +0000 (14:42 +0100)]
Test rework #9: Efreet

this efreet test suite needs more love later

8 years agoTest rework #7: Eeze
Vincent Torri [Thu, 4 Feb 2016 13:35:53 +0000 (14:35 +0100)]
Test rework #7: Eeze

eeze_suite.c has also been splitted

8 years agoTest rework #6: Eet_Cxx
Vincent Torri [Thu, 4 Feb 2016 13:32:36 +0000 (14:32 +0100)]
Test rework #6: Eet_Cxx

8 years agoTest rework #6: Eet
Vincent Torri [Thu, 4 Feb 2016 13:29:22 +0000 (14:29 +0100)]
Test rework #6: Eet

This one is big: I had to split the huge eet_suite.c into separate test files
and it needs more review

8 years agoTest rework #5: Edje
Vincent Torri [Thu, 4 Feb 2016 13:21:44 +0000 (14:21 +0100)]
Test rework #5: Edje

8 years agoTest rework #4: Ector
Vincent Torri [Thu, 4 Feb 2016 13:20:04 +0000 (14:20 +0100)]
Test rework #4: Ector

8 years agoTest rework #3: Ecore_Cxx
Vincent Torri [Thu, 4 Feb 2016 13:17:31 +0000 (14:17 +0100)]
Test rework #3: Ecore_Cxx

8 years agoTest rework #2: Ecore_Con
Vincent Torri [Thu, 4 Feb 2016 13:12:28 +0000 (14:12 +0100)]
Test rework #2: Ecore_Con

8 years agoTest rework #1: Ecore
Vincent Torri [Thu, 4 Feb 2016 13:05:17 +0000 (14:05 +0100)]
Test rework #1: Ecore

Factorisation of the infra
make uniform all the tests

8 years agoEvas out: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 10:06:46 +0000 (10:06 +0000)]
Evas out: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEcore con base: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 10:02:10 +0000 (10:02 +0000)]
Ecore con base: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEvas ector buffer: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 09:48:22 +0000 (09:48 +0000)]
Evas ector buffer: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEvas vg: Fix Eolian warnings.
Tom Hacohen [Tue, 16 Feb 2016 09:45:47 +0000 (09:45 +0000)]
Evas vg: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEdje cc: Fix shadow warnings.
Tom Hacohen [Tue, 16 Feb 2016 09:38:36 +0000 (09:38 +0000)]
Edje cc: Fix shadow warnings.

8 years agoEfl vg: Use correct types in eolian file.
Tom Hacohen [Tue, 16 Feb 2016 09:35:22 +0000 (09:35 +0000)]
Efl vg: Use correct types in eolian file.

8 years agoecore-drm: Make ecore_drm_output_rotation_set fail properly
Duna Oh [Mon, 15 Feb 2016 13:44:55 +0000 (08:44 -0500)]
ecore-drm: Make ecore_drm_output_rotation_set fail properly

When trying to set a rotation on a given output, we would previously
always be returning EINA_TRUE. We should be returning EINA_FALSE when
the rotation_set fails.

@fix

Summary: ecore_drm_output_rotation_set should be returning EINA_FALSE when the output doesn't have a plane of requested type.

Test Plan:
1. call ecore_drm_output_rotation_set() with ECORE_DRM_PLANE_TYPE_CURSOR
2. If output doesn't have a plane of ECORE_DRM_PLANE_TYPE_CURSOR, the for statement does nothing. But return value is TRUE;

Reviewers: raster, stefan_schmidt, gwanglim, devilhorns, zmike

Subscribers: input.hacker, cedric, JHyun, ManMower, jpeg

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

8 years agoEvas text: set NULL free'd pointers in evas_object_text_free()
Youngbok Shin [Mon, 15 Feb 2016 10:41:37 +0000 (10:41 +0000)]
Evas text: set NULL free'd pointers in evas_object_text_free()

Summary:
_render_pre() function could be called for an object which is
going to be deleted. According to state changes of the object,
text could be recalculated with free'd pointers. It caused an
invalid read and crash.
@fix

Test Plan:
1. Apply D1747.
2. Run elementary_test.
3. Put any character in elm_entry and change paragraph direction.
4. Put any character again.
5. It can cause a crash which is caused by invalid read in Evas Text.

Reviewers: herdsman, woohyun, tasn, raster

Subscribers: cedric, jpeg

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

8 years agoEvas textblock: ifdef unused 'hyphens' code
Daniel Hirt [Sun, 14 Feb 2016 12:20:34 +0000 (14:20 +0200)]
Evas textblock: ifdef unused 'hyphens' code

The usage of the 'hyphens' array is only relevant when
"--enable-hyphen" is used.
This fixes the dead code addressed in
5b083ace84ca91496810cd1826c9469a6c741700.

8 years agoRevert "Evas textblock: Properly ifdef hyphenation out."
Daniel Hirt [Sun, 14 Feb 2016 11:18:49 +0000 (13:18 +0200)]
Revert "Evas textblock: Properly ifdef hyphenation out."

This reverts commit 5b083ace84ca91496810cd1826c9469a6c741700.

The "--enable-hyphen" option refers to using the optional hyphenation
dictionaries. We support hyphenation via SHY-HYPHEN hints regardless of
this option.
The following commit will provide finer handling to address the issue in
the reverted one.

8 years agoeldbus: add more debug prints for proxy and signal handler
Mike Blumenkrantz [Sat, 13 Feb 2016 16:25:48 +0000 (11:25 -0500)]
eldbus: add more debug prints for proxy and signal handler

8 years agoeina: accept NULL in eina_array_free() without erroring
Mike Blumenkrantz [Sat, 13 Feb 2016 16:25:22 +0000 (11:25 -0500)]
eina: accept NULL in eina_array_free() without erroring

@fix

8 years agoeina: add tests cases for eina_vector3.
se.osadchy [Fri, 12 Feb 2016 20:12:03 +0000 (21:12 +0100)]
eina: add tests cases for eina_vector3.

Summary: Add tests for functions of vector3 in eina.

Reviewers: cedric, Hermet

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add new part handling Canvas3D types to edje_load.c
perepelits.m [Fri, 12 Feb 2016 20:03:53 +0000 (21:03 +0100)]
edje: add new part handling Canvas3D types to edje_load.c

Summary: Initiation of Evas Objects and creation of nodes for new part types in Edje.

Reviewers: cedric, raster, Hermet

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_con: change Ecore.Con.Client to Efl.Network.Client.
Srivardhan Hebbar [Fri, 12 Feb 2016 20:02:01 +0000 (21:02 +0100)]
ecore_con: change Ecore.Con.Client to Efl.Network.Client.

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

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: optimize Canvas3D calculation of bounding space
Ivan Furs [Fri, 12 Feb 2016 19:58:04 +0000 (20:58 +0100)]
evas: optimize Canvas3D calculation of bounding space

Summary: Bounding box and sphere will calculate if user need callback of collision or data of box or data of sphere.

Reviewers: sri.hebbar, cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: fix typo affecting our 32bits signal matching code.
Cedric BAIL [Fri, 12 Feb 2016 18:35:55 +0000 (19:35 +0100)]
edje: fix typo affecting our 32bits signal matching code.

Big thanks to Maxim who did a serious digging in this issue making it almost
a patch review.

T3125

@fix

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoEolian eina_types: Add Eina.Matrix3 and start using it.
Tom Hacohen [Fri, 12 Feb 2016 14:39:50 +0000 (14:39 +0000)]
Eolian eina_types: Add Eina.Matrix3 and start using it.

8 years agoEctor gl renderer: Fix Eolian warnings.
Tom Hacohen [Fri, 12 Feb 2016 14:34:10 +0000 (14:34 +0000)]
Ector gl renderer: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEfl animator: Fix Eolian warnings.
Tom Hacohen [Fri, 12 Feb 2016 14:32:36 +0000 (14:32 +0000)]
Efl animator: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEctor gl surface: Fix Eolian warnings.
Tom Hacohen [Fri, 12 Feb 2016 14:25:44 +0000 (14:25 +0000)]
Ector gl surface: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEctor generic surface: Fix Eolian warnings.
Tom Hacohen [Fri, 12 Feb 2016 14:23:42 +0000 (14:23 +0000)]
Ector generic surface: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEctor generic buffer: Fix Eolian warnings.
Tom Hacohen [Fri, 12 Feb 2016 14:15:11 +0000 (14:15 +0000)]
Ector generic buffer: Fix Eolian warnings.

This includes either migrating types to eolian, fixing namespace or
importing extra types.

8 years agoEctor cairo: define cairo_t as extern.
Tom Hacohen [Fri, 12 Feb 2016 13:55:57 +0000 (13:55 +0000)]
Ector cairo: define cairo_t as extern.

8 years agoEcore exe: Move more structs and enums to Eolian.
Tom Hacohen [Fri, 12 Feb 2016 13:48:24 +0000 (13:48 +0000)]
Ecore exe: Move more structs and enums to Eolian.

8 years agoEcore con dns: Fix eo file warnings.
Tom Hacohen [Fri, 12 Feb 2016 13:36:19 +0000 (13:36 +0000)]
Ecore con dns: Fix eo file warnings.

8 years agoecore-x: Add EINA_SAFETY checks for missing display
Chris Michael [Fri, 12 Feb 2016 13:27:35 +0000 (08:27 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display

xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-x: Add EINA_SAFETY checks for missing display
Chris Michael [Fri, 12 Feb 2016 13:26:27 +0000 (08:26 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display

xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-x: Add EINA_SAFETY checks for missing display
Chris Michael [Fri, 12 Feb 2016 13:25:20 +0000 (08:25 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display

xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEvas textblock: Disable hyphenation tests when hyphenation is disabled.
Tom Hacohen [Fri, 12 Feb 2016 12:12:00 +0000 (12:12 +0000)]
Evas textblock: Disable hyphenation tests when hyphenation is disabled.

8 years agoEvas textblock: Properly ifdef hyphenation out.
Tom Hacohen [Fri, 12 Feb 2016 12:08:29 +0000 (12:08 +0000)]
Evas textblock: Properly ifdef hyphenation out.

I found this thanks to coverity. There was some code that we were running
although hyphenation was actually off.

CID 1341062.

8 years agoEvas textblock: Fix _dict_hyphen_load could return an uninitialized pointer
Youngbok Shin [Fri, 12 Feb 2016 09:46:33 +0000 (09:46 +0000)]
Evas textblock: Fix _dict_hyphen_load could return an uninitialized pointer

Summary:
If there are hyph_*.dic files except for requested language,
"dict" pointer could be return without initialized. It doesn't make any
warning messages when it is compiled. Normally, it is NULL implicitly.
But, it is good to set NULL explicitly for understanding code.

Test Plan: N/A

Reviewers: herdsman, tasn, woohyun

Subscribers: cedric, jpeg

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

8 years agoecore_imf/wayland: send cursor position before requesting to show
Jihoon Kim [Fri, 12 Feb 2016 01:18:05 +0000 (10:18 +0900)]
ecore_imf/wayland: send cursor position before requesting to show

8 years agoecore_imf/wayland: Fix not to show IME in touching entry after hiding IME
Jihoon Kim [Fri, 12 Feb 2016 00:36:41 +0000 (09:36 +0900)]
ecore_imf/wayland: Fix not to show IME in touching entry after hiding IME

8 years agoecore-x: Fix compiler warnings about return values
Chris Michael [Thu, 11 Feb 2016 16:21:50 +0000 (11:21 -0500)]
ecore-x: Fix compiler warnings about return values

This is an "oopsie" fix from my previous commit wrt adding EINA_SAFETY
checks. I made an oopsie and didn't realize that these 2 functions
were expecting int returns.

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-x: Add EINA_SAFETY checks for missing display
Chris Michael [Thu, 11 Feb 2016 15:09:51 +0000 (10:09 -0500)]
ecore-x: Add EINA_SAFETY checks for missing display

xlib immediately crashes upon being passed a null DISPLAY object,
so every function in ecore-x should likely have safety checks such
as these.

@ref 210b3e6c622341d4366c27c4d9bc1086012efd28

@fix

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEvas font: Use proper enum value for extrabold
Youngbok Shin [Thu, 11 Feb 2016 10:17:46 +0000 (10:17 +0000)]
Evas font: Use proper enum value for extrabold

Summary:
ULTRABOLD is identical to EXTRABOLD in freetype.
But, "extrabold" word is added for FC_WEIGHT_EXTRABOLD.
So, it has to be changed to use EXTRABOLD instead of
ULTRABOLD. It was mistake in my previous commit.
@fix

Test Plan: N/A

Reviewers: tasn, herdsman, woohyun

Subscribers: cedric, jpeg

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

8 years agoefl: fix installation and compilation of efl_types.eot.h
Vitor Sousa [Wed, 10 Feb 2016 22:01:52 +0000 (20:01 -0200)]
efl: fix installation and compilation of efl_types.eot.h

Summary:
Fix Efl.h include problem of the installed header "efl_types.eot.h".

Move efl_types.eot to src/lib/efl/interfaces to compile and install at
the same place of other Eolian-generated headers.

Test Plan: compile and test expedit

Reviewers: felipealmeida, stefan_schmidt, tasn, cedric, q66, JackDanielZ

Subscribers: jpeg

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

8 years agoeeze: add case for Graphics subsystems in eeze_udev_find_by_type
Nicolas Aguirre [Fri, 27 Nov 2015 08:53:21 +0000 (09:53 +0100)]
eeze: add case for Graphics subsystems in eeze_udev_find_by_type

Add code to detect Graphics subsystem, i.e framebuffer devices
/dev/fbX in eeze. This will be used in Ecore-Fb to detect the
framebuffers present on the system.

@feature

Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: include Eet.h where it's needed.
Florent Revest [Wed, 22 Jul 2015 16:50:38 +0000 (18:50 +0200)]
evas: include Eet.h where it's needed.

This patch is applied by OpenEmbedded project to let evas build
correctly in crosscompilation environnement.
cf: https://github.com/openembedded/meta-oe/blob/master/meta-efl/recipes-efl/efl/efl/0002-evas_3d-Add-Eet.h-includes.patch

@fix

Signed-off-by: Nicolas Aguirre <aguirre.nicolas@gmail.com>
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeolian: allow silencing of type errors in validation
Daniel Kolesa [Wed, 10 Feb 2016 16:04:01 +0000 (16:04 +0000)]
eolian: allow silencing of type errors in validation

This allows generators to silence type errors in validation in order
to reduce duplicate error messages when generating multiple files.
Also adjusted the C generator to only emit type errors when generating
Eo header files.

@feature

8 years agoefl: Have Efl.Time outside of a beta guard
Felipe Magno de Almeida [Tue, 9 Feb 2016 20:16:50 +0000 (18:16 -0200)]
efl: Have Efl.Time outside of a beta guard

Since this is a essential type, this must not be guarded by a beta
symbol guard.

8 years agoefl: Renamed Ecore.Time to Efl.Time and defined it
Felipe Magno de Almeida [Tue, 9 Feb 2016 15:28:25 +0000 (13:28 -0200)]
efl: Renamed Ecore.Time to Efl.Time and defined it

Moved the Ecore.Time @extern struct to Efl lib and defined it as
specified in C specification for struct tm. Thus, bindings can be
automatically generated for where struct tm is used.

8 years agoecore: move Ecore_Pos_Map to ecore_types.eot
Vitor Sousa [Mon, 25 Jan 2016 23:11:43 +0000 (21:11 -0200)]
ecore: move Ecore_Pos_Map to ecore_types.eot

Move Ecore_Pos_Map from Ecore_Common.h to ecore_types.eot.
Give it the namespaced Eolian name "Ecore_Pos_Map" to follow the
standards.

Update documentation to refer to Ecore_Pos_Map instead of its previous
enum definition "_Ecore_Pos_Map".

8 years agoecore: create ecore_types.eot and add Ecore.Time to it
Vitor Sousa [Mon, 25 Jan 2016 22:17:52 +0000 (20:17 -0200)]
ecore: create ecore_types.eot and add Ecore.Time to it

Create the file ecore_types.eot to hold common types related with Ecore.

Add Ecore.Time as an external type to ecore_types.eot.
This type is intended to be a alias to struct tm (from time.h).
That way .eo files have a standard way to reference it.
Each language should manually bind it.

8 years agoevas: check EINA_MEMPOOL env var when creating evas mempool allocators
Mike Blumenkrantz [Fri, 5 Feb 2016 19:34:29 +0000 (14:34 -0500)]
evas: check EINA_MEMPOOL env var when creating evas mempool allocators

this should really be a utility function already since all mempools in efl use
the exact same code...

8 years agoeina: add test covering tiler rect add/del/add of same geometry regions
Mike Blumenkrantz [Fri, 5 Feb 2016 19:24:34 +0000 (14:24 -0500)]
eina: add test covering tiler rect add/del/add of same geometry regions

ref ec2ec3e9d13f64b5a4792717204deb59eb9d4caa

8 years agoeina: invalidate last add/del rects when the opposite operation occurs
Mike Blumenkrantz [Fri, 5 Feb 2016 19:16:51 +0000 (14:16 -0500)]
eina: invalidate last add/del rects when the opposite operation occurs

applying this optimization to prevent the same rectangle from being added
or removed repeatedly in succession would result in the rejecting of successive
operations of the same type when the other operation occurred in between.

as an example:

add(0, 0, 100, 100)
del(0, 0, 100, 100)
add(0, 0, 100, 100)

should yield (0, 0, 100, 100), not zero rects and a failure to add the
second rect

this fixes a serious issue in enlightenment where stacking three windows
on top of each other with the first and third windows having the same geometry
would result in the top window receiving no input geometry (oops)

@fix

8 years agoevas-wayland-shm: Fix compiler warning about incompatible pointer type
Chris Michael [Fri, 5 Feb 2016 13:41:35 +0000 (08:41 -0500)]
evas-wayland-shm: Fix compiler warning about incompatible pointer type

This patch fixes some compiler warnings about assignment from
incompatible pointer type when getting image data from evas_cache. The
simple fix is to cast the return value to RGBA_Image.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoedje: Remove unused variables
Chris Michael [Fri, 5 Feb 2016 13:35:04 +0000 (08:35 -0500)]
edje: Remove unused variables

This patch just removes some unused variables that the compiler was
warning about

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoEcore con local: properly clean up fd on error.
Tom Hacohen [Fri, 5 Feb 2016 11:48:36 +0000 (11:48 +0000)]
Ecore con local: properly clean up fd on error.

This wasn't done correctly in the previous commit. First of all, the
order of cleanup was wrong, the cleanup area should only be called if
failures occurred after the fd allocation, not before. Also, fd should
be reinitialised to -1 once we close the socket.

8 years agoEcore con: Close server socket fd on failure.
Awadhesh Singh [Fri, 5 Feb 2016 11:44:39 +0000 (11:44 +0000)]
Ecore con: Close server socket fd on failure.

Summary:
Socket fd must be closed to avoid file discripter leak.
Programs can usually only open a limited number of file descriptors,
so if this happens a lot, it may turn into a problem.

@fix

Reviewers: raster, Hermet, wonsik, spacegrapher, cedric, jpeg, tasn

Reviewed By: tasn

Subscribers: cedric, alok25, yashu21985, singh.amitesh

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

8 years agoedje_cc: allow omitting "name" keyword in color_classes.color_class block
Jee-Yong Um [Fri, 5 Feb 2016 07:30:31 +0000 (08:30 +0100)]
edje_cc: allow omitting "name" keyword in color_classes.color_class block

Summary:
This allows developer to omit "name" keyword in color_classes.color_class
block in EDC.

Reviewers: cedric, jpeg

Reviewed By: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add new part types to edje_cache
perepelits.m [Fri, 5 Feb 2016 07:19:40 +0000 (08:19 +0100)]
edje: add new part types to edje_cache

Summary: Add new part types (Mesh_Node, Camera, Light) to edje_cache

Reviewers: cedric, raster, Hermet

Subscribers: jpeg, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoecore_con: changing Ecore.Con.Server to Efl.Network.Server.
Srivardhan Hebbar [Fri, 5 Feb 2016 07:09:53 +0000 (08:09 +0100)]
ecore_con: changing Ecore.Con.Server to Efl.Network.Server.

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

Reviewers: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeina: add eina_vector3 as static inline.
se.osadchy [Fri, 5 Feb 2016 07:07:42 +0000 (08:07 +0100)]
eina: add eina_vector3 as static inline.

Summary: Move evas_vec3 to eina_vector3 and add documentation.

Reviewers: stefan_schmidt, jpeg, cedric

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje_cc: fix detecting missing part for insert_before/after
Cedric BAIL [Fri, 5 Feb 2016 07:02:39 +0000 (08:02 +0100)]
edje_cc: fix detecting missing part for insert_before/after

Summary:
Detecting missing part for insert_before/after is broken.
This patch makes the feature work and clarifies error message,
and removes redundant internal function.

Reviewers: cedric, jpeg

Subscribers: raster, jpeg

Maniphest Tasks: T2513

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

8 years agoedje: introduce color_tree (color_class inheritance)
Jee-Yong Um [Fri, 5 Feb 2016 06:55:46 +0000 (07:55 +0100)]
edje: introduce color_tree (color_class inheritance)

Summary:
The "color_tree" block contains a list of one or more "node" blocks.
A "node" block consists of its own color class name and the list of child
color classes. At runtime, parent color class will be referred instead,
if child color class is set to part but its color values are not defined.

Reviewers: raster, Jaehyun_Cho, jpeg, cedric

Reviewed By: cedric

Subscribers: cedric, kimcinoo

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: add test for omitting "name" keyword in color_classes.color_class block
Jee-Yong Um [Fri, 5 Feb 2016 06:51:31 +0000 (07:51 +0100)]
edje: add test for omitting "name" keyword in color_classes.color_class block

Summary:
This test checks whether omitting "name" keyword in color_classes.color_class
block in EDC work normally.

Depends on D3598

Test Plan: make check

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: add native surface with TBM Surface for wayland_shm engine
Wonsik Jung [Fri, 5 Feb 2016 06:50:22 +0000 (07:50 +0100)]
evas: add native surface with TBM Surface for wayland_shm engine

Summary: @feature  add evas object image's native surface with TBM surface for wayland_shm

Test Plan: Making tbm test sample and testing on Tizen Device/Emulator

Reviewers: raster, cedric, spacegrapher, jpeg

Reviewed By: spacegrapher

Subscribers: mer.kim, JoogabYun, scholb.kim, dkdk

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoeo: tests callback add and del return value.
Cedric BAIL [Fri, 5 Feb 2016 05:21:56 +0000 (06:21 +0100)]
eo: tests callback add and del return value.

8 years agoecore_evas: refactorize code and make sub ecore evas exploration recusrive.
Cedric BAIL [Fri, 5 Feb 2016 05:05:30 +0000 (06:05 +0100)]
ecore_evas: refactorize code and make sub ecore evas exploration recusrive.

8 years agoecore_evas: improve debugging for Ecore_Evas animator.
Cedric BAIL [Fri, 5 Feb 2016 05:05:01 +0000 (06:05 +0100)]
ecore_evas: improve debugging for Ecore_Evas animator.

8 years agoedje: add back use of Ecore_Animator when the Edje object is created on an non Ecore_...
Cedric BAIL [Fri, 5 Feb 2016 05:02:29 +0000 (06:02 +0100)]
edje: add back use of Ecore_Animator when the Edje object is created on an non Ecore_Evas canvas.

This is necessary for backward compatibility still I am thinking of displaying a warning for this
use case and request people to update there work and drop that feature in the future (In a year
maybe from now). Elementary doesn't need this as it depends on Ecore_Evas.

8 years agoEvas textblock: Save memory space reducing unused hyphen dictionary loads
Youngbok Shin [Thu, 4 Feb 2016 09:29:03 +0000 (11:29 +0200)]
Evas textblock: Save memory space reducing unused hyphen dictionary loads

Summary:
Commonly, only few hyphenation dictionaries are used at a application.
So, loading all of dictionary files could cause waste of memory.
Evas textblock has to load hyphenation dictionaries only when it is
really needed.

Test Plan: N/A

Reviewers: woohyun, tasn, herdsman

Subscribers: cedric, jpeg

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

8 years agoThis should not have been pushed. Revert
Chris Michael [Thu, 4 Feb 2016 14:44:45 +0000 (09:44 -0500)]
This should not have been pushed. Revert

Revert "ecore-drm: Add API functions for rotation support"

This reverts commit b8ceaf0d403ce640ed6a485a59a3bd5a7b06a260.

8 years agoThis should not have been pushed. Unsure what happened here, but
Chris Michael [Thu, 4 Feb 2016 14:44:17 +0000 (09:44 -0500)]
This should not have been pushed. Unsure what happened here, but
revert this

Revert "ecore-drm: Add opaque type for Plane support"

This reverts commit 94082f54e8ce7d47402ea5d8d57e3871f8fa98a4.