platform/upstream/efl.git
8 years agoedje: fix the order of applying transformation when creating vg tree.
Subhransu Mohanty [Fri, 24 Jun 2016 06:15:54 +0000 (15:15 +0900)]
edje: fix the order of applying transformation when creating vg tree.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoevas vg: don't apply transformation to the origin point
Subhransu Mohanty [Fri, 24 Jun 2016 06:15:43 +0000 (15:15 +0900)]
evas vg: don't apply transformation to the origin point

Summary: Which will apply translate property twice once to shape and once to origin.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoevas/canvas: rewrite a previous patch, ed444b698b63e0086812062abb9e3065360eb0b2
Hermet Park [Fri, 24 Jun 2016 02:33:04 +0000 (11:33 +0900)]
evas/canvas: rewrite a previous patch, ed444b698b63e0086812062abb9e3065360eb0b2

Reviwed further, I found out the origin shouldn't be accumulated with
previous clippers origin. I forgot this function is recursive
function.

8 years agoRevert "evas: Fix distcheck by disabling shaders generation"
Carsten Haitzler (Rasterman) [Fri, 24 Jun 2016 00:53:37 +0000 (09:53 +0900)]
Revert "evas: Fix distcheck by disabling shaders generation"

this breaks the simplest configure + make ... so obviously it's broken

8 years agopo: catchup with file rename to efl_ui_video in POTFILES.in
Stefan Schmidt [Thu, 23 Jun 2016 21:27:43 +0000 (23:27 +0200)]
po: catchup with file rename to efl_ui_video in POTFILES.in

In commit 549e274acb69131b5fb7dccc1659372cef7a6572 this file was renamed but
POTFILES.in not updated.

8 years agowayland_shm: Make dmabuf opt-in
Derek Foreman [Thu, 23 Jun 2016 18:55:03 +0000 (13:55 -0500)]
wayland_shm: Make dmabuf opt-in

Some weird bugs and performance issues around these days, and I
keep chasing them in dmabuf first.  Removing it from the equation for
now.

8 years agoecore: fix Windows build by properly defining EAPI in all case for internal API user.
Cedric BAIL [Thu, 23 Jun 2016 17:53:46 +0000 (10:53 -0700)]
ecore: fix Windows build by properly defining EAPI in all case for internal API user.

8 years agoelementary: fix test of internal widget to redefine unaccessible variable.
Cedric BAIL [Thu, 23 Jun 2016 17:46:16 +0000 (10:46 -0700)]
elementary: fix test of internal widget to redefine unaccessible variable.

8 years agoedje: handle named color in svg.
Subhransu Mohanty [Thu, 23 Jun 2016 17:17:28 +0000 (10:17 -0700)]
edje: handle named color in svg.

Reviewers: jpeg, cedric

Reviewed By: jpeg, cedric

Subscribers: conr2d, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agocanvas/vg: fix the reference issue in evas_vg objects.
Subhransu Mohanty [Thu, 23 Jun 2016 17:15:41 +0000 (10:15 -0700)]
canvas/vg: fix the reference issue in evas_vg objects.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje/svg: add few error message reagrding parsing and storing of svg file.
Subhransu Mohanty [Thu, 23 Jun 2016 17:12:20 +0000 (10:12 -0700)]
edje/svg: add few error message reagrding parsing and storing of svg file.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoedje: replace 4000x4000 min size limitarion with loop count restriction.
Youngbok Shin [Thu, 23 Jun 2016 17:11:39 +0000 (10:11 -0700)]
edje: replace 4000x4000 min size limitarion with loop count restriction.

Summary:
4000x4000 min size limitation was added to prevent infinite
calculation loop. But, it can ruin calculation of some proper Edjes.
Normally, properly generated Edje runs the calculation loop below 10 times.
So, "255" could be proper limitation for calculation loop.
It also make better performance for broken Edje.

Test Plan: N/A

Reviewers: raster, Hermet, woohyun, cedric

Reviewed By: cedric

Subscribers: jpeg, z-wony, Blackmole

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelm_index: include horizontal index to omit calculation
Sungtaek Hong [Thu, 23 Jun 2016 17:10:26 +0000 (10:10 -0700)]
elm_index: include horizontal index to omit calculation

Summary:
- when index is set to horizontal by elm_index_horizontal_set()
  there is no logic about omit calculation. However, when
  omit is enabled/disabled by elm_index_omit_enabled_set(),
  horizontal index is ignored by
  if (sd->orientation == EFL_ORIENT_HORIZONTAL) return;
- This can cause inconsistency when order of calling those APIs
  is changed. And also, that "horizontal index cannot be omitted" is not documented
  and does not make sense.
- This commit enables omit for horizontal index, but further
  change is needed because current logic of getting min_w for
  dummy edje object is not accurate when text is set.

Reviewers: cedric, jpeg, Hermet, conr2d

Reviewed By: conr2d

Subscribers: eunue, conr2d, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agogenlist: scroll to item when calc is done
Jee-Yong Um [Thu, 23 Jun 2016 17:09:13 +0000 (10:09 -0700)]
genlist: scroll to item when calc is done

Summary:
If elm_genlist_item_bring_in() is called immediately after appending
item, genlist will not scroll to the last one but stop in the middle.
This patch blocks genlist from scrolling to not calculated item.

Test Plan:
1. Download F31560 and uncompress the file
2. make
3. ./test

Reviewers: SanghyeonLee

Subscribers: cedric, DaveMDS, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoelementary/scroller: fix to skip focus for unfocusable scroller
soohye [Wed, 22 Jun 2016 23:55:07 +0000 (16:55 -0700)]
elementary/scroller: fix to skip focus for unfocusable scroller

Summary:
There is a issue about passing the focus to unfocusable scroller.
To prevent the issue, check the status of focusable object and child object
before passing the focus.

Test Plan:
{F38439}

I changed the test file.
The problem occured as below.

1. click button
2. show popup
3. click cancel button in popup
4. lost the focus

Reviewers: Hermet, raster, cedric

Reviewed By: cedric

Subscribers: minkyu, sju27, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas: avoid calculation bounding for camera and light objects
Oleksandr Shcherbina [Wed, 22 Jun 2016 23:53:47 +0000 (16:53 -0700)]
evas: avoid calculation bounding for camera and light objects

Summary:
Including camera and light to calculation aabb can lead to confusing in detemination
bounding of the whole scene (root node).
@fix

Reviewers: cedric, Hermet, raster

Subscribers: jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoefl_ui_video: convert elm_video to efl_ui_video
Yeshwanth Reddivari [Wed, 22 Jun 2016 23:50:05 +0000 (16:50 -0700)]
efl_ui_video: convert elm_video to efl_ui_video

Test Plan: elementary_test -to video

Reviewers: singh.amitesh, raster, cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
8 years agoevas canvas: fix broken proxy clipping.
Hermet Park [Thu, 23 Jun 2016 15:48:34 +0000 (00:48 +0900)]
evas canvas: fix broken proxy clipping.

Origin of clipper's clipper won't be transformed to derivative space.
So it needs to transform the coordinate additionally.

8 years agoevas canvas: code refactoring.
Hermet Park [Thu, 23 Jun 2016 15:26:02 +0000 (00:26 +0900)]
evas canvas: code refactoring.

Compare integers clearly.

8 years agoexamples: emotion: make sure all callbacks are actually setup
Stefan Schmidt [Thu, 23 Jun 2016 12:07:29 +0000 (14:07 +0200)]
examples: emotion: make sure all callbacks are actually setup

In commit 3340745c65ef8b8361dc6eff5e746f7ce1104378 the callback array got
removed letting all callback functions around as unused. Somehow the setup
of all these callbacks have gone missing over various refactors.

8 years agoevas: Fix distcheck by disabling shaders generation
Jean-Philippe Andre [Thu, 23 Jun 2016 08:46:35 +0000 (17:46 +0900)]
evas: Fix distcheck by disabling shaders generation

make distcheck is verified by checking the env var "top_distdir"
This is not a great solution but should work.

8 years agosvg/example: fixed typo in svg file name
Subhransu Mohanty [Thu, 23 Jun 2016 08:36:09 +0000 (17:36 +0900)]
svg/example: fixed typo in  svg file name

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agosvg/loader : Added parsing support for use and def node.
Subhransu Mohanty [Thu, 23 Jun 2016 08:35:55 +0000 (17:35 +0900)]
svg/loader : Added parsing support for use and def node.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agowin: Add property accel_preference
Jean-Philippe Andre [Thu, 23 Jun 2016 02:06:22 +0000 (11:06 +0900)]
win: Add property accel_preference

It supports the same syntax as the config value, but
overrides it. This provides a more convenient way to select
the acceleration for a single window.

Its get() value should be what was effective when the window was
created. So it can depend on the config or a previous call
to set().

@feature

8 years agoexamples: elementary: remove unused variable
Stefan Schmidt [Thu, 23 Jun 2016 08:34:27 +0000 (10:34 +0200)]
examples: elementary: remove unused variable

If we are not using something we should not keep it in the code base.
Git history has it all.

8 years agoexamples: rename eio_job to efl_io_manager, finish a job half done
Stefan Schmidt [Thu, 23 Jun 2016 08:30:57 +0000 (10:30 +0200)]
examples: rename eio_job to efl_io_manager, finish a job half done

This rename was missing in the examples. Running make examples or even a
simple grep shows this. I expect higher b0rking skills by now. :)

8 years agoedje_text: fix the fit calculation for different text size
Vyacheslav Reutskiy [Thu, 23 Jun 2016 06:10:07 +0000 (09:10 +0300)]
edje_text: fix the fit calculation for different text size

Fixed T3569

@fix

8 years agoelm code: check return value from elm_layout_theme_set
Amitesh Singh [Thu, 23 Jun 2016 03:57:46 +0000 (09:27 +0530)]
elm code: check return value from elm_layout_theme_set

CID: 1356991

8 years agosvg_loader: Fixed the parsing of style attribute in g node as well as inheriting...
Subhransu Mohanty [Thu, 23 Jun 2016 01:11:46 +0000 (10:11 +0900)]
svg_loader: Fixed the parsing of style attribute in g node as well as inheriting style attribute from parent.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

8 years agoelm_entry: fix duplicate text set
WooHyun Jung [Thu, 23 Jun 2016 01:07:33 +0000 (10:07 +0900)]
elm_entry: fix duplicate text set

Summary:
When user set text to entry, "changed" smart callback is invoked 2 times.
Because entry set to ""(empty string) and append text internally.
But, in a recent, set flag is added for _entry_text_append().
So, empty string set is does not needed before appending.

@fix

Test Plan:
- elm_entry_entry_set(entry, "text") : 2 times invoked (bug)
- elm_object_part_text_set(entry, NULL, "text") : 2 times invoked (bug)
- elm_object_part_text_set(entry, "elm.text", "text") : 1 times invoked

Reviewers: herdsman, tasn, id213sin, woohyun

Reviewed By: woohyun

Subscribers: cedric, jpeg

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

8 years agoecore: fix arguments to use Eo native array type.
Cedric BAIL [Wed, 22 Jun 2016 21:36:39 +0000 (14:36 -0700)]
ecore: fix arguments to use Eo native array type.

8 years agoeio: register one Efl_Io_Manager by default on the main loop at init time.
Cedric BAIL [Thu, 16 Jun 2016 22:14:12 +0000 (15:14 -0700)]
eio: register one Efl_Io_Manager by default on the main loop at init time.

8 years agoeio: rename eio_job to efl_io_manager.
Cedric BAIL [Thu, 16 Jun 2016 22:13:22 +0000 (15:13 -0700)]
eio: rename eio_job to efl_io_manager.

There is still a lot of work to do in this API to make it efficient and
stable. Will try to get at it before 1.18 release.

8 years agoecore: add test for registered provider.
Cedric BAIL [Thu, 16 Jun 2016 22:10:49 +0000 (15:10 -0700)]
ecore: add test for registered provider.

8 years agoecore: add ability for the main loop to provide other class of object.
Cedric BAIL [Thu, 16 Jun 2016 18:38:47 +0000 (11:38 -0700)]
ecore: add ability for the main loop to provide other class of object.

8 years agodocs: update gendoc.lua to latest eolian API
Daniel Kolesa [Wed, 22 Jun 2016 16:46:29 +0000 (17:46 +0100)]
docs: update gendoc.lua to latest eolian API

8 years agoelm win: only set wl cursors on mouse in to the window area
Mike Blumenkrantz [Wed, 22 Jun 2016 15:17:36 +0000 (11:17 -0400)]
elm win: only set wl cursors on mouse in to the window area

in the case of csd regions, canvas mouse in != window mouse in

ref T3819

8 years agoelm win: set input regions for wl windows again
Mike Blumenkrantz [Wed, 22 Jun 2016 15:16:58 +0000 (11:16 -0400)]
elm win: set input regions for wl windows again

this seems to have been lost at some point and was breaking input

ref T3819

8 years agoUi text: Add an editable variant (tiny wrapper).
Tom Hacohen [Wed, 22 Jun 2016 13:22:27 +0000 (14:22 +0100)]
Ui text: Add an editable variant (tiny wrapper).

As part of this commit, also add a way to change whether the widget is
editable or not.

8 years agoCanvas text: Add missing cursor changed callbacks.
Tom Hacohen [Wed, 22 Jun 2016 12:43:02 +0000 (13:43 +0100)]
Canvas text: Add missing cursor changed callbacks.

In some cases we were changing the cursors but not emitting callbacks.
This should fix that.

8 years agoCanvas text: Don't call callbacks while cursors are in inconsistent states.
Tom Hacohen [Wed, 22 Jun 2016 12:42:26 +0000 (13:42 +0100)]
Canvas text: Don't call callbacks while cursors are in inconsistent states.

The issue is that in some cases we were calling user code (callbacks)
when some of the nodes were referencing already deleted text nodes. This
caused invalid memory access. This commit delays the callback calling
until after all of the cursors got into a consistent legal state.

8 years agoelc_combobox.c: apply style to inner parts of combobox like entry and genlist
Vitalii Vorobiov [Wed, 22 Jun 2016 11:37:28 +0000 (14:37 +0300)]
elc_combobox.c: apply style to inner parts of combobox like entry and genlist

this will allow to make more custom styles and themes for combobox

@fix

8 years agoevas 3d: Fix shaders compilation (parallax and normal)
Jean-Philippe Andre [Wed, 22 Jun 2016 05:27:20 +0000 (14:27 +0900)]
evas 3d: Fix shaders compilation (parallax and normal)

My nvidia EGL driver coultn't compile some shaders because of
the error:
  error C1059: non constant expression in initialization

The proposed patch at D4068 is not acceptable since it just
brings the original problem back. Instead, make sure all vec3
variables are initialized in main() or another function, not in
the global scope.

I tested all examples in evas

8 years agoevas 3d: Fix shaders generation script
Jean-Philippe Andre [Wed, 22 Jun 2016 04:40:18 +0000 (13:40 +0900)]
evas 3d: Fix shaders generation script

8 years agoevas: Fix crash in Efl.Ui.Box
Jean-Philippe Andre [Wed, 22 Jun 2016 01:53:37 +0000 (10:53 +0900)]
evas: Fix crash in Efl.Ui.Box

This goes back to a stupid comment I made in 93fad2a19f2507a:
  No idea why evas_box was overwriting smart_data.get
  (esp. since it was returning a private struct).
Well, it turns out the struct is NOT private and the smart
data pointer can be used by any user of evas box (including
Efl.Ui.Box).

Fixes T3926

8 years agoeolian-cxx: Added stringshare
Felipe Magno de Almeida [Tue, 21 Jun 2016 19:35:09 +0000 (16:35 -0300)]
eolian-cxx: Added stringshare

8 years agoelementary: Use callback array for monitoring callbacks in fileselector
Vitor Sousa [Tue, 21 Jun 2016 16:58:47 +0000 (13:58 -0300)]
elementary: Use callback array for monitoring callbacks in fileselector

Use callback array to register/unregister monitoring callbacks in
fileselector for added safety and consistency.

8 years agoevas-drm: Reset current buffer state when pageflip completes
Chris Michael [Tue, 21 Jun 2016 16:59:30 +0000 (12:59 -0400)]
evas-drm: Reset current buffer state when pageflip completes

When an fbo pageflip finishes, we should be marking the current fbo
(one just sent) as no longer busy since it's already been pixel
blasted to the screen. Also, if we fail to flip to a given fbo during
buffer swap, then don't leave that fbo marked as busy since it is
technically not in use

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoecore-drm2: Fix redrawing screen when we vt-switch back to a session
Chris Michael [Tue, 21 Jun 2016 16:55:17 +0000 (12:55 -0400)]
ecore-drm2: Fix redrawing screen when we vt-switch back to a session

When we vt-switch away from a running session, we need to disable
rendering to an output and re-enable when we switch back. This patch
set essentially makes vt-switching work again in Enlightenment Wayland.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoelput: Support suspending and resuming inputs on vt switch
Chris Michael [Tue, 21 Jun 2016 16:46:29 +0000 (12:46 -0400)]
elput: Support suspending and resuming inputs on vt switch

This patch fixes an issue where input would stop working when you
vt-switch away and back again in a running Enlightenment Wayland
session. Basically, when we vt-switch away, we need to tell libinput
to suspend input event processing, and when we return to re-enable it.

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoevas-drm: Remove improper EINA_UNUSED for function parameter
Chris Michael [Tue, 21 Jun 2016 16:07:16 +0000 (12:07 -0400)]
evas-drm: Remove improper EINA_UNUSED for function parameter

'fd' is actually used in the call to WaitVBlank, so do not mark it as
EINA_UNUSED

Signed-off-by: Chris Michael <cpmichael@osg.samsung.com>
8 years agoexamples: evas3d: fix out of range array
Oleksandr Shcherbina [Tue, 21 Jun 2016 15:40:27 +0000 (17:40 +0200)]
examples: evas3d: fix out of range array

Missing parenthesis have been leading to an out of bound access here.

Summary: @fix

Reviewers: stefan_schmidt

Subscribers: cedric, jpeg

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

8 years agoexamples: evas: put define into config_h guards to avoid redefinition
Stefan Schmidt [Tue, 21 Jun 2016 15:05:48 +0000 (17:05 +0200)]
examples: evas: put define into config_h guards to avoid redefinition

evas-images5.c:19:0: warning: "EFL_BETA_API_SUPPORT" redefined
 #define EFL_BETA_API_SUPPORT
 ^
 In file included from evas-images5.c:14:0:
 ../../../config.h:360:0: note: this is the location of the previous definition
  #define EFL_BETA_API_SUPPORT 1

We should only define it when we are not using config.h

8 years agoexamples: evas3d: uniform use of config.h include or manual defines
Stefan Schmidt [Tue, 21 Jun 2016 15:01:16 +0000 (17:01 +0200)]
examples: evas3d: uniform use of config.h include or manual defines

My recent removal of the EFL_EO_API_SUPPORT define brought some trouble to the
evas 3d examples. The problem was that there was no uniform usage of including
config.h and thus it worked fine in some constellations abut not in others. This
patch should fix the known problems and brings back EFL_EO_API_SUPPORT until we
are removing it from the whole code base.

8 years agobuild: clean generated js and lua files manually to avoid problems with CLEANFILES
Stefan Schmidt [Tue, 21 Jun 2016 14:13:17 +0000 (16:13 +0200)]
build: clean generated js and lua files manually to avoid problems with CLEANFILES

We hit another argument too long error with CLEANFILES. Moving the generated
files for js and lua into separated variables and cleaning them manually fixes
the issue.

8 years agoeolian: implement a stringshare builtin
Daniel Kolesa [Tue, 21 Jun 2016 13:41:18 +0000 (14:41 +0100)]
eolian: implement a stringshare builtin

This implements a new builtin, stringshare, which is replaced with the right
pointer to Eina_Strinshare as necessary. This allows simplifying binding code
(it can call the proper eina APIs, deal with lifetime etc).

It also removes the extern Eina.Stringshare typedef from eina_types.eot, which
was actually incorrect and would generate invalid code in binding generators.

@feature @fix

8 years agoexamples: edje: rename new svg test file to its correct name
Stefan Schmidt [Tue, 21 Jun 2016 08:58:54 +0000 (10:58 +0200)]
examples: edje: rename new svg test file to its correct name

The code does reference a bojo.svg file so does the build system. Rename
bozo.svg to its correct name.

8 years agoCanvas text: revert new behavior on text append
Daniel Hirt [Mon, 20 Jun 2016 21:12:35 +0000 (21:12 +0000)]
Canvas text: revert new behavior on text append

This was discussed and still wasn't decided whether this is required to be
supported internally.
The reason for this revert is that the behavior still needs tweaking to work
just right along with the legacy behavior.

8 years agoCanvas text cursor: fix text insertion
Daniel Hirt [Mon, 20 Jun 2016 16:54:43 +0000 (16:54 +0000)]
Canvas text cursor: fix text insertion

The cursor update hasn't considered when the pararaph is broken. The reason the
code path is different from legacy is because that it was originally intended to
support append and prepend operations in the new API. Since we don't anymore
(only supporting append operations in the new cursor with 'text_insert'), we can
simplify the insertion implementation and fix this.

8 years agoCanvas text cursor: remove redefinition, already in legacy.
Daniel Hirt [Mon, 20 Jun 2016 11:31:36 +0000 (11:31 +0000)]
Canvas text cursor: remove redefinition, already in legacy.

8 years agoevas: Fix redefinition of Efl_Canvas_Object type
Jean-Philippe Andre [Tue, 21 Jun 2016 07:28:41 +0000 (16:28 +0900)]
evas: Fix redefinition of Efl_Canvas_Object type

8 years agoevas: Remove common interface and use provider_find
Jean-Philippe Andre [Tue, 21 Jun 2016 06:45:31 +0000 (15:45 +0900)]
evas: Remove common interface and use provider_find

Evas.Common_Interface not only had a bad name, it also
wasn't in line with how we can get a loop object, for
instance.

Use eo_provider_find in each implementing class.

8 years agoedje: Fix compilation of svg example (add -beta)
Jean-Philippe Andre [Tue, 21 Jun 2016 05:49:26 +0000 (14:49 +0900)]
edje: Fix compilation of svg example (add -beta)

8 years agosvg: added support for parsing and showing of polyline data.
Subhransu Mohanty [Tue, 21 Jun 2016 05:42:43 +0000 (14:42 +0900)]
svg: added support for parsing and showing of polyline data.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoefl/interface: fixed scubic_to and quad_to implementation.
Subhransu Mohanty [Tue, 21 Jun 2016 05:42:35 +0000 (14:42 +0900)]
efl/interface: fixed scubic_to and quad_to implementation.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoedje/example: Added example for testing vector part with svg images.
Subhransu Mohanty [Tue, 21 Jun 2016 05:42:28 +0000 (14:42 +0900)]
edje/example: Added example for testing vector part with svg images.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoevas: Rename Evas.Object to Efl.Canvas.Object
Jean-Philippe Andre [Tue, 21 Jun 2016 04:26:15 +0000 (13:26 +0900)]
evas: Rename Evas.Object to Efl.Canvas.Object

One step closer to make the EO inheritance tree look like
it's all Efl.

8 years agoelm: Fix obvious warning (leak / typo)
Jean-Philippe Andre [Tue, 21 Jun 2016 04:29:28 +0000 (13:29 +0900)]
elm: Fix obvious warning (leak / typo)

warning: ignoring return value of function declared with
warn_unused_result attribute [-Wunused-result]

Thanks GCC for pointing out the leak.

8 years agoexamples: Fix misuse of evas image api on canvas 3d
Jean-Philippe Andre [Tue, 21 Jun 2016 01:16:27 +0000 (10:16 +0900)]
examples: Fix misuse of evas image api on canvas 3d

image_size_set is for legacy images

8 years agoecore: Fix _ecore_animator_shutdown (double free)
Jean-Philippe Andre [Tue, 21 Jun 2016 01:14:13 +0000 (10:14 +0900)]
ecore: Fix _ecore_animator_shutdown (double free)

evas 3d examples would always exit on a double free, since
EINA_INLIST_FREE was misused. Not surprising considering
it's different from EINA_LIST_FREE but has a similar name.

8 years agoeolian-cxx: Remove Eina_Bool from event function wrapper
Felipe Magno de Almeida [Mon, 20 Jun 2016 22:35:50 +0000 (19:35 -0300)]
eolian-cxx: Remove Eina_Bool from event function wrapper

8 years agoelementary: remove wrong documentation for Elm.Widget.focus
Vitor Sousa [Mon, 20 Jun 2016 19:28:09 +0000 (21:28 +0200)]
elementary: remove wrong documentation for Elm.Widget.focus

Fixes T3717.

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, jpeg

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

8 years agoEo event: Add a test for stopping callbacks within another callback.
Tom Hacohen [Mon, 20 Jun 2016 16:57:52 +0000 (17:57 +0100)]
Eo event: Add a test for stopping callbacks within another callback.

This tests that stopping callbacks is correctly preserved inside the
call and does not affect any surrounding callback calls.

8 years agoAdjust the code according to the eo event stop changes.
Tom Hacohen [Mon, 20 Jun 2016 14:31:31 +0000 (15:31 +0100)]
Adjust the code according to the eo event stop changes.

This was changed in the previous commit.

8 years agoEo event callbacks: Change the way callbacks are stopped.
Tom Hacohen [Mon, 20 Jun 2016 09:37:02 +0000 (10:37 +0100)]
Eo event callbacks: Change the way callbacks are stopped.

Instead of using the return value, we now use eo_event_callback_stop()
to stop calling other callbacks.

8 years agoEo callback call: Fix misleading docs.
Tom Hacohen [Mon, 20 Jun 2016 14:58:45 +0000 (15:58 +0100)]
Eo callback call: Fix misleading docs.

8 years agoevas: native-tbm: remove unused variable
Stefan Schmidt [Mon, 20 Jun 2016 14:07:20 +0000 (16:07 +0200)]
evas:  native-tbm: remove unused variable

The variable was set but never used in this function.

8 years agoedje_util: make sure we have an initialized return value
Stefan Schmidt [Mon, 20 Jun 2016 14:06:29 +0000 (16:06 +0200)]
edje_util: make sure we have an initialized return value

8 years agoedje_util: mark parameter as unused
Stefan Schmidt [Mon, 20 Jun 2016 14:05:36 +0000 (16:05 +0200)]
edje_util: mark parameter as unused

8 years agoEdje, Elementary: Remove <password=off> tag when password mode is disabled
Youngbok Shin [Mon, 20 Jun 2016 12:11:25 +0000 (21:11 +0900)]
Edje, Elementary: Remove <password=off> tag when password mode is disabled

Summary:
When edje_password_show_last option is enabled, the edje_entry uses <password=off>
for showing last character. But, when password mode is disabled by the elm_entry,
<password=off> is remained in the text. It can cause some problems.

Because, there is no way to control password mode by API for the edje_entry.
The elm_entry can't remove <password=off> tag before getting text from the edje_entry.
So, the patch adds edje_object_part_text_hide_visible_password() function and
the elm_entry will use this when elm_layout_theme_apply() is called.
@fix

Test Plan:
1. Run "elementary_test".
2. Show "Entry Password" demo. (Newly added by this patch)
3. Password mode is enabled. Put some text.
4. Click "Show Password" check box to disable password mode.
5. Put more text.
6. Click "Hide Password" check box to enable password mode again.
7. See a character among the text is visible. (without this patch)

Reviewers: tasn, herdsman, cedric, jpeg, thiepha, raster

Reviewed By: raster

Subscribers: Blackmole, z-wony, woohyun

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

8 years agoelm_access: override elm_interface_atspi_widget_action_elm_actions_get
Shinwoo Kim [Mon, 20 Jun 2016 06:45:33 +0000 (15:45 +0900)]
elm_access: override elm_interface_atspi_widget_action_elm_actions_get

Summary: override elm_interface_atspi_widget_action_elm_actions_get to support what elm_access_action offers

Reviewers: cedric, jpeg, stanluk, raster

Reviewed By: raster

Subscribers: seoz

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

8 years agoevas gl: Fix invalid argument
Jean-Philippe Andre [Mon, 20 Jun 2016 12:08:58 +0000 (21:08 +0900)]
evas gl: Fix invalid argument

GCC didn't warn where it should have :(
Luckily the previous code worked just as well as the value
of EINA_TRUE and EVAS_GL_GLES_1_X are the same (1).

8 years agoefl.ui.image: Fix min size of non-resizable images
Jean-Philippe Andre [Mon, 20 Jun 2016 11:05:52 +0000 (20:05 +0900)]
efl.ui.image: Fix min size of non-resizable images

Legacy API was setting a value that was not used in the size
computation.

This fixes the layout in elm_test "Icon Animation".

8 years agoeo: remove now longer needed EO_BASE_BETA define from code base
Stefan Schmidt [Mon, 20 Jun 2016 07:40:45 +0000 (09:40 +0200)]
eo: remove now longer needed EO_BASE_BETA define from code base

This was needed when the eo composite object was still in beta. Since commit
d7c45e41d4a911b160d2c24c13f243d0c7de25a3 this is no longer the case. No beta
part left in eo base so we can safely remove this define.

8 years agoecore_evas: Try to fix mouse events on Windows
Jean-Philippe Andre [Mon, 20 Jun 2016 07:26:52 +0000 (16:26 +0900)]
ecore_evas: Try to fix mouse events on Windows

See also de5f293426965f9dc19 and T3789

I wrongly assumed that multi.{x,y} would be properly set.
I'm assuming here that multi.{x,y} == (0,0) means they are
not set, and that double comparison to 0 works fine.

8 years agoevas: Fix usage of fill_set
Jean-Philippe Andre [Mon, 20 Jun 2016 06:47:07 +0000 (15:47 +0900)]
evas: Fix usage of fill_set

efl.gfx.fill will reset the filled flag, so the internal function
needs to be called instead of the gfx api.

This test error was added in a very recent commit: ccaf12e1b66b2b49.

8 years agoevas 3d: Fix shader compilation with EGL
Jean-Philippe Andre [Mon, 20 Jun 2016 06:25:09 +0000 (15:25 +0900)]
evas 3d: Fix shader compilation with EGL

This fixes the following error:
 error C1059: non constant expression in initialization

It happened with the hedgehog example: evas_canvas3d_aabb

8 years agoevas: Fix regeneration of shaders (normal and 3d)
Jean-Philippe Andre [Mon, 20 Jun 2016 05:47:39 +0000 (14:47 +0900)]
evas: Fix regeneration of shaders (normal and 3d)

This will trigger a re-run of the shaders shell scripts even
in case of out-of-tree builds. BUILT_SOURCES is used here
because for whatever reason make does not rebuild the .x targets
in case of out-of-tree builds (even if the timestamps of
the dependencies have changed).

8 years agoevas: Improve debug logs (print shader code)
Jean-Philippe Andre [Mon, 20 Jun 2016 05:19:30 +0000 (14:19 +0900)]
evas: Improve debug logs (print shader code)

8 years agoevas: Use efl_gfx APIs where appropriate
Jean-Philippe Andre [Mon, 20 Jun 2016 05:11:32 +0000 (14:11 +0900)]
evas: Use efl_gfx APIs where appropriate

This is a better fix than the previous patch, as it keeps
the legacy API check. The point of that check is: if the object
has been created with legacy API (evas_object_image_[filled_]add,
then legacy APIs are allowed, otherwise they are disallowed. This
means only EO APIs should be used on an eo_add() image object.

8 years agoevas: Fix type checking for legacy APIs
Jean-Philippe Andre [Mon, 20 Jun 2016 05:04:09 +0000 (14:04 +0900)]
evas: Fix type checking for legacy APIs

This should fix canvas 3d examples (that were calling fill_set
and evas would reject with "object is not an image").

8 years agoedje: Fix double clicks
Jean-Philippe Andre [Mon, 20 Jun 2016 04:37:56 +0000 (13:37 +0900)]
edje: Fix double clicks

This fixes T3895

8 years agoelm_combobox/video: remove EO_BASE_BETA
Amitesh Singh [Mon, 20 Jun 2016 04:27:20 +0000 (09:57 +0530)]
elm_combobox/video: remove EO_BASE_BETA

composite_attach() is no more a beta API after d7c45e41d4a911b16

8 years agoelm: Add internal eo files to EXTRA_DIST
Jean-Philippe Andre [Mon, 20 Jun 2016 03:06:12 +0000 (12:06 +0900)]
elm: Add internal eo files to EXTRA_DIST

This should fix make distcheck

8 years agoelm: Fix default image scale type
Jean-Philippe Andre [Mon, 20 Jun 2016 02:18:18 +0000 (11:18 +0900)]
elm: Fix default image scale type

Elementary image used to respect aspect ratio by default,
corresponding to the fit_inside policy.

Fixes T3914.

8 years agoedje_load: fixed adding ellipse shape data.
Subhransu Mohanty [Mon, 20 Jun 2016 01:13:03 +0000 (10:13 +0900)]
edje_load: fixed adding ellipse shape data.

Reviewers: cedric, jpeg

Reviewed By: jpeg

Subscribers: cedric, jpeg

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

8 years agoevas: fix double define
Marcel Hollerbach [Sun, 19 Jun 2016 09:32:05 +0000 (11:32 +0200)]
evas: fix double define

/usr/local-efl/include/evas-1/Evas_Legacy.h:3762:30: warning: redefinition of typedef 'Evas_Load_Error'
      is a C11 feature [-Wtypedef-redefinition]
typedef Efl_Image_Load_Error Evas_Load_Error;
                             ^
/usr/local-efl/include/evas-1/Evas_Loader.h:126:30: note: previous definition is here
typedef Efl_Image_Load_Error Evas_Load_Error;
                             ^

thank you jpeg :P

8 years agoelementary: Fix fileselector directory monitoring events
Vitor Sousa [Fri, 17 Jun 2016 19:40:49 +0000 (16:40 -0300)]
elementary: Fix fileselector directory monitoring events

@fix

8 years agoEo: Take composite out of beta.
Tom Hacohen [Fri, 17 Jun 2016 18:22:25 +0000 (19:22 +0100)]
Eo: Take composite out of beta.

This has proved itself very useful, and is used all around our API.
It does not make sense to keep it as beta.

8 years agoEfl: Fix a build break
Jean-Philippe ANDRE [Fri, 17 Jun 2016 11:34:55 +0000 (20:34 +0900)]
Efl: Fix a build break

Strange doc reference has decided to break the build now.
Not sure why it worked before and not anymore...