Commit Graph

767 Commits

Author SHA1 Message Date
Xavi Artigas 679c89d98d Adapt to latest event names 2019-03-09 15:54:38 +01:00
Mike Blumenkrantz d16b7e48bc fix examples build for latest efl 2019-03-02 10:38:07 -05:00
Xavi Artigas d74a4df994 csharp examples: Adapt to new classes syntax
Summary: Mainly use PascalCase Namespaces and Classes and proper event names.

Test Plan: Check all examples still build.

Reviewers: lauromoura, vitor.sousa, felipealmeida, bu5hm4n

Reviewed By: bu5hm4n

Differential Revision: https://phab.enlightenment.org/D7479
2018-12-19 16:51:15 +01:00
Marcel Hollerbach 5b36c351e3 efl_ui_view: keep up with API rename 2018-11-02 12:30:48 +01:00
Mike Blumenkrantz f36e0f43da add makefile for elementary C examples 2018-08-21 16:22:25 -04:00
Mike Blumenkrantz 1c1854c657 sync ecore examples build with current efl tree build 2018-08-21 16:03:44 -04:00
Mike Blumenkrantz fdcd2d337b sync eina examples build with current efl tree build 2018-08-21 15:52:01 -04:00
Mike Blumenkrantz 5e64366537 sync evas examples build with current efl tree build 2018-08-21 15:50:22 -04:00
Mike Blumenkrantz bf52453fc4 sync edje examples build with current efl tree build 2018-08-21 15:46:58 -04:00
Mike Blumenkrantz 3671163a58 add remaining evas examples to build 2018-08-17 14:03:13 -04:00
Mike Blumenkrantz 56623240b7 just use subdir clean rules for unsorted examples build 2018-08-17 14:02:28 -04:00
Mike Blumenkrantz 3fd4ac3b46 add gitignore for merged examples 2018-08-16 16:12:48 -04:00
Mike Blumenkrantz ac12207f44 fix eolian-cxx dependencies
ensure the OBJS are created before trying to use them with parallel make
2018-08-16 16:03:35 -04:00
Mike Blumenkrantz 86a57475d9 use PATH programs for eolian-cxx examples
this should be configured by the overall build system
2018-08-16 15:48:21 -04:00
Mike Blumenkrantz 2f170d6ffb add eolian_cxx examples to overall makefile 2018-08-16 15:48:15 -04:00
Felipe Magno de Almeida 8567a2ebc5 Fix Makefile.examples for eolian_cxx 2018-08-13 17:27:28 -03:00
Mike Blumenkrantz fa5d7f80c5 fix some example builds 2018-08-10 09:38:12 -04:00
Mike Blumenkrantz fabab68024 merge all files from efl.git/src/examples 2018-08-09 17:39:17 -04:00
Mike Blumenkrantz d9bc92888a examples 2018-08-09 16:21:58 -04:00
Felipe Magno de Almeida 095d4200b4 Efl.Ui.Layout.Factory: added missing factory_model_connect
Summary:
connect factory to edje part name
when create a new layout connect a factory to it
change example to use the factory_model_connect

Reviewers: felipealmeida

Differential Revision: https://phab.enlightenment.org/D6667
2018-08-01 19:37:37 -03:00
Xavi Artigas 3631f36cb0 efl: fix some warnings in examples
Summary:
- Check return vaule of fread()
- Uninitialized var (seriously!)
- Weird struct assignment

Still one warning remains, pending evaluation of T7166.

Fixes T6718

Test Plan:
Those 3 warnings have disappeared and the related example still works
as expected.

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #committers

Tags: #efl

Maniphest Tasks: T6718

Differential Revision: https://phab.enlightenment.org/D6631
2018-07-20 10:36:38 -04:00
Mike Blumenkrantz 7ac2d2ca26 examples/evas: do not attempt to free animator on window delete
Summary:
animators are implicitly destroyed for this case, and attempting to
manually destroy them just results in an error/failure and invalid reads
since this is a poorly designed api which can internally destroy itself

fix T7000
@fix

Reviewers: Hermet, devilhorns

Subscribers: segfaultxavi, cedric

Tags: #efl

Maniphest Tasks: T7000

Differential Revision: https://phab.enlightenment.org/D6488
2018-07-18 15:31:00 +09:00
Alastair Poole 8f66ffac93 Patch for T6342
Summary: Deprecate SSLv3.

Reviewers: zmike, raster, devilhorns

Reviewed By: zmike

Subscribers: cedric, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D6334
2018-06-20 14:17:25 +01:00
Alastair Poole 64e2eba9bc examples: fix build on FreeBSD.
Missing header for AF_INET/6. Another small
difference between BSD and Linux et al.
2018-06-14 14:24:04 +01:00
Hermet Park 122d3c793e evas example: removed unnecessary calls for vg shapes. 2018-06-14 20:30:28 +09:00
Larry Lira 89c3f4a223 examples: fix efl_model parent loop add 2018-06-07 19:15:50 -03:00
Hermet Park b34c40baa4 evas gl: update example code for better user understanding. 2018-05-29 11:27:15 +09:00
Lauro Moura ae8ef9ce48 cxx: Fix examples after part changes
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-05-24 16:02:19 -07:00
Lauro Moura 35a0b7f632 efl_mono: Fixes after efl_part/del changes.
Reviewed-by: Cedric BAIL <cedric@osg.samsung.com>
2018-05-24 16:02:19 -07:00
Cedric BAIL 73876dcbc9 Revert "efl_add_ref - fis to use efl_add properly with a parent."
This reverts commit 2fb5cc3ad09f6aaf82b5d1131ac5ed22ed848bd4.

Most of this change where wrong as they didn't affect the destruction
of the object. efl_add_ref allow for manual handling of the lifecycle
of the object and make sure it is still alive during destructor. efl_add
will not allow you to access an object after invalidate also efl.parent.get
will always return NULL once the object is invalidated.

Differential Revision: https://phab.enlightenment.org/D6062
2018-05-24 16:02:17 -07:00
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
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 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
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
Cedric Bail 23ca86a5c4 evas: parent need to exist to create a vg object. 2018-04-04 16:31:09 -07:00