summaryrefslogtreecommitdiff
path: root/src (follow)
AgeCommit message (Collapse)Author
2017-11-10Canvas text: fix applying effectsDaniel Hirt
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-11-10Canvas text: favor font name parsing over set propertiesDaniel Hirt
Since font names can also specify styles like weight, width etc, we should parse the font name AFTER setting the respective properties to the font description, so it can override some if required. This allows, for example, the following operation: efl_text_font_weight_set(obj, EFL_TEXT_FONT_WEIGHT_NORMAL); efl_text_font_set(obj, "Sans:Bold"); Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-11-10wayland_shm: Respect the alphaDerek Foreman
The dmabuf code has been creating ARGB buffers all the time. The old wl_shm code correctly respected the alpha field, but that was lost in the new version. I'm not sure we ever create non-alpha wayland buffers, since CSD has to have alpha to do shadows, but if there's any way to do it it'll work now.
2017-11-10eolian: more intuitive generation options and mrge impls into .cDaniel Kolesa
Previously the output base name used to include extension, now you don't need to specify an extension and it's determined from the input file name instead. Also, implementation boilerplate used to merge with .eo.c before, which made no sense. Now it's merged with .c instead when it exists or makes a new .c file when it doesn't.
2017-11-10edje_cc: Extract function to build stack ending with wildcarddevs/jpeg/itemsJeeyong Um
2017-11-10cxx: Fix example for GCCJean-Philippe Andre
clang has no problem, but GCC complains with "support not implemented" Discovered with distcheck
2017-11-10evas/vg: use surface cache for efl vg canvasdevs/subhransu/evas_vgsubhransu mohanty
2017-11-10evas/vg: refactor ector engine api and backend .subhransu mohanty
2017-11-10evas/engine: added new engine api for ectorsubhransu mohanty
2017-11-10evas/vg: added support for engine surface cache.subhransu mohanty
2017-11-10evas/common: added a generic cache in evas common.subhransu mohanty
2017-11-10ector: move gradient generation api to draw library for reuse.subhransu mohanty
2017-11-10triangulator:Added stroke_set api to the triangulator_stroker.subhransu mohanty
2017-11-09ecore_evas: improve ecore_evas fallback animator logic for legacy case.Cedric Bail
In Enlightenment with internal window being WL window connected to the X11 backend, you end up with the later requiring the former to tick, even if the former do not have a proper animator source. To work around the problem when there is one backend that is not providing support for animator source, we do need to avoid switching on another window source as they could be linked somehow and we can not know.
2017-11-09ecore_con: add support for EFL_MAIN with ecore_con support.Cedric Bail
2017-11-09ecore: move EFL_MAIN to Efl_Core.hCedric Bail
This make EFL_MAIN available and working with just Ecore. For simplicity it is available with Efl_Core.h. Ideally it should also work with Efl_Net.h alone and finally with an Efl_Ui.h. T6262
2017-11-09elementary: allow efl_general.h to be included multiple time.Cedric Bail
2017-11-09elementary: make elm_init and elm_shutdown optional in EFL_MAIN.Cedric Bail
2017-11-09wayland_shm: Don't require dmabuf support to use wl_shmDerek Foreman
Unintended side effect of my merging of the two code paths. We should still try to use wl_shm if we can't use dmabuf here.
2017-11-09ecore_wl2: Discard too-old dmabuf supportDerek Foreman
We need at least version 2 for create_immed, so don't even bind the global if it's useless to us. This will also stop us from trying to use dmabuf (and getting killed by the compositor) on older compositors that don't support the version we need - we'll just use wl_shm instead when this pointer is NULL.
2017-11-09efl_wl: Add missing @since to new functionsDerek Foreman
These ones were introduced for 1.21.
2017-11-09elput - ref device that is in the event queueCarsten Haitzler (Rasterman)
2017-11-09Efl.Ui.Slider: fix documentationsAmitesh Singh
2017-11-09elm_code_widget: keep track of visibility.Al Poole
Keep track of visibility and ensure the cursor can never be filled when hidden. This should finally end any issue with the cursor and visibility with the new focus system. Didn't see this previously until working on Edi's bottom panes which caused redraw on resize of the widgets. @fix
2017-11-08wayland_shm: Remove old shm codeDerek Foreman
The new shm code should be equally capable - minus one surface resize optimization that probably didn't buy us much performance at the cost of memory.
2017-11-08wayland_shm: Return oldest buffer for new rendersDerek Foreman
This is what the old shm code has been doing, and it's probably better than what the dmabuf code was doing. We currently allocate 3 buffers. The usual case has us swapping between two of those buffers and saving that third buffer for emergencies - if we ever need that third buffer it'll require a full redraw. If we return the oldest available buffer the usual case requires a little more damage but we should never hit the full redraw case, which can cause a frame drop on slow hardware.
2017-11-08wayland_shm: Simplify surface commitsDerek Foreman
We no longer have the concept of a "pre" buffer (allocated but not yet registered as a wayland buffer)
2017-11-08wayland_shm: Remove useless functionDerek Foreman
This serves no purpose anymore.
2017-11-08wayland_shm: Remove dmabuf fallbackDerek Foreman
Now that we're dependent on create_immed there's no possibility of falling back to non dmabuf allocation. The only failing case we really need to handle is failing the first allocation, which is currently broken and I'll be adding an advance test for it shortly.
2017-11-08wayland_shm: Make EVAS_WAYLAND_SHM_DISABLE_DMABUF use new codeDerek Foreman
Use the new wl_shm allocation functions making the old wl_shm code unreachable even with the use of the disable env var.
2017-11-08wayland_shm: Add wl_shm to dmabufDerek Foreman
wl_shm and dmabuf only really need to differ in how they allocate a buffer, but right now we've got them in separate files. This dramatically reduces the complexity of the wl_shm code and shares much more implementation with the dmabuf code. This throws away at least one "optimization" wl_shm used - over-allocating buffers so that window resizing doesn't always require a new buffer allocation. If people feel that window resizing has become too slow now this can be added to the dmabuf code to the benefit of both allocators. Disabling dmabuf by env var still uses the old wl_shm implementation for now, but soon that code will be removed entirely and the env var disable will use this path.
2017-11-08wayland_shm: Track size of bufferDerek Foreman
2017-11-08wayland_shm: move buffer release callback to top of fileDerek Foreman
Code motion with no functional changes.
2017-11-08wayland_shm: make creating a wayland buffer back end specificDerek Foreman
This way we can have shm and dmabuf share the same framework.
2017-11-08wayland_shm: Factor out wl_buffer creation codeDerek Foreman
2017-11-08quicklaunch: add support for quicklaunch domainsMike Blumenkrantz
this allows quicklaunch to be used independently of the DISPLAY value
2017-11-08eolian: enable cyclic imports of eo filesDaniel Kolesa
2017-11-08eolian: simplify dependency parsing and cut down on hash lookupsDaniel Kolesa
2017-11-08elput - re-enable switches (power buttons, lid etc.)Carsten Haitzler (Rasterman)
this is needed for devices that no longer produce aspi events for these. otherwise good luck getting any event on lid open/close or on pressing the power button. this also stops hiding switch events from libinput and now you can get switch events to find lid or tablet mode switching changes. @fix
2017-11-08edje: Oops. Remove edje_global include as well.Jean-Philippe Andre
2017-11-08edje: Hide edje_global from the rest of the worldJean-Philippe Andre
Call provider_find on the loop (or basically any object) with the color/text/size class interface instead, to find it. The main loop is the main holder of those objects. Note: This makes use of provider_find instead of direct access to the variable, in order to self-test the code. In theory release builds will not do this and user directly the variable.
2017-11-08Efl: add class interfaces (color/text/size)Jee-Yong Um
Summary: implement Efl.Gfx.Class interface Reviewers: jpeg, cedric Subscribers: taxi2se, herdsman Differential Revision: https://phab.enlightenment.org/D4403
2017-11-08eo: Rename efl_ref_get to efl_ref_countAndy Williams
2017-11-08unbreak efl so e works again.... after cedricCarsten Haitzler (Rasterman)
we cant go iterating the mainloop before the current point. if someone set up handlers but hasnt configured the things those handles use yet as they dont expect them to be used until the mainloop is started... thenthings break. we cant change this assumption without breaking things.
2017-11-08win: Fix alpha windowsJean-Philippe Andre
Fixes T6334
2017-11-08evas/vg: changed the efl_vg_dup api signature.subhransu mohanty
Reviewers: jpeg, cedric Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5440
2017-11-08tests: Properly define access beta/protectedJean-Philippe Andre
This solves warnings (and likely errors) in the make check test cases for ATSPI, since most of efl_access APIs are now marked as beta.
2017-11-08eina: Fix spelling/punctuation errors in documentation (prefix..promise)Bryce Harrington
Reviewers: cedric, ajwillia.ms Subscribers: jpeg, segfaultxavi Differential Revision: https://phab.enlightenment.org/D5438
2017-11-08focus: Some typos for efl_ui_focus_manager fixedPawel Aksiutowicz
Reviewers: stanluk, lukasz.stanislawski Subscribers: lukasz.stanislawski, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5433
2017-11-08efl - fix build after cedric breakageCarsten Haitzler (Rasterman)
25b6a280c087d39f66e30c9c4d07f86b97c989d6 broke the build... specifically building AGAINST efl.