platform/upstream/efl.git
9 years agoecore-drm: Fix output_geometry_get function
Chris Michael [Tue, 7 Apr 2015 16:32:15 +0000 (12:32 -0400)]
ecore-drm: Fix output_geometry_get function

Summary: This fixes an issue where heights of all outputs would get
added, thus causing the ecore_evas to be created at the wrong size.
Now, the height will be whichever output is larger.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Remove debug line from launcher
Chris Michael [Tue, 7 Apr 2015 16:31:25 +0000 (12:31 -0400)]
ecore-drm: Remove debug line from launcher

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Set mode flag for preferred if this is the preferred mode
Chris Michael [Tue, 7 Apr 2015 16:26:19 +0000 (12:26 -0400)]
ecore-drm: Set mode flag for preferred if this is the preferred mode

Summary: This fixes a minor oversight in ecore_drm_output_mode_add
which was not setting the mode->flag to preferred if this is a
preferred mode.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Send ECORE_DRM_EVENT_OUTPUT on unplug also
Chris Michael [Tue, 7 Apr 2015 15:50:35 +0000 (11:50 -0400)]
ecore-drm: Send ECORE_DRM_EVENT_OUTPUT on unplug also

Summary: If we unplug an output, we should still be sending this event
so that the compositor can remove any unplugged outputs

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Better output name format
Chris Michael [Tue, 7 Apr 2015 15:26:06 +0000 (11:26 -0400)]
ecore-drm: Better output name format

Summary: Make output names match format reported from kernel

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Tue, 7 Apr 2015 15:24:17 +0000 (11:24 -0400)]
ecore-drm: Fix formatting

Summary: NO functional changes, just formatting

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix issue with edid_parse_string truncating strings
Chris Michael [Tue, 7 Apr 2015 15:22:54 +0000 (11:22 -0400)]
ecore-drm: Fix issue with edid_parse_string truncating strings

Summary: We should only truncate the string if it's greater than 4

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add more connector types
Chris Michael [Tue, 7 Apr 2015 15:22:12 +0000 (11:22 -0400)]
ecore-drm: Add more connector types

Summary: libdrm has support for Virtual and DSI connector types, so
add those to the connector types

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Fix formatting
Chris Michael [Tue, 7 Apr 2015 15:18:18 +0000 (11:18 -0400)]
ecore-drm: Fix formatting

Summary: NO functional changes, just formatting.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Move Eeze Udev Watch to Drm Device
Chris Michael [Tue, 7 Apr 2015 15:08:19 +0000 (11:08 -0400)]
ecore-drm: Move Eeze Udev Watch to Drm Device

Summary: Move the Eeze udev watch to inside the ecore_drm_device. This
allows us to only create One watch to catch all output changes. No
need for more than one watch (one per output) as was done previously

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Use Ecore_Drm_Fb for framebuffers
Chris Michael [Tue, 7 Apr 2015 14:51:13 +0000 (10:51 -0400)]
evas-drm: Use Ecore_Drm_Fb for framebuffers

Summary: This commit changes the evas drm engine to use Ecore_Drm_Fb
for framebuffers. We remove the old 'Buffer' structure from the evas
engine and replace it in Outbuf with Ecore_Drm_Fb. This also removes
unused functions from the evas_drm.c file as we can now use
ecore_drm_fb calls

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Add width & height to Ecore_Drm_Fb structure
Chris Michael [Tue, 7 Apr 2015 14:49:45 +0000 (10:49 -0400)]
ecore-drm: Add width & height to Ecore_Drm_Fb structure

Summary: This adds a w & h field to the Ecore_Drm_Fb structure so it
can be used from within the Evas engine

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoevas-drm: Remove evas_bufmgr.c from the Evas Drm engine
Chris Michael [Tue, 7 Apr 2015 14:48:11 +0000 (10:48 -0400)]
evas-drm: Remove evas_bufmgr.c from the Evas Drm engine

Summary: This file is not needed for the software drm engine. This was
added (initially) for combining the drm software & hardware engines
into one. As that is not the case, this file is unused.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoecore-drm: Create all framebuffers using XRGB8888 by default
Chris Michael [Tue, 7 Apr 2015 14:23:41 +0000 (10:23 -0400)]
ecore-drm: Create all framebuffers using XRGB8888 by default

Summary: By default, we should be creating dumb buffers using XRGB8888
that way it does not matter if we have an alpha channel or not in the
buffer.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
9 years agoefl interfaces: Fix conditional for generation for pkgconfig for C++
Felipe Magno de Almeida [Thu, 9 Apr 2015 14:16:51 +0000 (11:16 -0300)]
efl interfaces: Fix conditional for generation for pkgconfig for C++

Do not generate efl-cxx.pc when C++ is disabled.

9 years agoeian threadqueue - be clearer on the message struct/format limitations
Carsten Haitzler (Rasterman) [Thu, 9 Apr 2015 08:21:25 +0000 (17:21 +0900)]
eian threadqueue - be clearer on the message struct/format limitations

this makes the send func docs also be clear on the
Eina_Thread_Queue_Msg limitations like the wait func

9 years agoedje_cc - handle image sets that are empty by skipping them
Carsten Haitzler (Rasterman) [Thu, 9 Apr 2015 04:33:41 +0000 (13:33 +0900)]
edje_cc - handle image sets that are empty by skipping them

this fixes an edje_cc crash on compile for "invalid" edc that has
empty image sets.

9 years agoeina_matrix: Add since tags to all new functions in 1.14
Stefan Schmidt [Wed, 8 Apr 2015 12:36:17 +0000 (14:36 +0200)]
eina_matrix: Add since tags to all new functions in 1.14

9 years agoeina_quad: Add since tags for new eina_quad*()
Stefan Schmidt [Wed, 8 Apr 2015 12:20:27 +0000 (14:20 +0200)]
eina_quad: Add since tags for new eina_quad*()

This needs documentation for the new functions.

9 years agoeina: eina_unicode_utf8_next_get should return 0
Jaeun Choi [Wed, 8 Apr 2015 12:29:13 +0000 (21:29 +0900)]
eina: eina_unicode_utf8_next_get should return 0
when one of the parameters is NULL to avoid null pointer access.
it also corresponds to the description in doc.

@fix

9 years agoeina: Add since tag for new eina_simple_xml_attribute_w3c_parse()
Stefan Schmidt [Wed, 8 Apr 2015 12:13:57 +0000 (14:13 +0200)]
eina: Add since tag for new eina_simple_xml_attribute_w3c_parse()

9 years agoeina: Add since tag for new eina_list_data_idx()
Stefan Schmidt [Wed, 8 Apr 2015 12:11:44 +0000 (14:11 +0200)]
eina: Add since tag for new eina_list_data_idx()

Also fix some whitespaces while being there.

9 years agoedje: Add since tag for new edje_file_iterator_new()
Stefan Schmidt [Wed, 8 Apr 2015 12:06:42 +0000 (14:06 +0200)]
edje: Add since tag for new edje_file_iterator_new()

9 years agoedje: Add since tag for new edje_mmap_color_class_iterator_new()
Stefan Schmidt [Wed, 8 Apr 2015 12:06:30 +0000 (14:06 +0200)]
edje: Add since tag for new edje_mmap_color_class_iterator_new()

9 years agoedje: Add since for new edje_color_class_active_iterator_new()
Stefan Schmidt [Wed, 8 Apr 2015 12:03:26 +0000 (14:03 +0200)]
edje: Add since for new edje_color_class_active_iterator_new()

9 years agoEvas masking: Avoid potential crashes (SW)
Jean-Philippe Andre [Wed, 8 Apr 2015 08:21:42 +0000 (17:21 +0900)]
Evas masking: Avoid potential crashes (SW)

Make sure not to sample the mask image outside its boundaries.
This is a series of last resort checks. I can not reproduce the
crashes but know they have happened.

I used EINA_UNLIKELY more for clarity than for compiler optimizations.

9 years agoecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()
Conrad Meyer [Wed, 8 Apr 2015 03:06:58 +0000 (12:06 +0900)]
ecore_main.c: Refactor purely duplicate ecore_main_fd_handler_file_add()

Summary:
... to simply invoke `_ecore_main_fd_handler_add()`. The only difference appears to be the former sets `->file` to `EINA_TRUE`. So, we add that as a parameter.

You can consider this patch, and any other contributions I make to enlightenment, to be under the terms of whatever open source license governs that particular project, or at your option, the MIT license. Basically, if I'm uploading patches here, it's because I want them to be useful.

Test Plan: Should be pretty straightforward. I am in the process of doing a compile check.

Reviewers: #efl

Projects: #efl

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

9 years agoEvas GL: Add missed GLES 3.0 functions in evgl_load_gles3_api.
mythri.venugopal [Wed, 8 Apr 2015 06:14:43 +0000 (15:14 +0900)]
Evas GL: Add missed GLES 3.0 functions in evgl_load_gles3_api.

Reviewers: wonsik, spacegrapher, jpeg

Subscribers: cedric

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

9 years agoEdje: Remove excessive casts and use type Edje_Object
Conrad Meyer [Wed, 8 Apr 2015 05:34:46 +0000 (14:34 +0900)]
Edje: Remove excessive casts and use type Edje_Object

Use type Edje_Object instead of Eo in legacy EAPI's.

Spotted in TAsn's ABI report, under "Problems with Symbols".
I believe this will actually add two changes (Eo -> Edje_Object),
but I like the typing better ;)

9 years agoEvas GL: Add @since 1.14 flags to Evas_Native_Surface
Conrad Meyer [Wed, 8 Apr 2015 03:31:06 +0000 (12:31 +0900)]
Evas GL: Add @since 1.14 flags to Evas_Native_Surface

And enum

9 years agoEcore IMF: Add @since tags to new fields
Conrad Meyer [Wed, 8 Apr 2015 03:28:34 +0000 (12:28 +0900)]
Ecore IMF: Add @since tags to new fields

9 years agoecore_cocoa: fix scrollwheel behavior
pierre lamot [Thu, 2 Apr 2015 13:44:45 +0000 (15:44 +0200)]
ecore_cocoa: fix scrollwheel behavior

  - prioritize vertical scroll over horizontal
  - set amount to either -1 or 1, since EFL doesn't handle other value properly
  - fix wheel bouncing with some devices (X:0,Y:0 scrolling events)

  @fix

9 years agoAUTHORS: update
pierre lamot [Tue, 17 Mar 2015 10:27:37 +0000 (11:27 +0100)]
AUTHORS: update

9 years agoEctor: Ship missing headers.
Tom Hacohen [Tue, 7 Apr 2015 14:56:35 +0000 (15:56 +0100)]
Ector: Ship missing headers.

These headers are being included from public headers (Ector.h),
so they need to be available.

That's what happens when you push in code that's not actually used
by anyone.

@fix

9 years agoevas common: make logic same to c code version.
ChunEon Park [Tue, 7 Apr 2015 14:06:43 +0000 (23:06 +0900)]
evas common: make logic same to c code version.

As C version,
It increase alpha value by 1 to avoid loosing of the remains while it divides
values. Neon version does same technique to make same results.

9 years agoevas common: NEON version of evas_common_convert_argb_premul.
ChunEon Park [Tue, 7 Apr 2015 14:02:15 +0000 (23:02 +0900)]
evas common: NEON version of evas_common_convert_argb_premul.

This patch reduces power consumption by around 18mA in certain scenarios
(music player list scroll, my files sound list scroll), making
evas_common_convert_argb_premul() ~60% faster (6.2msec->2.6msec).

Take music-player application, make 100 copies of the standard
Over the Horizon” song, scroll up and down to see those
downscaled-from-720x720 thumbnails enter and leave the screen.
Every time a list item enters the screen, the image is re-read
(as evas image cache is not large enough to store more than two
pictures of that size), and one call of _common_convert_argb_premul()
occurs, taking ~6.2msec (which is not much compared to ~60msec
spent in libpng->libz (the biggest bottleneck here),
but still noticeable).

A similar power consumption improvement is observed during
scrolling sounds list of the same files in My Files application
(just with idle level ~100mA lower).

We also checked the new code to be correct on random input data.

all tests are performed based on tizen device.

Signed-Off-By: Artem Dergachev <dergachev.a@samsung.com>
9 years agorelease: Update NEWS and bump version for 1.14.0-alpha1 release v1.14.0-alpha1
Stefan Schmidt [Tue, 7 Apr 2015 11:50:38 +0000 (13:50 +0200)]
release: Update NEWS and bump version for 1.14.0-alpha1 release

9 years agoecore_con: Make sure the server.key and pem are distributed in the tarball
Stefan Schmidt [Tue, 7 Apr 2015 11:17:25 +0000 (13:17 +0200)]
ecore_con: Make sure the server.key and pem are distributed in the tarball

Pull them out of the if EFL_ENABLE_TESTS test as we need them to be put into
the tarball in all cases.

9 years agoevas: make all of Evas_Object_VG API part of BETA
Cedric BAIL [Tue, 7 Apr 2015 11:06:59 +0000 (13:06 +0200)]
evas: make all of Evas_Object_VG API part of BETA

As JP pointed out there is no point of having an API if the only way to use
it is through a BETA API.

9 years agoecore_evas_convert: Implement hacky solution for Ctrl+C
Jean-Philippe Andre [Tue, 7 Apr 2015 07:48:49 +0000 (16:48 +0900)]
ecore_evas_convert: Implement hacky solution for Ctrl+C

Problem: evas_object_image_save() can't be interrupted.
But, with ETC1/ETC2 encoding, it might be terribly long and
the user has no way to cancel encoding (except SIGKILL).

The proper solution would be to tell evas that the save
operation has been cancelled. And run that in a thread,
in a non-blocking way. I guess Efl.File.async could be
used for that, which means maybe also introduce
Efl.File.async_cancel? This will have to wait for
EFL 1.15 I'm afraid.

Note: edje_cc still can't be cancelled during ETC encoding.

9 years agoEmile image: Fix TGV (ETC1,2) loader
Jean-Philippe Andre [Tue, 7 Apr 2015 05:40:00 +0000 (14:40 +0900)]
Emile image: Fix TGV (ETC1,2) loader

The error was not reset to NONE even in case of success.

9 years agoEvas: Fix build for cserve2
Jean-Philippe Andre [Tue, 7 Apr 2015 04:49:48 +0000 (13:49 +0900)]
Evas: Fix build for cserve2

This should fix a strange build error for gentoo, reported by Branko.
Dunno why it didn't fail with the default flags.

9 years agoEvas gl_x11: Fix runtime switching of GL window configurations
Jean-Philippe Andre [Mon, 6 Apr 2015 12:57:32 +0000 (21:57 +0900)]
Evas gl_x11: Fix runtime switching of GL window configurations

Test case:
- Elementary Test
-- GLView
--- Direct rendering

Direct rendering would never happen in reality, because Evas GL
had to fallback. The reason being that DR requires the window
to have a depth buffer, but this depth buffer was no present
in the default config.

From elm, the solution is to set a special accel_preference,
for instance "gl:depth". But setting this value right before
calling elm_win_add() for the GLView test was already too late.
Indeed, evas_x would keep the default configurations and reuse
them no matter what was requested (ie. only RGB and RGBA would
work).

Solution:
Implement a slightly more complex cache based on a hash map instead
of just two static variables. Always request a new config if it's
not found in the current hash. Store that config, and reuse it for
the same config requests.

Tons of line changes because of the name changes and the whitespace
adjustments. Also some variables disappeared into the magic hash table.

9 years agoeetpack: Fix shadow variable warning
Jean-Philippe Andre [Mon, 6 Apr 2015 13:12:24 +0000 (22:12 +0900)]
eetpack: Fix shadow variable warning

9 years agoedje: allow empty part.desc.inherit; statements to autoinherit default desc
Mike Blumenkrantz [Tue, 7 Apr 2015 00:42:47 +0000 (20:42 -0400)]
edje: allow empty part.desc.inherit; statements to autoinherit default desc

typing inherit: "default"; constantly is annoying and unnecessary.

@feature

9 years agoedje: add part.desc.rel.{to,to_x,to_y} keywords
Mike Blumenkrantz [Tue, 7 Apr 2015 00:24:19 +0000 (20:24 -0400)]
edje: add part.desc.rel.{to,to_x,to_y} keywords

it was annoying to have to type two lines for setting parts relative to
each other, so now only one is needed

@feature

9 years agoevas-3d: blending example uses spheres from primitives
Bogdan Devichev [Tue, 7 Apr 2015 00:17:23 +0000 (09:17 +0900)]
evas-3d: blending example uses spheres from primitives

Reviewers: Hermet, raster, cedric

Subscribers: cedric

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

9 years agoevas-3d: fog example uses spheres from primitives
Bogdan Devichev [Tue, 7 Apr 2015 00:14:41 +0000 (09:14 +0900)]
evas-3d: fog example uses spheres from primitives

Reviewers: Hermet, raster, cedric

Subscribers: cedric

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

9 years agoedje: fix edje_mmap_color_class_iterator_new() iterator
Mike Blumenkrantz [Mon, 6 Apr 2015 19:11:06 +0000 (15:11 -0400)]
edje: fix edje_mmap_color_class_iterator_new() iterator

not actually the same iterator as a certain frenchman originally wrote

 #cedric

9 years agoedje: remove recalc when unswallowing objects
Mike Blumenkrantz [Mon, 6 Apr 2015 16:56:58 +0000 (12:56 -0400)]
edje: remove recalc when unswallowing objects

I can't test this as thoroughly as I'd like due to ref T2272, but
it appears that this calc was also unnecessary

9 years agoedje: add color_class.desc lazedc synonym
Mike Blumenkrantz [Mon, 6 Apr 2015 15:51:54 +0000 (11:51 -0400)]
edje: add color_class.desc lazedc synonym

I hate typing.

9 years agoedje: fix program transition generation by Edje_Edit.
Andrii Kroitor [Mon, 6 Apr 2015 14:11:49 +0000 (16:11 +0200)]
edje: fix program transition generation by Edje_Edit.

Summary:
fix possible CURRENT option omission (0-time transition + non-LINEAR
transition type. fix extra ';' for omitted 0-time LINEAR transition

Reviewers: cedric, seoz, raster, Hermet

Subscribers: cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoedje: fix possible segfault in Edje_Edit _check_recursive_reference
Andrii Kroitor [Mon, 6 Apr 2015 14:09:49 +0000 (16:09 +0200)]
edje: fix possible segfault in Edje_Edit _check_recursive_reference

Summary: if we don't force object loading ref can be NULL

Reviewers: seoz, raster, Hermet, Sergeant_Whitespace, cedric

Reviewed By: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoAdded non-edc resource dependencies on .edc while dumping dependencies
Cedric BAIL [Mon, 6 Apr 2015 14:01:19 +0000 (16:01 +0200)]
Added non-edc resource dependencies on .edc while dumping dependencies

Summary: Added code to include non-edc resource (image, sound, video etc) path in dep file while dumping include dependencies for edc files.

Reviewers: raster, cedric, Sergeant_Whitespace

Reviewed By: cedric, Sergeant_Whitespace

Subscribers: Sergeant_Whitespace

Projects: #efl

Maniphest Tasks: T2252

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

9 years agoecore_con: Split ecore_con test suite from ecore.
Srivardhan Hebbar [Mon, 6 Apr 2015 13:59:10 +0000 (15:59 +0200)]
ecore_con: Split ecore_con test suite from ecore.

Summary:
Have created ecore_con test suite.

Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, Sergeant_Whitespace, stefan_schmidt

Subscribers: stefan_schmidt, Sergeant_Whitespace, cedric

Maniphest Tasks: T2235

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

9 years agoedje: add of textures to edje_cc (part 2).
perepelits.m [Mon, 6 Apr 2015 13:52:09 +0000 (15:52 +0200)]
edje: add of textures to edje_cc (part 2).

Summary: Adding of wrap mode and filter of the given texture

Reviewers: raster, Hermet, Sergeant_Whitespace, cedric

Reviewed By: Sergeant_Whitespace, cedric

Subscribers: Sergeant_Whitespace, cedric, artem.popov

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: add image_orient_set/get tests in evas tests suite.
kabeer khan [Mon, 6 Apr 2015 13:48:34 +0000 (15:48 +0200)]
evas: add image_orient_set/get tests in evas tests suite.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoecore_con: add tests case related to HTTP post and ftp upload.
Srivardhan Hebbar [Mon, 6 Apr 2015 13:46:21 +0000 (15:46 +0200)]
ecore_con: add tests case related to HTTP post and ftp upload.

Summary:
Made http and ftp url configurable via configure and also added test cases for ftp upload and http post.

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

Subscribers: Sergeant_Whitespace, cedric

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas/common: improve evas_common_convert_argb_unpremul() computation.
ChunEon Park [Mon, 6 Apr 2015 12:58:07 +0000 (21:58 +0900)]
evas/common: improve evas_common_convert_argb_unpremul() computation.

prev logic increased the alpha channel by 1 so the unpremul resulted in the color got too diff from the origin.

We can't avoid losing the rest values while dividing values in premul/unpremul()
but this will recover the value better closed to origin value.

9 years agoEvas GL: Skip direct rendering check if the surface is indirect
Jean-Philippe Andre [Mon, 6 Apr 2015 08:23:44 +0000 (17:23 +0900)]
Evas GL: Skip direct rendering check if the surface is indirect

Note: These checks are only for debugging.

9 years agoEvas GL: check EvasGL cache file version with micro version
Daekwang Ryu [Mon, 6 Apr 2015 07:31:04 +0000 (16:31 +0900)]
Evas GL: check EvasGL cache file version with micro version

Summary: check EvasGL cache file version with micro version

Reviewers: cedric, raster, jpeg, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric, wonsik, spacegrapher, mer.kim

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

Signed-off-by: Jean-Philippe Andre <jp.andre@samsung.com>
9 years agoEfl.File: Add async property and async_wait() method
Jean-Philippe Andre [Tue, 31 Mar 2015 03:09:48 +0000 (12:09 +0900)]
Efl.File: Add async property and async_wait() method

Summary:
Some other patches in elm will implement support for images.
async means fopen() will happen asynchronously in a thread.

Reviewers: cedric, raster, tasn

Subscribers: cedric

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

9 years agoevas-3d: T2226 (Evas Eet saver does out of range access) fixed.
Bogdan Devichev [Mon, 6 Apr 2015 05:13:30 +0000 (14:13 +0900)]
evas-3d: T2226 (Evas Eet saver does out of range access) fixed.

Summary:
texcoord now is 2D vector

@fix

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

9 years ago[evas/evas_3D] Billboard mechanism
Oleksandr Shcherbina [Mon, 6 Apr 2015 05:10:28 +0000 (14:10 +0900)]
[evas/evas_3D] Billboard mechanism

Summary:
Add pointer to target billboard node in Evas_3D_Node
Skip set flags change orientation for billboard node
Add method node_billboard_update to use it for change orientation during traverse
by nodes
Split API evas_3d_node_look_at_set to have possibility change orientation of node
without set flags

Reviewers: cedric, Hermet

Subscribers: cedric

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

9 years agoevas-3D: primitives: cylinder is standardized now (normalized and z is a axis of...
Bogdan Devichev [Mon, 6 Apr 2015 04:58:22 +0000 (13:58 +0900)]
evas-3D: primitives: cylinder is standardized now (normalized and z is a axis of symmetry)

Summary: {F13942}

Test Plan: D2248 gives app for testing.

Reviewers: cedric, Hermet, raster

Subscribers: cedric

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

9 years agoedje_edit: add program action DRAG_* support to code generation
Andrii Kroitor [Mon, 6 Apr 2015 04:52:28 +0000 (13:52 +0900)]
edje_edit: add program action DRAG_* support to code generation

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

Reviewed By: Hermet

Subscribers: cedric

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

9 years agoedje_edit: fix box/table items source generation
Andrii Kroitor [Mon, 6 Apr 2015 04:44:22 +0000 (13:44 +0900)]
edje_edit: fix box/table items source generation

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

Reviewed By: Hermet

Subscribers: cedric

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

9 years agoedje_edit: fix STATE_SET and SIGNAL_EMIT generation
Andrii Kroitor [Mon, 6 Apr 2015 04:40:27 +0000 (13:40 +0900)]
edje_edit: fix STATE_SET and SIGNAL_EMIT generation

Summary:
edje_cc allows state, signal and source to be "". So edje_edit also should
handle this values as valid and souldn't break programs, that are using them.

Reviewers: cedric, seoz, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric, reutskiy.v.v

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

9 years agoedje_edit: add 'fixed' support to code generation
Andrii Kroitor [Mon, 6 Apr 2015 04:24:40 +0000 (13:24 +0900)]
edje_edit: add 'fixed' support to code generation

Reviewers: cedric, seoz, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric, reutskiy.v.v

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

9 years agoevas-3d: parallax-occlusion example is fixed.
Bogdan Devichev [Mon, 6 Apr 2015 02:01:14 +0000 (11:01 +0900)]
evas-3d: parallax-occlusion example is fixed.

Summary: wrong pathes to resources are fixed

Reviewers: cedric, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, Ievgen, cedric

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

9 years agoevas-3D: primitives: cone is standardized now (normalized and z is an axis of symmetry)
Bogdan Devichev [Mon, 6 Apr 2015 01:58:28 +0000 (10:58 +0900)]
evas-3D: primitives: cone is standardized now (normalized and z is an axis of symmetry)

Summary: {F13944}

Test Plan: D2248 gives app for testing.

Reviewers: cedric, Hermet, raster, Sergeant_Whitespace

Reviewed By: Sergeant_Whitespace

Subscribers: Sergeant_Whitespace, cedric

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

9 years agoRevert "Evas 3D: Fix shadow map shader"
Oleksandr Shcherbina [Mon, 6 Apr 2015 01:45:42 +0000 (10:45 +0900)]
Revert "Evas 3D: Fix shadow map shader"

Summary:
This reverts commit 4af7a947a6fe1834d3fb5a8af3cd73196d237f74.
There is more convenient way remove noise in vector gl_Fragcolor at shadow_map
shader, because current decision lead to useless issue with shadow effect.
Need just add default initialize at the begining in shader file smth like that
gl_FragColor = vec4(1);
I suppose do that after this patch.

Reviewers: cedric, raster, Hermet

Reviewed By: Hermet

Subscribers: cedric

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

9 years agoefl - add model mv header to installled headers - fix build break
Carsten Haitzler (Rasterman) [Mon, 6 Apr 2015 01:11:15 +0000 (10:11 +0900)]
efl - add model mv header to installled headers - fix build break

this broke anything building against efl because this header was never
installed... yet another build break in the last 2 days.

9 years agoMerge branch 'devs/felipealmeida/emodel'
Cedric BAIL [Sun, 5 Apr 2015 14:24:47 +0000 (16:24 +0200)]
Merge branch 'devs/felipealmeida/emodel'

Efl.Model is an attempt to provide a data model as in the M of MVC to efl core.
A first implementation and example is provided as a Eio.Model. This together with
some patch in Elementary should provide a fully asynchronous and fast modern MVC
system for EFL.

The API has been in review since last summer, but will still only be accessible
with EFL BETA API and EO for now. More data model should come in the future.

9 years agoefl: move emodel to be an efl interfaces.
Felipe Magno de Almeida [Sun, 5 Apr 2015 13:19:59 +0000 (15:19 +0200)]
efl: move emodel to be an efl interfaces.

9 years agoemodel: api change property_get/set and event modelchange
Larry Jr [Sun, 5 Apr 2015 13:19:55 +0000 (15:19 +0200)]
emodel: api change property_get/set and event modelchange

9 years agoeio: fix coding style of Eio_Model.
Cedric BAIL [Sun, 5 Apr 2015 13:19:53 +0000 (15:19 +0200)]
eio: fix coding style of Eio_Model.

9 years agoeio: use Eina_Log in Eio_Model.
Cedric BAIL [Sun, 5 Apr 2015 13:19:52 +0000 (15:19 +0200)]
eio: use Eina_Log in Eio_Model.

9 years agoeio: add missing file to release tarball.
Cedric BAIL [Sun, 5 Apr 2015 13:19:50 +0000 (15:19 +0200)]
eio: add missing file to release tarball.

9 years agoemodel: API changes and removed unnecessary eina_values copy and stringshares
Larry Jr [Sun, 5 Apr 2015 13:19:49 +0000 (15:19 +0200)]
emodel: API changes and removed unnecessary eina_values copy and stringshares

9 years agoeio: fix mismatch datatypes for internal data model properties.
Guilherme Lepsch [Sun, 5 Apr 2015 13:19:47 +0000 (15:19 +0200)]
eio: fix mismatch datatypes for internal data model properties.

9 years agoemodel: Created Emodel and Eio_Model.
Larry Jr [Sun, 5 Apr 2015 13:19:45 +0000 (15:19 +0200)]
emodel: Created Emodel and Eio_Model.

9 years agoEvas: remove warning while factorizing code
Vincent Torri [Sun, 5 Apr 2015 05:50:50 +0000 (07:50 +0200)]
Evas: remove warning while factorizing code

9 years agoevas: fix typo in doc.
ChunEon Park [Sat, 4 Apr 2015 06:03:29 +0000 (15:03 +0900)]
evas: fix typo in doc.

9 years agoefl - fix more cedric build breaks...
Carsten Haitzler (Rasterman) [Sat, 4 Apr 2015 02:50:09 +0000 (11:50 +0900)]
efl - fix more cedric build breaks...

never checked anything depending on efl to build... didnt install
ector.pc...! fix!

9 years agoedje: flag param as unused
Mike Blumenkrantz [Sat, 4 Apr 2015 01:26:34 +0000 (21:26 -0400)]
edje: flag param as unused

9 years agoedje: immediately return NULL when no color classes exist in edje_color_class_active_...
Mike Blumenkrantz [Sat, 4 Apr 2015 01:25:25 +0000 (21:25 -0400)]
edje: immediately return NULL when no color classes exist in edje_color_class_active_iterator_new()

9 years agoevas - unbreak build from cedric merge...
Carsten Haitzler (Rasterman) [Sat, 4 Apr 2015 00:42:05 +0000 (09:42 +0900)]
evas - unbreak build from cedric merge...

how did this NOT break for you - there is no efl_vg_image.eo so why
have a c++ hh for it?

9 years agoMerge branch 'devs/cedric/evas_vg'
Cedric BAIL [Fri, 3 Apr 2015 15:15:52 +0000 (17:15 +0200)]
Merge branch 'devs/cedric/evas_vg'

This commit add Evas_Object_VG, a new Evas_Object that provide a vector graphics
scenegraph following SVG specification. It will be considered a bug if some behavior
did not follow the SVG standard. Evas_Object_VG provide 3 kind of object for now:
shape, linear and radial gradient.

Vector object are very different in nature from what Evas did manipulate until now,
especially SVG defined one. They don't allow the easy detection of opaque area, thus
no cutout possible during the rendering and they usually require a large number of
them to draw something nice on scree. The cutout optimization in Evas is directly
impacted by the number of object, so splitting the two scenegraph did make sense.
Also SVG use matrix transformation everywhere, while Evas is using an UV mapping.
This make it a clear choice to have two scenegraph.

A part from the author you will see with git, there is two big thanks that needs to
be said here. First special thanks goes to Jorge Luis "turran" Zapata who is
developping is own vector stack: http://enesim.org/ since a long time now and did
share is technical advice and also influenced strongly the design. We did evaluate
the possibility to include enesim in efl, but that wasn't really possible sadly.
Another thanks goes to Jose O Gonzalez who did support and answer a lot of my
question and helped me a lot to.

9 years agoector: make sure that all of Ector is a beta API.
Cedric BAIL [Fri, 3 Apr 2015 14:57:55 +0000 (16:57 +0200)]
ector: make sure that all of Ector is a beta API.

9 years agoevas: mark Evas VG API as beta API to.
Cedric BAIL [Fri, 3 Apr 2015 14:57:35 +0000 (16:57 +0200)]
evas: mark Evas VG API as beta API to.

9 years agoector: update cairo enum definitions and fix gradient spread issue.
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:19 +0000 (16:38 +0200)]
ector: update cairo enum definitions and fix gradient spread issue.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoector: fix memory leak in Ector.Renderer.Generic.Base class
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:18 +0000 (16:38 +0200)]
ector: fix memory leak in Ector.Renderer.Generic.Base class

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: fix memory leak in Efl.Vg.Base class.
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:17 +0000 (16:38 +0200)]
evas: fix memory leak in Efl.Vg.Base class.

9 years agoefl: fix memory leak in efl_gfx_shape_interpolate().
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:15 +0000 (16:38 +0200)]
efl: fix memory leak in efl_gfx_shape_interpolate().

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas/canvas : bail out in case of empty or null dash.
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:14 +0000 (16:38 +0200)]
evas/canvas : bail out in case of empty or null dash.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoevas: update batman example with shape property interpolation
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:13 +0000 (16:38 +0200)]
evas: update batman example with shape property interpolation

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: fix svg path parsing to handle Z also.
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:11 +0000 (16:38 +0200)]
efl: fix svg path parsing to handle Z also.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: update efl_gfx_shape interpolation to use fill color.
Subhransu Mohanty [Fri, 3 Apr 2015 14:38:10 +0000 (16:38 +0200)]
efl: update efl_gfx_shape interpolation to use fill color.

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
9 years agoefl: all those function should have been static already.
Cedric BAIL [Fri, 3 Apr 2015 14:38:08 +0000 (16:38 +0200)]
efl: all those function should have been static already.