summaryrefslogtreecommitdiff
path: root/src/lib (follow)
AgeCommit message (Collapse)Author
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-17evas vg: remove redundant function code.Hermet Park
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_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-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-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-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-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-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-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-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-07meson: add inital support for windows compilationMarcel Hollerbach
Differential Revision: https://phab.enlightenment.org/D7416
2018-12-07ecore: use efl_future_then to simplify the code logic and reduce potential bugs.Cedric BAIL
Summary: Depends on D7380 Reviewers: segfaultxavi, felipealmeida, SanghyeonLee, vitor.sousa, bu5hm4n Reviewed By: bu5hm4n Subscribers: barbieri, #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7381
2018-12-07ecore: remove unecessary intermediate variable.Cedric BAIL
Summary: Depends on D7379 Reviewers: felipealmeida, segfaultxavi, vitor.sousa, SanghyeonLee, bu5hm4n Reviewed By: segfaultxavi, vitor.sousa Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7380
2018-12-07eo: make efl_future_then have a data pointer in addition of the object pointer.Cedric BAIL
Summary: In the case when you have multiple future in flight related to one object, you couldn't use the previous version of efl_future_then. Now all function calls take a void* pointer that allow multiple future to have their private data request data accessible in all the callback. This should not break released API as Eo.h is not released yet and so was efl_future_Eina_FutureXXX_then. Depends on D7332 Reviewers: felipealmeida, segfaultxavi, vitor.sousa, SanghyeonLee, bu5hm4n Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7379
2018-12-07ector software: Be careful at alloca() usage.Hermet Park
allocate one spare span memory then reuse it.
2018-12-07evas ector: add software implmentation for masking feature.Hermet Park
This implementation uses Ector_Buffer to generate mask image from vg container, and pass it to Ector engine. Ector renderer could blend this image as a mask. Yet only vg container works as a mask, we could extend shape to support masking later. Still vector gl drawing is not completed, We use software ector buffer to draw on it. This is on progessing.
2018-12-07elementary: make Efl.Ui.Factory.create asynchronous.Cedric BAIL
Reviewers: felipealmeida, SanghyeonLee, vitor.sousa, bu5hm4n, segfaultxavi Reviewed By: felipealmeida, vitor.sousa, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Maniphest Tasks: T7472 Differential Revision: https://phab.enlightenment.org/D7332
2018-12-07evas vg: revise basic vg cache logic.Hermet Park
There was a big trouble that vg cache didn't free cached data properly. Plus, there was a unnecessary copy of vg tree data. This revised version is a improvement of our evas vg cache in stable and optmization.
2018-12-07evas vg: code refactoring.Hermet Park
capsulate vector file data from efl canvas vg. hide vector file data structure, capsulate it, cut off the dependency by vector object. yet it has evas_cache_entry interface.
2018-12-07evas vg: code refactoring.Hermet Park
keep internal variable and structre names consisteny. no logical changes.
2018-12-07ector: code refactoring.Hermet Park
make code clean and neat. no logical changes.
2018-12-07evas vg: code refactoring.Hermet Park
make code clean and neat, no logic changes. use macro to reduce lines. rename ambiguous internal variables. remove unused variables.
2018-12-07evas vg: remove unused internal functionHermet Park
Vector can't return image data yet. This function is useless.
2018-12-06evas - cpu - fix sve check when neon is disabled...devs/devilhorns/elputCarsten Haitzler (Rasterman)
2018-12-06efl: fix misspelt focused in API and documents.Alastair Poole
Fix spelling in elm_code API and other documents too where this occurs. Differential Revision: https://phab.enlightenment.org/D7299
2018-12-06canvas: disable an eolian-style api referenceDaniel Kolesa
This references a file that is not being installed, so the eo file will fail to parse when used as a system-wide .eo file. Introduced in 05682eed7d572874928424af82fba819790c4228. Fixes T7495.
2018-12-06ecore_con: handle timeout of the attempt to connect.Cedric BAIL
This has been the fix that prevent random ecore_con DNS tests to fail for me. This should also in case of failure make the timeout of the ecore_con itself be honored which wasn't anymore. @fix Differential Revision: https://phab.enlightenment.org/D7402
2018-12-06ecore_con: wait for thread to finish at the same time as canceled to avoid ↵Cedric BAIL
race condition. Differential Revision: https://phab.enlightenment.org/D7401
2018-12-06ecore_con: enforce connection state to not let a hanging connection continue.Cedric BAIL
It is expected that when the connection state is forcefully set, that all hanging connection should be stopped instead of them continuing and later resetting the state to having a connection. Differential Revision: https://phab.enlightenment.org/D7397
2018-12-06ecore_con: refactor TCP Dialer to always wait for thread to finish.Cedric BAIL
This is a better way to avoid race execution by the async end callback that could happen at some later random point in time. The thread are cancelled right away, so event if their is a "wait" time set, it should never actually matter and be always instantaneous. Differential Revision: https://phab.enlightenment.org/D7396
2018-12-06doc: remove since_tizen.Hermet Park
This tag must be valid for only tizen world.
2018-12-06efl_ui_tab_bar: fix error about double freeBowon Ryu
Summary: tab is the parent of the icon. so deleting the tab causes deleting the icon automatically. in this case, it can cause double-freed problem once icon has deleted. Test Plan: elementary_test -to efl.ui.tab_pager Reviewers: cedric, Jaehyun_Cho, jpeg Reviewed By: Jaehyun_Cho Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7407