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

5 years agoefl.input.types: mark enums beta again and use legacy types in legacy code
Mike Blumenkrantz [Mon, 11 Mar 2019 15:15:17 +0000 (16:15 +0100)]
efl.input.types: mark enums beta again and use legacy types in legacy code

Summary:
these types are not currently being released and eolian should not have
generated legacy code using them

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl_api

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

5 years agoefl.ui.focus.object: add geometry to focus_geometry,changed event
Mike Blumenkrantz [Mon, 11 Mar 2019 14:46:12 +0000 (15:46 +0100)]
efl.ui.focus.object: add geometry to focus_geometry,changed event

Summary: ref T7571

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl_api

Maniphest Tasks: T7571

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

5 years agoeolian: enable checking of beta/stable contexts in all classes
Daniel Kolesa [Mon, 11 Mar 2019 12:31:55 +0000 (13:31 +0100)]
eolian: enable checking of beta/stable contexts in all classes

Summary:
This enables all the checks unconditionally, without ignoring
classes that don't have an Efl namespace. This required a lot
of beta marking to make it build. It most likely doesn't
mark types correctly, as that is not fully enabled yet.

Reviewers: zmike, cedric, segfaultxavi, bu5hm4n

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoui.widget: enhance documentation of sub_object_add
Yeongjong Lee [Mon, 11 Mar 2019 11:17:17 +0000 (12:17 +0100)]
ui.widget: enhance documentation of sub_object_add

Reviewers: segfaultxavi, bu5hm4n

Reviewed By: segfaultxavi, bu5hm4n

Subscribers: bu5hm4n, kimcinoo, cedric, #reviewers, #committers

Tags: #efl

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

5 years agobuild: repair faulty rule
Marcel Hollerbach [Sun, 10 Mar 2019 12:47:48 +0000 (13:47 +0100)]
build: repair faulty rule

this deleted wrong files.

5 years agoRevert "elementary,evas: remove obsolete legacy includes"
Carsten Haitzler (Rasterman) [Sat, 9 Mar 2019 15:50:55 +0000 (15:50 +0000)]
Revert "elementary,evas: remove obsolete legacy includes"

This reverts commit c876ac52d91806bfc6440b10387ccb91e6a75abf.

This is not safe to remove - this breaks enlightenment. perhaps test
with the reason efl exists in the first place before delcaring it
safe? specifically this removed some function symbols in
efl_canvas_event_grabber_eo.legacy.c ...

Change-Id: I6ef1b80b3c78597b3d3240eee2326a4017460abf

5 years agoefl: ensure legacy is only relying on stable types
Marcel Hollerbach [Sat, 9 Mar 2019 15:36:21 +0000 (16:36 +0100)]
efl: ensure legacy is only relying on stable types

Summary:
This commit changes the beta ness of a few types, those types are
looking quite stable. Edje types will likely not change. The
Efl.Gfx.Join types are actaully already stable since the last release,
since evas_vg was stable back then and those enums have been in there.

The elementary stuff looks a bit unthought, and we have the chance to
change the API in the backend, so maybe we want to not declare it
stable, but rather reintroduce the legacy types.

With this we can enable eolian generation of beta tags for types.

ref T7726

Depends on D8276

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt, q66

Reviewed By: segfaultxavi, q66

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7726

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

5 years agoeolian: drop env var checking that is unneccessary
Marcel Hollerbach [Sat, 9 Mar 2019 15:37:40 +0000 (16:37 +0100)]
eolian: drop env var checking that is unneccessary

Summary: This now does work, and we can enable the full checks

Reviewers: segfaultxavi, cedric, q66, zmike

Reviewed By: q66

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agosolve neon rotation issue by moving to the tiled rotator
Carsten Haitzler (Rasterman) [Sat, 9 Mar 2019 15:19:28 +0000 (15:19 +0000)]
solve neon rotation issue by moving to the tiled rotator

the tiles rotator is faster no matter what. this will fix D8099 by
movoing to tiled rotation and nuking the neon code and we end uop
being faster anyway in all cases.

@fix

5 years agoefl: mark types beta that have been missed before
Marcel Hollerbach [Sat, 9 Mar 2019 13:27:23 +0000 (14:27 +0100)]
efl: mark types beta that have been missed before

Summary:
With this we can drop the getenv in eolian, and enable beta checking per
default.

ref T7584
Depends on D8274

Reviewers: segfaultxavi, cedric, q66, zmike

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7584

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

5 years agoefl_gfx_types: pull 2 types out of beta
Marcel Hollerbach [Sat, 9 Mar 2019 13:17:07 +0000 (14:17 +0100)]
efl_gfx_types: pull 2 types out of beta

Summary:
those types are now used in stable API, we should mark it stable.

ref T7584

Reviewers: segfaultxavi, cedric, q66, zmike

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7584

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

5 years agoefl: apply the stabilzed column of the efl api board
Marcel Hollerbach [Sat, 9 Mar 2019 12:44:17 +0000 (13:44 +0100)]
efl: apply the stabilzed column of the efl api board

Summary:
The project https://phab.enlightenment.org/tag/efl_api/ has been used in
the last few weeks to figure out which classes can be stablized and
which cannot. This commit moves those dedicated classes outside beta.
And makes them stable.

ref T7601
ref T7600
ref T7599
ref T7598
ref T7597
ref T7596
ref T7594
ref T7593
ref T7591
ref T7590
ref T7589
ref T7588
ref T7583
ref T7582
ref T7581
ref T7576
ref T7570
ref T7567
ref T7564
ref T7563
ref T7560
ref T7559
ref T7672
ref T7584
ref T7577
ref T7571
ref T7558
ref T7555
ref T7554
ref T7553
ref T7512
ref T7511

Depends on D8272

Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511

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

Change-Id: I3a759062b08e035903632360ab4ebf66e2ba37b8

5 years agoefl_ui_focus_manager: move API into beta which is for debugging
Marcel Hollerbach [Sat, 9 Mar 2019 12:40:21 +0000 (13:40 +0100)]
efl_ui_focus_manager: move API into beta which is for debugging

Summary:
there is no sense to have this outside beta, noone should really use
this. It is only meant for debugging purposes.

ref T7726

Depends on D8271

Reviewers: segfaultxavi, cedric, zmike

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7726

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

5 years agoefl_ui: repair a few docs
Marcel Hollerbach [Sat, 9 Mar 2019 12:36:54 +0000 (13:36 +0100)]
efl_ui: repair a few docs

Summary:
ref T7726

Depends on D8270

Reviewers: segfaultxavi, cedric, zmike

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7726

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

5 years agoefl_ui_types: rename move_prolicy field
Marcel Hollerbach [Sat, 9 Mar 2019 12:32:17 +0000 (13:32 +0100)]
efl_ui_types: rename move_prolicy field

Summary:
in was not very descriptiv, move_in was concluded to be more descriptive

ref T7726

Reviewers: segfaultxavi, cedric, zmike

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7726

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

5 years agoefl_ui_widget: remove widget_parent overwritting
Marcel Hollerbach [Wed, 27 Feb 2019 16:46:16 +0000 (17:46 +0100)]
efl_ui_widget: remove widget_parent overwritting

before the widget_parent have been only set once. The call to the set
was in the constructor and carried the efl_parent. In the next commit
widget_parent is getting a refactor, which gives it more meaning, where
it is actaully called, which means, the behaviour will change. In order
to not break every existing usage of the here changed widgets, we move
the code to the constructor, and feed it with the efl_parent, just like
before.

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

Change-Id: Id39fb73831c45d33b6c419316e806fafec9cbfaf

5 years agoeo: make reflection getter const function.
Cedric BAIL [Fri, 15 Feb 2019 21:48:59 +0000 (13:48 -0800)]
eo: make reflection getter const function.

Getter are usually not modifying there object. This is going to put a strong
limit on what a getter property for MVVM is, as it will prevent any side
effect on getting a property from a View.

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

5 years agoefl: for consistency and effiency move Efl.Model event to send stringshare like Prope...
Cedric BAIL [Wed, 13 Feb 2019 18:46:31 +0000 (10:46 -0800)]
efl: for consistency and effiency move Efl.Model event to send stringshare like Property_Bind event.

Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7946

5 years agoefl: add an event for the View to know if someone did bound a property.
Cedric BAIL [Wed, 13 Feb 2019 00:47:31 +0000 (16:47 -0800)]
efl: add an event for the View to know if someone did bound a property.

Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7945

5 years agoelementary: rely on Efl.Ui.Widget to do more of property binding for MVVM in Efl...
Cedric BAIL [Tue, 12 Feb 2019 19:55:50 +0000 (11:55 -0800)]
elementary: rely on Efl.Ui.Widget to do more of property binding for MVVM in Efl.Ui.Layout.

Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7943

Change-Id: I40296ad06a11711cc914fbd178ead1ed93b6c3da

5 years agoelementary: Efl.Ui.Image now rely on Efl.Ui.Widget infrastructure for View and Proper...
Cedric BAIL [Tue, 12 Feb 2019 18:52:43 +0000 (10:52 -0800)]
elementary: Efl.Ui.Image now rely on Efl.Ui.Widget infrastructure for View and Property_Bind.

Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7942

5 years agoelementary: implemente property_bind support on all widget using property reflection.
Cedric BAIL [Tue, 12 Feb 2019 02:28:22 +0000 (18:28 -0800)]
elementary: implemente property_bind support on all widget using property reflection.

This means that all property that are registered in the reflection table of
any Eo class will be available for binding with a model. This will increase
the amount of useful binding quickly.

Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D7941

Change-Id: Ia938748ab83c9a9fc0afcff5bd65b57fb9780312

5 years agoefl: add an event to notify that the View property has changed.
Cedric BAIL [Tue, 12 Feb 2019 18:09:43 +0000 (10:09 -0800)]
efl: add an event to notify that the View property has changed.

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Lauro Neto <Lauro Moura <lauromoura@expertisesolutions.com.br>>
Differential Revision: https://phab.enlightenment.org/D7940

5 years agoefl.text.interactive: rename events to avoid conflicts
Mike Blumenkrantz [Fri, 8 Mar 2019 15:56:07 +0000 (10:56 -0500)]
efl.text.interactive: rename events to avoid conflicts

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

5 years agoelm.code.widget: rename events to avoid conflicts
Mike Blumenkrantz [Fri, 8 Mar 2019 15:55:11 +0000 (10:55 -0500)]
elm.code.widget: rename events to avoid conflicts

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

5 years agoefl.access.selection: rename events to avoid conflicts
Mike Blumenkrantz [Fri, 8 Mar 2019 15:54:00 +0000 (10:54 -0500)]
efl.access.selection: rename events to avoid conflicts

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

5 years agoefl.ui.pan: namespace events to avoid conflicts
Mike Blumenkrantz [Fri, 8 Mar 2019 15:53:04 +0000 (10:53 -0500)]
efl.ui.pan: namespace events to avoid conflicts

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

5 years agoefl_ui_selectable: namespace events to avoid conflicts
Mike Blumenkrantz [Fri, 8 Mar 2019 15:52:03 +0000 (10:52 -0500)]
efl_ui_selectable: namespace events to avoid conflicts

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

Change-Id: I304ae759d4d98becf1aad2a20af2d77ed4689d98

5 years agoefl-net: namespace events to avoid naming conflicts
Mike Blumenkrantz [Fri, 8 Mar 2019 15:47:32 +0000 (10:47 -0500)]
efl-net: namespace events to avoid naming conflicts

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

5 years agoevas: add a bunch of interfaces type includes and typedefs
Mike Blumenkrantz [Thu, 7 Mar 2019 23:40:20 +0000 (18:40 -0500)]
evas: add a bunch of interfaces type includes and typedefs

this sucks but we've been using these types in legacy headers for years
and it's not something we can rush in a fix for

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

5 years agoedje: restore edje legacy type that was defined to eo type
Mike Blumenkrantz [Thu, 7 Mar 2019 23:39:32 +0000 (18:39 -0500)]
edje: restore edje legacy type that was defined to eo type

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

5 years agoevas: restore legacy types which were defined to eo types
Mike Blumenkrantz [Thu, 7 Mar 2019 22:42:43 +0000 (17:42 -0500)]
evas: restore legacy types which were defined to eo types

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

Change-Id: Icecac2cd81bf67fcd3af69444e984d05438b7841

5 years agoheaders: ensure Efl.h is always included behind BETA define guards
Mike Blumenkrantz [Thu, 7 Mar 2019 22:42:01 +0000 (17:42 -0500)]
headers: ensure Efl.h is always included behind BETA define guards

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

5 years agoRevert "Emile: Move colorspaces to Efl.Gfx"
Mike Blumenkrantz [Thu, 7 Mar 2019 21:06:03 +0000 (16:06 -0500)]
Revert "Emile: Move colorspaces to Efl.Gfx"

This reverts commit 0d41ad0c837a2e1655a4d41c28ec7f0ccf10639c.

stop defining legacy types to eo types!!!!
https://i.redd.it/95mmznk5wo021.gif

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

Change-Id: I0fc806fc83cc37648c5a99cdb465a888474647cc

5 years agoeolian_csharp: fix binding of stringshare arguments in events
Vitor Sousa [Fri, 8 Mar 2019 16:06:55 +0000 (13:06 -0300)]
eolian_csharp: fix binding of stringshare arguments in events

5 years agoefl.gfx.image: namespace events for this class
Mike Blumenkrantz [Fri, 8 Mar 2019 15:54:52 +0000 (16:54 +0100)]
efl.gfx.image: namespace events for this class

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl_api

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

5 years agoeolian: remove unused variables
Daniel Kolesa [Fri, 8 Mar 2019 15:54:10 +0000 (16:54 +0100)]
eolian: remove unused variables

5 years agoeo files: mark a bunch of types with @beta
Mike Blumenkrantz [Fri, 8 Mar 2019 14:55:43 +0000 (15:55 +0100)]
eo files: mark a bunch of types with @beta

Summary:
these are all types that we do not currently want to release

Depends on D8102

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric

Tags: #efl_api

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

Change-Id: I180a41e1f15ca94e48e89b094d6d8187230ea4f6

5 years agoefl.loop_timer: rename all methods/properties/events
Mike Blumenkrantz [Fri, 8 Mar 2019 15:33:05 +0000 (16:33 +0100)]
efl.loop_timer: rename all methods/properties/events

Summary:
avoid potential future conflict by not using conflict-able names

ref T7731

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl_api

Maniphest Tasks: T7731

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

5 years agoeolian: remove legacy handling API and most of generation
Daniel Kolesa [Fri, 8 Mar 2019 14:58:52 +0000 (09:58 -0500)]
eolian: remove legacy handling API and most of generation

Summary:
This removes all Eolian API that deals with handling of legacy
code. It also removes the code using it in the generator as well
as bindings, but for now keeps generation of .eo.legacy.h types,
as there are still instances in our codebase where things are
otherwise broken. We can remove the rest once that is resolved.

Reviewers: zmike, cedric

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoefl_canvas_scene: rename event from focus,* to scene_focus,*
Marcel Hollerbach [Fri, 8 Mar 2019 14:02:30 +0000 (09:02 -0500)]
efl_canvas_scene: rename event from focus,* to scene_focus,*

Summary:
This event can just be renamed, no need to handle legacy. The reason for
this, that this event is used to map to EVAS_CALLBACK_ enum fields,
which means, the legacy names of the event does not matter.

ref T7476

Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7476

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

5 years agoelementary,evas: remove obsolete legacy includes
Daniel Kolesa [Fri, 8 Mar 2019 13:57:51 +0000 (08:57 -0500)]
elementary,evas: remove obsolete legacy includes

Summary:
Since the removal of legacy interfaces from eo files, these files
contain nothing useful, and can safely be removed. One exception
is `efl_ui_layout.eo.legacy.h`, which will require more involved
work to remove, since a lot of things seem to depend on the
Efl_Ui_Layout typedef being present, wrongly (i suspect this
will break everything with `EFL_NOLEGACY_API_SUPPORT`).

Reviewers: cedric, zmike, bu5hm4n

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

Change-Id: I07511538b865391ef9e0fe6780ef175253e77da2

5 years agoelm_win_legacy: restore removed API @fix build error 00/201500/2
Taehyub Kim [Fri, 15 Mar 2019 04:01:35 +0000 (13:01 +0900)]
elm_win_legacy: restore removed API @fix build error

Change-Id: Ib7c86e3d53e9adbf737ce3467ddea87eab444283

5 years agomake: Add missing header list #2
JunsuChoi [Fri, 15 Mar 2019 02:11:40 +0000 (11:11 +0900)]
make: Add missing header list #2

   add elm_widget_item_eo.h at public header list

Change-Id: Icc55e1da353d68d0a133acbd6027df3da6e9f9ca

5 years agomake: Add missing header list
JunsuChoi [Fri, 15 Mar 2019 01:24:32 +0000 (10:24 +0900)]
make: Add missing header list

   add elm_widget_item_container_eo.h at public header list

Change-Id: Ifb70c8237004b70e9e0db1babcd980f0ff70cc69

5 years agofix elementary build errors submit/tizen/20190314.103410
Taehyub Kim [Thu, 14 Mar 2019 10:33:06 +0000 (19:33 +0900)]
fix elementary build errors

5 years agoChange Elm_Focus_Description to Efl_Ui_Focus_Description. submit/tizen/20190314.080413
JunsuChoi [Thu, 14 Mar 2019 07:48:34 +0000 (16:48 +0900)]
Change Elm_Focus_Description to Efl_Ui_Focus_Description.

Change-Id: Iaf1a28ea6966a3397cbb97eadebbc3cb79c5cb4b

5 years agoFix for migration missing code (2f007f7a08 ~ 1e750ddfde) #2 submit/tizen/20190314.062257
JunsuChoi [Thu, 14 Mar 2019 05:35:01 +0000 (14:35 +0900)]
Fix for migration missing code (2f007f7a08 ~ 1e750ddfde) #2

Add missing tizen only code.
This code is a method and signal that disappears after the eo class has been deleted.

Change-Id: Icbee3a531d44f920a1322003822c80ecb0b1e788

5 years agoFix for migration missing code (2f007f7a08 ~ 1e750ddfde)
JunsuChoi [Thu, 14 Mar 2019 01:56:09 +0000 (10:56 +0900)]
Fix for migration missing code (2f007f7a08 ~ 1e750ddfde)

Most of the changes are missing from migration.
tizen_only Code or repair merge conflict.

pick 2f007f7a08 efl.ui.layout: mark methods as beta
pick 644b771fe4 efl.ui: Efl.Ui.Theme_Apply_Result -> Efl.Ui.Theme_Apply_Error
pick 43ef483801 efl.ui.widget: remove widget_top property
pick c388e853f8 evas: remove linkage between Efl_Gfx_Image_Load_Error and Evas_Load_Error
pick 6b046ec845 efl.gfx: remove Efl.Gfx.Image_Load_Error
pick bb6caaa471 efl.ui: remove Efl.Ui.Theme_Apply_Error
pick 3521add359 efl.ui.widget: mark a bunch of methods and event @beta
pick bc0c50c507 efl.ui.widget: widget_event -> widget_input_event_handler
pick e3fa213d10 efl.ui.win: remove all legacy types and functions from eo file
pick faf6d4f425 efl.ui.win: remove keygrab set/unset from eo api
pick cd3cad0ff1 efl.ui.win: remove 'noblank' property from eo api
pick a6adae9943 efl.ui.win: mark most stuff with @beta
pick 7b6878bb28 efl_ui_win: fix position,changed eventing
pick 12467afd40 efl.layout.calc: remove list<> usage in FIXME for event
pick aee5d501c9 atspi: Send key events synchronously
pick 40bc81ae2b evas map: ++safety anti-aliasing processing.
pick e013480e7a ui.box, ui.table: respect parent hint size min
pick e9f07bf60b eina vpath - templates is not a dot dir
pick 272d1b5fc2 eina vpath - document that resolved strings need to be freed
pick 9e8a565bb6 efl_ui_win: fix compile when HAVE_ELEMENTARY_X is not defined
pick b92f09b1d2 eina vpath - change XDG_PUBLIC_DIR to XDG_PUBLICSHARE_DIR
pick 53b5cd1b7a elementary: Remove unused function
pick cfc167859a elementary: Remove defined but not used function
pick 8f9cbdc09e Fix leak in elm atspi
pick 9acd9a16f8 efl.file: use ENOENT as default error if file opening fails and errno isn't set
pick 598ce966d8 eina_file: set errno on open fail for win32 build
pick 5bfe2e89d2 evas: remove all legacy usage from eo files
pick 7eb60a371e ecore-con: remove all legacy usage from eo files
pick 595c863fed efl_csharp: Use cs_args instead of runtime_Assemblies
pick a43fb3c203 build: unbreak build for osx
pick 1f7d7d0606 edje_calc: add ERR message to find out incorrect size problem
pick f5fed8764d evas-gl-drm: Fix issue of rotation not actually rotating
pick 999ed5f200 eo: mark efl_object stable
pick f493e0e676 ecore: declare efl_app and the inherits stable
pick 971e4dd2a6 emotion: remove all legacy usage from eo files
pick ef5853b6d5 efl_text_cursor: remove all legacy usage from eo files
pick 461c45df46 efl_ui_multi_selectable: remove all legacy usage from eo files
pick c7b27506ea efl_text_format: remove all legacy usage from eo files
pick 21b0467e6f elm_photocam: remove linkage with efl_ui_zoom
pick 7fe2e7fff3 efl/interfaces: remove all legacy usage from eo files
pick 774d6c75f6 ecore: do not install internal api headers with autotools build
pick 1cab2e5fde ecore_exe: remove all legacy usage from eo files
pick 0f9078070d efl_loop_timer: remove all legacy usage from eo files
pick b532721b1d build: generate edje_global.eo.c with meson build
pick dd0890a0d7 efl_layout_group: remove all legacy usage from eo files
pick 1b8487bc99 efl_canvas_layout: remove all legacy usage from eo files
pick 87614044cd edje_edit: remove all legacy usage from eo files
pick 9a361ac917 efl_access_object: remove all legacy usage from eo files
pick b7aff699c1 efl_access_text: remove legacy enum
pick 1cef796c51 elm_box: remove all legacy usage from eo files
pick 1abf1518fe elm_hoversel: remove all legacy usage from eo files
pick 6e4f6e68b1 elm_button: remove all legacy usage from eo files
pick e6cab273ee elm_check: remove all legacy usage from eo files
pick 94eda41031 efl_ui_dnd_container: remove all legacy usage from eo files
pick 5ca4e42957 efl_ui_flip: remove all legacy usage from eo files
pick d90c60ea54 efl_ui_frame: remove all legacy usage from eo files
pick 2f20d97f10 efl_ui_image: remove all legacy usage from eo files
pick 5af04e40e2 efl_ui_image_zoomable: remove all legacy usage from eo files
pick 53ba4308e2 efl_ui_layout: remove all legacy usage from eo files
pick c3b2c62ae8 efl_ui_panes: remove all legacy usage from eo files
pick fcb580f1ef efl_ui_progressbar: remove all legacy usage from eo files
pick a56b786ae1 efl_ui_radio: remove all legacy usage from eo files
pick 054a4d4b17 efl_ui_textpath: remove all legacy usage from eo files
pick 9ebef14473 efl_ui_video: remove all legacy usage from eo files
pick c881b1497f efl_ui_widget: remove all legacy usage from eo files
pick 76c67957b0 efl_ui_win variants: remove all legacy usage from eo files
pick c67f199b2f efl-csharp: Respect beta in constructor parameters.
pick 116572db5e efl-csharp: Fix uninitialized struct.
pick 3cf418ab82 efl_ui_widget: rework documentation of focus_state_apply
pick d0b70ef4e7 efl: Property_Bind should actually tell us if it succeeded or failed by returning an Eina.Error.
pick f1d5b8a40c test/elm_box: clean up elm_box_disabled_test
pick b857fa7420 ui.table: fix infinite loop when initializing calc data
pick afc2974738 efl.ui.win: mark last remaining unstable methods as @beta
pick 4a306ec39b eina_csharp: fix memory leak in Eina.Hash.Set method
pick 0b7cd8d88e ui.box, ui.table: respect user min
pick 00fdbb340f efl_csharp: remove warnings caused by unused or unnecessary code
pick 2a7a3c87f3 elm_access: remove all legacy usage from eo files
pick b260b726e2 elm_actionslider: remove all legacy usage from eo files
pick 28e547fd6d elm_box: remove all legacy usage from eo files
pick 40926d085d elm_bubble: remove all legacy usage from eo files
pick 1f24b03dab elm_calendar: remove all legacy usage from eo files
pick f549d1c271 elm_clock: remove all legacy usage from eo files
pick ca9daf94c6 elm_code_widget: make this efl_ui namespaced
pick a5b5d6d277 elm_code_widget_legacy: remove all legacy usage from eo files
pick c5ae5f1d31 elm_color_item: remove all legacy usage from eo files
pick 4e1ec2d3e9 elm_colorselector: remove all legacy usage from eo files
pick baac840c32 elm_conformant: remove all legacy usage from eo files
pick 441049ea2d elm_ctxpopup: remove all legacy usage from eo files
pick b65a164759 elm_dayselector: remove all legacy usage from eo files
pick 5c41b53a3f elm_diskselector: remove all legacy usage from eo files
pick a8057a3403 elm_entry: remove all legacy usage from eo files
pick a156cc2289 elm_fileselector*: remove all legacy usage from eo files
pick bb3e703523 elm_flipselector*: remove all legacy usage from eo files
pick bb85bb6b1d elm_gengrid*: remove all legacy usage from eo files
pick c4fdda1fb0 elm_genlist*: remove all legacy usage from eo files
pick 0886ff0b7d elm_gesture_layer: remove all legacy usage from eo files
pick 3a1c4229f4 elm_glview: remove all legacy usage from eo files
pick 641de5be24 elm_grid: remove all legacy usage from eo files
pick 3c997ee451 elm_hover: remove all legacy usage from eo files
pick 4f8a7233cc elm_icon: remove all legacy usage from eo files
pick c5493fb81c elm_index: remove all legacy usage from eo files
pick 6db020521d elm_interface_fileselector: remove all legacy usage from eo files
pick 56c234e7ad elm_inwin: remove all legacy usage from eo files
pick 5eb1d61459 elm_label: remove all legacy usage from eo files
pick 3448b7933f elm_list: remove all legacy usage from eo files
pick 3bedd6ba55 elm_mapbuf: remove all legacy usage from eo files
pick e26db8dea5 elm_map: remove all legacy usage from eo files
pick eca53d9157 elm_menu*: remove all legacy usage from eo files
pick b7e92a49fe elm_multibuttonentry*: remove all legacy usage from eo files
pick 095b8bebc8 elm_naviframe*: remove all legacy usage from eo files
pick ff173f8408 elm_notify: remove all legacy usage from eo files
pick 563bc027cd elm_panel: remove all legacy usage from eo files
pick feba0d905c elm_pan: remove all legacy usage from eo files
pick f536d1030e elm_photo: remove all legacy usage from eo files
pick d3be7698e3 elm_player: remove all legacy usage from eo files
pick 192bbfa502 elm_plug: remove all legacy usage from eo files
pick 0c45b94dec elm_popup*: remove all legacy usage from eo files
pick d6f280a42f elm_prefs: remove all legacy usage from eo files
pick 6155a3df3c elm_route: remove all legacy usage from eo files
pick ef173e184f elm_scroller: remove all legacy usage from eo files
pick 9ec139cefd elm_segment_control*: remove all legacy usage from eo files
pick 5d6382b9ce elm_separator: remove all legacy usage from eo files
pick 824e1b8109 elm_slider*: remove all legacy usage from eo files
pick f4192aef96 elm_slideshow*: remove all legacy usage from eo files
pick 49044cc3ad elm_spinner: remove all legacy usage from eo files
pick b01c6a09c8 elm_sys_notify*: remove all legacy usage from eo files
pick 594f73348b elm_systray: remove all legacy usage from eo files
pick 964968bfcc elm_table: remove all legacy usage from eo files
pick a0aefabfd3 elm_thumb: remove all legacy usage from eo files
pick 70008ed9d9 elm_toolbar*: remove all legacy usage from eo files
pick 57a69262a1 elm_view*: remove all legacy usage from eo files
pick 5ba8a21b51 elm_web: remove all legacy usage from eo files
pick 5ae716f7b3 elm_widget_item*: remove all legacy usage from eo files
pick bbaafb5314 efl_ui_focus_parent_provider_gen: remove all legacy usage from eo files
pick 3425171bfa elm: remove all legacy usage from eo files
pick 93c4f4f390 build: don't distribute eo headers legacy elm widgets
pick 5c50d8db31 efl_ui_flip: finish legacy removal from eo
pick b0955a82de remove header
pick 0134c04446 build: ensure correct headers are installed
pick 14df465ce3 elm: explicitly include Efl_Ui.h in binaries
pick f733332a9c elm_general: remove linkage between legacy enums and eo types
pick 15e9605b7d elm_widget: remove usage of eo types in legacy functions
pick 79a585884b elm: remove legacy type usage from eo focus functions
pick 50205916c5 elm_slider_part_indicator: remove eo type usage from legacy functions
pick 58a2643fc8 elm_priv.h: add includes. lots of includes.
pick 71f49619dc elm_interface_scrollable: remove elm_pan_eo.h from public header
pick b93361d921 elm: fix legacy headers to never include (non-installed) eo headers
pick 69daf53a94 elm_win: attempt to fix legacy header
pick 1ae67a9286 elm_fileselector: some misc include fixes for compiling
pick 33f1094fd7 elm: unfuck public headers (only a little)
pick d8b46509c7 efl_ui_win: do not use Efl.Orient
pick ccdac56301 efl.canvas.object: mark pointer_mode beta
pick 3462d99208 efl_ui_flip: remove no-op legacy from eo file
pick 88b4646ea7 canvas vg: prevent vector rendering corruption.
pick 97416e9996 elm_gengrid: fix correct parent-child relation of item content
pick be00af9bc3 edje_calc: make INTP use TO_INT_ROUND
pick 5ecbc1bfea elementary: replace deprecated api usage with correct one.
pick 23d0076346 evas_canvas3d: add empty functions for missing APIs
pick 1a17aff85f eolian: add support for marking type declarations beta
pick 8118330d2a eo: fix reflection
pick fbc7c31b33 ui.box_flow: refactor layout_update
pick f4b69b9c4d ui.box,table: update layout when homogeneous mode is changed.
pick c8b67cce98 build: add a new script helper
pick 60063359fc tests: use Efl_Ui.h for efl_ui test
pick 7edd248491 tests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suite
pick 1e750ddfde tests: add test for legacy-only build in elm_suite

Change-Id: Ifcaf1a3e6694726ff791f93cd9849b0fb36b7e5e

5 years agotests: add test for legacy-only build in elm_suite
Mike Blumenkrantz [Fri, 8 Mar 2019 13:57:46 +0000 (08:57 -0500)]
tests: add test for legacy-only build in elm_suite

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl_tests

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

5 years agotests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suite
Mike Blumenkrantz [Fri, 8 Mar 2019 13:57:19 +0000 (08:57 -0500)]
tests: add build test for EFL_NOLEGACY_API_SUPPORT in efl_ui_suite

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl_tests

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

5 years agotests: use Efl_Ui.h for efl_ui test
Mike Blumenkrantz [Fri, 8 Mar 2019 13:53:18 +0000 (08:53 -0500)]
tests: use Efl_Ui.h for efl_ui test

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agobuild: add a new script helper
Marcel Hollerbach [Fri, 8 Mar 2019 13:30:52 +0000 (08:30 -0500)]
build: add a new script helper

Summary:
This script can be used to run all examples that have been build with
meson, this is usefull in order to check if everything works, and checks
if (due to some patches) errors are happening in the output.

This is not meant as function checking of the whole example, just
automatically checking the first-look-appearance.

For now a few examples are setted up correctly, there might be more that
need setups / custom arguments, they can be added over time.

Reviewers: stefan_schmidt, zmike, cedric, q66, devilhorns, segfaultxavi

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoui.box,table: update layout when homogeneous mode is changed.
Yeongjong Lee [Fri, 8 Mar 2019 13:22:12 +0000 (08:22 -0500)]
ui.box,table: update layout when homogeneous mode is changed.

Summary: changing homogeneous mode is needed layout_update.

Test Plan:
1. elementary_test -to 'efl.ui.box'
2. Click 'Homogenous' check box.
3. Check layout is updated.

Reviewers: zmike, Jaehyun_Cho, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

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

5 years agoui.box_flow: refactor layout_update
Yeongjong Lee [Fri, 8 Mar 2019 13:22:08 +0000 (08:22 -0500)]
ui.box_flow: refactor layout_update

Summary:
This patch remove evas_box function from Efl.Ui.Box_Flow and add unit test.
Depends on D8214

Test Plan:
1. make check
2. `elementary_test -to 'efl.ui.box'` with 'flow' checkbox.

Reviewers: zmike, Jaehyun_Cho

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoeo: fix reflection
Marcel Hollerbach [Fri, 8 Mar 2019 13:19:23 +0000 (08:19 -0500)]
eo: fix reflection

Summary:
the DFS tree walk was accidently stopped by a too early return
statement. We should only return if we found a reflection entry, if not,
then we should continue our search

Depends on D7996

Reviewers: cedric, zmike, q66, segfaultxavi

Reviewed By: cedric, zmike

Subscribers: #reviewers, #committers

Tags: #efl

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

5 years agoeolian: add support for marking type declarations beta
Daniel Kolesa [Fri, 8 Mar 2019 13:17:01 +0000 (08:17 -0500)]
eolian: add support for marking type declarations beta

Summary:
This also simplifies the beta checking API by unifying it under
objects (makes much more sense that way) and reworks the validator
to have betaness support within its context state, allowing checks
to be done easily in any place.

The betaness checks are disabled for types for the time being,
because otherwise there are too many errors (types are assumed
to be stable as they are not tagged beta, but they reference beta
classes all over the place). Set EOLIAN_TYPEDECL_BETA_WARN to 1
in your environment to force enable the checks.

Reviewers: zmike, bu5hm4n, stefan_schmidt, lauromoura, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl, #eolian

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

5 years agoevas_canvas3d: add empty functions for missing APIs
Marcel Hollerbach [Fri, 8 Mar 2019 05:39:26 +0000 (14:39 +0900)]
evas_canvas3d: add empty functions for missing APIs

The other alternative would be to move callback_register/
callback_unregister from evas.canvas3d.object to evas.canvas3d.node.
However doing this right now is a bit hard based on the fact that no
example currently does render / work. Therefore the empty implementation
is the solution that does require fewer code movements.

ref T5719
Depends on D7759

5 years agoelementary: replace deprecated api usage with correct one.
Hermet Park [Fri, 8 Mar 2019 04:38:32 +0000 (13:38 +0900)]
elementary: replace deprecated api usage with correct one.

5 years agoedje_calc: make INTP use TO_INT_ROUND
Shinwoo Kim [Fri, 8 Mar 2019 04:28:21 +0000 (13:28 +0900)]
edje_calc: make INTP use TO_INT_ROUND

Summary:
The edje_part_recalc calculates next postion(p3).
Please refer to following line.

   p3->final.y = INTP(p1->final.y, p2->final.y, pos);

If the condition is as blow, then p3->final.y becomes -50 only if pos is 1.0.
Because INP uses TO_INT not TO_INT_ROUND.

   p1->final.y == -32
   p2->final.y == -50

So we had nonsmooth ending of transition.

Test Plan:
Sample application to check this issue. Please look carefully when the rect moves from bottom to top.

{F3627740}

{F3627739}

Reviewers: cedric, Hermet, jypark

Reviewed By: Hermet

Subscribers: zmike, akanad, #reviewers, #committers

Tags: #efl

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

5 years agoelm_gengrid: fix correct parent-child relation of item content
Yeongjong Lee [Fri, 8 Mar 2019 04:18:05 +0000 (13:18 +0900)]
elm_gengrid: fix correct parent-child relation of item content

Summary:
see 1b2401849a11c5826dead44b4839ca2acb1dbec1 that said
`evas_object_smart_member_del` doesn't make sense here.
I guess `_sub_object_del` should have been used when item_all_contents_unset is
implemented.

Item content should have widget(gengrid) as the parent. but that relationship
is removed by c075b7caaac0c6cf8c1043312041afaf5.
See also, `_item_content_realize` of genlist.

Test Plan: make check

Reviewers: Hermet, SanghyeonLee, bu5hm4n

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

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

5 years agoefl_ui_flip: remove no-op legacy from eo file
Mike Blumenkrantz [Thu, 7 Mar 2019 22:50:56 +0000 (23:50 +0100)]
efl_ui_flip: remove no-op legacy from eo file

Reviewers: q66

Reviewed By: q66

Subscribers: cedric, #reviewers, #committers

Tags: #eolian

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

5 years agoefl.canvas.object: mark pointer_mode beta
Mike Blumenkrantz [Thu, 7 Mar 2019 19:48:48 +0000 (14:48 -0500)]
efl.canvas.object: mark pointer_mode beta

this requires a type that looks very sketchy

ref T7726

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

5 years agoefl_ui_win: do not use Efl.Orient
Mike Blumenkrantz [Thu, 7 Mar 2019 19:46:09 +0000 (14:46 -0500)]
efl_ui_win: do not use Efl.Orient

windows are not restricted to 90 degree rotations. also this type
shouldn't be stable yet

ref T7511
ref T7726

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

5 years agoelm: unfuck public headers (only a little)
Mike Blumenkrantz [Thu, 7 Mar 2019 15:58:15 +0000 (10:58 -0500)]
elm: unfuck public headers (only a little)

ideally Elementary.h should include only legacy code (T7667) and Efl_Ui.h
should include only eo code. this is not the case, and fixing it would
require undoing years of careful planning to make this type of thing extra
frustrating

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

5 years agoelm_fileselector: some misc include fixes for compiling
Mike Blumenkrantz [Thu, 7 Mar 2019 15:57:46 +0000 (10:57 -0500)]
elm_fileselector: some misc include fixes for compiling

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

5 years agoelm_win: attempt to fix legacy header
Mike Blumenkrantz [Thu, 7 Mar 2019 15:57:03 +0000 (10:57 -0500)]
elm_win: attempt to fix legacy header

I don't know what's going on here and I don't want to know.

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

5 years agoelm: fix legacy headers to never include (non-installed) eo headers
Mike Blumenkrantz [Thu, 7 Mar 2019 15:56:32 +0000 (10:56 -0500)]
elm: fix legacy headers to never include (non-installed) eo headers

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

5 years agoelm_interface_scrollable: remove elm_pan_eo.h from public header
Mike Blumenkrantz [Thu, 7 Mar 2019 15:54:43 +0000 (10:54 -0500)]
elm_interface_scrollable: remove elm_pan_eo.h from public header

this is a legacy header so it can't include (non-installed) eo headers

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

5 years agoelm_priv.h: add includes. lots of includes.
Mike Blumenkrantz [Thu, 7 Mar 2019 15:51:04 +0000 (10:51 -0500)]
elm_priv.h: add includes. lots of includes.

this needs to include all the public headers as well as all the private
headers so that when it is included internally it correctly provides all
available function prototypes that are not static

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

5 years agoelm_slider_part_indicator: remove eo type usage from legacy functions
Mike Blumenkrantz [Thu, 7 Mar 2019 15:50:37 +0000 (10:50 -0500)]
elm_slider_part_indicator: remove eo type usage from legacy functions

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

5 years agoelm: remove legacy type usage from eo focus functions
Mike Blumenkrantz [Thu, 7 Mar 2019 15:50:01 +0000 (10:50 -0500)]
elm: remove legacy type usage from eo focus functions

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

Change-Id: I0c88d8454378688bfd2d520eb819997c62635be7

5 years agoFix for migration missing patch (2f007f7a08 ~ 15e9605b7d)
JunsuChoi [Wed, 13 Mar 2019 07:41:45 +0000 (16:41 +0900)]
Fix for migration missing patch (2f007f7a08 ~ 15e9605b7d)

Change-Id: I36bb214898a99a2ae39a0b6349498a895452de0b

5 years agoelm_widget: remove usage of eo types in legacy functions
Mike Blumenkrantz [Thu, 7 Mar 2019 15:48:33 +0000 (10:48 -0500)]
elm_widget: remove usage of eo types in legacy functions

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

5 years agoelm_general: remove linkage between legacy enums and eo types
Mike Blumenkrantz [Thu, 7 Mar 2019 15:47:52 +0000 (10:47 -0500)]
elm_general: remove linkage between legacy enums and eo types

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