platform/upstream/efl.git
6 years agowayland: use eina array for ecore-evas event handlers
Mike Blumenkrantz [Tue, 17 Oct 2017 15:32:57 +0000 (11:32 -0400)]
wayland: use eina array for ecore-evas event handlers

thx to @jpeg for reporting how dumb this was

6 years agoelm_config: add offline and powersave config members
Mike Blumenkrantz [Mon, 16 Oct 2017 19:41:26 +0000 (15:41 -0400)]
elm_config: add offline and powersave config members

these will be used by enlightenment in the future to notify applications of
global system states

@feature

6 years agowayland: fix window stack implementation
Mike Blumenkrantz [Fri, 4 Aug 2017 20:08:42 +0000 (16:08 -0400)]
wayland: fix window stack implementation

ref T5350

6 years agoeolian: make inherits_get return a list of classes, not strings
Daniel Kolesa [Wed, 25 Oct 2017 14:23:57 +0000 (16:23 +0200)]
eolian: make inherits_get return a list of classes, not strings

Most of the time you need to retrieve the class from the string
anyway, so remove this relic of old Eolian and gain some small
performance benefits and extra convenience.

Subtly breaks API but everything should be updated.

6 years agoeolian: add part definition
Daniel Kolesa [Wed, 25 Oct 2017 14:08:28 +0000 (16:08 +0200)]
eolian: add part definition

6 years agogenlist: Simplify some logic
Jean-Philippe Andre [Tue, 24 Oct 2017 07:53:18 +0000 (16:53 +0900)]
genlist: Simplify some logic

Item prev/next/first/last.

If true, break, else, break.
EO_OBJ(x) is safe on NULL.
Add a simple macro to simplify inlist handling.
Overall simplify the code.

6 years agoeina_matrix: Fix doxygen warnings
Jaehyun Cho [Wed, 25 Oct 2017 12:35:27 +0000 (21:35 +0900)]
eina_matrix: Fix doxygen warnings

Change-Id: I7e697bae24170422d6253f91ce089d9485bd0e64

6 years agoelm_box: only allow focus to widgets of a box
Marcel Hollerbach [Wed, 25 Oct 2017 12:29:31 +0000 (14:29 +0200)]
elm_box: only allow focus to widgets of a box

all other should not get focus

6 years agoelm_multibuttonentry: it cannot handle focus itself
Marcel Hollerbach [Wed, 25 Oct 2017 12:27:52 +0000 (14:27 +0200)]
elm_multibuttonentry: it cannot handle focus itself

the box in it is, so no need for can_focus == true.
This fixes the basic usage, however the order is sometimes a bit
screwed. Commits will follow.

6 years agoelm_main: make sure we dont go deeper than the widget top level
Marcel Hollerbach [Wed, 25 Oct 2017 12:17:01 +0000 (14:17 +0200)]
elm_main: make sure we dont go deeper than the widget top level

6 years agoelm_multibuttonentry: do not eat all the events
Marcel Hollerbach [Wed, 25 Oct 2017 11:57:32 +0000 (13:57 +0200)]
elm_multibuttonentry: do not eat all the events

I have no idea why it was doing that, but that ends up eating all the
events, not propagating them up to the parent ... If someone has a idea
why it was like that, feel free to notify.

6 years agoevas/vg: Added align, viewbox and fill_mode property to the vg canvas
subhransu mohanty [Wed, 25 Oct 2017 11:16:17 +0000 (20:16 +0900)]
evas/vg: Added align, viewbox and fill_mode property to the vg canvas

Summary:
viewbox, fill_mode and align property required to scale the vg tree that
we get from the svg file or manually created depending on the vg canvas
size.

Reviewers: jpeg, cedric

Subscribers: jenkins, cedric

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

6 years agoeolian: enable duplicate validation but only warn for now
Daniel Kolesa [Wed, 25 Oct 2017 11:03:20 +0000 (13:03 +0200)]
eolian: enable duplicate validation but only warn for now

Use the EOLIAN_WARN_FUNC_DUPLICATES environment variable to enable
those warnings.

6 years agoeina_log: add parameter description on "eina_log_level_check"'s annotation
JinYong Park [Wed, 25 Oct 2017 10:09:56 +0000 (19:09 +0900)]
eina_log: add parameter description on "eina_log_level_check"'s annotation

Summary:
In eina_log_level_check's annotation, parameter description is missing,
so warning is occurred on doxygen

Test Plan: API Doxygen Revision

Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho

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

6 years agoeina_file: fix space location in annotation
JinYong Park [Wed, 25 Oct 2017 10:09:45 +0000 (19:09 +0900)]
eina_file: fix space location in annotation

Summary: Space character is located in wrong position, so it occur doxygen warning

Test Plan: API Doxygen Revision

Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho

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

6 years agoefl_ui_calendar: create new efl_ui_calendar
WooHyun Jung [Wed, 25 Oct 2017 07:42:39 +0000 (16:42 +0900)]
efl_ui_calendar: create new efl_ui_calendar

Summary:
This calendar widget will support basic functionality of calendar.
I've separated this widget from elm_calendar since elm_calendar had
lots of unuseful things inside.

Reviewers: jpeg, singh.amitesh, cedric, CHAN, Jaehyun_Cho

Subscribers: cedric, jpeg

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

6 years agocalendar: Remove unused code
Jean-Philippe Andre [Wed, 25 Oct 2017 06:56:44 +0000 (15:56 +0900)]
calendar: Remove unused code

6 years agoefl_ui_clock: changed property name from value to time
WooHyun Jung [Wed, 25 Oct 2017 07:44:25 +0000 (16:44 +0900)]
efl_ui_clock: changed property name from value to time

6 years agoEfl.Ui.Slider: call format_free_cb() when object destroys
Amitesh Singh [Wed, 25 Oct 2017 07:30:02 +0000 (16:30 +0900)]
Efl.Ui.Slider: call format_free_cb() when object destroys

fix mistake done in previous patch 8661fe234c7e68b

6 years agoEfl.Ui.Slider: implement format_cb for units
Amitesh Singh [Tue, 24 Oct 2017 07:36:03 +0000 (16:36 +0900)]
Efl.Ui.Slider: implement format_cb for units

Ref T6204

6 years agoefl_animation: Remove duration_only_set and total_duration_set methods
Jaehyun Cho [Wed, 25 Oct 2017 05:54:41 +0000 (14:54 +0900)]
efl_animation: Remove duration_only_set and total_duration_set methods

Remove unnecessary methods, duration_only_set and total_duration_set.

6 years agoEvil: really drop Windows XP support
Vincent Torri [Tue, 24 Oct 2017 23:12:09 +0000 (16:12 -0700)]
Evil: really drop Windows XP support

Summary: set WINVER macro to at least Vista macro value

Test Plan: compilation

Reviewers: cedric

Subscribers: jpeg

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

6 years agoeolian: only check for validation where really necessary
Daniel Kolesa [Tue, 24 Oct 2017 21:41:59 +0000 (23:41 +0200)]
eolian: only check for validation where really necessary

6 years agoeolian: check for inheritance tree function conflicts
Daniel Kolesa [Tue, 24 Oct 2017 21:39:14 +0000 (23:39 +0200)]
eolian: check for inheritance tree function conflicts

Now a class cannot define a method/property of some name if there
already is something of the same name within the inheritance tree.

6 years agoeolian: validate classes in a recursive manner
Daniel Kolesa [Tue, 24 Oct 2017 21:19:22 +0000 (23:19 +0200)]
eolian: validate classes in a recursive manner

This allows for proper order of validation which will improve our
performance when also validating for name duplicates.

6 years agoeolian: keep track of which objects are validated
Daniel Kolesa [Tue, 24 Oct 2017 15:48:57 +0000 (17:48 +0200)]
eolian: keep track of which objects are validated

6 years agoelm_widget: also delay focus set if something is not registered
Marcel Hollerbach [Tue, 24 Oct 2017 15:27:53 +0000 (17:27 +0200)]
elm_widget: also delay focus set if something is not registered

this fixes a infinite loop

6 years agoefl_ui_focus_manager: reset when a redirect is unset
Marcel Hollerbach [Tue, 24 Oct 2017 15:27:10 +0000 (17:27 +0200)]
efl_ui_focus_manager: reset when a redirect is unset

this keeps the history clear

6 years agoeolian: initial parsing for parts in eo files
Daniel Kolesa [Tue, 24 Oct 2017 15:32:58 +0000 (17:32 +0200)]
eolian: initial parsing for parts in eo files

6 years agoexamples: eina strbuf - fix the example
Amitesh Singh [Tue, 24 Oct 2017 13:48:01 +0000 (22:48 +0900)]
examples: eina strbuf - fix the example

6 years agoelm: rename elm_multibuttonentry to Efl.Ui.Multibuttonentry
Woochan Lee [Fri, 15 Sep 2017 08:13:30 +0000 (17:13 +0900)]
elm: rename elm_multibuttonentry to Efl.Ui.Multibuttonentry

Summary: @ref T5358

Reviewers: woohyun, jpeg, cedric, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: Jaehyun, bu5hm4n, cedric, jpeg

Maniphest Tasks: T5358

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

JP's note:
MBE currently has quite a few issues, probably related to focus
handling. This needs to be fixed.

6 years agoevas: Fix oopsie in previous patch (evas vg)
Jean-Philippe Andre [Tue, 24 Oct 2017 07:03:00 +0000 (16:03 +0900)]
evas: Fix oopsie in previous patch (evas vg)

Ref 880dd63a0c884642a0f87aa3a08338a7b244e37a

6 years agodoc: add missing parameters and fix references for some elm widgets
Thiep Ha [Tue, 24 Oct 2017 06:13:07 +0000 (15:13 +0900)]
doc: add missing parameters and fix references for some elm widgets

6 years agodoc: enable elementary_examples building
Thiep Ha [Tue, 24 Oct 2017 03:09:19 +0000 (12:09 +0900)]
doc: enable elementary_examples building

The elementary examples were built before, but not now.
I guess it was missed when we merged elementary to efl source tree.
This enables it and fixes some references.

6 years agoexample: improve location example, fix crash
Prince Kumar Dubey [Tue, 24 Oct 2017 06:29:22 +0000 (15:29 +0900)]
example: improve location example, fix crash

Summary: Printing Address detail with Position. Label added to show the
detail of address.

Test Plan:
Compiled with cmd:
  gcc -o location_example_01 \
  location_example_01.c -g `pkg-config --cflags --libs elementary \
  elocation`

Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

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

6 years agoevas/vg: renamed the evas_vg class to efl_canvas_vg
subhransu mohanty [Tue, 24 Oct 2017 06:19:52 +0000 (15:19 +0900)]
evas/vg: renamed the evas_vg class to efl_canvas_vg

Reviewers: jpeg

Subscribers: jenkins, cedric

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

6 years agoelm: Use auto_unref for parts
Jean-Philippe Andre [Tue, 24 Oct 2017 05:43:43 +0000 (14:43 +0900)]
elm: Use auto_unref for parts

This avoids leaks.

6 years agowidget: Rename events to EFL_UI_WIDGET_EVENT_XXX
Jean-Philippe Andre [Tue, 24 Oct 2017 05:29:16 +0000 (14:29 +0900)]
widget: Rename events to EFL_UI_WIDGET_EVENT_XXX

This only affects the events (and the data type has an alias).

Ref T5363

6 years agowidget: Rename EO APIs to efl_ui_widget_xxx
Jean-Philippe Andre [Tue, 24 Oct 2017 05:03:46 +0000 (14:03 +0900)]
widget: Rename EO APIs to efl_ui_widget_xxx

This only changes the eo_prefix for APIs.

Ref T5363

6 years agoelm: add prefixes to Efl.Access.Action to avoid clashes
Lukasz Stanislawski [Tue, 24 Oct 2017 03:01:50 +0000 (12:01 +0900)]
elm: add prefixes to Efl.Access.Action to avoid clashes

Summary:
Prefix methods/properties of Efl.Access.Action mixin to avoid potential
clashes in genrated bindings.

This is first of series of patches removing potential name clashes
in accessibility interfaces.

Reviewers: jpeg

Subscribers: cedric

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

6 years agonstate: Remove some legacy code
Jean-Philippe Andre [Tue, 24 Oct 2017 02:13:51 +0000 (11:13 +0900)]
nstate: Remove some legacy code

This uses constructor/destructor instead of group_add/group_del.

Note: finalize can't be used for theme loading as any action done inside
efl_add(...) would be lost (eg. part text set).

6 years agoevas: add set function for root_node property.
subhransu mohanty [Mon, 23 Oct 2017 18:05:34 +0000 (11:05 -0700)]
evas: add set function for root_node property.

Summary:
Currently user ask for the root_node from the evas_vg object and then attach its tree by setting the root node as parent.
With this change this process will be explicit. user has to set the root node to the evas_vg object and the object will take the ownership
of the tree. User can query the current vg_tree by root_node_get api.

Test Plan:
        Fixed the test app to reflects this change.

Reviewers: jpeg, cedric

Reviewed By: jpeg, cedric

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoefl_animation: Remove unnecessary macro
Jaehyun Cho [Mon, 23 Oct 2017 04:58:59 +0000 (13:58 +0900)]
efl_animation: Remove unnecessary macro

6 years agoedje: add missing documentation.
Bowon Ryu [Mon, 23 Oct 2017 04:40:37 +0000 (13:40 +0900)]
edje: add missing documentation.

Summary: This adds missing doxgen documentation for Edje_Common.h

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

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

6 years agoeet: add missing documentation.
Bowon Ryu [Mon, 23 Oct 2017 04:40:27 +0000 (13:40 +0900)]
eet: add missing documentation.

Summary: This adds missing doxgen documentation for eet.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

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

6 years agoFix building on windows
Andy Williams [Sun, 22 Oct 2017 19:21:12 +0000 (20:21 +0100)]
Fix building on windows

@author vtorri

6 years agoecore_wl2: Remove just the flush from the idle handler
Derek Foreman [Sun, 22 Oct 2017 15:19:50 +0000 (10:19 -0500)]
ecore_wl2: Remove just the flush from the idle handler

Flushing should be done where it's needed now, but we still
need the rest of the idle handler as something like mesa may
have dispatched its queue, which reads all the pending wayland
events.  In that case we have events to process but the fd will
not poll readable.

@fix T6250

6 years agoRevert "ecore_wl2: Kill the wl idle enterer"
Derek Foreman [Sun, 22 Oct 2017 15:16:57 +0000 (10:16 -0500)]
Revert "ecore_wl2: Kill the wl idle enterer"

This reverts commit 57d5b5921e8a4a05f4a1b468f1cfed74d28b95f9.

We need the dispatch, not the flush...

6 years agoDocs location moved
Andy Williams [Sat, 21 Oct 2017 15:38:57 +0000 (16:38 +0100)]
Docs location moved

6 years agoelm_code_widget: make sure the widget is cleared properly.
Al Poole [Sat, 21 Oct 2017 00:28:06 +0000 (01:28 +0100)]
elm_code_widget: make sure the widget is cleared properly.

This ensures the widget is clearer if the file has been cleared.
@fix T6185

6 years agoelm_gengrid: add pseudo widget into the item if there are no focusable
Marcel Hollerbach [Fri, 20 Oct 2017 15:21:19 +0000 (17:21 +0200)]
elm_gengrid: add pseudo widget into the item if there are no focusable
widgets

6 years agoefl_ui_focus_manager: new api
Marcel Hollerbach [Fri, 20 Oct 2017 14:31:05 +0000 (16:31 +0200)]
efl_ui_focus_manager: new api

Can be used to fetch a focusable widget that has child as parent.

6 years agodocs: move write_include out of the writer backend
Daniel Kolesa [Fri, 20 Oct 2017 12:29:04 +0000 (14:29 +0200)]
docs: move write_include out of the writer backend

This is a large chunk shared between backends.

6 years agodocs: prepare for markdown gendoc backend
Daniel Kolesa [Fri, 20 Oct 2017 12:17:10 +0000 (14:17 +0200)]
docs: prepare for markdown gendoc backend

6 years agoefl_ui_focus_manager: unfocus even logical elements
Marcel Hollerbach [Fri, 20 Oct 2017 09:46:51 +0000 (11:46 +0200)]
efl_ui_focus_manager: unfocus even logical elements

entry for example is here a specialcase since it registeres itself as
logical with a redirect manager that is then empty and only has a root
element, which is again itself.

6 years agoelm_entry: correctly emit unfocus signals to the edje object
Marcel Hollerbach [Fri, 20 Oct 2017 09:45:07 +0000 (11:45 +0200)]
elm_entry: correctly emit unfocus signals to the edje object

6 years agoelm config - check if _elm_config is null - makes coveirty happy
Carsten Haitzler (Rasterman) [Fri, 20 Oct 2017 09:30:03 +0000 (18:30 +0900)]
elm config - check if _elm_config is null - makes coveirty happy

it really should never be null though... or else really bad things
just happened (allocations failed etc.)

6 years agoeina: silence warning.
Cedric BAIL [Thu, 19 Oct 2017 23:34:25 +0000 (16:34 -0700)]
eina: silence warning.

6 years agoevas: propagate object data to evas_object_inform_call_changed_size_hints instead...
Cedric BAIL [Thu, 19 Oct 2017 23:14:48 +0000 (16:14 -0700)]
evas: propagate object data to evas_object_inform_call_changed_size_hints instead of fetching it again.

6 years agoevas: propagate object data to evas_object_inform_call_restack instead of fetching...
Cedric BAIL [Thu, 19 Oct 2017 23:11:30 +0000 (16:11 -0700)]
evas: propagate object data to evas_object_inform_call_restack instead of fetching it again.

6 years agoevas: propagate object data to evas_object_inform_call_resize instead of fetching...
Cedric BAIL [Thu, 19 Oct 2017 23:07:39 +0000 (16:07 -0700)]
evas: propagate object data to evas_object_inform_call_resize instead of fetching it again.

6 years agoevas: propagate object data to evas_object_inform_call_hide instead of fetching it...
Cedric BAIL [Thu, 19 Oct 2017 23:05:30 +0000 (16:05 -0700)]
evas: propagate object data to evas_object_inform_call_hide instead of fetching it again.

6 years agoevas: propagate object data to evas_object_inform_call_show instead of fetching it...
Cedric BAIL [Thu, 19 Oct 2017 23:04:12 +0000 (16:04 -0700)]
evas: propagate object data to evas_object_inform_call_show instead of fetching it again.

6 years agoeolian: there should be nothing depending on efl config in our public header.
Cedric BAIL [Thu, 19 Oct 2017 20:41:32 +0000 (13:41 -0700)]
eolian: there should be nothing depending on efl config in our public header.

6 years agoeina: add Evil include on Windows as strndup is provided by it.
Cedric BAIL [Thu, 19 Oct 2017 20:40:36 +0000 (13:40 -0700)]
eina: add Evil include on Windows as strndup is provided by it.

6 years agoelua, js: also update build after evas changes
Daniel Kolesa [Thu, 19 Oct 2017 18:17:14 +0000 (20:17 +0200)]
elua, js: also update build after evas changes

6 years agocxx build: update after the evas gesture build fix
Daniel Kolesa [Thu, 19 Oct 2017 18:11:49 +0000 (20:11 +0200)]
cxx build: update after the evas gesture build fix

The changes in f334f2a5042734218d599f189fda615db47be766 also need
an update in the C++ build.

6 years agoeina: forgotten label on eina_file_unlink on Windows.
Cedric BAIL [Thu, 19 Oct 2017 17:28:31 +0000 (10:28 -0700)]
eina: forgotten label on eina_file_unlink on Windows.

6 years agoeina: downgrad ERR to WRN when not finding a file.
Cedric BAIL [Thu, 19 Oct 2017 17:26:26 +0000 (10:26 -0700)]
eina: downgrad ERR to WRN when not finding a file.

6 years agoevas build: fix installation paths for new gesture stuff
Daniel Kolesa [Thu, 19 Oct 2017 13:59:16 +0000 (15:59 +0200)]
evas build: fix installation paths for new gesture stuff

EFL-using things wouldn't build after addition of the new gesture
stuff because gesture headers would get installed into the
$PREFIX/evas-1/canvas instead of $PREFIX/evas-1/gesture
directory and Evas_Eo.h is including headers from the gesture/
directory. This fixes the problem by installing the headers into
their correct location.

Spanks go to @jpeg for not reviewing things properly.

6 years agoefl_ui_focus_manager_calc: really free all direction
Marcel Hollerbach [Thu, 19 Oct 2017 13:19:55 +0000 (15:19 +0200)]
efl_ui_focus_manager_calc: really free all direction

i must have been have asleep when i wrote this, we need to iterate all
directions not only to the max id of 4

6 years agoelm_gengrid: bring in item once focused
Marcel Hollerbach [Thu, 19 Oct 2017 12:15:08 +0000 (14:15 +0200)]
elm_gengrid: bring in item once focused

and select & focus the item where the widget is in

6 years agoelm_scroller: scroll to a focused element
Marcel Hollerbach [Thu, 19 Oct 2017 12:02:46 +0000 (14:02 +0200)]
elm_scroller: scroll to a focused element

6 years agoelm_interface_scrollable: do not scroll to a focused element by default
Marcel Hollerbach [Thu, 19 Oct 2017 12:02:11 +0000 (14:02 +0200)]
elm_interface_scrollable: do not scroll to a focused element by default

this can be done in the implementing other widgets

6 years agoelm_widget: update parent instead of unregister for the case of parent
Marcel Hollerbach [Thu, 19 Oct 2017 11:47:15 +0000 (13:47 +0200)]
elm_widget: update parent instead of unregister for the case of parent
change

This means we maintain the focus state over a parent change

6 years agoefl_ui_focus_parent_provider_gen: looks to get the last widget before
Marcel Hollerbach [Thu, 19 Oct 2017 11:29:03 +0000 (13:29 +0200)]
efl_ui_focus_parent_provider_gen: looks to get the last widget before
gengrid

This means we are garanteed to find the item

6 years agoelm_gengrid: force the item to be added _again_ as subobj
Marcel Hollerbach [Thu, 19 Oct 2017 09:53:08 +0000 (11:53 +0200)]
elm_gengrid: force the item to be added _again_ as subobj

so we make sure the registering fetches the correct element

6 years agoelm_gengrid: force the item to be realized once we try to move focus
Marcel Hollerbach [Thu, 19 Oct 2017 09:52:26 +0000 (11:52 +0200)]
elm_gengrid: force the item to be realized once we try to move focus

So the widget is there, once we try to register it

6 years agoefl_ui_focus_manager_calc: move the debug output in there
Marcel Hollerbach [Thu, 19 Oct 2017 09:33:53 +0000 (11:33 +0200)]
efl_ui_focus_manager_calc: move the debug output in there

reduces the load of debug messages, and the debug messages are now only
emitted from the manager that is not the redirect. And the real elements
that are focused are printed

6 years agoelm config - finish flagging all other values that can be set by api
Carsten Haitzler (Rasterman) [Thu, 19 Oct 2017 08:31:40 +0000 (17:31 +0900)]
elm config - finish flagging all other values that can be set by api

this now means any app that called elm_config_*set on any field at all
will keep what it set forever until it changes it even if shared/core
config changed.

6 years agoelm config - track which vars you set locally and keep them as-is
Carsten Haitzler (Rasterman) [Wed, 18 Oct 2017 09:33:11 +0000 (18:33 +0900)]
elm config - track which vars you set locally and keep them as-is

this now flags about 1/4 of the config vars in elm config if you set
them locally so they wont change on conifg reload. i have just started
and this is the first batch. needs more work.

6 years agoelm_interface_scrollable: make sure this region is really visual
Marcel Hollerbach [Thu, 19 Oct 2017 07:52:48 +0000 (09:52 +0200)]
elm_interface_scrollable: make sure this region is really visual

right now we just request the complete geom to be visible since there
seems to be no way ot checking where the new widgets will be in. This
needs some improvements.

6 years agoefl_ui_focus_manager_calc: reimplement move to be more compact & small
Marcel Hollerbach [Tue, 17 Oct 2017 18:06:28 +0000 (20:06 +0200)]
efl_ui_focus_manager_calc: reimplement move to be more compact & small

this fixes a bug when a redirect was unset while going the prev
direction.

6 years agoefl_ui_focus_manager_calc: put every element on the focus stack
Marcel Hollerbach [Tue, 17 Oct 2017 17:42:32 +0000 (19:42 +0200)]
efl_ui_focus_manager_calc: put every element on the focus stack

move the addition to the focus stack to the general path. This means
every element is now on the focus stack.

6 years agoefl_ui_focus_manager_calc: move unfocusing the last element into its own
Marcel Hollerbach [Tue, 17 Oct 2017 17:35:59 +0000 (19:35 +0200)]
efl_ui_focus_manager_calc: move unfocusing the last element into its own
function

6 years agoefl_ui_focus_manager_calc: check if we are already focused earlier
Marcel Hollerbach [Tue, 17 Oct 2017 17:30:15 +0000 (19:30 +0200)]
efl_ui_focus_manager_calc: check if we are already focused earlier

if we dont do that we may unset a redirect just to set the same redirect
again.

6 years agoevas/gesture: Fix up a couple of APIs, add some FIXME
Jean-Philippe Andre [Thu, 19 Oct 2017 02:05:28 +0000 (11:05 +0900)]
evas/gesture: Fix up a couple of APIs, add some FIXME

Some things have clearly not been tested. Some APIs have not been
modified after repeated review comments. C++ failed to build due to
"long" being used as a namespace.

Remaining issues:
 - The original finger_list API was broken by design. I didn't try to
   replace it yet.
 - Long tap is also broken by design: if no move happens the recognizer
   gets no event, and doesn't trigger anything when the timeout is
   reached. An API or event is lacking here.
 - Only 2 very basic gestures have been implemented. All the gestures
   from elm_gesture_layer need to be covered. None of the multi touch
   support has been really implemented, except for a single bool flag.
 - The configuration must be loaded from elm_config, passed on to the
   recognizers.
 - Some micro optimization may be required, especially if the input
   device is high frequency (eg. 1KHz gaming mouse).

6 years agoevas/gesture: Enabled efl_provider_get() to find gesture manager
smohanty [Fri, 22 Sep 2017 04:46:39 +0000 (13:46 +0900)]
evas/gesture: Enabled efl_provider_get() to find gesture manager

6 years agoelementary_test: Added test case for log_tap gesture
smohanty [Thu, 21 Sep 2017 00:37:40 +0000 (09:37 +0900)]
elementary_test: Added test case for log_tap gesture

6 years agoevas/gesture: Added long_tap gesture to gesture framework
smohanty [Thu, 21 Sep 2017 01:23:18 +0000 (10:23 +0900)]
evas/gesture: Added long_tap gesture to gesture framework

6 years agoelementary_test: Added gesture_framework test to the elementary test suit.
smohanty [Thu, 21 Sep 2017 01:11:53 +0000 (10:11 +0900)]
elementary_test: Added gesture_framework test to the elementary test suit.

6 years agoevas/gesture: Integrated gesture framework to evas.
smohanty [Tue, 19 Sep 2017 08:17:39 +0000 (17:17 +0900)]
evas/gesture: Integrated gesture framework to evas.

6 years agoevas/gesture: Added gesture manager implementaion.
smohanty [Tue, 19 Sep 2017 08:11:31 +0000 (17:11 +0900)]
evas/gesture: Added gesture manager implementaion.

6 years agoevas/gesture: added recognizer and tap recognizer implementation
smohanty [Tue, 19 Sep 2017 08:05:48 +0000 (17:05 +0900)]
evas/gesture: added recognizer and tap recognizer implementation

6 years agoevas/gesture: Added gesture and tap gesture implementation.
smohanty [Mon, 25 Sep 2017 06:25:42 +0000 (15:25 +0900)]
evas/gesture: Added gesture and tap gesture implementation.

6 years agoevas/gesture: Added touch accumulator class implementation.
smohanty [Tue, 19 Sep 2017 07:55:45 +0000 (16:55 +0900)]
evas/gesture: Added touch accumulator class implementation.

6 years agoevas/gesture: Added gesture_private header file.
smohanty [Tue, 19 Sep 2017 06:09:49 +0000 (15:09 +0900)]
evas/gesture: Added gesture_private header file.

6 years agoevas/gesture: Added Eo classes for evas gesture framework.
smohanty [Tue, 19 Sep 2017 06:03:42 +0000 (15:03 +0900)]
evas/gesture: Added Eo classes for evas gesture framework.

6 years agoelm: rename Elm_Interface_Atspi_Accessible interface
Lukasz Stanislawski [Thu, 19 Oct 2017 01:13:54 +0000 (10:13 +0900)]
elm: rename Elm_Interface_Atspi_Accessible interface

Subscribers: cedric, jpeg

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

6 years agoevas: Prevent crash with image_data_get
Jean-Philippe Andre [Wed, 18 Oct 2017 12:40:01 +0000 (21:40 +0900)]
evas: Prevent crash with image_data_get

If the image has no data, it may get an allocated surface of 1x1 but it
is not sane to return the pointer to that data, as the user would expect
a normally sized image (in my case, 1920x1080).

I do not fully understand what is going on with this image. But at least
this transforms a crash into a simple ERR in ~/.xessions-errors

Two similar crashes happened:
 - SIGSEGV by writing data outside of the image data
 - abort() in free() because the malloc metadata has been overridden
   when writing outside of the image data (newly allocated 1x1).

Fixes T5957

@fix