Yeongjong Lee
91ae0ea12f
eina_mono: remove exceptions in unexpected locations
...
Summary:
Unexpected locations are listed in
https://docs.microsoft.com/en-us/visualstudio/code-quality/ca1065
fix CA1065
ref T8402
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: brunobelo
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8402
Differential Revision: https://phab.enlightenment.org/D10461
2019-10-28 20:33:47 -03:00
Lauro Moura
d59197d2ee
mono: encapsulate internal NativeModule
...
Summary:
Depends on D10342
Depends on D10338
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers, woohyun
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10343
2019-10-28 19:08:48 -03:00
Lauro Moura
1db12b5fb4
mono: encapsulate internal FunctionWrapper
...
Summary: Depends on D10340
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/D10342
2019-10-28 19:04:59 -03:00
Lauro Moura
72da16f679
mono: encapsulate internal nativemethods
...
Summary: Depends on D10337
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/D10340
2019-10-28 18:53:39 -03:00
Yeongjong Lee
7f2458b20d
mono: encapsulate internal Add/RemoveNativeEventHandler
...
Summary: Depends on D10337
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/D10341
2019-10-28 18:37:57 -03:00
Yeongjong Lee
90280ffed6
mono: encapsulate internal CustomMarshaler
...
Summary: Depends on D10337
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers, woohyun
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10344
2019-10-28 18:22:38 -03:00
Yeongjong Lee
e6fafe4e61
mono: introduce friend assembly
...
Summary:
Friend assemblies can access efl_mono assembly's internal types and members.
If `build-tests` option is true, `efl-mono-suite.exe` and `efl_mono_test.dll`
will become friend assemblies.
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, segfaultxavi, Jaehyun_Cho
Reviewed By: lauromoura
Subscribers: felipealmeida, cedric, #reviewers, woohyun, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10337
2019-10-28 17:46:15 -03:00
Bruno da Silva Belo
898ced96f6
csharp: Add missing exception ctr from iwrapper.
...
Summary: ref T8392
Reviewers: felipealmeida, lauromoura, segfaultxavi, YOhoho
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8392
Differential Revision: https://phab.enlightenment.org/D10454
2019-10-28 12:21:01 -03:00
Yeongjong Lee
eb676e47af
eina_array: add paramName argument of ArgumentNullException
...
Summary:
ArgumentNullException constructor included `message` is
`public ArgumentNullException (string paramName, string message);`
Fix CA2208
ref T8428
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8428
Differential Revision: https://phab.enlightenment.org/D10464
2019-10-25 19:21:30 -03:00
Bruno da Silva Belo
5844ab4320
csharp:Using Array.Empty genericmodel.
...
Summary: ref T8421
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8421
Differential Revision: https://phab.enlightenment.org/D10501
2019-10-25 14:23:12 -03:00
Bruno da Silva Belo
e17213a09b
csharp: Changing Count() to Length on eina_value.
...
Summary: ref T8422
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8422
Differential Revision: https://phab.enlightenment.org/D10499
2019-10-25 13:17:05 -03:00
Bruno da Silva Belo
68eefe1872
csharp: Using Count eina_promises.
...
Summary: ref T8422
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8422
Differential Revision: https://phab.enlightenment.org/D10498
2019-10-25 13:16:57 -03:00
Bruno da Silva Belo
827a301131
csharp: Calling ConfigureAwait on tasks GM.
...
Summary: ref T8424
Reviewers: lauromoura, felipealmeida, YOhoho, segfaultxavi
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8424
Differential Revision: https://phab.enlightenment.org/D10497
2019-10-25 11:28:55 -03:00
Yeongjong Lee
69261251a7
mono: implement dispose method based on dispose pattern
...
Summary:
Fix CA1063, CA1816
ref T8400, T8419
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: felipealmeida, brunobelo, YOhoho
Reviewed By: YOhoho
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8419, T8400
Differential Revision: https://phab.enlightenment.org/D10460
2019-10-25 11:02:50 -03:00
Bruno da Silva Belo
1adb765879
csharp: Returning only method name iwrapper.
...
Summary:
GetUserMethods returning only strings,
not the whole method informations.
Reviewers: lauromoura, felipealmeida
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10503
2019-10-24 19:25:35 -03:00
Yeongjong Lee
b8ba39f4cb
eina_mono: re-throw exception to preserve stack details
...
Summary:
fix CA2200
ref T8426
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8426
Differential Revision: https://phab.enlightenment.org/D10462
2019-10-24 18:34:30 -03:00
Yeongjong Lee
1158775084
eina_mono: Initialize UNHANDLED_EXCEPTION inline
...
Summary:
fix CA2207
ref T8427
Test Plan:
meson setup -Dbindings=mono,cxx -Dmono-beta=true
ninja test
Reviewers: lauromoura, felipealmeida, brunobelo
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8427
Differential Revision: https://phab.enlightenment.org/D10463
2019-10-24 18:34:30 -03:00
Lauro Moura
f33183ba04
csharp: Add since information to EoWrapper.cs
...
Reviewers: brunobelo, segfaultxavi, felipealmeida, woohyun
Reviewed By: segfaultxavi
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10429
2019-10-24 18:49:23 +02:00
Yeongjong Lee
11a00e406c
mono: merge namespaces in manual bindings
...
Summary:
It will enhance readability.
Before
```
namespace Efl {
namespace Eo {
```
After
```
namespace Efl.Eo {
```
Test Plan: meson setup -Dbindings=mono,cxx -Dmono-beta=true
Reviewers: lauromoura, Jaehyun_Cho, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: segfaultxavi, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D10466
2019-10-24 17:19:43 +02:00
Felipe Magno de Almeida
a3ade15d5a
cxx: Add license to CXX bindings.
...
Summary:
Like C#, it will also be Apache 2.0
Depends on D9414
Reviewers: vitor.sousa, woohyun, jpeg, lauromoura
Reviewed By: lauromoura
Subscribers: jpeg, cedric, #reviewers, #committers
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D9418
2019-10-24 10:40:16 -03:00
Lauro Moura
40a980174b
csharp: Add licensing information.
...
Summary:
C# bindings will be lincensed under Apache Sofware License 2.0.
This commit adds the license text to the licenses folder and a copyright
notice to the binding files.
Fixes T8039
Reviewers: woohyun, felipealmeida, vitor.sousa
Reviewed By: felipealmeida
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8039
Differential Revision: https://phab.enlightenment.org/D9414
2019-10-24 10:10:56 -03: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
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
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
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
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
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
Bruno da Silva Belo
1c9f5d4f63
csharp: updating UserModel docs.
...
Reviewers: lauromoura, felipealmeida, segfaultxavi, woohyun
Reviewed By: lauromoura
Subscribers: cedric, #reviewers, #committers
Tags: #efl
Maniphest Tasks: T8345
Differential Revision: https://phab.enlightenment.org/D10377
2019-10-14 01:06:49 -03:00