summaryrefslogtreecommitdiff
path: root/src/lib/emotion/emotion_smart.c (unfollow)
AgeCommit message (Collapse)Author
2016-10-12evas: Move clip_unset to legacy, remove group_clipJean-Philippe Andre
Similarly to group_color_set, group_clip_[un]set should not exist and should be a result of efl_super and inheritance. This patch also removes clip_unset from the EO API and keeps only clip_set(NULL). The reason is that it will avoid bad overrides of clip_unset() vs. clip_unset(NULL). This also simplifies the code a bit. Ideally we should be able to reintroduce clip_unset in EO if we can have a "@final" tag (like java's final keyword), to prevent overrides.
2016-10-12evas: Remove method group_color_setJean-Philippe Andre
Widgets should simply override efl_gfx_color_set and call super all the way up to evas object. Legacy compatibility with call interceptors and early call abortion (eg. delete_me or obj->layer == NULL) are implemented with an internal call. See the previous commit introducing the API.
2016-09-25Emotion: modify the playback finish behavior as beforeDaniel Zaoui
The callbacks are never invoked due to sd->play equal to 0. The function _emotion_decode_stop is called before and resets this field. Before the change to Efl.Canvas.Video, sd->play was not checked.
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-26Efl Object: remove legacy callback calls from event_callback_callVitor Sousa
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
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-21evas: Rename Evas.Object to Efl.Canvas.ObjectJean-Philippe Andre
One step closer to make the EO inheritance tree look like it's all Efl.
2016-06-17Evas: Rename smart object into Efl.Canvas.GroupJean-Philippe Andre
2016-06-17Evas: Add smart_ prefix to all smart functions (eo)Jean-Philippe Andre
This is a first step at separating legacy smart object features away from standard efl interfaces.
2016-06-17Evas: Mark type as legacy and protectedJean-Philippe Andre
Only set() is allowed for EO, and it's a constructor, protected function. Unfortunately, this means a lot of #define EVAS_OBJECT_PROTECTED
2016-03-15Efl.Gfx.Buffer: Add interface skelettonJean-Philippe Andre
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-03Fix migration script mistakes and compilation warnings.Tom Hacohen
Mostly unused vars following the removal of eo_do_ret(). However, there are some cases where the migration script got some things wrong, and I had to manually fix them.
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-01-13EFL: Mark EOLIAN functions as static when possibleJean-Philippe Andre
This affects mostly evas filters.
2015-12-23efl-js: JavaScript Eolian bindingFelipe Magno de Almeida
To configure efl sources with bindings to use in nodejs add ––with-js=nodejs in configure flags to generate node files $ configure --with-js=nodejs and compile normally with: $ make $ make install To use, you have to require efl: efl = require('efl') The bindings is divided in two parts: generated and manually written. The generation uses the Eolian library for parsing Eo files and generate C++ code that is compiled against V8 interpreter library to create a efl.node file that can be required in a node.js instance. @feature
2015-06-07emotion: porting evas smart callbacks to eoAvi Levin
2015-05-20Eo: Add a return value to eo_constructor().Tom Hacohen
From now on, constructors should return a value, usually the object being worked on, or NULL (if the constructor failed). This can also be used for implementing singletons, by just always returning the same object from the constructor. This is one of the final steps towards stabilizing Eo. @feature
2015-05-06Emotion: Migrate some more of emotion to Eo/efl.player.Tom Hacohen
2015-02-23Fix code to conform to recent Eo changes.Tom Hacohen
2014-10-06emotion - limit pos set seecks to 0.0 at minumum pointCarsten Haitzler (Rasterman)
2014-09-25Eo: Change eo_add/del/unref behaviour.Tom Hacohen
Before this change eo_add() used to create an object with 1 ref, and if the object had a parent, a second ref. Now, eo_add() always returns an object with 1 ref, and eo_add_ref() preserves the old behaviour (for bindings). eo_unref now un-parents if refcount is 0, and eo_del() is an alias for eo_unref (will change to be a way to ensure an object is dead and goes to zombie-land even if still refed).
2014-09-01emotion - fix calling pos update cb for gst1 module in frame newCarsten Haitzler (Rasterman)
@fix
2014-08-27emotion - fix engine string leakCarsten Haitzler (Rasterman)
fixes CID 1232727
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 object: Convert from a smart object to an eo object.Tom Hacohen
2014-08-21Emotion object: Create .eo file.Tom Hacohen
2014-04-27emotion: remove warning.Cedric Bail
2014-04-27emotion: use eina stringshare not strdupWonguk Jeong
Summary: @fix Reviewers: raster, cedric Reviewed By: cedric CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D804
2014-04-24emotion: play set before file open callback bug fixWonguk Jeong
Summary: Before "open_done" callback, play unset is ineffective. is it intentional logic? if we set play and unset play again before "open_done" callback, the video will be played. @fix Reviewers: raster, cedric CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D786
2013-07-08Add missing break in switchChris Michael
NB: Fixes Coverity CID1039372 Signed-off-by: Chris Michael <cp.michael@samsung.com>
2013-06-20efl: formattingSebastian Dransfeld
2013-03-11emotion - free up engine and stuff on obj del, and let smartdata hangCarsten Haitzler (Rasterman)
about for eio stuff. hrmmmmf. cedric!!! :)
2013-03-11emotion "fix" - not actually a bug i hit, but a potential one whereCarsten Haitzler (Rasterman)
xattr change jobs are not deleted on sd free.
2013-02-27emotion: improve portability of Emotion Generic by using EFL more.Cedric BAIL
2013-01-11efl/emotion: rework module infra, better integration with 'generic'.Gustavo Sverzut Barbieri
Change the module infra and allow one to register using the description structure itself, saves some work. Replace module_open and module_close with add() and del(), that are more descriptive. Move stuff to init/shutdown where it was a better fit. Since add() now receives the first parameter being the owning structure we can create one structure per generic player and they will merge transparently with other modules, then we can use a simple algorithm that considers the plugin priority. ALL DYNAMIC! Future work could be done to load the plugin priority specified by user from configuration file. But this is not in my plans right now. SVN revision: 82602
2013-01-11efl/emotion: start to refactor engine handling.Gustavo Sverzut Barbieri
Removed the engine handling out from smart object, later the module API will change and we'll be able to simplify many things. My plan is to allow generic players to register along as regular modules. SVN revision: 82597
2013-01-10efl/emotion: move register/unregister.Gustavo Sverzut Barbieri
SVN revision: 82593
2013-01-10efl/emotion: refactor init/shutdown, load modules from eina_prefix.Gustavo Sverzut Barbieri
* emotion_init() and emotion_shutdown() now exist, let's do our initialization from there. * smart_add/smart_free will call init/shutdown for legacy apps. * use eina_prefix to determine runtime location. * use eina_module_arch_list_get() SVN revision: 82509
2013-01-10efl: merge emotion.Gustavo Sverzut Barbieri
this one was quite a huge work, but hopefully it's correct. NOTES: * removed vlc generic module, it should go into a separate package. * gstreamer is enabled by default (see --disable-gstreamer) * xine is disabled by default (see --enable-gstreamer) * generic is always built statically if supported * gstreamer and xine can't be configured as static (just lacks command line options, build system supports it) * v4l2 is enabled by default on linux if eeze is built (see --disable-v4l2) * emotion_test moved to src/tests/emotion and depends on EFL_ENABLE_TESTS (--with-tests), but is still installed if enabled. TODO (need your help!): * fix warnings with gstreamer and xine engine * call engine shutdown functions if building as static * remove direct usage of PACKAGE_*_DIR and use eina_prefix * add eina_prefix checkme file as evas and others * add support for $EFL_RUN_IN_TREE * create separate package for emotion_generic_modules * check docs hierarchy (doxygen is segv'in here) SVN revision: 82501
2013-01-05oooh no one ever spotted this api had a typo! fix indeed.Carsten Haitzler
SVN revision: 82255
2013-01-02Emotion: introce emotion_object_video_subtitle_file_set() callLeandro Dorileo
For setting an arbitrary subtitle file, this patch introduces the emotion_object_video_subtitle_file_set() and its counterpart emotion_object_video_subtitle_file_get(). The tag @sice were added as 1.7.2 since we're preparing a backport to stable tree. SVN revision: 82019
2012-08-28emotion: fix a race condition on shutdown when still saving a file.Cedric BAIL
SVN revision: 75770
2012-08-28emotion: reset VLC pipeline on EOS.Cedric BAIL
NOTE: I gave up and completely restart the child, seems like the only reliable way to do it. SVN revision: 75769
2012-07-18[emotion] No evas_object_smart_callback_call() on an evasGustavo Lima Chaves
image. Big important change here. Want myself in authors :P SVN revision: 74145
2012-06-19emotion: sync rendering with Ecore_Animtor.Cedric BAIL
SVN revision: 72440
2012-03-05From: Davide Andreoli <dave@gurumeditation.it>Davide Andreoli
Subject: [E-devel] Emotion buffer size patch Hi, here is a patch for emotion, it add a new function to retrive the status of the buffer while playing online stream. It is implemented only for the gstreamer backend, the xine one do not play at all here. What about the generic one? (xine does play - i implameneted this with the xine module, and generic is given a func that always returns 1.0 for now). SVN revision: 68684
2012-02-23emotion: call some callback when load and save are done.Cedric BAIL
SVN revision: 68355