path: root/src (follow)
AgeCommit message (Collapse)Author
2016-12-19efl_debug_common: remove stale code/macros.Gustavo Sverzut Barbieri
These are not needed anymore.
2016-12-19evas/ply: Fix some memleaksJean-Philippe Andre
I have a strong feeling that this parser is not very robust... Closes T5001
2016-12-17elm_code: Don't assume control characters make a changeAndy Williams
2016-12-16Eio_monitor: support native monitor for Win32 (T4978)Ivan Furs
Test Plan: eio_monitor_backend_add() and eio_monitor_fallback_add use different structures **eio_monitor_backend_add() ** struct _Eio_Monitor_Backend { Eio_Monitor *parent; Eio_Monitor_Win32_Watcher *watcher_file; Eio_Monitor_Win32_Watcher *watcher_dir; Eio_Monitor_Win32_Watcher *watcher_parent; }; **eio_monitor_fallback_add()** struct _Eio_Monitor_Backend { Eio_Monitor *parent; Eina_Stat self; Eina_Hash *children; Ecore_Timer *timer; Ecore_Idler *idler; Ecore_Thread *work; int version; Eina_Bool delete_me : 1; Eina_Bool initialised : 1; Eina_Bool destroyed : 1; }; therefore, an error occurs **void eio_monitor_backend_del**(Eio_Monitor *monitor) { if (!_eio_monitor_win32_native) <------_eio_monitor_win32_native is EINA_TRUE { eio_monitor_fallback_del(monitor); <------ignored------ return; <------ignored------ } _eio_monitor_win32_watcher_free(monitor->backend->watcher_parent); _eio_monitor_win32_watcher_free(monitor->backend->watcher_dir); _eio_monitor_win32_watcher_free(monitor->backend->watcher_file); free(monitor->backend); monitor->backend = NULL; } Reviewers: raster, vtorri, an.kroitor, jpeg, reutskiy.v.v, FurryMyad, cedric Reviewed By: cedric Subscribers: vtorri, artem.popov, cedric, jpeg Tags: #windows, #efl Differential Revision: Signed-off-by: Cedric BAIL <>
2016-12-16scrollable_interface: fixed logic for calcualting position to scroll.Hosang Kim
Summary: When width of parameter(w) is bigger than or equal to scroller's width(pw), scrollable object must be scrolled to x position. Test Plan: elementary_test -> focus 4 Reviewers: woohyun, SanghyeonLee, Hermet, cedric, jpeg, raster Subscribers: cedric, jpeg Differential Revision:
2016-12-16elm_widget: add logic for updating geometry after movingHosang Kim
Summary: scrollable object. In multiple scrollable case, the target object should be updated. Because the first object is scrolled. So the parent of the first object should be scrolled. Reviewers: woohyun, Hermet, jpeg, cedric, raster Differential Revision: Signed-off-by: Cedric BAIL <>
2016-12-16edje: handle case when strdup would be NULL.Cedric BAIL
alternate solution to D4488. Would be better to have a buffer and recycle it.
2016-12-16elm.hoversel: fix item size calculationJee-Yong Um
Summary: The way to find the position of hoversel expansion is based on geometry currently, but it causes errors when theme is not made as expected. This patch makes hoversel use string to find the right position and calculate item width correctly when items are shorter than hoversel itself. Test Plan: elementary_test -to hoversel (error case shows in tizen mobile device when screen is rotated) Reviewers: cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
2016-12-16eio: check error case for eina_value_get.Cedric BAIL
CID 1356609
2016-12-16ecore: add test for efl_promise_connect.Cedric BAIL
2016-12-16ecore: add helper to automatically connect a future result to a promise.Cedric BAIL
This helper is to be used likely with next and an external request.
2016-12-16ecore: add tests for new promise delayed behavior.Cedric BAIL
2016-12-16ecore: fix test to generate one main loop iteration to see promise fulfilled.Cedric BAIL
2016-12-16ecore: delay promise fulfillment to next loop iteration.Cedric BAIL
2016-12-16ecore: remove useless information from header.Cedric BAIL
2016-12-16ecore: refactor promise propagation code.Cedric BAIL
2016-12-16evas engines: Stop using arrays of 1 member for egl context and surfaceDerek Foreman
There's actually an array of 2 in gl_x11, but it appears we only use the first 1, except in an #if 0 block. I gather this is legacy for some reason - it sure doesn't seem to make any sense now, so I'm chopping off all the extra array indexes. Note: I've not changed gl_sdl - it looks like it doesn't use the context or surface at all and they could just be removed, but I don't build that one here and don't want to touch it.
2016-12-16edje_pick: copy images from image setsVyacheslav Reutskiy
2016-12-16edje_pick: use separate Eina_List vars for different EINA_LIST_FOREACHVyacheslav Reutskiy
2016-12-16elm: Add a test case for evas maskingJean-Philippe Andre
This tests masks of masks in a genlist, with maybe a map. Nothing crazy.
2016-12-16elm_layout: Implement Efl.TextJean-Philippe Andre
This implements support for efl_text_set() for the default part (NULL). This also adds support for efl_text_set(efl_part()) for layouts. This should cover a LOT of widgets :) The next step is to remove Elm.Layout.text but it's used in too many places at the moment. @herdsman!!
2016-12-16evas: Fix issues with masking (make check)Jean-Philippe Andre
After a previous patch, mask_subrender worked differently, and didn't reset the object's cache clip color. This made evas_suite fail. But also it seems some other issues creeped in and it was necessary to fix the test case by adding data_updates (mistake!) and removing an invalid draw call.
2016-12-16elm - add test for efl ui win stacking apiCarsten Haitzler (Rasterman)
2016-12-16efl_ui_win - use ecore_x window stack api to set up property in x11Carsten Haitzler (Rasterman)
2016-12-16efl_ui_win - teamwork really has issues and i think needs deprecationCarsten Haitzler (Rasterman)
teamwork api in elm win (efl_ui_win) has a few issues: 1. it directly ddigs into ecore_wl2 and uses internal headers to use zwp_* api's directly... which effectively tied elementary directly to libwayland and thats not a good thing - thats why ecore_wl2 exists - to act as a layer in between 2. the only thing that supports it is e and only wiht a module and there is no fallback code in elm to work outside this environment, so it's kind of broken by design and will not actually reliably work 3. from a stability and security point of view, and api and protocol that allow a client to ask your wm/compositor to open ANY url - go make a network request possibly to a hostile url/site is bad. needing to handle so so so so many protocols, file types etc. etc. is going to lead to issues that SHOULD at least be isolated in the app, but now it spreads into your wm/compositor too. :( 4. there is ZERO benefit to asking the wm to do this. the app is using efl already. it already has all the same abilities with the same libraries to download/display etc. so why doesnt the app do it itself? 5. doesnt work in windows, osx, framebuffer (fbcon or drm)... only in x11 and wayland. (and then only with e + module) 6. there is no way to detect if it's going to work and write your own fallback (which shouldnt be needed/done anyway). nice work and enthusiasm on making teamwork but it just isn't the right thing - not in its current form and not by design (security reasons) :( @deprecate
2016-12-16ecore-x - add missing atom fetches!Carsten Haitzler (Rasterman)
2016-12-16ecore-x - add e stack type atom and api's to set and get itCarsten Haitzler (Rasterman)
2016-12-16efl_ui_win - add window "view stack" api's and abilityCarsten Haitzler (Rasterman)
this adds the a stack of windows (view stack, something like naviframe but using multiple windows instead) to elementary allowing windows to be put into a stack and treated as one "application" when ijn such a stack with the newest window on top being the active/focused one (or should be). this allows for special show/hide animations as well as possibly special sizing policies and placement policies. @feature
2016-12-16evas: Apply clip when rendering a masked maskJean-Philippe Andre
This fixes a rare crash in the SW engine when a masked mask is to be rerendered. The clip adds more safety as the lower render draw functions assume it is properly set.
2016-12-16evas: Change int into a single bitJean-Philippe Andre
clean_layer is a bool
2016-12-16evas: Fix masks of masksJean-Philippe Andre
Don't ask. This is a world of magic.
2016-12-16evas: "fix" masks of masks inside a proxyJean-Philippe Andre
Here's the situation: 1. A container (genlist) has a mask, M0. 2. An item I0 inside this container uses a proxy P0 as render object rather than the item directly (eg. for zooming in/out). 3. An element E0 inside this item has another mask, M1. Theory: 1. The proxy surface for P0 is rendered, and M1 is applied to the element E0. 2. The proxy P0 is rendered on the canvas, with M0 applied. Practice: 1. The element E0 is prepared for rendering, this triggers a mask subrender for M1. 2. M1 is rendered with M0 as a prev mask, then kept in cache and not redrawn (no geometry change, etc...) 3. When P0's surface is rendered, M1's surface is the result of M1+M0. 4. When P0 is drawn on screen, we can see the effect of M1+M0 as P0's geometry might be different from the item's I0. Solution: Discard prev masks and force a mask redraw when we're inside a proxy. Ideally we should detect if the prev mask belongs to the insides of the proxy or not. Problems: _mask_apply_inside_proxy() is definitely not correct, but it's not easy to test it. Anyway I believe that in order to properly implement all of this, we need to rethink evas_render and the draw context. Non-primary render surfaces (maps, proxies, masks, filters, ...) should be rendered with a clean context and clipping, masking, etc should be computed appropriately.
2016-12-16evas: Remove flag use_mapped_ctx and add do_asyncJean-Philippe Andre
Always assume use_mapped_ctx as true, the caller of evas_render_mapped must ensure that the context is suitable (so either clean or contains the appropriate clip info). Also pass do_async to mask_subrender. For now it will always be reset to false as the SW engine requires sync render to convert from RGBA to Alpha (not great). The upcoming GL async engine should be able to render masks asynchronously without any problem.
2016-12-16evas: Call object render in mask_subrenderJean-Philippe Andre
This can avoid some invalid render from evas_render_mapped in a rare case. I'm not sure about the conditions but I know for sure that at the moment mask_subrender should be only rendering plain old images into a dedicated surface. So no need for evas_render_mapped here.
2016-12-16evas: Remove context from the evas public dataJean-Philippe Andre
It was never used, except in dubious situations (most likely a typo). A clean context is now used in the top-most call to evas_render_updates_internal_loop.
2016-12-16evas: Remove context from some engine functionJean-Philippe Andre
This is for canvas_alpha_get. context is never used.
2016-12-16evas: Remove context from polygon internal functionsJean-Philippe Andre
It's not used
2016-12-16evas: Use ENFN, ENDT in evas_renderJean-Philippe Andre
This makes code shorter and easier to read (imo). Also introduce ENCTX for the engine context. It's used in a couple places and I believe it's just wrong - but works because the engine context and the current context are the same.
2016-12-16evas: Avoid calling efl_isa in proxy_subrenderJean-Philippe Andre
It's not necessary.
2016-12-16evas: Add source_region property to proxy objectsJean-Philippe Andre
This will allow partially rendering a proxy in a smaller image, limited to the specified region. At the moment, this will allow apps to create proxies of very large objects and let them deal with the geometry & clipping. This is not directly solving the issues with adding a filter to textblock or the infinite page scrollers. @feature
2016-12-15emile: refactor color convertion/copy logic in jpeg data decoder.Cedric BAIL
2016-12-15eet: add test for eet_alias_get.Cedric BAIL
2016-12-15eet: add test for eet_memopen_read.Cedric BAIL
2016-12-15eina: add a test for eina_stringshare_refplace.Cedric BAIL
2016-12-15eina: add test for skyline algorithm.Cedric BAIL
2016-12-15eio: fix attr tests to process an array of string.Cedric BAIL
2016-12-15eina: pass the right size of the string to avoid unbounded access warning.Cedric BAIL
2016-12-15evas: silence warning of clobbered variable in the png saver.Cedric BAIL
2016-12-15evas: fix use of signed and unsigned type in conditional expression warning.Cedric BAIL
2016-12-15evas: fix potential use of unitialized variable.Cedric BAIL