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.
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
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
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
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
Carsten Haitzler (Rasterman) [Sun, 19 Jan 2020 10:51:29 +0000 (10:51 +0000)]
elm test - make window 480x490 to differentiate width vs height
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
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
Carsten Haitzler (Rasterman) [Fri, 17 Jan 2020 13:09:29 +0000 (13:09 +0000)]
elm - fix filesel deferred unref to not crash
@fix
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
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
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
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
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
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
Xavi Artigas [Fri, 17 Jan 2020 11:56:51 +0000 (12:56 +0100)]
docs: Typo in Efl.Text_Cursor
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
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
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
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
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
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
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
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
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
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
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
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
Hermet Park [Fri, 17 Jan 2020 01:48:24 +0000 (10:48 +0900)]
canvas vector: fix to refresh svg file of vector object.
previously, svg file is not refreshed though the file is changed.
Let changed flag true properly to re-render properly.
@fix
Change-Id: I637fd5ecabb607dbaca6a28da0d46c6738cd22ea
Jihoon Kim [Thu, 16 Jan 2020 04:46:03 +0000 (13:46 +0900)]
ecore_imf: Add since_tizen in deprecated autofill enums
Change-Id: I51ba88bf4c9db1fe34610b99aeddfeccd0400796
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jihoon Kim [Thu, 9 Jan 2020 09:46:16 +0000 (18:46 +0900)]
ecore_imf: Deprecated autofill enums in input hints
Change-Id: I9da57d10d0646377119cbb9f33851f6622901f97
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
Jongmin Lee [Thu, 16 Jan 2020 04:02:30 +0000 (13:02 +0900)]
Revert "ecore-wl2: Move ecore_wl2_window_aux hint functions to be internal"
This reverts commit
272dd08ceb11d407b2c8daeaa1185b94f4e3eeec.
Jongmin Lee [Thu, 16 Jan 2020 00:33:42 +0000 (09:33 +0900)]
build: resolve migration build error
Change-Id: Ic8b8f46d17f2654f6491bb54489a80690398dbbd
SangHyeon Jade Lee [Fri, 10 Jan 2020 10:39:14 +0000 (19:39 +0900)]
Genlist: fix item del animation by using del_intercept
Change-Id: Ia4dffb3c0ceb6099bc1cf80af5119a6721e7f143
Signed-off-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Carsten Haitzler (Rasterman) [Wed, 15 Jan 2020 19:23:44 +0000 (19:23 +0000)]
eina - fix eina_strndup test passing
Carsten Haitzler (Rasterman) [Wed, 15 Jan 2020 18:10:24 +0000 (18:10 +0000)]
eina - rmeove dup EINA_PRINTF
sorry for the noise...
Carsten Haitzler (Rasterman) [Wed, 15 Jan 2020 17:41:29 +0000 (18:41 +0100)]
eina - eina_strndup - use universal impl because strndup is an issue
freebsd/clang report strndup is not defined and string.h doesnt seem
to help if its included so move to the universal re-implementation
that was there for win32 anyway
Carsten Haitzler (Rasterman) [Wed, 15 Jan 2020 17:35:46 +0000 (18:35 +0100)]
eina - enable EINA_PRINTF for clang as well as gcc
Christopher Michael [Wed, 15 Jan 2020 16:05:22 +0000 (11:05 -0500)]
tests/ecore_wl2: Add test for ecore_wl2_input_pointer_xy_get function
ref T8016
Christopher Michael [Wed, 15 Jan 2020 15:19:59 +0000 (10:19 -0500)]
tests/ecore_wl2: Remove test of ecore_wl2_window_hint_aux functions
These functions are now internal to EFL and do not require tests.
ref T8016
Christopher Michael [Wed, 15 Jan 2020 15:17:40 +0000 (10:17 -0500)]
ecore-wl2: Move ecore_wl2_window_aux hint functions to be internal
These functions are unused outside of EFL (not used in Enlightenment
or Tizen), so there is no need to expose them publicly.
ref T8013
Christopher Michael [Wed, 15 Jan 2020 14:39:21 +0000 (09:39 -0500)]
tests/ecore_wl2: Minor formatting fix
JunsuChoi [Wed, 15 Jan 2020 14:24:12 +0000 (09:24 -0500)]
elementary_test: Apply changed event related to Efl.Ui.Vg_Animation
Summary:
Events has changed from Efl.Ui.Vg_Animation to Efl.Player.
Apply the changes.
ref T8476
Depends on D11080
Test Plan: elementary_test -to "Vector Graphics Animation"
Reviewers: zmike, Hermet, kimcinoo
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers, segfaultxavi, bu5hm4n
Tags: #efl
Maniphest Tasks: T8476
Differential Revision: https://phab.enlightenment.org/D11100
Mike Blumenkrantz [Wed, 15 Jan 2020 14:24:07 +0000 (09:24 -0500)]
efl/player: merge in and rework events from vg_animation
Summary:
this adds comprehensive events for the player interface which can be used
to provide details about the state of the playback
ref T8476
Depends on D11098
Reviewers: jsuya, bu5hm4n
Reviewed By: jsuya
Subscribers: jsuya, segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8476
Differential Revision: https://phab.enlightenment.org/D11080
Mike Blumenkrantz [Wed, 15 Jan 2020 14:23:59 +0000 (09:23 -0500)]
elm/animation: correctly implement legacy class
Summary: cmon.
Reviewers: bu5hm4n, jsuya
Reviewed By: jsuya
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D11098
Jaehyun Cho [Wed, 15 Jan 2020 13:35:03 +0000 (14:35 +0100)]
evas_gesture: change getter methods to read-only properties
Summary:
From language bindings' perspective, it seems better that read-only
properties are provided instead of getter methods.
ref T8557
Reviewers: segfaultxavi, CHAN
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8557
Differential Revision: https://phab.enlightenment.org/D11094
WooHyun Jung [Wed, 15 Jan 2020 13:14:27 +0000 (14:14 +0100)]
efl_text_cursor: update doc for Efl.Text.Cursor_Type
Summary: ref T8566
Reviewers: segfaultxavi, ali.alzyod
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8566
Differential Revision: https://phab.enlightenment.org/D11105
Carsten Haitzler (Rasterman) [Wed, 15 Jan 2020 02:35:11 +0000 (02:35 +0000)]
ecore_exe/efl_exe - implement exit with parent on bsds with procctl
Felipe Magno de Almeida [Tue, 14 Jan 2020 14:02:05 +0000 (11:02 -0300)]
c#: Remove warning about unused variable
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11097
Jaehyun Cho [Wed, 15 Jan 2020 09:44:30 +0000 (09:44 +0000)]
efl_canvas_animation_group: preserve each animation's duration
To preserve each animation's duration, group animation's duration is
copied to each animation's duration only if group animation's duration
is set.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11104
Ali Alzyod [Mon, 13 Jan 2020 11:50:37 +0000 (11:50 +0000)]
efl.ui.textbox: paste in mouse button 2
efl.ui.textbox: paste in mouse button 2 work on primary instead of clipboard
Differential Revision: https://phab.enlightenment.org/D11068
Ali Alzyod [Tue, 14 Jan 2020 16:29:50 +0000 (16:29 +0000)]
efl.ui.textbox: replace hoversel with popup
efl.ui.textbox: replace hoversel with popup
**I think this may need some changes, please let me know what you think**
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11072
Jaehyun Cho [Wed, 15 Jan 2020 09:45:38 +0000 (18:45 +0900)]
efl_mono: remove class ExtensionTag
Summary:
Since class BindablePart and class BindableProperty use generic type
constraint as "where T : <class name>", class ExtensionTag is no longer
needed.
Reviewers: SanghyeonLee, felipealmeida, YOhoho
Reviewed By: YOhoho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D11101
Ali Alzyod [Wed, 15 Jan 2020 00:19:14 +0000 (09:19 +0900)]
efl.ui.textbox: add efl.input text as composite interface
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8522
Differential Revision: https://phab.enlightenment.org/D11092
Shilpa Singh [Fri, 13 Dec 2019 11:05:21 +0000 (16:35 +0530)]
[OneUI 1.5][Genlist][Access]: Check for style and set state
If style is groupindex, set state of the item as expanded/collapsed
Change-Id: Iab712fe948b39c89b5f6c3c7149f801bd6308bb8
Signed-off-by: Nihar Raichada <n.raichada@samsung.com>
WooHyun Jung [Tue, 14 Jan 2020 09:22:52 +0000 (09:22 +0000)]
edje_entry: fix some preediting bugs
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.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11059
WooHyun Jung [Tue, 14 Jan 2020 08:47:17 +0000 (08:47 +0000)]
efl_ui_textbox: mark @beta to cnp_mode and item_factory
After stabilizing efl_ui_textblox, these properties should be
kept as @beta.
ref T8522
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11093
Woochanlee [Tue, 14 Jan 2020 13:24:22 +0000 (08:24 -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
Yeongjong Lee [Tue, 14 Jan 2020 08:17:04 +0000 (17:17 +0900)]
eina_mono: replace eina_list and eina_array with IList
Summary:
Eina.List<T> => System.Collections.Generic.IList<T>
Eina.Array<T> => System.Collections.Generic.IList<T>
ref T8486
Depends On D10785
Test Plan: meson build -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: felipealmeida, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8486, T8488
Differential Revision: https://phab.enlightenment.org/D10902
Ali Alzyod [Tue, 14 Jan 2020 01:42:06 +0000 (10:42 +0900)]
efl.input.text: add variation enums + remove @since word
Summary: efl.input.text: add variation enums + remove @since word
Reviewers: woohyun, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8541
Differential Revision: https://phab.enlightenment.org/D11066
Marcel Hollerbach [Mon, 13 Jan 2020 17:59:22 +0000 (18:59 +0100)]
Revert "efl_ui_spin_button: add tests for direct input feature"
This reverts commit
f62cee28cbb634731d7c39378dd29530d767b505.
This seems to cause trouble on the CI - lets recheck that.
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
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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>
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>
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.
Daniel Kolesa [Fri, 10 Jan 2020 19:07:42 +0000 (20:07 +0100)]
eolian: use c_name to derive enum c field names
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.
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
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.
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
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
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
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>
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>
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
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