summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2019-03-11 15:46:12 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-03-11 16:08:04 -0300
commitf29ceef5002f7ab2a0f400adbed20299737bce20 (patch)
tree2324619326073a6a55f286723802553743feb3f9 /src/bindings
parent2a003420f83134331c8b404df1905cba538cfad6 (diff)
efl-csharp: Respect beta for classes and other stuff.
Summary: In order to work around an issue with Efl.App, which is stable but inherits from Efl.Core.Command_Line, @beta interfaces/mixins in the inheritance chain are simply skipped. Also changed the class used int test for inheritance from C# Efl.Loop is stable but internally it uses a @beta class as argument to its Register() method in the constructor. When instantiating a user-defined C# subclass, the binding calls the C# override in the NativeInherit class and the marshalling fails as no code is generated for the beta class. Also moved Efl.Part test to a beta class. Efl.Part is still beta. Regarding parts, they are skipped if its class is @beta too. Also rejected all elm_* files in elm public eo files. They should get back in as they are converted to Efl.Ui.* api. An exception is elm_interface_scrollable.eo, as efl_ui_panel depends on it. Fixes T7730 Test Plan: Run tests Reviewers: vitor.sousa, segfaultxavi, felipealmeida, cedric, bu5hm4n, zmike Reviewed By: vitor.sousa Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7730 Differential Revision: https://phab.enlightenment.org/D8268
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/mono/efl_mono/efl_csharp_application.cs2
-rw-r--r--src/bindings/mono/meson.build6
2 files changed, 7 insertions, 1 deletions
diff --git a/src/bindings/mono/efl_mono/efl_csharp_application.cs b/src/bindings/mono/efl_mono/efl_csharp_application.cs
index 84732d3993..b487cf6289 100644
--- a/src/bindings/mono/efl_mono/efl_csharp_application.cs
+++ b/src/bindings/mono/efl_mono/efl_csharp_application.cs
@@ -106,7 +106,9 @@ namespace Efl {
106 Efl.App app = Efl.App.AppMain; 106 Efl.App app = Efl.App.AppMain;
107 Eina.Array<String> command_line = new Eina.Array<String>(); 107 Eina.Array<String> command_line = new Eina.Array<String>();
108 command_line.Append(Environment.GetCommandLineArgs()); 108 command_line.Append(Environment.GetCommandLineArgs());
109#if EFL_BETA
109 app.SetCommandArray(command_line); 110 app.SetCommandArray(command_line);
111#endif
110 app.ArgumentsEvt += (object sender, LoopArgumentsEvt_Args evt) => { 112 app.ArgumentsEvt += (object sender, LoopArgumentsEvt_Args evt) => {
111 if (evt.arg.Initialization) { 113 if (evt.arg.Initialization) {
112 OnInitialize(evt.arg.Argv); 114 OnInitialize(evt.arg.Argv);
diff --git a/src/bindings/mono/meson.build b/src/bindings/mono/meson.build
index 4f04a01278..13fe4caada 100644
--- a/src/bindings/mono/meson.build
+++ b/src/bindings/mono/meson.build
@@ -85,7 +85,11 @@ blacklisted_files = [
85 'elm_view_list.eo', 85 'elm_view_list.eo',
86 'elm_genlist_item.eo', 86 'elm_genlist_item.eo',
87 'elm_gengrid.eo', 87 'elm_gengrid.eo',
88 'elm_glview_eo.cs' 88 'elm_glview_eo.cs',
89 'elm_code_widget.eo',
90 'elm_multibuttonentry_part.eo',
91 'elm_atspi_bridge.eo',
92 'elm_atspi_app_object.eo',
89] 93]
90 94
91efl_mono_lib = library('eflcustomexportsmono', 95efl_mono_lib = library('eflcustomexportsmono',