summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-25ecore-evas-drm: Refactor ecore-evas drm engine to work with multiple outputsdevs/devilhorns/multi-outputChris Michael
This patch refactors the Ecore_Evas drm engine code to support multiple outputs in software mode. This does NOT include support for gl-drm yet... @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2019-02-25evas-drm: Refactor evas drm engine to work with multiple outputsChris Michael
This commit refactors the evas drm engine in order to support multiple outputs @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2019-02-25ecore-drm2: Pass 'output' as user data for pageflip callbacksChris Michael
With the rework of evas & ecore_evas drm engines, we need to pass the output as 'user_data' to the pageflip functions so that when we get the pageflip callback, we have an output to work with. @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
2019-02-25ecore-drm2: Add API function to retrieve output user dataChris Michael
This patch adds an API function that we can call from within Ecore_Evas to get the user_data set on a given output @feature Signed-off-by: Chris Michael <cp.michael@samsung.com>
2019-02-25ecore-drm2: Re-enable multiple outputsChris Michael
This patch removes the trapping which disabled additional outputs other than the primary output. Signed-off-by: Chris Michael <cp.michael@samsung.com>
2019-02-25efl_ui_scrollable: add step size propertyHosang Kim
Summary: The step size property determines amount of scroll by arrow key event. Test Plan: elementary_test -> efl.ui.scroller Reviewers: bu5hm4n, woohyun, cedric Reviewed By: bu5hm4n, cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7916
2019-02-25efl_ui_widget: remove focused_itemMarcel Hollerbach
focused_item is only used in item containers. This API is now moved into a widget item container, which *can* have a focused item. ref T7553 Reviewed-by: WooHyun Jung <woohyun0705@gmail.com> Differential Revision: https://phab.enlightenment.org/D8013
2019-02-25efl_canvas_object: remove event_freezeMarcel Hollerbach
this is now done via Efl.Object.event_freeze / Efl.Object.event_thaw. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8011
2019-02-25efl_canvas_object: make is_frame_object internalMarcel Hollerbach
it was decided that this property should be internal. So now it is internal. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8010
2019-02-25efl_canvas_object: get rid of event_animation set/getMarcel Hollerbach
the API is a little bit problematic. The API takes events as an parameter. However, only the hide and show events can be used, because move for example is not intercepted, which leads to a situation that you cannot attach a translation animation to the event. Further more, handling the animations directory instead of pipeing them through events seems to be a little bit easier as the case study of the previous events have shown. Further more, we should never ever overwrite the callback_call function of a eo base object, those methods are an incredible hotpath, by the time we would have 1-2 animations on a object, the event submission would be significetly slowned down. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8009
2019-02-25efl_ui_stack: use direct events instead of event_animationMarcel Hollerbach
event_animation of efl_canvas_object, is a little problem, we need to explictly turn it off, to do a visual state manipulation, just to attach the animation again. Further more, the animation objects are stored in static fields, which are not bound to the object. Which means, when two Efl.Ui.Stack objects are running in parrallel, the animation will look a little bit wacky, since the object is detached before the animation is ended. ref T7555 Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8008
2019-02-25efl_ui_slack: remove explicit animation removingsMarcel Hollerbach
it appears that this is a bit unnessesery. Setting an animator to NULL only causes the animation to be stopped. However, in all cases of these removed calls, a new animator is setted anyways in one of the next calls. Which means, the old animator is going to be stopped and removed anyways. Thus these calls are unnessesery Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8007
2019-02-25efl_ui_stack: refactor codeMarcel Hollerbach
there has been a lot of duplications, they are removed now. The 5 new APIs are there to either show[1] or hide[2] content without animations, show[4] or hide[5] content with animations. The last new function[3] is there to announce the events after content has been removed. 1: _show_content_without_anim 2: _hide_content_without_anim 3: _announce_hiding 4:_show_content_with_anim 5:_hide_content_with_anim Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Differential Revision: https://phab.enlightenment.org/D8006
2019-02-25elm textpath: reduces differences between actual pos and modified posYoungbok Shin
Summary: In a previous patch, textpath was modified to use differences between prev/next values to decide next position. Actually, it improved rendering quality. But, the modified position could have a big difference from actual position. It caused a distortion problem. So, this patch was made for reducing that differences. @fix Test Plan: I'll attach some screenshots of before/after. 1. Modify text in text_ui_textpath.c to see distortion of text. ex) "―――――――――――――――――――..." 2. Build and install. 3. Run "ELM_SCALE=0.8 ELM_ACCEL=gl elementary_test -to efl.ui.textpath" Reviewers: Hermet, raster, cedric Reviewed By: Hermet Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7418
2019-02-25efl_ui_widget: remove "moved" eventWooHyun Jung
Summary: This "moved" event is only used by elm_gengrid now. And it's not something common for all widget classes, because the event is giving notification when the legacy item is reordered. ref T7553 Test Plan: elementary_test "GenGrid" Reviewers: bu5hm4n, YOhoho, Jaehyun_Cho Reviewed By: bu5hm4n, YOhoho Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7553 Differential Revision: https://phab.enlightenment.org/D8005
2019-02-23efl: improve Efl.Container_Model test to have proper lifecycle.Cedric BAIL
Summary: Depends on D7865 Reviewers: felipealmeida, segfaultxavi, SanghyeonLee, zmike, bu5hm4n Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7528 Differential Revision: https://phab.enlightenment.org/D7866
2019-02-23eio: enforce proper lifecycle for all Efl.Io_Model and fix discovered ↵Cedric BAIL
lifecycle bugs. Summary: This make sure that the object returned by children_slice_get are properly destroyed when the refcount drop to only the parent holding a reference on it. This make it clear that the user of the api can rely on efl_ref/efl_unref to actually manage its use of the returned object. Additionnaly we are cleaning up the created object that we are using to build our own request inside the Efl.Io.Model and avoid internal leak. Depends on D7864 Reviewers: felipealmeida, segfaultxavi, SanghyeonLee, zmike, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7528 Differential Revision: https://phab.enlightenment.org/D7865
2019-02-23ecore: enforce proper lifecycle for all Efl.Composite_Model children.Cedric BAIL
Summary: This make sure that the object returned by children_slice_get are properly destroyed when the refcount drop to only the parent holding a reference on it. This make it clear that the user of the api can rely on efl_ref/efl_unref to actually manage its use of the returned object. Reviewers: felipealmeida, segfaultxavi, SanghyeonLee, zmike, bu5hm4n Reviewed By: segfaultxavi, zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7528 Differential Revision: https://phab.enlightenment.org/D7864
2019-02-22efl-csharp: Add support for containers in events.Lauro Moura
Summary: Using a simple wrapper as event parameters are not ownable. Reviewers: vitor.sousa Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7981
2019-02-22examples: fixes after Efl.Gfx.Hint renameXavi Artigas
2019-02-22examples: Fix cxx examples compilation.Lauro Moura
Summary: After Efl.Gfx.Hint changes. Reviewers: segfaultxavi, vitor.sousa Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8003
2019-02-22eolian: introduce typed slice typesDaniel Kolesa
Summary: This adds two new complex types, slice<T> and rw_slice<T>. This is necessary to make the type useful to bindings, as Eina_Slice on its own says nothing about what it's carrying and that prevents useful code from being generated outside of C. @feature Reviewers: bu5hm4n, segfaultxavi, lauromoura, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7980
2019-02-22docs: Polish focus documentation.Marcel Hollerbach
Summary: Depends on D7994 Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7998
2019-02-22build: fix macos buildMarcel Hollerbach
Summary: it the .pc file of luajit carries linker flags that causes compilation fails on macos, thus we need to split up the .pc file into our own dependency, and use it with causion Reviewers: zmike, cedric, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7995
2019-02-22evas_callbacks: redo legacy smart object events for recently changed event namesMike Blumenkrantz
Summary: this makes it more obvious which events are legacy and makes them easier to remove in the future Reviewers: bu5hm4n Reviewed By: bu5hm4n Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8002
2019-02-22api: add bool data to efl.io.reader/writer 'changed' eventsMike Blumenkrantz
Summary: changed events should always be triggered with the accompanying changed data to reduce function calls ref T7600, T7599 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7600, T7599 Differential Revision: https://phab.enlightenment.org/D7984
2019-02-22efl_ui_focus_object: rename APIMarcel Hollerbach
these API names have been considered a better choice. ref T7571 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7994
2019-02-22efl_ui_focus_object: rename eventsMarcel Hollerbach
the event now math the pattern of <property-name>,changed. ref T7571 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7989
2019-02-22efl_ui_focus_composition: remove unneeded APIMarcel Hollerbach
the purpose of this API can be improved, and the values there can be guessed. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7993
2019-02-22efl_ui_focus_object: improve docMarcel Hollerbach
ref T7571 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7992
2019-02-22efl_ui_focus_manager: improve docsMarcel Hollerbach
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7991
2019-02-22efl_ui_focus_manager: rename focus,changedMarcel Hollerbach
focus,changed is already used in efl_ui_focus_object, which makes sense there. However, here we listen for the property focus_manager, thus its renamed to focus_manager,changed. ref T7571 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7990
2019-02-22gitignore: add .eo.legacy.cDaniel Kolesa
2019-02-22elementary meson: fix script typo.Hermet Park
2019-02-22efl_ui_table: fix correct parameters of table_rows_getYeongjong Lee
Test Plan: efl_pack_table_size_set(ui_table, 3, 4); efl_pack_table_size_get(ui_table, &cols, &rows); Check (cols, rows) are (3, 4) Reviewers: Jaehyun_Cho, zmike, jpeg, bu5hm4n Reviewed By: Jaehyun_Cho, bu5hm4n Subscribers: bu5hm4n, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7838
2019-02-22test_ui_relative_layout: fix maybe-uninitialized warningJaehyun Cho
Warning, which 'text' may be used uninitialized, is fixed.
2019-02-22efl_ui_relative_layout: introduce new relative containerYeongjong Lee
Summary: Efl.Ui.Relative_Layout is a container which allows you to position and size with relation to each other. it is possible to position and size using relation like edje even though you don't know a edc script. Position and size can be changed dynamically using widget APIs. @feature ref T5487 Test Plan: make check examples elementary_test -to 'efl.ui.relative_layout' Reviewers: cedric, Hermet, Jaehyun_Cho, zmike, bu5hm4n, jpeg, segfaultxavi Reviewed By: Jaehyun_Cho, segfaultxavi Subscribers: segfaultxavi, kimcinoo Tags: #efl Maniphest Tasks: T5487 Differential Revision: https://phab.enlightenment.org/D7524
2019-02-22mono-examples: Fix after Efl.Gfx.Hints renameXavi Artigas
2019-02-22Revert "eo: fix to remove unreachable loop"Jaehyun Cho
This reverts commit f02b82a49e12c0d02bb3f438046e1ceb93d1643b.
2019-02-22api: efl.gfx.stack stack,changed -> stacking,changedMike Blumenkrantz
slight tweak to make this more consistent with meaning and docs ref T7560 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7988
2019-02-22api: rename efl.gfx.entity geometry events and add geometry data to those eventsMike Blumenkrantz
the convention for event naming is to use $property,changed where possible and to always emit related data with the event to reduce function calls ref T7558 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7987
2019-02-22efl_io_model: fix not to cause memory overflow by strcpyJaehyun Cho
Since the destination string size is EINA_PATH_MAX, the string is copied up to EINA_PATH_MAX size.
2019-02-22eo: fix to remove unreachable loopJaehyun Cho
2019-02-22ecore_imf: Add keycode in key down and key up event structsJihoon Kim
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
2019-02-21elementary: make sure Efl.Ui.Average_Model stay alive until the end of a ↵Cedric BAIL
property_set. Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7863
2019-02-21ecore: add infrastructure to make it easy to enforce Efl.Loop_Model children ↵Cedric BAIL
lifecycle. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7862
2019-02-21efl: make sure that the expected lifecycle of the children of Efl.Model is ↵Cedric BAIL
well described. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D7861
2019-02-21interfaces: move animator,tick to efl.canvas.object and remove efl.animatorMike Blumenkrantz
Summary: this interface only contains a single event which is implemented only by the canvas object ref T7561 Reviewers: cedric, segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7561 Differential Revision: https://phab.enlightenment.org/D7905
2019-02-21tests: fix elua test with autotoolsDaniel Kolesa
For one, TESTS_SRC_DIR was missing even though it's present in meson. For two, top_builddir/top_srcdir are relative paths, which means the chdir added earlier would result in a wrong apps dir being pointed to; fix that by making all paths passed into the tests source absolute.
2019-02-21api: remove efl.ui.cursor interfaceMike Blumenkrantz
this existed only to provide the methods for Efl.Ui.Layout_Part and fill in implementation for some legacy functions which should probably not be supported going forward the corresponding methods have been merged into efl_ui_widget and the legacy functions no longer use eolian-generated implementations Reviewed-by: WooHyun Jung <woohyun0705@gmail.com> Differential Revision: https://phab.enlightenment.org/D7899