platform/upstream/efl.git
6 years agoelc_popup: revert changes that accidently sneaked in.
Marcel Hollerbach [Sun, 18 Feb 2018 12:59:16 +0000 (13:59 +0100)]
elc_popup: revert changes that accidently sneaked in.

I must have done some ammend error ... sorry

thx daveMDS for spotting it!

6 years agoPyolian: improve a bit the namespace generation
Dave Andreoli [Sun, 18 Feb 2018 08:33:22 +0000 (09:33 +0100)]
Pyolian: improve a bit the namespace generation

I still think that namespaces should be directly exposed by eolian.
Currently pyolian provide a namespace implementation but it's
hard to get it right, and it should be really shared between
all eolian users.

6 years agoelm_web: this testcase now also works
Marcel Hollerbach [Sat, 17 Feb 2018 20:22:49 +0000 (21:22 +0100)]
elm_web: this testcase now also works

6 years agoelm_web: web should NEVER be NULL
Marcel Hollerbach [Sat, 17 Feb 2018 20:15:34 +0000 (21:15 +0100)]
elm_web: web should NEVER be NULL

if there is no real engine, then atleast none should be created.

6 years agoelm_config: save the backend string as stringshare
Marcel Hollerbach [Sat, 17 Feb 2018 20:13:24 +0000 (21:13 +0100)]
elm_config: save the backend string as stringshare

the string might be on the stack ...

The same as in the previous commit, that path was never really tested,
caused by the fact that the *none* engine was not even running

6 years agoelm: fix test case for elm_web
Marcel Hollerbach [Sat, 17 Feb 2018 19:12:12 +0000 (20:12 +0100)]
elm: fix test case for elm_web

This is a funny story:
elm_web loads modules for getting a actual elm.web object. However, when
elementary was merged into EFL someone (... :)) forgot to change the
path that is used to load intree modules, so elm.web.none was never
actaully tested ... :)

But thx to the wonderfull legacy patch its super simple to fix this :)

6 years agoedje: use new bs static lib
Marcel Hollerbach [Mon, 12 Feb 2018 19:57:30 +0000 (20:57 +0100)]
edje: use new bs static lib

6 years agoevas: use new bs static lib
Marcel Hollerbach [Mon, 12 Feb 2018 19:52:28 +0000 (20:52 +0100)]
evas: use new bs static lib

6 years agoethumb: use new bs static lib
Marcel Hollerbach [Mon, 12 Feb 2018 19:52:06 +0000 (20:52 +0100)]
ethumb: use new bs static lib

6 years agoemotion: use new bs static lib
Marcel Hollerbach [Mon, 12 Feb 2018 17:38:34 +0000 (18:38 +0100)]
emotion: use new bs static lib

6 years agoembryo:use new bs static lib
Marcel Hollerbach [Fri, 16 Feb 2018 19:35:38 +0000 (20:35 +0100)]
embryo:use new bs static lib

6 years agoelementary: use new bs static lib
Marcel Hollerbach [Mon, 12 Feb 2018 17:37:26 +0000 (18:37 +0100)]
elementary: use new bs static lib

6 years agoeeze: use new bs static lib
Marcel Hollerbach [Mon, 12 Feb 2018 17:36:43 +0000 (18:36 +0100)]
eeze: use new bs static lib

6 years agoecore: use new bs static lib
Marcel Hollerbach [Fri, 16 Feb 2018 19:37:17 +0000 (20:37 +0100)]
ecore: use new bs static lib

6 years agoIntroduction of buildtools!
Marcel Hollerbach [Mon, 12 Feb 2018 17:34:03 +0000 (18:34 +0100)]
Introduction of buildtools!

buildtool is a little static library for the abstraction of buildtool
depedend path generation.

6 years agoelementary: listen to EFL_RUN_IN_TREE instead of ELM_RUN_IN_TREE
Marcel Hollerbach [Mon, 12 Feb 2018 17:25:36 +0000 (18:25 +0100)]
elementary: listen to EFL_RUN_IN_TREE instead of ELM_RUN_IN_TREE

so its unified and easier to handle

6 years agoelm entry - dont seg if the obj has been deleted by callback time
Carsten Haitzler (Rasterman) [Sat, 17 Feb 2018 09:00:19 +0000 (18:00 +0900)]
elm entry - dont seg if the obj has been deleted by callback time

i spotted a segv with elm entry + efm ... sd was NULl because obj was
seemingly not valid at that point, so fix and check the smart data
returns before moving on.

6 years agoelm - efl selection - don't seg if not in wayland
Carsten Haitzler (Rasterman) [Sat, 17 Feb 2018 08:58:59 +0000 (17:58 +0900)]
elm - efl selection - don't seg if not in wayland

this code would execute wayland path code totally unconditionally if
compiled in even if in x11 to gegt seat id info from wayland... check
if we are in wl first at runtime.

6 years agoelm_code: Fix issue where text selection menu did not show
Andy Williams [Thu, 15 Feb 2018 18:36:00 +0000 (18:36 +0000)]
elm_code: Fix issue where text selection menu did not show

6 years agoeolian: always print error and fail when name conflicts are detected
Mike Blumenkrantz [Thu, 15 Feb 2018 18:50:56 +0000 (13:50 -0500)]
eolian: always print error and fail when name conflicts are detected

6 years agoEfl.Access.Text: resolve more name conflicts
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Access.Text: resolve more name conflicts

text -> access_text
attributes -> text_attributes
selection -> access_selection

6 years agoEfl.Access.Selection: clear -> access_selection_clear
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Access.Selection: clear -> access_selection_clear

maybe there should be a text selection interface...

6 years agoEfl.Access.Editable.Text: content -> text_content
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Access.Editable.Text: content -> text_content

6 years agoEfl.Access: resolve more name conflicts
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Access: resolve more name conflicts

children -> access_children
type -> access_type

6 years ago elm_genlist: fix undefined_symbol error
Jiyoun Park [Fri, 6 Apr 2018 04:19:10 +0000 (13:19 +0900)]
   elm_genlist: fix undefined_symbol error

   elm_genlist moved to the elementary_tizen directory.
   so if opensource changed genlist eolian function, tizen also change elm_genlist code

6 years ago efl_ui_win: fix abi break because of the code diffrence with the open source from...
Jiyoun Park [Fri, 6 Apr 2018 01:53:09 +0000 (10:53 +0900)]
   efl_ui_win: fix abi break because of the code diffrence with the open source from tizen 3.0

   opensource window type starts from -1, but tizen window type starts from 0
   because of 3rd party app, tizen shoud support backward compatibilty.
   we undergo same issue from tizen 2.3 to 3.0.

6 years agotizen_genlist: fix build error
Wonki Kim [Thu, 5 Apr 2018 18:35:32 +0000 (03:35 +0900)]
tizen_genlist: fix build error

Change-Id: I36754c5b2f75bb6e89d427153c7ec0514ffe13de
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelm_test_focus: resolve property name conflict
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_test_focus: resolve property name conflict

6 years agoelm_slideshow: loop -> items_loop
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_slideshow: loop -> items_loop

6 years agonaviframe: remove 'style' property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
naviframe: remove 'style' property

6 years agoelm_widget: provide base implementation of style property
Mike Blumenkrantz [Thu, 15 Feb 2018 18:07:01 +0000 (13:07 -0500)]
elm_widget: provide base implementation of style property

6 years agoelm_menu: move -> relative_move
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_menu: move -> relative_move

6 years agoelm_map: rotate -> map_rotate
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_map: rotate -> map_rotate

6 years agoelm_map: region_bring_in -> map_region_bring_in
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_map: region_bring_in -> map_region_bring_in

6 years agoelm_map: remove 'wheel_disabled' property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_map: remove 'wheel_disabled' property

6 years agoelm_web: use Efl.Ui.Zoom
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_web: use Efl.Ui.Zoom

6 years agoelm_interface_scrollable: repeat_events -> content_events
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_interface_scrollable: repeat_events -> content_events

6 years agoelm_interface_scrollable: use 'mirrored' from Efl.Ui.Base
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_interface_scrollable: use 'mirrored' from Efl.Ui.Base

Change-Id: Ie70b7df67b5a8c6a501d49a34a19ae5551c36957

6 years agoelm_interface_scrollable: repeat_events -> content_events
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_interface_scrollable: repeat_events -> content_events

6 years agoelm_map: use Efl.Ui.Zoom for zoom properties
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_map: use Efl.Ui.Zoom for zoom properties

6 years agofileselector: remove 'model' property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
fileselector: remove 'model' property

this is already extant in Efl.Ui.View

6 years agoevas3d: update examples to constructor change
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas3d: update examples to constructor change

6 years agoelm_grid: size -> grid_size
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_grid: size -> grid_size

6 years agoelm_genlist: parent -> parent_item
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_genlist: parent -> parent_item

6 years agoelm_gengrid: remove some properties implemented in scrollable
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_gengrid: remove some properties implemented in scrollable

6 years agoelm_entry: remove 'calc_force'
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_entry: remove 'calc_force'

use Efl.Layout.Calc which is already inherited

6 years agoelm_entry: rename some eo methods
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_entry: rename some eo methods

cursor_content -> textblock_cursor_content
cursor_geometry -> textblock_cursor_geometry

probably all cursor methods here should be renamed to something to
increase consistency

6 years agoelm_colorselector: "color" -> "picked_color"
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
elm_colorselector: "color" -> "picked_color"

6 years agoEfl.Ui.Text: password -> password_mode
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Ui.Text: password -> password_mode

6 years agoEfl.Ui.List.Model: size -> model_size
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Ui.List.Model: size -> model_size

6 years agoElm.Widget.Item: focus -> item_focus
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Elm.Widget.Item: focus -> item_focus

Change-Id: Ib0f03510ec30317885c54881f8651d1c1cd775a5

6 years agoEfl.Ui.Zoom: zoom -> zoom_level
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Ui.Zoom: zoom -> zoom_level

6 years agoEfl.Ui.Model.Factory.Connect: remove this entirely
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Ui.Model.Factory.Connect: remove this entirely

merge 'connect' method into Efl.Ui.Factory class as 'model_connect'

6 years agoEfl.Text.Cursor: cursor -> text_cursor
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Text.Cursor: cursor -> text_cursor

6 years agoefl.access: root -> access_root
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl.access: root -> access_root

fix T6702

6 years agoEfl.Access.Image: remove the whole class
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
Efl.Access.Image: remove the whole class

this is a copy of Efl.Access.Component and serves no purpose

6 years agoefl_widget_item: remove 'del'
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl_widget_item: remove 'del'

this now uses regular efl_del

6 years agoelementary: modify elementary_tizen.am
Wonki Kim [Thu, 5 Apr 2018 16:07:28 +0000 (01:07 +0900)]
elementary: modify elementary_tizen.am

Change-Id: Ia1cb1b1279806cb533dfc0f4e9ac043c28a499af

6 years agoefl_access_component: resolve property name conflicts
Wonki Kim [Thu, 5 Apr 2018 16:07:17 +0000 (01:07 +0900)]
efl_access_component: resolve property name conflicts

this class is a giant FIXME for anyone looking to do refactoring work.
the only reason it seems to exist is to provide wrappers around
efl.gfx functions and provide screen position adjustments--something
which isn't even viable under wayland

note that a test was removed here due to the corresponding method being
removed

Change-Id: I6ee1c14c6a56945ff7f551af4e89705d216018ed

6 years agoefl.access: remove parent property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl.access: remove parent property

most of this is just a reimplementation of efl_provider_find

6 years agoefl.access: name -> i18n_name
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl.access: name -> i18n_name

6 years agoefl: rename player.position property -> player.pos
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl: rename player.position property -> player.pos

position conflicts with gfx.position; this could maybe be named better?

6 years agoeio: sentry.del -> sentry.remove
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
eio: sentry.del -> sentry.remove

6 years agoecore_audio: remove "name" property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
ecore_audio: remove "name" property

6 years agoefl-net: rename conflicting "name" properties
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl-net: rename conflicting "name" properties

6 years agoeldbus: rename conflicting "name" properties for some classes
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
eldbus: rename conflicting "name" properties for some classes

6 years agoeldbus: rename custom constructor methods
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
eldbus: rename custom constructor methods

"constructor" conflicts with the base efl object constructor

some of the params for these should maybe be refactored into properties
and use finalize?

6 years agoevas_textgrid: size -> grid_size
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas_textgrid: size -> grid_size

this conflicted with efl_ui_base.size

6 years agoevas_table: remove mirrored property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas_table: remove mirrored property

use efl_ui_base.mirrored instead

6 years agoevas_grid: size -> grid_size
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas_grid: size -> grid_size

this conflicted with efl_ui_base.size

6 years agoevas_grid: remove mirrored property
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas_grid: remove mirrored property

use efl_ui_base property

6 years agoevas: move smart_objects_calculating to Efl_Canvas
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: move smart_objects_calculating to Efl_Canvas

6 years agoevas: remove Evas_Canvas.smart_objects_calculate
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: remove Evas_Canvas.smart_objects_calculate

also implement Efl_Canvas method

6 years agoevas: move more canvas method implementations into evas_main.c
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: move more canvas method implementations into evas_main.c

6 years agoevas: remove Evas_Canvas.object_top_in_rectangle_get
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: remove Evas_Canvas.object_top_in_rectangle_get

also implement Efl_Canvas method

6 years agoevas: remove Evas_Canvas.objects_in_rectangle_get
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: remove Evas_Canvas.objects_in_rectangle_get

also implement Efl_Canvas method

6 years agoevas: remove Evas_Canvas.object_top_at_xy_get
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: remove Evas_Canvas.object_top_at_xy_get

also implement Efl_Canvas method

6 years agoevas: remove Evas_Canvas.objects_at_xy_get
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: remove Evas_Canvas.objects_at_xy_get

also implement Efl_Canvas.objects_at_xy_get

note that any function which returns an iterator cannot be @const since
it's necessary to wref the object to ensure the iterator's lifetime

6 years agoefl: merge list->iterator creation function into evas_main.c and reuse
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
efl: merge list->iterator creation function into evas_main.c and reuse

this deduplicates a large amount of code

6 years agoevas: move more canvas functions into evas_main.c
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:52 +0000 (21:14 -0500)]
evas: move more canvas functions into evas_main.c

typechecking is an important part of compilation

6 years agoevas: move evas_stack.c -> evas_stack.x
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:51 +0000 (21:14 -0500)]
evas: move evas_stack.c -> evas_stack.x

this file contains canvas methods which should be subject to compiler
type checking, requiring that they be included in the file which contains
the eolian generated code

6 years agoevas: properly implement evas_image_max_size_get() as a wrapper
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:51 +0000 (21:14 -0500)]
evas: properly implement evas_image_max_size_get() as a wrapper

ref 457dc16cffdd5f9c6ce42e72beddad06fa36f0c0

6 years agoevas: move canvas eolian functions from image.c -> main.c
Mike Blumenkrantz [Thu, 15 Feb 2018 02:14:51 +0000 (21:14 -0500)]
evas: move canvas eolian functions from image.c -> main.c

this reveals existing breakage which went unnoticed due to the compiler
being unable to do type checks since the generated eolian code was not included

6 years agoElementary: remove needless structs in Efl_Ui_List
Larry Jr [Wed, 31 Jan 2018 18:55:42 +0000 (16:55 -0200)]
Elementary: remove needless structs in Efl_Ui_List

6 years agoelementary: efl_ui_list change SegArray tree to Efl.Object
Larry Jr [Fri, 26 Jan 2018 18:53:42 +0000 (16:53 -0200)]
elementary: efl_ui_list change SegArray tree to Efl.Object

6 years agoelementary: efl_ui_list model_set update values fixed
Larry Jr [Mon, 22 Jan 2018 19:52:51 +0000 (17:52 -0200)]
elementary: efl_ui_list model_set update values fixed

6 years agoelementary: efl_ui_list_segarray fixed remove last block item
Larry Jr [Fri, 19 Jan 2018 17:31:40 +0000 (15:31 -0200)]
elementary: efl_ui_list_segarray fixed remove last block item

6 years agoelementary: efl_ui_list focus manager fix
Larry Jr [Fri, 19 Jan 2018 17:27:26 +0000 (15:27 -0200)]
elementary: efl_ui_list focus manager fix
fixed focus changed with keyboard
fixed scroll in focus
fixed focus in example

6 years agoecore_wl2: Take a library reference on surface create
Derek Foreman [Thu, 15 Feb 2018 17:06:03 +0000 (11:06 -0600)]
ecore_wl2: Take a library reference on surface create

Since surface handling is now done via modules, we need to ensure
the library can't be shutdown while a surface exists.  Otherwise,
we get a segfault trying to call a function we've unmapped.

Fixes a bug on shutdown for some wayland clients using software
rendering.

6 years agoefl_ui_focus_manager_sub: remove needless call
YeongJong Lee [Thu, 15 Feb 2018 13:53:46 +0000 (14:53 +0100)]
efl_ui_focus_manager_sub: remove needless call

Summary: focus manager is not assigned in constructor

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric

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

6 years agoelm_hover: remove focus_layer related code
YeongJong Lee [Thu, 15 Feb 2018 13:53:27 +0000 (14:53 +0100)]
elm_hover: remove focus_layer related code

Summary:
because elm_hover implements Efl.Ui.Focus.Layer, focus_layer related code
dosen't needed.

Test Plan: elementary_test - hover

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, jpeg

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

6 years agoefl - fix build again after removal of install of public header
Carsten Haitzler (Rasterman) [Thu, 15 Feb 2018 09:49:53 +0000 (18:49 +0900)]
efl - fix build again after removal of install of public header

put elm_code_widget_legacy.eo.h back in the includes to install as it
is required by other public headers...

6 years agotest_ui_table: fix uninitialized variable warning
Mike Blumenkrantz [Wed, 14 Feb 2018 22:03:47 +0000 (17:03 -0500)]
test_ui_table: fix uninitialized variable warning

maybe right, maybe wrong, maybe compile warnings shouldn't be added
in reviewed patches

ref D5668

6 years agogl_drm: NULL check img
Derek Foreman [Wed, 14 Feb 2018 20:55:43 +0000 (14:55 -0600)]
gl_drm: NULL check img

If we set native surface on a new object we can get here with NULL
engine_info from the caller.  We should still create a native surface.

6 years agoelementary: fix legacy widget type name for backward compat
Youngbok Shin [Wed, 14 Feb 2018 20:04:24 +0000 (12:04 -0800)]
elementary: fix legacy widget type name for backward compat

Summary:
For example, the widget type of elm_button was "Elm_Button".
But, the object which is created by elm_button_add() will
return its widget type "Efl.Ui.Button_Legacy".
It is not legacy name. It should be fixed to return "Elm_Button".

I don't know when but eolian start to make class name with ".".
So, it should be converted to "_" for all widgets.

@fix

Test Plan:
All test cases are included in this patch.
Run "make check"

Reviewers: raster, cedric, jpeg, taxi2se

Reviewed By: cedric

Subscribers: taxi2se, woohyun

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: improve documentation for eina_bezier.
Bryce Harrington [Wed, 14 Feb 2018 20:00:44 +0000 (12:00 -0800)]
eina: improve documentation for eina_bezier.

Summary:
Adds missing @param docs and fixes an incorrectly documented one.
Clarifies difference between 'length' and 'position', specifying the
latter is a number between 0.0 and 1.0.  Improves verbage here and there
for grammatical correctness and internal consistency.

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: make doxygen @notes consistent in eina_hash
Bryce Harrington [Wed, 14 Feb 2018 20:00:06 +0000 (12:00 -0800)]
eina: make doxygen @notes consistent in eina_hash

Summary:
These routines all have slight permutations of the same basic note, but
are each formatted a bit differently.  Fix that and a few punctuation
irregularities.

Similarly for a couple @warnings, and escalate one @note to a @warning
since what it describes might be a security issue so deserves
highlighting.

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: fix minor spelling mistake in eina-private.h doxygen
Bryce Harrington [Wed, 14 Feb 2018 19:59:48 +0000 (11:59 -0800)]
eina: fix minor spelling mistake in eina-private.h doxygen

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoeina: use matrix compose in place of equivalent code in matrix multiply
Bryce Harrington [Wed, 14 Feb 2018 19:56:02 +0000 (11:56 -0800)]
eina: use matrix compose in place of equivalent code in matrix multiply

Summary:
The eina_matrix3_compose and eina_matrix3_multiply API's are
mathematically identical (even though the implementations are
reversed... weird), except that the latter also includes a fastpath for
identity matrices.

Having two functionally equivalent APIs is redundant, so ideally one or
the other would be dropped.  But in order avoid API breakage, just have
one routine wrapper the other and eliminate the internal redundancy.

(Note that the parameter signatures of the two routines are different -
eina_matrix3_compose() takes the two input matrices first, and the
output matrix last, while eina_matrix3_multiply() takes the parameters
in the reverse order.  This inconsistency in the API style could result
in accidentally erroneous usage and would be an argument for deprecation
of one of the two APIs.)

Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewers: cedric

Reviewed By: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoecore_file: modify check for wd in file monitor del
Yeshwanth Reddivari [Wed, 14 Feb 2018 19:53:51 +0000 (11:53 -0800)]
ecore_file: modify check for wd in file monitor del

Summary:
Make checks consistent in ecore_file_monitor_backend_del.
inotify_add_watch can return 0 as well on success.
So, even if wd is 0, inotify_rm_watch need to be invoked.

Reviewers: cedric, jpeg

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

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