summaryrefslogtreecommitdiff
path: root/src/tests/emotion (follow)
AgeCommit message (Collapse)Author
2019-04-05meson: correctly use the correct dependencyMarcel Hollerbach
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
2019-03-18efl: remove EFL_EO_API_SUPPORT macroDaniel Kolesa
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
2019-02-27efl.file: improve api a bitMike Blumenkrantz
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
2019-02-14Efl.Gfx.Stack: Rename raise and lowerXavi Artigas
Summary: to move_to_top and move_to_bottom since the previous names seemed to indicate that the object only moved one step instead of all the way through the top or the bottom of the stack. Ref T7560 Test Plan: make && make check && make examples work as before Reviewers: cedric, zmike Reviewed By: zmike Subscribers: kimcinoo, #reviewers, #committers Tags: #efl Maniphest Tasks: T7560 Differential Revision: https://phab.enlightenment.org/D7934
2019-02-06edje: migrate Eo API to use Eo callback instead of opaque type.Cedric BAIL
Summary: Depends on D7869 Reviewers: zmike, q66, segfaultxavi, bu5hm4n Reviewed By: zmike Subscribers: #reviewers, #committers Tags: #efl Maniphest Tasks: T7671 Differential Revision: https://phab.enlightenment.org/D7870
2019-01-24meson - edje_cc use -fastcomp for fast builds in mesaCarsten Haitzler (Rasterman)
2018-12-27meson - re-enable emotion_test binaries and data like autofooCarsten Haitzler (Rasterman)
2018-12-06meson: abstract edje_cc exec linesMarcel Hollerbach
the array is calling the shell etc. this makes cross building easier. Differential Revision: https://phab.enlightenment.org/D7413
2018-10-02here comes mesonMarcel Hollerbach
a new shiny buildtool that currently completes in the total of ~ 4 min.. 1 min. conf time 2:30 min. build time Where autotools takes: 1:50 min. conf time 3:40 min. build time. meson was taken because it went quite good for enlightenment, and is a traction gaining system that is also used by other mayor projects. Additionally, the DSL that is defined my meson makes the configuration of the builds a lot easier to read. Further informations can be gathered from the README.meson Right now, bindings & windows support are missing. It is highly recommented to use meson 0.48 due to optimizations in meson that reduced the time the meson call would need. Co-authored-by: Mike Blumenkrantz <zmike@samsung.com> Differential Revision: https://phab.enlightenment.org/D7012 Depends on D7011
2018-06-18emotion - emotion_test - dont limit fps to 30 as this doesn't help testsCarsten Haitzler (Rasterman)
so i noticed it was jerky... to move/resize the video obj. it's because it set fps to 30... well that was silly. didn't help chasing a ghost, so remove this to avoid chasing hosts.
2018-04-24Efl.Gfx.Entity (from Efl.Gfx)Xavi Artigas
Ref https://phab.enlightenment.org/T6847 Reviewed-by: Cedric Bail <cedric@osg.samsung.com>
2017-12-06edje: rename Edje.Object to Efl.Canvas.LayoutAmitesh Singh
2017-12-05edje: rename intf Efl.Canvas.Layout.Signal to Efl.Layout.SignalAmitesh Singh
2017-11-01evas: Move evas_canvas.eo to legacy-onlyJean-Philippe Andre
This isn't meant to be installed. The canvas API in EO is based around the interfaces Efl.Canvas and the widget Efl.Ui.Win. Anything else is not EO (eg: ecore_evas, evas, ...) Note: evas_canvas3d is the last remaining thing that is installed along EO files, but those are all beta APIs.
2017-09-18efl: Use Eina.Size2D for Efl.Gfx.sizeJean-Philippe Andre
Big patch as a lot of things call or reimplement size_set. Hopefully I got it right... fingers crossed.
2017-09-18efl: Use Eina.Position2D for Efl.Gfx.positionJean-Philippe Andre
Note: This is a little bit more cumbersome in some places but in most it's more convenient than (x,y).
2017-08-04edje: Move signal APIs to an interfaceJean-Philippe Andre
This interface will be used by elm_layout as well. Ref T5315
2017-06-12Canvas layout: port part_text to efl_partDaniel Hirt
You now use the following: efl_text_set(efl_part(edje_obj, "part"), "text"); const char *text = efl_text_get(efl_part(edje_obj, "part")); The former method of edje_object_part_text_set/get is now legacy. Also, adjusted 'tests/emotion/emotion_test_main-eo.c' with this change.
2017-05-31edje: Reshuffle a bit edje_object.eoJean-Philippe Andre
This changes a few method names: - freeze -> calc_freeze - thaw -> calc_thaw - update_hints -> calc_update_hints Otherwise this is mostly about reshuffling the EO file itself and changing documentation. Ref T5315
2017-05-31edje: Move part drag APIs to efl_partJean-Philippe Andre
This moves all part_drag APIs to legacy and implements them for EO using efl_part(). All parts now support these APIs, even if they are not draggable. Making this more fine grained would probably be much extra work for little gain. This creates a new interface Efl.Ui.Drag.
2016-09-21emotion: convert Emotion_Object into Efl.Canvas.VideoYeshwanth Reddivari
Reviewers: singh.amitesh, raster, jpeg, cedric Differential Revision: https://phab.enlightenment.org/D3994 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-08-30Efl object: Rename Eo_Event -> Efl_Event.Tom Hacohen
This is the last step of the Eo renaming efforts.
2016-08-26efl: Rename Efl.Event.XX to Efl.Input.XXJean-Philippe Andre
This removes: Efl.Event interface And renames: Efl.Event.Input -> Efl.Input.Event Efl.Event -> Efl.Input.Event (merged) Efl.Event.Pointer -> Efl.Input.Pointer Efl.Event.Key -> Efl.Input.Key Efl.Event.Hold -> Efl.Input.Hold This also moves some interfaces from efl/ to evas/ where they belong better. This allows renaming Eo_Event to Efl_Event.
2016-08-15Eo: Finish the renaming of Eo to the EFL.Tom Hacohen
This renames all the rest of the API to the EFL namespace except for Eo_Event that will follow soon. Obviously breaks both API and ABI.
2016-08-11Change the EFL to follow the new Eo rename.Tom Hacohen
2016-06-20Adjust the code according to the eo event stop changes.Tom Hacohen
This was changed in the previous commit.
2016-06-17Evas: Rename object focus to key_focusJean-Philippe Andre
The evas focus concept is valid and applies only to the keyboard inputs.
2016-06-16tests: Use EO_CALLBACKS_ARRAY_DEFINE in all testsJean-Philippe Andre
This should make them work on Windows, too.
2016-06-14evas object: Mark event free as @betaJean-Philippe Andre
Use EO_EVENT_DEL instead.
2016-06-14tests: Remove eo evas object eventsJean-Philippe Andre
This is the last usage, apart from evas_callbacks.c itself.
2016-06-13evas_canvas: move evas_output_XXX API from eo to legach.Ji-Youn Park
evas canvas will be removed from eo. evas_output_XXX APIs are usually used by widget or e17. I decided not open these kind of APIs to eo. app can use the size of elm win instead of evas output apis.
2016-06-01Revert "Eo: Remove eo_del() and make eo_unref() the replacement."Tom Hacohen
This reverts commit 546ff7bbba788ec834c5608361c0834853f2d5d7. It seems that eo_del() is useful and removing it was creating bugs. The issue is that the way we defined parents in eo, both the parent and the programmer share a reference to the object. When we eo_unref() that reference as the programmer, eo has no way to know it's this specific reference we are freeing, and not a general one, so in some circumstances, for example: eo_ref(child); eo_unref(child); // trying to delete here eo_unref(container); // container is deleted here eo_unref(child); // child already has 0 refs before this point. We would have an issue with references and objects being freed too soon and in general, issue with the references. Having eo_del() solves that, because this one explicitly unparents if there is a parent, meaning the reference ownership is explicitly taken by the programmer. eo_del() is essentially a convenience function around "check if has parent, and if so unparent, otherwise, unref". Which should be used when you want to delete an object although it has a parent, and is equivalent to eo_unref() when it doesn't have one.
2016-05-18eo: for consistency use object like all our API.Cedric Bail
2016-05-17Eo: Remove eo_del() and make eo_unref() the replacement.Tom Hacohen
We used to have eo_del() as the mirrored action to eo_add(). No longer, now you just always eo_unref() to delete an object. This change makes it so the reference of the parent is shared with the reference the programmer has. So eo_parent_set(obj, NULL) can free an object, and so does eo_unref() (even if there is a parent). This means Eo no longer complains if you have a parent during deletion.
2016-04-26Edje: Adapt to Efl.ContainerJean-Philippe Andre
This basically renames swallow into content.
2016-04-12Eo event: rename Eo_Event->event_info to Eo_Event->info.Tom Hacohen
The previous naming was redundant and too long.
2016-03-11Revert "Automatic migration to the new eo_add syntax."Tom Hacohen
This reverts commit 4f949a2757b6332306264d7f126b15ba7bfd37d4.
2016-03-09Automatic migration to the new eo_add syntax.Tom Hacohen
2016-03-03Automatic migration to Eo4.Tom Hacohen
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
2016-02-29Eo callbacks: Migrate all of the EFL to the new event cb signatures.Tom Hacohen
2015-07-08gitignore: Updated.Daniel Juyung Seo
2015-06-29Emotion: Adding Eo test for emotionAvi Levin
This test is exactly like the existing legacy one but works with Eo invocations.
2015-06-28emotion: revert changes to emotion test as discussed on ML and chatAvi Levin
We want a separate test for Eo callbacks, as we still want to verify legacy callbacks.
2015-06-07emotion: porting evas smart callbacks to eoAvi Levin
2014-09-01emotion test - fix lack of null checks in test codeCarsten Haitzler (Rasterman)
fix CID 1232081 1232080 1232079 1232078 1232077
2014-09-01emotion_test - add printfs for other cb'sCarsten Haitzler (Rasterman)
2014-08-22emotion - make emotion object init now optional.Carsten Haitzler (Rasterman)
if you don't init (or set engine) on an emotion object, itstill works - it chooses the default engine.. whihc i now have set as gst1. :) one less thing that HAS to be done on init. better.
2014-08-21emotion: fix command-line args visualization testWonguk Jeong
2014-06-19Emotion tests: Fix compilation warningJean-Philippe Andre
2014-06-07edje: simplify and deprecate stub function.Cedric BAIL