platform/upstream/efl.git
7 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).

7 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

7 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

7 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

7 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.

7 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.

7 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.

7 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

7 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.

7 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.

7 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.

7 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.

7 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

7 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

7 years agowin: Do not forward all key events on win (legacy)
Jean-Philippe Andre [Wed, 18 Oct 2017 11:56:26 +0000 (20:56 +0900)]
win: Do not forward all key events on win (legacy)

OMG... I do not like this patch.

See T6148, two key down events are received when a key grab is installed
on a Win object. This is because all input events are propagated from
ecore all the way up to win and can be listened on. Unfortunately this
breaks existing applications that use the key grab API properly to
listen to key events.

Another side effect is that ALL key events are received by the window,
which means it's not limited to what the application expected (from its
list of grabs).

Solution (ugly): block propagation of key down/up events if the window
is a legacy window. This means that no key grab is required for EO
windows, but key grabs are still required for legacy windows.

Fixes T6148

@fix

7 years agoelm_scroller: fix scrolling with key move
Jeonghyun Yun [Wed, 18 Oct 2017 11:15:12 +0000 (20:15 +0900)]
elm_scroller: fix scrolling with key move

Use content_region_show instead of content_pos_set in _key_action_move

Summary:
When user keep pressing key down or else on scroller content, scroller
animation is lagging because of elm_interface_scrollable_content_pos_set
by step_x or step_y value.  When focus moved to next object by press key
down or else, content_pos_set by ecore_animator continuously.  In this
time, content_pos_set in _key_action_move by step_x or step_y value
caused animation lagging problem.  I fixed to use content_region_show
instead of content_pos_set in _key_action_move for remove exist
animator.

Test Plan:
1. elementary_test -> Scroller3
2. Press 3 times "Append 10 Items in 3s" button
3. focus to Item1 and keep pressing key_down

Reviewers: jpeg, woohyun

Subscribers: cedric, jpeg

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

7 years agogenlist: Fix crash on item delete
Jean-Philippe Andre [Wed, 18 Oct 2017 11:01:35 +0000 (20:01 +0900)]
genlist: Fix crash on item delete

See d3440a9867cf67f03f7fea02075f88d0441c92e7

Fixes T6033

7 years agoconfig: Simplify EO API
Jean-Philippe Andre [Wed, 18 Oct 2017 09:12:13 +0000 (18:12 +0900)]
config: Simplify EO API

This is:
 - using a property (but terribly ugly due to the ownership on the
   returned value)
 - removing an unused function

Note: This interface Efl.Config covers only elm_config for now. But it's
very generic and could be used in the future for application specific
configuration.

7 years agoelm: Split elm_general.eot in two: legacy and EO
Jean-Philippe Andre [Wed, 18 Oct 2017 08:12:03 +0000 (17:12 +0900)]
elm: Split elm_general.eot in two: legacy and EO

This creates efl_ui.eot
It's not called efl_ui_types.eot because a file with that name already
exists in efl/interfaces (for Efl.Ui.Drag functions).

Also add some FIXME comments, and move some types to elm_widget_item.eo.

Ref T5329

7 years agoecore: remove doxygen warning messages
Taehyub Kim [Wed, 18 Oct 2017 08:32:00 +0000 (17:32 +0900)]
ecore: remove doxygen warning messages

Summary:
remove doxygen warning messages
@fix

Reviewers: jpeg, cedric, woohyun

Reviewed By: jpeg

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

7 years agoelm: enhance documentation for following files
Shinwoo Kim [Wed, 18 Oct 2017 08:38:16 +0000 (17:38 +0900)]
elm: enhance documentation for following files

 - elm_config.h
 - elm_focus.h
 - elm_genlist.h
 - elm_icon.h
 - elm_image.h
 - elm_image_legacy.h
 - elm_index.h

7 years agolicensing - remove dates as they aren't strictly needed under common law
Carsten Haitzler (Rasterman) [Wed, 18 Oct 2017 04:29:35 +0000 (13:29 +0900)]
licensing - remove dates as they aren't strictly needed under common law

common law copyright establishes copyright at point of creation anyway
and there isn't a need to keep dates there. saves having to update them.

7 years agowidget: Add FIXME note and cleanup whitespaces
Jean-Philippe Andre [Wed, 18 Oct 2017 02:21:36 +0000 (11:21 +0900)]
widget: Add FIXME note and cleanup whitespaces

7 years agoedje: Use EO's beta auto_unref API for parts
Jean-Philippe Andre [Fri, 13 Oct 2017 09:16:41 +0000 (18:16 +0900)]
edje: Use EO's beta auto_unref API for parts

This simplifies code and avoids unwanted leaks.

7 years agoeo: Add beta API for auto_unref after a call
Jean-Philippe Andre [Fri, 13 Oct 2017 08:18:41 +0000 (17:18 +0900)]
eo: Add beta API for auto_unref after a call

Before screaming in horror (C++...) here's why we may need this:
Efl.Part.part API returns an object that is by definition valid for a
single function call only. Enforcing this in practice is actually quite
hard as all implementation functions must manually take care of the
life-cycle. This is a lot of code in many places and a lot of
opportunities to forget to properly handle that life-cycle. Also, this
means any invalid function call on a part will leak an object.

This API absolutely must remain either "internal" or "beta" and
definitely not become abused by applications. On top of that such an API
can cause great trouble for bindings like C++. As a consequence, only
specially crafted APIs like efl_part() should return an object marked as
auto_unref.

Alternatively this API could be defined in Eo.h or some other
Eo_Internal.h. I placed it in efl_object.eo because it's much more
convenient :) (read: I'm lazy)

****

Performance notes:

Tested with clang & gcc (with -O2), I had a look at the output of perf
top, in particular the asm view. I used eo_bench in a loop. My
conclusions are:

- EINA_LIKELY/UNLIKELY actually works. The jump statement varies
  according to the expectation. I highly doubt all those ugly goto in
  eo.c / Eo.h are even useful.

- The impact of auto_unref on a call_resolve is so small it doesn't even
  appear in the trace. It is significant inside call_end, though
  (obviously, that function is just a few lines long). That function
  accounts for ~1% to ~4% of all CPU time. The impact of auto_unref in
  call_end is ~4% of the function time. This means ~0.16% of all CPU
  time (worst measured case). _efl_object_op_api_id_get simply doesn't
  show up because of caching, so the extra check there is negligible.

PS: I also tested EINA_LIKELY/UNLIKELY by compiling with -O2 and looking
at the output with objdump. The flag is well respected, and the jump
instructions are what you would expect (no jump for LIKELY and jump for
UNLIKELY). Conclusion: The goto's in eo.c only make the code harder to
read...

7 years agobenchmarks: Fix titles in gnuplot
Jean-Philippe Andre [Tue, 17 Oct 2017 09:48:51 +0000 (18:48 +0900)]
benchmarks: Fix titles in gnuplot

Just replace _ with \_ as _ means subscript.

7 years agoedje: correct the usage of EINA_SIZE2D
Thiep Ha [Wed, 18 Oct 2017 01:51:49 +0000 (10:51 +0900)]
edje: correct the usage of EINA_SIZE2D

The usage of EINA_SIZE2D macro as left hand side variable
does not save the size value. The Eina_Size2D should be used.

7 years agotextpath: get the right size of text object
Thiep Ha [Wed, 18 Oct 2017 01:51:04 +0000 (10:51 +0900)]
textpath: get the right size of text object

Recent change to use EINA_SIZE2D made the size be gotten incorrectly.
This corrects it.

7 years agoeina: use a stringshare to store the filename internally.
Cedric Bail [Tue, 17 Oct 2017 23:14:26 +0000 (16:14 -0700)]
eina: use a stringshare to store the filename internally.

T6164

7 years agoeina: fix eina_hash_stringshared_new to actually compute the hash on the pointer.
Cedric Bail [Tue, 17 Oct 2017 23:11:25 +0000 (16:11 -0700)]
eina: fix eina_hash_stringshared_new to actually compute the hash on the pointer.

Before this patch, the key would always be zero and the hash would solely
rely on the rbtree to be efficient. This improve the situation by using the pointer
as the key during hash computation.

7 years agoeina: refactor eina hash computation of key length and hash value.
Cedric Bail [Tue, 17 Oct 2017 23:09:57 +0000 (16:09 -0700)]
eina: refactor eina hash computation of key length and hash value.

7 years agoelementary: fix double assignment
Prince Kumar Dubey [Tue, 17 Oct 2017 18:03:10 +0000 (11:03 -0700)]
elementary: fix double assignment

Summary: local variable "bp" assigned twice unnecessarily. The duplicate assignment is removed.

Reviewers: raster, cedric, jpeg

Subscribers: jpeg, rajeshps

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoeina: add missing documentation for quad.
Bowon Ryu [Tue, 17 Oct 2017 18:00:50 +0000 (11:00 -0700)]
eina: add missing documentation for quad.

Summary: This adds missing doxgen documentation for eina_quad.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoeina: add missing documentation for rectangle.
Bowon Ryu [Tue, 17 Oct 2017 17:56:12 +0000 (10:56 -0700)]
eina: add missing documentation for rectangle.

Summary: This adds missing doxgen documentation for eina_rectangle.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoeina: fix doxygen typo for eina_thread.
Bowon Ryu [Tue, 17 Oct 2017 17:54:15 +0000 (10:54 -0700)]
eina: fix doxygen typo for eina_thread.

Summary: fix typo.

Test Plan: API Doxygen Revision

Reviewers: cedric, jpeg, myoungwoon

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoelementary: generic_value is to be replaced by any_value.
Cedric Bail [Tue, 17 Oct 2017 17:51:05 +0000 (10:51 -0700)]
elementary: generic_value is to be replaced by any_value.

7 years agoelementary: add an exit_code to efl_exit as originally planned.
Cedric Bail [Tue, 17 Oct 2017 17:38:24 +0000 (10:38 -0700)]
elementary: add an exit_code to efl_exit as originally planned.

T6228

7 years agoelm_interface_scrollable: fix bringing in of a focused item
Marcel Hollerbach [Tue, 17 Oct 2017 15:49:48 +0000 (17:49 +0200)]
elm_interface_scrollable: fix bringing in of a focused item

you also need to calculate in the object position

7 years agoelm_widget: print a error if there is no provider
Marcel Hollerbach [Tue, 17 Oct 2017 15:19:12 +0000 (17:19 +0200)]
elm_widget: print a error if there is no provider

7 years agoelm_widget: also do not register if the top widget is not a win
Marcel Hollerbach [Tue, 17 Oct 2017 14:14:07 +0000 (16:14 +0200)]
elm_widget: also do not register if the top widget is not a win

this is currently quite a performance break, since that call is quite
heavy, lets see if we can optimize it later

7 years agoelm_widget: only register if you have to
Marcel Hollerbach [Tue, 17 Oct 2017 13:57:37 +0000 (15:57 +0200)]
elm_widget: only register if you have to

first step into the direction of making that more secure

7 years agoelm_widget: move evaluation for registeration of widget
Marcel Hollerbach [Tue, 17 Oct 2017 13:17:50 +0000 (15:17 +0200)]
elm_widget: move evaluation for registeration of widget

this is now earlier done, so we can reacted based on that

7 years agoelementary: remove documentation error
Shinwoo Kim [Tue, 17 Oct 2017 07:52:57 +0000 (16:52 +0900)]
elementary: remove documentation error

7 years agoeo: Use any_value in eina_types.eot
Lauro Moura [Tue, 17 Oct 2017 04:51:17 +0000 (13:51 +0900)]
eo: Use any_value in eina_types.eot

Reviewers: q66, jpeg

Subscribers: jenkins, cedric

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

7 years agoexample: print format correction to avoid warning.
Prince Kumar Dubey [Tue, 17 Oct 2017 04:45:17 +0000 (13:45 +0900)]
example: print format correction to avoid warning.

Reviewers: raster, cedric, jpeg

Subscribers: rajeshps, jpeg

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

7 years agoframe: Implement content set/get/unset
Jean-Philippe Andre [Mon, 16 Oct 2017 11:58:46 +0000 (20:58 +0900)]
frame: Implement content set/get/unset

Not a huge fan of my macro as it uses efl_part() where a direct call
could be possible, depending on the widget (win can, frame can't).

See D5241

7 years agoelm: Rename Elm.Activate to Efl.Ui.Activate
Jean-Philippe Andre [Mon, 16 Oct 2017 04:33:52 +0000 (13:33 +0900)]
elm: Rename Elm.Activate to Efl.Ui.Activate

Note: This is an EO-only beta API.

Ref T5329

7 years agoslider/progressbar: implement format_string of Efl.Ui.Format
Amitesh Singh [Tue, 17 Oct 2017 06:45:50 +0000 (15:45 +0900)]
slider/progressbar: implement format_string of Efl.Ui.Format

remove the unit_format from Efl.Ui.Range.

7 years agofix typo space in include on eina_lock
SangHyeon Jade Lee [Tue, 17 Oct 2017 05:58:54 +0000 (14:58 +0900)]
fix typo space in include on eina_lock

remove space typo between #sharp and include about inline header
in eina_lock.h

7 years agoefl_ui_format: change Eina.Strbug to @in type
Amitesh Singh [Tue, 17 Oct 2017 05:03:36 +0000 (14:03 +0900)]
efl_ui_format: change Eina.Strbug to @in type

7 years agoefl_ui_format: fix the namings and docs
Amitesh Singh [Tue, 17 Oct 2017 04:37:26 +0000 (13:37 +0900)]
efl_ui_format: fix the namings and docs

it is based on review comments by Gustavo and JP.

7 years agoee_wayland: Don't use wrong window size
Derek Foreman [Mon, 16 Oct 2017 21:17:29 +0000 (16:17 -0500)]
ee_wayland: Don't use wrong window size

Borderless windows, such as internal windows, need to be the exact size
they're passed by a configure event.

7 years agoeina: rename parameter for doxygen
Bowon Ryu [Mon, 16 Oct 2017 20:39:30 +0000 (13:39 -0700)]
eina: rename parameter for doxygen

Summary:
Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.

Test Plan: API Doxygen Revision

Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoefreet: putting local variable "data" under preprocessor flag "SLOPPY_SPEC" to avoid...
Prince Kumar Dubey [Mon, 16 Oct 2017 20:36:35 +0000 (13:36 -0700)]
efreet: putting local variable "data" under preprocessor flag "SLOPPY_SPEC" to avoid below warning, if "SLOPPY_SPEC" is disabled.

Reviewers: raster, cedric

Subscribers: jpeg, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoeina: fix warning if EINA_SAFETY_CHECKS is disabled
Prince Kumar Dubey [Mon, 16 Oct 2017 20:36:09 +0000 (13:36 -0700)]
eina: fix warning if EINA_SAFETY_CHECKS is disabled

Summary:
Putting local variable "d" under preprocessor flag "EINA_SAFETY_CHECKS" to avoid below warning, if "EINA_SAFETY_CHECKS" is disabled.
        1. local variable "d" is assigned but not used.
        2. If warning 1 is resolved then variable "d" will be unused.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: jpeg, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoecore: removing assignment operation to avoid warning.
Prince Kumar Dubey [Mon, 16 Oct 2017 20:29:01 +0000 (13:29 -0700)]
ecore: removing assignment operation to avoid warning.

Summary: assignment to local variable "ret" has no meaning as it is not used after assignment. So, removing assignment operation to avoid warning.

Reviewers: raster, cedric

Subscribers: jpeg, rajeshps

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoecore_wayland: fix assigned value is never used.
Subodh Kumar [Mon, 16 Oct 2017 20:28:08 +0000 (13:28 -0700)]
ecore_wayland: fix assigned value is never used.

Summary:
Fix assigned value is never used.

@fix

Reviewers: cedric

Subscribers: shilpasingh, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoedje_edit: duplicate assignment to variable.
Subodh Kumar [Mon, 16 Oct 2017 20:27:35 +0000 (13:27 -0700)]
edje_edit: duplicate assignment to variable.

Summary:
Avoid duplicate assignment to same variable.
@fix

Reviewers: cedric, jpeg

Reviewed By: cedric, jpeg

Subscribers: shilpasingh, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
7 years agoelm_gengrid: implement item-content-focus
Marcel Hollerbach [Sun, 15 Oct 2017 13:35:42 +0000 (15:35 +0200)]
elm_gengrid: implement item-content-focus

 #finally

For now we focus the widgets of a item, the item content can be cycled
by tab / Ctrl + tab. up/down/right/left are for now handled by gengrid
and move the focused item (everything else feels super weird with
multiple contents in a item)

ref T6181

7 years agoefl_ui_focus_composition: support beeing a pure logical composition
Marcel Hollerbach [Mon, 16 Oct 2017 15:19:42 +0000 (17:19 +0200)]
efl_ui_focus_composition: support beeing a pure logical composition

7 years agoefl_ui_composition: flushing elements from outside!
Marcel Hollerbach [Mon, 16 Oct 2017 14:43:32 +0000 (16:43 +0200)]
efl_ui_composition: flushing elements from outside!

7 years agoelm_slider: do not eat all key down events
Marcel Hollerbach [Mon, 16 Oct 2017 12:48:35 +0000 (14:48 +0200)]
elm_slider: do not eat all key down events

7 years agoefl intf: Add format interface
Amitesh Singh [Mon, 16 Oct 2017 06:24:06 +0000 (15:24 +0900)]
efl intf: Add format interface

Ref T6204

7 years agoefl_ui_focus_manager_calc: maintain focus when focused element is
Marcel Hollerbach [Mon, 16 Oct 2017 07:55:53 +0000 (09:55 +0200)]
efl_ui_focus_manager_calc: maintain focus when focused element is
unregistered

this should fix T6216.

7 years agoelm_toolbar: make the manager customisable
Marcel Hollerbach [Sun, 15 Oct 2017 17:44:35 +0000 (19:44 +0200)]
elm_toolbar: make the manager customisable

so the toolbar items can be registered correctly

7 years agoelm_menu: implement provider_find to walk the parent relation
Marcel Hollerbach [Sun, 15 Oct 2017 17:29:08 +0000 (19:29 +0200)]
elm_menu: implement provider_find to walk the parent relation

it turns out elm_menu is special, it doesnt use parent_obj of
elm_widget, it has his own parent field, which should be used.

7 years agoefl_ui_bg: this does not handle focus
Marcel Hollerbach [Sun, 15 Oct 2017 17:28:25 +0000 (19:28 +0200)]
efl_ui_bg: this does not handle focus

7 years agoelm_toolbar: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 15:44:18 +0000 (17:44 +0200)]
elm_toolbar: port to composition

7 years agoelm_table: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 15:16:52 +0000 (17:16 +0200)]
elm_table: port to composition

7 years agoelm_grid: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 15:08:35 +0000 (17:08 +0200)]
elm_grid: port to composition

7 years agoelm_box: port to composition
Marcel Hollerbach [Sun, 15 Oct 2017 14:55:08 +0000 (16:55 +0200)]
elm_box: port to composition

7 years agoefl_ui_focus_composition: introduce dirty and prepare
Marcel Hollerbach [Sun, 15 Oct 2017 14:02:39 +0000 (16:02 +0200)]
efl_ui_focus_composition: introduce dirty and prepare

this can be used in a container that has his own item management api,
Each item management call results in a dirty call, once we are called to
prepare for logical movement we can simply flush the order. So we reduce
the spam of order calls, which also safes runtime.

7 years agoelm_widget: support logical parents that are not elm_widgets
Marcel Hollerbach [Sun, 15 Oct 2017 13:30:08 +0000 (15:30 +0200)]
elm_widget: support logical parents that are not elm_widgets

7 years agoelm_widget: do not cache the provider
Marcel Hollerbach [Sun, 15 Oct 2017 13:26:22 +0000 (15:26 +0200)]
elm_widget: do not cache the provider

if turns out that caching the provider here is a problem, since a parent
changing does not change the provided provider

7 years agoelm_widget: also unregister if the logical parent changes
Marcel Hollerbach [Sun, 15 Oct 2017 13:23:56 +0000 (15:23 +0200)]
elm_widget: also unregister if the logical parent changes

7 years agojp2k module - dont print ERR on llading if format wrong
Carsten Haitzler (Rasterman) [Sun, 15 Oct 2017 23:42:13 +0000 (08:42 +0900)]
jp2k module - dont print ERR on llading if format wrong

this is normal - brute force trying loaders until one succeeds is
normal is etn doesnt help identify it or it fails the first
guess-by-extension. printing errors is not good as this is an ok and
EXPECTED error. slience!

@fix

7 years agoevas gl generic/common - add more linking for gles mode to fix deb build
Carsten Haitzler (Rasterman) [Sun, 15 Oct 2017 23:01:13 +0000 (08:01 +0900)]
evas gl generic/common - add more linking for gles mode to fix deb build

this should fix T6158

@fix

7 years agoupdate author(hermet) email.
Hermet Park [Sat, 14 Oct 2017 15:03:51 +0000 (23:03 +0800)]
update author(hermet) email.

7 years agoeolian: fix setter generation for @auto functions
Daniel Kolesa [Fri, 13 Oct 2017 21:48:34 +0000 (23:48 +0200)]
eolian: fix setter generation for @auto functions

Because of a typo in generator source (and overlooked error in
tests) we were previously generating incorrect code for setters
with the @auto qualifier. This was brought up in D5306 and is
now fixed.

7 years agoecore_file: rename parameter for doxygen
JinYong Park [Fri, 13 Oct 2017 21:02:31 +0000 (14:02 -0700)]
ecore_file: rename parameter for doxygen

Summary:
Some parameter's name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, rename that parameters.

Test Plan: API Doxygen Revision

Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoeina: this was actually a used variable.
Cedric Bail [Fri, 13 Oct 2017 19:49:35 +0000 (12:49 -0700)]
eina: this was actually a used variable.

7 years agoevas: as we do not use the size, we should set it either.
Cedric Bail [Fri, 13 Oct 2017 19:45:09 +0000 (12:45 -0700)]
evas: as we do not use the size, we should set it either.

7 years agoelementary: we actually do not use that variable.
Cedric Bail [Fri, 13 Oct 2017 19:43:56 +0000 (12:43 -0700)]
elementary: we actually do not use that variable.

7 years agoelementary: we actually do not use that object.
Cedric Bail [Fri, 13 Oct 2017 19:43:02 +0000 (12:43 -0700)]
elementary: we actually do not use that object.

7 years agoelementary: remove unused variable.
Cedric Bail [Fri, 13 Oct 2017 19:42:49 +0000 (12:42 -0700)]
elementary: remove unused variable.

7 years agoevas: mark parameter unused now that it is not necessary anymore.
Cedric Bail [Fri, 13 Oct 2017 19:36:08 +0000 (12:36 -0700)]
evas: mark parameter unused now that it is not necessary anymore.

7 years agoecore_ipc: rename parameters and annotations for doxygen
JinYong Park [Fri, 13 Oct 2017 19:24:14 +0000 (12:24 -0700)]
ecore_ipc: rename parameters and annotations for doxygen

Summary:
Some parameters' name are different in annotations and statements,
so it occurs doxygen warning.
To fix it, change it appropriately.

Test Plan: API Doxygen Revision

Reviewers: raster, cedric, jpeg, myoungwoon, Jaehyun_Cho

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoevas: to avoid warning unused variable and unnecessary assignment is removed.
Prince Kumar Dubey [Fri, 13 Oct 2017 19:14:20 +0000 (12:14 -0700)]
evas: to avoid warning unused variable and unnecessary assignment is removed.

Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoefl: unused variable removed, removing local variable assignment which has no use...
Prince Kumar Dubey [Fri, 13 Oct 2017 19:11:41 +0000 (12:11 -0700)]
efl: unused variable removed, removing local variable assignment which has no use at all.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoecore_audio: unused variables are removed to fix warning.
Prince Kumar Dubey [Fri, 13 Oct 2017 19:09:08 +0000 (12:09 -0700)]
ecore_audio: unused variables are removed to fix warning.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoevas: parameter length is not used, so removing it. to fix static analyzer tool warning.
Prince Kumar Dubey [Fri, 13 Oct 2017 19:08:24 +0000 (12:08 -0700)]
evas: parameter length is not used, so removing it. to fix static analyzer tool warning.

Reviewers: raster, cedric

Subscribers: jpeg, rajeshps

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoefl: unsigned int/long never be less than zero. Fixed.
Prince Kumar Dubey [Fri, 13 Oct 2017 19:07:25 +0000 (12:07 -0700)]
efl: unsigned int/long never be less than zero. Fixed.

Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoecore_evas: preprocessor flag "BUILD_ECORE_EVAS_SOFTWARE_GDI" is not closed properly...
Prince Kumar Dubey [Fri, 13 Oct 2017 19:05:38 +0000 (12:05 -0700)]
ecore_evas: preprocessor flag "BUILD_ECORE_EVAS_SOFTWARE_GDI" is not closed properly, if not defined, leads to build break.

Reviewers: raster, cedric

Reviewed By: cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoedje: no case is defined for Preprocessor Flag "EDJE_EXTRA_MODULE_NAME". So removing...
Prince Kumar Dubey [Fri, 13 Oct 2017 19:04:35 +0000 (12:04 -0700)]
edje: no case is defined for Preprocessor Flag "EDJE_EXTRA_MODULE_NAME". So removing it to avoid printf warning.

Reviewers: raster, cedric

Subscribers: rajeshps, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoeina: uninitialization of array leads to unwanted outcome of "eina_strlcat"
Prince Kumar Dubey [Fri, 13 Oct 2017 19:03:52 +0000 (12:03 -0700)]
eina: uninitialization of array leads to unwanted outcome of "eina_strlcat"

Reviewers: raster, cedric, rajeshps

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoelmentary: fix a potential null pointer dereferencing in elm_box
Wonki Kim [Fri, 13 Oct 2017 19:00:59 +0000 (12:00 -0700)]
elmentary: fix a potential null pointer dereferencing in elm_box

Summary:
if 'evas_object_smart_data_get' return null somehow,
logic that dereference the smart data pointer will cause problems.
This patch prevent a potential bug in advance.

Reviewers: jpeg, woohyun, cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoevas: removing unwanted operation in interface create
Godly T.Alias [Fri, 13 Oct 2017 18:59:43 +0000 (11:59 -0700)]
evas: removing unwanted operation in interface create

Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>

Reviewers: cedric, raster, rajeshps, prince.dubey

Reviewed By: cedric

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoevas: buffer is not used in the case where destination and source dimension is different
Godly T.Alias [Fri, 13 Oct 2017 18:58:49 +0000 (11:58 -0700)]
evas: buffer is not used in the case where destination and source dimension is different

Summary: Signed-off-by: Godly T.Alias <godlytalias@yahoo.co.in>

Reviewers: cedric, raster, rajeshps, prince.dubey

Subscribers: jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoedje_cc: fix a memory leak issue when edje_cc writes images
Youngbok Shin [Fri, 13 Oct 2017 18:55:02 +0000 (11:55 -0700)]
edje_cc: fix a memory leak issue when edje_cc writes images

Summary:
If there is no given pathes for image files as parameter of edje_cc,
"img_dirs" will be NULL. Then, a local variable "load_err" is always
EVAS_LOAD_ERROR_NONE. Because of this, the "if" condition just after
EINA_LIST_FOREACH() will fail. It causes memory leak from "iw".
@fix

Test Plan: N/A

Reviewers: raster, cedric, jpeg, woohyun

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
7 years agoeina: spellfix comment in matrix code
Bryce Harrington [Fri, 13 Oct 2017 18:51:52 +0000 (11:51 -0700)]
eina: spellfix comment in matrix code

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>