Mike Blumenkrantz [Wed, 6 Mar 2019 19:06:16 +0000 (19:06 +0000)]
ecore_exe: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8125
Mike Blumenkrantz [Wed, 6 Mar 2019 15:36:20 +0000 (10:36 -0500)]
ecore: do not install internal api headers with autotools build
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8124
Mike Blumenkrantz [Tue, 5 Mar 2019 22:00:37 +0000 (17:00 -0500)]
efl/interfaces: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8123
Mike Blumenkrantz [Wed, 6 Mar 2019 18:22:05 +0000 (13:22 -0500)]
elm_photocam: remove linkage with efl_ui_zoom
this is a legacy class and should not have its enum values defined
to an interface enum
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8122
Mike Blumenkrantz [Tue, 5 Mar 2019 22:00:37 +0000 (17:00 -0500)]
efl_text_format: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8121
Mike Blumenkrantz [Tue, 5 Mar 2019 22:00:37 +0000 (17:00 -0500)]
efl_ui_multi_selectable: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8120
Mike Blumenkrantz [Tue, 5 Mar 2019 22:00:37 +0000 (17:00 -0500)]
efl_text_cursor: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8119
Mike Blumenkrantz [Tue, 5 Mar 2019 22:00:37 +0000 (17:00 -0500)]
emotion: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8118
Marcel Hollerbach [Fri, 22 Feb 2019 13:08:39 +0000 (14:08 +0100)]
ecore: declare efl_app and the inherits stable
fix T7556
fix T7514
fix T7514
fix T7514
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8001
Marcel Hollerbach [Fri, 22 Feb 2019 13:08:53 +0000 (14:08 +0100)]
eo: mark efl_object stable
fix T7557
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8000
Christopher Michael [Tue, 5 Mar 2019 18:32:14 +0000 (13:32 -0500)]
evas-gl-drm: Fix issue of rotation not actually rotating
When we call evas_outbuf_reconfigure (when rotation changes), we need
to update the Outbuf with new values for width, height, rotation, etc.
Failing to do this here causes any rotations applied to the engine to
fail.
ref T7690
@fix
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8109
Change-Id: If49ced52b790f7e468181e9d3b0aec5ae18d2f52
Shinwoo Kim [Wed, 6 Mar 2019 10:41:45 +0000 (10:41 +0000)]
edje_calc: add ERR message to find out incorrect size problem
When I amended https://phab.enlightenment.org/D7842 I removed line to handle
negative value size of params final in _edje_part_pixel_adjust.
Because It was not related to the what the commit wants to fix, and I could not find
the case making param final size value negative , although I got the negative value
when I tested on a specific case. Now it seems that the negative value is telling me
"Witness Me!".
So I would like to add this change, and never let me forget the issue.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8105
Marcel Hollerbach [Mon, 4 Mar 2019 17:33:33 +0000 (18:33 +0100)]
build: unbreak build for osx
We have CI! And even through our Infra is dead and too stupid to use it,
you can push your commits there before. This means *you can test* if you
build "fixes" are fixing all platforms, or break for example osx. *This
one* brings osx back.
<3 CI!
Reviewed-by: Lauro Neto <lauromauro_>
Differential Revision: https://phab.enlightenment.org/D8097
Lauro Moura [Sat, 2 Mar 2019 15:09:55 +0000 (15:09 +0000)]
efl_csharp: Use cs_args instead of runtime_Assemblies
This will erase the need of the `runtime_assemblies` kw_arg, allowing ot
use a single invocation without warnings about unsupported parameters.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D8092
Mike Blumenkrantz [Tue, 5 Mar 2019 22:00:37 +0000 (17:00 -0500)]
ecore-con: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D8108
Mike Blumenkrantz [Tue, 5 Mar 2019 16:15:40 +0000 (11:15 -0500)]
evas: remove all legacy usage from eo files
this takes the current generated output from eolian for legacy code in
evas 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
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D8107
Change-Id: I3ca224f64c0fc0d734f22aedb1f4c1dc5694a873
Mike Blumenkrantz [Wed, 6 Mar 2019 13:37:29 +0000 (08:37 -0500)]
eina_file: set errno on open fail for win32 build
Summary:
windows does not automatically set errno so we must do it ourselves
@fix
Depends on D8103
Reviewers: vtorri
Reviewed By: vtorri
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8104
Mike Blumenkrantz [Wed, 6 Mar 2019 13:37:25 +0000 (08:37 -0500)]
efl.file: use ENOENT as default error if file opening fails and errno isn't set
Summary:
ensure that a nonzero return happens here so that failure cases can be
correctly detected
Reviewers: vtorri, bu5hm4n
Reviewed By: bu5hm4n
Subscribers: bu5hm4n, raster, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8103
Carsten Haitzler (Rasterman) [Tue, 5 Mar 2019 17:05:03 +0000 (17:05 +0000)]
Fix leak in elm atspi
First..
Revert "elementary: Remove defined but not used function"
This reverts commit
cfc167859a1db5ea8a963dc1225dd9880b2089df.
This func should exist. it has a reason to exist.. it somehow was not
being called anymore. this fixes that and calls it to avoid a leak.
@fix
Change-Id: I33005b987ce353f9b5912ddf3309a687dc9e3054
Christopher Michael [Tue, 5 Mar 2019 13:20:15 +0000 (08:20 -0500)]
elementary: Remove defined but not used function
Patch
aee5d501c93bf782d5eddc0d removed the call to this function so
now GCC complains that it is defined but not used, so remove the
function
Change-Id: Ic62366f709302f473afe891382b3cb3fd3e659e1
Carsten Haitzler (Rasterman) [Tue, 5 Mar 2019 13:00:08 +0000 (13:00 +0000)]
eina vpath - change XDG_PUBLIC_DIR to XDG_PUBLICSHARE_DIR
match the spec correctly.
Mike Blumenkrantz [Tue, 5 Mar 2019 12:20:57 +0000 (07:20 -0500)]
efl_ui_win: fix compile when HAVE_ELEMENTARY_X is not defined
Reviewers: vtorri
Reviewed By: vtorri
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8101
Carsten Haitzler (Rasterman) [Tue, 5 Mar 2019 12:12:32 +0000 (12:12 +0000)]
eina vpath - document that resolved strings need to be freed
Carsten Haitzler (Rasterman) [Tue, 5 Mar 2019 09:50:57 +0000 (09:50 +0000)]
eina vpath - templates is not a dot dir
fix xdg Templates dir default to not be .Templates
Yeongjong Lee [Tue, 5 Mar 2019 08:12:52 +0000 (09:12 +0100)]
ui.box, ui.table: respect parent hint size min
Summary:
This patch fixes issue that parent hint size min is ignored when it is greater
than children hint size min sum.
Thanks to segfaultxavi for reporting this.
Test Plan:
1. make check
2. 'hello-gui' or 'texteditor' example in examples.git
Reviewers: segfaultxavi, zmike
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8098
Lukasz Wlazly [Tue, 5 Mar 2019 07:55:28 +0000 (16:55 +0900)]
atspi: Send key events synchronously
Summary:
In EFL Ecore events are delivered to every created filter,
thus, because of reemiting events, some applications can receive
concrete event twice.
Path causing the issue occures:
(1) Window Manager sends a key event to activated application.
(2) The application which has _elm_atspi_bridge_key_filter sends the key event to screen-reader AT client.
(3) The screen-reader sends the key event back to the application if the screen-reader does not need to consume the key event.
(4) The application uses the key event.
We got an issue if an application uses another ecore_event_filter_add.
This patch replace asynchronous calling of "NotifyListenersSync" with synchronous one.
Thank to that answer from AT client is known in filter callback and there is no need to reemit events.
Reviewers: lukasz.stanislawski, rcybulski, kimcinoo, l.oleksak, Hermet, stanluk
Reviewed By: kimcinoo, stanluk
Subscribers: zmike, stanluk, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7246
Change-Id: I09941c3beb27c060549582b0ba893d57cc24d0ca
Mike Blumenkrantz [Mon, 4 Mar 2019 18:42:04 +0000 (13:42 -0500)]
efl.layout.calc: remove list<> usage in FIXME for event
Summary:
make this an array since there is no need to use a list here anyway
ref T7581
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7581
Differential Revision: https://phab.enlightenment.org/D8058
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:42 +0000 (13:37 -0500)]
efl_ui_win: fix position,changed eventing
Summary:
the eo event needs to send position data and manually call the old
smart callback
Depends on D8086
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Differential Revision: https://phab.enlightenment.org/D8087
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:40 +0000 (13:37 -0500)]
efl.ui.win: mark most stuff with @beta
Summary:
none of this should be released as api at this time
ref T7511
Depends on D8085
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7511
Differential Revision: https://phab.enlightenment.org/D8086
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:35 +0000 (13:37 -0500)]
efl.ui.win: remove 'noblank' property from eo api
Summary:
this is not supportable outside xorg usage
ref T7511
Depends on D8084
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7511
Differential Revision: https://phab.enlightenment.org/D8085
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:30 +0000 (13:37 -0500)]
efl.ui.win: remove keygrab set/unset from eo api
Summary:
this is fundamentally incompatible with many display servers and will
not ever be supported outside of legacy
ref T7511
Depends on D8083
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7511
Differential Revision: https://phab.enlightenment.org/D8084
Change-Id: I3171b0218df8e65a8a0d1fea0698a55624659a0a
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:24 +0000 (13:37 -0500)]
efl.ui.win: remove all legacy types and functions from eo file
Summary:
most of the eo methods here will be marked beta, preventing them from
generating legacy code
ref T7511
Depends on D8082
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7511
Differential Revision: https://phab.enlightenment.org/D8083
Change-Id: Ied7d3a33098e9a998e8eb8684b9289afd4de9f37
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:18 +0000 (13:37 -0500)]
efl.ui.widget: widget_event -> widget_input_event_handler
Summary:
ref T7553
Depends on D8081
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7553
Differential Revision: https://phab.enlightenment.org/D8082
Change-Id: Id975f66bf432ef78e9447f8482fe3c8a2dbd36e9
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:12 +0000 (13:37 -0500)]
efl.ui.widget: mark a bunch of methods and event @beta
Summary:
these seem suspicious
ref T7553
Depends on D8068
Reviewers: woohyun, Jaehyun_Cho, cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7553
Differential Revision: https://phab.enlightenment.org/D8081
Change-Id: I1ba858d99a7589abefe06e18318a8290e6e9c8d4
Mike Blumenkrantz [Mon, 4 Mar 2019 18:37:07 +0000 (13:37 -0500)]
efl.ui: remove Efl.Ui.Theme_Apply_Error
Summary:
now that the error codes have been change to be compatible with eina_error,
this can be removed and will work through eina_error naturally
fix T7718
Depends on D8067
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7718
Differential Revision: https://phab.enlightenment.org/D8068
Change-Id: I43bf6afd5d28acaf6a67782b61c57c92b275fe8f
Mike Blumenkrantz [Mon, 4 Mar 2019 18:36:57 +0000 (13:36 -0500)]
efl.gfx: remove Efl.Gfx.Image_Load_Error
Summary:
this is now implemented through Eina.Error
ref T7718
Depends on D8066
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7718
Differential Revision: https://phab.enlightenment.org/D8067
Change-Id: I042e92fda899cfb76f04ba07a62adc00e0d66d34
Mike Blumenkrantz [Mon, 4 Mar 2019 18:36:52 +0000 (13:36 -0500)]
evas: remove linkage between Efl_Gfx_Image_Load_Error and Evas_Load_Error
Summary:
new api should not be bound to legacy values like this
ref T7718
Depends on D8064
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7718
Differential Revision: https://phab.enlightenment.org/D8066
Mike Blumenkrantz [Mon, 4 Mar 2019 18:36:47 +0000 (13:36 -0500)]
efl.ui.widget: remove widget_top property
Summary:
this can be mimicked with efl_provider_find as the top widget should
always be efl.ui.win
ref T7553
Depends on D8063
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7553
Differential Revision: https://phab.enlightenment.org/D8064
Change-Id: I86d5dda7a7b1823f4bdeac5d5519bf2532d150fc
Mike Blumenkrantz [Mon, 4 Mar 2019 18:36:41 +0000 (13:36 -0500)]
efl.ui: Efl.Ui.Theme_Apply_Result -> Efl.Ui.Theme_Apply_Error
Summary:
this swaps the values of "no error" and "error" in order to maintain
consistency with the rest of efl where the zero value means "no error"
Depends on D8060
Reviewers: cedric
Reviewed By: cedric
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl_api
Differential Revision: https://phab.enlightenment.org/D8063
Change-Id: I7131f47d0514bccdacd2f86c56c04aa1d63f7209
Mike Blumenkrantz [Mon, 4 Mar 2019 18:36:31 +0000 (13:36 -0500)]
efl.ui.layout: mark methods as beta
Summary:
ref T7512
Depends on D8059
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7512
Differential Revision: https://phab.enlightenment.org/D8060
Change-Id: I2d3bac861be2a2c7696c2f1c4db2a714aab0b85d
Jaehyun Cho [Wed, 13 Mar 2019 10:27:03 +0000 (19:27 +0900)]
Revert "efl_ui_layout: check part existence in text_set"
This reverts commit
649433560b5b6c81e2136d0e2d036042f035b00c.
This patch is reverted because this patch breaks the backward
compatibility.
Please check Popup in elementary_test.
Change-Id: I86c745c0adab825d1ecdbaa71ee1110747ca11ac
Jaehyun Cho [Wed, 13 Mar 2019 10:25:36 +0000 (19:25 +0900)]
Revert "tests: add test for elm_layout_text_set"
This reverts commit
0e027980f6c275f1a56ae550679010d689c91b23.
Since D7888 breaks the backward compatibility, D7888 is going to be
reverted. This patch is based on D7888 so this patch is also required to
be reverted for now.
After a proper patch is applied instead of D7888, then this patch can be
submitted again.
Change-Id: I2f908a8a0d7f0a2e44e22fca6a7acd014de0fc5e
JunsuChoi [Wed, 13 Mar 2019 03:55:54 +0000 (12:55 +0900)]
Fix for migration
Change-Id: I909df1f91b4b0ffce1636999d1deb9c4da715ad2
Hermet Park [Tue, 12 Mar 2019 07:39:37 +0000 (16:39 +0900)]
efl_ui_animation_view: install legacy additionally.
Change-Id: If450a59a50ed4691616752c37325fc78f23f514f
Hermet Park [Tue, 12 Mar 2019 05:08:47 +0000 (14:08 +0900)]
edje vg: fix out of frame range.
Confirm the last frame must be frame_count - 1.
Change-Id: Id453e3af062a8aaa5187bb335b605b3ad4e0fcf6
Hermet Park [Tue, 12 Mar 2019 03:53:35 +0000 (12:53 +0900)]
evas vg: replace to eina_file instance caching by vg.
Here is a replacement to use eina_file from a vg obj instance
to map file data by vg loaders.
This brings a benefit that integrated access to load data
between vg object and vg loaders.
Change-Id: I16116b08dfba9fc6388cff174015f9a6bf16fb09
Hermet Park [Mon, 11 Mar 2019 11:05:20 +0000 (20:05 +0900)]
canvas vg: remove efl_file_loaded() overriding.
vg_entry ptr can't gurantee that new setting file is loaded or not.
Change-Id: I73ed6980cb92dcd3dbf675b4ab8d32ae90088898
Hermet Park [Mon, 11 Mar 2019 07:23:27 +0000 (16:23 +0900)]
evas svg: replace internal vg legacy calls with interfaces.
Change-Id: I3f108a5247b0be58ad2fa6885822326d601b8029
Wonki Kim [Tue, 12 Mar 2019 06:59:40 +0000 (15:59 +0900)]
disable tizen only stuffs that use removed apis
there are changes from upstream whaich remove some method on eo definition.
but related changes by the patch has not been written on upstream.
this patch disable tizen only stuffs that use the removed apis to fix build break
Change-Id: I7e3ed460d3478f2729b9512928fb15230c61fdde
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Mike Blumenkrantz [Wed, 27 Feb 2019 18:52:14 +0000 (13:52 -0500)]
efl_ui_widget: move orientation to the specific users of this widget
The new api is moved into either Efl.Ui.Win or Efl.Ui.Layout.
Only Efl.Ui.Layout is interested in the rotation, as this is the only
widget that can actaully apply it to the theme. The value itself however
is unique to the window, which means, the window is the only point where
the rotation is stored, and this is the point, where rotation changes
are brought to the layouts.
ref T7553
Depends on D8014
Differential Revision: https://phab.enlightenment.org/D8015
Change-Id: If1d2d6b680da43f985ff367282d955757cbe1eb2
Wonki Kim [Mon, 11 Mar 2019 10:25:48 +0000 (19:25 +0900)]
ctxpopup: apply changes from upstream to tizen only ctxpopup
Change-Id: Ida8092e3b6a6e84ce52a2a65540531b6e861a09d
Wonki Kim [Mon, 11 Mar 2019 09:32:52 +0000 (18:32 +0900)]
elm_genlist: apply changes from upstream to tizen only genlist
Change-Id: Ic0c6f10961a3f6bfee72e5d7e18e9972fe6804e2
Wonki Kim [Mon, 11 Mar 2019 09:30:47 +0000 (18:30 +0900)]
build: Apply changes from upstream to tizen only am definition
there are some changes on Makefile_Elementary.am
this patch apply the changes to tizen only elementary.
Change-Id: I9944015b206d63b8a21ccf706ef6369c1d3dd7a6
Mike Blumenkrantz [Mon, 4 Mar 2019 18:36:25 +0000 (13:36 -0500)]
efl.ui.layout: fix theme.get implementation (+unit test)
Summary: ref T7512
Reviewers: cedric
Reviewed By: cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7512
Differential Revision: https://phab.enlightenment.org/D8059
Xavi Artigas [Mon, 4 Mar 2019 15:22:41 +0000 (16:22 +0100)]
meson: add efl_ui_widget_common.h to installed headers
Summary: This was missing and caused C tutorials to break build.
Test Plan: ninja install and then try to build a C tutorial
Reviewers: bu5hm4n
Reviewed By: bu5hm4n
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8096
Carsten Haitzler (Rasterman) [Sun, 3 Mar 2019 11:43:36 +0000 (11:43 +0000)]
ecore imf - scim module - fix string handling to stop warnings
so blind use of strncpy was again wrong - it limited to the length of
the src not the dest buffer and gcc warnings pointed out this
silliness. so instead go back to strcpy with proper length checks
before and now it's clear that it's correct and not trying to hide
behind strncpy which was wrong.
Felipe Magno de Almeida [Wed, 16 Jan 2019 07:29:56 +0000 (16:29 +0900)]
efl-mono: Add support for dotnet core
Summary:
This commits adds dotnet as a supported C# platform for EFL# bindings.
Due to differences between Mono and Dotnet regarding DllImport, the
bindings now are using an imperative approach to load the function
pointers through the NativeModule and FunctionWrapper classes. These
classes handle the dlopen/LoadLibrary and dlsym/GetProcAddress calls.
Also, the previous caching of non-owned strings returned to native code
was removed until further memory checks.
We also had to create workaround for bool and chars in Structs for C#
marshaling. Going through System.Byte instead and Marshaling manually
to their respective types.
In order to actually build efl_mono.dll with dotnet right now,
issue #4782 from Meson should be fixed to make it properly detect and
used the Dotnet compiler. Also use "-Ddotnet=true" when running meson.
Fixes T7394
Reviewers: felipealmeida, vitor.sousa, bu5hm4n
Reviewed By: vitor.sousa
Subscribers: cedric
Tags: #efl
Maniphest Tasks: T7394
Differential Revision: https://phab.enlightenment.org/D8069
Lauro Moura [Wed, 6 Feb 2019 19:50:28 +0000 (17:50 -0200)]
efl-mono: Add support for Efl.Class
Efl.Class (in practice, the return from the *_class_get() functions) can
be used as argument to functions, like in Efl.Object.provider_find and
Efl.Ui.Widget_Factory.item_class(get/set).
This commits adds support by representing Efl.Class instances
as System.Type in the C# API, allowing someone to do things like:
`factory.ItemClass == typeof(MyFramework.MyButton)`
It also supports user-defined classes that inherit from efl classes.
Cedric BAIL [Fri, 1 Mar 2019 00:14:42 +0000 (16:14 -0800)]
elementary: update MVVM example to use asynchronous factory API.
This also fix a bunch of other error regarding object lifecycle and
library initialization.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8079
Cedric BAIL [Sat, 2 Mar 2019 00:22:08 +0000 (16:22 -0800)]
elementary: Efl.Ui.Layout should use the new API efl_content to control object lifecycle property.
efl_content leave the caller in charge of the lifecycle of the object. This means we can
rely on the factory to actually do something with the object before it is destroyed by anyone.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8091
Cedric BAIL [Sat, 2 Mar 2019 00:21:14 +0000 (16:21 -0800)]
eo: improve error message by giving an idea where the error come from.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8090
Cedric BAIL [Sat, 2 Mar 2019 00:20:45 +0000 (16:20 -0800)]
elementary: do not randomly figure out property name to connect to.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8089
Cedric BAIL [Sat, 2 Mar 2019 00:19:29 +0000 (16:19 -0800)]
eio: Efl.Io.Model doesn't have a parent class that actually provide any property.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8088
Lauro Moura [Fri, 1 Mar 2019 22:17:16 +0000 (19:17 -0300)]
efl-csharp: Fix Eina.Value containing arrays and lists
Summary:
It was marshalling erroneously data into and out of arrays and lists.
Instead of passing data by value (or by address of correct size), it was
stuffing data into IntPtr and trying to parse out afterwards.
This commit changes the binding to use the same approach of plain
Get/Set, with proper overloads.
Reviewers: vitor.sousa, segfaultxavi, felipealmeida
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8057
Xavi Artigas [Fri, 1 Mar 2019 15:45:27 +0000 (16:45 +0100)]
docfx: Exclude *NativeInherit classes from docs
These classes need to be public so new user-created classes can inherit
from them, but they have the same content as the regular classes.
Therefore there is no need to pollute the documentation with duplicated
elements.
Cedric BAIL [Fri, 1 Mar 2019 15:23:40 +0000 (10:23 -0500)]
eo: obtaining the Eo object attached to an Eina_Value is actually a const operation on the Eina_Value.
Summary: Depends on D8077
Reviewers: segfaultxavi, zmike
Reviewed By: segfaultxavi, zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8078
Cedric BAIL [Fri, 1 Mar 2019 15:23:32 +0000 (10:23 -0500)]
elementary: fix string usage in hoversel example.
Summary: Depends on D8073
Reviewers: zmike
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8074
Cedric BAIL [Fri, 1 Mar 2019 15:23:24 +0000 (10:23 -0500)]
elementary: fix performance example warning by using Eina_Slstr instead of hardcoded buffer.
Reviewers: zmike
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8070
Cedric BAIL [Fri, 1 Mar 2019 13:59:19 +0000 (08:59 -0500)]
elementary: fix web example to define _GNU_SOURCE only if needed.
Summary: Depends on D8076
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8077
Cedric BAIL [Fri, 1 Mar 2019 13:58:59 +0000 (08:58 -0500)]
elementary: fix combobox example to not duplicate the definition of _GNU_SOURCE.
Summary: Depends on D8075
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8076
Cedric BAIL [Fri, 1 Mar 2019 13:58:36 +0000 (08:58 -0500)]
elementary: remove badly named and unused array.
Summary: Depends on D8074
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8075
Cedric BAIL [Fri, 1 Mar 2019 13:57:50 +0000 (08:57 -0500)]
elementary: fix web example warning from duplicated _GNU_SOURCE.
Summary: Depends on D8072
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8073
Cedric BAIL [Fri, 1 Mar 2019 13:57:23 +0000 (08:57 -0500)]
elementary: fixup warning in location example.
Summary: Depends on D8071
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8072
Cedric BAIL [Fri, 1 Mar 2019 13:56:16 +0000 (08:56 -0500)]
elementary: fix Evas3D examples warning due to double define.
Summary: Depends on D8070
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8071
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 12:40:01 +0000 (12:40 +0000)]
meson - make evas loader confg install shell be binsh compliant
this shell required bash. not good for example if on some unix systems
like bsd that dont have bash... by defauklt. so make it /bin/sh
compliant shell.
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 12:06:26 +0000 (12:06 +0000)]
meson - fix some more fbsd building and make notes on broken checks
i found the header checks are logically broken. i was about to replace
with a cc.compiles() check but that requires that every check also
have full working code not just a symbol to check the existence form
so for now just fix the HAVE_NOTIFY_KEVENT define that makes eio build
properly again on bsd and note the broken state for a future rethink
on how these checks are done.
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 10:54:27 +0000 (10:54 +0000)]
efl po - change intl.h check to use compiles so cflags it respected
this fixes building on fbsd... (where CFLAGS will now work to find
libintl.h)
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 10:08:17 +0000 (10:08 +0000)]
efl core env - remove unused envrion declaration
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 10:06:43 +0000 (10:06 +0000)]
efl exe - fix indent of hash compiler directives
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 10:05:55 +0000 (10:05 +0000)]
efl proc env - add extern environ - missing from src file
Carsten Haitzler (Rasterman) [Fri, 1 Mar 2019 10:03:48 +0000 (10:03 +0000)]
ecore - remove environ lock that isn't used anymore
bu5hm4n forgot to remove this when doing his env class changes -
remove it as its unused now.
Cedric BAIL [Fri, 22 Feb 2019 01:58:47 +0000 (17:58 -0800)]
ecore: remove Efl.Container_Model_Item.
This also enable to create a tree of Container_Model instead of just one level.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8046
Lauro Moura [Thu, 28 Feb 2019 20:15:48 +0000 (17:15 -0300)]
efl-csharp: Fix variable generation for Roslyn
Summary:
Mono's old compiler (mcs) accepts LL as suffix for longs while Roslyn
(csc) is strict, allowing only a single L.
Test Plan: Run tests
Reviewers: vitor.sousa, felipealmeida
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8061
Cedric BAIL [Thu, 28 Feb 2019 02:17:30 +0000 (18:17 -0800)]
ecore: prevent duplication of children for Efl.Composite_Model and enable dummy object.
This patch allow Efl.Composite_Model to return always the same object for the same index.
This way, it make it easier for the Model to always be in sync even if there is multiple
user at any time. The support for dummy object allow the Composite_Model to host more
object than what the source model provide. This dummy model will only have the property
of the Composite_Model and none of the Source model ofcourse.
Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D8045
Daniel Kolesa [Thu, 28 Feb 2019 19:25:51 +0000 (20:25 +0100)]
eolian: remove support for inlist/inarray
This feature was kind of ill-conceived and never worked properly.
Since there isn't enough time to make it work right at this point
and there are no users of it in the API, remove it for now.
It might get added in the next release cycle, in a proper form.
@feature
Mike Blumenkrantz [Thu, 28 Feb 2019 15:50:20 +0000 (16:50 +0100)]
efl.access.object: iconified -> minimized
Summary:
be consistent with efl.ui.win usage
Depends on D8044
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Differential Revision: https://phab.enlightenment.org/D8054
Wonki Kim [Fri, 8 Mar 2019 08:44:37 +0000 (17:44 +0900)]
efl.ui.win: iconified -> minimized
Summary:
minimize is a commonly used term in the current year. iconify is not.
ref T7511
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7511
Differential Revision: https://phab.enlightenment.org/D8044
Change-Id: I976a7337722cb2c75b29655e86b60a27ec0182e0
Xavi Artigas [Thu, 28 Feb 2019 09:38:47 +0000 (10:38 +0100)]
eolian_mono: Generate proper doc refs for Constants
Summary:
Support for global constant variables has been recently added to the C# bindings.
This patch fixes doc references so they use the proper name.
This brings the mono doc warnings from 71 down to 29.
Depends on D8048
Test Plan:
Just build and see less doc warnings when building the C# bindings.
Also, doc refs to constants are links now.
Reviewers: lauromoura, vitor.sousa
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8051
Wonki Kim [Fri, 8 Mar 2019 08:16:56 +0000 (17:16 +0900)]
interfaces: don't inherit efl.ui.layout anymore
Summary: this removes efl.file from the class hierarchy
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl_api
Differential Revision: https://phab.enlightenment.org/D8042
Change-Id: I765414200f78107698a5511f2de1fee7725a1755
Lauro Moura [Thu, 28 Feb 2019 15:12:39 +0000 (12:12 -0300)]
efl-csharp: Remove generated inlist/inarray support
Summary: To be added again in a later release after rework in Eolian
Reviewers: q66, vitor.sousa, felipealmeida
Reviewed By: q66
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8056
Vitor Sousa [Thu, 28 Feb 2019 14:09:38 +0000 (11:09 -0300)]
efl_csharp: add constant variable generation to C# binding (constants)
Reviewers: lauromoura, q66, bu5hm4n, zmike, cedric, felipealmeida, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl_language_bindings
Differential Revision: https://phab.enlightenment.org/D8048
Wonki Kim [Fri, 8 Mar 2019 10:07:39 +0000 (19:07 +0900)]
spec: bump up to 1.22.0
Change-Id: I043b2604718138387acc0a765d0ae0dcf5fb59f5
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
Stefan Schmidt [Thu, 28 Feb 2019 14:04:09 +0000 (15:04 +0100)]
release: Update NEWS and bump version for 1.22.0-alpha1 release
Mike Blumenkrantz [Thu, 28 Feb 2019 14:48:27 +0000 (23:48 +0900)]
efl.ui.widget: mark scroll_* methods @beta
Summary:
these are questionable at best here
ref T7553, T7714
Reviewers: woohyun
Reviewed By: woohyun
Subscribers: cedric, #reviewers, #committers
Tags: #efl_api
Maniphest Tasks: T7714, T7553
Differential Revision: https://phab.enlightenment.org/D8055
Daniel Kolesa [Thu, 28 Feb 2019 13:56:21 +0000 (14:56 +0100)]
elua: fix typo in eolian bindings
Marcel Hollerbach [Thu, 28 Feb 2019 13:48:37 +0000 (08:48 -0500)]
elm_popup: remove on_show_region_set call
Summary:
Its hard to say why removing such calls are fixing a bug like T7274.
However, it appears that this call causes the min size calculation of
evas to fall apart. This also removes a workarround introduced earlier
to fix this.
This fixes T7274
Reviewers: zmike
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7274
Differential Revision: https://phab.enlightenment.org/D8043
Vincent Torri [Thu, 28 Feb 2019 12:21:56 +0000 (13:21 +0100)]
Eina: implement strtod in C locale and remove linkl against msvcr100.
Summary:
This fixes compilation on Windows
More precisely edje_cc could not compile emotion edc files, so it was a runtime problem
because of msvcr100 link.
Add more tests than before
Test Plan: compilation
Reviewers: raster
Subscribers: zmike, stefan_schmidt, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D7926
Lauro Moura [Tue, 26 Feb 2019 23:21:15 +0000 (23:21 +0000)]
eina: Declare eina_config.h install dir
Meson from git complains if `install` is set but not `install_dir`.
Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de>
Differential Revision: https://phab.enlightenment.org/D8036
Stefan Schmidt [Wed, 27 Feb 2019 10:26:26 +0000 (11:26 +0100)]
build: ensure we remove the newly generated *eo.legacy.c files for distcheck
Eolain now generates extra files for the C legacy implementations and
distcheck has trouble with them not being removed by the build system.
Going to handle lists of them in all the different makefiles (elm,
ecore, emotion, etc) would be a lot extra work. Thus I will just make
sure the get removed during our clean-local rule.
Given 1.22 is the last release we will use autotools for I think this is
a fair compromise to get this fixed.
Differential Revision: https://phab.enlightenment.org/D8052
Carsten Haitzler (Rasterman) [Wed, 27 Feb 2019 15:49:19 +0000 (15:49 +0000)]
evas gl - swap with damage - look for KHR extn string too
as per shortlog - look for KHR in addition to EXT for swap with damage
region extn detection.