Commit Graph

1245 Commits

Author SHA1 Message Date
Jaehyun Cho 7ce001084a examples: Fix slider cxx example based on Efl.Ui.Slider
Unlike Elm_Slider, Efl.Ui.Slider does not support text_set,
format_cb_set, and format_string_set.
To support Efl.Ui.Slider, slider cxx example is modified.
2018-05-15 20:03:20 +09:00
Lauro Moura 93d75b47c9 efl_mono: Update tests and examples after rename
Summary:
Separated from the generator and libs for easier review
Depends on D6050

Reviewers: felipealmeida, vitor.sousa

Reviewed By: vitor.sousa

Subscribers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6051
2018-05-03 18:04:41 -03:00
Cedric BAIL 4eebe1b884 elementary: quick fix for filemvc example. 2018-05-01 10:39:01 -07:00
Cedric BAIL 41e3a6bc3d eldbus: update dbus efl.model example. 2018-05-01 10:39:01 -07:00
Cedric BAIL 5e8827afb2 ecore_con: update efl_net_ip_address_example after migration to new Eina_Future. 2018-05-01 10:39:01 -07:00
Cedric BAIL 7092eb69d0 eio: update efl_io_manager_ls example. 2018-05-01 10:39:01 -07:00
Cedric BAIL 8813cd33dd ecore: move close_on_destructor to close_on_invalidate as that describe the behavior best.
Fix all use to correctly behave on invalidate.
2018-05-01 10:39:01 -07:00
Cedric BAIL 9fc9db95ed eio: fix example to use the new EINA_VALUE_ARRAY_FOREACH. 2018-05-01 10:39:01 -07:00
Xavi Artigas 3e23c210cb Fix leaks and double frees in eina_hash example
Summary:
Short-lived eina strings do not need to be explicitly deallocated.
The return value of eina_hash_set DOES need to be deallocated, though.

Reviewers: cedric, ajwillia.ms

Differential Revision: https://phab.enlightenment.org/D6006
2018-05-01 13:21:12 -04:00
Xavi Artigas 4a8b562a40 Update examples after EFL API rename
Differential Revision: https://phab.enlightenment.org/D6002
2018-05-01 13:21:12 -04:00
Xavi Artigas 09923d92c2 Fix double frees and incorrect nprintf in eina_string example
Reviewers: cedric, ajwillia.ms, zmike

Differential Revision: https://phab.enlightenment.org/D6012
2018-05-01 13:14:42 -04:00
SangHyeon Lee a8ea04fc2f efl.ui.view_list : update example text/content name on legacy to efl
update examples and edc as our new naming rule changes.
2018-04-30 19:25:06 +09:00
SangHyeon Lee f774b7b0ba efl_ui_list : introduce new list widget for simple usage
Summary:
most usage of simple list, items are very limited and loading performance is not serious.
to support those requirement, this efl.ui.list will create scrollable box with efl.pack.

user can create list by packing an pre-loaded item object, Efl.Ui.List.Item class.

Test Plan: tested in efl_ui_list_example_1.c in examples.

Reviewers: cedric, felipealmeida

Subscribers: woohyun, Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5861
2018-04-28 13:41:41 +09:00
Lauro Moura a547e82da2 efl_mono: Names fixes after the big rename
Summary: Depends on D5997

Reviewers: felipealmeida

Reviewed By: felipealmeida

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5998
2018-04-26 10:55:18 -03:00
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