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
Hermet Park [Mon, 8 Apr 2019 04:15:45 +0000 (13:15 +0900)]
canvas vg: code refactoring.
Summary: Remove unnecessary argument of an internal function.
Reviewers: #committers, jsuya, cedric
Reviewed By: #committers, cedric
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8530
Wonki Kim [Mon, 15 Apr 2019 07:10:33 +0000 (16:10 +0900)]
scroll_mgr: fix a type for some vars to be portable
Summary:
char type can be singed or unsinged according to the standard.
variables for keeping sign value should be sign, and that is the reason
why this patch modify a type for some variables explictly.
Reviewers: eagleeye
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8604
Change-Id: I26054743fe8c184cc02b49bebe0301214c162e94
Hosang Kim [Fri, 12 Apr 2019 11:04:29 +0000 (20:04 +0900)]
efl_ui_widget: _on_sub_obj_hide callback should be called when object is
hidden.
Change-Id: I2802dba654060e3a228e4a0baa6b73f30adfb887
Woochanlee [Fri, 12 Apr 2019 05:56:03 +0000 (14:56 +0900)]
efl_ui_widget: Fix disabled set calling without meaning.
The efl_ui_widget_disabled_set calling even the state is not change when widget create and destroy.
It broken backward compatibility.
T7799
@fix
https://phab.enlightenment.org/D8600
Change-Id: Ib3be163cebf77e86f1aaa510e75454611d6911ce
Myoungwoon Roy, Kim [Fri, 12 Apr 2019 04:58:37 +0000 (13:58 +0900)]
efl: Fix dereference null return value
Change-Id: I7f22cb7dbcd70f0124d2f95b381075cb07f6acad
Inhong Han [Tue, 9 Apr 2019 10:42:00 +0000 (19:42 +0900)]
ecore_imf: change the description of preedit_type
Change-Id: I54f4efb4afaece4ed3ffbff9d841d237e587de30
Shinwoo Kim [Tue, 12 Mar 2019 06:34:59 +0000 (15:34 +0900)]
Remove and update deprecated API
[Remove]
ecore_input_joystick_init
ecore_input_joystick_shutdown
elm_ctxpopup_direction_available_get
elm_win_profiles_set
[Update]
evas_out_add
evas_output_del
evas_output_view_set
evas_output_view_get
Change-Id: I6a9c49801fc395526bf375922625f50a13e38dd9
Jaehyun Cho [Fri, 5 Apr 2019 02:30:05 +0000 (11:30 +0900)]
elementary: fix not to call duplicate theme set
Summary:
Theme is set during finalize in Efl.Ui.Layout_Base.
Therefore, it is not necessary to call theme set function if the widget
inherits Efl.Ui.Layout_Base and its klass is properly set.
Reviewers: zmike, bu5hm4n, eagleeye, akanad, SanghyeonLee, woohyun
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8559
Change-Id: I5401c827bb9c7b46e675e01c57e9ca8508580b89
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.
Change-Id: I8667d728f07a41539ae9c312eee763204e79c16e
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.
Change-Id: Idd654768d24b15c15ce035e958fceece15ae4ece
Hermet Park [Mon, 8 Apr 2019 04:16:24 +0000 (13:16 +0900)]
efl_ui_textpath : enable anti-alising for better quality.
Summary:
Current textpath on sw rendering is too jiggled,
quaility is very poor to use.
This option uses better quality texture mapping logic
in order to improve the image quality.
Depends on D8106
Reviewers: #committers
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8465
Change-Id: I572c3fc6c65880807e91fbfb0abd70d7cabfcb8b
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
Change-Id: I52a50097afb3fd3c427d9026387452383971b5c6
Wonki Kim [Mon, 8 Apr 2019 03:58:18 +0000 (12:58 +0900)]
spec: modify hard-coded version name according to changes on upstream
there is a hard-coded filename for specify a file to archieve as rpm package.
this patch modify it according to changes version name on upstream.
Change-Id: I6f1323ef9543bdd70e4896c541f4f439837bd162
Carsten Haitzler (Rasterman) [Sun, 7 Apr 2019 13:47:35 +0000 (14:47 +0100)]
tests - remove one of the eina strtod tests as libc is failing
see the comments above the test explaining why it's removed (libc
fails, not eina and having our tests fail because eina is a bit more
robust than libc is not a sane thing to have). but here is the comment
for git history spelunking:
this test isn't viable because libc actually fails the conversion (testing
glibc 2.28 on arch linux). either libc doesn't like the space at the start
thus doesn't skip it but assumes END of numbver string thus not converting
and returning NULL, or it doesn't like InFiNiTyfoo in some way, but either
way this test shows eina to be more robust and do some kind of conversion
and libc to fail and return NULL from strtod into the string pointer. it
also doesnt return an infinite fp thus hitting the default: case and thus
failing etc. ... so all in all remove the test as all it does it cause
failures and if anything shows libc to be failing more than eina.
@fix
Carsten Haitzler (Rasterman) [Sun, 7 Apr 2019 13:14:55 +0000 (14:14 +0100)]
tests - fix check header to always include eina due to windows
windows means HAVE_FORK is false... thus missing eina.h and now we
have macros that use eina calls always... so this fixes nbuild of
tests on windows
@fix
Carsten Haitzler (Rasterman) [Sun, 7 Apr 2019 12:08:40 +0000 (13:08 +0100)]
remove vpath test for user dir the test was broken and fixing is insane
so this test fails on windows as getuid isn't there... so this fixes
the windows bild: fix T7728 ... but it also would have failed if $HOME
didn't match what was in the passwd file, and other fallback cases if
they were triggered.
but ... to make this test stay it would have to also change the logic
- check $HOME env first, then pwent entry, if that fails /tmp/UID and
if that fails use /tmp ... the test would effectively be a copy &
paste of the vpath code at which point this is really pointless where
testing is copying the exact (or almost exat) same code into the test.
this is ignoring the #ifdef fun of martching ifdefs that vary on
windows.
the problem is this kind of api is defined very much by the system it
runs on and the environment and situation, so the test has to be as
complex. realistically, instead of copying & pasting the code across
and now having 2 bits of code to possibly mantain (change the lib src
then the test needs changes too as it's a copy & paste), it's just
saner not to have a test for this kind of siutation and accept the
reality of the situation.
@fix
Cedric BAIL [Tue, 2 Apr 2019 22:24:03 +0000 (15:24 -0700)]
eio: do not fail in case of early ECANCEL.
Actually with directory that contain a lot of file and the right order for them,
you would end up getting what you are looking for before you have triggered all
the future callback. In that case, all the future callback are cancelled and
we will get that notification. The test is not failing in this case as we already
got what we wanted.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8541
Cedric BAIL [Thu, 28 Mar 2019 21:09:54 +0000 (14:09 -0700)]
elementary: fix error path during shutdown of fileselector.
During shutdown, sometimes, we can have an error generated on the object
while it is invalidating, but before it is invalidated. This lead to
properties on the object to change to an error state and trigger the
properties changed logic. At this point, the parent has already been
destroyed and we don't really have anything more to do. So let's not
do anything.
Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8502
Cedric BAIL [Thu, 28 Mar 2019 19:44:31 +0000 (12:44 -0700)]
elementary: it seems I forgot to initialize some meaningful boolean.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D8501
Jaehyun Cho [Fri, 5 Apr 2019 04:05:37 +0000 (04:05 +0000)]
elementary: fix not to call duplicate theme set
Theme is set during finalize in Efl.Ui.Layout_Base.
Therefore, it is not necessary to call theme set function if the widget
inherits Efl.Ui.Layout_Base and its klass is properly set.
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8559
Mike Blumenkrantz [Sat, 6 Apr 2019 00:17:27 +0000 (20:17 -0400)]
add EFL_VERSION_1_23 define
Mike Blumenkrantz [Sat, 6 Apr 2019 00:16:44 +0000 (20:16 -0400)]
add EFL_VERSION_1_22 defines
whoops
Mike Blumenkrantz [Sat, 6 Apr 2019 00:13:54 +0000 (20:13 -0400)]
back to dev mode
Mike Blumenkrantz [Fri, 5 Apr 2019 23:12:33 +0000 (19:12 -0400)]
release: Update NEWS and bump version for 1.22.0 release
Vitor Sousa [Fri, 5 Apr 2019 22:59:34 +0000 (19:59 -0300)]
efl-csharp: fix crash when events trigger after C# object `Dispose`
Summary:
Rework general event handling to check individually each event call, if the
object is not alive then the event will not be propagated.
WeakReferences (and lambdas capturing those WeakRefs) are used to ensure this.
Dispose methods in object now take care of checking if efl libraries are still
initialized and thread-safely unregister each event before performing an
efl_unref on the Eo object.
Event handling in C# is now centered around a single dictionary inside the
object: `EoEvents`.
C# event triggers now properly trigger events on C too.
Standardize C# event-triggering methods names (remove underscores).
Some diminished use of static memory due events no longer requiring static key
objects to be registered/unregistered.
Some fixing of white space generation for generated events.
Depends on D8431
Reviewers: lauromoura, felipealmeida, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8564
Vitor Sousa [Fri, 5 Apr 2019 22:57:29 +0000 (19:57 -0300)]
efl-csharp: fix resource deallocation causing errors everywhere
Summary:
This commit mainly fixes errors caused by deallocating resources in the garbage
collector thread. Using `ecore_main_loop_thread_safe_call_async` to queue
resource deallocation in the main thread seems to solve it.
Also, some `efl_ref` calls are added in places they were missing, mainly
objects that unref in the destructor thus taking ownership if efl_ref is not
called.
Also fix improper resource deallocation in tests that were causing it to crash,
enabling it to call Efl.All.Shutdown again. This allocation and the deallocation
process was moved from the Eo class constructor to static class methods that are
called in the test 'set up' and 'tear down' methods.
Queuing resource deallocation in the main thread make it mandatory that tests
call `Efl.App.AppMain.Iterate()` if they want to check proper resource
deallocation (like TestFunctionPointers.set_callback_inherited_called_from_c).
Extras:
Remove duplicated declaration of 'eflcustomexportsmono' in meson in order to fix
some linking problems.
Remove some unused code around deallocation functions that had to be reworked.
Object allocation is now supplied with the call site information it expects
(file name and line for _efl_add_start).
Depends on D8550
Test Plan: meson test
Reviewers: felipealmeida, lauromoura, cedric, segfaultxavi
Reviewed By: lauromoura
Subscribers: segfaultxavi
Tags: #efl_language_bindings, #do_not_merge
Differential Revision: https://phab.enlightenment.org/D8431
Lauro Moura [Fri, 5 Apr 2019 22:53:37 +0000 (19:53 -0300)]
csharp: Make classes abstract and rework casting
Summary:
Abstract Eo classes are now proper C# abstract classes.
As a side effect, returning Eo instances from native code was reworked
to return instances of their actual Eo classes instead of previous
behavior of returning a generic Efl.Object and using static_cast.
Instead of `var window = Efl.Ui.Win.static_cast(widget.GetParent());`
Use `var window = widget.GetParent() as Efl.Ui.Win;`
Another side effect was that `efl_constructor` was removed from the list
of supported `Efl.Object` overrides. It is invoked inside
`efl_add_internal_start`, before the bindings makes the association of
the newly created EoId with the C# instance that created it, making the
managed delegate meaningless. C# users then can use regular C#
constructors to initialize fields.
Also changed to set the private data of C#-inherited classes before the
call to constructing methods (aka constructor parameters) so C# classes
can override them correctly.
Fixes T7778
Fixes T7757
Reviewers: vitor.sousa, felipealmeida, segfaultxavi
Reviewed By: vitor.sousa, segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7778, T7757, T7702
Differential Revision: https://phab.enlightenment.org/D8550
Marcel Hollerbach [Fri, 5 Apr 2019 12:15:39 +0000 (08:15 -0400)]
meson: correctly use the correct dependency
Summary:
edje_cc calls epp, so we should not only add edje_cc to the depends on
target, but rather also ensure that epp is availble. Additionally, this
removes unneccessary depends on declarations when we do cross compile.
Depends on D8561
Reviewers: zmike, segfaultxavi, cedric
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8562
Xavi Artigas [Thu, 4 Apr 2019 17:06:05 +0000 (19:06 +0200)]
docs: Exclude *.NativeStruct from DocFX pages
These are for internal use only.
Also, make filtering rules a bit more robust.
Vincent Torri [Thu, 4 Apr 2019 14:39:05 +0000 (10:39 -0400)]
dist rule: add files to EXTRA_DIST2 inconditionally
Summary: ecore_con and ethumb were adding files to EXTRE_DIST confitionally
Reviewers: cedric, zmike, raster
Reviewed By: zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8558
Wonki Kim [Thu, 4 Apr 2019 13:14:08 +0000 (09:14 -0400)]
efreetd: remove a tentative global variable definition
Summary:
there is a global variable that is defined tentatively.
this patch modify it not to be tentitive explictly.
Reviewers: raster, cedric, zmike
Reviewed By: raster, zmike
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8551
Mike Blumenkrantz [Wed, 3 Apr 2019 19:53:24 +0000 (15:53 -0400)]
autotools: add another entry test file to dist
Reviewers: vtorri
Reviewed By: vtorri
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8549
Mike Blumenkrantz [Wed, 3 Apr 2019 18:19:04 +0000 (14:19 -0400)]
autotools: add entry test file to dist
Reviewers: bu5hm4n
Reviewed By: bu5hm4n
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8547
Christopher Michael [Wed, 3 Apr 2019 17:08:59 +0000 (13:08 -0400)]
efl_ui_test_callback: Removed defined but unused function
Hosang Kim [Wed, 3 Apr 2019 13:26:50 +0000 (09:26 -0400)]
evas_callbacks: fix emission of EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED
Summary:
When I add "efl_event_callback_add(btn, EFL_GFX_ENTITY_EVENT_VISIBILITY_CHANGED, _cb, NULL)",
_cb is not called. Because of callback_mask is not set correctly.
Test Plan: unit test
Reviewers: zmike, cedric
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8528
Marcel Hollerbach [Tue, 2 Apr 2019 18:50:43 +0000 (14:50 -0400)]
elm_fileselector: disable this test for now
Summary:
this test fails on travis, for the sake of the release we continue
without this tests, after the release we can enable this again with or
without failing tests.
Reviewers: zmike
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8538
Carsten Haitzler (Rasterman) [Tue, 2 Apr 2019 17:24:04 +0000 (18:24 +0100)]
evas image - fix proxy change propagation to fix e video wallpapers
this fixes propagati[on of changes from img sources to proxies which
broke e's video wallpapers. fixes T7685
Woochanlee [Tue, 2 Apr 2019 16:39:23 +0000 (18:39 +0200)]
C# bindings: Make efl_gesture_Manager.eo available to bindings
Summary:
It was missing.
The efl_gesture_manager has to using in efl_sharp.
Reviewers: zmike, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7550
Differential Revision: https://phab.enlightenment.org/D7249
Jaehyun Cho [Tue, 2 Apr 2019 14:51:05 +0000 (16:51 +0200)]
mono: fix space and brace warnings of StyleCop
Summary:
The following warning rules of StyleCop are checked.
Space rules : SA1000, SA1003, SA1008, SA1009, SA1010, SA1011
Brace rules : SA1500, SA1501, SA1502, SA1503, SA1513
Indentation is also applied.
Reviewers: lauromoura, felipealmeida, vitor.sousa, woohyun
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8485
Lauro Moura [Tue, 2 Apr 2019 14:47:36 +0000 (16:47 +0200)]
csharp: Raise exception when Array is null.
Reviewers: felipealmeida, vitor.sousa, segfaultxavi
Reviewed By: vitor.sousa
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D8499