platform/upstream/efl.git
10 years agoconfigure: Bump version to 1.9.99 to indicate development cycle
Stefan Schmidt [Wed, 26 Feb 2014 08:25:44 +0000 (09:25 +0100)]
configure: Bump version to 1.9.99 to indicate development cycle

1.9 is released and the master branch is now in development mode
again. Make sure the version indicates that.

10 years agoecore_avahi: Use result of pkg-config avahi-client when building
Joel Klinghed [Tue, 25 Feb 2014 21:39:34 +0000 (18:39 -0300)]
ecore_avahi: Use result of pkg-config avahi-client when building

Summary: Fix avahi-client detection

Reviewers: cedric

Reviewed By: cedric

CC: cedric
Differential Revision: https://phab.enlightenment.org/D580

10 years agoeina_cxx: don't track generated example binary.
Cedric Bail [Tue, 25 Feb 2014 21:36:17 +0000 (18:36 -0300)]
eina_cxx: don't track generated example binary.

10 years agoeina_cxx: remove left over from when Boost was a dependency.
Cedric Bail [Tue, 25 Feb 2014 21:35:04 +0000 (18:35 -0300)]
eina_cxx: remove left over from when Boost was a dependency.

10 years agoeina: fix Windows compilation due to a typo.
Cedric Bail [Tue, 25 Feb 2014 21:34:24 +0000 (18:34 -0300)]
eina: fix Windows compilation due to a typo.

10 years agoeina: add a C++ bindings to Eina @feature.
Felipe Magno de Almeida [Tue, 25 Feb 2014 20:24:32 +0000 (17:24 -0300)]
eina: add a C++ bindings to Eina @feature.

The goal of this library is to make the life of C++ developers easier
when having to manipulate Eina datatype by providing a layer to abstract
those data type in C++. Check examples for now. Documentation will come
soon, but we are pushing that rather sooner to get feedback on those bindings.

As you will notice, this library is just composed of headers. There is no .so
and we do think it is better this way. Reducing ABI and API stability issue for
applications developers who are the primary target of this binding.

Also please note that you will need to have C++11 to use this binding.

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoeina: add eina_accessor_clone and update all Eina_Accessor to take advantage of it.
Felipe Magno de Almeida [Tue, 25 Feb 2014 20:22:28 +0000 (17:22 -0300)]
eina: add eina_accessor_clone and update all Eina_Accessor to take advantage of it.

@feature.

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoeina: add eina_inarray_resize @feature.
Felipe Magno de Almeida [Tue, 25 Feb 2014 20:19:11 +0000 (17:19 -0300)]
eina: add eina_inarray_resize @feature.

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoRelease version 1.9.0 v1.9.0
Stefan Schmidt [Mon, 24 Feb 2014 16:20:02 +0000 (17:20 +0100)]
Release version 1.9.0

10 years agoNEWS: Update news entries for upcoming 1.9 release.
Stefan Schmidt [Mon, 24 Feb 2014 15:17:15 +0000 (16:17 +0100)]
NEWS: Update news entries for upcoming 1.9 release.

10 years agofix previous commit 768df672
Sebastian Dransfeld [Mon, 24 Feb 2014 11:50:40 +0000 (12:50 +0100)]
fix previous commit 768df672

Need /share added to path as well.

10 years agoconfigure: add optional solution to alert
Sebastian Dransfeld [Mon, 24 Feb 2014 11:47:09 +0000 (12:47 +0100)]
configure: add optional solution to alert

XDG_DATA_DIRS are searched by dbus. So if prefix is added before dbus is
started, it will find the services.

10 years agoecore_evas_object_example: Added cursor unset example.
Daniel Juyung Seo [Mon, 24 Feb 2014 07:01:21 +0000 (16:01 +0900)]
ecore_evas_object_example: Added cursor unset example.

10 years agoDoc: Fix filters documentation
Jean-Philippe Andre [Mon, 24 Feb 2014 02:18:10 +0000 (11:18 +0900)]
Doc: Fix filters documentation

Since the doc mentions colors in the examples, fix it to match the
new dox theme :)

10 years agoDoc: Fix colors in the filter examples
Jean-Philippe Andre [Mon, 24 Feb 2014 02:12:17 +0000 (11:12 +0900)]
Doc: Fix colors in the filter examples

Since the bg color changed from dark grey to white, the
colors don't match so much anymore... This is just like theme
work.

10 years agoDoc: Use transparent images for Doxygen
Jean-Philippe Andre [Mon, 24 Feb 2014 01:52:40 +0000 (10:52 +0900)]
Doc: Use transparent images for Doxygen

Set the proper transparent & alpha flags on the Ecore_Evas,
add a tranparent rectangle and boom, the images are all nice and
transparent. This will fix the bg color in the page evasfiltersref.

10 years agoEmotion generic: change the log domain name to be consistent with others domains.
davemds [Sun, 23 Feb 2014 19:40:02 +0000 (20:40 +0100)]
Emotion generic: change the log domain name to be consistent with others domains.

10 years agotextgrid - with new fallback fonts we cant depend on glyph extents anymore
Carsten Haitzler (Rasterman) [Sun, 23 Feb 2014 13:25:19 +0000 (22:25 +0900)]
textgrid - with new fallback fonts we cant depend on glyph extents  anymore

now that glyphs can exceed the bounds of the original query for the
font, there is no pointusing max ascent/descent bounds. back to plain
ascent and decent then so you may get fewer gaps in some fonts. this
fixes font gaps consiering trying to wrk otherwise now is pointless.

10 years agotextgrid - out-of-bounds chars cause update artifacts - fix.
Carsten Haitzler (Rasterman) [Sun, 23 Feb 2014 13:11:02 +0000 (22:11 +0900)]
textgrid - out-of-bounds chars cause update artifacts - fix.

over-redner by 1 char cell in each direction of an update region to
clean up overflow artifacts.

10 years agoEmotion test: fix calculation of the displayed time.
davemds [Sat, 22 Feb 2014 15:25:45 +0000 (16:25 +0100)]
Emotion test: fix calculation of the displayed time.

10 years agoEmotion test: added --loop and --position args.
davemds [Sat, 22 Feb 2014 10:45:18 +0000 (11:45 +0100)]
Emotion test: added --loop and --position args.

* New --loop: restart the playback when end reached
* New --position: start the playback from the last know position
* Fixed double -R option. now -r is --reflex and -R is --copyright

Loop and last-position was implemented yet, this commit just made
them optionally, so the default behaviour of the test reflect the
default behaviour of emotion.

10 years agoEmotion generic: remove the player restart hack.
davemds [Sat, 22 Feb 2014 10:22:43 +0000 (11:22 +0100)]
Emotion generic: remove the player restart hack.

The player restart (when reached the end) is a specific VLC issue,
it need to be managed inside the player, not here.

10 years agoeina: reduce log to warning when not found.
Cedric Bail [Sat, 22 Feb 2014 07:37:15 +0000 (16:37 +0900)]
eina: reduce log to warning when not found.

10 years agoNEWS updates from my 1.9 changes
Mike Blumenkrantz [Fri, 21 Feb 2014 22:11:51 +0000 (17:11 -0500)]
NEWS updates from my 1.9 changes

10 years agorelease: Bump version to 1.9.0-beta2 v1.9.0-beta2
Stefan Schmidt [Fri, 21 Feb 2014 14:03:55 +0000 (15:03 +0100)]
release: Bump version to 1.9.0-beta2

Second and most likely last beta release before the 1.9 final. Give
it a good testing over the weekend.

10 years agodocumentation style cleanup for release
Carsten Haitzler (Rasterman) [Fri, 21 Feb 2014 13:25:03 +0000 (22:25 +0900)]
documentation style cleanup for release

this cleans up the doxygen generated docs to be acceptable for a
release - style is changed and unused images removed etc.

10 years agoautotools: add supported for deprecated option.
Cedric Bail [Fri, 21 Feb 2014 13:13:00 +0000 (22:13 +0900)]
autotools: add supported for deprecated option.

10 years agoRevert "Evas font: Change font fallback to not depend on fontconfig >= 2.11."
Tom Hacohen [Fri, 21 Feb 2014 09:47:30 +0000 (09:47 +0000)]
Revert "Evas font: Change font fallback to not depend on fontconfig >= 2.11."

It seems that before 2.10, this was not stable, and was causing issues
to some people. I guess we'll have to bring the dependency back, at
least until we can find a better solution.

This reverts commit ec41f67be466ca2dea83ce787f74bd4b4d6c71cb.

This fixes T1006.

10 years agoautotools: make specifying binary look the same as Elementary.
Cedric BAIL [Fri, 21 Feb 2014 08:54:17 +0000 (17:54 +0900)]
autotools: make specifying binary look the same as Elementary.

10 years agoEvas filters: Fix blending with fillmode "stretch"
Jean-Philippe Andre [Fri, 21 Feb 2014 08:27:19 +0000 (17:27 +0900)]
Evas filters: Fix blending with fillmode "stretch"

When using stretch, all buffers were actually drawn 4 times
on top of each other. This was not visible because in most cases
these buffers were all opaque (alpha = 255 everywhere).

10 years agoeina: add more debug information when failing to open a file.
Cedric BAIL [Fri, 21 Feb 2014 08:13:09 +0000 (17:13 +0900)]
eina: add more debug information when failing to open a file.

10 years agoevil: don't depend on the toolchain defined macro.
Cedric BAIL [Fri, 21 Feb 2014 07:48:45 +0000 (16:48 +0900)]
evil: don't depend on the toolchain defined macro.

10 years agoemotion: lower severity of a simple warning.
Cedric BAIL [Fri, 21 Feb 2014 06:08:26 +0000 (15:08 +0900)]
emotion: lower severity of a simple warning.

10 years agoEvil: Fix parallel build for Windows
Jean-Philippe Andre [Thu, 20 Feb 2014 08:49:43 +0000 (17:49 +0900)]
Evil: Fix parallel build for Windows

Add some internal dependencies when building Evil stuff:
The two binaries test_evil and evil_suite need libdl and libevil.

This should fix "make -j8"
Tested with using mingw64 cross compilation

10 years agoecore_evas_fb: allow to force tslib even if mouse was handled.
Gustavo Sverzut Barbieri [Thu, 20 Feb 2014 23:10:12 +0000 (20:10 -0300)]
ecore_evas_fb: allow to force tslib even if mouse was handled.

sometimes a device may have a mouse connected but the primary use is
via touchscreen, then we force ecore_fb_ts_init() with
ECORE_EVAS_FB_TS_ALWAYS=1

10 years agoEmotion Generic: receiving the size on opening is correct.
davemds [Thu, 20 Feb 2014 21:57:32 +0000 (22:57 +0100)]
Emotion Generic: receiving the size on opening is correct.

Also: more comments to simplify command debugging.

10 years agoAUTHORS: Fill in missing authors from git log
Stefan Schmidt [Thu, 20 Feb 2014 16:10:40 +0000 (17:10 +0100)]
AUTHORS: Fill in missing authors from git log

Listed all new entries under merged EFL. Hopefully I catched all and did
not introduce any duplicates. If you see a problem please go ahead and
fix it directly.

10 years agoimage: remove EINA_ARG_NONNULL check for parameter
Yakov Goldberg [Thu, 20 Feb 2014 14:19:45 +0000 (16:19 +0200)]
image: remove EINA_ARG_NONNULL check for parameter

   in evas_object_image_file_get(const Evas_Object *obj,
                              const char **file,
                              const char **key)
   remove check for second parameter "file", because it
   contradicts comment's statement, that NULL can be passed,
   if parameter not needed.
   All needed NULL checks of parameter are present inside func.

10 years agoautotools: detect cross compilation.
Cedric BAIL [Thu, 20 Feb 2014 11:06:47 +0000 (20:06 +0900)]
autotools: detect cross compilation.

10 years agodoc: fix build on windows.
Cedric BAIL [Thu, 20 Feb 2014 10:36:03 +0000 (19:36 +0900)]
doc: fix build on windows.

10 years agoupdate po line #'s
Carsten Haitzler (Rasterman) [Thu, 20 Feb 2014 05:37:52 +0000 (14:37 +0900)]
update po line #'s

10 years agoEvas filters: Add a note to the transform doc
Jean-Philippe Andre [Wed, 19 Feb 2014 10:48:44 +0000 (19:48 +0900)]
Evas filters: Add a note to the transform doc

This is a special operation, with a simplistic implementation.

10 years agoEvas filters: Fix documentation for color with rgba buffers
Jean-Philippe Andre [Wed, 19 Feb 2014 10:37:19 +0000 (19:37 +0900)]
Evas filters: Fix documentation for color with rgba buffers

The documentation said color was used as a multiplier, but in
reality the image drawing functions don't use the context's
color when drawing. So the color is only defined for Alpha -> RGBA
operations.

10 years agoEvas filters: Improve test coverage of the filters
Jean-Philippe Andre [Wed, 19 Feb 2014 09:33:22 +0000 (18:33 +0900)]
Evas filters: Improve test coverage of the filters

LCOV reports > 80% of coverage in evas/filters.

10 years agoEvas filters: Add render test cases with pixel verification
Jean-Philippe Andre [Wed, 19 Feb 2014 02:02:53 +0000 (11:02 +0900)]
Evas filters: Add render test cases with pixel verification

Force render into an Ecore_Evas, and check that the pixels
are valid:
- Not all transparent (can't really happen)
- Not all black (since there's a black rect behind the text)
- All valid premultiplied values (A >= R,G,B)

Yes, it's a bit slow. But at least it really checks something :)

10 years agoEvas filters: Add more test cases
Jean-Philippe Andre [Tue, 18 Feb 2014 07:06:11 +0000 (16:06 +0900)]
Evas filters: Add more test cases

Set filter on a text object and check the object's geometry.
Get the padding and the geometry so we're sure they match.

Also, pad_get would return 0 if the filter did not compile,
so this checks that these filters are valid.

10 years agoEvas filters: Add test cases for the script parser
Jean-Philippe Andre [Tue, 18 Feb 2014 03:35:24 +0000 (12:35 +0900)]
Evas filters: Add test cases for the script parser

Basic syntax checks and instructions coverage.

10 years agoEvas filters: Grow filter should gracefully blend
Jean-Philippe Andre [Wed, 19 Feb 2014 10:38:58 +0000 (19:38 +0900)]
Evas filters: Grow filter should gracefully blend

If grow() was used on top of another effect, it was simply
erasing all pixels. We need to use a temporary buffer and
blend it to the output.

10 years agoEvas filters: Fix padding in blur with offset
Jean-Philippe Andre [Wed, 19 Feb 2014 11:03:20 +0000 (20:03 +0900)]
Evas filters: Fix padding in blur with offset

Test case was: blur(ox=40, rx=40);
This would crop the blurred text instead of having proper padding.

10 years agoEvas filters: Fix curve filter with RGBA
Jean-Philippe Andre [Wed, 19 Feb 2014 06:57:49 +0000 (15:57 +0900)]
Evas filters: Fix curve filter with RGBA

The curve filter did not respect premultiplied values in
RGBA images. Unfortunately, the fastest solution is to unpremul
and re-premul everytime...

10 years agoEvas filters: Fix options parsing
Jean-Philippe Andre [Tue, 18 Feb 2014 03:09:43 +0000 (12:09 +0900)]
Evas filters: Fix options parsing

Test case "blend() blend();" did not fail when it should have.
Also, return an error if the program was empty (all whitespaces).

10 years agoEvas filters: Fix padding in blur filter
Jean-Philippe Andre [Tue, 18 Feb 2014 08:01:54 +0000 (17:01 +0900)]
Evas filters: Fix padding in blur filter

The wrong value was used for the command's padding.
Also, remove mention of "motion" blur which is not
implemented.

10 years agoEvas filters: Mark parser functions as EAPI for tests
Jean-Philippe Andre [Tue, 18 Feb 2014 03:02:45 +0000 (12:02 +0900)]
Evas filters: Mark parser functions as EAPI for tests

The filter unit test case will directly call the parser functions.

10 years agoedje: Edje_Edit - make sure we don't use an not initialized value.
Cedric BAIL [Thu, 20 Feb 2014 03:21:55 +0000 (12:21 +0900)]
edje: Edje_Edit - make sure we don't use an not initialized value.

Should close CID 1181885 and CID 1181888.

10 years agoEvas textblock: Fixed a few word start/end issues.
Tom Hacohen [Wed, 19 Feb 2014 14:32:39 +0000 (14:32 +0000)]
Evas textblock: Fixed a few word start/end issues.

Fixed issues with valgrind complaints at the end of the textblock, and
Fixed wrong jumping with some special cases like "a a a a "."

This fixes T995.

10 years agoEvas textblock tests: Improved textblock word start/end tests.
Tom Hacohen [Wed, 19 Feb 2014 14:31:33 +0000 (14:31 +0000)]
Evas textblock tests: Improved textblock word start/end tests.

Removed a wrong test and added some more tests.

10 years agoconfigure - add warning for non /usr prefixes!
Carsten Haitzler (Rasterman) [Wed, 19 Feb 2014 13:45:30 +0000 (22:45 +0900)]
configure - add warning for non /usr prefixes!

10 years agoethumb - fix clients going right to disk and getting half written thumbs
Carsten Haitzler (Rasterman) [Wed, 19 Feb 2014 07:04:52 +0000 (16:04 +0900)]
ethumb - fix clients going right to disk and getting half written thumbs

client still do stats (not async) but at least they dont get
half-baked thumbs now

10 years agoedje: fix custom allocator with luajit
Daniel Kolesa [Wed, 19 Feb 2014 13:05:10 +0000 (13:05 +0000)]
edje: fix custom allocator with luajit

10 years agoEvas text utils: Fixed walking compound clusters.
Tom Hacohen [Wed, 19 Feb 2014 12:01:08 +0000 (12:01 +0000)]
Evas text utils: Fixed walking compound clusters.

In some scripts, like Devanagari, clusters can be split across more
than just one glyph. This is now fixed.

Thanks to YoungBok Shin for reporting.

10 years agoEvas textblock tests: Add a wrapping test for complex cluster wrapping.
Tom Hacohen [Wed, 19 Feb 2014 12:03:56 +0000 (12:03 +0000)]
Evas textblock tests: Add a wrapping test for complex cluster wrapping.

This test uses some Devanagari text that should have more complex
clusters than what latin text can provide. This is a more complex
wrapping case that should be tested and haven't been tested until now.

10 years agoevas - Added eina_stringshare_ref call for fallbacks, lang in font description.
Youngbok Shin [Wed, 19 Feb 2014 10:44:34 +0000 (10:44 +0000)]
evas - Added eina_stringshare_ref call for fallbacks, lang in font description.

Summary:
When the fdesc(Font Description) is duplicated,
ref of all of stringshare pointers should be increased.
But, in the evas_font_desc_dup API, we only increased ref for name string.
It can cause some of memory issues.

Reviewers: tasn, woohyun, seoz, Hermet

CC: cedric
Differential Revision: https://phab.enlightenment.org/D570

10 years agoDox: Try to fix build for windows
Jean-Philippe Andre [Wed, 19 Feb 2014 04:32:26 +0000 (13:32 +0900)]
Dox: Try to fix build for windows

Evil support was not included in the docs preview generator build.
Tested locally with Makefile & deps from the wiki (win64).

10 years agoEdje_Edit: Add NULL-check
perepelits.m [Wed, 19 Feb 2014 03:18:42 +0000 (12:18 +0900)]
Edje_Edit: Add NULL-check

Summary:
Add NULL-check in:
         edje_edit_state_add
         _edje_edit_real_part_add
         _edje_part_recalc (edje_calc.c)

Reviewers: cedric, seoz, raster

Reviewed By: raster

CC: reutskiy.v.v, cedric
Differential Revision: https://phab.enlightenment.org/D567

10 years agoEvas filters: Use strtok instead of strtok_r for mingw
Jean-Philippe Andre [Wed, 19 Feb 2014 02:05:18 +0000 (11:05 +0900)]
Evas filters: Use strtok instead of strtok_r for mingw

The Windows build (mingw) does not know about strtok_r.
So, let's use the non-safe variant strtok instead.
Currently, this function is called from the main thread only,
so this should be fine :)

In the future it would be nice to not use strtok anymore,
but strtok_r everywhere, and add it to evil. Considering the
release coming soon, I'm not going to change something like that
now.

10 years agoRevert "autotools: try improving thread detection."
Cedric BAIL [Wed, 19 Feb 2014 02:02:33 +0000 (11:02 +0900)]
Revert "autotools: try improving thread detection."

This reverts commit 14c6378fc41906db14464e17aadc7d94a825fafd.

So either we get to fix T880 or T986. I do think the problem is more tricky than
that, so I am for the moment going to get T880 broken rather than T986 as I think
the later will show up in more case for our user base. Will try to find a proper
solution for everyone before the next release.

10 years agorelease: Bump version to 1.9.0-beta1 v1.9.0-beta1
Stefan Schmidt [Tue, 18 Feb 2014 14:31:09 +0000 (15:31 +0100)]
release: Bump version to 1.9.0-beta1

Prepare tarballs for a first beta release.

10 years agoecore-evas - sdl module - limit to 1 window at a time
Carsten Haitzler (Rasterman) [Tue, 18 Feb 2014 08:52:16 +0000 (17:52 +0900)]
ecore-evas - sdl module - limit to 1 window at a time

this should fix T693 and only allow 1 sdl window at any one time iwht
the sdl ecore-evas engine/module. it's simply invalid to use more than
one window with it.

10 years agoautotools: try improving thread detection.
Cedric BAIL [Tue, 18 Feb 2014 03:24:19 +0000 (12:24 +0900)]
autotools: try improving thread detection.

As already stated before reliably detecting CC, LIBS and CFLAGS parameters for
use with threads is still a pain in 2014. With this patch I am trying to solve
T880 and use ax_pthread.m4. Note that I do not trust this macro more than the
previous one, so if there is any build issue on any system regarding thread, I
may just rollback to the previous code. Still I hope it is an improvement and
that our build system detect thread more reliably.

10 years agoEvas filters: Fix documentation for displace
Jean-Philippe Andre [Mon, 17 Feb 2014 11:23:07 +0000 (20:23 +0900)]
Evas filters: Fix documentation for displace

fillmode "none" is not supported, as it does not make much sense
(how do we displace pixels without an underlying displacement map?)

10 years agoEvas filters: Fix padding with "blend"
Jean-Philippe Andre [Mon, 17 Feb 2014 11:19:02 +0000 (20:19 +0900)]
Evas filters: Fix padding with "blend"

Test case was:
buffer : a (alpha);
blur (20, dst = a);
blend (src = a, ox = 30);

In that case, padding was 20, 30, 20, 20.
So the blurred buffer was clipped on screen.

10 years agoEvas filters: Implement "fillmode" for displace
Jean-Philippe Andre [Mon, 17 Feb 2014 10:54:47 +0000 (19:54 +0900)]
Evas filters: Implement "fillmode" for displace

The fillmode (stretch or repeat map) was present and documented
for displace, but not implemented. Easy copy & paste from the
mask filter.

10 years agoEvas filters doc: Add link to "fillmode"
Jean-Philippe Andre [Mon, 17 Feb 2014 10:49:48 +0000 (19:49 +0900)]
Evas filters doc: Add link to "fillmode"

10 years agoEvas filters: Fix crash in displace filter
Jean-Philippe Andre [Mon, 17 Feb 2014 10:37:32 +0000 (19:37 +0900)]
Evas filters: Fix crash in displace filter

Simplify and fix map traversal code

10 years agoEmotion generic: nothing to see here, just small formatting while reading the code.
davemds [Mon, 17 Feb 2014 20:25:06 +0000 (21:25 +0100)]
Emotion generic: nothing to see here, just small formatting while reading the code.

10 years agoevas/image - update dirty region in the render time.
ChunEon Park [Mon, 17 Feb 2014 14:05:36 +0000 (23:05 +0900)]
evas/image - update dirty region in the render time.

this fixes the proxy rendering that sub object of the source couldn't be dirty region set.

since the object could be invisible nor won't be pre-rendered neither.

Im supposing the mapped(proxy) object rendering sequence should be totally refactored

that should be separated with the normal rendering sequence.

Until that, this change will be alternative solution.

10 years agoadd new ignore files
Carsten Haitzler (Rasterman) [Mon, 17 Feb 2014 12:19:28 +0000 (21:19 +0900)]
add new ignore files

10 years agoEdje/entry: Add propagation handling in mouse_out for link anchors
Daniel Hirt [Mon, 17 Feb 2014 12:18:19 +0000 (21:18 +0900)]
Edje/entry: Add propagation handling in mouse_out for link anchors

Summary:
Link anchors are set to allow event propagation. In some cases, this
might lead to unwanted results in entry.
Adding a flag to event_flags allows to control this in Elementary.
One example that this fixes is having wrong mouse cursor handling when
having the mouse out of the link anchor, back to the entry parent
(in this case, additional handling in els_cursor.c is required so this
event is ignored if event_flag is set with EVAS_EVENT_FLAG_ON_HOLD.
Fixes T878.

Reviewers: tasn

CC: cedric
Maniphest Tasks: T878

Differential Revision: https://phab.enlightenment.org/D561

10 years agoFix make distcheck
Jean-Philippe Andre [Mon, 17 Feb 2014 08:59:13 +0000 (17:59 +0900)]
Fix make distcheck

Makefile_Edje contained the EXTRA_DIST files for Emotion, which
doesn't make much sense. So move that to Makefile_Emotion.am.

But if we want to add the test files only when EFL_TESTS is
enabled, then make distcheck doesn't work.
So, this is a bit weird.

10 years agoRevert "ecore timer: change name of Eo constructor, to avoid clash in Eolian"
Yakov Goldberg [Mon, 17 Feb 2014 10:04:56 +0000 (12:04 +0200)]
Revert "ecore timer: change name of Eo constructor, to avoid clash in Eolian"

This reverts commit f7808f1f22f1d149d61e2f5b086006e943a68b61.

10 years agoRevert "ecore animator: change name of Eo constructor, to avoid clash in Eolian"
Yakov Goldberg [Mon, 17 Feb 2014 10:04:40 +0000 (12:04 +0200)]
Revert "ecore animator: change name of Eo constructor, to avoid clash in Eolian"

This reverts commit 16c43796a6e888b858233e393c4b65c0ee6779a0.

10 years agoGif: Fix animated gifs when used as proxy sources
Jean-Philippe Andre [Mon, 17 Feb 2014 07:56:28 +0000 (16:56 +0900)]
Gif: Fix animated gifs when used as proxy sources

This looks like a typo: if (animated > 1) when animated is a... Bool!

So, I am not entirely sure why this bug is visible in case of gif
proxies, all it seems that the load_data function may be called
multiple times when the object is visible. So gif close and reopen
happen properly, and the first frame can be decoded.

10 years agoEmotion: Add cmake definition files
Jean-Philippe Andre [Mon, 17 Feb 2014 02:28:33 +0000 (11:28 +0900)]
Emotion: Add cmake definition files

Shameless copy & paste + sed from Evas stuff

10 years agoEvas filters: Fix alpha in displacement filter
Jean-Philippe Andre [Fri, 14 Feb 2014 07:50:31 +0000 (16:50 +0900)]
Evas filters: Fix alpha in displacement filter

If the displacement map has some alpha values (not 0xFF),
then the blending should take this alpha into account. This
part is fine.

BUT, since Evas relies on premultiplied colors... we have a
problem: R (dx) and G (dy) have already been scaled down.

Actually we would need to load the map in non premultiplied RGBA,
otherwise we'll lose precision on dx,dy as soon as A != 0xFF.
Well... I guess this will be a limitation of this filter, for now
at least. Most displacement maps shouldn't even have any alpha
anyways.

10 years agoEvas filters: Fix RGBA displacement filter
Jean-Philippe Andre [Fri, 14 Feb 2014 07:28:35 +0000 (16:28 +0900)]
Evas filters: Fix RGBA displacement filter

Well... it was just broken: typo, lack of normalization on alpha,
invalid formula for blending. Duh!

10 years agoEmotion test: more cleanups
davemds [Sun, 16 Feb 2014 19:33:11 +0000 (20:33 +0100)]
Emotion test: more cleanups

* really free Frame_Data on EVAS_CALLBACK_FREE (data was NULL)
* place video windows with an incremental offset

10 years agoEmotion test: no need for an animator to update the time string.
davemds [Sun, 16 Feb 2014 18:53:17 +0000 (19:53 +0100)]
Emotion test: no need for an animator to update the time string.

It is yet handled in the frame decode callback, tested with vlc, gstreamer1, video and only audio.

10 years agoEmotion test: some small cleanups
davemds [Sun, 16 Feb 2014 18:37:55 +0000 (19:37 +0100)]
Emotion test: some small cleanups

* simpler and stronger way to search the theme file
* removed unused verbose option
* removed unused start_time var

10 years agoEmotion test: no need to search for a folder that no more exists
davemds [Sun, 16 Feb 2014 18:04:13 +0000 (19:04 +0100)]
Emotion test: no need to search for a folder that no more exists

10 years agoEmotion test: add the volume slider also to the Reflex group.
davemds [Sun, 16 Feb 2014 15:00:20 +0000 (16:00 +0100)]
Emotion test: add the volume slider also to the Reflex group.

NOTE: do we really need to maintain 2 different groups for the reflex effect?
The 2 groups differ only for the added reflection part.
Isn't enough to show/hide the reflection part when requested?

10 years agoEmotion test: Removed volume key bind. EINA_UNUSED--
davemds [Sun, 16 Feb 2014 14:53:09 +0000 (15:53 +0100)]
Emotion test: Removed volume key bind. EINA_UNUSED--

Volume is now managed per-window, no more need for a global volume key.

10 years agoEmotion test: rename speed slider to alpha as it should be.
davemds [Sun, 16 Feb 2014 14:43:42 +0000 (15:43 +0100)]
Emotion test: rename speed slider to alpha as it should be.

That slider was probaly used for speed years ago, it is used for alpha now, so call it with the right name.

10 years agoEmotion test: New volume slider. More readable alpha text.
davemds [Sun, 16 Feb 2014 14:32:59 +0000 (15:32 +0100)]
Emotion test: New volume slider. More readable alpha text.

10 years agoedje: fix Eo ids, to make Eolian keep silence
Yakov Goldberg [Sun, 16 Feb 2014 13:42:57 +0000 (15:42 +0200)]
edje: fix Eo ids, to make Eolian keep silence

10 years agoedje: fix doxygen, to make Eolian keep silence
Yakov Goldberg [Sun, 16 Feb 2014 13:40:11 +0000 (15:40 +0200)]
edje: fix doxygen, to make Eolian keep silence

10 years agoEmotion generic interface: FILE_SET_DONE do not have any param.
davemds [Sun, 16 Feb 2014 13:13:18 +0000 (14:13 +0100)]
Emotion generic interface: FILE_SET_DONE do not have any param.

10 years agoecore timer: change name of Eo constructor, to avoid clash in Eolian
Yakov Goldberg [Sun, 16 Feb 2014 09:50:13 +0000 (11:50 +0200)]
ecore timer: change name of Eo constructor, to avoid clash in Eolian

10 years agoecore animator: change name of Eo constructor, to avoid clash in Eolian
Yakov Goldberg [Sun, 16 Feb 2014 09:39:10 +0000 (11:39 +0200)]
ecore animator: change name of Eo constructor, to avoid clash in Eolian

10 years agoEmotion test: some small usability improvements.
davemds [Fri, 14 Feb 2014 20:49:08 +0000 (21:49 +0100)]
Emotion test: some small usability improvements.

* use different icons for play/pause/stop
* alpha slider moved to the right
* centered the progress text

10 years agoEmotion test theme: formatting
davemds [Fri, 14 Feb 2014 19:51:25 +0000 (20:51 +0100)]
Emotion test theme: formatting