summaryrefslogtreecommitdiff
path: root/src/lib/efl/interfaces (follow)
AgeCommit message (Collapse)Author
3 daysefl_ui_scrollbar: change scrollbar state when theme is reloaded.Hosang Kim
Scrollbar visible state is not synchronized when theme is reloaded. Differential Revision: https://phab.enlightenment.org/D10649
4 daysdocs: Give some love to progress bar docs.Xavi Artigas
Differential Revision: https://phab.enlightenment.org/D11112
5 daysefl/player: merge in and rework events from vg_animationMike Blumenkrantz
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
6 daysefl.input.text: add variation enums + remove @since wordAli Alzyod
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
11 daysdocs: 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
11 daysTEXT_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
12 daysText_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
13 daysefl_text_change_info: rename some propertiesWooHyun Jung
insert -> insertion merge -> mergeable ref T7933 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D11016
13 daysefl_text_types: remove unused typeAli Alzyod
Summary: efl_text_types: remove unused type **Efl.Text_Attribute_Handle** Reviewers: woohyun, segfaultxavi Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11031
13 daysefl.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-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.font.properties: remove comments from eo filesali
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D10971
2019-12-31Efl.Player: Add setter of playback_progressJunsuChoi
Summary: The setter of Efl.Player.playback_progress is implemented in each class below. Efl.Ui.Animation_View Efl.Ui.Image Efl.Ui.Image_Zoomable Efl.Canvas.Video ref T8476 Depends on D10915 Test Plan: N/A Reviewers: Hermet, bu5hm4n, kimcinoo, Jaehyun_Cho, segfaultxavi, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D10931
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-30efl.text.style: strikethrough_type & Background_type enum renameali
Summary: rename **solid color** to **single** rename **disabled** to **none** Reviewers: woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7942, T7941 Differential Revision: https://phab.enlightenment.org/D10974
2019-12-27efl_style: rename enums (background,strikthrough) from enabled to solid_colorAli Alzyod
Reviewers: woohyun, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7942 Differential Revision: https://phab.enlightenment.org/D10967
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-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-20efl_interface: add @since tag for Efl_Model_Children_EventYeongjong Lee
Summary: @since tag is necessary for stabilized class. Reviewers: SanghyeonLee, segfaultxavi Reviewed By: SanghyeonLee Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10930
2019-12-19efl_interface : stablized Efl_Model_Children_EventSangHyeon Jade Lee
for mvvm publishing, this structure need to be out of beta. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10856
2019-12-19Remove @beta from Efl.Interpolator classesXavi Artigas
All of them, except the divisor interpolator, because I still don't know what it does. Ref T8445 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10893
2019-12-17efl.text.format: rename methods and propertiesAli Alzyod
Summary: efl.text.format: rename methods and properties this change will avoid conflict in the future with other interfaces or class methods. T8533 Reviewers: woohyun, segfaultxavi, zmike, bu5hm4n Reviewed By: segfaultxavi Subscribers: cedric, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10895
2019-12-17docs: Add detailed text styling informationXavi Artigas
Summary: More detailed descriptions for each attribute. Relationship between attributes. Default values. Links to direct API methods for the corresponding property. General text overhaul and formatting. Test Plan: Builds and passes tests. Generate docgen or DocFX documentation and enjoy your new Text styling descriptions! Reviewers: ali.alzyod Reviewed By: ali.alzyod Subscribers: AbdullehGhujeh, cedric, #reviewers, #committers, woohyun, bu5hm4n Tags: #efl Differential Revision: https://phab.enlightenment.org/D10873
2019-12-09Efl.Ui.Text : all related interfacesali
Summary: Change summary: Removed : - efl_ui_text_selectable.eo and add it functionality into efl_text_interactive.eo - efl_ui_text_editable.eo because it is same as efl_ui_text.eo (just set one property by default) Modifications: - Move all Text Input enums and functionality from efl_ui_text class into its own interface, this interface will be implemented at efl_ui_internal_text_interactive class. - Rename selection_allowed property to selectable (same as other "editable" property) in efl_text_interactive - Add select_all function into efl_text_interactive interface - Add have_selection property into efl_text_interactive interface - Move user_change , selection_start/change/clear and undo/redo events into efl_text_interactive interface. - Move methods and events of copy/paste/cut into efl_ui_text - Fix password-related functionality - Remove context menu clear and add_item methods. (these should be added later with better design) - Remove Validation event from EFL_UI_TEXT. (these should be added later with better design) Reviewers: woohyun, tasn, segfaultxavi, zmike, bu5hm4n Subscribers: stefan_schmidt, a.srour, q66, zmike, segfaultxavi, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D10711
2019-12-06efl: stabilize Efl.Gfx.ArrangementYeongjong Lee
ref T7864 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10642
2019-11-29eo files: Avoid container<ptr(value_type)> usage.Lauro Moura
Summary: Value types are already assumed to be stored by pointer (e.g. `int val = *(node->data);`) This commit just changes the current usage of the `ptr` modifier in the ptr, not affecting the parser. Reviewers: q66, segfaultxavi, bu5hm4n, felipealmeida Reviewed By: q66 Subscribers: cedric, #reviewers, #committers, brunobelo Tags: #efl Differential Revision: https://phab.enlightenment.org/D10769
2019-11-28docs: nitpickingXavi Artigas
We should not refer to individual library names anymore. They are all part of EFL now!
2019-11-28Polish text interface methodsAli Alzyod
Summary: This patch is set to rename some properties of `Efl.Text_Font` & `Efl.Text_Format` interfaces. 1- efl_text_font_set/get become (efl_text_font_family_set/get, efl_text_font_size_set/get) 2- efl_text_valign/halign become efl_text_vertical/horizontal_align 3- efl_text_halign_auto_type become efl_text_horizontal_align_auto_type Reviewers: ali.alzyod, woohyun, segfaultxavi, bu5hm4n, zmike, cedric Reviewed By: woohyun Subscribers: zmike, #committers, #reviewers, cedric Tags: #efl Differential Revision: https://phab.enlightenment.org/D10716
2019-11-27Efl.Text.Attribute_FactoryAli Alzyod
Summary: Implementation of new Efl.Text.Attribute_Factory class which replace the annotation interface. Currently, we have two public methods: ``` void efl_text_attribute_factory_attribute_insert(const Efl_Text_Cursor *start, const Efl_Text_Cursor *end, const char *format) unsigned int efl_text_attribute_factory_attribute_clear(const Efl_Text_Cursor *start, const Efl_Text_Cursor *end); ``` Other methods will be internal methods, for the time being, we will redesign internal methods Reviewers: woohyun, tasn, segfaultxavi, bu5hm4n, zmike Subscribers: zmike, q66, cedric, segfaultxavi, bu5hm4n, a.srour, #committers, #reviewers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10646
2019-11-26eo: add move tag to iteratorYeongjong Lee
It is impossible to reuse iterator after `EINA_ITERATOR_FOREACH`(`eina_iterator_next`). E.g. ``` eina_init(); eina_file_dir_list("/home/", EINA_FALSE, _print_cb, NULL); it = eina_file_ls("/home/"); EINA_ITERATOR_FOREACH(it, f_name) { printf("%s\n", f_name); eina_stringshare_del(f_name); } EINA_ITERATOR_FOREACH(it, f_name) { printf("Again %s\n", f_name); eina_stringshare_del(f_name); } eina_iterator_free(it); ``` `Agian ...` is never printed. Therefore, iterator always need `@move` tag to avoid unexpected behavior without any error message. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10719
2019-11-22text: Fix struct definitionLauro Moura
Summary: Efl_Text_Cursor_Handle was being declared twice, confusing the C# generator. This commits updates it to be singly defined in the text_types eot file. Reviewers: segfaultxavi, ali.alzyod Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10726
2019-11-22Efl.Text.CursorAli Alzyod
Summary: Implementation of new cursor text object. This Patch Contains : 1- Remove Efl.Text.Cursor & Efl.Text_Markup_Interactive interfaces and replace them with one Class Efl.Text.Cursor => there are some modifications on cursor methods 2- Update all related classes to use Efl.Text.Cursor object instead of the old interfaces 3- If class uses Efl.Text_Cursor_Cursor (handle), mainly annotation it will stay as it is until we update other annotations into attribute_factory 4- Add main cursor property into efl.text.interactive 5- Add cursor_new method in efl.ui.text (I think we may move it into efl.text.interactive interface) There still some parts that need discussion: especially cursor movement functionality, I prefer to move function with Enum, instead of special function for each movement. ``` enum @beta Efl.Text.Cursor_Move_Type { [[Text cursor movement types]] char_next, [[Advances to the next character]] char_prev, [[Advances to the previous character]] cluster_next, [[Advances to the next grapheme cluster]] cluster_prev, [[Advances to the previous grapheme cluster]] paragraph_start, [[Advances to the first character in this paragraph]] paragraph_end, [[Advances to the last character in this paragraph]] word_start, [[Advance to current word start]] word_end, [[Advance to current word end]] line_start, [[Advance to current line first character]] line_end, [[Advance to current line last character]] paragraph_first, [[Advance to current paragraph first character]] paragraph_last, [[Advance to current paragraph last character]] paragraph_next, [[Advances to the start of the next text node]] paragraph_prev [[Advances to the end of the previous text node]] } move { [[Move the cursor]] params { @in type: Efl.Text.Cursor_Move_Type; [[The type of movement]] } return: bool; [[True if actually moved]] } ``` or old way: ``` char_next { [[Advances to the next character]] // FIXME: Make the number of characters we moved by? Useful for all the other functions return: bool; [[True if actually moved]] } char_prev { [[Advances to the previous character]] return: bool; [[True if actually moved]] } char_delete { [[Deletes a single character from position pointed by given cursor.]] } cluster_next { [[Advances to the next grapheme cluster]] return: bool; [[True if actually moved]] } cluster_prev { [[Advances to the previous grapheme cluster]] return: bool; [[True if actually moved]] } // FIXME: paragraph_end is inconsistent with word_end. The one goes to the last character and the other after the last character. paragraph_start { [[Advances to the first character in this paragraph]] return: bool; [[True if actually moved]] } paragraph_end { [[Advances to the last character in this paragraph]] return: bool; [[True if actually moved]] } word_start { [[Advance to current word start]] return: bool; [[True if actually moved]] } word_end { [[Advance to current word end]] return: bool; [[True if actually moved]] } line_start { [[Advance to current line first character]] return: bool; [[True if actually moved]] } line_end { [[Advance to current line last character]] return: bool; [[True if actually moved]] } paragraph_first { [[Advance to current paragraph first character]] return: bool; [[True if actually moved]] } paragraph_last { [[Advance to current paragraph last character]] return: bool; [[True if actually moved]] } paragraph_next { [[Advances to the start of the next text node]] return: bool; [[True if actually moved]] } paragraph_prev { [[Advances to the end of the previous text node]] return: bool; [[True if actually moved]] } ``` Reviewers: woohyun, tasn, segfaultxavi Reviewed By: woohyun Subscribers: a.srour, bu5hm4n, segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10542
2019-11-12Efl.Gfx.Frame_Controller: Add sector propertyJunsuChoi
Summary: These APIs to get and set frames for a specific section for playing section. Depends on D10505 Test Plan: N/A Reviewers: Hermet, smohanty, kimcinoo Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10506
2019-11-06efl: Make stable single-valued getters consistent.Lauro Moura
Summary: Instead of a getter with an explicit return type, change it to be a single-valued property. The eolian C generator takes care of making this single value the actual return value of the C function. This also makes these properties able to be reflected on. The stack properties returns just a pointer and not a new ref, so no @move needed. Beta properties will be handled in a future commit. Depends on D10601 Reviewers: segfaultxavi, bu5hm4n, q66, cedric Reviewed By: segfaultxavi Subscribers: #reviewers, #committers, brunobelo, felipealmeida Tags: #efl Differential Revision: https://phab.enlightenment.org/D10602
2019-11-06Efl.Interpolator*: More sensible API names and docsXavi Artigas
Summary: OK, so, ALL interpolator parameters were called "factor" and the docs literally said "First factor, Second factor, ..." After diving into the actual implementation, proper names (and types) for the parameters were found and proper docs written. I am afraid I could not make any sense of the Divisor interpolator code. Those docs still need writing. Test Plan: Everything still builds and passes tests. No functional changes. Reviewers: zmike, cedric, bu5hm4n, Jaehyun_Cho Reviewed By: bu5hm4n Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10603
2019-11-05docs: Efl.Gfx.ViewXavi Artigas
2019-10-31evas: move efl_input_device into evas/Efl_Canvas.hCedric Bail
Summary: The internal and the API we would like is mostly a canvas API. A lot of the code in evas is working around the fact that efl_input_device is not defined inside Evas. This patch is the first step to try to clean this up. Depends on D10487 Reviewers: zmike, raster, bu5hm4n, Hermet Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T8321 Differential Revision: https://phab.enlightenment.org/D10488
2019-10-29interfaces: replace doubles with Efl.Gfx.Align where appropriateMike Blumenkrantz
Summary: this makes the types more explicit Depends on D10554 Reviewers: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10555
2019-10-29efl/gfx: add Efl.Gfx.Align typeMike Blumenkrantz
Summary: this can be used to more explicitly specify that a double is intended to be a value of 0.0 to 1.0 for the purpose of aligning objects. it also avoids the need to copy and paste the same docs around everywhere Reviewers: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10554
2019-10-28docs: Polished docs for Efl.Ui.ScrollableXavi Artigas
2019-10-28docs: Formatting and polishing Efl.Ui.Factory docsXavi Artigas
2019-10-28docs: Improve documentation on cache-related classesXavi Artigas
Also, code comments and typos.
2019-10-23docs: small fixes to Efl.TextXavi Artigas
2019-10-15efl_ui: rename efl_ui_types.eot to efl_ui_drag_types.eotJaehyun Cho
Summary: The current efl_ui_types.eot contains only enum Efl.Ui.Drag_Dir. Therefore, it is renamed to efl_ui_drag_types.eot as follows. src/lib/efl/interfaces/efl_ui_types.eot -> efl_ui_drag_types.eot Reviewers: bu5hm4n, segfaultxavi, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10387
2019-10-14eolian: fix eolian errors with EOLIAN_ENFORCE_SINCE=1WooHyun Jung
Summary: This is not the end of fixing eolian errors. I need to keep fixing more. Test Plan: 1. export EOLIAN_ENFORCE_SINCE=1 2. ninja Reviewers: q66, segfaultxavi, zmike, bu5hm4n, Jaehyun_Cho Reviewed By: segfaultxavi, Jaehyun_Cho Subscribers: Jaehyun_Cho, stefan_schmidt, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10370
2019-10-07docs: Remove redundant documentationXavi Artigas
Lots of EO files had the same information at the property and set/get level. Removed the redundant bits, and moved to the property level the common ones. Set and Get documentation should be used only to clarify setter-only or getter-only behavior.
2019-10-02efl_gfx_arrangement: change content_padding param type and remove scalableYeongjong Lee
Summary: This change `content_padding` parameter type to int from double for consistency of size properties. `scalable` should be handled in more common size API. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> ref T7864 Test Plan: ninja test Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7864 Differential Revision: https://phab.enlightenment.org/D10154
2019-10-02docs: Fix problems with monospaced textXavi Artigas
Eolian recently added support for $[...] which allows highlighting more than one word in monospaced text.
2019-09-30efl: add code to enforce presence of @since tagsDaniel Kolesa
This is not yet enabled because there's too many instances where this is broken. Ref T7704