Commit Graph

1281 Commits

Author SHA1 Message Date
Lauro Moura 5ddc8e4f50 efl_mono: Use PascalCase in events
Summary:
To deal with events with the same name as some methods (Del, Invalidate,
etc), the suffix Evt was added.

Thus, now we use

obj.ButtonClickedEvt += callback;

Instead of

obj.BUTTON_CLICKED += cal

The argument classes use the same scheme, being called <Evt name>_Args.
Depends on D5991

Reviewers: felipealmeida

Reviewed By: felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5992
2018-04-26 10:55:18 -03:00
Xavi Artigas 989e1b73b8 Efl.Ui.Layout.Object (from Efl.Ui.Layout)
Ref https://phab.enlightenment.org/T6847

Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:54 -07:00
Xavi Artigas 0ea1b1d030 Efl.Net.Control.Manager (from Efl.Net.Control)
Ref https://phab.enlightenment.org/T6847

Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:42 -07:00
Xavi Artigas a8fd2cae54 Efl.Gfx.Image* (From Efl.Image*)
Ref https://phab.enlightenment.org/T6847

Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:40 -07:00
Xavi Artigas fb666f9788 Efl.Gfx.Entity (from Efl.Gfx)
Ref https://phab.enlightenment.org/T6847

Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:32 -07:00
Xavi Artigas f05ba502b3 Update elementary examples .gitignore
Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:26 -07:00
Xavi Artigas 9793a51e1e Efl.Canvas.Scene (from Efl.Canvas)
Ref https://phab.enlightenment.org/T6847

Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2018-04-24 09:03:23 -07:00
Xavi Artigas 0448e6cfa4 Update examples to latest EFL API
Summary:
Some of the EFL tutorials are not currently building due to changes in the API :
* const Eo* in getters.
* Efl.Loop -> Efl.App
* efl_net_session_name -> efl_net_session_network_name

Reviewers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5977
2018-04-23 13:35:36 -07:00
Lauro Moura bd5a732370 efl_mono: Fix after prop get const change 2018-04-19 14:06:02 -03:00
Stefan Schmidt e0750549e3 examples: cxx: fix some missing const attributes in colourable*
Fixing some fallout from fcae7cab276c2d3b19bb913ad908b67b7dd33089

Given that the examples do not build for weeks with CXX enabled this is
just the tip of the iceberg.
2018-04-18 10:15:26 +02:00
Lauro Moura f9f8585f47 examples: Improve efl_mono and eolian_cxx build
The examples were either not build or using repeated rules due to
_EOLIAN_DEP_GEN not being set correctly was Makefile_Eolian_Helper.am
assumes it being inclueded from src/, while each example folder has its
own .am inside its folder.
2018-04-12 21:23:42 -03:00
Xavi Artigas 37abe926f6 elementary: fix efl_ui_view_list examples
Reviewers: SanghyeonLee

Reviewed By: SanghyeonLee

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5863

Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-04-05 10:00:02 -07:00
Stefan Schmidt 3d6f4cc48e tests: elementary: fix build break after rename of efl_ui_view examples
Commit ae8df9ba076e6086900353f0e10480bb2302b44d renamed the files but
did not rename the references in the Makefile.
2018-04-05 14:37:47 +02:00
Cedric Bail 23ca86a5c4 evas: parent need to exist to create a vg object. 2018-04-04 16:31:09 -07:00
SangHyeon Lee 5100297b49 efl_ui_view_list : change the name of Model based list
Summary:
model based list need to be under the namespace of 'Efl.Ui.View".
thus, I renamed 'Efl.Ui.List' to 'Efl.Ui.View.List' properly.

Test Plan: N/A

Reviewers: cedric, felipealmeida

Differential Revision: https://phab.enlightenment.org/D5855
2018-04-04 19:13:41 +09:00
Cedric BAIL d76b6b42da evas: for whatever reason the example didn't interpolate the origin before. 2018-04-03 14:26:59 -07:00
Cedric BAIL 039a7118a1 evas: update example to always set a parent for VG node. 2018-04-03 14:26:59 -07:00
Lauro Moura 1242c07e18 csharp: Support argument marshalling in func ptrs
Function pointers now go through the same argument marshalling pipeline
as normal functions.

This will enable interfaces like Efl.Ui.Format to work properly.
2018-04-03 17:29:41 -03:00
Felipe Magno de Almeida 7d033e0377 efl-mono: Fix compile flags, .config files and class_name in description 2018-04-03 14:01:29 -03:00
Carsten Haitzler 29dda8d2b5 efl_add_ref - fis to use efl_add properly with a parent.
fixes bc18b7e7ad1f8c5d587400b27fabab0865017011 and
168849e8a08966ecc284e28f64126a3a85965965
2018-03-29 13:30:55 +09:00
Cedric BAIL 2ded43d89a efl: use efl_add_ref to create objects which have no parent
Signed-off-by: Mike Blumenkrantz <zmike@osg.samsung.com>
2018-03-20 17:20:56 -07:00
Carsten Haitzler bc7793f138 update examples to match args change 2018-03-11 04:46:47 +09:00
Lauro Moura aee97703bf csharp: update examples
Summary:
They were still using the old SetSize(w, h) API instead of receiving
eina.Size2D structs.

Test Plan: Build examples and run them.

Reviewers: felipealmeida, cedric

Reviewed By: cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5830

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2018-03-08 15:46:45 -08:00
Amitesh Singh e55451c2f3 examples: cxx: fix the compilation for slider example. 2018-03-07 19:25:19 +09:00
Carsten Haitzler 0197e7735b Revert "cxx: Fix manual code after efl_app change."
This reverts commit 135154303bea691c6f7f9472a5dec32d9103c38d.

Revert "efl: move signal events from efl.loop to efl.app"
This reverts commit 3dbca39f98288580c62a43c179ac11621433ec88.

Revert "efl: add test suite for efl_app"
This reverts commit 3e94be5d73256a7f5c02d3a9474173226be7beff.

Revert "efl: create Efl.App class, the parent of Efl.Loop"
This reverts commit 28fe00b94e55575c15684959b89a614d5a579309.

Go back to before efl.app because I think this should be done with
superclassing here not a parent object. reasons?

1. multiple loops per single thread make no sense. so if multilpe loop
objects they wont be contained in a single app object and then deleted
like this.
2. the app object is not really sharable in this design so it cant be
accessed from other threads
3. it makes it harder to get the main loop or app object (well 2 func
calls one calling the other and more typing. it is longer to type and
more work where it is not necessary, and again it can't work from
other threads unless we go duplicating efl.app per thread and then
what is the point of splittyign out the signal events from efl.loop
then?)

etc.
2018-03-03 13:40:33 +09:00
Vitor Sousa 566b5c3ee7 net_mono: add net reference examples to the C# binding 2018-03-01 10:28:17 -03:00
Mike Blumenkrantz 30b2e24c6b efl: create Efl.App class, the parent of Efl.Loop 2018-02-26 14:02:51 -05:00
Vitor Sousa e989e18864 eo_mono: add eo-intro tutorial for C# 2018-02-26 14:09:07 -03:00
Vitor Sousa 6009c1046c apps_mono: add text editor and Game of Life example apps for C# binding 2018-02-22 15:08:55 -03:00
Vitor Sousa f22bd3aa1f ui_mono: add ui_content reference example for C# 2018-02-19 16:32:24 -03:00
Vitor Sousa bc174ae115 eina_mono: add first reference examples for Eina C# binding 2018-02-16 15:24:11 -02:00
Mike Blumenkrantz cce178a95d evas3d: update examples to constructor change 2018-02-15 13:11:00 -05:00
Mike Blumenkrantz 662503df93 Efl.Ui.Model.Factory.Connect: remove this entirely
merge 'connect' method into Efl.Ui.Factory class as 'model_connect'
2018-02-15 13:11:00 -05:00
Mike Blumenkrantz d8fe773278 ecore_audio: remove "name" property 2018-02-15 13:11:00 -05:00
Mike Blumenkrantz 8aa84c9ac0 efl-net: rename conflicting "name" properties 2018-02-15 13:11:00 -05:00
Mike Blumenkrantz f8079ef705 eldbus: rename custom constructor methods
"constructor" conflicts with the base efl object constructor

some of the params for these should maybe be refactored into properties
and use finalize?
2018-02-15 13:11:00 -05:00
Larry Jr 936e527a5b elementary: efl_ui_list change SegArray tree to Efl.Object 2018-02-15 15:08:54 -02:00
Larry Jr 81f56259a8 elementary: efl_ui_list focus manager fix
fixed focus changed with keyboard
fixed scroll in focus
fixed focus in example
2018-02-15 15:08:54 -02:00
Lauro Moura 00228e7835 efl: general distcheck fixes
Summary:
- Added missing C++ header
- Added missing elementary header
- Removed generated header from elementary_SOURCES
  (Was added by raster in 42dfee37)
  Not sure of what would be the best place for it, though.
- Removed previously removed files from elementary examples Makefile.

Test Plan: Run 'make distcheck'

Reviewers: stefan, felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5800

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2018-02-14 12:47:40 -08:00
Mike Blumenkrantz 7604985c8e evas3d: use a type setter function with finalize instead of a custom constructor
resolves a conflict with the 'constructor' method name
2018-02-12 16:47:41 -05:00
Vitor Sousa 66dd51dc4b ui_mono: add ui_sizing reference for C# 2018-02-09 19:07:12 -02:00
Vitor Sousa 0e7a34e074 ui_mono: Add hello-gui and focus tutorials for C# 2018-02-09 19:06:13 -02:00
Lauro Moura 73838ff2b4 efl_mono: Distcheck fixes
- Export required sources
- Avoid generated sources being passed as static ones
2018-02-08 10:50:04 -03:00
Lauro Moura b7de8d587d examples: Remove duplicated build code for mono examples. 2018-01-25 15:56:08 -03:00
Vincent Torri 3f7b28f9c8 all: Simplify definition of EAPI
This will help in the transition from Autotools to Meson. This has been
tested on Windows for which EFL_XXX_BUILD were first introduced.
2018-01-18 18:04:03 +09:00
Jean-Philippe Andre 734359f7a6 efl: Merge Flipable and Orientation
No need to split: those two are used in all the same classes, since the
split between Orientation and Ui.Dir.

Note that the enum types remain in the main namespace.
2018-01-18 17:29:28 +09:00
Amitesh Singh 5bb61a8b7b examples: evas vg: fix the compilation of vg batman 2018-01-18 15:19:53 +09:00
Vincent Torri 2cc4fda73c examples: Simplify & fix thread example
This fixes the example for Windows, where apparently it ran into a lot
of errors with spinlock. Note that on Linux we have such errors too
(both before and after the patch):
EINA ERROR: 'Invalid argument' on lock 0x7ffd218af410
EINA ERROR: 'Invalid argument' on unlock 0x7ffd218af410

Patch by @vtorri
2018-01-17 17:37:03 +09:00
Jean-Philippe Andre 7b545cc62a examples: Show off usage of "background" part
See bg_cxx_example_01
2018-01-16 22:04:55 +09:00
Cedric Bail 7fbfb8d9fb ecore: forgotten EFL_MAIN_EX. 2018-01-15 14:22:27 -08:00