platform/upstream/efl.git
4 years agoeina_types: declare unicode type stable
Marcel Hollerbach [Mon, 13 Jan 2020 12:38:45 +0000 (13:38 +0100)]
eina_types: declare unicode type stable

this is needed in order to get text stable.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11074

4 years agoefl_ui_spin_button: test that max can be reached by clicking inc
Marcel Hollerbach [Fri, 3 Jan 2020 17:41:29 +0000 (18:41 +0100)]
efl_ui_spin_button: test that max can be reached by clicking inc

this is esp. testing if this is possible with step not beeing a multiple
of max.

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

4 years agoefl_ui_spin_button: add tests for direct input feature
Marcel Hollerbach [Fri, 3 Jan 2020 17:40:26 +0000 (18:40 +0100)]
efl_ui_spin_button: add tests for direct input feature

this simply passes in some key sequences and checks if the validation is
working. Additionally the output value is checked.

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

4 years agoefl_ui_spin_button: add test for sequential inc
Marcel Hollerbach [Thu, 2 Jan 2020 16:46:46 +0000 (17:46 +0100)]
efl_ui_spin_button: add test for sequential inc

before there was a bug with this, as there was a int cast in the
internal dataflow. This ensures that this is working.

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

4 years agoefl_ui_spin_button: test wraparround
Marcel Hollerbach [Thu, 2 Jan 2020 15:45:05 +0000 (16:45 +0100)]
efl_ui_spin_button: test wraparround

this tests the wraparround feature.

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

4 years agoefl_ui/spin_button: fix step clamping
Mike Blumenkrantz [Thu, 2 Jan 2020 19:05:41 +0000 (14:05 -0500)]
efl_ui/spin_button: fix step clamping

values for this needs to be rounded off the step in order to be expected
step-values and not just double garbage

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11006

4 years agoefl_ui_timepicker: make 24h mode work
Marcel Hollerbach [Thu, 2 Jan 2020 10:40:06 +0000 (11:40 +0100)]
efl_ui_timepicker: make 24h mode work

this is something which was never ever working before. However, while
fixing the 24h mode, it also appeared that the theming was applied in
the wrong spot, which resulted in signals beeing called on a not yet
themed object, so the theming was also fixed. (Which is the theme_apply
change).

To sum up:
 - The theme is now applied by efl_ui_layout_base
 - the range is now correct for 24h mode
 - There is a quite major problem with the theme, see T8546
 - As a quick fix, am / pm button can be disabled.

ref T8546

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

4 years agotheme: make spin button work better
Marcel Hollerbach [Wed, 1 Jan 2020 13:13:46 +0000 (14:13 +0100)]
theme: make spin button work better

this is now using the EFL_UI_CLICKABLE_PART_BIND macro, which makes
multiple clicks work correctly, which improves the overall usability of
the widget.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11000

4 years agoefl_gesture: rename Efl.Gesture.Events to Efl.Canvas.Gesture_Events
Jaehyun Cho [Mon, 13 Jan 2020 13:24:30 +0000 (14:24 +0100)]
efl_gesture: rename Efl.Gesture.Events to Efl.Canvas.Gesture_Events

Summary:
Since the current Efl.Gesture.Events has canvas gesture events only,
Efl.Gesture.Events should be renamed to Efl.Canvas.Gesture_Events.

If other types of gesture events are newlly required later, which are
not based on canvas, then class Efl.XXX.Gesture_Events is required to
be introduced.

Reviewers: CHAN, segfaultxavi, bu5hm4n, zmike

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl.ui.textbox: use efl_del with efl_duplicate
Ali Alzyod [Sun, 12 Jan 2020 17:04:12 +0000 (17:04 +0000)]
efl.ui.textbox: use efl_del with efl_duplicate

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11069

4 years agoeolian_mono: add missing tabs to apply indentation
Jaehyun Cho [Mon, 13 Jan 2020 11:43:22 +0000 (20:43 +0900)]
eolian_mono: add missing tabs to apply indentation

Missing tabs are added to apply indentation.

4 years agoefl.ui.textbox: legacy cleanup
Ali Alzyod [Sun, 12 Jan 2020 16:31:05 +0000 (16:31 +0000)]
efl.ui.textbox: legacy cleanup

efl.ui.textbox: legacy cleanup

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

4 years agoevas_textblock: emit change event on markup_set
Ali Alzyod [Tue, 7 Jan 2020 08:32:19 +0000 (08:32 +0000)]
evas_textblock: emit change event on markup_set

Markup_set will emit change events, if user set empty string.
This Change is related to D10985, where markup_prepend will not emit events if empty string was added

Reviewed-by: Al Poole <netstar@gmail.com>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11020

4 years agoefl.ui.textbox: Enter on keyboard will add \n instead of paragraph separator
Ali Alzyod [Mon, 13 Jan 2020 03:46:57 +0000 (12:46 +0900)]
efl.ui.textbox: Enter on keyboard will add \n instead of paragraph separator

Summary: Becuase multiline_set(false) does not work with paragraphs, if user insert text by keyboard with multible line, then set multiline into false, multilines will still shown to user.

Test Plan:
```
#define EFL_EO_API_SUPPORT 1
#define EFL_BETA_API_SUPPORT 1
#include <Efl_Ui.h>
#include <Elementary.h>

static void
_multiline_click_callback(void *data, const Efl_Event *event EINA_UNUSED)
{
   Eo *tb = (Eo*) data;
   efl_text_multiline_set(tb, !efl_text_multiline_get(tb));
}

static void
_quit_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
   efl_exit(0);
}

EAPI_MAIN void
efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
   Eo *win, *box;

   win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get(),
                  efl_text_set(efl_added, "Hello world"),
                  efl_ui_win_autodel_set(efl_added, EINA_TRUE));
   efl_event_callback_add(win, EFL_UI_WIN_EVENT_DELETE_REQUEST, _quit_cb, NULL);
   efl_gfx_entity_size_set(win, EINA_SIZE2D(400, 240));

   box = efl_add(EFL_UI_BOX_CLASS, win,
                 efl_content_set(win, efl_added),
                 efl_ui_layout_orientation_set(efl_added, EFL_UI_LAYOUT_ORIENTATION_VERTICAL));

   Eo *tb = efl_add(EFL_UI_TEXTBOX_CLASS, box,
            efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0.9),
            efl_pack(box, efl_added));

   Eo *btn = efl_add(EFL_UI_BUTTON_CLASS, box,
             efl_text_set(efl_added, "multiline switch"),
             efl_gfx_hint_weight_set(efl_added, EFL_GFX_HINT_EXPAND, 0.1),
             efl_event_callback_add(efl_added, EFL_INPUT_EVENT_CLICKED, _multiline_click_callback, tb),
             efl_pack(box, efl_added));
}
EFL_MAIN()
```

Reviewers: woohyun, segfaultxavi

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoeolian_mono: add 1 tab inside the namespace
Yeongjong Lee [Mon, 13 Jan 2020 00:45:16 +0000 (09:45 +0900)]
eolian_mono: add 1 tab inside the namespace

Summary:
Also, this patch will fix indentation of enum, struct.

### Before
```
namespace Efl.Ui {
/// <summary>Define the move or resize mode of a window.
///
/// The user can request the display server to start moving or resizing the window by combining these modes. However only limited combinations are allowed.
...
[Efl.Eo.BindingEntity]
public enum WinMoveResizeMode
{
/// <summary>Start moving window<br/>Since EFL 1.22.</summary>
Move = 1,
/// <summary>Start resizing window to the top<br/>Since EFL 1.22.</summary>
Top = 2,
...
}
}
```

### After
```
namespace Efl.Ui {
    /// <summary>Define the move or resize mode of a window.
    ///
    /// The user can request the display server to start moving or resizing the window by combining these modes. However only limited combinations are allowed.
...
    [Efl.Eo.BindingEntity]
    public enum WinMoveResizeMode
    {
        /// <summary>Start moving window<br/>Since EFL 1.22.</summary>
        Move = 1,
        /// <summary>Start resizing window to the top<br/>Since EFL 1.22.</summary>
        Top = 2,
...
    }
}
```

Reviewers: Jaehyun_Cho, felipealmeida

Reviewed By: felipealmeida

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years ago[Scrollable Interface] Page flick adjustments submit/tizen/20200111.071320 submit/tizen/20200112.211134
godlytalias14573465 [Tue, 31 Dec 2019 12:38:07 +0000 (18:08 +0530)]
[Scrollable Interface] Page flick adjustments

Change-Id: I36742089fea474268e82a61ff65a8aa6c2eebe96
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years agospinner: Support changed callback.
Woochanlee [Fri, 3 Jan 2020 14:21:58 +0000 (19:51 +0530)]
spinner: Support changed callback.

Spinner value changed callback has to call When the internal list item changes.

Change-Id: I7d4d62297a9e91654bbca3e52883ca1bc4ba2cbd
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
4 years agoeolian_gen: utilize c_name instead of name for generation
Daniel Kolesa [Fri, 10 Jan 2020 19:15:02 +0000 (20:15 +0100)]
eolian_gen: utilize c_name instead of name for generation

This will make generated output properly respect the @c_name tags.

4 years agoeolian: use c_name to derive enum c field names
Daniel Kolesa [Fri, 10 Jan 2020 19:07:42 +0000 (20:07 +0100)]
eolian: use c_name to derive enum c field names

4 years agoeolian: fix parsing of c_name tags
Daniel Kolesa [Fri, 10 Jan 2020 19:02:41 +0000 (20:02 +0100)]
eolian: fix parsing of c_name tags

It was not properly consuming the ending ) token.

4 years agoci: travis: add build on ARM64 arch now provided by Travis
Stefan Schmidt [Fri, 10 Jan 2020 14:51:32 +0000 (09:51 -0500)]
ci: travis: add build on ARM64 arch now provided by Travis

Summary:
Cheap and easy way for us to have basic compile testing on ARM64. Travis
is also offering ppc64le and s390x for builds, but on ppc64le we get a
internal compoler error (yay!) on c++ examples and on s390x we have no
luajit. So, these two have to wait a bit more.

Reviewers: bu5hm4n, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_collection_view: fix test
Marcel Hollerbach [Fri, 10 Jan 2020 13:50:55 +0000 (14:50 +0100)]
efl_ui_collection_view: fix test

count_realize / unrealize are stacked, we should not leak a callback
that has a stack var as user_data.

4 years agoRevert "ecore-wl2: Move ecore_wl2_window_output_find function to be internal" submit/tizen/20200111.060210
Jongmin Lee [Sat, 11 Jan 2020 06:00:27 +0000 (15:00 +0900)]
Revert "ecore-wl2: Move ecore_wl2_window_output_find function to be internal"

This reverts commit e229a1b5f8f36ca4ef6a44373be1e5453f750534.

Change-Id: Id7122d9ab7b8b5f571daec8942a0a2eb535668c8

4 years agoedje_entry: fix some preediting bugs 86/222086/6
WooHyun Jung [Thu, 9 Jan 2020 11:33:29 +0000 (20:33 +0900)]
edje_entry: fix some preediting bugs

Summary:
1. Attributes can come with random sequence.
   So, attribute list should be sorted based on start_index.
2. None tag can be used for some languages' preediting.
   So, the tag also needs to be handled the same with other tags.

This patch is still in review (https://phab.enlightenment.org/D11059).

Change-Id: Icb8a1da57da421264f212d3f44828d447e2e2400

4 years agoRevert "ecore-wl2: Move ecore_wl2_dnd functions to be internal" submit/tizen/20200110.001918
Jongmin Lee [Thu, 9 Jan 2020 22:51:13 +0000 (07:51 +0900)]
Revert "ecore-wl2: Move ecore_wl2_dnd functions to be internal"

This reverts commit 98ef92008cfe796b0fa2dcbef4c9e674a0fd2a4b.

Change-Id: I2526615e902da475335629af59af70a7db4a8918

4 years ago[OneUI 1.5] Accessibility - Update method name of highlight object trigger feature submit/tizen/20200109.212837
Shilpa Singh [Thu, 12 Dec 2019 07:26:32 +0000 (12:56 +0530)]
[OneUI 1.5] Accessibility - Update method name of highlight object trigger feature

This feature is required to trigger the reading of currently highlighted object.
For scenario where object is already highlighted, and it has to be read again then
__elm_atspi_bridge_highlighted_object_read will be used.

Change-Id: Ie61e879a85acaacdc90bf60fa9a578bf7659e746
Signed-off-by: Nihar Raichada <n.raichada@samsung.com>
4 years agogenlist :disable source clip set to prevent unwanted clipping issue on proxy
SangHyeon Jade Lee [Thu, 9 Jan 2020 08:10:41 +0000 (17:10 +0900)]
genlist :disable source clip set to prevent unwanted clipping issue on proxy

Change-Id: I7d464a343ad25b2d196004e69151706d7cb12ee0
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
4 years agoelementary: enable collection view test to wait for "child.selected" event.
Cedric BAIL [Fri, 3 Jan 2020 23:36:22 +0000 (15:36 -0800)]
elementary: enable collection view test to wait for "child.selected" event.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11015

4 years agoelementary: start some collectionview tests
Mike Blumenkrantz [Fri, 3 Jan 2020 15:06:40 +0000 (10:06 -0500)]
elementary: start some collectionview tests

* basic test checking realize/unrealize signals
* selection model test

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D11012

4 years agoelementary: add proper test for "child.selected" propagation.
Cedric BAIL [Fri, 3 Jan 2020 23:35:49 +0000 (15:35 -0800)]
elementary: add proper test for "child.selected" propagation.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11014

4 years agoelementary: properly propagate "child.selected" change.
Cedric BAIL [Fri, 3 Jan 2020 23:35:17 +0000 (15:35 -0800)]
elementary: properly propagate "child.selected" change.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11013

4 years agodocs: Improvements to Text API documentation
Xavi Artigas [Thu, 9 Jan 2020 17:11:59 +0000 (18:11 +0100)]
docs: Improvements to Text API documentation

Ref T7855
Ref T7934
Ref T7935
Ref T7936
Ref T7937
Ref T7938
Ref T7941
Ref T7942
Ref T7943
Ref T7944
Ref T7945

4 years agotests/ecore_wl2: Remove test the ecore_wl2_window_output_find
Christopher Michael [Thu, 9 Jan 2020 15:54:58 +0000 (10:54 -0500)]
tests/ecore_wl2: Remove test the ecore_wl2_window_output_find

This function is internal to EFL so does not need a test case

ref T8016

4 years agoecore-wl2: Move ecore_wl2_window_output_find function to be internal
Christopher Michael [Thu, 9 Jan 2020 15:54:17 +0000 (10:54 -0500)]
ecore-wl2: Move ecore_wl2_window_output_find function to be internal

This function is unused outside of EFL, so it does not need to be
public. Move function to be internal

ref T8013

4 years agoefl_wl: Add ecore_wl2_internal include
Christopher Michael [Thu, 9 Jan 2020 15:53:26 +0000 (10:53 -0500)]
efl_wl: Add ecore_wl2_internal include

This library uses functions which are now internal to Ecore_Wl2, so we
need to add the ecore_wl2_internal header here.

4 years agotests/ecore_wl2: Simplify test infrastructure
Christopher Michael [Thu, 9 Jan 2020 15:46:54 +0000 (10:46 -0500)]
tests/ecore_wl2: Simplify test infrastructure

This commit adds the _display_connect function to the tests_helpers
file so that we do not have to duplicate the function across files.

ref T8016

4 years agoelementary: Include ecore_wl2_internal header when building Wayland
Christopher Michael [Thu, 9 Jan 2020 15:31:29 +0000 (10:31 -0500)]
elementary: Include ecore_wl2_internal header when building Wayland
support

Commits b3114e2484d831bfedfde3a28ecd1e74465f96, and
eafed87ffd70c0a1da18 moved some previously public API functions to be
internal because they are not used outside of EFL. As such, we need to
include the ecore_wl2_internal.h header file here because those
functions are used inside Elementary.

4 years agoecore-wl2: Move ecore_wl2_subsurface functions to be internal
Christopher Michael [Thu, 9 Jan 2020 15:17:32 +0000 (10:17 -0500)]
ecore-wl2: Move ecore_wl2_subsurface functions to be internal

These functions are not used outside of EFL so there is no need for
them to be public.

ref T8013

4 years agoecore-wl2: Move ecore_wl2_offer functions to be internal
Christopher Michael [Thu, 9 Jan 2020 15:14:46 +0000 (10:14 -0500)]
ecore-wl2: Move ecore_wl2_offer functions to be internal

These functions are not used outside of EFL, so there is no need for
them to be public.

ref T8013

4 years agoecore-wl2: Move ecore_wl2_dnd functions to be internal
Christopher Michael [Thu, 9 Jan 2020 15:12:51 +0000 (10:12 -0500)]
ecore-wl2: Move ecore_wl2_dnd functions to be internal

These functions are not used inside Enlightenment and are only used
internally in EFL, so no need to be public

ref T8013

4 years agotests/ecore_wl2: Fix ecore_wl2_display_input_find test
Christopher Michael [Thu, 9 Jan 2020 14:48:58 +0000 (09:48 -0500)]
tests/ecore_wl2: Fix ecore_wl2_display_input_find test

So apparently Enlightenment uses 'seat0' for input name and Weston
uses 'default'. Test for E_START env var and adjust function call so
that the test does not fail in either case.

4 years agodocs: Fine-tuning the gesture descriptions
Xavi Artigas [Thu, 9 Jan 2020 14:38:23 +0000 (15:38 +0100)]
docs: Fine-tuning the gesture descriptions

4 years agoelementary: Add missing EINA_UNUSED for unused parameter
Christopher Michael [Thu, 9 Jan 2020 14:17:28 +0000 (09:17 -0500)]
elementary: Add missing EINA_UNUSED for unused parameter

NB: This file is a mess wrt formatting

4 years agoefl.text.cursor: change to abstract class
Ali Alzyod [Thu, 9 Jan 2020 13:33:07 +0000 (22:33 +0900)]
efl.text.cursor: change to abstract class

Summary:
1- Change cursor to abstract class
2- Remove copy method from cursor
3- remove cursor_Add method from efl.canvas.textblock and efl.ui.textbox

Reviewers: woohyun, segfaultxavi, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: lauromoura, YOhoho, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8299, T8454

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

4 years agoefl.canvas.textblock: rename style strings to have underscore between words
Ali Alzyod [Thu, 9 Jan 2020 11:14:22 +0000 (12:14 +0100)]
efl.canvas.textblock: rename style strings to have underscore between words

Summary:
rename following styling strings:
tabstops -> tab_stops
linesize -> line_size
linerelsize -> line_rel_size
linegap -> line_gap
linerelgap -> line_rel_gap
linefill -> line_fill

This will affect Style_Apply, all_style_get,  and any method expect styling string

Reviewers: segfaultxavi, woohyun

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8523

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

4 years agoTEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into opposite
Ali Alzyod [Thu, 9 Jan 2020 09:59:12 +0000 (10:59 +0100)]
TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into opposite

Summary: TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into opposite

Reviewers: segfaultxavi, woohyun

Reviewed By: segfaultxavi, woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7939

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

4 years agoevas ector: ++safety.
Hermet Park [Thu, 9 Jan 2020 06:00:22 +0000 (15:00 +0900)]
evas ector: ++safety.

add return value by ector_begin() for vector safety.

Change-Id: If6d0886e7b8bbf98358ee56f668b464bcf4a6dc9

4 years agoefl_ui_textbox: replace elm_obj stuff and focuse stuff
Ali Alzyod [Thu, 9 Jan 2020 04:57:04 +0000 (13:57 +0900)]
efl_ui_textbox: replace elm_obj stuff and focuse stuff

Summary: efl_ui_textbox: replace elm_obj stuff and focuse stuff

Reviewers: woohyun, bu5hm4n

Reviewed By: woohyun, bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8522

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

4 years agoefl.ui.textbox: rename selection_handler to selection_handles
Ali Alzyod [Thu, 9 Jan 2020 04:44:50 +0000 (13:44 +0900)]
efl.ui.textbox: rename selection_handler to selection_handles

Summary: efl.ui.textbox: rename selection_handler to selection_handles

Reviewers: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8522

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

4 years agoevas ector: ++safety.
Hermet Park [Thu, 9 Jan 2020 06:00:22 +0000 (15:00 +0900)]
evas ector: ++safety.

add return value by ector_begin() for vector safety.

Change-Id: I864c8eefb88f4da0ca23ba34a1864b9ab7b791a2

4 years agoelementary: add circle to wearable class names 94/221694/2
Jaehyun Cho [Tue, 7 Jan 2020 02:16:07 +0000 (11:16 +0900)]
elementary: add circle to wearable class names

To avoid same class names, circle is added to the wearable class names.

Change-Id: Iace92716869aa1f92d43a2d3176d20904e937f7b

4 years agoRevert "ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get... submit/tizen/20200109.005838
Jongmin Lee [Thu, 9 Jan 2020 00:54:34 +0000 (09:54 +0900)]
Revert "ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get functions to be internal"

This reverts commit 7d8f7616f55cfaa3494146715367cf803781ab43.

4 years agoecore-wl2: Remove unused API submit/tizen/20200108.220247
Christopher Michael [Wed, 8 Jan 2020 16:13:11 +0000 (11:13 -0500)]
ecore-wl2: Remove unused API

This API is not used Anywhere inside EFL, Enlightenment, Or Tizen so
there is really no need for it to exist....one less unused API to
worry about.

4 years agotests/ecore_wl2: Add test for ecore_wl2_input_seat_capabilities_get
Christopher Michael [Wed, 8 Jan 2020 16:06:15 +0000 (11:06 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_input_seat_capabilities_get

ref T8016

4 years agotests/ecore_wl2: Add test for ecore_wl2_display_input_find_by_name
Christopher Michael [Wed, 8 Jan 2020 16:02:11 +0000 (11:02 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_display_input_find_by_name

ref T8016

4 years agotests/ecore_wl2: Add test for ecore_wl2_window_popup_input functions
Christopher Michael [Wed, 8 Jan 2020 15:58:29 +0000 (10:58 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_window_popup_input functions

ref T8016

4 years agotests/ecore_wl2: Fix input_keymap test
Christopher Michael [Wed, 8 Jan 2020 15:42:11 +0000 (10:42 -0500)]
tests/ecore_wl2: Fix input_keymap test

The test for ecore_wl2_input_keymap_get was causing failues in the
suite because we need to verify that the input device is a keyboard
before we can check for a keymap.

ref T8016

4 years agotests/ecore_wl2: Add test for ecore_wl2_window_opaque_region functions
Christopher Michael [Wed, 8 Jan 2020 15:36:16 +0000 (10:36 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_window_opaque_region functions

ref T8016

4 years agotests/ecore_wl2: Add test for ecore_wl2_window_input_region functions
Christopher Michael [Wed, 8 Jan 2020 15:33:53 +0000 (10:33 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_window_input_region functions

ref T8016

4 years agoRevert "tests/ecore_wl2: Add test for ecore_wl2_window_xxx functions"
Christopher Michael [Wed, 8 Jan 2020 15:19:16 +0000 (10:19 -0500)]
Revert "tests/ecore_wl2: Add test for ecore_wl2_window_xxx functions"

This commit reverts some additional tests which were added. The reason
for the revert is that these tests can occasionally cause the
ecore_wl2 test suite to timeout/stall.

This reverts commit 4ea865623df83b78830dc253bcddd7e64a7810ca.

4 years agoText_Format_Horizontal_Alignment_Auto_Type: rename enums, and Doc details
Ali Alzyod [Fri, 3 Jan 2020 11:06:25 +0000 (12:06 +0100)]
Text_Format_Horizontal_Alignment_Auto_Type: rename enums, and Doc details

Summary: Text_Format_Horizontal_Alignment_Auto_Type: rename enums, and Doc details

Reviewers: woohyun, ali.alzyod

Reviewed By: ali.alzyod

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7939

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

4 years agotests/ecore_wl2: Fix formatting
Christopher Michael [Wed, 8 Jan 2020 14:21:43 +0000 (09:21 -0500)]
tests/ecore_wl2: Fix formatting

NB: No functional changes

4 years agoecore-wl2: Fix return with no value in function returning non-void
Christopher Michael [Wed, 8 Jan 2020 14:10:43 +0000 (09:10 -0500)]
ecore-wl2: Fix return with no value in function returning non-void

4 years agoci: travis: enable ptrace capabilities to our docker runs
Stefan Schmidt [Wed, 8 Jan 2020 09:50:32 +0000 (10:50 +0100)]
ci: travis: enable ptrace capabilities to our docker runs

ASAN leak sanitizer needs ptrace capabilities to run. It seems the
removal sudo true brings up this issue for us.

https://github.com/google/sanitizers/issues/764
https://github.com/travis-ci/travis-ci/issues/9033

It fixes the recent breaks in our ASAN enabled job durign our cron
builds.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11041

4 years agoecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get functions...
Woochanlee [Wed, 8 Jan 2020 13:00:25 +0000 (08:00 -0500)]
ecore_wl2: Move ecore_wl2_window_iconified, ecore_wl2_window_pending_get functions to be internal

Summary:
This iconified state doesn't match the compositor's.
pending is only works for user manual buffer render case.

So, no need for it to be a public.

ref T8016

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8016

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

4 years agoecore_wl2: Add APIs to get window property.
Woochanlee [Wed, 8 Jan 2020 12:59:53 +0000 (07:59 -0500)]
ecore_wl2: Add APIs to get window property.

Summary:
Creates APIs to get property.

+ecore_wl2_window_popup_input_get
+ecore_wl2_window_input_region_get
+ecore_wl2_window_opaque_region_get

ref T8016

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8016

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

4 years agotests/ecore_wl2: Add test for ecore_wl2_window_xxx functions
Woochanlee [Wed, 8 Jan 2020 12:59:11 +0000 (07:59 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_window_xxx functions

Summary:
Add below APIs.
ecore_wl2_window_commit
ecore_wl2_window_frame_callback_add, del
ecore_wl2_window_free
ecore_wl2_window_hide
ecore_wl2_window_shell_surface_exists
ecore_wl2_window_show
ecore_wl2_window_update_begin

+ Fix ecore_wl2_activated_get()

ref T8016

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8016

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

4 years agoedje_smart: add missing code from migration 33/221933/2
Bowon Ryu [Wed, 8 Jan 2020 09:30:30 +0000 (18:30 +0900)]
edje_smart: add missing code from migration

This patch adds missing code during the migration of the commit below.
24294c6a7c5fa2e7e48efafb59d9aa8a30cd429a

Change-Id: If2b53692a31a61abe1acab0f4bd99f6c633bf093
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 years agoRevert "efl_message: add pending queue for filtering message." 35/221635/2
Hosang Kim [Mon, 6 Jan 2020 10:52:33 +0000 (19:52 +0900)]
Revert "efl_message: add pending queue for filtering message."

Summary:
This reverts commit b2ee3ad74872bcccaac00b718175f7dcedbd1589.

It makes abnormal behavior on ecore job.
Before adding this patch, ecore job is processed immediately.
But now processing ecore job is delayed.

Reviewers: cedric, woohyun

Subscribers: #reviewers, #committers

Tags: #efl

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

Change-Id: I04a2cdc8d6a9252c48964421bd6fa0641cbefe60

4 years agoelm_interface_scrollable: Support wearable rotary event. submit/tizen/20200107.215153
Hosang Kim [Mon, 6 Jan 2020 09:20:34 +0000 (18:20 +0900)]
elm_interface_scrollable: Support wearable rotary event.

Change-Id: I531a6d70b9be83d4973138955d75149212b10407

4 years agodocs: Better description of the Flick gesture
Xavi Artigas [Tue, 7 Jan 2020 16:36:17 +0000 (17:36 +0100)]
docs: Better description of the Flick gesture

4 years agoedje_load: Delete wrong free callback set for hash.
Woochanlee [Tue, 7 Jan 2020 15:13:04 +0000 (10:13 -0500)]
edje_load: Delete wrong free callback set for hash.

Summary:
This hash free callback already sets in the creating time.

Invalid free callback is being called additionally.
Therefore, the existing callback(_edje_user_definition_list_free_internal) could not be called, and a memory leak is occurring.

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl/gesture: correct namespacing of all gesture enums in C
Mike Blumenkrantz [Mon, 6 Jan 2020 18:13:51 +0000 (13:13 -0500)]
efl/gesture: correct namespacing of all gesture enums in C

these were flattened to all be EFL_GESTURE_$MEMBER, which made them
impossible to read and use effectively

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11026

4 years agoecore-x add root barrier setup func to fix xserver mouse containment
Carsten Haitzler (Rasterman) [Tue, 7 Jan 2020 14:20:58 +0000 (14:20 +0000)]
ecore-x add root barrier setup func to fix xserver mouse containment

xserver stopped containing mouse to screen bounds a while back... this
si broken. so enforce this policy with an api that take a list of
screen rects (relative to root) and makes those the barrier bounds so
that mouse doesn't go out of the screen anymore. new api to enable
this fix in e.

4 years agoFix worning and tests for edje text_class
a.srour [Tue, 7 Jan 2020 13:21:46 +0000 (14:21 +0100)]
Fix worning and tests for edje text_class

Summary: This should fix the wornings and tests logic from previouse commit, diff D10692

Reviewers: ali.alzyod, segfaultxavi, woohyun

Reviewed By: segfaultxavi

Subscribers: cedric, #committers, #reviewers

Tags: #efl

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

4 years agodocs: Clarify how Gesture objects are used
Xavi Artigas [Tue, 7 Jan 2020 11:25:45 +0000 (12:25 +0100)]
docs: Clarify how Gesture objects are used

Ref T8502

4 years agoefl_text_change_info: rename some properties
WooHyun Jung [Tue, 7 Jan 2020 05:35:10 +0000 (05:35 +0000)]
efl_text_change_info: rename some properties

insert -> insertion
merge -> mergeable

ref T7933

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11016

4 years agoefl_text_types: remove unused type
Ali Alzyod [Tue, 7 Jan 2020 08:42:53 +0000 (17:42 +0900)]
efl_text_types: remove unused type

Summary:
efl_text_types: remove unused type **Efl.Text_Attribute_Handle**

Reviewers: woohyun, segfaultxavi

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl.text_style: remame underline2 and glow2
Ali Alzyod [Tue, 7 Jan 2020 08:20:29 +0000 (09:20 +0100)]
efl.text_style: remame underline2 and glow2

Summary: rename underline2 into secondary_underline and glow2 into secondary_glow

Reviewers: woohyun, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7857

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

4 years agoEfl.Ui.Vg_Animation: Fix state when changed speed
JunsuChoi [Tue, 7 Jan 2020 06:52:06 +0000 (15:52 +0900)]
Efl.Ui.Vg_Animation: Fix state when changed speed

Summary: If speed's direction changed, change state.

Test Plan: N/A

Reviewers: Hermet, kimcinoo, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agocanvas vg: remove redudant code.
Hermet Park [Tue, 7 Jan 2020 04:22:18 +0000 (13:22 +0900)]
canvas vg: remove redudant code.

The render preparation of vector nodes will be
done by user_vg_entry_render().

Change-Id: I494bc41e6ddd5e2676be91755b3cd8d27f817417

4 years agoefl.ui.textbox: clean up (remove unused vars and methods)
Ali Alzyod [Mon, 6 Jan 2020 10:09:04 +0000 (10:09 +0000)]
efl.ui.textbox: clean up (remove unused vars and methods)

efl.ui.textbox: clean up (remove unused vars and methods)

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11023

Change-Id: Ia4105494c2ad65046f15bdde54bcbb8cccc6a01e

4 years agoefl.ui.textbox: replace legacy scroller type check
Ali Alzyod [Thu, 2 Jan 2020 10:00:35 +0000 (10:00 +0000)]
efl.ui.textbox: replace legacy scroller type check

replace legacy scroller type check ELM_INTERFACE_SCROLLABLE_MIXIN with EFL_UI_SCROLLABLE_INTERFACE

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11003

Change-Id: I9d16b9abd3278736ff6ce4894712a50cc2c67cfd

4 years agocsharp: rename ExtensionMethods
Yeongjong Lee [Mon, 6 Jan 2020 10:08:44 +0000 (19:08 +0900)]
csharp: rename ExtensionMethods

Summary:
This patch will rename `ExtensionMethods` to `Extensions` that is commonly used
in csharp project.

Depends on D10972

Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho, felipealmeida

Reviewed By: Jaehyun_Cho, felipealmeida

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoeolian_mono: add namespace to extension methods of ItemFactory
Jaehyun Cho [Mon, 6 Jan 2020 10:07:28 +0000 (19:07 +0900)]
eolian_mono: add namespace to extension methods of ItemFactory

Summary:
Like other classes and methods, the classes and methods for extension
methods of ItemFactory are moved inside the namespace.
Consequently, the namespace in the class name for extension methods is
removed to avoid duplicate namespace name.

Reviewers: lauromoura, felipealmeida, YOhoho, woohyun

Reviewed By: YOhoho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje: implement text_class override at object level 23/221723/2
a.srour [Thu, 2 Jan 2020 09:11:06 +0000 (09:11 +0000)]
edje: implement text_class override at object level

implement text_class override at object level, where you can change the text_class for single textblock object instead of override all objects that share same text class.
This imported from TIZEN

Note:
This also fix edje_textblock font/font_size parsing by adding condition

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10598

Change-Id: Ie9814999bb3692d15cfc679ee0c82e75b402a192

4 years agocanvas vg: remove redudant code.
Hermet Park [Tue, 7 Jan 2020 04:22:18 +0000 (13:22 +0900)]
canvas vg: remove redudant code.

The render preparation of vector nodes will be
done by user_vg_entry_render().

Change-Id: Id7565ef15c836ede07b43278e788a322dfbdb45a

4 years agoscripts - eina - remove eina-bench-cmp as its disbaled from install submit/tizen/20200106.213925
Carsten Haitzler (Rasterman) [Mon, 6 Jan 2020 16:35:59 +0000 (16:35 +0000)]
scripts - eina - remove eina-bench-cmp as its disbaled from install

it's also py2 which makes it EOL anyway...

4 years agoefl.ui.textbox: clean up (remove unused vars and methods)
Ali Alzyod [Mon, 6 Jan 2020 10:09:04 +0000 (10:09 +0000)]
efl.ui.textbox: clean up (remove unused vars and methods)

efl.ui.textbox: clean up (remove unused vars and methods)

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11023

4 years agoefl.ui.textbox: replace legacy scroller type check
Ali Alzyod [Thu, 2 Jan 2020 10:00:35 +0000 (10:00 +0000)]
efl.ui.textbox: replace legacy scroller type check

replace legacy scroller type check ELM_INTERFACE_SCROLLABLE_MIXIN with EFL_UI_SCROLLABLE_INTERFACE

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11003

4 years agocsharp: rename ExtensionMethods
Yeongjong Lee [Mon, 6 Jan 2020 10:08:44 +0000 (19:08 +0900)]
csharp: rename ExtensionMethods

Summary:
This patch will rename `ExtensionMethods` to `Extensions` that is commonly used
in csharp project.

Depends on D10972

Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: lauromoura, Jaehyun_Cho, felipealmeida

Reviewed By: Jaehyun_Cho, felipealmeida

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoeolian_mono: add namespace to extension methods of ItemFactory
Jaehyun Cho [Mon, 6 Jan 2020 10:07:28 +0000 (19:07 +0900)]
eolian_mono: add namespace to extension methods of ItemFactory

Summary:
Like other classes and methods, the classes and methods for extension
methods of ItemFactory are moved inside the namespace.
Consequently, the namespace in the class name for extension methods is
removed to avoid duplicate namespace name.

Reviewers: lauromoura, felipealmeida, YOhoho, woohyun

Reviewed By: YOhoho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years ago[Genlist] Optimization for application launch on item show scenario
godlytalias14573465 [Tue, 31 Dec 2019 08:51:28 +0000 (14:21 +0530)]
[Genlist] Optimization for application launch on item show scenario

Change-Id: Id7f914fff42684bbf52539f991bef258a5803112
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[Genlist] Stabilization of item decorate mode with fish eye effect
godlytalias14573465 [Mon, 30 Dec 2019 14:24:19 +0000 (19:54 +0530)]
[Genlist] Stabilization of item decorate mode with fish eye effect

This patch includes optimization on caching item proxy as well

Change-Id: I1e1fe169ea312abe9466b5cb5ab1fd45958500fd
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[Genlist] Highlight item without animation
godlytalias14573465 [Mon, 30 Dec 2019 13:57:51 +0000 (19:27 +0530)]
[Genlist] Highlight item without animation

Change-Id: If76d3a4d6cdefb456857e6d331f9f5961a60cc77
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[Genlist] Fixes for focus bg size
godlytalias14573465 [Mon, 30 Dec 2019 13:20:43 +0000 (18:50 +0530)]
[Genlist] Fixes for focus bg size

Change-Id: I1fcd0102f7ec9bf7ce8df8a5bb98443c72f83043
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[Genlist] Support for item selection on non aligned items
godlytalias14573465 [Tue, 17 Dec 2019 15:43:44 +0000 (21:13 +0530)]
[Genlist] Support for item selection on non aligned items

Change-Id: I3d56d03f90d8516ecb7d682fbf1eea9ce007cd15
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years agoelm_entry: fix resource leak
Shinwoo Kim [Mon, 30 Dec 2019 02:57:39 +0000 (11:57 +0900)]
elm_entry: fix resource leak

This patch will rexolve a resource leak detected by static analysis tool.
The evas_textblock_cursor_range_text_get allocates memory, so returned value
'text' should be released before it refers different address. In this case,
'text' points different address by calling eina_strbuf_string_steal.

Change-Id: I9b3912e4f9476b9ee400da5598037274afdf03ab

4 years agoevas map: ++Safety for range overflow. 59/221559/2
Hermet Park [Fri, 3 Jan 2020 11:51:21 +0000 (20:51 +0900)]
evas map: ++Safety for range overflow.

This might fix this issue.

{T8199}

Change-Id: Id71ba3f9a39f204c0cd79b1dedbbdb25b7994ab2

4 years agoEfl.Ui.Animation_View : resolve migration build error
JunsuChoi [Mon, 6 Jan 2020 01:13:28 +0000 (10:13 +0900)]
Efl.Ui.Animation_View : resolve migration build error

Migration patch
0b55cf4 Efl.Ui.Vg_Animation: Implaments Efl.Playable interface
4addc4b Efl.Ui.Animation_View : Change class name to Efl.Ui.Vg_Animation
2b8e667 Efl.Player: Add setter of playback_progress
c555580 Efl.Ui.Animation_View: Change state name
1a34395 Efl.Ui.Animation_View: Implements Efl.Player interface

Change-Id: Id09ecb5562668093528795bcd599c90cd602c561