platform/upstream/efl.git
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>
6 years agoeina: cleanup doxygen for eina_rectangle.
Bryce Harrington [Wed, 14 Feb 2018 19:49:55 +0000 (11:49 -0800)]
eina: cleanup doxygen for eina_rectangle.

Summary:
Some spelling/punctuation/grammar/formatting fixes to make the
rectangles doxygen more consistent.  Simplify wording in several places,
including removing redundant documentation of return values.  Reword the
rectangle cutting API's to be more clearly worded.  Make clearer mention
of parameters that get changed by the function call, and ones that
allocate memory.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoevas/vg: reset the path data in destructor.
subhransu mohanty [Wed, 14 Feb 2018 19:31:41 +0000 (11:31 -0800)]
evas/vg: reset the path data in destructor.

Summary: As the gfx_path mixin class destructor is not called hence explicit call of reset.

Reviewers: jpeg, SanghyeonLee

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoefl: general distcheck fixes
Lauro Moura [Wed, 14 Feb 2018 19:30:05 +0000 (11:30 -0800)]
efl: general distcheck fixes

Summary:
- Added missing C++ header
- Added missing elementary header
- Removed generated header from elementary_SOURCES
  (Was added by raster in 42dfee37)
  Not sure of what would be the best place for it, though.
- Removed previously removed files from elementary examples Makefile.

Test Plan: Run 'make distcheck'

Reviewers: stefan, felipealmeida

Subscribers: cedric

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoefl.ui.layout: change signal name for icon/text
Sungtaek Hong [Wed, 14 Feb 2018 19:29:19 +0000 (11:29 -0800)]
efl.ui.layout: change signal name for icon/text

Summary:
when set/unset icon and text,
signal "elm,state,[part],visible/hidden" is emitted.
This is wrong because visible/hidden should be handled by
Efl.Gfx.visible, not Efl.Text nor Efl.Content.
This should be changed into elm,state,[part],set/unset"
All relating edc should be fixed.

Test Plan: run elementary_test->button, Efl.Ui.Button

Reviewers: jpeg, cedric, woohyun, Jaehyun_Cho

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
6 years agoefl_wl: Update native surface for dmabuf test too
Derek Foreman [Wed, 14 Feb 2018 20:40:31 +0000 (14:40 -0600)]
efl_wl: Update native surface for dmabuf test too

Should've added this to the last commit - though this change is purely
cosmetic as the test can never trigger direct scanout.

6 years agoefl_wl: Update native surface usage
Derek Foreman [Wed, 14 Feb 2018 20:35:19 +0000 (14:35 -0600)]
efl_wl: Update native surface usage

We should be zeroing out the dmabuf scanout stuff.

6 years agoefl-wl: check for existing keyboard enter before sending leave
Mike Blumenkrantz [Wed, 14 Feb 2018 20:05:55 +0000 (15:05 -0500)]
efl-wl: check for existing keyboard enter before sending leave

ref 4a32e2456eaca80cee0b1ce70cea00cb41e11979

6 years agoecore_wl2_surface_dmabuf: fix memory leak on surface destroy
Derek Foreman [Tue, 13 Feb 2018 23:31:41 +0000 (17:31 -0600)]
ecore_wl2_surface_dmabuf: fix memory leak on surface destroy

We need to free the surface private data on destroy.

6 years agoecore_wl2: Fix memory leak on shutdown
Derek Foreman [Tue, 13 Feb 2018 23:09:19 +0000 (17:09 -0600)]
ecore_wl2: Fix memory leak on shutdown

The output list wasn't properly cleaned up on shutdown/disconnect.

6 years agoefl_selection_manager: shut up shut up shut up ecore-x when running in wayland
Mike Blumenkrantz [Tue, 13 Feb 2018 22:28:40 +0000 (17:28 -0500)]
efl_selection_manager: shut up shut up shut up ecore-x when running in wayland

fix T6643

6 years agoefl_gesture_manager: free hash in destructor
Mike Blumenkrantz [Tue, 13 Feb 2018 22:23:44 +0000 (17:23 -0500)]
efl_gesture_manager: free hash in destructor

every canvas object has had this leak for some time:

==25217== 64 bytes in 1 blocks are definitely lost in loss record 1,669 of 3,515
==25217==    at 0x4C2FB6B: malloc (vg_replace_malloc.c:299)
==25217==    by 0x688D839: eina_hash_new (eina_hash.c:755)
==25217==    by 0x688D940: eina_hash_string_superfast_new (eina_hash.c:791)
==25217==    by 0x6265F8C: _efl_gesture_manager_efl_object_constructor (efl_gesture_manager.c:66)

6 years agoeolian: properly initialize warned (to avoid random parse failures)
Daniel Kolesa [Tue, 13 Feb 2018 20:48:46 +0000 (21:48 +0100)]
eolian: properly initialize warned (to avoid random parse failures)

6 years agoelua: add eina in environment variable library path
Romain Naour [Mon, 5 Feb 2018 14:07:15 +0000 (15:07 +0100)]
elua: add eina in environment variable library path

In-tree libeina.so library path is missing while running elua.

http://autobuild.buildroot.net/results/2bb/2bbe89694c206d764d51a5dd9c75bc4aa844e98d/build-end.log

@ref T6670

Cc: Daniel Kolesa <d.kolesa@samsung.com>
Signed-off-by: Daniel Kolesa <d.kolesa@osg.samsung.com>
6 years agoevas drm engines: Fix variable type for output
Chris Michael [Tue, 6 Feb 2018 15:58:58 +0000 (10:58 -0500)]
evas drm engines: Fix variable type for output

We already include the Ecore_Drm2 header for these engines, so there
is no need for the 'output' field to be a void pointer here.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-evas-drm: Use output viewport in ecore_evas_animator_tick calls
Chris Michael [Tue, 6 Feb 2018 14:12:39 +0000 (09:12 -0500)]
ecore-evas-drm: Use output viewport in ecore_evas_animator_tick calls

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-drm2: Add API functions to get/set output relative mode
Chris Michael [Tue, 6 Feb 2018 14:07:26 +0000 (09:07 -0500)]
ecore-drm2: Add API functions to get/set output relative mode

These API functions will be used inside Enlightenment in order to
determine the proper extended screen size based on outputs relative
position.

@feature

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoecore-evas-drm: Include Evas_Internal header
Chris Michael [Tue, 6 Feb 2018 13:49:46 +0000 (08:49 -0500)]
ecore-evas-drm: Include Evas_Internal header

We need to include this header so that we can use the new
efl_canvas_output functions

Signed-off-by: Chris Michael <cp.michael@samsung.com>
6 years agoefl_ui_nstate: make "changed" callback is called properly
WooHyun Jung [Tue, 13 Feb 2018 13:50:14 +0000 (22:50 +0900)]
efl_ui_nstate: make "changed" callback is called properly

- "changed" callback is not called when theme_apply is called
- elm_check_state_set does not call "changed" callback to keep
  backward compatibility

6 years agoRevert "elm: do not call "changed" callback when setting style"
WooHyun Jung [Tue, 13 Feb 2018 10:20:19 +0000 (19:20 +0900)]
Revert "elm: do not call "changed" callback when setting style"

This reverts commit b1ee35e35ce3132566244abbbd3a804167ef9c00.

6 years agoRevert "Efl.Ui.Nstate: do not call "changed" callback"
WooHyun Jung [Tue, 13 Feb 2018 09:39:20 +0000 (18:39 +0900)]
Revert "Efl.Ui.Nstate: do not call "changed" callback"

This reverts commit fd8e9f9c4e8dbda6c379dc464f562f5b2c681d31.

6 years agoeolian: print all duplicate warnings before aborting build
Daniel Kolesa [Tue, 13 Feb 2018 09:14:49 +0000 (10:14 +0100)]
eolian: print all duplicate warnings before aborting build

Instead of aborting at the first warning, accumulate the warnings
and stop at the end of validation.

6 years agoelm focus ... set focus in focus in if focus is not already on something
Carsten Haitzler (Rasterman) [Tue, 13 Feb 2018 09:12:11 +0000 (18:12 +0900)]
elm focus ... set focus in focus in if focus is not already on something

let's actually set focus in focus_in on window (ecore evas) IF focus
is not set. this seems to make terminology still work...

6 years agoefl ui win - if job runs after destruction of evas so dont flush pending
Carsten Haitzler (Rasterman) [Tue, 13 Feb 2018 06:28:47 +0000 (15:28 +0900)]
efl ui win - if job runs after destruction of evas so dont flush pending

6 years agoelm - dont get top widget for non-ui objects
Carsten Haitzler (Rasterman) [Tue, 13 Feb 2018 06:21:49 +0000 (15:21 +0900)]
elm - dont get top widget for non-ui objects

6 years agoefl ui win - fix focus break for terminology (at least)
Carsten Haitzler (Rasterman) [Tue, 13 Feb 2018 04:46:38 +0000 (13:46 +0900)]
efl ui win - fix focus break for terminology (at least)

at least terminology was broken by this. perhaps other efl apps. if an
efl app has decided to manually play with focus itself, like set focus
to some obj then leav ie, this line breaks that and interferes with
the object focused whenever the window gets focus set. if there is a
focus manager at least this is a new thing and so let the focus
manager set focus, but dont set old evas focus.

this fixes the break added in 56beb861e83cbc830c82db7473e0a88461e2e213

6 years agoevas_vg: implement interpolate from Efl.Gfx.Path
Mike Blumenkrantz [Mon, 12 Feb 2018 22:14:34 +0000 (17:14 -0500)]
evas_vg: implement interpolate from Efl.Gfx.Path

6 years agointerfaces: merge all bounds_get methods into efl.gfx.path
Mike Blumenkrantz [Mon, 12 Feb 2018 21:58:57 +0000 (16:58 -0500)]
interfaces: merge all bounds_get methods into efl.gfx.path

ref 884fc35160152712decdf7fd43082ef3912c0856

6 years agoevas3d: use a type setter function with finalize instead of a custom constructor
Mike Blumenkrantz [Mon, 12 Feb 2018 19:29:20 +0000 (14:29 -0500)]
evas3d: use a type setter function with finalize instead of a custom constructor

resolves a conflict with the 'constructor' method name

6 years agoevas3d: add "unknown" node type for use with errors
Mike Blumenkrantz [Mon, 12 Feb 2018 19:28:45 +0000 (14:28 -0500)]
evas3d: add "unknown" node type for use with errors

6 years agointerfaces: remove Efl.Text.Properties
Mike Blumenkrantz [Mon, 12 Feb 2018 21:02:06 +0000 (16:02 -0500)]
interfaces: remove Efl.Text.Properties

this is provided in Efl.Text.Font

6 years agoefl_text_font: copy docs from efl_text_properties
Mike Blumenkrantz [Mon, 12 Feb 2018 20:34:01 +0000 (15:34 -0500)]
efl_text_font: copy docs from efl_text_properties

6 years agoefl_vg: use efl.object's name property instead of implementing a new one
Mike Blumenkrantz [Mon, 12 Feb 2018 20:04:15 +0000 (15:04 -0500)]
efl_vg: use efl.object's name property instead of implementing a new one

6 years agoector: rename ector_renderer "bounds_get" method to "boundary_get"
Mike Blumenkrantz [Mon, 12 Feb 2018 18:45:07 +0000 (13:45 -0500)]
ector: rename ector_renderer "bounds_get" method to "boundary_get"

this conflicted with a method from Efl.Gfx.Path

6 years agoector: fix property/method name conflict for "fill"
Mike Blumenkrantz [Mon, 12 Feb 2018 18:23:25 +0000 (13:23 -0500)]
ector: fix property/method name conflict for "fill"

Shape implements a property, sw/gl/cairo implements a method

rename method to op_fill

6 years agoeolian: convert all of cedric's tabs to spaces in .eo files
Mike Blumenkrantz [Mon, 12 Feb 2018 17:56:31 +0000 (12:56 -0500)]
eolian: convert all of cedric's tabs to spaces in .eo files

6 years agoeolian: stop build with EOLIAN_WARN_FUNC_DUPLICATES > 1
Daniel Kolesa [Mon, 12 Feb 2018 17:56:38 +0000 (18:56 +0100)]
eolian: stop build with EOLIAN_WARN_FUNC_DUPLICATES > 1

6 years agoecore_wl2: Send window hide in response to xdg popup done
Derek Foreman [Mon, 12 Feb 2018 17:27:11 +0000 (11:27 -0600)]
ecore_wl2: Send window hide in response to xdg popup done

Clients should be sent this event when the compositor sends popup done.

6 years agoefl_ui_win: move inital focus set to focus_in handler
Marcel Hollerbach [Sun, 11 Feb 2018 18:04:06 +0000 (18:04 +0000)]
efl_ui_win: move inital focus set to focus_in handler

it seems that focus changes to FOCUS=FALSE are causing autodel windows
to kill themself, so we only set the focus on the window if the window
manager calls focus in AND we dont have anything to focus and nothing is
focused yet.

6 years agoedje - entry - fix empty item handling
Carsten Haitzler (Rasterman) [Sun, 11 Feb 2018 10:20:46 +0000 (19:20 +0900)]
edje - entry - fix empty item handling

tjhis should fix empty items which might have a null item string...
deal with it

fixes T6668

@fix

6 years agoeina - tiler -= return true if rect alreadt there as its not a failure
Carsten Haitzler (Rasterman) [Sun, 11 Feb 2018 06:55:13 +0000 (15:55 +0900)]
eina - tiler -= return true if rect alreadt there as its not a failure

docs say return true on succesas, false on failure. adding a rect we
already added is not a failur. it's an optimization to a NOP. so fix.
this was brought up by and fixes T6669 ... but in the opposite way.

6 years agoelm - fix new em_config func prototypes in header to have real param decl
Carsten Haitzler (Rasterman) [Sun, 11 Feb 2018 05:53:28 +0000 (14:53 +0900)]
elm - fix new em_config func prototypes in header to have real param decl

6 years agoefl ui format - fix format checking to be correct
Carsten Haitzler (Rasterman) [Sat, 10 Feb 2018 07:26:15 +0000 (16:26 +0900)]
efl ui format - fix format checking to be correct

the format string checking was just ... wrong. it didnt' handle %%. it
didn't handle constant strings with no format in them... now it does.

fixes T6697

@fix

6 years agoelm progressbar - fix val set
Carsten Haitzler (Rasterman) [Sat, 10 Feb 2018 07:24:11 +0000 (16:24 +0900)]
elm progressbar - fix val set

set initial min and max to 0 and 1 respectively so val set works at
the start...

fixes T6697

@fix

6 years agoelm - make progress test code a little more solid and nice to read
Carsten Haitzler (Rasterman) [Sat, 10 Feb 2018 05:38:29 +0000 (14:38 +0900)]
elm - make progress test code a little more solid and nice to read

use sizeof the buffer rather than constant in snprint and 0.5 rather
than .50 which almost looks like a typo... :) also use correct escape
for % (%%%% so it becoems %% which is correct for a fmt string yto
produce %)

6 years agoelm: Fix double shutdowns of ecore_x and ecore_wl2
Derek Foreman [Fri, 9 Feb 2018 17:25:41 +0000 (11:25 -0600)]
elm: Fix double shutdowns of ecore_x and ecore_wl2

This is now done elsewhere.  wayland clients were ERRing on shutdown.

ref 9cf61c2f6d215e3adfa1567154a229eb49116769

6 years agowayland_imf: Clear hide timer when deleting context
Derek Foreman [Fri, 9 Feb 2018 17:11:24 +0000 (11:11 -0600)]
wayland_imf: Clear hide timer when deleting context

Otherwise the callback can fire after the module is unloaded leading to some
very entertaining to debug crashes at shutdown.

6 years agoElm Progressbar test: Add in examples of efl regressions to progressbar.
Stephen Houston [Fri, 9 Feb 2018 16:21:55 +0000 (10:21 -0600)]
Elm Progressbar test: Add in examples of efl regressions to progressbar.

6 years agoecore_wl2: Destroy offscreen event handler in surface destroy
Derek Foreman [Fri, 9 Feb 2018 15:49:52 +0000 (09:49 -0600)]
ecore_wl2: Destroy offscreen event handler in surface destroy

Or we can get the event after destroying the surface and crash.

6 years agoefl_mono: Distcheck fixes
Lauro Moura [Thu, 1 Feb 2018 18:38:48 +0000 (15:38 -0300)]
efl_mono: Distcheck fixes

- Export required sources
- Avoid generated sources being passed as static ones

6 years agoeina_mono: Avoid calling eina_init directly from the modules.
Lauro Moura [Tue, 6 Feb 2018 19:10:36 +0000 (16:10 -0300)]
eina_mono: Avoid calling eina_init directly from the modules.

They must be initialized from the eina.Config.Init() method.

6 years agoci: make sure we fail the build and pass on the non zero exit code
Stefan Schmidt [Thu, 8 Feb 2018 09:45:24 +0000 (10:45 +0100)]
ci: make sure we fail the build and pass on the non zero exit code

So far we just kept going on when one of the make targets failed with
the next one.

6 years agoefl_part: call Efl.Text of each class' part
Sungtaek Hong [Thu, 8 Feb 2018 09:37:51 +0000 (11:37 +0200)]
efl_part: call Efl.Text of each class' part

Summary:
Macro ELM_PART_TEXT_DEFAULT_IMPLEMENT calls
super class' Efl.Text interface, rather than this class.

Reviewers: jpeg, woohyun, Jaehyun_Cho, herdsman

Subscribers: cedric, id213sin

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

6 years agoefl_part: use efl_ui_widget's default_part_get
Sungtaek Hong [Thu, 8 Feb 2018 05:53:59 +0000 (14:53 +0900)]
efl_part: use efl_ui_widget's default_part_get

Summary:
efl_part macros are using each widget's internally defined
default_part_get() functions to get default part name.
This might potentially cause errors when future widgets
inherits the widget but not overriding Efl.Text.text and
Efl.Content.content.

Reviewers: jpeg, cedric, woohyun, Jaehyun_Cho

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

6 years agoector: Updated the ector_buffer_pixels_set() api with stride info
subhransu mohanty [Thu, 8 Feb 2018 05:27:15 +0000 (14:27 +0900)]
ector: Updated the ector_buffer_pixels_set() api with stride info

Reviewers: jypark, jpeg

Subscribers: cedric

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

6 years agoelm: remove ecore-x init from quicklaunch post-fork
Mike Blumenkrantz [Wed, 7 Feb 2018 18:32:08 +0000 (13:32 -0500)]
elm: remove ecore-x init from quicklaunch post-fork

this is invalid for basically every possible case. allow components
to naturally call this function as needed

@fix

6 years agoelm: call ecore_app_args_set() after quicklaunch fork
Mike Blumenkrantz [Wed, 7 Feb 2018 18:30:37 +0000 (13:30 -0500)]
elm: call ecore_app_args_set() after quicklaunch fork

ensure that apps get expected behavior when calling args_get()

@fix

6 years agoecore-imf: do ecore-x init during ctx creation instead of module init
Mike Blumenkrantz [Wed, 7 Feb 2018 17:09:35 +0000 (12:09 -0500)]
ecore-imf: do ecore-x init during ctx creation instead of module init

this avoids a number of issues with efl under wayland, msot notably the
automatic triggering of xwayland during every app startup

@fix

6 years agoelm: move ecore-x and ecore-wl2 connection init to selection manager
Mike Blumenkrantz [Wed, 7 Feb 2018 17:03:41 +0000 (12:03 -0500)]
elm: move ecore-x and ecore-wl2 connection init to selection manager

this seems to be the only place where the related components are
explicitly used

neither of these components have fork-safe connections, so there is no
benefit to calling them during quicklaunch init