summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-08-11efl-wl: handle case where eglBindWaylandDisplay failsMike Blumenkrantz
@fix
2017-08-11efl-wl: always dismiss popups on hideMike Blumenkrantz
@fix
2017-08-11elm_widget: do not reparent subobjs to top widget for non-elm objectsMike Blumenkrantz
this breaks handling of non-elm objects and makes it impossible to safely manage object lifetimes ref D3957 ref 62cf70034de38b17f2025e08f81b5758b3d6d6e3 @fix
2017-08-11efl-wl: use correct accessor method for keyboard resource hashMike Blumenkrantz
@fix
2017-08-11wayland: set min/max size hints to surface before showMike Blumenkrantz
with deferred surface creation the first canvas change of hints may not be able to trigger protocol methods for size hints, so ensure that hints are set
2017-08-11efl-wl: add functionality for extracting surfaces for external useMike Blumenkrantz
@feature
2017-08-11efl-wl: add EFL_WL_DEBUG env variable for enabling wayland debugMike Blumenkrantz
@feature
2017-08-11wayland: remove xdg5 supportMike Blumenkrantz
this has not been used or tested since last year and there are no major compositors which lack xdg6 support
2017-08-11wayland: fix xdg-shell popup windowsMike Blumenkrantz
@fix
2017-08-11ecore_evas_drm: Tick from the animator registration callbackDerek Foreman
If we're not ticking already when a new animator is started then we have to wait for a vblank to get a tick. That's not great. If we can, use the time of the last vblank to generate an immediate tick to avoid this latency.
2017-08-11ecore_evas_drm: Let ecore_drm2 track pending page flipsDerek Foreman
Since the engines can call the flip functions, we need to protect the ticker from missing those flips. Thus, we let ecore_drm2, which obviously sees all flips, track them.
2017-08-11ecore_drm2: Add query for pending pageflipDerek Foreman
We've been tracking this in ecore_evas, but ecore_evas isn't the only caller, and it doesn't know about flips initiated by the evas engines.
2017-08-11makefile_evas: fix includes when openjpeg 1.5 and 2.0 are installed.Al Poole
Reviewers: vtorri Subscribers: ManMower, cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5084
2017-08-11evas: we should be able to access this data during an object being destroyed.Cedric Bail
So, this is maybe not the best fix. The question is should we be able to get efl_data_scope_safe_get return the object private data, when we are currently executing the object EFL_EVENT_DEL callbacks. Right now we don't and this lead to bug where we wouldn't have been able to destroy a callback and get that callback triggered later on destroyed data (I had a crash in terminology). I have switched back to the not _safe_ version which doesn't enforce this, but that might not be the only place that need a fix.
2017-08-11evas tests - add Jpeg2000 testsVincent Torri
add tests for loading jp2k files correctly and the images
2017-08-11efl_ui_focus_manager_calc: fix the class check of the redirectMarcel Hollerbach
this came up with a huge load of errors, i havent noticed them last night. Sorry.
2017-08-11Efl.Ui.Panes: rename min_split_ratio to split_ratio_minAmitesh Singh
2017-08-11Efl.Ui.Panes: rename allow_user_size_hints to hint_min_allowAmitesh Singh
thanks to raster for suggestion.
2017-08-11common3d: correct converting number to floatThiep Ha
2017-08-11elm_scroller: focus_direction should not be called when scroller focusable ↵Jeonghyun Yun
and no focusable child Summary: when scroller can have focus and scroller's child can't have focus, there is a problem that scroller is always selected to next focus object. In this case, it should not enter into _elm_scroller_elm_widget_focus_direction() Reviewers: woohyun Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5085
2017-08-11Cast to double before division during region/coord calculation.Sungtaek Hong
Summary: int var devided by int is cast to double after devision. This might cause wrong calculation result. Reviewers: cedric, jpeg, Jaehyun_Cho Reviewed By: Jaehyun_Cho Differential Revision: https://phab.enlightenment.org/D5079
2017-08-11win: Prevent crash inside ecore evas callbacksJean-Philippe Andre
After any complex call on the window, a foreign evas/efl callback may be triggered that could delete the window object. This leads to crashes in queued jobs or even immediately after said callback (right now EO prevents immediate memory free using eina_freeq or eina_trash so the effects aren't immediate). Funnily enough, this was a known issue according to some comments, but no one bothered fixing it... In this particular instance, a focus_out job was crashing while trying to access now-invalid sd data. I believe some uses of ELM_WIN_DATA_GET() may still be slightly unsafe but most look like they should be the result of an EO call on the object (eg. a call to efl_event_callback_call), which ensures the object is alive. Fixes T5869
2017-08-11eo: Check refs in efl_data_scope_safe_getJean-Philippe Andre
This makes sure the object is actually still alive and kicking before returning any data. Otherwise the "safe" word is a bit of an abuse... Ref T5869 @fix
2017-08-11Efl.Ui.Panes: don't use edje restrict cal to calculate min sizeAmitesh Singh
2017-08-10efl_ui_focus_manager: make focus a propertyMarcel Hollerbach
2017-08-10efl_ui_focus_manager: split this of tinto a class and a interfaceMarcel Hollerbach
it turns out to be very handy to have a interface for the moving and border elements, that is unconnected to the way of how widgets are registering themself. This for example enables us to get a simple focus manager that just redirects the call into a internal 2 dimensional data struct
2017-08-10eolian-cxx: Add workaround for clang removing const from parametersFelipe Magno de Almeida
2017-08-10efl_wl: Update to latest dmabuf protocol versionDerek Foreman
Weston's dmabuf code continues to be modular enough that we can pull it in with little change. This updates us to version 3 of the protocol. Currently only contains stubs for format queries.
2017-08-10eolian cxx: fix the remaining type errorsDaniel Kolesa
2017-08-10eolian cxx: fix build after eolian type api changeDaniel Kolesa
2017-08-10ecore, ecore_con: fix const on Eina.SliceDaniel Kolesa
Fixes TODOs from dd5cdda64b5fd3966718af62d417117942e2f323 after fixing T5024.
2017-08-10eolian: fix testsDaniel Kolesa
2017-08-10eolian: implement proper return type serializationDaniel Kolesa
This accounts for const so that you can't generate functions that return const values, as that makes no sense. @fix T5024
2017-08-10elua: update eolian bindings with c type serialization changeDaniel Kolesa
2017-08-10eolian: change C type serialization API to account for returnsDaniel Kolesa
This will allow proper handling of const.
2017-08-10elm test: rename efl.ui.panes test caseAmitesh Singh
2017-08-10Efl.Ui.Image: use internal func to detect legacy usageAmitesh Singh
2017-08-10Efl.Ui.Panes: use internal func to detect legacy usageAmitesh Singh
Ref T5359
2017-08-10Efl.Ui.Panes: set dir to EFL_UI_DIR_VERTICALAmitesh Singh
2017-08-10Efl.Ui.Panes: switch to Efl.Ui.Dir (EO)Amitesh Singh
Ref T5870
2017-08-10Efl.Ui.Panes: rename left/right_size_set to split_ratioAmitesh Singh
This name makes more sense and one api does the job of two. We never needed two apis at first place though. Mark left/right_size_set as legacy apis too. This patch also implements min_split_ratio on parts. @feature refer T5359
2017-08-10Efl.Ui.Panes: implement allow_user_size_hints on partsAmitesh Singh
This allows user to set size hints to be respected and request panes to ignore combined min size. If this flag is set, the minimum size set by efl_gfx_size_hint_min_set() is respected forcefully. @feature refer T5359
2017-08-10Efl.Ui.Panes: allow panes to respect the min size of its contentAmitesh Singh
refer T5359
2017-08-10ctxpopup: Remove use of Orientation API (EO)Jean-Philippe Andre
ctxpopup belongs to legacy, some work is ongoing to provide a cleaner EO based API for popups, etc... See T5326 Revert "ctxpopup: implement Efl.Orientation interface functions" This reverts commit 736fb9d4980a7dee83ca0721d8b9b58c6c12a39d. Ref T5870
2017-08-10elm_ctxpopup: Implemented elm_widget_item_part_content_unset for ↵JEONGHYUN YUN
elm_ctxpopup_item Summary: ctxpopup item have elm_list item internally. item_part_content_unset need to pass on content part to elm_list item. Test Plan: 1. launch elementary_test - ctxpopup 2. click Ctxpopup with part text & content function 3. press "Icon Set" and press "Icon Unset" Reviewers: jpeg, woohyun, herb, Blackmole Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5018
2017-08-10elm_ctxpopup: Add APIs to insert before/after item to a ctxpopup object.JEONGHYUN YUN
Summary: There were only 2 APIs (item_append, item_prepend) for ctxpopup item add. Added more item add APIs (item_insert_before and item_insert_after) for convenience. Test Plan: 1. launch elementary_test - ctxpopup 2. click Ctxpopup with callback function sample 3. check whether there are 3 items on ctxpopup Reviewers: woohyun, Jaehyun, jpeg, cedric Reviewed By: jpeg Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5004
2017-08-10elm_ctxpopup: Implemented elm_widget_item_del_pre for elm_ctxpopup_itemarosis
Summary: ctxpopup item have elm_list item internally. But when elm_ctxpopup item was deleted, elm_list item was not deleted. elm_list item in elm_ctxpopup item should be deleted in del_pre when elm_ctxpopup item is deleted by elm_wdg_item_del() Test Plan: 1. launch elementary_test - ctxpopup 2. click Ctxpopup with label only 3. "Never Show" item should not shown in ctxpopup Reviewers: jpeg, cedric, woohyun Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D5044
2017-08-10toolbar: Switch to Efl.Ui.Dir (EO)Jean-Philippe Andre
Ref T5870
2017-08-10separator: Remove orientation API use (EO)Jean-Philippe Andre
Revert "Separtor: use orientation APIs" This reverts commit f043c3be617f7257001b9fc779b64cebf4370781. Separator is not part of EO API so no need to use Orientation or Direction API here. Ref T5870
2017-08-10index: Switch to Efl.Ui.Dir (EO)Jean-Philippe Andre
Ref T5870