platform/upstream/efl.git
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

5 years agoefl_ui_layout: fix elm_layout_text_set behavior
Yeongjong Lee [Thu, 14 Mar 2019 15:11:32 +0000 (11:11 -0400)]
efl_ui_layout: fix elm_layout_text_set behavior

Summary:
Since commit 649433560b5b, elm_layout_text_set didn't work on some widgets.
This patch fixes invisible text issues.

Test Plan:
1. make check
2. elementary_test -to 'popup'

Reviewers: zmike, segfaultxavi, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, herb, #committers

Tags: #efl

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

Change-Id: I76bf8b4c615a90b691e4ed43fdcc10dd7d01f219

5 years agoecore_con: Fix dereferencing of null pointer
Christopher Michael [Thu, 14 Mar 2019 11:22:54 +0000 (07:22 -0400)]
ecore_con: Fix dereferencing of null pointer

Summary:
Coverity reports that 'svr' might be NULL here, so we should check it
is valid before trying to use it.

Fixes Coverity CID1396990

@fix

Depends on D8320

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

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_grid: Fix dereferencing null pointer
Christopher Michael [Thu, 14 Mar 2019 11:22:44 +0000 (07:22 -0400)]
efl_ui_grid: Fix dereferencing null pointer

Summary:
Coverity reports EFL_UI_GRID_ITEM_DATA_GET can return NULL (checked
273 out of 281 times). As such, we should verify that 'id' is not NULL
here before trying to dereference it.

Fixes Coverity CID1397000

@fix

Depends on D8318

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

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_datepicker: Fix uninitialized scalar value
Christopher Michael [Thu, 14 Mar 2019 11:22:26 +0000 (07:22 -0400)]
efl_ui_datepicker: Fix uninitialized scalar value

Summary:
Coverity reports field t.tm_sec is unitialized when calling
efl_datetime_manager_value_set, so this patch uninitializes it to 0.

Fixes Coverity CID1397006

@fix

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

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agomeson: fix subdir in the installation
Marcel Hollerbach [Wed, 13 Mar 2019 16:15:45 +0000 (17:15 +0100)]
meson: fix subdir in the installation

we did a completly wrong thing here, and it only worked by accident.
We passed a absolut path into a parameter where only a number should be
passed. This is now fixed.

This fixes meson build with meson-0.50 and bindings enabled

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

5 years agoexamples_check: fix for meson-0.50
Marcel Hollerbach [Wed, 13 Mar 2019 15:59:17 +0000 (16:59 +0100)]
examples_check: fix for meson-0.50

meson changed behaviour ... the json output is slightly different, the
paths are now absolut. This fixes the behaviour and makes it work with
new and old versions.

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

5 years agoui.widget: fix theme_apply working in sub_object_add
Yeongjong Lee [Mon, 11 Mar 2019 21:21:22 +0000 (21:21 +0000)]
ui.widget: fix theme_apply working in sub_object_add

It seems that theme_apply in sub_object_add haven't worked since commit
f6fa1ef6120fdebcdaf1568674c48b9d17f76f64.

scale, theme property will be set properly when the parent is changed.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8283

5 years agoRevert "ui.widget: fix theme_apply working in sub_object_add"
Marcel Hollerbach [Mon, 11 Mar 2019 20:57:45 +0000 (21:57 +0100)]
Revert "ui.widget: fix theme_apply working in sub_object_add"

This only works with a new libcheck, but not with a old one, revisiting
it.

This reverts commit da0ff534716774b35a98c359e8c7fd7bdde7a3d2.

5 years agoui.widget: fix theme_apply working in sub_object_add
Yeongjong Lee [Mon, 11 Mar 2019 09:44:16 +0000 (09:44 +0000)]
ui.widget: fix theme_apply working in sub_object_add

It seems that theme_apply in sub_object_add haven't worked since commit
f6fa1ef6120fdebcdaf1568674c48b9d17f76f64.

scale, theme property will be set properly when the parent is changed.

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

5 years agobuild: do not reply on header checking libinotify.h
Marcel Hollerbach [Sun, 3 Mar 2019 15:30:53 +0000 (16:30 +0100)]
build: do not reply on header checking libinotify.h

but rather use the sys_bsd flag. The reason why relying on the header
existance is bad, is that bsd decided to install this header, with the
essential difference, that on bsd we require to link against libinotify,
which makes the compilation fail.

ref T7710

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8093

5 years agoui.widget: add exception handling code and unit test of sub_object_add/del function
Yeongjong Lee [Mon, 11 Mar 2019 00:59:07 +0000 (00:59 +0000)]
ui.widget: add exception handling code and unit test of sub_object_add/del function

Add missing exception check code with unit test.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8282

5 years agoefl_ui_stack: Fix dereference null return value
Christopher Michael [Tue, 12 Mar 2019 14:22:26 +0000 (10:22 -0400)]
efl_ui_stack: Fix dereference null return value

Coverity reports that efl_data_scope_safe_get returns NULL here (273
out of 281 times). _end_anim dereferences pd directly, so we should
check for a valid 'pd' before calling _end_anim function.

Fixes Coverity CID1399082

@fix

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

5 years agoevas_device: Fix dereferencing null pointer
Christopher Michael [Tue, 12 Mar 2019 14:15:00 +0000 (10:15 -0400)]
evas_device: Fix dereferencing null pointer

Coverity reports that 'pos' could be null here and we are potentially
dereferencing a NULL pointer, so lets add a check for 'pos' here
before trying to use it.

Fixes Coverity CID1399091

@fix

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

5 years agoefl_ui_selection_manager: Fix unchecked return value
Christopher Michael [Tue, 12 Mar 2019 14:11:21 +0000 (10:11 -0400)]
efl_ui_selection_manager: Fix unchecked return value

This patch fixes an issue where the return value from ecore_x_init is
not checked. If we fail to initialize ecore_x, then we should print
out an error and get out.

Fixes Coverity CID1399092

@fix

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

5 years agoefl_core_command_line: Fix dereference before NULL check
Christopher Michael [Tue, 12 Mar 2019 14:07:26 +0000 (10:07 -0400)]
efl_core_command_line: Fix dereference before NULL check

This patch fixes an issue detected by Coverity where
pd->string_command is dereferenced before a NULL check.

Fixes Coverity CID1399098

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

5 years agoefl_core_command_line: Fix dereference before null check
Christopher Michael [Tue, 12 Mar 2019 13:45:18 +0000 (09:45 -0400)]
efl_core_command_line: Fix dereference before null check

Coverity reports a dereference before NULL check here. In the for
loop, we are NULL checking 'array', however it has already been
dereferenced before the 'for' loop in eina_array_new above. This patch
fixes the issue by NULL checking 'array' before we ever try to use it.

Fixes Coverity CID1399083

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

5 years agoelm_conform: remove duplicated constructor call
Yeongjong Lee [Tue, 12 Mar 2019 07:14:06 +0000 (07:14 +0000)]
elm_conform: remove duplicated constructor call

It is duplicated in commit ccbc27f24da1f6fd1494f478f36359aaf1502dc2.

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

5 years agoeina_error: On Windows strerror_s() is the same than POSIX strerror_r()
Vincent Torri [Wed, 13 Mar 2019 13:53:17 +0000 (09:53 -0400)]
eina_error: On Windows strerror_s() is the same than POSIX strerror_r()

Summary: strerror_r() does not exist on Windows, but strerror_s() does

Test Plan: compilation

Reviewers: cedric, bu5hm4n, zmike

Reviewed By: zmike

Subscribers: zmike, bu5hm4n, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_widget_common: Fix potential resource leak
Christopher Michael [Tue, 12 Mar 2019 14:18:17 +0000 (10:18 -0400)]
efl_ui_widget_common: Fix potential resource leak

Coverity reports that we potentially leak the storage of
'tree_iterator' here because we allocate the space for it, but
potentially juse return due to use of ELM_WIDGET_DATA_GET_OR_RETURN.
To fix this, just move the allocation to after the above macro is
called.

Fixes Coverity CID1399088

@fix

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8314

5 years agoelm_config: Fix unchecked return value
Christopher Michael [Tue, 12 Mar 2019 13:57:33 +0000 (09:57 -0400)]
elm_config: Fix unchecked return value

Small patch to check the return value of ecore_file_cp. Coverity
reports this as an unchecked return value, so let's just add a simple
check here.

Fixes Coverity CID1399101

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8309

5 years agoefl_core_command_line: Fix resource leak
Christopher Michael [Tue, 12 Mar 2019 13:51:25 +0000 (09:51 -0400)]
efl_core_command_line: Fix resource leak

Small patch to fix a resource leak. Variable 'command' goes out of
scope here which causes a leak.

Fixes Coverity CID1399085

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8308

5 years agoefl_core_command_line: Fix logically dead code
Christopher Michael [Tue, 12 Mar 2019 13:41:00 +0000 (09:41 -0400)]
efl_core_command_line: Fix logically dead code

Small patch to remove logically dead code. Coverity reports that
execution cannot reach the expression 0U inside this for statement. At
this point in execution, 'array' cannot be NULL, so checking for its
existence is a logically dead check.

Fixes Coverity CID1399106

@fix

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8306

5 years agoeolian: Fix resource leak
Christopher Michael [Tue, 12 Mar 2019 15:31:51 +0000 (11:31 -0400)]
eolian: Fix resource leak

Summary:
Small patch to fix a resource leak detected by Coverity. Coverity
reports that 'refls' going out of scope leaks the storage it points
to, so let's free it before we leave the function.

Fixes Coverity CID1399099
Depends on D8309

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

Reviewed By: q66

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoci: force osx libffi dep to be found
Mike Blumenkrantz [Tue, 12 Mar 2019 14:33:31 +0000 (10:33 -0400)]
ci: force osx libffi dep to be found

this is really, really stupid.

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

5 years agoeo: Fix missing varags cleanup
Christopher Michael [Tue, 12 Mar 2019 14:59:04 +0000 (10:59 -0400)]
eo: Fix missing varags cleanup

Summary:
Coverity reports that va_end is never called for p_list when we error
out of this function. This patch adds a missing va_end before we error
out of here.

Fixes Coverity CID1399080

@fix
Depends on D8315

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

Reviewed By: q66

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agorelease: Update NEWS and bump version for 1.22.0-beta1 release
Stefan Schmidt [Tue, 12 Mar 2019 13:38:11 +0000 (14:38 +0100)]
release: Update NEWS and bump version for 1.22.0-beta1 release

5 years agoEfl_Core.h include Efl.h unconditionally
Mike Blumenkrantz [Tue, 12 Mar 2019 13:17:23 +0000 (14:17 +0100)]
Efl_Core.h include Efl.h unconditionally

Summary: this was added by accident in D8244

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl_api

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

5 years agoexamples: bg_cxx: disable win.background in example
Stefan Schmidt [Tue, 12 Mar 2019 12:27:22 +0000 (13:27 +0100)]
examples: bg_cxx: disable win.background in example

Since commit ceb4c04d3b8f8eb94d63174b7b6f43641ea508a8 the parts block in
efl.ui.widget is disabled which leads to compile errors of the example.

5 years agotests: eolian_cxx: make sure we add beta_class.eo to dist
Stefan Schmidt [Tue, 12 Mar 2019 11:48:33 +0000 (12:48 +0100)]
tests: eolian_cxx: make sure we add beta_class.eo to dist

Since commit 2a003420f83134331c8b404df1905cba538cfad6 we need
beta_class.eo for the eolain cxx test suite. I never was added to the
files for dist, thus breaking distcheck.

5 years agoefl_ui_navigation_layout: fix bar value to be Efl.Ui.Layout_Base
Jaehyun Cho [Tue, 12 Mar 2019 05:42:28 +0000 (14:42 +0900)]
efl_ui_navigation_layout: fix bar value to be Efl.Ui.Layout_Base

Since Efl.Ui.Layout is renamed to Efl.Ui.Layout_Base, the bar value is
fixed to be Efl.Ui.Layout_Base.

5 years agoEfl_Ui.h: move stack and navigation headers to Efl_Ui.h
Jaehyun Cho [Tue, 12 Mar 2019 05:39:06 +0000 (14:39 +0900)]
Efl_Ui.h: move stack and navigation headers to Efl_Ui.h

The following efl ui headers move from Elementary.h to Efl_Ui.h.
efl_ui_navigation_bar.eo.h
efl_ui_navigation_bar_part.eo.h
efl_ui_navigation_bar_part_back_button.eo.h
efl_ui_navigation_layout.eo.h
efl_ui_stack.eo.h

5 years agoefl_ui_widget: refactor sub_object handling
Marcel Hollerbach [Tue, 26 Feb 2019 14:38:28 +0000 (15:38 +0100)]
efl_ui_widget: refactor sub_object handling

efl_ui_widget has a property called widget_parent. The setter for this
function is called is exactly once, and this is within the constructor,
to a value which is not even set to the actaul field parent_obj. Which
shows, that in the sitation right now, the setter of the property is a
bit disconnected and lags some real aspects.
As we are heading towards eo-api stabilization we should beat some sense
into this setter, as people using our classes might overwrite the setter
and except calls to it, whenever the widget_parent is changed, and
implementation as in elm_menu show that this might makes sense sometime.

In order to achive this, the sub_object registering code of elm is
adjusted a bit.
sub_object_add/del is now used to differenciate between evas objects and
efl.ui.widget objects as subobject. In case of a widget, the
widget_parent of this object is set, most of the widget specific code is
then executed in the actaul setter. In case of an evas object, the
parent reference is added. In the end both end up in the subobject
children list. The later is also a requirement for widget_parent_set to
be successfull.

ref T7553

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8031

Change-Id: I32ee38e867668e8fef486dc4807d42cc2c3a589c

5 years agoelm_object: Restore child_can_focus 67/201267/5
Yeongjong Lee [Tue, 12 Mar 2019 04:15:49 +0000 (13:15 +0900)]
elm_object: Restore child_can_focus

child_can_focus is needed for legacy focus.

@tizen_fix

Change-Id: Ifa36e5065af4b0a9d7ccc9983bae0be144d4daa2

5 years agomeson: fix typo for elementary meson definition 25/202625/2
Wonki Kim [Tue, 2 Apr 2019 02:25:29 +0000 (11:25 +0900)]
meson: fix typo for elementary meson definition

there is a typo error on a meson defintion for elementary
this patch fixes it

Change-Id: Ie263b82f87da6f8d4f6b7f8298dab380b0042b5c

5 years agoentry: move a point to do 'auto_save' to another place 02/202602/2
Wonki Kim [Wed, 27 Mar 2019 14:18:33 +0000 (10:18 -0400)]
entry: move a point to do 'auto_save' to another place

Summary:
By reworking on efl_file, logic flow for entry has been changed.
and it causes autosave making a file that is passed to elm_entry_file_set empty.

Test Plan:
1. call elm_entry_file_set for a file.
2. check the file is not empty after calling the function.

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I96a4c9602e9a3e74c2c3cec24e4b5f3e5a1dbc13

5 years agoRevert "entry: move a point to do 'auto_save' to another place" 01/202601/2
Hermet Park [Mon, 1 Apr 2019 10:40:53 +0000 (19:40 +0900)]
Revert "entry: move a point to do 'auto_save' to another place"

This reverts commit 01225c04d2cc94feceabe317b4338c11c9ea7e45.

Official patch will be cherry-picked instead.

Change-Id: Ieead7bc19595efdb7e059e5c16e683bb0a27d5be

5 years agomeson: fix meson definitions for keeping compat 22/202622/2
Wonki Kim [Mon, 1 Apr 2019 07:58:16 +0000 (16:58 +0900)]
meson: fix meson definitions for keeping compat

this patch fixes meson definitions to keep it making same output like autotools

Change-Id: I8d72d9ac1267f1ddd278d4c57159e95455739451

5 years agoFix for not working atspi 32/202532/2
Radoslaw Cybulski [Fri, 29 Mar 2019 11:58:17 +0000 (12:58 +0100)]
Fix for not working atspi

Some ATSPI flags were missing in elm_states_to_atspi_state table,
which prevent HIGHLIGHTABLE and HIGHLIGHTED flags from showing up.
Which prevented screen-reader / universal switch from operating on
anything completely.

Change-Id: I8eee2cf19897d064a49b632786821110933836b7

5 years agofix for crash in _sort_items function due to sorting NULL pointers 76/202276/3
Radoslaw Cybulski [Tue, 26 Mar 2019 13:04:16 +0000 (14:04 +0100)]
fix for crash in _sort_items function due to sorting NULL pointers

Fixes issue in TDAF-835 on fridges. Calling elm_gengrid_clear would
cause crash due to sorting atspi elements. Comparision function would
get two NULLs and trying to derefence them would issue a crash

Change-Id: Ib1771503fcc467c26f3c550188ea65eaeaf495df

5 years agoentry: move a point to do 'auto_save' to another place 03/202303/1 accepted/tizen/unified/20190327.160540 submit/tizen/20190327.041330
Wonki Kim [Tue, 26 Mar 2019 11:02:40 +0000 (20:02 +0900)]
entry: move a point to do 'auto_save' to another place

Summary:
By reworking on efl_file, logic flow for entry has been changed.
and it causes autosave making a file that is passed to elm_entry_file_set empty.

Test Plan:
1. call elm_entry_file_set for a file.
2. check the file is not empty after calling the function.

Reviewers: zmike, bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ifdf7f440a3e700c9e12ccee637b9656835ad2808

5 years agoelm_win: fix correct return value on elm_win_rotation_get
Yeongjong Lee [Tue, 26 Mar 2019 10:48:30 +0000 (19:48 +0900)]
elm_win: fix correct return value on elm_win_rotation_get

Summary:
Before b3327c761e, -1 was returned on`elm_win_rotation_get`, if `obj` is NULL.
This fixes backward compatibility.

Test Plan: make check

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_zoomable: fix widget
Marcel Hollerbach [Tue, 19 Mar 2019 13:37:57 +0000 (09:37 -0400)]
efl_ui_zoomable: fix widget

Summary:
before the efl_file_set operations have been safed, and then applied on
the internal evas_image. With the refactor
6326e18b3fb2a4757f8ffa22be5d55a75da23049, this was broken, and the
file_set was applied to the super object which is a layout here.

fix T7748

Reviewers: zmike, segfaultxavi, cedric, devilhorns

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7748

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

5 years agoelm_photocam: fix correct return value in elm_photocam_file_set
Yeongjong Lee [Tue, 26 Mar 2019 06:04:52 +0000 (15:04 +0900)]
elm_photocam: fix correct return value in elm_photocam_file_set

Test Plan: `elm_photocam_file_set(NULL, "file_name");`

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agomeson: introduce to meson build system 68/199868/38
Wonki Kim [Fri, 11 Jan 2019 01:49:32 +0000 (10:49 +0900)]
meson: introduce to meson build system

this patch introduce to meson build system.
but meson build is not enabled by default.

you can use meson build system
once you pass --define "buildsystem meson" at the end of gbs build command.

Change-Id: I83287465e2920908d6f4ae8155b44fd44c95d645

5 years agoelm_photocam: fix file_get,set operations
Yeongjong Lee [Tue, 26 Mar 2019 04:16:32 +0000 (13:16 +0900)]
elm_photocam: fix file_get,set operations

Summary: This patch fixes bug that elm_photocam_file_get always return NULL.

Test Plan: make check

Reviewers: Hermet, zmike, bu5hm4n

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_win: prevent segfault in elm_win_keygrab_set 73/202173/1
Yeongjong Lee [Mon, 25 Mar 2019 10:47:44 +0000 (19:47 +0900)]
efl_ui_win: prevent segfault in elm_win_keygrab_set

When obj is not EFL_UI_WIN_CLASS, just return EINA_FALSE.

ref 3277cbf48e2026aa8478eaecda7d830559328722

Change-Id: I6a9c55664ee8e7b107029a99b9524104fcf69e68

5 years agoelm_win: fix correct rot variable in elm_win_rotation_get
Yeongjong Lee [Mon, 25 Mar 2019 10:33:29 +0000 (10:33 +0000)]
elm_win: fix correct rot variable in elm_win_rotation_get

Remove duplicated rotation variable

Also, it fixes wrong layout class comparing.

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

5 years agoefl_ui_win: fix incorrect change 21/202121/2
Shinwoo Kim [Mon, 25 Mar 2019 02:52:49 +0000 (11:52 +0900)]
efl_ui_win: fix incorrect change

Following commit has an incorrect line.
The parent in _elm_win_finalize_internal is always NULL if an obj is legacy.

commit 386b6b1eed0b033d38b0a95a69f03ce7eba34eed
Author: Taehyub Kim <taehyub.kim@samsung.com>
Date:   Thu Mar 21 16:35:50 2019 +0900

    efl_ui_win: support legacy window behavior compatibility

Change-Id: Ia63d1244b9681fa844d2a1f1185ab12510569c77

5 years agoentry: select full password even if special characters like @ are present 89/201789/2
Prateek Thakur [Tue, 19 Mar 2019 19:29:23 +0000 (00:59 +0530)]
entry: select full password even if special characters like @ are present

Select whole entry in case of password mode.
Currently in case of password mode if special characters like @ are present
then on double click only the characters till @ are selected.

@tizen_fix

Change-Id: I90304780bfb13350eac3a7d078d9abae72dd21f7
Signed-off-by: Prateek Thakur <prateek.th@samsung.com>
5 years agoelm_atspi_proxy: remove all legacy usage from eo files 58/202058/2
Jaehyun Cho [Fri, 22 Mar 2019 04:55:56 +0000 (13:55 +0900)]
elm_atspi_proxy: remove all legacy usage from eo files

this takes the current generated output from eolian for legacy code in
efl and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree

ref T7724

Change-Id: Id177e3e193589e8147c97ee14d5b5311e6ec6604

5 years agoelm_atspi_ewk_wrapper: remove all legacy usage from eo files 57/202057/2
Jaehyun Cho [Fri, 22 Mar 2019 04:42:56 +0000 (13:42 +0900)]
elm_atspi_ewk_wrapper: remove all legacy usage from eo files

this takes the current generated output from eolian for legacy code in
efl and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree

ref T7724

Change-Id: I7c4d070cf8ec121080b0534fba6c0b74314651cf

5 years agoelm_atspi_bridge: remove all legacy usage from eo files 56/202056/2
Jaehyun Cho [Thu, 21 Mar 2019 12:29:00 +0000 (21:29 +0900)]
elm_atspi_bridge: remove all legacy usage from eo files

this takes the current generated output from eolian for legacy code in
efl and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree

ref T7724

Change-Id: I1913b42365336fab29b8d59aa992b26f22fe39b0

5 years agoelm_atspi_app_object: remove all legacy usage from eo files 55/202055/2
Jaehyun Cho [Thu, 21 Mar 2019 12:06:09 +0000 (21:06 +0900)]
elm_atspi_app_object: remove all legacy usage from eo files

this takes the current generated output from eolian for legacy code in
efl and adds it to the tree, then removes legacy references from the
corresponding eo files. in the case where the entire eo file was for
a legacy object, that eo file has been removed from the tree

ref T7724

Change-Id: If3f1819435d4d8dced717b8634e11d026164905f

5 years agoelc_popup: fix to show popup correctly. 32/202032/1
Taehyub Kim [Fri, 22 Mar 2019 04:37:38 +0000 (13:37 +0900)]
elc_popup: fix to show popup correctly.
           - fix wrong usage of popup theme apply
           - use win rotation value instead of the removed orientation feature

Change-Id: Iea574fd58c0980e5f6d23505af709fda56bc64c9

5 years agoefl_ui_layout: Eina_Error type has been modified to work correctly. 25/202025/1
Taehyub Kim [Fri, 22 Mar 2019 03:38:44 +0000 (12:38 +0900)]
efl_ui_layout: Eina_Error type has been modified to work correctly.

Summary:
fix Eina_Error type calculation in _efl_ui_layout_base_efl_ui_widget_theme_apply() to behave as before.

@fix

Test Plan: run elementary_test for all widgets

Reviewers: #reviewers, Jaehyun_Cho, Hermet

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #committers

Tags: #efl

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

Change-Id: Icce083a8785842972ac549519128775c880e292f

5 years agoelm : fix wrong layout class comparing in orientation mode disable 78/201978/2
SangHyeon Jade Lee [Thu, 21 Mar 2019 09:09:53 +0000 (18:09 +0900)]
elm : fix wrong layout class comparing in orientation mode disable

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

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Iebbf1da76fc2309f16db7e7eabcca0b82e6fe3d8

5 years agoelm : fallback orientation_mode_disable_set legacy behavior to get true disabled... 77/201977/2
SangHyeon Jade Lee [Thu, 21 Mar 2019 09:08:46 +0000 (18:08 +0900)]
elm : fallback orientation_mode_disable_set legacy behavior to get true disabled state as what we set.

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

Test Plan: we have test suite on legacy action, and previous patch was failed to pass the test case.

Reviewers: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I4251eb01451e61351942e2d5012188057fccba91

5 years ago elm_win: bug fix - add keygrab unset code when wayland backend 81/201881/2
Jongmin Lee [Wed, 20 Mar 2019 11:41:10 +0000 (20:41 +0900)]
elm_win: bug fix - add keygrab unset code when wayland backend

    add keygrab unset code and change keygrab set code to reduce function call.
    @tizen_feature

Author:     Ji-Youn Park <jy0703.park@samsung.com>

Commit-Id:  44014304034460784b62a40afa088f7fd8405050

Change-Id: If86adf73a4ee115a6c32463996066a4e9116c8de

5 years agoelm_layout: fix elm_layout_text_set to return proper result 47/201947/2
Bowon Ryu [Thu, 21 Mar 2019 06:37:53 +0000 (15:37 +0900)]
elm_layout: fix elm_layout_text_set to return proper result

It fixes API breaks of upstream EFL.

* Add missing code during migration.

@tizen_fix

Change-Id: Ibda35b120576466a187e2c716ad8b100a3bacc90
Signed-off-by: Bowon Ryu <bowon.ryu@samsung.com>
5 years agoElementary: fix migration errors 85/201885/4
Yeongjong Lee [Wed, 20 Mar 2019 11:59:00 +0000 (20:59 +0900)]
Elementary: fix migration errors

Restore Tizen only eo.

Change-Id: Id5d01610e7af9819ccda1cab4b9821a993e4401c

5 years agoefl_ui_win: support legacy window behavior compatibility 58/201958/1
Taehyub Kim [Thu, 21 Mar 2019 07:35:50 +0000 (16:35 +0900)]
efl_ui_win: support legacy window behavior compatibility

Change-Id: Iebf9d6fcc08ba37cdd0df7e6cd17abd45c16b8b9

5 years agoelm_entry: fix to keep api backward compatability 79/201879/2
Wonki Kim [Fri, 15 Mar 2019 14:32:55 +0000 (10:32 -0400)]
elm_entry: fix to keep api backward compatability

Summary:
if passing NULL as filename to elm_entry_file_set,
elm_entry_entry_get NULL as return value before.
and it doesn't now.

Test Plan:
1. passing a existing file to efl_entry_file_set
2. passing NULL as file to efl_entry_file_set
3. check return value of elm_entry_entry_get

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: I89fd726f7691f7105ec201b8b132fce546c38f58

5 years agoelm_entry: fix to return a error code if a argument is not valid 78/201878/2
Wonki Kim [Fri, 15 Mar 2019 14:27:20 +0000 (10:27 -0400)]
elm_entry: fix to return a error code if a argument is not valid

Summary:
if format is not specified, it should return some error code.
this is a kind of a patch to keep backward compatability of the api.

Reviewers: zmike, bu5hm4n

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Iab09f7d4bf782e50d1cd5c17a23f71f2b1ed5609

5 years agoevas_events: prevent double event_freeze in evas_object_freeze_events_set 76/201876/1
Yeongjong Lee [Fri, 15 Mar 2019 14:35:17 +0000 (10:35 -0400)]
evas_events: prevent double event_freeze in evas_object_freeze_events_set

Summary:
This patch prevent that event_freeze_count is greater than 1 in
`evas_object_freeze_events_set`

Test Plan: make check

Reviewers: bu5hm4n, zmike

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

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

Change-Id: Ia8474fd064a83f7824c985269f32116954189968

5 years agodocs: Correct wrong group names and marks internal 33/201833/1 submit/tizen/20190320.100510
Myoungwoon Roy, Kim [Tue, 19 Mar 2019 23:55:06 +0000 (08:55 +0900)]
docs: Correct wrong group names and marks internal

Change-Id: I4ab69495da52db12a4ca67041f2267af80f0ba2e

5 years agoevas vg: remove evas_object_vg_mmap_set() 53/201353/2
Hermet Park [Wed, 13 Mar 2019 05:16:58 +0000 (14:16 +0900)]
evas vg: remove evas_object_vg_mmap_set()

the api is not necessary, remove it before official release.

Change-Id: I80061d5d6ae5af11427954a4fb4f9e9aac287bd6

5 years agoEvas: Add type convert function for BIDI_Direction_Type. 89/201689/2 submit/tizen/20190319.041006
JunsuChoi [Tue, 19 Mar 2019 01:37:25 +0000 (10:37 +0900)]
Evas: Add type convert function for BIDI_Direction_Type.

Summary:
   evas_object_paragraph_direction_set/get function shoud keep parameta type Evas_BiDi_Direction.
   So, I add convert function.

Test Plan: N/A

Reviewers: zmike, Jaehyun_Cho, herb

Subscribers: cedric, #reviewers, Hermet, #committers

Tags: #efl

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

Change-Id: Ib2ec01a94df64ddaf6d3fe60cceb95fd2dd3d6c6

5 years agoEcore: fix migration build erros related to beta APIs 96/201696/1
Taehyub Kim [Tue, 19 Mar 2019 02:35:12 +0000 (11:35 +0900)]
Ecore: fix migration build erros related to beta APIs

Change-Id: I8523a818f430d5949af71a7569226dceac42e208

5 years agoEvas: fix migration build erros related to beta APIs 64/201664/1 submit/tizen/20190318.114709
Taehyub Kim [Mon, 18 Mar 2019 11:45:04 +0000 (20:45 +0900)]
Evas: fix migration build erros related to beta APIs

Change-Id: Icf7be0968a5246a3eecd41ab982e0e67684446ce

5 years agoefl_ui: fix headers
Marcel Hollerbach [Thu, 14 Mar 2019 18:26:30 +0000 (14:26 -0400)]
efl_ui: fix headers

Summary:
the function parameters is a only beta, so this function should be beta.
Depends on D8341

Reviewers: zmike, segfaultxavi

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoFix for migration missing code (24f32c5 ~ 64352f2) #3 submit/tizen/20190318.043110 submit/tizen/20190318.043137 submit/tizen/20190318.043555
JunsuChoi [Fri, 15 Mar 2019 09:55:17 +0000 (18:55 +0900)]
Fix for migration missing code (24f32c5 ~ 64352f2) #3

Change-Id: Icc69a217376ed2f26b065d0b2a1d559f1af638a4

5 years agoefl_ui_widget: Remove lagacy:null keyword.
JunsuChoi [Thu, 14 Mar 2019 09:28:52 +0000 (18:28 +0900)]
efl_ui_widget: Remove lagacy:null keyword.

Change-Id: I4953dd9329c2da908c029424da75eb72f865a975

5 years agocsharp: Fix event names with underscore.
Lauro Moura [Mon, 11 Mar 2019 22:22:28 +0000 (19:22 -0300)]
csharp: Fix event names with underscore.

Summary:
names like `focus_geometry,changed` shoud be converted to
FocusGeometryChanged instead of Focus_geometryChanged.

Fixes T7735

Test Plan: run tests

Reviewers: vitor.sousa, felipealmeida, segfaultxavi

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7735

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

5 years agoefl: mark render,post event as beta.
Cedric BAIL [Mon, 11 Mar 2019 21:52:40 +0000 (17:52 -0400)]
efl: mark render,post event as beta.

Summary:
render,post is just forwarding the legacy type which is not the best as it expose
internal structure directly. Planning to move to an accessor for after this release,
but at this time it does imply way to much change for this current release.

Depends on D8249

Reviewers: zmike, stefan_schmidt, segfaultxavi, bu5hm4n

Reviewed By: zmike, bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl_api, PHID-PROJ-55rnlag4d454jfmlmuhu

Maniphest Tasks: T7729

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

5 years agoelementary: none of this call should have propagated any legacy call.
Cedric BAIL [Mon, 11 Mar 2019 21:52:38 +0000 (17:52 -0400)]
elementary: none of this call should have propagated any legacy call.

Summary:
Triggering legacy event call for non legacy event on a an object that is
also non legacy made little sense.

Reviewers: zmike, stefan_schmidt, segfaultxavi, bu5hm4n

Reviewed By: zmike, bu5hm4n

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7729

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

5 years agoefl_ui_focus_object: fixup properties that are used for event infos.
Marcel Hollerbach [Mon, 11 Mar 2019 21:47:05 +0000 (17:47 -0400)]
efl_ui_focus_object: fixup properties that are used for event infos.

Summary:
those are the completly wrong properties, please be carefull with this.
There is a major difference between focus_geometry and geometry on the
entity. In a viewport for example its the viewport itself - the bars at
the side. Additionally, not every focus object is a efl.gfx.entity.

this fixes a giant amount of errors when you try to test terminology,
emixer, toolbar tests or something like this.

fixup 1d9fef8da6fb4f679113d9dc4f57f1520fd31936

Reviewers: cedric, segfaultxavi, zmike

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl.ui.widget: disable parts{} block for now
Mike Blumenkrantz [Mon, 11 Mar 2019 20:20:09 +0000 (16:20 -0400)]
efl.ui.widget: disable parts{} block for now

the part is not stable, as the type is not stable. However, we lack the
support of declaring parts beta, so we just comment them out.
This can be reverted after the release.

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8298

5 years agoapi: mark efl.loop_timer stable
Mike Blumenkrantz [Mon, 11 Mar 2019 17:50:51 +0000 (13:50 -0400)]
api: mark efl.loop_timer stable

fix T7731

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8296

5 years agoefl_ui_focus_composition: get geometry from canvas object not adapter
Mike Blumenkrantz [Mon, 11 Mar 2019 15:45:18 +0000 (11:45 -0400)]
efl_ui_focus_composition: get geometry from canvas object not adapter

the adapter has no geometry, so we must use the object from the adapter data

ref D8287

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8295

5 years agoefl.ui.win: merge fullscreen+maximize events to use *,changed naming
Mike Blumenkrantz [Mon, 11 Mar 2019 15:30:22 +0000 (11:30 -0400)]
efl.ui.win: merge fullscreen+maximize events to use *,changed naming

ref T7511

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8294

Change-Id: I2b63e05518a8054566e5ccbbecdb5f6eccc4a499

5 years agoefl.ui.win: add event info to 'rotation,changed' event and rename
Mike Blumenkrantz [Mon, 11 Mar 2019 15:22:04 +0000 (11:22 -0400)]
efl.ui.win: add event info to 'rotation,changed' event and rename

be consistent with property name and '*,changed' event info convention

ref T7511

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8293

Change-Id: I6746688bde1bdc33356637b490c0216b1803da13

5 years agoefl: mark most generated eina.error vars as @beta
Mike Blumenkrantz [Mon, 11 Mar 2019 15:16:07 +0000 (11:16 -0400)]
efl: mark most generated eina.error vars as @beta

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8292

5 years agoautotools: add more files to EXTRA_DIST2
Mike Blumenkrantz [Mon, 11 Mar 2019 15:00:23 +0000 (11:00 -0400)]
autotools: add more files to EXTRA_DIST2

fixes distcheck

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8291

5 years agoefl.input.interface: mark seat_event_filter @beta
Mike Blumenkrantz [Mon, 11 Mar 2019 15:00:03 +0000 (11:00 -0400)]
efl.input.interface: mark seat_event_filter @beta

ref T7562

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8290

5 years agoefl_ui_widget: mark some oversawn event as beta
Marcel Hollerbach [Mon, 11 Mar 2019 19:52:14 +0000 (20:52 +0100)]
efl_ui_widget: mark some oversawn event as beta

this was overseen and should be refactored.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8297

Change-Id: Ie5ef2d0f471578fcabb95ebd310fabaa65ae7165

5 years agoefl-csharp: Respect beta for classes and other stuff.
Lauro Moura [Mon, 11 Mar 2019 18:46:12 +0000 (15:46 -0300)]
efl-csharp: Respect beta for classes and other stuff.

Summary:
In order to work around an issue with Efl.App, which is stable but
inherits from Efl.Core.Command_Line, @beta interfaces/mixins in the
inheritance chain are simply skipped.

Also changed the class used int test for inheritance from C#

Efl.Loop is stable but internally it uses a @beta class as argument to
its Register() method in the constructor. When instantiating a
user-defined C# subclass, the binding calls the C# override in the
NativeInherit class and the marshalling fails as no code is generated
for the beta class.

Also moved Efl.Part test to a beta class. Efl.Part is still beta.

Regarding parts, they are skipped if its class is @beta too.

Also rejected all elm_* files in elm public eo files. They should get
back in as they are converted to Efl.Ui.* api. An exception is
elm_interface_scrollable.eo, as efl_ui_panel depends on it.

Fixes T7730

Test Plan: Run tests

Reviewers: vitor.sousa, segfaultxavi, felipealmeida, cedric, bu5hm4n, zmike

Reviewed By: vitor.sousa

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7730

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

5 years agoeolian-cxx: Add beta information to *_def
Lauro Moura [Mon, 11 Mar 2019 16:02:51 +0000 (13:02 -0300)]
eolian-cxx: Add beta information to *_def

Summary: Fixes T7732

Reviewers: cedric, felipealmeida, vitor.sousa, bu5hm4n

Reviewed By: vitor.sousa

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7732

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

5 years agomono-examples: Adapt to latest API syntax
Xavi Artigas [Mon, 11 Mar 2019 16:20:59 +0000 (17:20 +0100)]
mono-examples: Adapt to latest API syntax

5 years agocxx: Fix examples compilation.
Lauro Moura [Mon, 11 Mar 2019 15:34:45 +0000 (11:34 -0400)]
cxx: Fix examples compilation.

Summary:
- Changed beta methods guards from CLASS_NAME_GUARD to
  EFL_BETA_API_SUPPORT to use the same scheme as C.
- Removed some includes to Efl_Ui.h from the examples. These were
  causing C's efl_part_get to not be generated due to EFL_PART_PROTECTED
  not being yet defined (it is defined in Elementary.hh, included
  afterwards). This was leading to Efl.Part.impl.hh trying to use a
  non-existent method.

Fixes T7716 partially (missing stringshare issue)

Test Plan: make examples

Reviewers: stefan_schmidt, felipealmeida, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7716

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

5 years agoedje.types: mark Efl.Canvas.Layout_Part_Type beta again
Mike Blumenkrantz [Mon, 11 Mar 2019 15:28:49 +0000 (16:28 +0100)]
edje.types: mark Efl.Canvas.Layout_Part_Type beta again

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl_api

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