platform/upstream/efl.git
5 years agoevas_clip: check for object validity before adding fallback damage rect
Mike Blumenkrantz [Fri, 22 Mar 2019 13:50:57 +0000 (09:50 -0400)]
evas_clip: check for object validity before adding fallback damage rect

this path should not be triggered for objects which are being deleted,
which was the case in all of the referenced bug reportst

fix T4904, T7100, T7421

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8445

5 years agoevas drm: Implement support for outbuf_idle_flush
Christopher Michael [Thu, 21 Mar 2019 18:14:57 +0000 (14:14 -0400)]
evas drm: Implement support for outbuf_idle_flush

5 years agoevas drm: Implement support for damage_region_set
Christopher Michael [Fri, 22 Mar 2019 16:41:47 +0000 (12:41 -0400)]
evas drm: Implement support for damage_region_set

Summary:
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
Depends on D8403

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8404

5 years agoevas drm: Fix software output rotation
Christopher Michael [Fri, 22 Mar 2019 16:41:43 +0000 (12:41 -0400)]
evas drm: Fix software output rotation

Summary:
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
Depends on D8402

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8403

5 years agoevas drm: Don't use eng_output_resize or redraws clear
Christopher Michael [Fri, 22 Mar 2019 16:41:38 +0000 (12:41 -0400)]
evas drm: Don't use eng_output_resize or redraws clear

Summary:
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
Depends on D8116

Reviewers: raster, cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8402

5 years agoecore-evas-drm: Enable rotation to work again
Christopher Michael [Fri, 22 Mar 2019 16:41:28 +0000 (12:41 -0400)]
ecore-evas-drm: Enable rotation to work again

Summary:
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

Depends on D8115

Reviewers: raster, cedric, zmike

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8116

5 years agoecore-drm2: Factor in output rotation when getting output info
Christopher Michael [Fri, 22 Mar 2019 16:41:25 +0000 (12:41 -0400)]
ecore-drm2: Factor in output rotation when getting output info

Summary:
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

Depends on D8114

Reviewers: raster, cedric, zmike

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8115

5 years agoecore-drm2: Add API function to return output rotation
Christopher Michael [Fri, 22 Mar 2019 16:41:21 +0000 (12:41 -0400)]
ecore-drm2: Add API function to return output rotation

Summary:
Small patch to add an API function which can be used to return a given
output's rotation value

ref T7690

@feature

Depends on D8113

Reviewers: raster, cedric, zmike, stefan_schmidt, bu5hm4n

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8114

5 years agoecore-drm2: Set output rotation value
Christopher Michael [Fri, 22 Mar 2019 16:41:16 +0000 (12:41 -0400)]
ecore-drm2: Set output rotation value

Summary:
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

Depends on D8112

Reviewers: raster, cedric, zmike

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8113

5 years agoecore-drm2: Disable hardware rotation for outputs
Christopher Michael [Fri, 22 Mar 2019 16:41:11 +0000 (12:41 -0400)]
ecore-drm2: Disable hardware rotation for outputs

Summary:
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

Depends on D8111

Reviewers: raster, cedric, zmike

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8112

5 years agoecore-drm2: Update plane state values based on FB
Christopher Michael [Fri, 22 Mar 2019 16:41:08 +0000 (12:41 -0400)]
ecore-drm2: Update plane state values based on FB

Summary:
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

Depends on D8110

Reviewers: raster, cedric, zmike

Reviewed By: cedric

Subscribers: cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8111

5 years agoecore-drm2: Don't use AtomicAddProperty for plane rotation
Christopher Michael [Fri, 22 Mar 2019 16:41:03 +0000 (12:41 -0400)]
ecore-drm2: Don't use AtomicAddProperty for plane rotation

Summary:
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

Reviewers: raster, cedric, zmike

Subscribers: zmike, cedric

Tags: #efl, #do_not_merge

Maniphest Tasks: T7690

Differential Revision: https://phab.enlightenment.org/D8110

5 years agodocs: Add @since 1.22 to all stable classes' EO docs
Xavi Artigas [Fri, 22 Mar 2019 15:25:22 +0000 (16:25 +0100)]
docs: Add @since 1.22 to all stable classes' EO docs

Summary: Previous @since tags have already been removed from eo files.

Test Plan: Everything builds, but stable classes now have Since tags in the docs.

Reviewers: zmike, bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8446

5 years agoevil: fix wrong values in timeval
Vincent Torri [Fri, 22 Mar 2019 13:09:14 +0000 (09:09 -0400)]
evil: fix wrong values in timeval

Summary: time values are of type long, but a double values was used

Test Plan: compilation

Reviewers: raster, zmike, q66, simotek

Reviewed By: zmike, simotek

Subscribers: simotek, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8444

5 years agoefl-csharp: Add back I prefix for interfaces.
Lauro Moura [Thu, 21 Mar 2019 17:38:45 +0000 (14:38 -0300)]
efl-csharp: Add back I prefix for interfaces.

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

5 years agocsharp: Export correct headers and files
Lauro Moura [Thu, 21 Mar 2019 16:32:17 +0000 (17:32 +0100)]
csharp: Export correct headers and files

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

5 years agomono-tests: Fix after latest changes to eolian
Xavi Artigas [Thu, 21 Mar 2019 16:20:13 +0000 (17:20 +0100)]
mono-tests: Fix after latest changes to eolian

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

5 years agoeolian: assume requires section is legitimate dependencies
Daniel Kolesa [Thu, 21 Mar 2019 15:46:55 +0000 (16:46 +0100)]
eolian: assume requires section is legitimate dependencies

Previously these were not considered, which resulted in false
positive warnings.

5 years agoeolian: disallow @owned on events
Daniel Kolesa [Thu, 21 Mar 2019 15:17:06 +0000 (16:17 +0100)]
eolian: disallow @owned on events

This is never used anywhere and it does not make sense with the
new type rules for events.

5 years agoeolian: add event type call convention checks for non-beta classes
Daniel Kolesa [Thu, 21 Mar 2019 14:55:43 +0000 (15:55 +0100)]
eolian: add event type call convention checks for non-beta classes

5 years agoWindows, meson build : use posix *printf family function
Vincent Torri [Thu, 21 Mar 2019 10:26:15 +0000 (11:26 +0100)]
Windows, meson build : use posix *printf family function

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

5 years agoeolian: enable event redef checking by default
Marcel Hollerbach [Wed, 20 Mar 2019 14:14:02 +0000 (15:14 +0100)]
eolian: enable event redef checking by default

Reviewed-by: Daniel Kolesa <daniel@octaforge.org>
Differential Revision: https://phab.enlightenment.org/D8425

5 years agoci: disable exit-on-error during configure and also grab stderr
Mike Blumenkrantz [Tue, 19 Mar 2019 18:00:54 +0000 (14:00 -0400)]
ci: disable exit-on-error during configure and also grab stderr

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

5 years agoelm_gesture_layer: Use flag returned by gesture callbacks
Prasoon Singh [Thu, 21 Mar 2019 09:07:43 +0000 (10:07 +0100)]
elm_gesture_layer: Use flag returned by gesture callbacks

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

5 years agoefl_ui_win: avoid triggering legacy forbidden path during window finalize
Mike Blumenkrantz [Tue, 19 Mar 2019 14:00:21 +0000 (10:00 -0400)]
efl_ui_win: avoid triggering legacy forbidden path during window finalize

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

5 years agoefl_ui_win: mark legacy forbidden during bg part load always
Mike Blumenkrantz [Tue, 19 Mar 2019 13:59:01 +0000 (09:59 -0400)]
efl_ui_win: mark legacy forbidden during bg part load always

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

5 years agoelm_test: set accel for all glview tests
Mike Blumenkrantz [Mon, 18 Mar 2019 18:03:17 +0000 (14:03 -0400)]
elm_test: set accel for all glview tests

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

5 years agoelm_test: move gl api creation to glview init function
Mike Blumenkrantz [Mon, 18 Mar 2019 17:27:57 +0000 (13:27 -0400)]
elm_test: move gl api creation to glview init function

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

5 years agoefl_ui_win: fix hw accel detection
Mike Blumenkrantz [Mon, 18 Mar 2019 13:27:14 +0000 (09:27 -0400)]
efl_ui_win: fix hw accel detection

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

5 years agoelm_test: use legacy api for glview gears test
Mike Blumenkrantz [Mon, 18 Mar 2019 13:26:19 +0000 (09:26 -0400)]
elm_test: use legacy api for glview gears test

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

5 years agodocs: Remove obsolete @since tags from EO files
Xavi Artigas [Wed, 20 Mar 2019 18:46:44 +0000 (19:46 +0100)]
docs: Remove obsolete @since tags from EO files

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

5 years agoefl_ui_tab_bar: the type of this event is annotated as object
Marcel Hollerbach [Wed, 20 Mar 2019 07:36:21 +0000 (08:36 +0100)]
efl_ui_tab_bar: the type of this event is annotated as object

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

5 years agocsharp: Remove test about conflicting events.
Lauro Moura [Wed, 20 Mar 2019 17:29:25 +0000 (17:29 +0000)]
csharp: Remove test about conflicting events.

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

5 years agoefl_canvas_vg_object: Fix dereference after null check
Christopher Michael [Thu, 14 Mar 2019 16:36:11 +0000 (12:36 -0400)]
efl_canvas_vg_object: Fix dereference after null check

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

5 years agoefl_ui_selection: give this event a better name
Marcel Hollerbach [Wed, 20 Mar 2019 14:01:23 +0000 (15:01 +0100)]
efl_ui_selection: give this event a better name

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

5 years agoefl_ui_list_view: remove not used event
Marcel Hollerbach [Wed, 20 Mar 2019 13:57:11 +0000 (14:57 +0100)]
efl_ui_list_view: remove not used event

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

5 years agobuild: codegen generation should depend on elementary_codegen
Marcel Hollerbach [Wed, 20 Mar 2019 15:24:43 +0000 (11:24 -0400)]
build: codegen generation should depend on elementary_codegen

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

5 years agoui.box_stack: refactor layout_update
Yeongjong Lee [Wed, 20 Mar 2019 14:28:45 +0000 (10:28 -0400)]
ui.box_stack: refactor layout_update

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

5 years agoefl_access: Add attribute_del API, Add test cases for all access_object_attribute...
Shilpa Singh [Wed, 20 Mar 2019 14:16:11 +0000 (14:16 +0000)]
efl_access: Add attribute_del API, Add test cases for all 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

5 years agoefl_con: fixup copy'n paste error
Marcel Hollerbach [Wed, 20 Mar 2019 07:34:33 +0000 (08:34 +0100)]
efl_con: fixup copy'n paste error

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

5 years agoefl: Add missing docs to parameters.
Lauro Moura [Wed, 20 Mar 2019 13:12:35 +0000 (14:12 +0100)]
efl: Add missing docs to parameters.

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8422

5 years agoefl.pack_table: inherit efl.pack instead of efl.pack_linear
Yeongjong Lee [Wed, 20 Mar 2019 11:45:00 +0000 (12:45 +0100)]
efl.pack_table: inherit efl.pack instead of efl.pack_linear

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

5 years agocsharp: Remove missing doc warning by filling them.
Lauro Moura [Wed, 20 Mar 2019 10:26:49 +0000 (11:26 +0100)]
csharp: Remove missing doc warning by filling them.

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

5 years agoRemove dead code
Xavi Artigas [Wed, 20 Mar 2019 10:24:05 +0000 (11:24 +0100)]
Remove dead code

5 years agomono-docs: Use @since tags properly
Xavi Artigas [Wed, 20 Mar 2019 09:47:22 +0000 (10:47 +0100)]
mono-docs: Use @since tags properly

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

5 years agoeolian_mono: apply indentation of if scope
Jaehyun Cho [Wed, 20 Mar 2019 02:24:51 +0000 (11:24 +0900)]
eolian_mono: apply indentation of if scope

5 years agoefl_io_*: apply new event calling convention
Mike Blumenkrantz [Tue, 19 Mar 2019 20:32:02 +0000 (16:32 -0400)]
efl_io_*: apply new event calling convention

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

5 years agoefl_ui_focus_object: apply new event calling convention
Marcel Hollerbach [Tue, 19 Mar 2019 20:31:55 +0000 (16:31 -0400)]
efl_ui_focus_object: apply new event calling convention

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

5 years agoevas: apply new event calling convention
Marcel Hollerbach [Tue, 19 Mar 2019 20:31:50 +0000 (16:31 -0400)]
evas: apply new event calling convention

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

5 years agoefl_ui_tags: apply new event calling convention
Marcel Hollerbach [Tue, 19 Mar 2019 20:31:45 +0000 (16:31 -0400)]
efl_ui_tags: apply new event calling convention

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

5 years agoefl_ui_win: apply new event calling convention
Marcel Hollerbach [Tue, 19 Mar 2019 20:31:39 +0000 (16:31 -0400)]
efl_ui_win: apply new event calling convention

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

5 years agoefl_ui_focus_manager_sub: apply new event calling convention
Marcel Hollerbach [Tue, 19 Mar 2019 20:31:34 +0000 (16:31 -0400)]
efl_ui_focus_manager_sub: apply new event calling convention

Summary: ref T7758

Reviewers: cedric, zmike, segfaultxavi

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7758

Differential Revision: https://phab.enlightenment.org/D8405

5 years agoefl_ui: rename select and unselected of efl_ui_selectable
Marcel Hollerbach [Tue, 19 Mar 2019 20:30:19 +0000 (16:30 -0400)]
efl_ui: rename select and unselected of efl_ui_selectable

Summary:
this was conflicting with a model event. Prefixing it with "item,"
resolves this, and describes better what it does.
Depends on D8413

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8414

5 years agoelm: do not use eo events here
Marcel Hollerbach [Tue, 19 Mar 2019 20:29:45 +0000 (16:29 -0400)]
elm: do not use eo events here

Summary:
we want to rename it, and this would break legacy behaviour, so better
this way.
Depends on D8412

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8413

Change-Id: Iab72a30628e5864c64e7059434f11e19d5576c05

5 years agoRevert "efl_ui_selectable: namespace events to avoid conflicts"
Marcel Hollerbach [Tue, 19 Mar 2019 20:29:39 +0000 (16:29 -0400)]
Revert "efl_ui_selectable: namespace events to avoid conflicts"

Summary:
This reverts commit f629f11bedad7b137b012d36102ad5bb1f2b4b4f.

This breaks legacy events. As the selected event is used in legacy
widgets. Also this commits mixed up two different concepts, selection in
a entry etc. and selection of a item.
Depends on D8411

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8412

Change-Id: Ia3b3ce930bb5b46dfa4a2beaa26ddb201d494f02

5 years agoefl_net: resolve cases where we passed something as event_info
Marcel Hollerbach [Tue, 19 Mar 2019 20:29:34 +0000 (16:29 -0400)]
efl_net: resolve cases where we passed something as event_info

Summary: but the event was annotated to *not* contain any event_info.

Reviewers: cedric, segfaultxavi, zmike

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8411

5 years agoefl_ui_widget: resolve warning about multiple defines
Marcel Hollerbach [Tue, 19 Mar 2019 20:28:10 +0000 (16:28 -0400)]
efl_ui_widget: resolve warning about multiple defines

Summary:
the difference here is, that the macro before did not print ERR's the
one now does. Hence this commit remove two error messages.

Reviewers: devilhorns

Reviewed By: devilhorns

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8415

5 years agorelease: Update NEWS and bump version for 1.22.0-beta2 release
Stefan Schmidt [Tue, 19 Mar 2019 19:10:33 +0000 (20:10 +0100)]
release: Update NEWS and bump version for 1.22.0-beta2 release

5 years agoefl_ui_text_alert_popup: use correct theme klass name
Yeongjong Lee [Fri, 15 Mar 2019 10:52:32 +0000 (10:52 +0000)]
efl_ui_text_alert_popup: use correct theme klass name

text_alert_popup is not scroll_alert_popup.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8364

5 years agoelm_code: add theme alias for layout group
Mike Blumenkrantz [Mon, 18 Mar 2019 18:13:39 +0000 (14:13 -0400)]
elm_code: add theme alias for layout group

with the rename of this (beta) widget, the efl/ group name is set so
add this to the theme for now until more work can be done here to resolve
the rest of the theme namespacing issues which will only be an issue
if the widget is ever made stable

ref T7713

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8393

5 years agoRevert "efl_ui_widget: resolve warning about multiple defines"
Xavi Artigas [Tue, 19 Mar 2019 15:50:13 +0000 (16:50 +0100)]
Revert "efl_ui_widget: resolve warning about multiple defines"

This reverts commit 9012742f9a6e0ac09f34b7df23b1ac8d166239e1.

I landed this too hastily.

5 years agoefl_ui_widget: resolve warning about multiple defines
Marcel Hollerbach [Tue, 19 Mar 2019 15:39:59 +0000 (16:39 +0100)]
efl_ui_widget: resolve warning about multiple defines

Summary:
the difference here is, that the macro before did not print ERR's the
one now does. Hence this commit remove two error messages.

Depends on D8394

Reviewers: zmike, segfaultxavi, cedric, devilhorns

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8395

5 years agocsharp: rename add/remove event handler
Lauro Moura [Tue, 19 Mar 2019 14:50:50 +0000 (15:50 +0100)]
csharp: rename add/remove event handler

Summary:
Conform to C# API conventions.

Ref T7752

Reviewers: felipealmeida, vitor.sousa, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7752

Differential Revision: https://phab.enlightenment.org/D8396

5 years agoeldbus: Fix resource leak
Christopher Michael [Tue, 19 Mar 2019 12:57:59 +0000 (08:57 -0400)]
eldbus: Fix resource leak

Summary:
Coverity reports that we leak 'data' here (which can happen if we
error on 'eina_value_dup(value)'). Iniitalize 'data' to NULL, and add a
'free' call to cleanup 'data' before we return a rejected future.

Fixes Coverity CID1399097

@fix

Depends on D8350

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8352

5 years agoefl_ui_widget: Remove duplicate definition of ELM_WIDGET_DATA_GET
Christopher Michael [Tue, 19 Mar 2019 12:33:01 +0000 (08:33 -0400)]
efl_ui_widget: Remove duplicate definition of ELM_WIDGET_DATA_GET

Patch 28400e3260b3c6af56ce6b added a define for ELM_WIDGET_DATA_GET
which is available for all widgets so we do not need to redefine it
here.

5 years agoelm_entry: Add missing EINA_UNUSED
Christopher Michael [Tue, 19 Mar 2019 12:31:03 +0000 (08:31 -0400)]
elm_entry: Add missing EINA_UNUSED

'sd' is an unused parameter here so add missing EINA_UNUSED

5 years agoelementary: Use efl_data_scope_safe_get when trying to get widget data
Christopher Michael [Mon, 18 Mar 2019 19:19:21 +0000 (15:19 -0400)]
elementary: Use efl_data_scope_safe_get when trying to get widget data

As per bu5hm4n, these macros should be using efl_data_scope_safe_get
when trying to get widget data

5 years agoelementary: Add ELM_WIDGET_DATA_GET macro
Christopher Michael [Mon, 18 Mar 2019 19:13:36 +0000 (15:13 -0400)]
elementary: Add ELM_WIDGET_DATA_GET macro

There are cases, such as 2abe5ad9bc6d30f0c29381dca7e where we do not
always want to return if we fail to get the elm widget data (as we may
have to cleanup leaks, etc). As such, add a macro we can call which
will just try to fetch the elm_widget data.

5 years agoFix _entry_has_new_line on detecting new lines when it finds <br> <ps> in passed...
Ali Alzyod [Mon, 18 Mar 2019 18:40:10 +0000 (19:40 +0100)]
Fix _entry_has_new_line on detecting new lines when it finds <br> <ps> in passed string

Summary:
Fix issue where **_entry_has_new_line** will not detect '<br>' or '<ps>' inside markup text as new lines indicators.

this  functionlity effect following public function:
**elm_entry_single_line_set()**

Reviewers: woohyun, bowonryu, ManMower, cedric, raster, segfaultxavi

Reviewed By: bowonryu, segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8323

5 years agoelm_focus_legacy: Fix resource leaks
Christopher Michael [Mon, 18 Mar 2019 18:47:58 +0000 (14:47 -0400)]
elm_focus_legacy: Fix resource leaks

Summary:
Coverity reports 2 resource leaks here because old_chain & new_chain
are never freed if we fail to return widget data. Use just
ELM_WIDGET_DATA_GET, manually check for valid 'ppd' and if false we
can just break out of the for loop here.

Fixes Coverity CID1399096, CID1399095

@fix

Depends on D8352

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric, bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8353

5 years agoefl_ui_layout: call efl_del instead of efl_unref when text part does not exist
Yeongjong Lee [Mon, 18 Mar 2019 12:50:19 +0000 (08:50 -0400)]
efl_ui_layout: call efl_del instead of efl_unref when text part does not exist

Summary:
Because `efl_isa` doesn't call _efl_object_call_end, the part object is not
removed. it occurs a bunch of efl_unref error message.

Test Plan:
1. elementary_test -to 'efl.ui.box'
2. exit window.
3. check there is no efl_unref error message.

Reviewers: zmike, cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8385

5 years agoexamples_checks: add more configurations to how to run examples
Marcel Hollerbach [Mon, 18 Mar 2019 11:45:42 +0000 (12:45 +0100)]
examples_checks: add more configurations to how to run examples

Summary:
this adds the options, which are needed to execute those examples.

Depends on D8379

Reviewers: cedric, zmike, stefan_schmidt, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8380

5 years agoedje-multisense: add the theme file
Marcel Hollerbach [Mon, 18 Mar 2019 11:41:19 +0000 (12:41 +0100)]
edje-multisense: add the theme file

Summary:
the theme file was forgotten here, and not probebly build

Depends on D8378

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8379

5 years agoedje-swallow2: differeniate between build dir and source dir
Marcel Hollerbach [Mon, 18 Mar 2019 11:37:28 +0000 (12:37 +0100)]
edje-swallow2: differeniate between build dir and source dir

Summary:
the source dir is used for the bubble.png file, the rest is coming from
the actaull build dir

Depends on D8377

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8378

5 years agoinwin_example: shot can never be the preferend engine
Marcel Hollerbach [Mon, 18 Mar 2019 11:30:34 +0000 (12:30 +0100)]
inwin_example: shot can never be the preferend engine

Summary:
"shot" is just the content from ELM_DISPLAY, but never the prefered
engine. Additionally, prefered engine can be NULL, which will cause a
SEGV. This now just uses the getenv to check if we run in the shot
engine.

Depends on D8376

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8377

5 years agoindex_example_02: fix index example
Marcel Hollerbach [Mon, 18 Mar 2019 11:19:16 +0000 (12:19 +0100)]
index_example_02: fix index example

Summary:
If this is not initialized, then the reuse function will be != NULL
which causes a SEGV

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8376

5 years agoefl: remove EFL_EO_API_SUPPORT macro
Daniel Kolesa [Mon, 18 Mar 2019 11:13:41 +0000 (12:13 +0100)]
efl: remove EFL_EO_API_SUPPORT macro

Summary:
Since we're now going to be shipping some eo classes as stable,
there is no point in keeping the eo api behind a macro, and it
should be enabled by default. Another case is beta classes, but
those are behind the EFL_BETA_API_SUPPORT guard.

This also changes includes around the place where things are
clearly broken (such as an included header needing something
from another header but that other header being guarded, notably
efl_ui_widget.h needing focus manager but focus manager being
behind beta in Elementary.h)

Reviewers: zmike, cedric, bu5hm4n, stefan_schmidt, segfaultxavi

Reviewed By: cedric, segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8322

Change-Id: I2161b4b1aa388f968641fa6b0d318597bd30d964

5 years agoelm_focus: document that focus_region_show_mode more
Marcel Hollerbach [Sun, 17 Mar 2019 14:30:23 +0000 (15:30 +0100)]
elm_focus: document that focus_region_show_mode more

it appears that this API is only implemented in Elm_Gengrid, this patch
adds documentation for this.

ref D8286

Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8383

5 years agocsharp: Rename register_event_proxies.
Lauro Moura [Sun, 17 Mar 2019 15:09:20 +0000 (16:09 +0100)]
csharp: Rename register_event_proxies.

Summary:
To better adhere to C# conventions and state it is for generated code
only.

Ref T7702

Reviewers: vitor.sousa, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7702

Differential Revision: https://phab.enlightenment.org/D8369

5 years agocshar: Remove unused variables.
Lauro Moura [Sun, 17 Mar 2019 14:59:38 +0000 (15:59 +0100)]
cshar: Remove unused variables.

Summary:
The nativeInherit field was replaced by using a C# attribute to declare
the native class.

Ref T7702

Reviewers: segfaultxavi, vitor.sousa

Reviewed By: segfaultxavi, vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7702

Differential Revision: https://phab.enlightenment.org/D8368

5 years agoefl_ui_focus_manager_calc: Fix resource leaks
Christopher Michael [Fri, 15 Mar 2019 16:57:18 +0000 (12:57 -0400)]
efl_ui_focus_manager_calc: Fix resource leaks

Summary:
Coverity reports that we leak old_chain & chain variables here if we return.
Add an eina_array_free for both to clean this up.

Fixes Coverity CID1396984,CID1396965

@fix

Depends on D8353

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8355

5 years agoevas_gl_generic: fix wrong gl context set
Jiyoun Park [Thu, 14 Mar 2019 08:53:50 +0000 (08:53 +0000)]
evas_gl_generic: fix wrong gl context set

example:
...
im=evas_object_image_add()
evas_gl_surface_create
...
evas_object_image_native_surface_set(im, xx)-> MAIN CONTEXT
evas_gl_make_current -> CONTEXT A
.....
evas_object_image_size_set(im, x,x) ->WRONG CONTEXT A

evas_object_image_size_set of image have native_surface finally calls
eng_image_size_set function of gl_generic.

eng_image_size_set cannot get the proper context related with
evas_gl_common_image_native_enable.
It ruined gl context and texture of main context has gone wrong.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8338

5 years agoeldbus: Fix dereference after null check
Christopher Michael [Fri, 15 Mar 2019 16:14:18 +0000 (12:14 -0400)]
eldbus: Fix dereference after null check

Summary:
Coverity reports we are passing NULL variable 'properties' to
eina_array_pop here which dereferences it. Wrap the 'end' block in an
if which checks for valid 'properties' variable

Fixes Coverity CID1399422

@fix

Depends on D8350

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8351

5 years agoefl_ui_text: Fix resource leak
Christopher Michael [Fri, 15 Mar 2019 16:14:05 +0000 (12:14 -0400)]
efl_ui_text: Fix resource leak

Summary:
Coverity reports a resource leak here. When we return due to invalid
selection, we should free the 'ldata' that we previously allocated

Fixes Coverity CID1396998

@fix

Reviewers: raster, cedric, q66, zmike, bu5hm4n, stefan, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8320

5 years agocsharp: Support Efl.Class for interfaces
Lauro Moura [Fri, 15 Mar 2019 14:30:24 +0000 (11:30 -0300)]
csharp: Support Efl.Class for interfaces

Summary:
The `GetEflClassStatic` method for interface is in their Concrete
sidekick.

Previously, passing a valid Eo interface as a type caused the binding to
complain that `Type is not an Efl.Object`.

Test Plan: run test case

Reviewers: vitor.sousa, felipealmeida

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8360

5 years agoefreet: Fix resource leak
Christopher Michael [Fri, 15 Mar 2019 12:58:17 +0000 (08:58 -0400)]
efreet: Fix resource leak

Summary:
Coverity reports that we leak 'exec' here when we return. Add
IF_FREE(exec) to remove the leak.

Fixes Coverity CID1399090

@fix

Depends on D8353

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8354

5 years agoefl_ui_win: Fix dereference null return value
Christopher Michael [Fri, 15 Mar 2019 12:58:04 +0000 (08:58 -0400)]
efl_ui_win: Fix dereference null return value

Summary:
Coverity reports efl_data_scope_safe_get returns NULL here (checked
273 out of 285 times). Add an EINA_SAFETY check here before trying to
use 'sd'.

Fixes Coverity CID1399425

@fix

Depends on D8348

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8349

5 years agoefl_ui_win: Fix dereference null return
Christopher Michael [Fri, 15 Mar 2019 12:57:54 +0000 (08:57 -0400)]
efl_ui_win: Fix dereference null return

Summary:
Coverity reports that efl_data_scope_safe_get returns NULL here
(checked 273 out of 285 times). Add an EINA_SAFETY check before trying
to use 'sd'.

Fixes Coverity CID1399426

@fix

Depends on D8347

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8348

5 years agoefl_ui_win: Fix dereference null return
Christopher Michael [Fri, 15 Mar 2019 12:57:44 +0000 (08:57 -0400)]
efl_ui_win: Fix dereference null return

Summary:
Coverity reports that efl_data_scope_safe_get returns NULL here
(checked 273 out of 285 times). Add an EINA_SAFETY check here before
trying to use 'sd'.

Fixes Coverity CID1399427

@fix

Depends on D8346

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8347

5 years agoefl_ui_win: Fix dereference null return value
Christopher Michael [Fri, 15 Mar 2019 12:57:34 +0000 (08:57 -0400)]
efl_ui_win: Fix dereference null return value

Summary:
Coverity reports efl_data_scope_safe_get returns NULL here (checked
273 out of 285 times). Add an EINA_SAFETY check here for a null return.

Fixes Coverity CID1399428

@fix

Depends on D8345

Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8346

5 years agoeo: efl_object_legacy_only_event_description_get is an internal only function, make...
Cedric BAIL [Fri, 15 Mar 2019 10:42:41 +0000 (11:42 +0100)]
eo: efl_object_legacy_only_event_description_get is an internal only function, make it so.

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8361

5 years agocsharp: Remove uneeded legacy event declaration.
Lauro Moura [Fri, 15 Mar 2019 09:52:41 +0000 (10:52 +0100)]
csharp: Remove uneeded legacy event declaration.

Reviewers: cedric, vitor.sousa

Reviewed By: vitor.sousa

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8330

5 years agomeson: Enable generation of C# docs.
Lauro Moura [Fri, 15 Mar 2019 09:35:10 +0000 (10:35 +0100)]
meson: Enable generation of C# docs.

Summary:
In order to correctly install the xml file alongside the dll, a install
script is used to work around meson's limitation of tracking files
generated by library() other than the dll.

Fixes T7722

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: segfaultxavi, bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7722

Differential Revision: https://phab.enlightenment.org/D8331

5 years agoci: add missing double quote for osx autotools
Mike Blumenkrantz [Thu, 14 Mar 2019 19:14:19 +0000 (20:14 +0100)]
ci: add missing double quote for osx autotools

Summary:
so there I was, out at the pub after a hard release cycle, drinking
GNU's finest, and a " comes over and challenges me to a duel--
editors at 50pt. the " cheats and gets me right in the repo before
the countdown ends and then I'm out cold.

I wake up the next day with CI (still) failing, hundreds of pings on IRC
asking where I've been, and my refrigerator is somehow filled with ethernet
cables (cat7) which I have no memory of purchasing. my computer has doodles
in permanent marker all over the screen, and my cat is somehow stuck in a
ceiling vent which I also have no memory of seeing. also this isn't my house.

I leave the building, which turns out to be a fast food franchise a few blocks
away from my gym, and the cops roll up (https://i.imgur.com/JnOI4Jz.gifv)
asking to see some identification. I show them my credentials (ssh RSA4096),
and they cuff me. I'm under arrest for failing to close a double quote and
submitting a patch which impersonated a fix to a failing CI job.

the moral of this story is to always reread your patches and make sure you've
matched up all your punctuation.

ref D8340

Reviewers: devilhorns, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl_build

Differential Revision: https://phab.enlightenment.org/D8356

5 years agoelementary: add compile checks for the efl_ui.h header
Marcel Hollerbach [Thu, 14 Mar 2019 18:26:34 +0000 (14:26 -0400)]
elementary: add compile checks for the efl_ui.h header

Summary:
we should check if the header actaully compiles without the beta
defines.

Depends on D8342

Reviewers: zmike, segfaultxavi

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8343

5 years agomeson: be a bit more helpfull when it comes to bindings
Marcel Hollerbach [Thu, 14 Mar 2019 18:26:20 +0000 (14:26 -0400)]
meson: be a bit more helpfull when it comes to bindings

Summary:
for now meson would have just used the order that you pass in via
-Dbindings=mono,cxx. However this leads to bugs, as cxx for example must
be declared before mono can be declared. This fixes this error by
forcing a order.

Reviewers: zmike, segfaultxavi

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8341

5 years agodocfx: Hide *Concrete classes from docs
Xavi Artigas [Thu, 14 Mar 2019 18:15:28 +0000 (19:15 +0100)]
docfx: Hide *Concrete classes from docs

Ref T7702

5 years agoautotools: add option to enable eo file install
Mike Blumenkrantz [Thu, 14 Mar 2019 16:43:33 +0000 (12:43 -0400)]
autotools: add option to enable eo file install

Summary:
eolian is not stable so these files should not be distributed by default
in order to discourage relying on something which may break later

fix T7676

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7676

Differential Revision: https://phab.enlightenment.org/D8339

5 years agobuild: add a option to disable eo file installation
Marcel Hollerbach [Thu, 14 Mar 2019 16:43:51 +0000 (12:43 -0400)]
build: add a option to disable eo file installation

Summary:
this is done because .eo files are not stable, and in order to stop
people depending on it, its better for now to disable the installation
of them for now.

ref T7676

Reviewers: stefan_schmidt, cedric, zmike, devilhorns

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7676

Differential Revision: https://phab.enlightenment.org/D7897

5 years agoci: force osx libffi dep to be found
Mike Blumenkrantz [Thu, 14 Mar 2019 15:53:50 +0000 (11:53 -0400)]
ci: force osx libffi dep to be found

this is also really, really stupid.

ref D8305

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D8340