efl/src/lib
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
..
ecore eo-docs: Remove Doxygen tags from efl*.eo files 2018-11-28 13:33:46 +01:00
ecore_audio meson: add eolian custom dependencies support 2018-10-24 12:02:55 +02:00
ecore_avahi here comes meson 2018-10-02 17:22:50 +02:00
ecore_buffer here comes meson 2018-10-02 17:22:50 +02:00
ecore_cocoa here comes meson 2018-10-02 17:22:50 +02:00
ecore_con eo-docs: Remove Doxygen tags from efl*.eo files 2018-11-28 13:33:46 +01:00
ecore_drm here comes meson 2018-10-02 17:22:50 +02:00
ecore_drm2 here comes meson 2018-10-02 17:22:50 +02:00
ecore_evas ecore_evas_buffer: register it in ecore_evas_input 2018-11-28 22:20:34 +01:00
ecore_fb here comes meson 2018-10-02 17:22:50 +02:00
ecore_file meson: unify system properties 2018-10-05 13:40:29 +02:00
ecore_imf here comes meson 2018-10-02 17:22:50 +02:00
ecore_imf_evas here comes meson 2018-10-02 17:22:50 +02:00
ecore_input here comes meson 2018-10-02 17:22:50 +02:00
ecore_input_evas here comes meson 2018-10-02 17:22:50 +02:00
ecore_ipc here comes meson 2018-10-02 17:22:50 +02:00
ecore_sdl here comes meson 2018-10-02 17:22:50 +02:00
ecore_wayland here comes meson 2018-10-02 17:22:50 +02:00
ecore_win32 ecore-win32: propagate WM_SIZE event 2018-05-02 15:57:22 -04:00
ecore_wl2 ecore_wl2_dnd: initialize source to NULL when it destroy 2018-11-15 09:11:38 -05:00
ecore_x build - meson - fix ecore-x to detect xcursor to fix rgba cursors 2018-10-18 13:42:10 +01:00
ector ector: fix indentation. 2018-11-28 16:45:19 +09:00
edje Remove duplicated interface inheritance in eo 2018-11-22 17:22:04 +09:00
eet eet - dictorinary - tidy up code to be easier to read 2018-11-21 13:37:16 +00:00
eeze meson: support older udev systems 2018-10-11 17:11:36 +02:00
efl meson: include whole src/lib for eo file generation in ifaces 2018-11-28 14:45:31 +01:00
efl_mono efl_mono: Add support for Eina.Error/Empty in eina.Value 2018-05-17 16:56:11 -03:00
efl_wl here comes meson 2018-10-02 17:22:50 +02:00
efreet efreet menu - fix truncation in snprintf to have bigger buffers 2018-11-09 12:21:30 +00:00
eina eina: add eina_multi_iterator_new. 2018-11-23 10:13:54 -08:00
eio eo-docs: Remove Doxygen tags from efl*.eo files 2018-11-28 13:33:46 +01:00
eldbus eldbus: add brackets 2018-11-29 07:05:23 -05:00
elementary elementary: Support using no frame object 2018-11-29 14:35:26 -05:00
elocation elocation - only define ebta api support if needed - not needed here... 2018-11-09 11:44:00 +00:00
elput here comes meson 2018-10-02 17:22:50 +02:00
elua here comes meson 2018-10-02 17:22:50 +02:00
embryo here comes meson 2018-10-02 17:22:50 +02:00
emile emile - fix windows build 2018-10-31 14:12:44 +00:00
emotion eo-docs: Remove Doxygen tags from efl*.eo files 2018-11-28 13:33:46 +01:00
eo eo: rename efl_future_Eina_FutureXXX_then in efl_future_then as this has been available for some time. 2018-11-23 11:39:43 -08:00
eolian eolian_aux: add initial eolian_aux APIs 2018-11-29 13:56:52 +01:00
eolian_cxx csharp: Change to new class API. 2018-11-29 21:29:48 -02:00
ephysics here comes meson 2018-10-02 17:22:50 +02:00
escape
ethumb here comes meson 2018-10-02 17:22:50 +02:00
ethumb_client here comes meson 2018-10-02 17:22:50 +02:00
evas eo-docs: Remove Doxygen tags from efl*.eo files 2018-11-28 13:33:46 +01:00
evas_goal meson: prepare general build for the bindings 2018-10-24 12:05:58 +02:00
evil Evil: fix usage of Evil in a program compiled with vc++ this should be enough to fix T5206 2018-06-29 09:56:15 -04:00
.gitignore
CMakeLists.txt