summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-12-19Efl.Ui.Tree_View: added new MVVM asynchronous widgetdevs/larrylira/viewtreeLarry Lira
Summary: new classes added: Efl.Ui.Tree_View Efl.Ui.Tree_View_Layouter Efl.Ui.Tree_View_Segarray Efl.Ui.Tree_Factory added view_tree_example_1 in elementary example Reviewers: felipealmeida Subscribers: cedric, #reviewers, vitor.sousa, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7242
2018-12-18build: make edje files dependencies of the themeMarcel Hollerbach
this makes theme work way more easier
2018-12-18silence most left over compiler warningsJérémy Zurcher
Summary: silence -Wshadow -Wunused-variable -Wunused-parameter Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7473
2018-12-18evas vg: fix indentation.Hermet Park
2018-12-18efl_canvas_surface: change mixin to abstractJaehyun Cho
Summary: If Efl.Canvas.Surface is changed from mixin to abstract, then its sub classes do not need to inherit from Efl.Object to be a class. Moreover, Efl.Canvas.Surface's data can be derived to its sub classes easily. Reviewers: jpeg, segfaultxavi, woohyun, Hermet Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7411
2018-12-17build: make bindings cross compileableMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D7470
2018-12-17build: remove unused meson fileMarcel Hollerbach
this was added by accident Differential Revision: https://phab.enlightenment.org/D7469
2018-12-17meson: Enable dev flags for cppLauro Moura
Had to add a pragma around CityHash64 to make it work with -f-visibility=hidden Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7466
2018-12-17evas vg: remove redundant function code.Hermet Park
2018-12-17eolian_mono: use System.Type explicitlyJaehyun Cho
Previously, "Type" was used with "using System". However, it caused ambiguity if some classes had "Type" property. Therefore, "System.Type" is used explicitly to remove ambiguity.
2018-12-17elm_gengrid: improve genlist behaviourMarcel Hollerbach
the new behaviour is (as genlist in the previous commit): - focus the first item when down is pressed - focus the last item when up is pressed - do not go into the widget with tab or ctrl+tab and just return immidiantly fixes T6805 Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7454
2018-12-17elm_widget_item_static_focus: fix ERR printsMarcel Hollerbach
There is the case that the deletion of the adapter can cause another registeration, which then calls another time prepare, which then deletes the adapter, before the actaul deletion of the first efl_del happened, which means it will throw an error. To avoid this we track if we are in process of a unrealization, and if so, do not delete the item there. Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7453
2018-12-17elm_genlist: behaviour fixes for genlistMarcel Hollerbach
This implements the behaviour in case no item is yet focused, but the genlist is focused. ref T6805 Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7452
2018-12-17elm_gen****: fix focus restoring on window focus changesMarcel Hollerbach
this ensures that if there is no focused item, that at least the container is focused. This leads to the fact that the elm_genlist /elm_gengrid is refocused when a window is unfocused and focused again. Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7451
2018-12-17efl_ui_focus_manager: performance optimize order settingMarcel Hollerbach
setting the order is a little bit expensive, this performance optimizes order setting in the focus manager. We don't need to set the order each time something is registered, it is enough to set it once we need the correct order. We don't need to evalulate the state in the Manager_Root_Focus if the rect is not registered. If its not, then another new element cannot cause the rect to be registered. Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7450
2018-12-17elm-test: add a test for checking the focus_next_object_setYeongjong Lee
The object which is set by elm_object_focus_next_object_set should be considered first when focus moved. ref T7389 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7310
2018-12-17elm_focus: implement legacy targets for logical widgetsMarcel Hollerbach
they are now handled. The list of parents is walked until a possible candidate is found or the parent chain is the same then in the next focused element. fix T7389 Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7404
2018-12-17elm_focus: implement elm_object_focus_next_item_set / getMarcel Hollerbach
you can use this now to let the focus move to the widget container of the passed item. I know this patch contains a whitespace change, but i have to get out this whitespace each & every time i am editing the file - which is annoying. So remove it once, which makes further work easier. fixes T6183. Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D7408
2018-12-17elm_config: fix valgrind warningsMarcel Hollerbach
buf is only initializied, if on_flush is true. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7449
2018-12-17build: add warnings and compiler flags to mesonMarcel Hollerbach
this moves meson and autotools closer to each other. The flags are selected in order to keep the amount of warnings low. Differential Revision: https://phab.enlightenment.org/D7429
2018-12-15evas gl - make GLintptr etc. also ndefed for GL_VERSION_1_5 fix typedefCarsten Haitzler (Rasterman)
It seems that GL_VERSION_1_5 define == these provided by gl already. At least reading the mesa headers I do, so this should fix T7502 @fix
2018-12-14efl-mono: Fix call of virtual methods after new APILauro Moura
Summary: After the new API, the virtual wrapper classes (*NativeInherit) just declared the wrappers for the current class. But as they didn't have any inheritance information, reimplementing methods from a parent Eo class wouldn't work. (e.g. Efl.Ui.Button reimplementing Efl.Object FinalizeAdd). This commit changes these NativeInherit classes to mimic the inheritance chain of their regular/abstract counterparts, reusing the virtual wrapper implementations. In order to access the correct Eo class created, the methods on it were changed from static to instance methods. The instance will be held as a class member of the regular/abstract API class to keep the delegates alive and allow getting C Function pointers from them. The class_initializer method was also split in two. The method collecting the wrapper delegates was extracted in order to call the parent ones. Also avoid exception in cached strings queries as TryGetValue requires non-null keys. Test Plan: Run test suite. Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7460
2018-12-14eolian-cxx: Add parent/extensions information to klass_defLauro Moura
Summary: Following new Eolian api. Test Plan: Run newly added test Reviewers: vitor.sousa, felipealmeida Reviewed By: vitor.sousa Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7459
2018-12-14eolian_mono: Add support for C# style propertiesLauro Moura
Summary: Syntatic sugar around the Get/Set functions for now. Test Plan: Run efl-mono-suite Reviewers: vitor.sousa, segfaultxavi, felipealmeida, Jaehyun_Cho Reviewed By: vitor.sousa Subscribers: cedric Tags: #efl_language_bindings Differential Revision: https://phab.enlightenment.org/D7394
2018-12-14efl_ui_win: Don't allow the frame object to change size before first drawDerek Foreman
This fixes a bug where calling: evas_object_show(win); evas_object_resize(win, 400, 400); elm_run(); Would show a much smaller than 400,400 window on wayland, as the CSD calcs would set the size smaller. It also fixes some differences in startup size between X and wayland for some trivial test clients. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7438
2018-12-14evas_render: Ignore objects on planes for renderingDerek Foreman
We want to pretend they're just not there at this point since the hardware is responsible for drawing them. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7198
2018-12-14ecore_wl2: Fix anchor for xdg pop-upsDerek Foreman
Anchors are in window geometry, so we should be using 0,0 instead of the parent x,y for the top left corner of the window. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7436
2018-12-14ee_wayland: Use object geometry instead of window geometryDerek Foreman
wayland window geometry isn't currently being handled properly, but the ecore_evas geometry should be correct and coherent. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7435
2018-12-14ecore_evas: Validate shadow geometryDerek Foreman
Negative values in shadow geometry make no sense at all, however it's happening all the time in wayland. Let's throw an ERR so it doesn't go unnoticed. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7434
2018-12-14gl_drm: use dlsym looked up symbol for extension checkDerek Foreman
We looked this up with dlsym, so I guess we should use that even though the direct call seems to work just fine most of the time. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7433
2018-12-14ee_wayland: Replace set_config.geometry direct use with gettersDerek Foreman
I'm going to deal with some ugly geometry problems in the getter func shortly. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7432
2018-12-14ecore_wl2: Replace direct usage of set_config.geometry with gettersDerek Foreman
I'm going to deal with some ugly geometry problems in the getter func shortly. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7431
2018-12-14ecore_wl2: remove uniconify path from ecore_wl2_window_iconified_setDerek Foreman
Wayland shells have no way to unset iconified state. What this code did was corrupt current window state in potentially fatal ways. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Chris Michael <cp.michael@samsung.com> Differential Revision: https://phab.enlightenment.org/D7430
2018-12-14evas_render: Ensure proper rendering when objects are on planesDerek Foreman
If only objects on planes change, we don't see any damage for the main buffer, so a page flip never occurs and the plane doesn't update. For now forcing a tiny damage area is the easy way to work around this. Also force a pixels get callback for enlightenment's surface frame callback tracking. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7196
2018-12-14evas_render: Render missing bits when plane state changesDerek Foreman
When we move an object into or off of a plane, we need the scene to be rendered as if the object wasn't there. This adds apprpopriate damage to make that happen. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7195
2018-12-14evas_render: Move plane setup codeDerek Foreman
Put this at the start of render so we can remove stuff on planes from the scene graph entirely. This stops us from drawing the entire object underneat the plane. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7194
2018-12-14evas_render: Refactor plane codeDerek Foreman
It's just tidier this way. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7193
2018-12-14evas_object: Add function to test if hardware plane status changedDerek Foreman
This is used to check if an object has been put on or removed from a hardware plane between calls. Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7192
2018-12-14evas_object: Add function to test if an object is on a hardware planeDerek Foreman
Signed-off-by: Derek Foreman <derek.foreman.samsung@gmail.com> Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7190
2018-12-14meson: fix build on power/ppc targets with altivec enabledDaniel Kolesa
2018-12-08meson - systemd - fix check to systemd209+ checks that were not doneCarsten Haitzler (Rasterman)
autofoo did these and set defines code relied on. meson did not. this fixes that and makes meson do the same checks with the same defines.
2018-12-08evas cpu - just rely on eina cpu entirely to avboid feature dupsCarsten Haitzler (Rasterman)
so evas cpu used to be the thing then eina cpu came and did the same and evas cpu optionalyl could lsit on top... just move it all to eina cpu so one central place does this and evas_cpu is purely a compat wrapper.
2018-12-07elementery: fix mouse selection of items in efl.ui.list_viewLeonardo Loch
2018-12-07build: draw is using functions from rg_etcMarcel Hollerbach
this means when you use draw you should automatically drag in rg_etc. This fixes a build problem reported on irc.
2018-12-07ecore_con: no need for a long timeout when we know the test is supposed to ↵Cedric BAIL
timeout. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7422
2018-12-07eo: fix efl_future_then example.Cedric BAIL
Summary: Depends on D7393 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7423
2018-12-07ecore: add a full test for efl_future_then and efl_future_chain.Cedric BAIL
Summary: Depends on D7392 Reviewers: bu5hm4n, segfaultxavi Reviewed By: bu5hm4n, segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7393
2018-12-07meson: add inital support for windows compilationMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D7416
2018-12-07meson: enable cross compilingMarcel Hollerbach
the inital work for this commit was coming from `Mark van der Putten`. In order to not have more options for this, the idea came up to use mesons autodetection using PATH. If a cross file is specified, the binaries are used from the system, rather than from the intree. (Which means --cross-file has the dependency of efl on the buildsystem) Differential Revision: https://phab.enlightenment.org/D7415
2018-12-07ecore: fix typo in comments.Cedric BAIL
Summary: Depends on D7391 Reviewers: bu5hm4n, segfaultxavi, kimcinoo Reviewed By: kimcinoo Subscribers: kimcinoo, #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7392