summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Efl.Ui.Tree_View: added new MVVM asynchronous widgetdevs/larrylira/viewtreeLarry Lira2018-12-1924-13/+3211
| | | | | | | | | | | | | | | | | | | 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
* build: make edje files dependencies of the themeMarcel Hollerbach2018-12-181-0/+2
| | | | this makes theme work way more easier
* silence most left over compiler warningsJérémy Zurcher2018-12-1811-20/+18
| | | | | | | | | | | | | | 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
* evas vg: fix indentation.Hermet Park2018-12-181-21/+21
|
* efl_canvas_surface: change mixin to abstractJaehyun Cho2018-12-188-39/+43
| | | | | | | | | | | | | | | | 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
* build: make bindings cross compileableMarcel Hollerbach2018-12-172-2/+13
| | | | Differential Revision: https://phab.enlightenment.org/D7470
* build: remove unused meson fileMarcel Hollerbach2018-12-171-6/+0
| | | | | | this was added by accident Differential Revision: https://phab.enlightenment.org/D7469
* meson: Enable dev flags for cppLauro Moura2018-12-172-0/+5
| | | | | | | | 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
* evas vg: remove redundant function code.Hermet Park2018-12-171-18/+0
|
* eolian_mono: use System.Type explicitlyJaehyun Cho2018-12-171-2/+2
| | | | | | | 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.
* elm_gengrid: improve genlist behaviourMarcel Hollerbach2018-12-172-0/+44
| | | | | | | | | | | | | 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
* elm_widget_item_static_focus: fix ERR printsMarcel Hollerbach2018-12-171-3/+9
| | | | | | | | | | | 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
* elm_genlist: behaviour fixes for genlistMarcel Hollerbach2018-12-172-0/+44
| | | | | | | | | | 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
* elm_gen****: fix focus restoring on window focus changesMarcel Hollerbach2018-12-174-3/+28
| | | | | | | | | 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
* efl_ui_focus_manager: performance optimize order settingMarcel Hollerbach2018-12-172-14/+19
| | | | | | | | | | | | | | 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
* elm-test: add a test for checking the focus_next_object_setYeongjong Lee2018-12-171-0/+33
| | | | | | | | | | 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
* elm_focus: implement legacy targets for logical widgetsMarcel Hollerbach2018-12-171-7/+54
| | | | | | | | | | | 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
* elm_focus: implement elm_object_focus_next_item_set / getMarcel Hollerbach2018-12-173-4/+81
| | | | | | | | | | | | | | 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
* elm_config: fix valgrind warningsMarcel Hollerbach2018-12-171-1/+1
| | | | | | | buf is only initializied, if on_flush is true. Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D7449
* build: add warnings and compiler flags to mesonMarcel Hollerbach2018-12-171-0/+16
| | | | | | | 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
* evas gl - make GLintptr etc. also ndefed for GL_VERSION_1_5 fix typedefCarsten Haitzler (Rasterman)2018-12-151-1/+3
| | | | | | | 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
* efl-mono: Fix call of virtual methods after new APILauro Moura2018-12-149-19/+124
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* eolian-cxx: Add parent/extensions information to klass_defLauro Moura2018-12-147-5/+42
| | | | | | | | | | | | | | | | 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
* eolian_mono: Add support for C# style propertiesLauro Moura2018-12-148-7/+199
| | | | | | | | | | | | | | | | 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
* efl_ui_win: Don't allow the frame object to change size before first drawDerek Foreman2018-12-141-4/+4
| | | | | | | | | | | | | | | | | | 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
* evas_render: Ignore objects on planes for renderingDerek Foreman2018-12-141-0/+1
| | | | | | | | | 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
* ecore_wl2: Fix anchor for xdg pop-upsDerek Foreman2018-12-142-6/+6
| | | | | | | | | 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
* ee_wayland: Use object geometry instead of window geometryDerek Foreman2018-12-141-1/+1
| | | | | | | | | 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
* ecore_evas: Validate shadow geometryDerek Foreman2018-12-141-0/+4
| | | | | | | | | | 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
* gl_drm: use dlsym looked up symbol for extension checkDerek Foreman2018-12-141-1/+1
| | | | | | | | | 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
* ee_wayland: Replace set_config.geometry direct use with gettersDerek Foreman2018-12-141-12/+16
| | | | | | | | | 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
* ecore_wl2: Replace direct usage of set_config.geometry with gettersDerek Foreman2018-12-142-26/+20
| | | | | | | | | 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
* ecore_wl2: remove uniconify path from ecore_wl2_window_iconified_setDerek Foreman2018-12-141-29/+0
| | | | | | | | | 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
* evas_render: Ensure proper rendering when objects are on planesDerek Foreman2018-12-141-0/+12
| | | | | | | | | | | | | 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
* evas_render: Render missing bits when plane state changesDerek Foreman2018-12-141-0/+22
| | | | | | | | | | 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
* evas_render: Move plane setup codeDerek Foreman2018-12-141-1/+2
| | | | | | | | | | 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
* evas_render: Refactor plane codeDerek Foreman2018-12-141-39/+47
| | | | | | | | 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
* evas_object: Add function to test if hardware plane status changedDerek Foreman2018-12-144-0/+27
| | | | | | | | | 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
* evas_object: Add function to test if an object is on a hardware planeDerek Foreman2018-12-143-1/+20
| | | | | | 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
* meson: fix build on power/ppc targets with altivec enabledDaniel Kolesa2018-12-142-1/+3
|
* meson - systemd - fix check to systemd209+ checks that were not doneCarsten Haitzler (Rasterman)2018-12-081-0/+3
| | | | | 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.
* evas cpu - just rely on eina cpu entirely to avboid feature dupsCarsten Haitzler (Rasterman)2018-12-082-241/+19
| | | | | | | 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.
* elementery: fix mouse selection of items in efl.ui.list_viewLeonardo Loch2018-12-071-1/+11
|
* build: draw is using functions from rg_etcMarcel Hollerbach2018-12-071-1/+1
| | | | | | this means when you use draw you should automatically drag in rg_etc. This fixes a build problem reported on irc.
* ecore_con: no need for a long timeout when we know the test is supposed to ↵Cedric BAIL2018-12-071-1/+1
| | | | | | | timeout. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7422
* eo: fix efl_future_then example.Cedric BAIL2018-12-071-1/+1
| | | | | | | | | | | | | | | | Summary: Depends on D7393 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7423
* ecore: add a full test for efl_future_then and efl_future_chain.Cedric BAIL2018-12-071-0/+100
| | | | | | | | | | | | | | | | 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
* meson: add inital support for windows compilationMarcel Hollerbach2018-12-0713-64/+172
| | | | Differential Revision: https://phab.enlightenment.org/D7416
* meson: enable cross compilingMarcel Hollerbach2018-12-075-7/+35
| | | | | | | | | | | | 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
* ecore: fix typo in comments.Cedric BAIL2018-12-071-1/+1
| | | | | | | | | | | | | | | | 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