Mike Blumenkrantz [Thu, 18 Apr 2019 00:59:58 +0000 (09:59 +0900)]
tests: add api coverage for evas image
Summary:
verify that legacy apis function as expected when using legacy api to
load and unload images
Depends on D8618
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8619
Vincent Torri [Wed, 17 Apr 2019 21:31:21 +0000 (17:31 -0400)]
ecore_win32: use AddClipboardFormatListener and RemoveClipboardFormatListener explicitely
instead of loading them from user32.dll
Summary: current mingw-w64 declare these functions
Test Plan: compilation
Reviewers: zmike, raster, cedric
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8644
Vincent Torri [Wed, 17 Apr 2019 19:45:50 +0000 (15:45 -0400)]
ecore_win32: remove explicit define of WM_CLIPBOARDUPDATE
Summary: since ewpi is used, a newer mingw-w64 is used, which defines WM_CLIPBOARDUPDATE
Test Plan: compilation
Reviewers: raster, zmike, cedric
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8643
Mike Blumenkrantz [Wed, 17 Apr 2019 19:45:35 +0000 (15:45 -0400)]
build: use only BUILD_ECORE_IMF_XIM as a define
Summary:
meson and autotools were a bit out of sync with this, resulting in
unexpected behavior
Reviewers: billiob
Reviewed By: billiob
Subscribers: billiob, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8641
Carsten Haitzler (Rasterman) [Wed, 17 Apr 2019 15:39:52 +0000 (16:39 +0100)]
eina vpath - clear up vpath to handle env vars that are too big as fatal
Vincent Torri [Wed, 17 Apr 2019 14:30:34 +0000 (15:30 +0100)]
eina_vpath: port to Windows
Test Plan: test example
Reviewers: raster, cedric, zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8633
Cedric BAIL [Wed, 17 Apr 2019 16:35:06 +0000 (12:35 -0400)]
eio: remove unecessary printf from tests.
Summary: Depends on D8539
Reviewers: zmike, bu5hm4n
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8542
Boris Faure [Wed, 17 Apr 2019 15:18:56 +0000 (11:18 -0400)]
autotools: remove all usage of evas_image_loader_tgv_(cflags|libs)
Summary:
these are empty variables which are apparently causing build errors for
some users in certain cases
Finishes work from
c2ae61ed0dd367bd589eb73c4bfe2f68dac92d23 (
https://phab.enlightenment.org/D7876 )
Reviewers: zmike
Reviewed By: zmike
Subscribers: zmike, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8623
Vincent Torri [Wed, 17 Apr 2019 14:45:07 +0000 (10:45 -0400)]
efl-net.pc.in : honor datarootdir
Reviewers: raster, zmike
Reviewed By: raster
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8632
Marcel Hollerbach [Thu, 4 Apr 2019 11:30:40 +0000 (13:30 +0200)]
behavior-tests: add Efl.Ui.Table
there are no tests for Efl.Pack_Table for now, so here comes unification
for Efl.Pack tests.
Differential Revision: https://phab.enlightenment.org/D8557
Marcel Hollerbach [Thu, 4 Apr 2019 11:46:53 +0000 (13:46 +0200)]
efl_ui_table: remove callbacks when item is removed
everything else is wrong.
Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8556
Marcel Hollerbach [Thu, 4 Apr 2019 11:30:08 +0000 (13:30 +0200)]
efl_ui_table: correctly delete all items when clearing / unpacking
otherwise we do not clear the internals, and fail to get the count to 0.
Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8555
Marcel Hollerbach [Thu, 4 Apr 2019 11:24:59 +0000 (13:24 +0200)]
efl_ui_table: hardening of pack_at function
_pack_at is used to add new subobjects to the table. When a object is
already part of this table, then we should not add it again. Additional,
when there is already a gi structure, but the parent is something else,
then we should NOT just reuse this struct, otherwise we might use a
struct reference that we do not own. The struct could be owned by
another table widget.
The test must be adjusted, before we did not error on adding a widget
twice. Now we do (just like in box). Hence we should not do that in
test.
Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8554
Marcel Hollerbach [Fri, 29 Mar 2019 07:14:05 +0000 (08:14 +0100)]
elm: here comes a new testsuite
We have two elementary test suite, what is more obvious than just adding
a third one! This testsuite aims for establishing a standard behaviour
for the interfaces we have added in efl now. This first part here brings
a few testcases for Efl.Pack which are currently only passing for
Efl.Ui.Box. More widgets will be added afterwards.
The testcases themself are not defined after what worked or did not
work, but rather what made sence (in my opinion ^_^).
ref T7767
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8518
Marcel Hollerbach [Mon, 1 Apr 2019 12:45:19 +0000 (14:45 +0200)]
efl_ui_box: print more errors,
when a element is added two times, we should print an error. Same for
removing a child that is not part of this container.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D8522
Marcel Hollerbach [Sun, 31 Mar 2019 16:12:48 +0000 (18:12 +0200)]
efl_ui_widget: we should ensure that every subobject is a gfx entity
we are calling visible_set on them later on, this will drop errors,
additionally this safes us from checking this in the widget-container
code.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8520
Yeongjong Lee [Fri, 12 Apr 2019 10:18:04 +0000 (10:18 +0000)]
ui.box: remove leagcy evas_box from Efl.Ui.Box
Remove legacy stuff from Efl.Ui.Box.
This expect to improve performance by removing internal function call related
evas_box.
Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8417
Yeongjong Lee [Fri, 12 Apr 2019 07:03:28 +0000 (07:03 +0000)]
efl.pack_linear: Clarify behavior and docs
Some APIs accept both positive and negative indices when accessing items.
This patch changes the documentation for the lower limit from `-(count - 1)` to
`-count` to allow accessing the very first item.
For example (content_count = 5):
| |first item| | | |last item|
|positive index| 0 | 1| 2| 3| 4 |
|negative index| -5 |-4|-3|-2| -1 |
If negative indices are limited to be >= -4 the first item cannot be accessed
using negative indices.
Also, range limit of `pack_at` is removed for usability.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Reviewed-by: YeongJong Lee <yj34.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D8433
Jaehyun Cho [Wed, 17 Apr 2019 06:00:58 +0000 (15:00 +0900)]
efl_ui_pager: fix to delete component objects when pager is deleted
Pager creates Efl.Canvas.Rectangle objects when pager is constructed.
Since the parent of these component objects is evas, these component
objects are not deleted automatically when pager is deleted.
These component objects cause event block after pager is deleted.
(e.g. click event is blocked)
To resolve this issue, these component objects are deleted manually when
pager is deleted.
Jaehyun Cho [Wed, 17 Apr 2019 01:41:55 +0000 (10:41 +0900)]
Revert "Revert "elm - fix harmless warning for clean build""
This reverts commit
d2eebb6f5faebc76a1a13494fd0721e8d63af410.
To restore
e3d2a0cf1235beceb3b403e42d2dafed4b4e90e5 which implements
features during feature freeze period, the revert commit is reverted.
Jaehyun Cho [Wed, 17 Apr 2019 01:41:50 +0000 (10:41 +0900)]
Revert "Revert "test/efl_ui_pager: fix demo""
This reverts commit
f652bf932837846c5911c26992196213780394df.
To restore
d3bb1a7342b2725c585d90557926e0c433058e50 which implements
features during feature freeze period, the revert commit is reverted.
Jaehyun Cho [Wed, 17 Apr 2019 01:41:43 +0000 (10:41 +0900)]
Revert "Revert "test/efl_ui_pager_scroll: fix demo""
This reverts commit
5742caa6016bf0ea852059546ded493c2d52b1a7.
To restore
30bd541bf264d369e2a96d27fa3ff5139c360e26 which implements
features during feature freeze period, the revert commit is reverted.
Jaehyun Cho [Wed, 17 Apr 2019 01:41:38 +0000 (10:41 +0900)]
Revert "Revert "efl_ui_pager: implement unpack_all/clear function""
This reverts commit
b28f1e034b7ecbe7966b0d2b9687d8e22245837c.
To restore
74c48f029632d2260816b4cb3de6dbb40a29f040 which implements
features during feature freeze period, the revert commit is reverted.
Jaehyun Cho [Wed, 17 Apr 2019 01:41:32 +0000 (10:41 +0900)]
Revert "Revert "efl_ui_pager: implement unpack_at function""
This reverts commit
a10e1bc597f00865514f30d84268963dcbf3f599.
To restore
913a5bff66dd7a58753ccae1474657ec33350e43 which implements
features during feature freeze period, the revert commit is reverted.
Hermet Park [Wed, 24 Apr 2019 05:01:06 +0000 (14:01 +0900)]
evas wbmp: fix wrong calc order.
Double check patch again, since my wrong logical thinking,
Every width must be considered to rounding up fiting 8 bits.
this new compuation must be correct.
Change-Id: I112b88560b97e7e413f24b6d17ecaff3588d280e
Hermet Park [Wed, 24 Apr 2019 04:19:12 +0000 (13:19 +0900)]
eolian: remove unreachable code.
Change-Id: I488e77800e2bc682a8b79268065f5f6500eefcb7
Hermet Park [Wed, 24 Apr 2019 01:18:57 +0000 (10:18 +0900)]
evas wbmp loader: coming previous patch with fixing wrong calc.
Those bits must be rounded if they are not fit to 8 bits.
Change-Id: I04fff0d46fb5228e2107ce0207cc8b1245ba678c
see:
68fe9ec6bf60b4730ad7fdbf2698dc7aa130b94d
Hermet Park [Tue, 23 Apr 2019 12:31:06 +0000 (21:31 +0900)]
evas wbmp: remove unnecessary size overflow.
since this patch
68fe9ec6bf60b4730ad7fdbf2698dc7aa130b94d
it checks size validation earlier,
this varification doesn't need anymore...
Change-Id: I395f664efebf6c0ccaaea1b5cd7882917ab276f5
Hermet Park [Tue, 23 Apr 2019 10:04:21 +0000 (19:04 +0900)]
evas image: check format more strong way for wbmp.
wbmp format doesn't have any tags for verifying file header,
It's easy to pass other format headers if they have the first 1 byte 0x0,
This ocassionally brings wrong result (= succeeed loading image),
if unknown file format is tried.
So, to make it sure, here verify the size of image additionally.
if the image size is not expected, It returns fail as the result.
This problem is actually happened in this scenario.
open any mpeg file with elm_image.
elm_image_file_set() will return true though it fails to read data.
since wbmp make it pass to succeed.
@fix
Change-Id: I56a117e1b161d1dd13c512cb9a48d92a7b6caf33
Jaehyun Cho [Fri, 19 Apr 2019 03:14:54 +0000 (12:14 +0900)]
efl_mono: install libeflcustomexportsmono.so to support EflSharp by meson
EflSharp application installed by dotnet requires
libeflcustomexportsmono.so files to be executed.
To support EflSharp application, libeflcustomexportsmono.so files are
installed without --enable-csharp-bindings option by meson build.
Change-Id: I00f6486e00f2dc6b4269c684df7c5ece462c8ff8
Shinwoo Kim [Mon, 22 Apr 2019 02:53:50 +0000 (11:53 +0900)]
Efl.Ui.Animation_View: remove double free
Following step makes SIGABORT by double free.
1. elm_animation_view_add
2. elm_animation_view_file_set
3. evas_object_del
The first free occurs in
(gdb) bt
#0 eina_stringshare_del
#1 _efl_ui_animation_view_efl_canvas_group_group_del
#2 efl_canvas_group_del
#3 evas_object_smart_del
#4 _efl_canvas_object_efl_object_invalidate
#5 efl_invalidate
#6 _efl_ui_widget_efl_object_invalidate
#7 efl_invalidate
#8 _efl_invalidate
#9 _efl_object_parent_set
#10 efl_parent_set
#11 efl_parent_set
#12 efl_del
#13 elm_main
#14 main
the second free occurs in
(gdb) bt
#0 eina_stringshare_del
#1 _efl_file_efl_object_destructor
#2 efl_destructor
#3 efl_destructor
#4 _efl_del_internal
#5 _efl_unref_internal
#6 efl_del
#7 evas_object_del
#8 _efl_ui_widget_efl_canvas_group_group_del
#9 efl_canvas_group_del
#10 efl_canvas_group_del
#11 evas_object_smart_del
#12 _efl_canvas_object_efl_object_invalidate
#13 efl_invalidate
#14 _efl_ui_widget_efl_object_invalidate
#15 efl_invalidate
#16 _efl_invalidate
#17 _efl_object_parent_set
#18 efl_parent_set
#19 efl_parent_set
#20 efl_del
#21 elm_main
#22 main
Change-Id: Iabedaacc6fc82f87e5d4d78bc4a20030419148aa
Woochanlee [Mon, 22 Apr 2019 09:48:26 +0000 (18:48 +0900)]
elm_genlist: Avoid edje recalc in no size, position changed case.
Change-Id: Id6019f34bcca5c4cdad3c9bef4a976c328517fef
Wonki Kim [Wed, 17 Apr 2019 10:27:30 +0000 (19:27 +0900)]
meson: modify meson definitions for gl_generic module
in tizen environment, gl_generic module can't be dynamically loadded,
because some symbols are not linked.
so this patch modify meson definitions to build gl_generic
as static linked library . it's workaround.
and also there are some sources that exist on tizen only. this patch appends them.
@tizen_only
Change-Id: I50a5ee74a684a93a102698cdb276e03e0b1d8134
Shinwoo Kim [Fri, 19 Apr 2019 08:18:26 +0000 (17:18 +0900)]
Revert "edje_calc: make INTP use TO_INT_ROUND"
Summary:
This reverts commit
be00af9bc3d534ede3965693618684fe38fd8786 which has
incorrect calculation. For more information please refer to:
https://phab.enlightenment.org/D8665
Reviewers: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8666
Change-Id: I878418da20ade0396ee218579452e7ded882ffa8
Taehyub Kim [Fri, 19 Apr 2019 07:17:03 +0000 (16:17 +0900)]
elc_popup: fix theme logic for the label in popup
Change-Id: Ibc3156f805532c36e2934cb78e962b9ae10ac6ff
Jaehyun Cho [Thu, 18 Apr 2019 07:35:23 +0000 (16:35 +0900)]
efl_mono: install libeflcustomexportsmono.so to support EflSharp
EflSharp application installed by dotnet requires
libeflcustomexportsmono.so files to be executed.
To support EflSharp application, libeflcustomexportsmono.so files are
installed without --enable-csharp-bindings option.
Change-Id: I3f4bcc95d86fb2366363b49db2c9b684a0dafac3
Shinwoo Kim [Thu, 18 Apr 2019 00:28:57 +0000 (09:28 +0900)]
doc: follow document policy for deprecated API
(1) The @deprecated should come first than other information.
(2) The @brief should follow just after @deprecated
(3) Use correct version information for ACR
Change-Id: Ia7bc8469bd89449fef80ca6ac284ec39bf0b589c
JunsuChoi [Thu, 18 Apr 2019 01:22:34 +0000 (10:22 +0900)]
vg_json: Set multiple mask from json
Summary:
This patch supports multiple masks for multiple attributes on a layer.
Make main_mask_layer and make each mask EFL_CANVAS_VG_CONTAINER_CLASS and connect them.
main_mask_layer is made for masks
The masks are composited into main_mask_layer in order.
main_mask_layer exists for the intersect option in last order
This can be optimized later, and is created and used temporarily in this patch.
Test Plan:
If there are three masks, they can be created as below.
mask_set(clayer, main_mask);
mask_set(main_mask, mask_1);
mask_set(mask_1, mask_2);
mask_set(mask_2, mask_3);
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric, kimcinoo, #reviewers, smohanty, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8507
Change-Id: I5a75640308a69e8e7e50800ff2444d6078c4fe4d
Taehyub Kim [Wed, 17 Apr 2019 07:52:13 +0000 (16:52 +0900)]
elm_notify: fix theme apply logic for new return value
Summary: fix theme apply logic for new return value
Test Plan: 1. run elementary_test for elm_notify and elm_popup
Reviewers: Jaehyun_Cho, woohyun
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8628
Change-Id: I25deb0148fa7f49e597b016f00dc099480b0f430
Radoslaw Cybulski [Wed, 17 Apr 2019 12:20:14 +0000 (14:20 +0200)]
Remove warnings, when used legacy gesture enum
Change-Id: I22f4f3c48806473c1f7f4170d84bea805d82194d
Wonki Kim [Wed, 17 Apr 2019 07:35:11 +0000 (16:35 +0900)]
spec: remove a dependency on gnutls package.
efl doesn't use gnutls library for crypto lib.
so that this patch removes a dependency definition for it.
Change-Id: I08fcbe70f2acea613ca332f98425f27704d181f1
Shinwoo Kim [Wed, 17 Apr 2019 04:38:02 +0000 (13:38 +0900)]
Revert "Remove and update deprecated API"
This reverts commit
95be425c35e82b73058e7ec161cb7ce94fcea6ff.
The ACR-1373 is still ongoing.
Change-Id: I6decc97b7d5add811077fee0ef5f4af105505af2
Shinwoo Kim [Wed, 17 Apr 2019 03:47:20 +0000 (12:47 +0900)]
Migration: fix build errors
(1) Fix duplicate message definition error of po files
(2) Define EFL_BUILD to define EFL_PACK_LAYOUT_PROTECTED which makes lines
using efl_pack_layout_update do not have build error.
Change-Id: I0179d4c0f3b4133459359e2bc729efec0524b67b
Vincent Torri [Tue, 16 Apr 2019 16:59:10 +0000 (17:59 +0100)]
evil: remove tmp and home dir get
Summary: eina implement them for all OSes
Test Plan: compilation
Reviewers: raster, cedric, zmike
Reviewed By: raster
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8621
Mike Blumenkrantz [Tue, 16 Apr 2019 12:55:11 +0000 (08:55 -0400)]
efl_ui_image: fix warning about calling smooth_scale_set on non-image
Summary: this is triggered during object construction when no image exists
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8617
Xavi Artigas [Tue, 16 Apr 2019 09:06:23 +0000 (11:06 +0200)]
docs: Typo
Lauro Moura [Mon, 15 Apr 2019 22:16:43 +0000 (19:16 -0300)]
cxx: Fix eldbus meta include name
Summary:
It should not conflict with Eldbus_Model header
Fixes T7805
Reviewers: vtorri
Reviewed By: vtorri
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7805
Differential Revision: https://phab.enlightenment.org/D8611
Lauro Moura [Mon, 15 Apr 2019 18:58:30 +0000 (15:58 -0300)]
csharp: Remove warning about clashing GetType() methods
Summary:
This changes the naming scheme to replace `GetType`/`SetType` methods
with `Get<CLASS>Type`/`Set<CLASS>Type`. Like `GetGestureType`.
Avoids cs compiler complaining of clashing with `System.Object.GetType`.
Fixes T7727
Reviewers: segfaultxavi, felipealmeida, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7727
Differential Revision: https://phab.enlightenment.org/D8609
Lauro Moura [Mon, 15 Apr 2019 18:45:40 +0000 (15:45 -0300)]
csharp: Remove unused variable `methods` warning.
Summary: Only generate it if there was at least one method registered.
Reviewers: vitor.sousa, felipealmeida
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8608
Lauro Moura [Mon, 15 Apr 2019 18:29:08 +0000 (15:29 -0300)]
csharp: Rename MarshalTest to MarshalEo
Summary: To better reflect its intent
Reviewers: segfaultxavi, vitor.sousa, felipealmeida
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8607
Lauro Moura [Mon, 15 Apr 2019 17:09:49 +0000 (14:09 -0300)]
csharp: Fix free_cb calling under dotnet.
Summary:
dotnet's GC seems to be more agressive, showing some issues that usually
do not appear when running under Mono's.
This commit uses for free_cb's the same scheme we already use for
regular Eo refs, using a GC handle to keep the cleaning callback alive.
Reviewers: vitor.sousa, felipealmeida, woohyun
Reviewed By: vitor.sousa
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8593
Xavi Artigas [Mon, 15 Apr 2019 12:58:23 +0000 (14:58 +0200)]
mono-docs: No need no blacklist *Concrete classes anymore
Lauro Moura [Mon, 15 Apr 2019 12:28:25 +0000 (14:28 +0200)]
csharp: Make concrete classes internal.
Summary:
They don't need to be public anymore. After merging other changes we can
try to actually remove them.
Fixes T7801
Reviewers: segfaultxavi, vitor.sousa, felipealmeida
Reviewed By: segfaultxavi, vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7801
Differential Revision: https://phab.enlightenment.org/D8601
Carsten Haitzler (Rasterman) [Mon, 15 Apr 2019 12:33:46 +0000 (13:33 +0100)]
update po...
Vincent Torri [Mon, 15 Apr 2019 10:53:42 +0000 (11:53 +0100)]
Windows : fix the definition of EAPI
Summary:
with autotools, EFL_BUILD was passed to the preprocessor for libraries and binaries, which was wrong. Only libraries must have EFL_BUILD defined. See T7797 for an explanation
This also fix EAPI in Ecore_Getopt.g and Efl_UI.h
Also note that all the wayland and drm Makefile's have not been touched
Test Plan: compilation
Reviewers: raster, zmike, cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8602
Carsten Haitzler (Rasterman) [Fri, 12 Apr 2019 12:40:04 +0000 (13:40 +0100)]
elm test - add tests ofr other styles for panes provided by default
abdulleh Ghujeh [Mon, 15 Apr 2019 11:48:24 +0000 (13:48 +0200)]
Unreachable code
Summary: Removed condition that will never be fulfilled
Reviewers: ali.alzyod, bowonryu, woohyun, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8606
Yeongjong Lee [Mon, 15 Apr 2019 11:07:54 +0000 (13:07 +0200)]
gitignore: add elm_default_config.x
Summary: elm_default_config.x is created by build script.
Reviewers: segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8605
Xavi Artigas [Thu, 11 Apr 2019 10:40:21 +0000 (12:40 +0200)]
mono-docs: Allow derived classes to have external examples
Summary:
You can now have external example files for derived classes (Efl.Ui.Button.SetText)
as well as for base classes (Efl.IText.SetText).
If both files are present, both examples are embedded in the docs. The more
examples the better!
Examples for classes in-between the hierarchy (Efl.Ui.Widget.SetText) are not
picked up. Might be worth examining in the future.
Test Plan:
Create example files for both `Efl.Ui.Button.AutorepeatEnabled.cs` and `Efl.Ui.IAutorepeat.AutorepeatEnabled.cs`.
You should see both examples appearing in the docs.
Reviewers: lauromoura, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8597
Daniel Kolesa [Fri, 12 Apr 2019 13:48:36 +0000 (15:48 +0200)]
elua: add all missing eolian api bindings
Carsten Haitzler (Rasterman) [Fri, 12 Apr 2019 11:56:40 +0000 (12:56 +0100)]
evas - fix crash/junk pixel content but with tiled rotate at 270 + neon
@fix
Carsten Haitzler (Rasterman) [Fri, 12 Apr 2019 10:23:57 +0000 (11:23 +0100)]
evas common - tiled rotate - fix signedness of neon intrinsics - warning
Carsten Haitzler (Rasterman) [Fri, 12 Apr 2019 10:18:38 +0000 (11:18 +0100)]
evas common - convert - rotate tiled - fix const ptr warnings
Carsten Haitzler (Rasterman) [Fri, 12 Apr 2019 09:29:42 +0000 (10:29 +0100)]
evas map - mark npoints param as unused because it is remove warning
Yeongjong Lee [Fri, 12 Apr 2019 07:12:51 +0000 (09:12 +0200)]
efl_ui_widget: avoid calling null parent
Summary:
This will fix unnecessary warnings on P280.
Thanks to segfaultxavi for reporting.
ref T7796
Reviewers: zmike, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7796
Differential Revision: https://phab.enlightenment.org/D8599
Vincent Torri [Thu, 11 Apr 2019 16:51:13 +0000 (17:51 +0100)]
elementary: rename ELEMENTARY_BUILD to EFL_BUILD like all other libs
Test Plan: compilation
Reviewers: cedric, raster, zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8598
Jaehyun Cho [Thu, 11 Apr 2019 11:14:43 +0000 (20:14 +0900)]
efl_ui_list: fix to delete sub objects in efl_object_invalidate
widget's sub objects and callbacks should be deleted in
efl_object_invalidate instead of efl_object_destructor.
@fix
Xavi Artigas [Thu, 11 Apr 2019 11:18:33 +0000 (13:18 +0200)]
mono-docs: Properly indent code examples
First code line was indented differently by DocFX because of tabs,
whitespace or who knows what. This adds a newline after the <code>
tag so all code lines have the same indentation.
JunsuChoi [Thu, 11 Apr 2019 10:20:03 +0000 (19:20 +0900)]
efl_canvas_vg_container : Support mask tree for multiple mask.
Summary:
If another mask is set in the mask source, the rendering of the mask is performed in order.
The mask will render one buffer in order.
And depending on some types, the initial values of the buffers may be different. (alpha zero or 255).
If the implementation for masking is
efl_canvas_vg_node_mask_set(layer, mask1, MASKADD);
efl_canvas_vg_node_mask_set(mask1, mask2, MASKSUBSTRACT);
efl_canvas_vg_node_mask_set(mask3, mask4, MASKINTERSECT);
Supports rendering for consecutive masks.
Reviewers: Hermet, cedric
Reviewed By: Hermet
Subscribers: #reviewers, #committers, smohanty, kimcinoo
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8517
JunsuChoi [Thu, 11 Apr 2019 10:12:40 +0000 (19:12 +0900)]
ector_software_rasterizer: Implement mask blending function.
Summary:
Add Mask blend function(Add, Substract, Intersect, Difference)
this blending function only use mask blending case.
Test Plan: N/A
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric, kimcinoo, #reviewers, smohanty, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8509
Xavi Artigas [Thu, 11 Apr 2019 08:38:40 +0000 (10:38 +0200)]
mono-docs: Allow embedding external examples
Summary:
New option added to eolian_gen: -e <dir>
This specifies a directory to search for examples. If a file is found with the
same name as an EFL C# class (e.g. Efl.Ui.Button.cs) or as an EFL C# method or
property (e.g. Efl.IText.Text.cs, Efl.IText.SetText.cs) its full
contents will be embedded in the documentation for that class or method within
<example> and <code> tags. This is, in turn, is parsed by DocFX and shown
in Example boxes in the generated pages.
If an example file is not found, no examples are embedded for that object.
If -e is not used, no examples are embedded for any object.
New option added to meson: mono-examples-dir to point to the examples directory.
This directory is then passed to eolian_mono through -e.
Do not use it (or define it to nothing) to disable example embedding.
No performance drop has been observed because of these extra tests.
Right now examples can only be given for base classes, not for derived ones
(i.e. Efl.IText.Text but not Efl.Ui.Button.Text). This will be addressed in a
later commit.
Feature
Depends on D8587
Test Plan:
Create an examples folder and put some files in it:
```
mkdir /tmp/examples
echo 'var button = new Efl.Ui.Button();' > /tmp/examples/Efl.Ui.Button.cs
echo 'button.AutoRepeatEnabled = true;' > /tmp/examples/Efl.Ui.IAutorepeat.AutorepeatEnabled.cs
echo 'button.SetAutoRepeatEnabled(true);' > /tmp/examples/Efl.Ui.IAutorepeat.SetAutorepeatEnabled.cs
```
Configure meson to embed examples and build:
```
meson configure -Dmono-examples-dir=/tmp/examples
ninja
```
Examine the generated efl_ui_button.eo.cs file to see embedded <example> tags,
or run DocFX and bask in the glory of documentation pages with examples:
```
cd doc/docfx
./gendoc.sh
```
Reviewers: lauromoura, felipealmeida, vitor.sousa, zmike, bu5hm4n
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8592
Xavi Artigas [Thu, 11 Apr 2019 08:37:33 +0000 (10:37 +0200)]
efl-mono: Allow doc XML tags to be nested
Summary:
This allows inserting nested tags like:
<example><code>bla bla bla</code></example>
The generate_tag_example() is currently unused but serves as an example.
Depends on D8585
Test Plan:
Not much, unless you want to manually call generate_tag_example()
(Which I have done, and it works, I promise).
Reviewers: lauromoura, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: vitor.sousa, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8587
Xavi Artigas [Thu, 11 Apr 2019 08:36:53 +0000 (10:36 +0200)]
efl-mono: Allow generating doc refs for methods without class
Summary:
Methods without a class (global) make the previous code crash because
func.klass contains something (it cannot be NULL because it is a reference)
but you cannot make much calls on this something.
Test Plan: Currently there are no such references, but I need this working for upcoming patches.
Reviewers: lauromoura, vitor.sousa
Reviewed By: vitor.sousa
Subscribers: vitor.sousa, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8585
JunsuChoi [Thu, 11 Apr 2019 08:18:10 +0000 (17:18 +0900)]
svg_parse: Support gradient when <defs/> is not declared.
Summary:
Even if linear or radius gradient is declared,
it will not be output if there is no <defs/>
It can be supported because it stores the declared gradient in loader.gradient.
Test Plan: N/A
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8591
JunsuChoi [Thu, 11 Apr 2019 05:48:05 +0000 (14:48 +0900)]
vg_common_svg : Add missing eet data descriptor
Summary:
Add descriptor to get the value of user_space,
which is a member of Svg_Style_Gradient.
Test Plan: N/A
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8594
Boris Faure [Wed, 10 Apr 2019 20:45:52 +0000 (22:45 +0200)]
ecore_imf: do not loop forever on shutdown when there is no more a display
@fix
Boris Faure [Wed, 10 Apr 2019 20:44:59 +0000 (22:44 +0200)]
meson: set ENABLE_XIM if the xim module is compiled
Boris Faure [Wed, 10 Apr 2019 20:44:14 +0000 (22:44 +0200)]
ecore_imf: better to check whether the module is compiled
Boris Faure [Wed, 10 Apr 2019 20:40:55 +0000 (22:40 +0200)]
meson: skip trailing dot if any + more posix compliant
Lauro Moura [Wed, 10 Apr 2019 18:04:22 +0000 (15:04 -0300)]
csharp: Fix GetUserMethods and NativeClass
Summary:
- Should only search for methods locally.
- dotnet requires passing false to GetAttributes
- Also added a check when the class overrides no Eo ops.
Reviewers: felipealmeida, vitor.sousa, woohyun
Reviewed By: felipealmeida, vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8588
Carsten Haitzler (Rasterman) [Wed, 10 Apr 2019 15:09:04 +0000 (16:09 +0100)]
ecore drm2 - handle possible NULL fb when doing a flip
Xavi Artigas [Wed, 10 Apr 2019 14:23:38 +0000 (16:23 +0200)]
efl-mono: Fix eolian_mono help
It was a blatant copy&paste of eolian_cxx :D
Xavi Artigas [Wed, 10 Apr 2019 14:09:15 +0000 (16:09 +0200)]
docs: Remove silly [[[ typos
Carsten Haitzler (Rasterman) [Wed, 10 Apr 2019 14:03:21 +0000 (15:03 +0100)]
meson - oops - used sh not dash
Carsten Haitzler (Rasterman) [Wed, 10 Apr 2019 14:02:47 +0000 (15:02 +0100)]
meson - evas loader confg install script - make it /bin/sh compliant
Carsten Haitzler (Rasterman) [Wed, 10 Apr 2019 10:16:05 +0000 (11:16 +0100)]
edje example edc - remove misleading signals that aren't used
JunsuChoi [Wed, 10 Apr 2019 09:03:05 +0000 (18:03 +0900)]
svg_parse: Change initial value of gradientUnits of linearGradient
Summary:
The initial value of gradientUnits is objectBoundingBox.
If userSpaceOnUse is declared, change user_space to true.
We do not have to recalculate each value by this change.
The default unit for linear x1, y1, x2, y2 is percentages.
This can be a value from 0 to 1. If svg want to use a value between 0 and 100, it must have a '%' symbol
That is accroding to gradientUnits in here
https://www.w3.org/TR/2015/WD-SVG2-
20150915/pservers.html#LinearGradientElementGradientUnitsAttribute
Test Plan:
cd ./src/examples/edje
edje_cc -beta svg.edc && gcc -o svg-test svg-test.c `pkg-config --libs --cflags evas ecore ecore-evas edje`
Reviewers: Hermet, smohanty
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8589
JunsuChoi [Wed, 10 Apr 2019 08:39:36 +0000 (17:39 +0900)]
svg_parse: The percentage gradient value divide by view's size
Summary:
The default unit of gradient value is percentage.
This can be a value from 0 to 1.
If svg use the '%' symbol, we must divide by 100.
And it must be calculated the same as any other case.
Test Plan: N/A
Reviewers: Hermet, smohanty
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8590
Felipe Magno de Almeida [Tue, 9 Apr 2019 21:37:01 +0000 (18:37 -0300)]
efl-mono: Add test and fix problem with private dynamic types passed as parameters
Summary:
The code that searches the type dynamically fails instead of falling
back to Efl.Object. Now it fallbacks to Efl.Object.
Fixes T7783
Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura
Reviewed By: vitor.sousa, lauromoura
Subscribers: lauromoura, cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7783
Differential Revision: https://phab.enlightenment.org/D8574
Lauro Moura [Tue, 9 Apr 2019 19:23:03 +0000 (16:23 -0300)]
csharp: Add some null checks.
Summary:
- Check for nullness when getting stuff from C# to C
- We should return null when wrapping a NULL pointer instead of throwing
an exception
Reviewers: felipealmeida, vitor.sousa, woohyun
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8580
Felipe Magno de Almeida [Tue, 9 Apr 2019 14:16:17 +0000 (11:16 -0300)]
efl-mono: Make override of methods only for methods that are defined by the user
Summary:
Instead of overriding every method and making the callback to C, we
just override the methods that are found by reflection on the type.
Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8579
Felipe Magno de Almeida [Tue, 9 Apr 2019 14:07:50 +0000 (11:07 -0300)]
efl-mono: Fix --enable-mono-beta for tests
Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8573
Vincent Torri [Tue, 9 Apr 2019 14:05:18 +0000 (10:05 -0400)]
unit tests: fix warnings when fork() is not available, fix evil's unit tests compilation
Summary:
* some variables were defined, only when fork() was available
* since Eina.h is included unconditionally, add Eina path in Makefile_Evil.am
Test Plan: compilation
Reviewers: zmike, cedric, raster, devilhorns
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl_build
Differential Revision: https://phab.enlightenment.org/D8586
Vincent Torri [Tue, 9 Apr 2019 11:34:19 +0000 (12:34 +0100)]
eldbus unit test: fix warnings
Summary: include libgen.h so that basename() is declared
Test Plan: compilation
Reviewers: cedric, raster, zmike, devilhorns
Subscribers: #reviewers, #committers
Tags: #efl_build
Differential Revision: https://phab.enlightenment.org/D8583
Jaehyun Cho [Mon, 8 Apr 2019 14:28:18 +0000 (16:28 +0200)]
configure: fix build error of efl_custom_exports_mono.c
Reviewers: woohyun, lauromoura, akanad
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8577
Jaeun Choi [Mon, 8 Apr 2019 09:35:57 +0000 (18:35 +0900)]
elm_panel/efl_ui_panel: disable scrolling when obj is disabled
panels were still scrollable while disabled.
this patch fixes it.
Hermet Park [Mon, 8 Apr 2019 06:02:47 +0000 (15:02 +0900)]
evas map: disable anti_aliasing.
We need a proper interface to toggle high-quality mapping,
until that, we disable the anti_aliasing feature.
Since adjecent polygons(such as textpath) shouldn't get this aa feature.
Hermet Park [Mon, 8 Apr 2019 05:53:47 +0000 (14:53 +0900)]
evas map: remove redundant code.
Remove old anti-alias code since high quality map is replaced with new one.
New anti-aliasing is logically same but having a regression bug,
it should be stablized.
Hermet Park [Mon, 8 Apr 2019 04:21:07 +0000 (13:21 +0900)]
canvas map: introduce a new texture mapping for better quality.
Summary:
This new implementation of evas map texture mapping
is designed for high quality rendering same level to GL.
If you use a high-end device, performance is not too bad, you can turn this on.
You might have practical image quality even in software rendering.
Since this implementation still have a few optimization points (+simd)
and stablizings, it may be useful in somewhat limited envrionments right now.
However the functionality definitely works fine, so please turn this on by
demand (anti_alias + smooth) for a while.
{
F3667773} {
F3667776} {
F3667778}
Reviewers: #committers, devilhorns, raster
Reviewed By: #committers, raster
Subscribers: raster, devilhorns, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8106
Mike Blumenkrantz [Mon, 8 Apr 2019 04:19:56 +0000 (13:19 +0900)]
tests: add evas render test for callbacks
Summary:
verify that all callbacks can be incrementally added and triggered during a
sync render (which is the rendering used in unit testing)
Reviewers: Hermet
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl_tests
Differential Revision: https://phab.enlightenment.org/D8505