path: root/src/lib/emotion/Emotion.h (unfollow)
AgeCommit message (Collapse)Author
2021-01-11emotion: emotion EAPI macro to EMOTION_API in Emotion libraryFelipe Magno de Almeida
Summary: Patch from a series of patches to rename EAPI symbols to specific library DSOs. = The Rationale = EAPI was designed to be able to pass `__attribute__ ((visibility ("default")))` for symbols with GCC, which would mean that even if -fvisibility=hidden was used when compiling the library, the needed symbols would get exported. MSVC __almost__ works like GCC (or mingw) in which you can declare everything as export and it will just work (slower, but it will work). But there's a caveat: global variables will not work the same way for MSVC, but works for mingw and GCC. For global variables (as opposed to functions), MSVC requires correct DSO visibility for MSVC: instead of declaring a symbol as export for everything, you need to declare it as import when importing from another DSO and export when defining it locally. With current EAPI definitions, we get the following example working in mingw and MSVC (observe it doesn't define any global variables as exported symbols). Example 1: dll1: ``` EAPI void foo(void); EAPI void bar() { foo(); } ``` dll2: ``` EAPI void foo() { printf ("foo\n"); } ``` This works fine with API defined as __declspec(dllexport) in both cases and for gcc defining as `__atttribute__((visibility("default")))`. However, the following: Example 2: dll1: ``` EAPI extern int foo; EAPI void foobar(void); EAPI void bar() { foo = 5; foobar(); } ``` dll2: ``` EAPI int foo = 0; EAPI void foobar() { printf ("foo %d\n", foo); } ``` This will work on mingw but will not work for MSVC. And that's why EAPI is the only solution that worked for MSVC. Co-authored-by: João Paulo Taylor Ienczak Zanette <> Co-authored-by: Ricardo Campos <> Co-authored-by: Lucas Cavalcante de Sousa <> Reviewers: vtorri, woohyun, jptiz, lucas Reviewed By: vtorri, lucas Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision:
2020-06-05emotion: remove all left overs from removed backendsStefan Schmidt
We removed them in the last release. Make sure we cleanup all the references and dead code still belonging to it. Extra note on the Emotion_Module enum removal. While it was exposed in the public Emotion.h header it is never used anywhere in the code and has no purpose, thus it can safely be removed. Reviewed-by: Carsten Haitzler (Rasterman) <> Differential Revision:
2020-03-03doxygen docs: fix multiple defined @section'sXavi Artigas
Section names must be globally unique. We rarely reference sections so we don't actually need to use @section and a simple header suffices.
2020-02-28doxygen: fix duplicated toc sectionsXavi Artigas
2019-04-02docs: Fix common misspellings in H filesXavi Artigas
Fixed all appearances of words from this list in H files:
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:
2018-01-18all: Simplify definition of EAPIVincent Torri
This will help in the transition from Autotools to Meson. This has been tested on Windows for which EFL_XXX_BUILD were first introduced.
2017-02-14emotion: add since tag to new emotion_file_meta_artwork_get APIStefan Schmidt
2017-01-12emotion: add support for obtaining embedded artwork from media files with ↵Al Poole
gstreamer1 backend. Reviewers: raster, cedric Subscribers: cedric, jpeg Differential Revision: Signed-off-by: Cedric BAIL <>
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-09-28emotion: fix typo in documentationAmitesh Singh
2015-08-13emotion: Fix typos in doxygenChris Michael
Summary: This patch fixes some typos in the documentation of Emotion @fix Signed-off-by: Chris Michael <>
2015-05-07emotion: remove the need to order the header correctly for Windows.Cedric BAIL
2014-10-20emotion: updating API documentation.Philippe Caseiro
2014-10-20emotion: add documentation for Emotion_Version structure.Nicolas Aguirre
2014-08-21Emotion object: Convert from a smart object to an eo object.Tom Hacohen
2014-08-21Emotion object: Create .eo file.Tom Hacohen
2013-11-04alpha1 release autofoo/build tree work to pass distcheck and actually workv1.8.0-alpha1Carsten Haitzler (Rasterman)
2013-10-09emotion: add two events to trigger when a webcam is plugged or unpluggedMichaël Bouchaud (yoz)
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-03Emotion: no subtitle file API on stable treeLeandro Dorileo
Since we're not releasing subtitle file API on stable tree change the @since tags to 1.8. SVN revision: 82029
2013-01-02Emotion: now correctly versioned the changesLeandro Dorileo
SVN revision: 82020
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-09-03update header #defined versions to 1.8 to make sure new apis are usedCarsten Haitzler
in e17 only with ifdefs. SVN revision: 75994
2012-08-27update @version'sCarsten Haitzler
SVN revision: 75739
2012-08-10more updates for 1.7.0 alpha.Carsten Haitzler
SVN revision: 75095
2012-07-16fix minor version defines to be at 1.6 (in sync now) ready for goingCarsten Haitzler
to 7 on release. SVN revision: 73906
2012-04-17Fixing doc for out of tree build and some doxygen warnings.Thiago Thamada
Patch by: Thiago Thamada <> SVN revision: 70278
2012-04-01Emotion: Patch that correct this:Vincent Torri
warning: Tag `DETAILS_AT_TOP' at line 46 of file Doxyfile has become obsolete. To avoid this warning please update your configuration file using "doxygen -u" warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 137 of file Doxyfile has become obsolete. To avoid this warning please update your configuration file using "doxygen -u" warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 138 of file Doxyfile has become obsolete. To avoid this warning please update your configuration file using "doxygen -u" warning: tag INPUT: input source `emotion.dox' does not exist warning: source emotion.dox is not a readable file or directory... skipping. /tmp/emotion/src/lib/Emotion.h:1232: warning: missing title after \defgroup Emotion_Webcam /tmp/emotion/src/lib/Emotion.h:819: warning: The following parameters of emotion_object_size_get(const Evas_Object *obj, int *iw, int *ih) are not documented: parameter 'ih' Patch by Jérôme Pinot SVN revision: 69824
2012-03-17gear up svn for release. one of many steps/things to do.Carsten Haitzler
SVN revision: 69481
2012-03-05Fix docs according to raster changesDavide Andreoli
SVN revision: 68740
2012-03-05From: Davide Andreoli <>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-05fix @dates in each header fileJihoon Kim
SVN revision: 67705
2011-12-28EAPIfy external variablesIván Briano
SVN revision: 66600
2011-10-05emotion: some docs.Cedric BAIL
SVN revision: 63820
2011-10-03emotion: forgotten declaration.Cedric BAIL
SVN revision: 63768
2011-09-15emotion/doc: Add @ingroup to new functions.Rafael Antognolli
SVN revision: 63417
2011-09-15emotion/aspect: Add API to configure the aspect ratio policy.Rafael Antognolli
The new function emotion_object_keep_aspect_set() allow to set a policy that will automatically change the emotion object border property, based on the video aspect ratio and object current aspect ratio. Possible values are: * EMOTION_ASPECT_KEEP_NONE * EMOTION_ASPECT_KEEP_WIDTH * EMOTION_ASPECT_KEEP_HEIGHT * EMOTION_ASPECT_KEEP_BOTH * EMOTION_ASPECT_CROP * EMOTION_ASPECT_CUSTOM SVN revision: 63416
2011-09-15emotion/border: Add support for selecting the border colors.Rafael Antognolli
This is a simple API that implements colors for the borders specified by emotion_object_border_set(), using a background rectangle behind the emotion object. SVN revision: 63415
2011-09-15emotion/border: Add border/crop support for emotion objects.Rafael Antognolli
The emotion_object_border_set/get APIs were added, allowing one to specify a positive (border) or negative (crop) value for each of the edjes of the video being played. This allows easier setup on an Emotion object to keep the aspect ratio, either by adding black areas on it, or by cropping the exceding area of the video. NOTE: The specified border/crop is based on the original size of the video. If it is scaled (emotion object size is different from the video size), the borders will be scaled as well. Patch based on an original patch sent by Hugo Camboulive <>. SVN revision: 63414
2011-08-04emotion: add a way to retrieve pixels.Cedric BAIL
SVN revision: 62092
2011-08-03emotion/ratio - Explain how to use emotion_object_ratio_get().Rafael Antognolli
SVN revision: 62068
2011-08-03emotion: fix webcam detection.Cedric BAIL
SVN revision: 62054
2011-08-03spacing in docs.Carsten Haitzler
SVN revision: 62037
2011-08-03and move authors and contact to another page.Carsten Haitzler
SVN revision: 62034
2011-08-03fine tune front page of emotion docsCarsten Haitzler
SVN revision: 62033
2011-08-03get rid of emotion.dox and move to Emotion.h where all docs should be.Carsten Haitzler
examples.dox is a slight issue atm. SVN revision: 62032
2011-07-17emotion: add webcam detection, cleanup code and add timing detection.Cedric BAIL
SVN revision: 61452
2011-07-15emotion: fix common misspellingsLucas De Marchi
Misspellings detected by codespell. SVN revision: 61406
2011-07-04emotion - better introduction and link to emotion_test.Rafael Antognolli
SVN revision: 61008