efl/src
Lauro Moura 3623753c1d csharp: Change to new class API.
Summary:
As discussed in T7204:

- Eo Interfaces/mixins -> C# Interfaces with concrete class
  implementations
- Eo Regular/Abstracts -> Proper C# classes
- Added some new generators and helper methods.
- Refactored the class generator, splitting into helper methods

Eo handles now are stored only in the "root" class in any given
inheritance tree (generally, Efl.Object), and accessible to each child.
Methods also are defined in a single place instead of repeatedly
generated in everyfile, reducing the size of the generated .dll from
30MB to around 4.5MB.

Mixins are generated as C# interfaces but any regular class it inherits
from is lost, as we can't have interfaces inheriting from regular
classes. This will be dealt with in a later commit.

Summary of API Changes:

- Merged Inherit/Concrete classes. (These suffixes disappear from
  regular classes).
- Interface still have implementations with 'Concrete' suffix for when
  they are returned from methods.
- Removed 'I' from interface names.
- Removed interfaces for regular/abstract Eo classes.
- Concrete classes for interfaces/mixins hold the event argument struct.
- Removed '_' from classes, enums, structs, etc, as indicated in C#
  naming conventions.
- Namespaces are now Camel.Cased.
- Renamed IWrapper's raw_handle/raw_klass to NativeHandle/NativeClass

Also renamed the test classes as after the namespace change, the
test namespace Test can conflict with the helper Test namespace.
(And use more meaningful names than Test.Testing...)

Also Fixes T7336 by removing a deprecated example and adding
efl_loop_timer_example to build system.

Fixes T7451 by hiding the class_get DllImports and renaming the IWrapper
fields. The native handlers are used in the manual binding.

Still need to work:

- As there are still some events names clashing (e.g. Efl.Ui.Bg with "resize"
  from Efl.Gfx.Entity and Efl.Gfx.Image), Events are currently declared on
  the interface and implemented "namespaced" in the classes,
  requiring the cast to the interface to access the event.
- The Mixin Conundrum. Mixin inheritance will be dealt in a future
  commit.

Depends on D7260

Reviewers: segfaultxavi, vitor.sousa, felipealmeida, Jaehyun_Cho

Reviewed By: vitor.sousa

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7451, T7336

Differential Revision: https://phab.enlightenment.org/D7262
2018-11-29 21:29:48 -02:00
..
benchmarks evas mempool bench - fix warning about unused param 2018-11-09 11:43:59 +00:00
bin csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
bindings csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
edje_external here comes meson 2018-10-02 17:22:50 +02:00
examples csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
generic evas - generic loaders - use eina properly so windows build works 2018-11-02 13:54:40 +00:00
lib csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
modules evas gl: recover current program state. 2018-11-27 11:25:13 +09:00
scripts Fixed the docu generator for recent eolian changes 2018-11-28 21:52:22 +01:00
static_libs meson: cleanup the native-cpu optimization build code 2018-11-16 17:29:05 +01:00
tests csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
wayland_protocol meson: fix build files size explosion 2018-10-15 22:02:17 +02:00
CMakeLists.txt
CMakeLists_Eina.txt
Makefile.am tests: add failsafe timeout for tests running in fork mode 2018-08-16 09:59:58 +02:00
Makefile_Cxx.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_EPhysics.am
Makefile_Ecore.am ecore,efl: add Efl.Model.property_get helper which will suceed once when a property finally has a value. 2018-11-23 11:39:35 -08:00
Makefile_Ecore_Audio.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Ecore_Avahi.am
Makefile_Ecore_Buffer.am
Makefile_Ecore_Cocoa.am
Makefile_Ecore_Con.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Ecore_Drm.am
Makefile_Ecore_Drm2.am
Makefile_Ecore_Evas.am build: add keymapheader to dist tarbal 2018-09-03 17:11:02 +02:00
Makefile_Ecore_FB.am
Makefile_Ecore_File.am
Makefile_Ecore_IMF.am
Makefile_Ecore_IMF_Evas.am
Makefile_Ecore_Input.am
Makefile_Ecore_Input_Evas.am
Makefile_Ecore_Ipc.am
Makefile_Ecore_Js.am
Makefile_Ecore_SDL.am
Makefile_Ecore_Wayland.am
Makefile_Ecore_Win32.am
Makefile_Ecore_Wl2.am ecore_wl2: add support for intree loading of the module 2018-09-12 08:39:14 -04:00
Makefile_Ecore_X.am
Makefile_Ector.am ector - fix meson build with sse3 on ix86 (32bit) 2018-11-16 00:08:47 +00:00
Makefile_Edje.am Canvas layout: support more Efl.Text.* with efl_part 2018-11-06 18:33:56 +02:00
Makefile_Edje_Helper.am
Makefile_Eet.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eet_Helper.am
Makefile_Eeze.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl.am efl_interpolator: change Efl.Interpolator class to interface 2018-11-23 21:43:54 +09:00
Makefile_Efl_Js.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Efl_Mono.am csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
Makefile_Efl_Mono_MSBuild_Gen_Helper.am
Makefile_Efreet.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eina.am move efreet xdg envvars to eina 2018-08-20 12:57:57 -04:00
Makefile_Eio.am tests/eio: disable efreet cache for eio tests 2018-08-16 10:16:44 -04:00
Makefile_Eldbus.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elementary.am Ui text: implement efl_part and part_text API to text_set 2018-11-26 13:17:07 +02:00
Makefile_Elocation.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elput.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Elua.am build: fix distcheck when elua is disabled in main tree 2018-07-13 15:41:15 -04:00
Makefile_Elua_Helper.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Embryo.am
Makefile_Emile.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Emotion.am build: disable Lua binding generation 2018-08-01 13:31:15 -04:00
Makefile_Eo.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian.am eolian_aux: add initial eolian_aux APIs 2018-11-29 13:56:52 +01:00
Makefile_Eolian_Cxx.am eolian-cxx: Fix parallel compilation for eolian_cxx_test_wrapper.cc 2018-09-04 09:10:57 +09:00
Makefile_Eolian_Cxx_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Files_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Helper.am
Makefile_Eolian_Js.am build: define PACKAGE_BUILD_DIR as $(abs_top_builddir) for all test suites 2018-08-08 09:45:30 -04:00
Makefile_Eolian_Js_Helper.am build: disable eolian implicit rules in subdir builds 2018-07-30 18:16:20 +02:00
Makefile_Eolian_Mono_Helper.am
Makefile_Escape.am
Makefile_Ethumb.am
Makefile_Ethumb_Client.am
Makefile_Evas.am evas vg: rename evas_vg prefix to efl_canvas for consistency. 2018-11-23 20:01:53 +09:00
Makefile_Evil.am
Makefile_Wayland_Protocols.am
Makefile_efl_wl.am