aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' into devs/hermet/lottieHermet Park2019-04-115-9/+5
|\
| * edje example edc - remove misleading signals that aren't usedCarsten Haitzler (Rasterman)2019-04-101-4/+0
| |
| * meson: correctly use the correct dependencydevs/lauromoura/pre_abstractMarcel Hollerbach2019-04-054-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: edje_cc calls epp, so we should not only add edje_cc to the depends on target, but rather also ensure that epp is availble. Additionally, this removes unneccessary depends on declarations when we do cross compile. Depends on D8561 Reviewers: zmike, segfaultxavi, cedric Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8562
* | Merge branch 'master' into devs/hermet/lottieHermet Park2019-03-2766-116/+32
|\ \ | |/
| * evas_3d: stop just segfaulting straight awayMarcel Hollerbach2019-03-264-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: there have been wrong function calls, that did not work at all, since the function pointer had the wrong type. This fixes the segfaulting examples of evas3d. However, they still do not render, at least, they don't crash anymore. Depends on D8381 Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8382
| * build: codegen generation should depend on elementary_codegenMarcel Hollerbach2019-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: otherwise buildfailures like : /usr/bin/env EFL_RUN_IN_TREE=1 /Users/travis/build/Enlightenment/efl/build/src/bin/elementary/elementary_codegen -p=codegen_example src/examples/elementary/codegen_example.edj elm/example/mylayout/default src/examples/elementary/codegen_example_generated.c src/examples/elementary/codegen_example_generated.h Can appear. Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8428
| * Remove dead codeXavi Artigas2019-03-201-8/+0
| |
| * efl_ui: rename select and unselected of efl_ui_selectableMarcel Hollerbach2019-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: this was conflicting with a model event. Prefixing it with "item," resolves this, and describes better what it does. Depends on D8413 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8414
| * Revert "efl_ui_selectable: namespace events to avoid conflicts"Marcel Hollerbach2019-03-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This reverts commit f629f11bedad7b137b012d36102ad5bb1f2b4b4f. This breaks legacy events. As the selected event is used in legacy widgets. Also this commits mixed up two different concepts, selection in a entry etc. and selection of a item. Depends on D8411 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8412
| * edje-multisense: add the theme fileMarcel Hollerbach2019-03-181-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: the theme file was forgotten here, and not probebly build Depends on D8378 Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8379
| * edje-swallow2: differeniate between build dir and source dirMarcel Hollerbach2019-03-182-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: the source dir is used for the bubble.png file, the rest is coming from the actaull build dir Depends on D8377 Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8378
| * inwin_example: shot can never be the preferend engineMarcel Hollerbach2019-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: "shot" is just the content from ELM_DISPLAY, but never the prefered engine. Additionally, prefered engine can be NULL, which will cause a SEGV. This now just uses the getenv to check if we run in the shot engine. Depends on D8376 Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8377
| * index_example_02: fix index exampleMarcel Hollerbach2019-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: If this is not initialized, then the reuse function will be != NULL which causes a SEGV Reviewers: cedric, segfaultxavi, zmike, stefan_schmidt Reviewed By: segfaultxavi Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8376
| * efl: remove EFL_EO_API_SUPPORT macroDaniel Kolesa2019-03-1857-95/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Since we're now going to be shipping some eo classes as stable, there is no point in keeping the eo api behind a macro, and it should be enabled by default. Another case is beta classes, but those are behind the EFL_BETA_API_SUPPORT guard. This also changes includes around the place where things are clearly broken (such as an included header needing something from another header but that other header being guarded, notably efl_ui_widget.h needing focus manager but focus manager being behind beta in Elementary.h) Reviewers: zmike, cedric, bu5hm4n, stefan_schmidt, segfaultxavi Reviewed By: cedric, segfaultxavi Subscribers: segfaultxavi, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8322
| * examples: bg_cxx: disable win.background in exampleStefan Schmidt2019-03-121-1/+1
| | | | | | | | | | Since commit ceb4c04d3b8f8eb94d63174b7b6f43641ea508a8 the parts block in efl.ui.widget is disabled which leads to compile errors of the example.
* | Merge branch 'master' into devs/hermet/lottieHermet Park2019-03-1210-10/+29
|\ \ | |/
| * efl-csharp: Respect beta for classes and other stuff.Lauro Moura2019-03-113-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: In order to work around an issue with Efl.App, which is stable but inherits from Efl.Core.Command_Line, @beta interfaces/mixins in the inheritance chain are simply skipped. Also changed the class used int test for inheritance from C# Efl.Loop is stable but internally it uses a @beta class as argument to its Register() method in the constructor. When instantiating a user-defined C# subclass, the binding calls the C# override in the NativeInherit class and the marshalling fails as no code is generated for the beta class. Also moved Efl.Part test to a beta class. Efl.Part is still beta. Regarding parts, they are skipped if its class is @beta too. Also rejected all elm_* files in elm public eo files. They should get back in as they are converted to Efl.Ui.* api. An exception is elm_interface_scrollable.eo, as efl_ui_panel depends on it. Fixes T7730 Test Plan: Run tests Reviewers: vitor.sousa, segfaultxavi, felipealmeida, cedric, bu5hm4n, zmike Reviewed By: vitor.sousa Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7730 Differential Revision: https://phab.enlightenment.org/D8268
| * mono-examples: Adapt to latest API syntaxXavi Artigas'>2019-03-111-4/+4
| |
| * cxx: Fix examples compilation.Lauro Moura2019-03-117-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: - Changed beta methods guards from CLASS_NAME_GUARD to EFL_BETA_API_SUPPORT to use the same scheme as C. - Removed some includes to Efl_Ui.h from the examples. These were causing C's efl_part_get to not be generated due to EFL_PART_PROTECTED not being yet defined (it is defined in Elementary.hh, included afterwards). This was leading to Efl.Part.impl.hh trying to use a non-existent method. Fixes T7716 partially (missing stringshare issue) Test Plan: make examples Reviewers: stefan_schmidt, felipealmeida, zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7716 Differential Revision: https://phab.enlightenment.org/D8284
* | edje svg: revert temporarily modified meson build scriptHermet Park2019-03-111-2/+2
| |
* | evas vg: sync with upstream masterHermet Park2019-03-114-26/+26
| |
* | Merge branch 'master' into devs/hermet/lottieHermet Park2019-03-1118-36/+34
|\ \ | |/
| * efl_ui_selectable: namespace events to avoid conflictsMike Blumenkrantz2019-03-081-2/+2
| | | | | | | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8261
| * efl-net: namespace events to avoid naming conflictsMike Blumenkrantz2019-03-0814-30/+30
| | | | | | | | | | Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8260
| * efl.loop_timer: rename all methods/properties/eventsMike Blumenkrantz2019-03-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: avoid potential future conflict by not using conflict-able names ref T7731 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7731 Differential Revision: https://phab.enlightenment.org/D8256
| * eolian: remove legacy handling API and most of generationDaniel Kolesa2019-03-082-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: This removes all Eolian API that deals with handling of legacy code. It also removes the code using it in the generator as well as bindings, but for now keeps generation of .eo.legacy.h types, as there are still instances in our codebase where things are otherwise broken. We can remove the rest once that is resolved. Reviewers: zmike, cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8255
* | Merge branch 'master' into devs/hermet/lottieHermet Park2019-03-1164-822/+308
|\ \ | |/
| * elementary: replace deprecated api usage with correct one.Hermet Park2019-03-081-1/+1
| |
| * elm: explicitly include Efl_Ui.h in binariesMike Blumenkrantz2019-03-0717-0/+17
| | | | | | | | | | | | | | | | it looks like people have been relying on Elementary.h to include eo apis even though this obviously makes no sense Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8223
| * efl_ui_multi_selectable: remove all legacy usage from eo filesMike Blumenkrantz2019-03-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | this takes the current generated output from eolian for legacy code in evas and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Cedric BAIL <cedric.bail@free.fr> Differential Revision: https://phab.enlightenment.org/D8120
| * evas: remove all legacy usage from eo filesMike Blumenkrantz2019-03-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | this takes the current generated output from eolian for legacy code in evas and adds it to the tree, then removes legacy references from the corresponding eo files. in the case where the entire eo file was for a legacy object, that eo file has been removed from the tree ref T7724 Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D8107
| * efl.ui.win: remove all legacy types and functions from eo fileMike Blumenkrantz2019-03-047-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: most of the eo methods here will be marked beta, preventing them from generating legacy code ref T7511 Depends on D8082 Reviewers: cedric Reviewed By: cedric Subscribers: cedric, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7511 Differential Revision: https://phab.enlightenment.org/D8083
| * elementary: update MVVM example to use asynchronous factory API.Cedric BAIL2019-03-011-10/+22
| | | | | | | | | | | | | | | | This also fix a bunch of other error regarding object lifecycle and library initialization. Reviewed-by: Vitor Sousa da Silva <vitorsousa@expertisesolutions.com.br> Differential Revision: https://phab.enlightenment.org/D8079
| * elementary: fix string usage in hoversel example.Cedric BAIL2019-03-011-14/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8073 Reviewers: zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8074
| * elementary: fix performance example warning by using Eina_Slstr instead of ↵Cedric BAIL2019-03-013-54/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | hardcoded buffer. Reviewers: zmike Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8070
| * elementary: fix web example to define _GNU_SOURCE only if needed.Cedric BAIL2019-03-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8076 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8077
| * elementary: fix combobox example to not duplicate the definition of _GNU_SOURCE.Cedric BAIL2019-03-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8075 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8076
| * elementary: remove badly named and unused array.Cedric BAIL2019-03-011-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8074 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8075
| * elementary: fix web example warning from duplicated _GNU_SOURCE.Cedric BAIL2019-03-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8072 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8073
| * elementary: fixup warning in location example.Cedric BAIL2019-03-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8071 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8072
| * elementary: fix Evas3D examples warning due to double define.Cedric BAIL2019-03-014-11/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Depends on D8070 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8071
| * efl.canvas.object: clip -> clipper && clipees -> clipped_objectsMike Blumenkrantz2019-02-271-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: also clipees_has -> clipped_objects_count ref T7555 Depends on D8039 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7555 Differential Revision: https://phab.enlightenment.org/D8040
| * efl.file: improve api a bitMike Blumenkrantz2019-02-2727-66/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Summary: the previous implementation/api had a number of issues: * "file" property contained both "file" and "key" values - also performed file loading operation * "load_error" property which was specific to image objects * no methods for controlling file loading/unloading this patch attempts the following changes: * split "file" property into "file" and "key" properties - also remove "key" from existing "mmap" property * remove "load_error" * directly return error codes from operations * add "load" and "unload" methods for directly controlling load state * add implicit file loading if file/mmap is set during construction * rewrite all efl.file implementations to move file loading into load() method * rewrite all usage of efl.file api based on these changes * add C extension functions to mimic previous behavior ref T7577 Reviewers: segfaultxavi, bu5hm4n, cedric Reviewed By: segfaultxavi Subscribers: vitor.sousa, #reviewers, #committers Tags: #efl_api Maniphest Tasks: T7577 Differential Revision: https://phab.enlightenment.org/D8018
| * meson: edje: setup edje_codegen for cross-builds as wellStefan Schmidt2019-02-271-2/+1
| | | | | | | | | | | | | | | | We had it all setup for edje_cc, but missed edje_codegen which is used in the examples. Reviewed-by: Marcel Hollerbach <marcel-hollerbach@t-online.de> Differential Revision: https://phab.enlightenment.org/D7963
| * examples/graphical: Mark unused parameters with EINA_UNUSEDChristopher Michael2019-02-261-3/+3
| |
| * examples/camera_light: Mark unused parameters with EINA_UNUSEDChristopher Michael2019-02-261-7/+7
| |
| * examples/sphere_hunter: Mark unused parameters with EINA_UNUSEDChristopher Michael2019-02-261-2/+2
| |
| * examples/performance: Mark unused parameters with EINA_UNUSEDChristopher Michael2019-02-261-29/+28
| |
| * examples/location_example: Mark unused parameters with EINA_UNUSEDChristopher Michael2019-02-261-1/+1
| |
| * examples/efl_canvas_layout_text: Mark unused parameter with EINA_UNUSEDChristopher Michael2019-02-261-1/+1
| |