summaryrefslogtreecommitdiff
path: root/src/lib/evas (unfollow)
AgeCommit message (Collapse)Author
48 hoursefl.canvas.textblock: annotate obstacle methods as betaAli Alzyod
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
2 daysevas_object_textblock: treat variation sequence as single runAli Alzyod
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
3 daysevas_object_box: fix invalidatorMarcel Hollerbach
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 daysEfl.Canvas.Group: implement Efl.Gfx.FilterShinwoo Kim
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 daysdocs: Typos in Doxygen docsXavi Artigas
5 daysefl_canvas_animation: rename Animation_XXX to XXX_AnimationJaehyun Cho
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
5 daysefl.text.cursor: movement types renameali
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
7 daysevas - fix access-after-free number 2Carsten Haitzler (Rasterman)
follow on from 3aa250e17ff34a1b0466b65fe55ffe1fced291ff and T8534 looking into more possible problems and fixes @fix
7 daysevas - fix access-after-free where during destroy hash item not clearedCarsten Haitzler (Rasterman)
leave it in the hash unfreed as it will be freed when the hash is soon after durint destruction. @fix
8 daysdocs: Typo in Efl.Text_CursorXavi Artigas
8 daysefl_text_cursor: correct class description name of simple classYeongjong Lee
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
8 dayscanvas vector: fix to refresh svg file of vector object.Hermet Park
previously, svg file is not refreshed though the file is changed. Let changed flag true properly to re-render properly. @fix
10 daysevas_gesture: change getter methods to read-only propertiesJaehyun Cho
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
10 daysefl_text_cursor: update doc for Efl.Text.Cursor_TypeWooHyun Jung
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
10 daysefl_canvas_animation_group: preserve each animation's durationJaehyun Cho
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
12 daysefl_gesture: rename Efl.Gesture.Events to Efl.Canvas.Gesture_EventsJaehyun Cho
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
12 daysevas_textblock: emit change event on markup_setAli Alzyod
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
2020-01-09docs: Improvements to Text API documentationXavi Artigas
Ref T7855 Ref T7934 Ref T7935 Ref T7936 Ref T7937 Ref T7938 Ref T7941 Ref T7942 Ref T7943 Ref T7944 Ref T7945
2020-01-09docs: Fine-tuning the gesture descriptionsXavi Artigas
2020-01-09efl.text.cursor: change to abstract classAli Alzyod
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
2020-01-09efl.canvas.textblock: rename style strings to have underscore between wordsAli Alzyod
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
2020-01-09TEXT_FORMAT_HORIZONTAL_ALIGNMENT_AUTO_TYPE: rename end enum into oppositeAli Alzyod
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
2020-01-09evas ector: ++safety.Hermet Park
add return value by ector_begin() for vector safety.
2020-01-08Text_Format_Horizontal_Alignment_Auto_Type: rename enums, and Doc detailsAli Alzyod
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
2020-01-07docs: Better description of the Flick gestureXavi Artigas
2020-01-07efl/gesture: correct namespacing of all gesture enums in CMike Blumenkrantz
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
2020-01-07docs: Clarify how Gesture objects are usedXavi Artigas
Ref T8502
2020-01-07efl.text_style: remame underline2 and glow2Ali Alzyod
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
2020-01-07canvas vg: remove redudant code.Hermet Park
The render preparation of vector nodes will be done by user_vg_entry_render().
2020-01-03docs: whitespace and punctuation of Efl.Canvas.Animation_ScaleXavi Artigas
2020-01-03evas map: ++Safety for range overflow.Hermet Park
This might fix this issue. {T8199}
2020-01-03Revert "Revert "Revert "evas map: diable high quality texture mapping ↵Hermet Park
feature.""" This reverts commit 1cb7d11ea86f23ba4126e62103df00baa425c645.
2020-01-03docs: Remove Evas reference from Efl.Canvas.TextblockXavi Artigas
2020-01-03Evas Textblock : Fix obstacles & word overlapabdulleh Ghujeh
Summary: Revert part of old commit which caused wrong behavior in textblock with obstacles, we should use obstacle x pos. There is no comments about why this was changed. {F3821294} Old commit is : Aug 23, 2017 e63be982d904a01ade5aced9ef9924a78d155b8a related to D10955 Test Plan: Run Textblock Obstacle example Reviewers: ali.alzyod, woohyun, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11005
2020-01-02efl_canvas_animation_scale: enhance documentationMarcel Hollerbach
Reviewers: segfaultxavi, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10996
2020-01-02evas: protect against leaking callbacksMarcel Hollerbach
Summary: when someone accidently does not clean up all his animation callbacks, we might end up with a lot of errors on console, as we keep delivering tick events to a dead object. Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10998
2020-01-02efl.text: add null check for cursor and attribute internal methodsali
Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike Reviewed By: bu5hm4n Subscribers: ProhtMeyhet, cedric, #reviewers, #committers Tags: #efl Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10899
2020-01-02evas: don't initialize font multiple time.Cedric BAIL
After splitting font family and size set operation, expedite lost a 10% speed due to doing a double initialization (Once when the family is set and one when the size is set). This was noticable in a few tight running tests. This patch enforce that no initialization is called until the size and the family are set. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10976
2020-01-02Efl.Text.Font.Properties: rename Efl.Text_Font_PropertiesAli Alzyod
Efl.Text.Font.Properties: rename Efl.Text_Font_Properties Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10990
2020-01-02efl.text.cursor: emit events CANVAS_TEXTBLOCK_CHANGED when insert text using ↵Ali Alzyod
efl_text_cursor_markup_insert efl.text.cursor: emit events CANVAS_TEXTBLOCK_CHANGED when insert text using efl_text_cursor_markup_insert Differential Revision: https://phab.enlightenment.org/D10985
2019-12-31evas: fix legacy evas_object_clip_unset for group object.SangHyeon Jade Lee
Summary: evas_object_clip_unset was broken for group object in several month or year.. basically, evas_object_clip_unset(obj) efl_canvas_object_clipper_set(obj, NULL) is equal on efl_clip implements, but on the group object, we need to unclip the whole group children in efl_canvas_group_efl_canvas_object_clipper_set which was not performed by legacy clip_usnet API. Test Plan: try clip_unset(obj) and clipper_set(obj, NULL) in any group clipped case (i.e. scroller content) and see clip_unset is broken and fixed by patch. Reviewers: cedric, bu5hm4n, zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10984
2019-12-31vector container: skip re-ordering as possible.Hermet Park
don't try anything if the stack is already top or bottom.
2019-12-31evas vg: add an new interface efl_canvas_vg_container_children_direct_get()Hermet Park
Summary: We need an efficient method to navigate children faster. Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10989
2019-12-31evas vg: rewrite efl_gfx_stack_raise_to_top, lower_to_bottom()Hermet Park
The implementation was totally stupid, previous function were wrongly working. Thus, we rewrite it simple again.
2019-12-30efl.text.style: underline enum rename + underline method fixali
Summary: underline methods was not working + fix enums names Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7945 Differential Revision: https://phab.enlightenment.org/D10975
2019-12-28correct edje pkg-config generation for luaoldRoss Vandegrift
Currently, edje.pc gets its lua Requires from the -Dlua-interpreter argument. If -Dlua-interpreter=lua, an unversioned lua entry ends up in Requires, which cannot always be satisifed. The evas filters meson.build handles this case by generating a version-specific entry. This patch copies that logic into the top level meson.build, and passes the result to the edje subproject. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10965
2019-12-27docs:Clarify Efl.Text_Formatter format parameterXavi Artigas
Ref T8455
2019-12-26efl.text.font: rename to efl.text.font.propertiesali
Reviewers: segfaultxavi, woohyun, zmike, bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7855 Differential Revision: https://phab.enlightenment.org/D10966
2019-12-26efl_text_format: rename tabstops,lingap,linerelgapAli Alzyod
Summary: rename tabstops,lingap,linerelgap to have underscore between words Reviewers: segfaultxavi, woohyun Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7856 Differential Revision: https://phab.enlightenment.org/D10963
2019-12-26efl_text_cursor: movement word start/endali
Summary: This patch will make **efl_text_cursor_move** method, when it is working with **WORD_START** or **WORD_END** If no actual movement happened then return false, and do not fire CHANGE event for example if cursor at word start, and we call efl_text_cursor_move(cursor, word_start); 1- this call should return false because no actual movement happened. If no actual movement happened then return false 2- this call should not fire CHANGE event for cursor.and do not fire CHANGE event Reviewers: woohyun, segfaultxavi, cedric, zmike Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8454 Differential Revision: https://phab.enlightenment.org/D10949