summaryrefslogtreecommitdiff
path: root/src/examples (follow)
AgeCommit message (Collapse)Author
2020-01-30ecore_con: remove use of list<> from Efl.Net.Cedric BAIL
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D11044
2020-01-23efl_ui_spotlight: rename Stack_Manager to Fade_ManagerJaehyun Cho
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
2020-01-23efl_ui_spotlight: rename Manager_XXX and Indicator_XXXJaehyun Cho
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
2020-01-20efl_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
2020-01-03Example: Add efl_canvas_textblock_obstacles exampleabdulleh Ghujeh
Summary: Add efl canvas textblock example based on unified APIs (converted from legacy) Reviewers: ali.alzyod, segfaultxavi Reviewed By: segfaultxavi Subscribers: woohyun, segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8460 Differential Revision: https://phab.enlightenment.org/D10955
2019-12-24examples: js: use correct var to display user nameStefan Schmidt
Summary: screen_name was used to for both displays, user name and screen name. Fix this typo and make sure the user_name variable is actually used. Depends on D10886 Reported-By: https://lgtm.com/projects/g/Enlightenment/efl Reviewers: felipealmeida, ProhtMeyhet, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10934
2019-12-24examples: js: make sure we declare all variablesStefan Schmidt
Summary: Avoiding local variables to be declared global and shared automatically. Depends on D10882 Reported-By: https://lgtm.com/projects/g/Enlightenment/efl Reviewers: felipealmeida, zmike Reviewed By: zmike Subscribers: zmike, ProhtMeyhet, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10884
2019-12-24examples: js: ensure we finish all statements with a semicolonStefan Schmidt
Summary: JS interpreters seems to be forgiving for these but the majority of the js code examples already use semicolons. Make it consistent and fix up the missing places. Reported-By: https://lgtm.com/projects/g/Enlightenment/efl Reviewers: felipealmeida, zmike Reviewed By: zmike Subscribers: zmike, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10882
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-17examples: js: fix variable nameStefan Schmidt
Summary: Simple mispell in the example. Depends on D10882 Reported-By: https://lgtm.com/projects/g/Enlightenment/efl Reviewers: felipealmeida, lauromoura Reviewed By: felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10883
2019-12-12efl_ui: cleanup elm headersYeongjong Lee
since e2980cd9812113fc4a216749eb23d7611b02fd55, `efl.ui.text` doesn't need `elm_general.h`. This partially reverts commit 96be3cd83d3426c5a9eb8d903245c51927567dc6. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10849
2019-12-11efl.ui.text: rename to efl.ui.textboxAli Alzyod
Summary: This patch will rename efl.ui.text into efl.ui.textbox Effected classes: - efl.ui.text_async : efl.ui.textbox_async - efl.ui.text_editable : efl.ui.textbox_editable **will be removed anyway** Needs consider Classes: - efl.ui.text_part - efl.ui.text_factory.Emoticons - efl.ui.text_factory.Fallback - efl.ui.text_factory.Images Reviewers: woohyun, segfaultxavi, bu5hm4n, zmike, YOhoho Reviewed By: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10835
2019-12-10Example: enhance efl-canvas-vg-simpleJunsuChoi
Summary: - Use path reserve - Use container object Test Plan: ./build/src/examples/evas/efl-canvas-vg-simple Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10830
2019-12-10efl_ui_text_editable: remove classAli Alzyod
Summary: This class is the same as efl_ui_text, efl_ui_text is editable by default. This class should be removed Reviewers: woohyun Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10831
2019-12-09elocation: remove beta libraryStefan Schmidt
This has never been fully finished or really used. The GeoClue project dbus API moved on to a newer version as well. We still have it marked as beta so we should take the chance and get rid of it to cleanup our tree a little bit. Reviewed-by: Chris Michael <cp.michael@samsung.com> Reviewed-by: Vincent Torri <vincent.torri@gmail.com> Differential Revision: https://phab.enlightenment.org/D10788
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-06Example: Add efl-cavnas-vg-simple for unified APIJunsuChoi
Summary: Add Evas vector graphcis example based on unified APIs Test Plan: build ./build/src/examples/evas/efl-canvas-vg-simple Reviewers: Hermet, kimcinoo, smohanty Reviewed By: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10819
2019-12-04elementary: small improvement on example migrating them to newer unified API.Cedric BAIL
2019-12-04Efl.Canvas.Animation: Rename repeat_count to play_countXavi Artigas
Summary: play_count is a tad simpler to understand, since it means the TOTAL number of times the animation will play. The default value is now 1, and 0 means INFINITE (instead of -1). This allows removing yet another constant from header files. Depends on D10799 Test Plan: Everything builds and passes tests. Elm_test Animation.Repeat has been adjusted accordingly. Reviewers: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10800
2019-11-29here comes a new exampleMarcel Hollerbach
Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10733
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-25efl_ui_multi_selectable: clean this upMarcel Hollerbach
this commit merges common functions from efl_ui_multi_selectable and efl_ui_multi_selectable_async. Additionally, the two different aspects of accessing the elements in a multi_selectable widget (numerical or object based) are now abstracted into interfaces called range_numeric and range_object. numeric APIs are also prefixed with id's, so its possible for one widget to implement both (if there will ever be the demand to do that in future). The main reason for this split is: - there is no good common path between mvvm based multi_selectable and object based multi_Selectable, so there is no way that both sides would benefit, without the other one suffering. - If we find later on the demand to implement both on one widget, we now can fully do that - Common API is available for both types, so its less API and less confusion for the API user. ref T7871 ref T8265 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10675
2019-11-20evas: migrate the vg json exampleMarcel Hollerbach
Summary: i was not able to run the example before this commit, nor after this commit. However, i had to migrate this, as i want to remove the player object. Depends on D10637 Reviewers: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Reviewed-by: Hermet Park <hermetpark@gmail.com> Differential Revision: https://phab.enlightenment.org/D10666
2019-11-20introduce efl_canvas_object_animationMarcel Hollerbach
this brings the animation to the canvas object. All the controls of the animation now do now require a player object anymore, you can just use the API that is directly on the Efl.Canvas.Object object. wip animation player replacement Differential Revision: https://phab.enlightenment.org/D10615
2019-11-18Revert "evas: migrate the vg json example"Hermet Park
This reverts commit a1f1cd6dd67de8eac0e302d47ce2aebf44aead16. Eeek, this shouldn't be pushed yet.
2019-11-18evas: migrate the vg json exampleMarcel Hollerbach
Summary: i was not able to run the example before this commit, nor after this commit. However, i had to migrate this, as i want to remove the player object. Depends on D10637 Reviewers: Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10666
2019-11-15examples: efl_exe: fix out of bounds writeStefan Schmidt
Summary: Buf is 4096 in size and rw_slice.len also evaluates to 4096. Write at the last byte and not over bound instead. CID: 1403895 Reviewers: raster, bu5hm4n, devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10682
2019-11-12efl_ui_relative_container: rename relative_layoutYeongjong Lee
Summary: Also, Rename parameter name `target` to `base`. Rename parameter name `relative` to `relative_position`. ref T8380 Depends On D10639 Test Plan: ninja test Reviewers: woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8380 Differential Revision: https://phab.enlightenment.org/D10640
2019-10-24cxx: Add license to CXX bindings.Felipe Magno de Almeida
Summary: Like C#, it will also be Apache 2.0 Depends on D9414 Reviewers: vitor.sousa, woohyun, jpeg, lauromoura Reviewed By: lauromoura Subscribers: jpeg, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9418
2019-10-24csharp: Add licensing information.Lauro Moura
Summary: C# bindings will be lincensed under Apache Sofware License 2.0. This commit adds the license text to the licenses folder and a copyright notice to the binding files. Fixes T8039 Reviewers: woohyun, felipealmeida, vitor.sousa Reviewed By: felipealmeida Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T8039 Differential Revision: https://phab.enlightenment.org/D9414
2019-10-24examples/efl_thread: fix oob writesMike Blumenkrantz
Summary: CIDs 1403896, 1403895, 1403892 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10395
2019-10-24examples/ecore: use correct type for getchar() returnMike Blumenkrantz
Summary: correct prototype is int getchar(void); CID 1400794 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10391
2019-10-18fix various trivial null derefsMike Blumenkrantz
Summary: CIDs 1401081, 1401044, 1400983, 1400960, 1400927, 1400799, 1396946, 1396944, 1383851, 1383847, 1382211, 1379921, 1379921 Reviewers: cedric Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10452
2019-10-16examples/eldbus: fix pointer leak on failure caseMike Blumenkrantz
Summary: CID 1400787 Reviewers: kimcinoo Reviewed By: kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10407
2019-10-16examples/evas: free map pointer in map exampleMike Blumenkrantz
Summary: CID 1400959 Reviewers: kimcinoo Reviewed By: kimcinoo Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10406
2019-10-09examples/emotion: remove dead codeMike Blumenkrantz
this can never be reached CID 1400928 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10322
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-09-30efl_ui: remove efl_ui_text headers from Efl_Ui.h for nowMike Blumenkrantz
these require legacy types and headers, which should not be brought into this header Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10235
2019-09-26efl_ui_*selectable: unify these APIs with the same c_prefixMarcel Hollerbach
Summary: with this commit that api for single and multi selectable shares the same prefix, which makes sense in c as we do not really differ between those two types there anyway. ref T7871 Reviewers: SanghyeonLee, segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7871 Differential Revision: https://phab.enlightenment.org/D10183
2019-09-25efl_ui : change selected_items_get to selected_iterator_new.SangHyeon Jade Lee
multi_selectable_aync already changed name as selected_iterator_new so multi_selectable change name also for unity of API. not sure about we need unselected_items_get in multi_selectable, so skip to create new api for this time. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D10148
2019-09-24efl/player: merge start+stop methods into 'playing' propertyMike Blumenkrantz
this has some overlap with the existing 'play' property which will soon be renamed. the intent here is that there is a property for controlling the 'playing' state and then another property for managing 'pausing' the play state ref T7877 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D10113
2019-09-24elementary: migrate Efl.Ui.List_View to use Efl.Ui.Collection_View.Cedric Bail
Differential Revision: https://phab.enlightenment.org/D10035
2019-09-24elementary: introduce Efl.Ui.CollectionView a generic listing View.Cedric BAIL
The idea of this widget is to provide to MVVM what Efl.Ui.Collection provide and leverage the same shared logic for layout. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Co-authored-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9958
2019-09-24efl_ui_win: default the window type to basicMarcel Hollerbach
normally when you create a window, you just want to have it beeing a basic window. If not you still can set the window type. ref T8229 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D10049
2019-09-24efl: simplify logic for widget created by factory.Cedric Bail
In an attempt to make things more complex than they should have been, I tried to change the inheritance tree on the fly and assume widget would rely on autodeleting its children. This is way more complex of a solution than to let the View actually release all the child manually and just set the window as the default parent.h Co-authored-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9953
2019-09-18efl/image: rename "border" -> "border_insets"Mike Blumenkrantz
Summary: this is a clearer name which makes the intent of the API more obvious at a glance ref T7875 Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7875 Differential Revision: https://phab.enlightenment.org/D9996
2019-09-17efl_ui_multi_selectable: remove SINGLE_ALWAYSMarcel Hollerbach
this should get a better solution later on. There is also no real usage for that. ref T7922 Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D9985
2019-09-16efl/image: Efl.Gfx.Border_Fill_Mode -> Efl.Gfx.Center_Fill_ModeMike Blumenkrantz
Summary: rename this to match its function ref T7926, T7875 Depends on D9932 Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7926, T7875 Differential Revision: https://phab.enlightenment.org/D9933
2019-09-16efl/image: Efl.Gfx.Image_Scale_Type -> Efl.Gfx.Image_Scale_MethodXavi Artigas
ref T7927, T7875 Depends on D9931
2019-09-11csharp: Minor change to D9692Bruno da Silva Belo
Summary: Changing Evt to Event from some files that it wasn't catch on D9692 Reviewers: lauromoura, felipealmeida Reviewed By: lauromoura Subscribers: cedric, felipealmeida, #reviewers, lauromoura, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D9904