Mike Blumenkrantz
d417868c90
benchmarks/eina: fix possible div by zero in ecore_hash
...
Summary: CID 1400768
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10397
2019-10-18 13:29:07 -04:00
Mike Blumenkrantz
36c5f1026f
ecore/main: avoid calling FD_SET with invalid fd value
...
Summary:
it's possible that _ecore_get_epoll_fd() can return -1, so ensure that we
correctly handle this
CID 1383850
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10394
2019-10-18 13:29:01 -04:00
Mike Blumenkrantz
39f384bba1
ecore/getopt: handle negative return in arg parsing
...
Summary:
_ecore_getopt_parse_find_nonargs_base() can return -1 on errors
CID 1402615
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10393
2019-10-18 13:28:54 -04:00
Mike Blumenkrantz
511ee4e6f4
tests/eldbus: add va_end for va_args usage in message test
...
Summary: CIDs 1400977, 1400974
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: devilhorns, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10390
2019-10-18 13:28:48 -04:00
Mike Blumenkrantz
3b161da0ce
evas/language: #ifdef guard variable which is only used inside #ifdef
...
Summary:
this variable is already only changed inside an #ifdef, so declare and
free it only inside the same ifdef for clarity
ref 9d9aa8b6ae
CID 1400807
Reviewers: devilhorns
Reviewed By: devilhorns
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10389
2019-10-18 13:28:41 -04:00
Bruno da Silva Belo
4e2b9e2089
csharp: Setting ELM_ENGINE if it is none.
...
Reviewers: lauromoura, felipealmeida
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8322
Differential Revision: https://phab.enlightenment.org/D10442
2019-10-18 12:14:13 -03:00
Carsten Haitzler
db7348acf3
wl egl - use platform get display
...
if possible, use the platform specific egl get display as a wl egl
client. this fixes client side init with ... some drivers that can't
auto-detect the display type passed in.
@fix
2019-10-18 12:51:36 +01:00
Yeongjong Lee
c25ba58007
mono: encapsulate invoke method
...
Summary: This patch will fix compiler warning CA1401.
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, woohyun, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10338
2019-10-17 20:29:58 -03:00
Bruno da Silva Belo
dfd49533c0
csharp: updating eldbus_message doc and hide api.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10431
2019-10-17 16:09:37 -03:00
Bruno da Silva Belo
6162b1a23e
csharp: updating eldbus_proxy doc and hide api.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10428
2019-10-17 15:51:13 -03:00
Bruno da Silva Belo
62a773c17e
csharp: updating eldbus_pending docs and hide api.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10427
2019-10-17 15:39:23 -03:00
Bruno da Silva Belo
351b9650df
csharp: updating eldbus_object docs and hide api.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10426
2019-10-17 15:24:55 -03:00
Bruno da Silva Belo
67c07117c8
csharp: hide eldbus_service api.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10425
2019-10-17 14:48:58 -03:00
Yeongjong Lee
0eb180b3ab
mono: add static modifier to static holder types.
...
Summary: This patch will fix CA1052 compiler warnings.
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10434
2019-10-17 14:38:30 -03:00
Yeongjong Lee
cfa8baa152
mono: merge namespaces
...
Summary:
This patch merge namespaces to improve readablity.
Before
```
namespace Efl {
namespace Canvas {
```
After
```
namespace Efl.Canvas {
```
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10436
2019-10-17 14:35:37 -03:00
Yeongjong Lee
711823cb1d
mono: remove underscores of Efl_Op_Description, Efl_Object_Ops
...
Summary:
C# does not use underscore in type name.
ref T8333
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, Jaehyun_Cho
Reviewed By: Jaehyun_Cho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8333
Differential Revision: https://phab.enlightenment.org/D10422
2019-10-17 14:24:01 -03:00
Woochanlee
484a482942
gesture_manager: Deleted function and definition that are no more use.
...
Summary:
D7762
Searching for event what is using in gesture manager.
But the value was wrong.
And now D10437 made it better.
Reviewers: Hermet, smohanty, zmike
Reviewed By: zmike
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10438
2019-10-17 10:41:15 -04:00
Lauro Moura
da6f25bee0
csharp: Add Efl.Model implementations to internal model
...
Summary:
CollectionView tries to access some properties from the base model so we
need to provide some implementation of the property getter/setter.
Reviewers: SanghyeonLee, cedric, felipealmeida
Reviewed By: SanghyeonLee
Subscribers: #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10300
2019-10-17 11:11:00 -03:00
Hermet Park
f247a55b50
vector json: fix a ordering issue of stroke.
...
for optimization, we created a shape node in a lazy way,
This introduced corrupted layering order issue.
We fix it by keeping the object creation order.
Layzing creation is just for an ideal case,
It doesn't verified the performance.
2019-10-17 17:54:02 +09:00
Hermet Park
0e675e5cf1
vector json: optimize logic.
...
if a layer is full transparent, skip it further processing.
2019-10-17 17:01:33 +09:00
Bruno da Silva Belo
4885e0764d
csharp: Updating eldbus_common docs.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10416
2019-10-16 16:10:58 -03:00
Bruno da Silva Belo
2ace33915b
csharp: updating eldbus_config docs.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10417
2019-10-16 11:10:35 -03:00
Bruno da Silva Belo
e6bffe1e2b
csharp: updating eldbus_connection docs.
...
Summary: ref T8361
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8361
Differential Revision: https://phab.enlightenment.org/D10418
2019-10-16 10:55:34 -03:00
Yeongjong Lee
ee33f93743
mono: make public static field const or readonly
...
Summary: This patch will fix CA2211 compiler warnings.
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10423
2019-10-16 10:46:23 -03:00
Jaehyun Cho
50d318ab13
csharp: rename Factory.cs to ItemFactory.cs
...
Summary:
Since current Factory.cs contains class ItemFactory, Factory.cs is
renamed to ItemFactory.cs.
Reviewers: lauromoura, YOhoho, SanghyeonLee
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10424
2019-10-16 10:38:01 -03:00
junsu choi
59419006b8
efl_canvas_vg : Propagates the alpha color of the parent
...
Summary:
The current color is affected by the parent's opacity.
If p_opacity is set, it will be applied to the current color.
Test Plan: N/A
Reviewers: Hermet, smohanty, kimcinoo
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10399
2019-10-16 15:12:13 +09:00
Mike Blumenkrantz
244f41402f
examples/eldbus: fix pointer leak on failure case
...
Summary: CID 1400787
Reviewers: kimcinoo
Reviewed By: kimcinoo
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10407
2019-10-16 07:02:49 +09:00
Mike Blumenkrantz
225d59eed0
examples/evas: free map pointer in map example
...
Summary: CID 1400959
Reviewers: kimcinoo
Reviewed By: kimcinoo
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10406
2019-10-16 06:57:34 +09:00
Felipe Magno de Almeida
125f7b33ec
csharp: Add since documentation to struct and struct fields
...
Reviewed-by: Felipe Magno de Almeida <felipe@expertisesolutions.com.br>
Differential Revision: https://phab.enlightenment.org/D10385
2019-10-15 16:01:08 -03:00
Mike Blumenkrantz
345dbe26b7
lz4: fix potential div by zero
...
Summary:
LZ4F_getBlockSize() can return 0
CID 1404010
Reviewers: lauromoura
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10392
2019-10-15 11:21:50 -03:00
Mike Blumenkrantz
7e7465379f
tests/eina: fix assign when compare was intended
...
Summary: CID 1400858
Reviewers: lauromoura
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10396
2019-10-15 11:21:42 -03:00
Lauro Moura
31bc3beb22
csharp: Avoid direct usage of some dllimport funcs
...
Summary:
Instead of accessing them directly, generated code should access them
only through proper managed wrappers.
JIT should take care of inline them.
This would allow D10338 without depending on the friendly assembly feature.
Reviewers: YOhoho, felipealmeida, brunobelo, woohyun, segfaultxavi
Reviewed By: YOhoho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10366
2019-10-15 10:11:09 -03:00
Lauro Moura
64e22aaada
csharp: Fix promises docs and hide api
...
Summary: ref T8293
Reviewers: felipealmeida, brunobelo, segfaultxavi, woohyun
Reviewed By: brunobelo
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10331
2019-10-15 10:10:53 -03:00
Jaehyun Cho
c4c372c47d
efl_ui: rename efl_ui_types.eot to efl_ui_drag_types.eot
...
Summary:
The current efl_ui_types.eot contains only enum Efl.Ui.Drag_Dir.
Therefore, it is renamed to efl_ui_drag_types.eot as follows.
src/lib/efl/interfaces/efl_ui_types.eot -> efl_ui_drag_types.eot
Reviewers: bu5hm4n, segfaultxavi, zmike
Reviewed By: zmike
Subscribers: zmike, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10387
2019-10-15 09:06:48 -04:00
Jaehyun Cho
974ab41f25
csharp: fix to write cref Eina.Array<T> correctly
...
Since the class is Eina.Array<T>, cref Eina.Array is replaced to
Eina.Array<T>.
2019-10-15 17:38:07 +09:00
Hermet Park
fbe554037b
vector json: use lottie apis case by case.
...
We can request loading from data only in case of actual memory map.
The lottie-player would take care of the parsing on utf8/16/32 formats
more precisely so that we don't need to take care of this converting
from the memory.
2019-10-15 15:06:48 +09:00
junsu choi
74e2c80b6e
vg_common_svg: Support opacity attribute of <g> element
...
Summary:
The <g> element can have an opacity.
Therefore, if node type is SVG_NODE_G, set color.
Test Plan: N/A
Reviewers: Hermet, smohanty, kimcinoo
Reviewed By: Hermet
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10371
2019-10-15 14:53:25 +09:00
Carsten Haitzler
ca32732373
ecore_evas/wl2 0 fux xdg close cb for window when it's closed remotely
...
this should fix this:
https://matrix.org/_matrix/media/r0/download/matrix.org/lhFneENlWAjuXDaJfSYuJjjJ
unfortunately this means adding an api and then using it in ecore_evas.
@fix
2019-10-14 22:58:27 +01:00
Bruno da Silva Belo
0cfcfd3098
csharp: updating GenericModel.cs docs.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8345
Differential Revision: https://phab.enlightenment.org/D10376
2019-10-14 18:36:56 -03:00
Bruno da Silva Belo
53e1d3ad08
csharp: updating Bind docs and hide api.
...
Summary: ref T8345
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8345
Differential Revision: https://phab.enlightenment.org/D10374
2019-10-14 18:30:16 -03:00
Bruno da Silva Belo
902ea935e4
csharp: updating Factory docs.
...
Summary: ref T8345
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8345
Differential Revision: https://phab.enlightenment.org/D10375
2019-10-14 18:18:44 -03:00
Lauro Moura
87e5fc4c6a
csharp: Remove test dependency on internal funcs
...
Summary: This will help cleaninup the EFL# API.
Test Plan: run test suite
Reviewers: YOhoho, felipealmeida, segfaultxavi, woohyun, brunobelo
Reviewed By: YOhoho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10365
2019-10-14 17:19:12 -03:00
Bruno da Silva Belo
66a26a378b
csharp: Updating eina_array docs and hide api.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10309
2019-10-14 17:08:09 -03:00
Bruno da Silva Belo
def27320b3
csharp: updating eina_common docs and hide api.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10311
2019-10-14 16:43:01 -03:00
Bruno da Silva Belo
8ba2638f0e
csharp: updating eina_config docs and hide api.
...
Reviewers: felipealmeida, lauromoura, woohyun, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10312
2019-10-14 12:40:13 -03:00
Bruno da Silva Belo
37e6430e46
csharp: updating eina_container_common doc and api
...
Reviewers: felipealmeida, lauromoura, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10314
2019-10-14 12:01:20 -03:00
Bruno da Silva Belo
e4385c084c
csharp: updating eina_error docs.
...
Reviewers: felipealmeida, lauromoura, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10323
2019-10-14 11:40:19 -03:00
Bruno da Silva Belo
3be9b6a129
csharp: updating eina_hash docs and hide api.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10324
2019-10-14 11:31:19 -03:00
Bruno da Silva Belo
4eee6f560c
csharp: updating eina_list docs.
...
Summary: ref T8293
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10351
2019-10-14 11:08:02 -03:00
Bruno da Silva Belo
0477a72560
csharp: updating eina_log docs.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8293
Differential Revision: https://phab.enlightenment.org/D10352
2019-10-14 11:03:05 -03:00