platform/upstream/efl.git
6 years agoecore_event_message_filter: add logic to delete event_filter from defered delete
JunSeok, Kim [Wed, 4 Apr 2018 08:14:07 +0000 (17:14 +0900)]
ecore_event_message_filter: add logic to delete event_filter from defered delete

Enlightenment crash occured during calling ecore_event_filters_del in
callback function.
It caused by ecore_event_filter remaining in filters list.
So, add remove logic in filters_delete remove loop.

Change-Id: Ia2c5c877fc091e06e4c2a3a96df86fca1fe8c6cd

6 years agoAtspi: enhance finding next and prev item on screen's edge
JunsuChoi [Tue, 3 Apr 2018 10:18:17 +0000 (19:18 +0900)]
Atspi: enhance finding next and prev item on screen's edge

1) The content of list is checked that is screen out when genlist's content_pos_set is called.
   Therefore, the content of the item is excluded from check that is screen out.

2) the content_pos_set of genlist differs by 1 pixel from the final call when scrolled up and down.
   If the item size is 360x360 on a 360x360 size screen, scrolling upward (0,360) to (0, 0)
   will be called until the y coordinate of the highlight object in content_pos_set is 1.
   But downward is not same. if scrolling downward (0,0) to (0,360)
   will be called y coordinate of highlight object in final called content_pos_set is 360.
   This part can be modified according to the content_pos_set call convention.

3) delta_y means the direction of the scroll. However, old_y and y do not have the proper orientation
   when content_pos_set is called twice. Therefore, we use delta_y_backup temporarily.

[dlogutil]

When scroll up

E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 0, y = 0
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = -45, hy = 0, y = 45
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = -45, y = 45
...
...

E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = -1, hy = -358, y = 359
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = -359, y = 359
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = -1, hy = -359, y = 360
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = -359, y = 360

When scroll down

E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 0, y = 360
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 43, hy = 0, y = 317
...
...
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 2, hy = 357, y = 1
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 359, y = 1
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 1, hy = 359, y = 0
E/EFL     ( 3219): elementary<3219> elm_genlist.c:9997 _elm_genlist_elm_interface_scrollable_content_pos_set()  delta_y = 0, hy = 360, y = 0

Change-Id: I4cdd109336fc631ade84b3926050541ba93665d7

6 years agoEmit "elm,key,action,activate" signal
Shinwoo Kim [Tue, 3 Apr 2018 10:09:54 +0000 (19:09 +0900)]
Emit "elm,key,action,activate" signal

An widget could be activated by key event, or AT-client such as screen-reader.
User could want to get sound feedback for this kind of activation.
The "elm,key,action,activate" signal will work for this.

Change-Id: I8aa53a2ca93b0426f5d8f4a4d13897af851c9141

6 years agoatspi : Add eldbus arguments for GetDefaultLabelInfo
JunsuChoi [Tue, 3 Apr 2018 10:04:37 +0000 (19:04 +0900)]
atspi : Add eldbus arguments for GetDefaultLabelInfo

Change-Id: I96668b49190d9e989c99aa7fa0c4c8bbed4e318f

6 years agoatspi: do not emit HIGHLIGHTED signal if ecore evas is obscured
Shinwoo Kim [Tue, 3 Apr 2018 09:16:47 +0000 (18:16 +0900)]
atspi: do not emit HIGHLIGHTED signal if ecore evas is obscured

The obscured application could call elm_atspi_component_highlight_grab.
The elm_atspi_component_highlight_grab emits STATE_HIGHLIGHTED signal.
This makes another visible application loses its highlight.

Example:
The "power system popup" could launch the "touch sensitivity".
Before showing the "touch sensitivity",  the "wearable home" shows for a moment.
At this poisnt, the "wearable home" tries to grab highlight.

Change-Id: Ie5eacb70175e2c98de0c354ba23cbc3fb930e49f

6 years agoatspi : Add attributes support for the default label.
JunsuChoi [Tue, 3 Apr 2018 08:29:00 +0000 (17:29 +0900)]
atspi : Add attributes support for the default label.

   If "default_label" attribute is appended "enabled_without_window" from window,
   it works with default labels for some roles.
   and if "default_label" attribute is appended "disabled"
   from object that work default label, it don't work default label

Change-Id: Ia40757a299869a168e546343af32ec4247b720bb

6 years agoatspi: not accept redundant leaf object
Shinwoo Kim [Tue, 3 Apr 2018 07:10:20 +0000 (16:10 +0900)]
atspi: not accept redundant leaf object

An object which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, has been acceptable
so far regardless its children. So it was possible to find its children.
But it does not make sense to accept ELM_ATSPI_ROLE_REDUNDANT_OBJECT object if
it does not have children.

There was an issue on Browser application because we accepted REDUNDANT leaf
object. There is a button which role is ELM_ATSPI_ROLE_REDUNDANT_OBJECT, this
button would be used for conveying focus event to embedded web page.
The button was accepted, so it was not possible grab an object on web page.

Please refer to following part of accessibility tree. It is not possible to
get Elm_Atspi_Ewk_Wrapper, if Elm_Button is accepted for "GetNavigableAtPoint"

Elm_Layout
     - Elm_Button [redundant object][0,148,1080,1604]
     - Elm_Atspi_Ewk_Wrapper [embedded][0,148,1080,1604]

Change-Id: I382ececdce1e0e849d9040d6a5f2ba29cfaccb99

6 years agoatspi: fix translation domain for naviframe item
Shinwoo Kim [Tue, 3 Apr 2018 05:26:43 +0000 (14:26 +0900)]
atspi: fix translation domain for naviframe item

The naviframe item have used its VIEW object for accessible name and
description. But the naviframe item did not care about the translation
domain. So there was a translation problem.

Change-Id: Id0decd8a988d9c39c259fb8c6b19a4cfd64e8383

6 years agoatspi: do not expose name of PASSWORD_TEXT
Shinwoo Kim [Tue, 3 Apr 2018 10:06:40 +0000 (19:06 +0900)]
atspi: do not expose name of PASSWORD_TEXT

The AT-client could get the name of PASSWORD_TEXT.
This could be fixed in _elm_entry_elm_interface_atspi_accessible_name_get,
but user defined accessible name should be accessible by the AT-client,
so _elm_widget_elm_interface_atspi_accessible_name_get is proper place.

Change-Id: I5b87dec7611ab24c79b3fa8831e2cabd4ff8a824

6 years agoatspi: use correct object for highlight_grabbing
Shinwoo Kim [Tue, 3 Apr 2018 06:59:30 +0000 (15:59 +0900)]
atspi: use correct object for highlight_grabbing

elm_object_accessibility_highlight_set is using VIEW object as a "target"
object for the ELM_WIDGET_ITEM_CLASS object. And the "target" object is used
for all highlight related lines in the elm_win including highlight_grabbing.

So when the elm_widget sets highlight_grabbing for the ELM_WIDGET_ITEM_CLASS
object, the VIEW object should be used.

Change-Id: Id7f5595193a140e6b3d8f2c9c5a94ed9a505d890

6 years agoatspi: fix name, description callback issue
Shinwoo Kim [Tue, 3 Apr 2018 06:23:21 +0000 (15:23 +0900)]
atspi: fix name, description callback issue

The accessible name, description callback did not work for the naviframe item.
Because the naviframe item has used VIEW object for its accessible object.
If user calls elm_atspi_accessible_name_cb_set(naviframe_item, cb, data),
then the callback cb should set to VIEW object, not naviframe item, because
atspi_accessible_name_get is using the VIEW object.

Change-Id: I0eba9b7a86256edb4eb82ff569869ad3e8490ddf

6 years agoresolve some functions missed return statement
Jongmin Lee [Tue, 3 Apr 2018 02:00:41 +0000 (11:00 +0900)]
resolve some functions missed return statement

Change-Id: I759be28099f3537050ea980aca65a01a7b965522

6 years agoexamples: Improve efl_mono and eolian_cxx build
Lauro Moura [Wed, 11 Apr 2018 23:03:32 +0000 (20:03 -0300)]
examples: Improve efl_mono and eolian_cxx build

The examples were either not build or using repeated rules due to
_EOLIAN_DEP_GEN not being set correctly was Makefile_Eolian_Helper.am
assumes it being inclueded from src/, while each example folder has its
own .am inside its folder.

6 years agoefl_mono: Add namespace on helpers.
Lauro Moura [Wed, 11 Apr 2018 01:50:05 +0000 (22:50 -0300)]
efl_mono: Add namespace on helpers.

Make it easier on finding where those functions are coming from.

6 years agoefl_mono: Proper support for @class methods.
Lauro Moura [Wed, 11 Apr 2018 01:30:40 +0000 (22:30 -0300)]
efl_mono: Proper support for @class methods.

Previously, class methods were implemented as regular instance methods.
This commits generates C# static methods for @class methods on the
*Concrete classes (and their childs).

6 years agoelm entry - fix wayland bug by not updating selection until after mse up
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 19:16:25 +0000 (04:16 +0900)]
elm entry - fix wayland bug by not updating selection until after mse up

or update with a small delay after any change and check mouse button
mask to avoid some bizarre mouse up event that is stopping the
selection form continuing with a mouse up event... so this works
around that and still works.

6 years agoefl selection - fix another binary buffer treates as string bug
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 17:42:00 +0000 (02:42 +0900)]
efl selection - fix another binary buffer treates as string bug

as per subject.

@fix

6 years agoefl selection - fix entry <-> plain text compy and paste in wl
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 17:37:16 +0000 (02:37 +0900)]
efl selection - fix entry <-> plain text compy and paste in wl

efl didnt convert markup to plain text when pasting markup -> text.
this fixes that and enables middle mouse paste etc. etc.

@fix

Change-Id: Ica7787adcf85c19e423c358ce9f89d50c882d1ff

6 years agoefl selection manager - fix anoyther binary buffer treated as string bug
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 14:59:03 +0000 (23:59 +0900)]
efl selection manager - fix anoyther binary buffer treated as string bug

yet another "binary buffer" (pointer + size) streated as a string with
strdup + strlen which is oh so wrong. this fixes up some cnp in
wayland with garbage at the end of strings

@fix

6 years agoefl selection manager - fix crashes when doing selections on non-x11
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 14:31:39 +0000 (23:31 +0900)]
efl selection manager - fix crashes when doing selections on non-x11

elm was calling x calls when on wayland here... because it didnt check
the RUNTIME display system type for the window, relying on ifdefs
instead.

@fix

6 years agoeolian: correct line/column number during doc reference validation
Daniel Kolesa [Thu, 12 Apr 2018 13:22:33 +0000 (15:22 +0200)]
eolian: correct line/column number during doc reference validation

Eolian doc objects now bundle debug information necessary to
provide correct line/column numbers. It is not possible to get
this information cirectly from the text, as it's reformatted and
contains no extra whitespace or newlines beyond paragraph
separators.

Fixes T6701.

6 years agoefl_ui_frame: remove dulicated _content_aliases
YeongJong Lee [Thu, 12 Apr 2018 13:11:39 +0000 (22:11 +0900)]
efl_ui_frame: remove dulicated _content_aliases

Summary:
Frame inherits from layout. it can use same _content_aliases of Layout

ref 3114ee264bfe069ba1e45e311b80de31985da476

Reviewers: Jaehyun_Cho, woohyun, cedric

Reviewed By: Jaehyun_Cho

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

6 years agoevas - loading extension query - fix to not skip small extensions
Carsten Haitzler (Rasterman) [Thu, 12 Apr 2018 11:55:22 +0000 (20:55 +0900)]
evas - loading extension query - fix to not skip small extensions

since this can take an extension as well as a file path (extension
being .gif or .jpeg etc.) it would skip if passed a small extension
only (5 chars or less). fix and this fixes e's thumbnailing too for
some files.

@fix

6 years agoevas: apply fribidi bracket types to show paired bracket properly
Youngbok Shin [Thu, 12 Apr 2018 09:55:26 +0000 (12:55 +0300)]
evas: apply fribidi bracket types to show paired bracket properly

Summary:
The fribidi couldn't reorganize paired brackets (Ex. '(', ')')
when there is RTL + LTR text. According to TR9(http://www.unicode.org/reports/tr9/),
it has to be shown properly without LRM or RLM.

Also, from the fribidi 1.0.0, fribidi_get_par_embedding_levels() was deprecated.
It is replaced with fribidi_get_par_embedding_levels_ex() which is including
paired brankets rules from TR9.

@feature

Test Plan:
1. Create a elm_entry.
2. Set a text by calling text_set.
   elm_entry_entry_set(entry, "مرحبا Hello (40)");
3. Run and see the results.
   - Without this patch or fribidi 1.X.X, it will show text like this...
     "(Hello (40 مرحبا"

   - With this patch and fribidi >= 1.0.0
     "Hello (40) مرحبا"

Reviewers: raster, cedric, herdsman, woohyun

Reviewed By: herdsman

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

6 years agoefl_canvas_object: Change parameter name of property event_animation
Jaehyun Cho [Thu, 12 Apr 2018 02:39:59 +0000 (11:39 +0900)]
efl_canvas_object: Change parameter name of property event_animation

Change the parameter name of property event_animation from "event_type"
to "desc" to synchronize with other APIs.
(The parameter type is Efl.Event.Description)

6 years agoecore_wl2: Fix ecore_wl2_window_output_find
Derek Foreman [Tue, 27 Mar 2018 19:58:35 +0000 (14:58 -0500)]
ecore_wl2: Fix ecore_wl2_window_output_find

Window geometry x, y are the offset from the top left corner of the
buffer, and not screen co-ordinates, so has nothing to do with output
geometry and can't be used to determine which window we're on.

Now that we track surface enter/leave events we can just give the first
output in the list of outputs we know we're on.

6 years agotests: Fix compilation when timing is disabled.
Lauro Moura [Wed, 11 Apr 2018 02:20:05 +0000 (23:20 -0300)]
tests: Fix compilation when timing is disabled.

Reviewers: zmike, cedric

Reviewed By: zmike

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

6 years agoefl_ui_focus_manager_calc: call next after requesting a subchild
Marcel Hollerbach [Wed, 11 Apr 2018 13:35:57 +0000 (15:35 +0200)]
efl_ui_focus_manager_calc: call next after requesting a subchild

requesting subchild for subchild is not a good idea, as it really only
fetches for a subchild, and never calls next and escapes the children of
the passed node.

fix T6793

6 years agoefl_ui_focus: Add missing EINA_UNUSED for unused function parameters
Chris Michael [Wed, 11 Apr 2018 14:11:20 +0000 (10:11 -0400)]
efl_ui_focus: Add missing EINA_UNUSED for unused function parameters

6 years agoecore-evas: Remove unused variable
Chris Michael [Wed, 11 Apr 2018 14:04:47 +0000 (10:04 -0400)]
ecore-evas: Remove unused variable

6 years agoeolian: simplify class validation logic
Daniel Kolesa [Wed, 11 Apr 2018 12:58:41 +0000 (14:58 +0200)]
eolian: simplify class validation logic

6 years agoeolian: better/more robust class inheritance list replacement
Daniel Kolesa [Wed, 11 Apr 2018 12:31:03 +0000 (14:31 +0200)]
eolian: better/more robust class inheritance list replacement

6 years agotheme: button - fix the warning.
Amitesh Singh [Wed, 11 Apr 2018 11:03:41 +0000 (20:03 +0900)]
theme: button - fix the warning.

This fixed following warning

elementary/themes/edc/efl/button.edc:4:19: warning: `ICON' redefined

6 years agotheme: spin button - remove elm spin btn inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:52:09 +0000 (19:52 +0900)]
theme: spin button - remove elm spin btn inheritance.

6 years agotheme: panes - remove elm panes inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:31:42 +0000 (19:31 +0900)]
theme: panes - remove elm panes inheritance.

6 years agotheme: pointer - remove elm pointer inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:19:41 +0000 (19:19 +0900)]
theme: pointer - remove elm pointer inheritance.

6 years agothemes: tooltip - remove elm tooltip inheritance.
Amitesh Singh [Wed, 11 Apr 2018 10:07:11 +0000 (19:07 +0900)]
themes: tooltip - remove elm tooltip inheritance.

6 years agotheme: photocam: define theme based on new theme components.
Amitesh Singh [Wed, 11 Apr 2018 10:00:58 +0000 (19:00 +0900)]
theme: photocam: define theme based on new theme components.

6 years agotheme: popup - define popup alert theme based on new theme
Amitesh Singh [Wed, 11 Apr 2018 09:56:55 +0000 (18:56 +0900)]
theme: popup - define popup alert theme based on new theme

6 years agotheme: list - remove elm scroller, elm list item inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:33:24 +0000 (18:33 +0900)]
theme: list - remove elm scroller, elm list item inheritance.

6 years agotheme: text - use efl/scroller theme group instead.
Amitesh Singh [Wed, 11 Apr 2018 09:17:35 +0000 (18:17 +0900)]
theme: text - use efl/scroller theme group instead.

6 years agotheme: textpath - remove elm textpath inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:14:38 +0000 (18:14 +0900)]
theme: textpath - remove elm textpath inheritance.

6 years agotheme: video - remove elm video inheritance
Amitesh Singh [Wed, 11 Apr 2018 09:12:09 +0000 (18:12 +0900)]
theme: video - remove elm video inheritance

6 years agotheme: win - remove elm win inheritance
Amitesh Singh [Wed, 11 Apr 2018 09:10:57 +0000 (18:10 +0900)]
theme: win - remove elm win inheritance

6 years agotheme: slider - remove elm slider inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:09:32 +0000 (18:09 +0900)]
theme: slider - remove elm slider inheritance.

6 years agotheme: scroller - remove elm scroller inheritance
Amitesh Singh [Wed, 11 Apr 2018 09:08:08 +0000 (18:08 +0900)]
theme: scroller - remove elm scroller inheritance

6 years agothemes: cursor - remove elm cursor inheritance.
Amitesh Singh [Wed, 11 Apr 2018 09:01:50 +0000 (18:01 +0900)]
themes: cursor - remove elm cursor inheritance.

6 years agothemes: frame - remove elm frame inheritance.
Amitesh Singh [Wed, 11 Apr 2018 08:58:30 +0000 (17:58 +0900)]
themes: frame - remove elm frame inheritance.

6 years agotheme: focus - remove elm focus highlight inheritance.
Amitesh Singh [Wed, 11 Apr 2018 08:46:37 +0000 (17:46 +0900)]
theme: focus - remove elm focus highlight inheritance.

6 years agotheme: calendar - remove elm btn inheritance.
Amitesh Singh [Wed, 11 Apr 2018 08:42:19 +0000 (17:42 +0900)]
theme: calendar - remove elm btn inheritance.

6 years agotheme: border - remove elm border inheritance
Amitesh Singh [Wed, 11 Apr 2018 08:33:37 +0000 (17:33 +0900)]
theme: border - remove elm border inheritance

and add full edc theme.

6 years agotheme: bg - remove the elm bg inheritance
Amitesh Singh [Wed, 11 Apr 2018 03:47:03 +0000 (12:47 +0900)]
theme: bg - remove the elm bg inheritance

6 years agoDisable getuid feature to fix build error on arm environment
Wonki Kim [Fri, 13 Apr 2018 04:38:53 +0000 (13:38 +0900)]
Disable getuid feature to fix build error on arm environment

Change-Id: I97760b84e104503bc6d2b5ba7d8cf6e9df531b4d

6 years agoelc_popup: no need to make them focusable
Marcel Hollerbach [Wed, 11 Apr 2018 08:36:24 +0000 (10:36 +0200)]
elc_popup: no need to make them focusable

if they have content the content will be focusable, if there is no
content the rect of root_focus will be focused instead.

6 years agoefl_ui_focus_manager_root_focus: maintain focus state over state eval
Marcel Hollerbach [Wed, 11 Apr 2018 08:33:19 +0000 (10:33 +0200)]
efl_ui_focus_manager_root_focus: maintain focus state over state eval

the rect is unregistered and registered again, if it was focused, still
focus it.

6 years agoelm_suite: a new testcase for checking focus chains with redirects
Marcel Hollerbach [Tue, 10 Apr 2018 14:51:26 +0000 (16:51 +0200)]
elm_suite: a new testcase for checking focus chains with redirects

6 years agoecore ipc - fix send to skip data payload if null/0
Carsten Haitzler (Rasterman) [Wed, 11 Apr 2018 05:34:40 +0000 (14:34 +0900)]
ecore ipc - fix send to skip data payload if null/0

conversion to efl.nmet didnt deal with null/0 zised payloads properly
and tried to send them, resulting in lots of ERR complaints which were
not errors. fix that to not try and send such empty payloads

@fix

6 years agoecore_evas: remove dead code.
Cedric Bail [Tue, 10 Apr 2018 22:01:23 +0000 (15:01 -0700)]
ecore_evas: remove dead code.

6 years agoevas: we directly use the main loop, we do not need external integration anymore.
Cedric Bail [Tue, 10 Apr 2018 21:39:21 +0000 (14:39 -0700)]
evas: we directly use the main loop, we do not need external integration anymore.

6 years agoevas: protection during canvas shutdown.
Cedric Bail [Tue, 10 Apr 2018 21:02:48 +0000 (14:02 -0700)]
evas: protection during canvas shutdown.

6 years agoefl_canvas_animation_player: Reset map after animation is finished
Jaehyun Cho [Tue, 10 Apr 2018 13:03:26 +0000 (22:03 +0900)]
efl_canvas_animation_player: Reset map after animation is finished

Previously, beginning state of animation is applied after animation is
finished if final_state_keep_get() is false.

Now, map is reset (no animation is applied) after animation is finished
if final_state_keep_get() is false.

6 years agoefl_canvas_animation_player: Change Running_Event_Info to Event_Running
Jaehyun Cho [Tue, 10 Apr 2018 13:24:28 +0000 (22:24 +0900)]
efl_canvas_animation_player: Change Running_Event_Info to Event_Running

To synchronize other types of event info,
Efl_Canvas_Animation_Player_Running_Event_Info is changed to
Efl_Canvas_Animation_Player_Event_Running.

Remove unused struct.

6 years agoecore_file: switch from buf to tmpstr
Marcel Hollerbach [Tue, 10 Apr 2018 09:52:49 +0000 (11:52 +0200)]
ecore_file: switch from buf to tmpstr

before  c65782b15c0af7c25c5506cdf79cbbfa39604fec the acutal path has
been filled into buf, with eina_file_mkstemp the string is filled into
tmpstr, so that path should be chmoded instead of the template buf.

Thx to MatP for the report!

6 years agoelm_suite: fixup test suite
Marcel Hollerbach [Mon, 9 Apr 2018 23:46:30 +0000 (01:46 +0200)]
elm_suite: fixup test suite

the testcase was only added, but not executed, my bad!

6 years agoelementary: resolve build error
Wonki Kim [Wed, 11 Apr 2018 08:37:04 +0000 (17:37 +0900)]
elementary: resolve build error

Change-Id: I8ace6bcbde3b2df29e756cfc635e8de863af374d
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary_tizen: add override method for genlist_finalize to resolve build fail
Wonki Kim [Wed, 11 Apr 2018 06:47:08 +0000 (15:47 +0900)]
elementary_tizen: add override method for genlist_finalize to resolve build fail

Change-Id: If76dbd781b9a68d720eb861c0e9ecb8bd8ee9b76
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoelementary: Add missing diff to fix a build error
Wonki Kim [Tue, 10 Apr 2018 14:28:38 +0000 (23:28 +0900)]
elementary: Add missing diff to fix a build error

This patch should have been applied by a patch(faeb798c6e682c3ed9967b189b41dbebc42d0496)

Change-Id: Icef27417bff8c4a2ab0400cc08939bdfc1490712
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoecore_evas_wayland: handle 0x0 content problem
Shinwoo Kim [Tue, 10 Apr 2018 11:38:47 +0000 (20:38 +0900)]
ecore_evas_wayland: handle 0x0 content problem

Someone could NOT use elementary and use ecore_evas only. In this case, content
size which is defined by elementary is 0x0. If content size is 0x0, then frame
size is equal to window size. But the frame size is defined by elementary as
well. So if there is not a content, then the frame size should be 0.

6 years agotests: split ecore thread queue tests into 2 test cases
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:12 +0000 (13:37 +0200)]
tests: split ecore thread queue tests into 2 test cases

Summary:
enable running these tests in parallel

ref T6851
Depends on D5905

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

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

6 years agotests: split efl_app promise tests into separate test cases
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:04 +0000 (13:37 +0200)]
tests: split efl_app promise tests into separate test cases

Summary:
each test case can run in parallel, so this provides a ~300% speedup

ref T6850
Depends on D5904

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

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

6 years agotests: ensure eina/efl_object are initialized for all efl_app tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:04 +0000 (13:37 +0200)]
tests: ensure eina/efl_object are initialized for all efl_app tests

Summary:
these aren't tested so don't init/shutdown for every test

ref T6850
Depends on D5903

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

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

6 years agotests: move ecore promise tests into efl_app_suite
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:03 +0000 (13:37 +0200)]
tests: move ecore promise tests into efl_app_suite

Summary:
ref T6815
Depends on D5902

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6815

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

6 years agotests: add more timing info for per-file timing
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:03 +0000 (13:37 +0200)]
tests: add more timing info for per-file timing

Summary:
ref T6825
Depends on D5901

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6825

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

6 years agotests: split ecore poller tests into separate file
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:02 +0000 (13:37 +0200)]
tests: split ecore poller tests into separate file

Summary:
ref T6850
Depends on D5900

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

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

6 years agotests: split ecore idler tests into separate file
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:02 +0000 (13:37 +0200)]
tests: split ecore idler tests into separate file

Summary:
ref T6850
Depends on D5899

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6850

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

6 years agotests: move efl_loop_fd tests into efl_app_suite
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:01 +0000 (13:37 +0200)]
tests: move efl_loop_fd tests into efl_app_suite

Summary:
ref T6815
Depends on D5898

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6815

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

6 years agotests: break out simple timer failure test into separate test
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:01 +0000 (13:37 +0200)]
tests: break out simple timer failure test into separate test

Summary: Depends on D5897

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: add fixtures for efl_app tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:01 +0000 (13:37 +0200)]
tests: add fixtures for efl_app tests

Summary:
ref T6811
Depends on D5896

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6811

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

6 years agotests: move disabled efl loop timer test into efl_app_suite
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:00 +0000 (13:37 +0200)]
tests: move disabled efl loop timer test into efl_app_suite

Summary:
ref T6815
Depends on D5895

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6815

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

6 years agotests: split efl_loop tests out of efl_app_suite.c
Mike Blumenkrantz [Mon, 9 Apr 2018 11:37:00 +0000 (13:37 +0200)]
tests: split efl_loop tests out of efl_app_suite.c

Summary: Depends on D5894

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: reduce duration of ecore_test_timers
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:59 +0000 (13:36 +0200)]
tests: reduce duration of ecore_test_timers

Summary:
fix T6852
Depends on D5893

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

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

6 years agotests: move ecore_test_ecore_main_loop_timer into timers test file
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:59 +0000 (13:36 +0200)]
tests: move ecore_test_ecore_main_loop_timer into timers test file

Summary: Depends on D5892

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: reduce duration of ecore_test_animators
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:59 +0000 (13:36 +0200)]
tests: reduce duration of ecore_test_animators

Summary:
fix T6852
Depends on D5891

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

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

6 years agotests: reduce duration of ecore_test_ecore_main_loop_timer test
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:58 +0000 (13:36 +0200)]
tests: reduce duration of ecore_test_ecore_main_loop_timer test

Summary:
fix T6852
Depends on D5890

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

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

6 years agotests: improve ecore thread queue reliability
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:58 +0000 (13:36 +0200)]
tests: improve ecore thread queue reliability

Summary:
* check inside thread callbacks whether thread has been canceled
* clean up (global) objects
* wait for threads to die before exiting each test

ref T6851
Depends on D5889

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

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

6 years agotests: remove "info" messages from ecore-drm/input tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:57 +0000 (13:36 +0200)]
tests: remove "info" messages from ecore-drm/input tests

Summary: Depends on D5888

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: quiet useless printf spam from thread queue tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:57 +0000 (13:36 +0200)]
tests: quiet useless printf spam from thread queue tests

Summary: Depends on D5886

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: remove extra download in ecore_test_ecore_file_download
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:56 +0000 (13:36 +0200)]
tests: remove extra download in ecore_test_ecore_file_download

Summary:
this function is just a wrapper, avoid downloading the same file
multiple times

ref T6853
Depends on D5885

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6853

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

6 years agotests: use different website for ecore_test_ecore_file_download
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:56 +0000 (13:36 +0200)]
tests: use different website for ecore_test_ecore_file_download

Summary:
while it may be the case that we do not control example.com, it is also
the case that loading anything from enlightenment.org takes 10+ seconds
longer (at minimum) than loading example.com

ref T6853
Depends on D5884

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6853

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

6 years agotests: use 0.05s as poller interval in ecore_test_ecore_main_loop_poller
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:55 +0000 (13:36 +0200)]
tests: use 0.05s as poller interval in ecore_test_ecore_main_loop_poller

Summary:
fix T6852
Depends on D5883

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

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

6 years agotests: split ecore_test_ecore_main_loop_poller_add_del into separate tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:55 +0000 (13:36 +0200)]
tests: split ecore_test_ecore_main_loop_poller_add_del into separate tests

Summary:
unit tests should verify only small pieces of functionality to ensure
that they are testing what they claim to be testing

fix T6852
Depends on D5882

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6852

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

6 years agotests: remove random usleeps from ecore thread queue tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:54 +0000 (13:36 +0200)]
tests: remove random usleeps from ecore thread queue tests

Summary:
fix T6851
Depends on D5881

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6851

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

6 years agotests: enable some commented out eldbus tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:54 +0000 (13:36 +0200)]
tests: enable some commented out eldbus tests

Summary:
these are able to run now that a dbus session is always launched
Depends on D5880

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: remove timing info for eina mempool initializer
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:54 +0000 (13:36 +0200)]
tests: remove timing info for eina mempool initializer

Summary:
this is buggy somehow and prints its info a few dozen times, likely
taking longer to print the info than to run the actual test
Depends on D5879

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: use dbus-run-session when running tests
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:53 +0000 (13:36 +0200)]
tests: use dbus-run-session when running tests

Summary: Depends on D5878

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: add all xml files to gitignore
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:53 +0000 (13:36 +0200)]
tests: add all xml files to gitignore

Summary: Depends on D5877

Reviewers: stefan_schmidt

Subscribers: cedric

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

6 years agotests: parallelize most test suites
Mike Blumenkrantz [Mon, 9 Apr 2018 11:36:52 +0000 (13:36 +0200)]
tests: parallelize most test suites

Summary:
check does not internally do any parallelizing and is impossible to use
with threads, so using fork appears to be the only viable option for
using more cpu without radically redesigning all existing tests

ref T6825
ref T6848

Reviewers: stefan_schmidt

Subscribers: cedric

Maniphest Tasks: T6848, T6825

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

6 years agoefl_io_queue: add null check for slice->mem
Shinwoo Kim [Tue, 10 Apr 2018 07:13:44 +0000 (16:13 +0900)]
efl_io_queue: add null check for slice->mem

A negative test case leads to segmentation fault.
If ecore_evas_msg_parent_send is called with NULL data, then slice->mem would
be NULL, and _efl_io_queue_efl_io_writer_write calls memcpy with NULL src.

6 years agoelementary: apply anti-aliasing at the gesture layer example.
Hermet Park [Tue, 10 Apr 2018 02:25:25 +0000 (11:25 +0900)]
elementary: apply anti-aliasing at the gesture layer example.

6 years agoevas: improve evas map anti-alising rendering quality.
Hermet Park [Tue, 10 Apr 2018 02:09:35 +0000 (11:09 +0900)]
evas: improve evas map anti-alising rendering quality.

Old version algorithm was imperfection a bit, quality was poor at some specific
degrees, specifically, when pixel increment pattern on the diagonal lines is
unstable.

This revised version was better than old one even source code is much cleaner
and simpler.

See belows.

*NonAA vs AA:
https://ibb.co/bCNfMc

*Compare the worst case aa in the old version:
https://ibb.co/bEJsZx

*Test video:
https://youtu.be/Wn20Tym5lfg