platform/upstream/efl.git
4 years agoefl_mono: remove "Event" from event name in efl_csharp_application.cs 15/223315/1
Yeongjong Lee [Tue, 28 Jan 2020 12:08:20 +0000 (21:08 +0900)]
efl_mono: remove "Event" from event name in efl_csharp_application.cs

"Event" is removed from event name in efl_csharp_application.cs.
This patch is required for b94538d474a9a3473254a68f54bf4099e8d64095

@tizen_only

Change-Id: I3ffa19e5a13335fb293e6906b8a9f613ce3e5737

4 years agocanvas vector: fix incorrect caching hit.
Hermet Park [Tue, 28 Jan 2020 09:04:05 +0000 (18:04 +0900)]
canvas vector: fix incorrect caching hit.

animated vector(lottie) caches current playing resource data,
for resuing if it's possible, but it must take care of the drawing size.

Previous logic missed that part, fixed it.

Change-Id: Ic572f4baf330e8a8a09d7ce13f8b12fd84f41b92

4 years agoecore_wl2 : Fix keyboard repeate rate formula to Tizen form. 85/223285/1
Woochanlee [Tue, 28 Jan 2020 07:41:47 +0000 (16:41 +0900)]
ecore_wl2 : Fix keyboard repeate rate formula to Tizen form.

Change-Id: I76bd9bc22d92e4562a3de4f729a805048a441b61

4 years agoedje: Use transaction start and end enum for freezing and thaw 40/223240/1
Jihoon Kim [Tue, 28 Jan 2020 01:47:24 +0000 (10:47 +0900)]
edje: Use transaction start and end enum for freezing and thaw

Change-Id: I965999e8c005df750725708d7b89ae3ce91369c2
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
4 years agoedje: Add missing comment 42/223142/2
InHong Han [Fri, 23 Mar 2018 06:26:03 +0000 (15:26 +0900)]
edje: Add missing comment

Change-Id: I0aa371a5544ca3007c49291306e62259a3eece7f

4 years agoedje: modified not to send cursor position until the transaction isn't terminated 41/223141/2
InHong Han [Thu, 22 Mar 2018 06:39:36 +0000 (15:39 +0900)]
edje: modified not to send cursor position until the transaction isn't terminated

Change-Id: Iac0183e06b705a54becf8698595c26924d5fa55a

4 years agoElementary : add transition_duration_factor in legacy API accepted/tizen/unified/20200129.022649 submit/tizen/20200127.213359
SangHyeon Jade Lee [Wed, 22 Jan 2020 10:24:23 +0000 (19:24 +0900)]
Elementary : add transition_duration_factor in legacy API

Change-Id: I55e7d4d98ba4493f8a987fe22b651f43ca6c61d6
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
4 years ago[Genlist] Optimization of first item get
godlytalias14573465 [Tue, 21 Jan 2020 11:02:52 +0000 (16:32 +0530)]
[Genlist] Optimization of first item get

Change-Id: I18eae42f7ced7803ea038c01a001239e134ec671
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years agoaccess: Do not accept children with unacceptable role
Prasoon Singh [Mon, 9 Dec 2019 15:36:05 +0000 (21:06 +0530)]
access: Do not accept children with unacceptable role

Highlight frame on tap does not appear because of obj
with unacceptable role being returned.

Change-Id: I08011738ef43d9574c2789d02349b008a2c0c6a8
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
4 years agospec: disable jp2k evas loader
Jongmin Lee [Mon, 27 Jan 2020 21:16:53 +0000 (06:16 +0900)]
spec: disable jp2k evas loader

Change-Id: I9c622a2ccc230608d7370cd97c5f3b83dcce8983

4 years agoecore_con - try an extended bsd workaround by keeping lock open
Carsten Haitzler (Rasterman) [Mon, 27 Jan 2020 20:03:13 +0000 (20:03 +0000)]
ecore_con - try an extended bsd workaround by keeping lock open

so keep lock file open for whole duration the socket is bound because
bsd seesm to not do this right... :( (2 things can call bind() on the
same socket with 1 of them block forever).

4 years agocsharp: Escape contents of struct fields' value tag.
João Paulo Taylor Ienczak Zanette [Mon, 27 Jan 2020 16:51:53 +0000 (17:51 +0100)]
csharp: Escape contents of struct fields' value tag.

Summary:
In structs' definition, field `<value>` tags weren't scaping
characters, so characters like "&" would lead to invalid XML errors.

Fixes T8588.

Test Plan: Run ninja test.

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8588

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

4 years agoecore_wl2: do not silently return
Marcel Hollerbach [Mon, 27 Jan 2020 16:23:30 +0000 (11:23 -0500)]
ecore_wl2: do not silently return

Summary:
if we are getting a up event after our touch window object is not
focused anymore, then the compositor has sent a invalid up. Beeing
explicit here is important, otherwise we might leak a pressed finger on
the touchscreen.
Depends on D11199

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_wl2: only ungrab/grab on last/first down/up event
Marcel Hollerbach [Mon, 27 Jan 2020 16:23:13 +0000 (11:23 -0500)]
ecore_wl2: only ungrab/grab on last/first down/up event

Summary: otherwise we are silently forgetting about up events.

Reviewers: zmike, devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_textblock: <ps> tag respects multiline propertie
ali [Fri, 31 May 2019 23:34:50 +0000 (23:34 +0000)]
evas_textblock: <ps> tag respects multiline propertie

previously multi-line property does not effect  <ps> tag.
now <ps> is treated visually like <br> when multiline is set to EINA_FALSE

this issue was that each new paragraph will create new line regardless of multi line property value,  now only first paragraph will create new line if multi-line property is false, and other paragraphs will use same line

this will also fix the following patch https://phab.enlightenment.org/D8603
And both will use same test suite code

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

4 years agoevas - loaders - jp2k - re-enable in the build after it was lost
Carsten Haitzler (Rasterman) [Sat, 25 Jan 2020 20:16:47 +0000 (20:16 +0000)]
evas - loaders - jp2k - re-enable in the build after it was lost

it seems to have been forgotten. bring it back to building again

@fix

4 years agoadd some sample configureations for a few os's
Carsten Haitzler (Rasterman) [Sat, 25 Jan 2020 15:47:22 +0000 (15:47 +0000)]
add some sample configureations for a few os's

the idea is - if the configure fails .. provide the dep it's asking
for. that simple. the rest of the build is the same (ninja -C build
etc.)

4 years agopythoin scripts - use /usr/bin/env to fond python3 like the others
Carsten Haitzler (Rasterman) [Sat, 25 Jan 2020 15:05:01 +0000 (15:05 +0000)]
pythoin scripts - use /usr/bin/env to fond python3 like the others

4 years agoREADME - update the removal of bullet and libxp and mention harfbuzz
Carsten Haitzler (Rasterman) [Sat, 25 Jan 2020 05:08:01 +0000 (05:08 +0000)]
README - update  the removal of bullet and libxp and mention harfbuzz

4 years agoeolian: move list<> tests to be @beta and preserve enough meaningful that are not...
Cedric BAIL [Thu, 2 Jan 2020 23:23:14 +0000 (15:23 -0800)]
eolian: move list<> tests to be @beta and preserve enough meaningful that are not @beta.

Reviewed-by: Daniel Kolesa <daniel@octaforge.org>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11046

4 years agoeolian_cxx: move tests of list<> to be protected by @beta.
Cedric BAIL [Thu, 2 Jan 2020 23:24:12 +0000 (15:24 -0800)]
eolian_cxx: move tests of list<> to be protected by @beta.

Reviewed-by: Daniel Kolesa <daniel@octaforge.org>
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D11047

4 years agotheme: fix close issue for notification popup
Simon Tischer [Fri, 24 Jan 2020 07:40:48 +0000 (08:40 +0100)]
theme: fix close issue for notification popup

This gives back the ability to close the notification.

fixes T8316

4 years agoefl_ui_layout: send theme signal when style is already updated.
Hosang Kim [Thu, 23 Jan 2020 14:03:08 +0000 (09:03 -0500)]
efl_ui_layout: send theme signal when style is already updated.

Summary:
If you run below code, text is invisible.

```
efl_add(EFL_UI_BUTTON_CLASS, box,
        efl_ui_widget_style_set(efl_added, "anchor"),
        efl_text_set(efl_added, "anchor style"),
        efl_pack_end(box, efl_added));
```

But below code is working well.
```
efl_add(EFL_UI_BUTTON_CLASS, box,
        efl_text_set(efl_added, "anchor style"),
        efl_ui_widget_style_set(efl_added, "anchor"),
        efl_pack_end(box, efl_added));
```

Test Plan: run  efl_ui_theme_example_01

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl.canvas.textblock: annotate obstacle methods as beta
Ali Alzyod [Thu, 23 Jan 2020 11:31:57 +0000 (12:31 +0100)]
efl.canvas.textblock: annotate obstacle methods as beta

Summary:
We decided to annotate these methods as beta

**obstacle_add**
**obstacle_del**
**obstacles_update**

Reviewers: woohyun, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8460

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

4 years agoecore_wl2: fix compilation
Marcel Hollerbach [Thu, 23 Jan 2020 10:14:33 +0000 (11:14 +0100)]
ecore_wl2: fix compilation

4 years agodocs: Slight improvements to eina_types.eot Matrix docs
Xavi Artigas [Thu, 23 Jan 2020 09:34:29 +0000 (10:34 +0100)]
docs: Slight improvements to eina_types.eot Matrix docs

Reference D11158

4 years agoEolian eina_types: Add Eina.Matrix4 type
JunsuChoi [Thu, 23 Jan 2020 09:15:23 +0000 (10:15 +0100)]
Eolian eina_types: Add Eina.Matrix4 type

Summary: for using in eolian

Test Plan: N/A

Reviewers: Hermet, bu5hm4n, segfaultxavi

Reviewed By: bu5hm4n, segfaultxavi

Subscribers: bu5hm4n, segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl.ui.textbox: move file implementation in to internal class
Ali Alzyod [Thu, 23 Jan 2020 08:54:11 +0000 (08:54 +0000)]
efl.ui.textbox: move file implementation in to internal class

We want to keep implementation for file interface in a safe place and remove it from our side world (eo).

This is a simple copy-paste, from efl.ui.textbox into efl_ui_internal_text_interactive

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

4 years agoRevert "efl_ui_image: Call unload file when calling file_set"
JunsuChoi [Thu, 23 Jan 2020 08:36:41 +0000 (17:36 +0900)]
Revert "efl_ui_image: Call unload file when calling file_set"

Summary:
This reverts commit 93bd97025983e48ae8048d0c63b5d8b314f1de42.
efl.ui.image using prev and current inner image object.
Unloading the efl.ui.image class can be unloaded up to the prev image.
And because efl.ui.image is using the image caching feature together,
it may get unexpected errors. Therefore, revert this patch.

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_text_interactive: selection enhancment
Ali Alzyod [Wed, 22 Jan 2020 07:33:58 +0000 (07:33 +0000)]
efl_text_interactive: selection enhancment

1- Implement setting selection range programmatically by modifying selection cursors from **efl_text_interactive_selection_cursors_get**
2- Add setter with **efl_text_interactive_selection_cursors_set** to set the range at once (modify start and end)

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: WooHyun Jung <wh0705.jung@samsung.com>
Differential Revision: https://phab.enlightenment.org/D10968

4 years agoevas_object_textblock: treat variation sequence as single run
Ali Alzyod [Thu, 23 Jan 2020 07:21:22 +0000 (16:21 +0900)]
evas_object_textblock: treat variation sequence as single run

Summary:
Variation sequence treated as a single run, if we found one, we keep looking adding to the same  run, but if it is not, then we need to start a new one.

Before:
{F3826735}

After:
{F3826736}

Test Plan:
```
#include <stdio.h>
#include <Elementary.h>
/*
gcc -o example test.c `pkg-config --cflags --libs elementary`
*/

EAPI_MAIN int
elm_main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
{
   Evas_Object *win, *en;

   elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);

   win = elm_win_util_standard_add("emoji-example", "emoji-example");
   elm_win_autodel_set(win, EINA_TRUE);

   en = elm_entry_add(win);
   elm_entry_scrollable_set(en, EINA_TRUE);
   evas_object_size_hint_weight_set(en, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
   evas_object_size_hint_align_set(en, EVAS_HINT_FILL, EVAS_HINT_FILL);

   elm_object_text_set(en, "<font_size=25>&#x262a;&#x262a;&#xfe0f;&#x262a;가</font_size>");

   evas_object_show(en);

   elm_object_content_set(win, en);
   evas_object_resize(win, 400, 200);
   evas_object_show(win);

   elm_run();

   return 0;
}
ELM_MAIN()
```

Reviewers: woohyun, bowonryu

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8542

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

4 years agoefl.text.interactive: use Eina_Int_Range for selection range event
Ali Alzyod [Thu, 23 Jan 2020 07:07:42 +0000 (16:07 +0900)]
efl.text.interactive: use Eina_Int_Range for selection range event

Summary:
1- add new Eina type  (Eina_Int_Range). which represents int range (start, Len).
2- Use this type instead of  Efl.Text_Range  with selection events.

Reviewers: cedric, woohyun, bu5hm4n, segfaultxavi, zmike

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8570

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

4 years agoefl_ui_spotlight: rename Stack_Manager to Fade_Manager
Jaehyun Cho [Thu, 23 Jan 2020 03:55:16 +0000 (12:55 +0900)]
efl_ui_spotlight: rename Stack_Manager to Fade_Manager

Summary:
Since Stack_Manager displays fade in/out transition effects, the class
name is renamed from Stack_Manager to Fade_Manager.

Depends on D11142

Reviewers: segfaultxavi, bu5hm4n, zmike

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_spotlight: rename Manager_XXX and Indicator_XXX
Jaehyun Cho [Thu, 23 Jan 2020 03:55:12 +0000 (12:55 +0900)]
efl_ui_spotlight: rename Manager_XXX and Indicator_XXX

Summary:
In spotlight classes, "Manager" and "Indicator" are used as prefix in
the class names.
e.g. Efl.Ui.Spotlight.Manager_Plain, Efl.Ui.Spotlight.Indicator_Icon

However, those classes are basically manager and indicator classes with
different features. Therefore, "Manager" and "Indicator" should be used
as postfix in the class names.
e.g. Efl.Ui.Spotlight.Plain_Manager, Efl.Ui.Spotlight.Icon_Indicator

However, for the easier usage of C APIs, c_prefix of those classes are
remained to be "efl_ui_spotlight_manager_xxx" and
"efl_ui_spotlight_indicator_xxx".

Reviewers: segfaultxavi, bu5hm4n, zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoedje - store original size in edje struct and dont exceed max size
Carsten Haitzler (Rasterman) [Wed, 22 Jan 2020 23:31:30 +0000 (23:31 +0000)]
edje - store original size in edje struct and dont exceed max size

evas can tell us max texture size. in edje when we have image sets
(multiple images that make up mipmaps effectively for a logical
image), we now can avoid choosing an image that exceeds max texture
size. this actually fixes bugs i have seen on the rpi3 which has a max
texture size of 2048 which makes it easy to exceed it with wallpapers
or even terminology's default theme.

so combo of new feature and fix... but requires a rebuild of the edj
files...

@feat + @fix

4 years agocsharp: cleanup concrete class
Yeongjong Lee [Wed, 22 Jan 2020 22:30:13 +0000 (07:30 +0900)]
csharp: cleanup concrete class

Summary:
Concrete class is only used to call static member of NativeMethod. they don't
need any inheritance and implementation of c functions.

Depends on D9893

Test Plan: ninja test

Reviewers: lauromoura, felipealmeida

Subscribers: Jaehyun_Cho, woohyun, segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

4 years agoeina: add new range Data type
ali [Wed, 22 Jan 2020 21:54:44 +0000 (06:54 +0900)]
eina: add new range Data type

Summary:
Introduce new data type (Eina.Range)  which represent range (part of series)

**eina_range_max_get**
**eina_range_intersect**
**eina_range_union**
**eina_range_contains**
**eina_range_equal**

Reviewers: cedric, woohyun, bu5hm4n, segfaultxavi, zmike

Reviewed By: woohyun

Subscribers: vtorri, cedric, #committers, #reviewers

Tags: #efl

Maniphest Tasks: T8570

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

4 years agoefl_mono: remove "Event" from event name in GenericModel.cs 58/223158/1
Jaehyun Cho [Thu, 23 Jan 2020 11:25:30 +0000 (20:25 +0900)]
efl_mono: remove "Event" from event name in GenericModel.cs

"Event" is removed from event name in GenericModel.cs.
This patch is required for b94538d474a9a3473254a68f54bf4099e8d64095

@tizen_only

Change-Id: I69afed831b7546d05c985565956963f9c3499a94

4 years agoefl_ui_win: add condition to check minimized change before its event call 17/223117/2
Yeongjong Lee [Thu, 23 Jan 2020 04:45:41 +0000 (13:45 +0900)]
efl_ui_win: add condition to check minimized change before its event call

This patch prevent emitting EFL_UI_WIN_EVENT_MINIMIZED_CHANGED when ch_witdrawn
is true. ch_witdrawn is not related to MINIMIZED_CHANGED event.

@tizen_fix

Change-Id: I7ce849a33405a6f5fc164b37e63b6713f7eab816

4 years agoeolian_mono: replace event name to prevent name conflict 16/223116/1
Yeongjong Lee [Thu, 23 Jan 2020 04:42:45 +0000 (13:42 +0900)]
eolian_mono: replace event name to prevent name conflict

Efl.Loop.Quit => Efl.Loop.LoopQuit
Efl.Loop.Idle => Efl.Loop.Idling

@tizen_fix

Change-Id: I8f44dfc335c57c0b48569a22dd6349a3ab9e6303

4 years agoeolian_mono: add blacklist events which have same names with properties 68/223068/2
Jaehyun Cho [Wed, 22 Jan 2020 11:27:46 +0000 (20:27 +0900)]
eolian_mono: add blacklist events which have same names with properties

Some events have the same name with properties.
Since event and property names should not be same in a C# class, those
events are added to blacklist.

Since the events "normal" and "minimized" in Efl.Ui.Win are going to be
replaced with "minimized,changed", the event "normal" is added to
blacklist as well.

@tizen_only

Change-Id: Icf78727ae02697142c3e9a5a61d5919579c8e66a

4 years agoefl_ui_win: add minimized,changed event to avoid name conflict in bindings 55/223055/2
Yeongjong Lee [Wed, 22 Jan 2020 11:49:53 +0000 (20:49 +0900)]
efl_ui_win: add minimized,changed event to avoid name conflict in bindings

There is name conflict between `minimized` method and `minimized` event in bindings.
To solve this problem, `minimized,changed` event will be used instead of `minimized`.

@tizen_fix

Change-Id: I8157f755a9b0070fc4860b7de25e0e44b6347d7d

4 years agobuild: resolve migration build error submit/tizen/20200122.213749
Jongmin Lee [Wed, 22 Jan 2020 21:26:56 +0000 (06:26 +0900)]
build: resolve migration build error

Change-Id: I0d630cb27c7c5df2f09c1e175feaab9cc55d237c

4 years agoefl_ui_image: Call unload file when calling file_set
JunsuChoi [Wed, 22 Jan 2020 16:57:26 +0000 (11:57 -0500)]
efl_ui_image: Call unload file when calling file_set

Summary:
We have checked that unload is not called even if different files
call again elm_image_file_set on the same object.
If file_set is called repeatedly, I think a potential error can occur.
So, modify to call unload when doing file_set by referring to efl_ui_zoomable.

Test Plan: N/A

Reviewers: Hermet, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoevas_object_box: fix invalidator
Marcel Hollerbach [Fri, 17 Jan 2020 13:40:58 +0000 (14:40 +0100)]
evas_object_box: fix invalidator

the iteration over the content of the box did never cleanup the
children pointer, which resulted in buggy behavior.

This fixes test suite crashes with freeq debugging on.

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

4 years agotests/ecore_wl2: Add test for ecore_wl2_input_keyboard_repeat functions
Christopher Michael [Wed, 22 Jan 2020 13:37:33 +0000 (08:37 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_input_keyboard_repeat functions

ref T8016

4 years agotests/ecore_wl2: Add tests for move, resize, resizing_get functions.
Woochanlee [Wed, 22 Jan 2020 12:41:39 +0000 (07:41 -0500)]
tests/ecore_wl2: Add tests for move, resize, resizing_get functions.

Summary:
Add

ecore_wl2_window_move
ecore_wl2_window_resize
ecore_wl2_window_resizing_get

ref T8016

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8016

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

4 years agoecore_wl2: Add ecore_wl2_input_default_input_get() API.
Woochanlee [Wed, 22 Jan 2020 12:37:23 +0000 (07:37 -0500)]
ecore_wl2: Add ecore_wl2_input_default_input_get() API.

Summary: Gets default input which created by display.

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoecore_wl2: Add ecore_wl2_input_keyboard_repeat_set() API.
Woochanlee [Wed, 22 Jan 2020 12:37:11 +0000 (07:37 -0500)]
ecore_wl2: Add ecore_wl2_input_keyboard_repeat_set() API.

Summary:
Add API to set input's keyboard repeat.

get API was already there.

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoRevert "efl_mono: remove class ExtensionTag"
Jaehyun Cho [Wed, 22 Jan 2020 02:33:41 +0000 (11:33 +0900)]
Revert "efl_mono: remove class ExtensionTag"

Extension Methods' classes have methods with same names and parameters.
e.g. Text<T>(this Efl.Ui.ItemFactory<T> fac)

Although the where clause contains different classes, they cannot be
identified as different methods by C# compiler.
e.g. Text<T>(this Efl.Ui.ItemFactory<T> fac) where T : Efl.Ui.Button
e.g. Text<T>(this Efl.Ui.ItemFactory<T> fac) where T : Efl.Ui.Check

As a result, to avoid ambiguous methods, ExtensionTag should be used as
a second parameter of each method.
e.g. Text<T>(this Efl.Ui.ItemFactory<T> fac, ExtensionTag<Efl.Ui.Button, T>magic = null) where T : Efl.Ui.Button
e.g. Text<T>(this Efl.Ui.ItemFactory<T> fac, ExtensionTag<Efl.Ui.Check, T>magic = null) where T : Efl.Ui.Check

This reverts commit 76631f502a8234c04ed8124bfdebe62ed5bdf954.

4 years agoeolian_mono: avoid generating set-only property
Yeongjong Lee [Wed, 22 Jan 2020 00:40:18 +0000 (09:40 +0900)]
eolian_mono: avoid generating set-only property

Summary:
According to Property Design Guidelines of MS, set-only properties are not recommeneded.
(see more, https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/property)

Furthermore, there is stylecop warnings(CA1044)

ref T8396

List of removed set-only properies.
```
Efl.Access.Editable.IText.TextContent { set; }
Efl.App.CommandArray { set; }
Efl.App.CommandString { set; }
Efl.Canvas.Filter.IInternal.FilterChanged { set; }
Efl.Canvas.Filter.IInternal.FilterInvalid { set; }
Efl.Canvas.ImageInternal.FilterChanged { set; }
Efl.Canvas.ImageInternal.FilterInvalid { set; }
Efl.Canvas.Textblock.FilterChanged { set; }
Efl.Canvas.Textblock.FilterInvalid { set; }
Efl.Canvas.Vg.Image.Data { set; }
Efl.Canvas.Vg.Node.CompMethod { set; }
Efl.Core.ICommandLine.CommandArray { set; }
Efl.Core.ICommandLine.CommandString { set; }
Efl.Exe.CommandArray { set; }
Efl.Exe.CommandString { set; }
Efl.Ui.AlertPopup.Button { set; }
Efl.Ui.Collection.MatchContent { set; }
Efl.Ui.CollectionView.MatchContent { set; }
Efl.Ui.IScrollable.MatchContent { set; }
Efl.Ui.ImageZoomable.MatchContent { set; }
Efl.Ui.Panel.MatchContent { set; }
Efl.Ui.PositionManager.Grid.DataAccess { set; }
Efl.Ui.PositionManager.Grid.ScrollPosition { set; }
Efl.Ui.PositionManager.Grid.Viewport { set; }
Efl.Ui.PositionManager.IDataAccessV1.DataAccess { set; }
Efl.Ui.PositionManager.IEntity.ScrollPosition { set; }
Efl.Ui.PositionManager.IEntity.Viewport { set; }
Efl.Ui.PositionManager.List.DataAccess { set; }
Efl.Ui.PositionManager.List.ScrollPosition { set; }
Efl.Ui.PositionManager.List.Viewport { set; }
Efl.Ui.Scroll.Manager.MatchContent { set; }
Efl.Ui.Scroll.Manager.Pan { set; }
Efl.Ui.Scroller.MatchContent { set; }
Efl.Ui.Spotlight.Manager.Size { set; }
Efl.Ui.Textbox.TextContent { set; }
Efl.Ui.Widget.ResizeObject { set; }
Efl.Ui.Win.PropFocusSkip { set; }
```

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

Reviewers: woohyun, felipealmeida, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8396

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

4 years agoRevert "csharp: Property Indexer implementation" 72/222972/4
Yeongjong Lee [Mon, 20 Jan 2020 22:00:44 +0000 (07:00 +0900)]
Revert "csharp: Property Indexer implementation"

Summary:
This reverts commit 0954e501fd4008c40b3848de1f2c91bcd53b2f71.

According to Framework Design Guidelines of MS, most of indexed properties are
not recommended in EFL#.
(see, https://docs.microsoft.com/en-us/dotnet/standard/design-guidelines/property)

It is better to leave properties which have a key as methods.

Reviewers: woohyun, felipealmeida

Reviewed By: woohyun

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I972878e39ea30c56ce82b0d60a7f82ec4b06b76c

4 years agotests/ecore_wl2: Fix issue of tests running without a Wayland display
Chris Michael [Tue, 21 Jan 2020 18:04:06 +0000 (13:04 -0500)]
tests/ecore_wl2: Fix issue of tests running without a Wayland display

This fixes an issue with CI where these tests would try to run without
a Wayland compositor. This was missed during review, Thanks Marcel for
pointing this out.

ref T8016

4 years agoRevert "efl_text_interactive: selection enhancment"
Marcel Hollerbach [Tue, 21 Jan 2020 16:11:31 +0000 (17:11 +0100)]
Revert "efl_text_interactive: selection enhancment"

This reverts commit 09f0d66d90e4db5f879f4c998e8a07b26fa749fc.

This breaks CI, and tests do not pass anymore, hence no other revision
can be verified.

The revision is reopened. lets take a second look at this.

4 years agotests/ecore_wl2: Code clean up and Add, Modify TCs.
Woochanlee [Tue, 21 Jan 2020 13:13:52 +0000 (08:13 -0500)]
tests/ecore_wl2: Code clean up and Add, Modify TCs.

Summary:
Code clean up.
Add flush, sync_is_done APIs.
Modify input_find.

ref T8016

Reviewers: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8016

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

4 years agoefl_ui_spotlight/pager/stack: remove @beta
Marcel Hollerbach [Mon, 20 Jan 2020 12:22:59 +0000 (13:22 +0100)]
efl_ui_spotlight/pager/stack: remove @beta

there has been more than 1 month without any comment, i think this looks
fine now ?

The transition event is kept beta for now, as we have right now a
discussion about range that we might be able to use here.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Jaehyun Cho <jae_hyun.cho@samsung.com>
Differential Revision: https://phab.enlightenment.org/D11135

4 years agoefl_ui_spotlight_manager: fix not to change sub objects' color
Jaehyun Cho [Tue, 21 Jan 2020 10:32:34 +0000 (19:32 +0900)]
efl_ui_spotlight_manager: fix not to change sub objects' color

Summary:
Widget's group_member_add() sets its sub objects' color with the
parent's color.
Since spotlight managers call group_member_add() with spotlight
container and its sub objects, the sub objects' color can be changed.
e.g. packed rectangle's color is changed to white (default color value)

To resolve the above issue, spotlight managers set data "_elm_leaveme"
before calling group_member_add() not to change sub objects' color.

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoEfl.Canvas.Group: implement Efl.Gfx.Filter
Shinwoo Kim [Tue, 21 Jan 2020 10:28:59 +0000 (19:28 +0900)]
Efl.Canvas.Group: implement Efl.Gfx.Filter

Summary: This patch makes Efl.Canvas.Group work for Efl.Gfx.Filter

Reviewers: Hermet, jsuya, zmike

Reviewed By: Hermet

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

4 years agodocs: Typos in Doxygen docs
Xavi Artigas [Tue, 21 Jan 2020 09:59:12 +0000 (10:59 +0100)]
docs: Typos in Doxygen docs

4 years agoefl_text_interactive: selection enhancment
Ali Alzyod [Mon, 20 Jan 2020 22:39:14 +0000 (07:39 +0900)]
efl_text_interactive: selection enhancment

Summary:
1- Implement setting selection range programmatically by modifying selection cursors from **efl_text_interactive_selection_cursors_get**
2- Add setter with **efl_text_interactive_selection_cursors_set** to set the range at once (modify start and end)

Reviewers: woohyun, segfaultxavi, zmike, bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8521, T8522

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

4 years agoevas proxy: use part of source
Shinwoo Kim [Thu, 7 Nov 2019 05:58:44 +0000 (14:58 +0900)]
evas proxy: use part of source

This makes a proxy object use a selective region of a source object.
This is useful when the source is too big to allocate a proxy surface.
This will be used by elm_scroller to solve following issue.

[Issue]
If size of elm_sclloer content is too big, then the proxy of
elm_scroller to show loop effect does not work. Because
evas_gl_common_image_surface_new does not allow
bigger size surface than max_texture_size

This is a Tizen only patch to fix product issue quickly.
Related patch (https://phab.enlightenment.org/D10604) is under the review.

*tizen_only

Change-Id: I57c58efdf067be4100c6963c8d9894f8bfa04de1

4 years agoaccess: Add support for unfocusable window accepted/tizen/unified/20200121.121453 submit/tizen/20200120.211529
Prasoon Singh [Fri, 13 Dec 2019 07:10:57 +0000 (12:40 +0530)]
access: Add support for unfocusable window

For unfocusable window need a distinction to add window on show signal.
As, for unfocusable window activate signal does not come in screen-reader.

Change-Id: I27647ce9057fb84b90454f4231225d157c082034
Signed-off-by: Prasoon Singh <prasoon.16@samsung.com>
4 years agoRevert "ecore_wl2: Fix a memory leaking case"
Marcel Hollerbach [Mon, 20 Jan 2020 16:51:40 +0000 (17:51 +0100)]
Revert "ecore_wl2: Fix a memory leaking case"

This reverts commit 97e71b9dc4fa73da99a890d9c39d6617e529dc94.

This commit is absolutly wrong. This makes running wayland apps intree
impossible, and also crashes tests when run in wayland mode.

I asked multiple times in the revision for clarification, noone
answered.
This tricked me today for the second time, so better revert that.

4 years agoefl.input.text.hints_type: rename into content_type
Ali Alzyod [Mon, 20 Jan 2020 12:25:43 +0000 (21:25 +0900)]
efl.input.text.hints_type: rename into content_type

Reviewers: woohyun, segfaultxavi

Reviewed By: woohyun, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8541

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

4 years agoefl.ui.textbox: using efl_provider_find
Ali Alzyod [Mon, 20 Jan 2020 07:55:31 +0000 (16:55 +0900)]
efl.ui.textbox: using efl_provider_find

Summary: > Code structures like top = elm_widget_top_get(data); and if (efl_isa(top, EFL_UI_WIN_CLASS)) can be replaced with top = efl_provider_find(widget, EFL_UI_WIN_CLASS) No type check needed. (That should enhance the performance)

Reviewers: woohyun, bu5hm4n, cedric

Reviewed By: bu5hm4n, cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8522

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

4 years agoefl_canvas_animation: rename Animation_XXX to XXX_Animation
Jaehyun Cho [Mon, 20 Jan 2020 03:53:09 +0000 (12:53 +0900)]
efl_canvas_animation: rename Animation_XXX to XXX_Animation

Summary:
In animation classes, "Animation" is not used as a namespace but it is
used as a prefix in the class names.
e.g. Efl.Canvas.Animation_Alpha

However, those classes are basically animation classes with different
features. Therefore, "Animation" should be used as a postfix in the
class names.
e.g. Efl.Canvas.Animation_Alpha -> Efl.Canvas.Alpha_Animation

However, for the easier usage of C APIs, c_prefix of animation classes
are remained to be "efl_animation_xxx".

Reviewers: segfaultxavi, bu5hm4n, zmike, Hermet, jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl.text.cursor: movement types rename
ali [Mon, 20 Jan 2020 01:07:40 +0000 (10:07 +0900)]
efl.text.cursor: movement types rename

Summary: replace prev with previous, replace char with character

Reviewers: woohyun, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8567

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

4 years agogenlist : add edje message signal process in cache push.
SangHyeon Jade Lee [Fri, 17 Jan 2020 11:46:40 +0000 (20:46 +0900)]
genlist :  add edje message signal process in cache push.

this code is missing after tizen 4.0 applied

Change-Id: Ia0e8879f9cad1feaa992e91e56063bd30516ca3d

4 years ago[Elm_Panel][More_Option] Performance Enhancement and Bug fixes.
Prince Kumar Dubey [Mon, 23 Dec 2019 09:21:52 +0000 (14:51 +0530)]
[Elm_Panel][More_Option] Performance Enhancement and Bug fixes.

Change-Id: I807ca64ef0d7714ffe3d5c486a21151362d160fb
Signed-off-by: Prince Kumar Dubey <prince.dubey@samsung.com>
4 years ago[OneUI 1.5] Popup VI effect support added.
Prince Kumar Dubey [Fri, 13 Dec 2019 12:42:53 +0000 (18:12 +0530)]
[OneUI 1.5] Popup VI effect support added.
Repo efl-modules have dependency on this patch.

Change-Id: I4af358688aae65d4759dff781c7899f72fc71e33
Signed-off-by: Prince Kumar Dubey <prince.dubey@samsung.com>
4 years ago[Widget] Support added to allow to set/get transition duration of vi-effect on widget.
Prince Kumar Dubey [Thu, 19 Dec 2019 08:09:09 +0000 (13:39 +0530)]
[Widget] Support added to allow to set/get transition duration of vi-effect on widget.

Change-Id: I7e5864ea1404d64d26dfcc165be6462b3df663c1
Signed-off-by: Prince Kumar Dubey <prince.dubey@samsung.com>
4 years ago[Progressbar] send pulse start signal even when pulse is not set accepted/tizen/unified/20200120.133117 submit/tizen/20200119.222040
Bowon Ryu [Fri, 17 Jan 2020 09:23:35 +0000 (18:23 +0900)]
[Progressbar] send pulse start signal even when pulse is not set

@tizen_fix

Change-Id: I7d4602cdf9f949f2183d1c1f43cfa8d815e85909
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
4 years ago[Genlist] Apply align item logic during item show
godlytalias14573465 [Tue, 31 Dec 2019 10:50:33 +0000 (16:20 +0530)]
[Genlist] Apply align item logic during item show

Change-Id: Idf7f7562fbcd22d6b2aa77b13be3d48047d99d7e
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[Genlist] Fix for genlist item position change on free
godlytalias14573465 [Tue, 31 Dec 2019 12:53:43 +0000 (18:23 +0530)]
[Genlist] Fix for genlist item position change on free

Change-Id: Ia672825c5f06158b0263d5a1d8d29aaf2d220be0
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[CtxPopup] Show / Hide VI effect
godlytalias14573465 [Tue, 31 Dec 2019 12:45:33 +0000 (18:15 +0530)]
[CtxPopup] Show / Hide VI effect

Change-Id: I32f3e7a6abfc82dcbc4ca0bb8111ac7ee490da40
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years ago[OneUI1.5] Genlist Item Add / Del FX
godlytalias14573465 [Mon, 16 Dec 2019 12:20:50 +0000 (17:50 +0530)]
[OneUI1.5] Genlist Item Add / Del FX

Change-Id: I292f8eb6a8969aa8215ea406627fdcc227ff041d
Signed-off-by: godlytalias14573465 <godly.talias@samsung.com>
4 years agoelm win - fix client side move/resize req handling csd in x
Carsten Haitzler (Rasterman) [Sun, 19 Jan 2020 10:52:34 +0000 (10:52 +0000)]
elm win - fix client side move/resize req handling csd in x

we dont keep our window id up to date... it changes somewhere along
the way during init.... (ecore evas does this e.g. go from normal to
alpha window it has tocreate a new window id anyway)... so stay up to
date so we send a req for the right window id...

@fix

4 years agoelm test - make window 480x490 to differentiate width vs height
Carsten Haitzler (Rasterman) [Sun, 19 Jan 2020 10:51:29 +0000 (10:51 +0000)]
elm test - make window 480x490 to differentiate width vs height

4 years agoevas - fix access-after-free number 2
Carsten Haitzler (Rasterman) [Sat, 18 Jan 2020 12:25:08 +0000 (12:25 +0000)]
evas - fix access-after-free number 2

follow on from 3aa250e17ff34a1b0466b65fe55ffe1fced291ff and T8534
looking into more possible problems and fixes

@fix

4 years agoecore_con - freebsd bind blocking workaround
Carsten Haitzler (Rasterman) [Fri, 17 Jan 2020 22:23:25 +0000 (22:23 +0000)]
ecore_con - freebsd bind blocking workaround

this is to try do a workaround a hard to reproduce blocking bind on
some freebsd systems (i can't repro it on my fbsd vm), so try use file
locks as an extra barrier and hope they do the right thing without
other mysterious problems.

@fix

4 years agoelm - fix filesel deferred unref to not crash
Carsten Haitzler (Rasterman) [Fri, 17 Jan 2020 13:09:29 +0000 (13:09 +0000)]
elm - fix filesel deferred unref to not crash

@fix

4 years agoevas - fix access-after-free where during destroy hash item not cleared
Carsten Haitzler (Rasterman) [Fri, 17 Jan 2020 12:14:11 +0000 (12:14 +0000)]
evas - fix access-after-free where during destroy hash item not cleared

leave it in the hash unfreed as it will be freed when the hash is soon
after durint destruction.

@fix

4 years agoefl_ui_scrollbar: change scrollbar state when theme is reloaded.
Hosang Kim [Fri, 10 Jan 2020 09:26:32 +0000 (09:26 +0000)]
efl_ui_scrollbar: change scrollbar state when theme is reloaded.

Scrollbar visible state is not synchronized when theme is reloaded.

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

4 years agoIntroduce Separator
Marcel Hollerbach [Fri, 17 Jan 2020 15:06:52 +0000 (16:06 +0100)]
Introduce Separator

Summary:
this is just like elm_separator, just written for unified widgets.
This inherits from item, which has the advantage that this separator can
also be added into item container.

Reviewers: zmike, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoC++: Fix use of @c_type tag in struct definition
Felipe Magno de Almeida [Fri, 17 Jan 2020 14:51:24 +0000 (09:51 -0500)]
C++: Fix use of @c_type tag in struct definition

Summary: Depends on D11090

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

4 years agoefl_ui_suite: fix test code of grid
Marcel Hollerbach [Fri, 17 Jan 2020 14:49:13 +0000 (09:49 -0500)]
efl_ui_suite: fix test code of grid

Summary:
this test code seemed buggy, we used the iterator *after* the content
was changed. Additionally, we freed the iterator with free instead of
eina_iterator_free.

This fixes test test suite.
Depends on D11123

Reviewers: raster, zmike, cedric, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

4 years agoefl: correct class description name of simple class
ali [Fri, 17 Jan 2020 08:20:14 +0000 (08:20 +0000)]
efl: correct class description name of simple class

Name of Efl_Class_Description should be eo-style class name.

related to D11115

Reviewed-by: YeongJong Lee <cleanlyj@naver.com>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11117

4 years agodocs: Typo in Efl.Text_Cursor
Xavi Artigas [Fri, 17 Jan 2020 11:56:51 +0000 (12:56 +0100)]
docs: Typo in Efl.Text_Cursor

4 years agoefl_text_cursor: correct class description name of simple class
Yeongjong Lee [Fri, 17 Jan 2020 06:06:18 +0000 (15:06 +0900)]
efl_text_cursor: correct class description name of simple class

Summary:
Name of `Efl_Class_Description` should be eo-style class name.
Please check there is no segmentation fault on Test code below.

Thanks to @woohyun for reporting and test case.

Test Plan:
```
//mcs test.cs -out:test.exe `pkg-config --libs efl-mono`

using System;

class Program
{
   public static void Main() {
      Efl.All.Init(Efl.Csharp.Components.Ui);

      Efl.Ui.Win win = new Efl.Ui.Win(null);
      Efl.Ui.Box box = new Efl.Ui.Box(win);
      Efl.Ui.Textbox tb = new Efl.Ui.Textbox(win);

      Efl.Ui.Button btn = new Efl.Ui.Button(box);
      btn.Text = "Click Me!";
      btn.ClickedEvent += (s, e) =>
      {
         Efl.Text.Cursor cur1, cur2;

         tb.GetSelectionCursors(out cur1, out cur2);
         cur1.SetPosition(3);
         cur2.SetPosition(7);
      };

      box.Pack(btn);
      box.Pack(tb);

      win.SetContent(box);
      win.SetSize(new Eina.Size2D(200, 400));
      Efl.Ui.Config.Run();
      Efl.All.Shutdown();
   }
}
```

Reviewers: woohyun, ali.alzyod, bu5hm4n

Reviewed By: woohyun

Subscribers: cedric, #reviewers, #committers, woohyun

Tags: #efl

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

4 years agodocs: Give some love to progress bar docs.
Xavi Artigas [Thu, 16 Jan 2020 15:05:43 +0000 (15:05 +0000)]
docs: Give some love to progress bar docs.

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

4 years agoefl.ui.textbox: update _part_is_efl_ui_textbox_part
Ali Alzyod [Thu, 16 Jan 2020 10:19:08 +0000 (10:19 +0000)]
efl.ui.textbox: update _part_is_efl_ui_textbox_part

efl.ui.textbox: update _part_is_efl_ui_textbox_part

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

4 years agoefl.ui.textbox: theme code cleanup
Ali Alzyod [Thu, 16 Jan 2020 11:55:59 +0000 (11:55 +0000)]
efl.ui.textbox: theme code cleanup

>You should not theme in _efl_ui_textbox_efl_object_finalize, but rather in theme_apply
>All part swallow things should be done in theme_apply.

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

4 years agoEfl.Ui.Vg_Animation: Change property name autorepeat to looping
JunsuChoi [Thu, 16 Jan 2020 11:11:49 +0000 (20:11 +0900)]
Efl.Ui.Vg_Animation: Change property name autorepeat to looping

Summary:
autoplay and autorepeat look similar and can be confusing.
so change autorepeat to looping.

ref T8476
Depends on D11022

Test Plan: N/A

Reviewers: Hermet, bu5hm4n, kimcinoo, segfaultxavi, zmike

Reviewed By: Hermet, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8476

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

4 years agoEfl.Ui.Textbox: Fix Ctrl+Backspace & Ctrl+Delete keys
a.srour [Thu, 16 Jan 2020 08:53:36 +0000 (17:53 +0900)]
Efl.Ui.Textbox: Fix Ctrl+Backspace & Ctrl+Delete keys

Summary:
This should fix the behaviour of Ctrl+Backspace & Ctrl+Delete key down on `Efl.Ui.Textbox`.
Also added two tests for it.

Reviewers: woohyun, ali.alzyod, cedric, bu5hm4n

Reviewed By: woohyun

Subscribers: ProhtMeyhet, stefan_schmidt, segfaultxavi, bu5hm4n, #committers, #reviewers

Tags: #efl

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

4 years agotests: Add test cases for Efl.Ui.Vg_Animation
JunsuChoi [Thu, 16 Jan 2020 02:12:37 +0000 (02:12 +0000)]
tests: Add test cases for Efl.Ui.Vg_Animation

Add test cases for Efl.Ui.Vg_Animation APIs
 - vg_anim_playing_control
 - vg_anim_frame_control

ref T8476

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

4 years agoefl_ui_textbox: rename efl_ui_text_part to efl_ui_textbox_part
WooHyun Jung [Thu, 16 Jan 2020 07:47:23 +0000 (07:47 +0000)]
efl_ui_textbox: rename efl_ui_text_part to efl_ui_textbox_part

ref T8522

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

4 years agotheme: remove not yet used groups
Marcel Hollerbach [Mon, 13 Jan 2020 14:04:07 +0000 (15:04 +0100)]
theme: remove not yet used groups

these groups are not used yet. So remove the groups for now.

ref T8501

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

4 years agoefl_ui_progressbar: fix theming of progressbar
Marcel Hollerbach [Mon, 13 Jan 2020 14:00:56 +0000 (15:00 +0100)]
efl_ui_progressbar: fix theming of progressbar

There was code in progressbar that parsed its own theme name, applied a
change, reassembed it, and set it again. However, when we simply stick
to the theme apply code path that we have in efl.ui.layout_base, we can
simply set the horizontal / vertical part to be the element, the rest is
the class. This safes a lot of code, additionally, the setting of the
spacer had to be moved to the theme_apply method, as this would not work
otherwise.

ref T8501

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

4 years agoefl_ui_progressbar: do not allow parts on unified widgets
Marcel Hollerbach [Mon, 13 Jan 2020 13:49:31 +0000 (14:49 +0100)]
efl_ui_progressbar: do not allow parts on unified widgets

this only allows the default part to be gotten when running the unified
widget. A later widget can then be used to expose the second progressbar
part.

ref T8501

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

4 years agoefl.ui.textbox: part implementation comments clean up!
Ali Alzyod [Thu, 16 Jan 2020 00:12:01 +0000 (09:12 +0900)]
efl.ui.textbox: part implementation comments clean up!

Summary:
We did not use the **ELM_PART_OVERRIDE_** because it produces compilation error

```
../src/lib/elementary/efl_ui_textbox.c:3603:40: error: ‘EFL_UI_TEXTBOX_PART_CLASS’ undeclared (first use in this function)
 ELM_PART_OVERRIDE_PARTIAL(efl_ui_text, EFL_UI_TEXTBOX, Efl_Ui_Textbox_Data, _part_is_efl_ui_text_part)
```

Reviewers: woohyun, bu5hm4n

Reviewed By: woohyun

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8522

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