summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-21evas drm: Implement support for outbuf_idle_flushdevs/devilhorns/rotationChristopher Michael
2019-03-21evas drm: Implement support for damage_region_setChristopher Michael
This patch implements engine support for outbuf_damage_region_set that we can use to mark a framebuffer as being dirty, and to set the dirty regions on that framebuffer. ref T7690 Differential Revision: https://phab.enlightenment.org/D8404
2019-03-21evas drm: Fix software output rotationChristopher Michael
Don't use redraws_clear to handle buffer swapping. Buffer swapping should be done on outbuf_flush. This patch fixes evas drm software output rotation (along with other patches in the series). ref T7690 @fix Differential Revision: https://phab.enlightenment.org/D8403
2019-03-21evas drm: Don't use eng_output_resize or redraws clearChristopher Michael
We don't need to use eng_output_resize in this engine as eng_output_update will take care of that. Also, don't use redraws_clear to handle buffer swapping. This is part one of software rotation fixes. ref T7690 @fix Differential Revision: https://phab.enlightenment.org/D8402
2019-03-21ecore-evas-drm: Enable rotation to work againChristopher Michael
This patch removes the ability to do hardware rotation (it's broken anyway), and refactors the _drm_rotation_do function to just use software (ecore_evas & evas) rotation. ref T7690 Differential Revision: https://phab.enlightenment.org/D8116
2019-03-21ecore-drm2: Factor in output rotation when getting output infoChristopher Michael
Enlightenment uses this function to get information about a given output, so we should be accounting for output rotation when returning width/height values. ref T7690 @fix Differential Revision: https://phab.enlightenment.org/D8115
2019-03-21ecore-drm2: Add API function to return output rotationChristopher Michael
Small patch to add an API function which can be used to return a given output's rotation value ref T7690 @feature Differential Revision: https://phab.enlightenment.org/D8114
2019-03-21ecore-drm2: Set output rotation valueChristopher Michael
When we call ecore_drm2_output_rotation_set we need to store that value in the Output structure so that it can be checked later when needed. ref T7690 Differential Revision: https://phab.enlightenment.org/D8113
2019-03-21ecore-drm2: Disable hardware rotation for outputsChristopher Michael
Setting output primary plane rotation is broken at the moment, so this commit will disable that for now until this can be investigated ref T7690 Differential Revision: https://phab.enlightenment.org/D8112
2019-03-21ecore-drm2: Update plane state values based on FBChristopher Michael
When we are trying to set an FB onto a plane, we need to update the plane state values to reflect any changes in the FB. Failure to do this will result in Atomic Commit failures as the plane state values will not match what the FB is. ref T7690 @fix Differential Revision: https://phab.enlightenment.org/D8111
2019-03-21ecore-drm2: Don't use AtomicAddProperty for plane rotationChristopher Michael
Apparently something has been changed recently in libdrm that causes AtomicAddProperty to fail when trying to set plane rotation. Until this can be found & fixed, let's just disable trying to rotate hardware planes with atomic commits. ref T7690 @fix Differential Revision: https://phab.enlightenment.org/D8110
2019-03-21efl-csharp: Add back I prefix for interfaces.Lauro Moura
Summary: Conforming to C# coding conventions. For properties, now we only generate a wrapper if its name does not clash with the name of the class that would be implementing it. Fixes T7751 Reviewers: vitor.sousa, felipealmeida, segfaultxavi Reviewed By: vitor.sousa, segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7751 Differential Revision: https://phab.enlightenment.org/D8397
2019-03-21csharp: Export correct headers and filesLauro Moura
Summary: Some headers and test files were not being exported in autotools. Also reordered the headers for better tracking. Test Plan: run make dist and check if resulting tarball builds with --enable-csharp-bindings Reviewers: stefan_schmidt, zmike, bu5hm4n, segfaultxavi, cedric, devilhorns Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8324
2019-03-21mono-tests: Fix after latest changes to eolianXavi Artigas
Summary: Event payload checking is more strict now. Test Plan: Check that master can be built Reviewers: lauromoura, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8437
2019-03-21eolian: assume requires section is legitimate dependenciesDaniel Kolesa
Previously these were not considered, which resulted in false positive warnings.
2019-03-21eolian: disallow @owned on eventsDaniel Kolesa
This is never used anywhere and it does not make sense with the new type rules for events.
2019-03-21eolian: add event type call convention checks for non-beta classesDaniel Kolesa
2019-03-21Windows, meson build : use posix *printf family functionVincent Torri
Summary: the Windows libc has different format flags for the *printf functions, fix this by using the posix version provided with mingw Test Plan: compilation Reviewers: zmike, raster, q66 Reviewed By: q66 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8432
2019-03-21elm : fix wrong layout class comparing in orientation mode disableSangHyeon Jade Lee
automatic theme lotation is layout base class property which can be applied layout based widget classes. currently it only comparing EFL_UI_LAYOUT_CLASS so layout base inherited class can not be applied this feature properly. depends D8434 Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8436
2019-03-21elm : fallback orientation_mode_disable_set legacy behavior to get true ↵SangHyeon Jade Lee
disabled state as what we set. current code set the disable EINA_TRUE when disabled, but once it was set diabled, it never changed EINA_FALSE even we set the orientation_mode_disable as FALSE. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8434
2019-03-21eolian: enable event redef checking by defaultMarcel Hollerbach
Reviewed-by: Daniel Kolesa <daniel@octaforge.org> Differential Revision: https://phab.enlightenment.org/D8425
2019-03-21ci: disable exit-on-error during configure and also grab stderrMike Blumenkrantz
this should resolve some issues where ci was not correctly detecting changes in env and clearing the config cache during autotools build Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org> Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8416
2019-03-21elm_gesture_layer: Use flag returned by gesture callbacksPrasoon Singh
Summary: Instead of flag returned by gesture callbacks, always EVAS_EVENT_FLAG_NONE flag was being used. Test Plan: As event flag was not being appropriately updated, in some cases expected behaviour was not seen. Reviewers: shilpasingh, cedric, Hermet, segfaultxavi Reviewed By: shilpasingh, segfaultxavi Subscribers: segfaultxavi, #reviewers, rajeev.jnnce, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8421
2019-03-20efl_ui_win: avoid triggering legacy forbidden path during window finalizeMike Blumenkrantz
this (unintentionally) revealed some bugs where apps/examples were mixing eo and legacy code for elm_win which breaks things pretty badly. I'm only here so I don't get fined. ref T7713 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8401
2019-03-20efl_ui_win: mark legacy forbidden during bg part load alwaysMike Blumenkrantz
calling this function indicates legacy is forbidden, not successfully loading a file. this is functionally meaningless, as the only way to trigger the previous codepath would be to have previously set legacy as forbidden, but perhaps it will be slightly easier to read now Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8400
2019-03-20elm_test: set accel for all glview testsMike Blumenkrantz
these otherwise require the user to set ELM_ACCEL or manually change the config which is cumbersome Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8392
2019-03-20elm_test: move gl api creation to glview init functionMike Blumenkrantz
this needs to happen when the gl context is current to avoid a billion errors and overall general failure Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8390
2019-03-20efl_ui_win: fix hw accel detectionMike Blumenkrantz
the ordering of priority here is supposed to be: 1. env vars 2. global override config 3. window config 4. global config in the case where 1 and 3 were not set, however, this would end up mangling the global config values and not using the gl options @fix Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8389
2019-03-20elm_test: use legacy api for glview gears testMike Blumenkrantz
mixing interfaces api with legacy api is bad for elm_win ref T7713 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8388
2019-03-20docs: Remove obsolete @since tags from EO filesXavi Artigas
Summary: All legacy @since tags have already moved to the *.legacy.h files. EO files are now devoid of @since tags (except some eldbus still needed for legacy). Upcoming patches will add @since 1.22 to those APIs which come out of beta in this release. APIs marked @beta do not need @since tags. Test Plan: Everything builds, EO docs (like DocFX) have no Since tags. Reviewers: zmike, bu5hm4n, lauromoura, cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8430
2019-03-20efl_ui_tab_bar: the type of this event is annotated as objectMarcel Hollerbach
however, efl_ui_tab_bar does pass in there a int. For now i decided that we just pass NULL here, if this is not accaptable then we can still add another event to the object itself. fix T7758 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8418
2019-03-20csharp: Remove test about conflicting events.Lauro Moura
Conflictings events won't be allowed anymore on eolian-based classes. For manually subclassed C# classes that eventually have conflicts, this should be dealt with in T7744. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8426
2019-03-20efl_canvas_vg_object: Fix dereference after null checkChristopher Michael
Coverity reports that both pname & file variables can be null here, and that we are potentially passing NULL to strcmp. Check for valid variables before passing to strcmp Fixes Coverity CID1399423, CID1399421 @fix Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8350
2019-03-20efl_ui_selection: give this event a better nameMarcel Hollerbach
this event does not get emitted when selection per se changes, it gets emitted when the selection in the window manager changes. we should prefix this even with that. ref T7476 Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8424
2019-03-20efl_ui_list_view: remove not used eventMarcel Hollerbach
this event is not used here, and if it ever is used, then it should probebly be using efl.ui.selectable. Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es> Differential Revision: https://phab.enlightenment.org/D8423
2019-03-20build: codegen generation should depend on elementary_codegenMarcel Hollerbach
Summary: otherwise buildfailures like : /usr/bin/env EFL_RUN_IN_TREE=1 /Users/travis/build/Enlightenment/efl/build/src/bin/elementary/elementary_codegen -p=codegen_example src/examples/elementary/codegen_example.edj elm/example/mylayout/default src/examples/elementary/codegen_example_generated.c src/examples/elementary/codegen_example_generated.h Can appear. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8428
2019-03-20ui.box_stack: refactor layout_updateYeongjong Lee
Summary: This patch remove evas_box function from Efl.Ui.Box_Stack and add unit test. Depends on D8214 Test Plan: 1. make check 2. elementary_test -to 'efl.ui.box_stack' Reviewers: zmike, Jaehyun_Cho, cedric Reviewed By: zmike, Jaehyun_Cho, cedric Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8094
2019-03-20efl_access: Add attribute_del API, Add test cases for all ↵Shilpa Singh
access_object_attribute* APIs Add attribute_del API, currently there is no provision to delete a particular attribute(key-value pair) from the attribute list of a widget. Add test cases for efl_access_attribute_append, efl_access_attributes_get, efl_access_attribute_del and efl_access_attributes_clear API Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Reviewed-by: Shinwoo Kim <cinoo.kim@samsung.com> Differential Revision: https://phab.enlightenment.org/D8386
2019-03-20efl_con: fixup copy'n paste errorMarcel Hollerbach
please see https://phab.enlightenment.org/D8411#151797, it appears here was a copy and paste error. This fixes the ecore_con test suite Reviewed-by: YeongJong Lee <yj34.lee@samsung.com> Differential Revision: https://phab.enlightenment.org/D8419
2019-03-20efl: Add missing docs to parameters.Lauro Moura
Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8422
2019-03-20efl.pack_table: inherit efl.pack instead of efl.pack_linearYeongjong Lee
Summary: >>! In T5301#110572, @jpeg wrote: > Quick recap before I leave. > ... > ... > - Pack interfaces - T5328 > > Table does not need to inherit from "linear" (1d) layout: this brings unnecessary complexity, for a dubious use case. We don't have linear layout policy of table(2d) layout. furthermore, i don't think it will be clearly defined. it is enough for Efl.Pack_Table to support `efl_pack` which work the same as `efl_pack_end`. ref T5719, T5328 Test Plan: - make - elementary_test -to 'efl.ui.table' - elementary_test -to 'efl.ui.table(linear api)' Reviewers: zmike, woohyun, segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, jpeg, #committers Tags: #efl Maniphest Tasks: T5719, T5328 Differential Revision: https://phab.enlightenment.org/D8420
2019-03-20csharp: Remove missing doc warning by filling them.Lauro Moura
Summary: Added basic documentation for things that were missing. Some other files are silent due to a pragma disabling CS1591. They should be handled later. Also, removed `Efl.Io.Positioner` from the blacklist as it is referenced from the `Efl.Io.Reader.eos` event documentation. Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: felipealmeida, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8370
2019-03-20Remove dead codeXavi Artigas
2019-03-20mono-docs: Use @since tags properlyXavi Artigas
Summary: Only the number was being used, and in places were it should not be. Now the Since version appears only in <summary> tags, with proper context (Since EFL 1.22). Test Plan: make && gendoc should produce DocFX pages which make more sense. Reviewers: lauromoura, zmike, bu5hm4n Reviewed By: lauromoura Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8012
2019-03-20eolian_mono: apply indentation of if scopeJaehyun Cho
2019-03-19efl_io_*: apply new event calling conventionMike Blumenkrantz
Summary: ref T7758 Depends on D8409 Reviewers: cedric, zmike, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7758 Differential Revision: https://phab.enlightenment.org/D8410
2019-03-19efl_ui_focus_object: apply new event calling conventionMarcel Hollerbach
Summary: ref T7758 Depends on D8408 Reviewers: cedric, zmike, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7758 Differential Revision: https://phab.enlightenment.org/D8409
2019-03-19evas: apply new event calling conventionMarcel Hollerbach
Summary: ref T7758 Depends on D8407 Reviewers: cedric, zmike, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7758 Differential Revision: https://phab.enlightenment.org/D8408
2019-03-19efl_ui_tags: apply new event calling conventionMarcel Hollerbach
Summary: it appears that this event calling is a bit fishy, the value of the second callback call was never set, i think the shrink flag here is what we want to return here. T7758 Depends on D8406 Reviewers: cedric, zmike, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8407
2019-03-19efl_ui_win: apply new event calling conventionMarcel Hollerbach
Summary: ref T7758 Depends on D8405 Reviewers: cedric, zmike, segfaultxavi Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7758 Differential Revision: https://phab.enlightenment.org/D8406