summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas (unfollow)
AgeCommit message (Collapse)Author
3 daysefl.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
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
5 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
5 daysdocs: Typos in Doxygen docsXavi Artigas
6 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
6 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
8 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
9 daysdocs: Typo in Efl.Text_CursorXavi Artigas
9 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
9 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 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
11 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
13 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-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-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-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-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
2019-12-26efl_text_cursor: line jump by fix movementAli Alzyod
Summary: When the cursor is at line beginning of line, and user click "Up" then "Down" on keyboard cursor will position at second character. If text is: **occaecat \n mollit** Reviewers: woohyun, zmike, cedric, segfaultxavi Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8454 Differential Revision: https://phab.enlightenment.org/D10947
2019-12-26elm_entry: remove variation sequences as part of glyph when delete clustersAli Alzyod
Summary: This will fix the task: T8542 Remove variation sequences as part of glyph when deleting clusters, variation sequence is meaningless alone, so they should be removed when deleting Reviewers: woohyun, bowonryu Reviewed By: bowonryu Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10956
2019-12-24efl_text_cursor: assign source textobject to destination on cursor_copyAli Alzyod
Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8454 Differential Revision: https://phab.enlightenment.org/D10951
2019-12-24Efl.Text.Cursor: Fix line_jump_by return logica.srour
Summary: From documentation `line_jump_by` should return `EINA_TRUE` if cursor moved, and `EINA_FALSE` if not moved. But the current behaviour is reversed, so this should fix it. Reviewers: ali.alzyod, segfaultxavi, woohyun Subscribers: AbdullehGhujeh, #committers, cedric, #reviewers Tags: #efl Maniphest Tasks: T8454 Differential Revision: https://phab.enlightenment.org/D10946
2019-12-24evas_object_textblock: remove unreachable codeBowon Ryu
Summary: This less-than-zero comparison of an unsigned value is never true.. this condition can not be true. Test Plan: N/A Reviewers: ali.alzyod, woohyun, jsuya Reviewed By: jsuya Subscribers: jsuya, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10961
2019-12-20efl.canvas.textblock: update eo file documentationali
Summary: T8460 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10936
2019-12-20efl_text_attribute_factory: rename to efl_text_formatterAli Alzyod
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8455 Differential Revision: https://phab.enlightenment.org/D10925
2019-12-20efl.text.style: rename methods/properties and add text_ prefixali
Summary: efl.text.style: rename methods and properties this change will avoid conflict in the future with other interfaces or class methods. ``` Efl.Text_Style.text_color { set; get; } Efl.Text_Style.text_backing_type { set; get; } Efl.Text_Style.text_background_color { set; get;} //this was backing_color Efl.Text_Style.text_underline_type { set; } Efl.Text_Style.text_underline_color { set; get; } Efl.Text_Style.text_underline2_color { set; get; } Efl.Text_Style.text_underline_dashed_color { set; get; } Efl.Text_Style.text_underline_height { set; } Efl.Text_Style.text_underline_dashed_width { set; } Efl.Text_Style.text_underline_dashed_gap { set; } Efl.Text_Style.text_strikethrough_type { set; } Efl.Text_Style.text_strikethrough_color { set; get; } Efl.Text_Style.text_effect_type { set; } Efl.Text_Style.text_shadow_direction { set; } Efl.Text_Style.text_outline_color { set; get; } Efl.Text_Style.text_shadow_color { set; get; } Efl.Text_Style.text_glow_color { set; get; } Efl.Text_Style.text_glow2_color { set; get; } ``` T8533 Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike, cedric Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10897
2019-12-19Fix textblock style when "lang=x" is presenteda.srour
This patch should fix `textblock`'s style issue when `lang` property presented, also fix leak when changing font_lang property in `Efl.Canvas.Text` Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10896