platform/upstream/efl.git
10 years agoecore_avahi: add an avahi browse example (that doesn't work yet).
Cedric Bail [Thu, 27 Feb 2014 23:08:17 +0000 (20:08 -0300)]
ecore_avahi: add an avahi browse example (that doesn't work yet).

10 years agoecore_avahi: fix timeout to be relative from now.
Cedric Bail [Thu, 27 Feb 2014 23:07:22 +0000 (20:07 -0300)]
ecore_avahi: fix timeout to be relative from now.

10 years agoecore_evas: Added support for window auxiliary hint
Gwanglim Lee [Thu, 27 Feb 2014 22:20:01 +0000 (07:20 +0900)]
ecore_evas: Added support for window auxiliary hint

Summary:
The window auxiliary hint is the value which is used to decide
which actions should be made available to the user by the WM. If you
want to set specific hint to your window, then you should check whether
it exists in the supported auxiliary hints that are registered in the
root window by the window manager.

Once you've added an auxiliary hint, you can get a new ID which is used
to change value and delete hint. The window manager sends the response
message to the application on receiving auxiliary hint change event.

A list of auxiliary hint within the Ecore_Evas has this format:

  ID:HINT:VALUE,ID:HINT:VALUE,...

Reviewers: raster, cedric, seoz, Hermet

Reviewed By: raster

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

10 years ago@feature - Apply NEON intrisics improvement to rotation
Snacker (Vladimir) [Thu, 27 Feb 2014 22:04:52 +0000 (07:04 +0900)]
@feature - Apply NEON intrisics improvement to rotation

10 years agoecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync.
Cedric Bail [Thu, 27 Feb 2014 15:24:28 +0000 (12:24 -0300)]
ecore: @fix race condition when using ecore_main_loop_thread_safe_call_sync.

10 years agoRevert "evas example: fix warning in compilation of evas-box.c."
Cedric Bail [Thu, 27 Feb 2014 14:10:35 +0000 (11:10 -0300)]
Revert "evas example: fix warning in compilation of evas-box.c."

This reverts commit 442d880cf6168cb5f13ce7dd566de6bb7bd987d6.

Sorry mixed command of pull/push here.

10 years agoevas example: fix warning in compilation of evas-box.c.
chinmaya [Thu, 27 Feb 2014 14:08:20 +0000 (11:08 -0300)]
evas example: fix warning in compilation of evas-box.c.

Summary: The warning was "format not a string literal and no format arguments [-Wformat-security]".

Test Plan: gcc -o evas-box evas-box.c `pkg-config --libs --cflags evas ecore ecore-evas eina`

Reviewers: singh.amitesh, seoz, stefan_schmidt

CC: cedric, stefan_schmidt
Differential Revision: https://phab.enlightenment.org/D585

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoeo: revert 13502a1 and 7821df1
Jérémy Zurcher [Thu, 27 Feb 2014 14:02:45 +0000 (15:02 +0100)]
eo: revert 13502a1 and 7821df1

I'm running out of time, will look at it later

10 years agoedje: Add emoticon input panel layout
Jihoon Kim [Thu, 27 Feb 2014 05:08:18 +0000 (14:08 +0900)]
edje: Add emoticon input panel layout

10 years agoecore_imf: Add ECORE_IMF_INPUT_PANEL_LAYOUT_EMOTICON
Jihoon Kim [Thu, 27 Feb 2014 04:46:16 +0000 (13:46 +0900)]
ecore_imf: Add ECORE_IMF_INPUT_PANEL_LAYOUT_EMOTICON

10 years agoedje: Fix CURRENT option works.
Jaehwan Kim [Thu, 27 Feb 2014 04:36:02 +0000 (13:36 +0900)]
edje: Fix CURRENT option works.

By this code the CURRENT option didn't work.
Don't remove rp->current before the animation is excuted.
The memory leak issue is resolved by commit(d636c0f801dd56671a970076acdfdf78dd3115f6).

10 years agoreset textblock cache when text_class is changed
Sohyun Kim [Thu, 27 Feb 2014 04:31:42 +0000 (13:31 +0900)]
reset textblock cache when text_class is changed

If text_class in the textblock is changed, it is not applied because of the cache.
When text_class is changed, reset cache to update text information.

10 years agoevas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE.
WooHyun Jung [Thu, 27 Feb 2014 01:31:42 +0000 (10:31 +0900)]
evas: replace EINA_LIST_FREE to EINA_LIST_FOREACH_SAFE.

EINA_LIST_FREE does eina_list_remove_list, and clip_unset does
the same thing to the same list pointer. So, EINA_LIST_FOREACH_SAFE
is proper for this case.

10 years agoRemove bad NEWS line
Andy Williams [Wed, 26 Feb 2014 23:43:15 +0000 (23:43 +0000)]
Remove bad NEWS line

10 years agoecore_cxx: add main_loop_thread_safe_call_sync and main_loop_thread_safe_call_async...
Felipe Magno de Almeida [Wed, 26 Feb 2014 21:37:21 +0000 (18:37 -0300)]
ecore_cxx: add main_loop_thread_safe_call_sync and main_loop_thread_safe_call_async with tests

The point of this binding is to enable the support for easy lambda for ecore function
that wont be using Eo. See the tests on how to use those.

Reviewers: cedric, raster

CC: savio, cedric
Differential Revision: https://phab.enlightenment.org/D582

Signed-off-by: Cedric Bail <cedric.bail@free.fr>
10 years agoeina_cxx: oops forgotten path.
Cedric Bail [Wed, 26 Feb 2014 17:42:29 +0000 (14:42 -0300)]
eina_cxx: oops forgotten path.

10 years agoeina_cxx: move Eina_CXX to a bindings subdirectory.
Cedric Bail [Wed, 26 Feb 2014 15:16:40 +0000 (12:16 -0300)]
eina_cxx: move Eina_CXX to a bindings subdirectory.

We do expect to integrate more bindings support in EFL to make them
first class citizen and make sure they get proper attention during
the development cycle. It so make sense to give them a proper
subdirectory.

10 years agoeina_cxx: fix build with clang.
Cedric Bail [Wed, 26 Feb 2014 15:12:21 +0000 (12:12 -0300)]
eina_cxx: fix build with clang.

10 years agoeina_cxx: fix build on 32bits systems.
Cedric Bail [Wed, 26 Feb 2014 15:09:26 +0000 (12:09 -0300)]
eina_cxx: fix build on 32bits systems.

10 years agoeo: first check class desc in eo_class_new
Jérémy Zurcher [Wed, 19 Feb 2014 09:13:47 +0000 (10:13 +0100)]
eo: first check class desc in eo_class_new

10 years agoeo: add tests for eo_composite_detach
Jérémy Zurcher [Wed, 19 Feb 2014 09:12:47 +0000 (10:12 +0100)]
eo: add tests for eo_composite_detach

10 years agoeo: replace composite_objects Eina_List with an array of Eo_Object*
Jérémy Zurcher [Wed, 19 Feb 2014 09:08:56 +0000 (10:08 +0100)]
eo: replace composite_objects Eina_List with an array of Eo_Object*

as we don't support multiple composites of the same class,
and know at class elaboration how many composites we should have,
we can create the composites array and pack it at the end of the object.

10 years agoeo: block regular non-instantiable classes in class extension list
Jérémy Zurcher [Tue, 18 Feb 2014 15:02:56 +0000 (16:02 +0100)]
eo: block regular non-instantiable classes in class extension list

10 years agoeo: eo_composite_attach check composite class, disallow duplicates
Jérémy Zurcher [Tue, 18 Feb 2014 14:33:24 +0000 (15:33 +0100)]
eo: eo_composite_attach check composite class, disallow duplicates

eo_composite_attach fail if the class of the composite is not
listed in the parent class extensions, or if there is already a
composite of the same class. The later because calls are
forwarded to the first responding composite, see _eo_op_internal().

10 years agoevas: rename macro EVAS_COMMON_CLASS -> EVAS_COMMON_INTERFACE as it is one
Jérémy Zurcher [Mon, 17 Feb 2014 14:00:14 +0000 (15:00 +0100)]
evas: rename macro EVAS_COMMON_CLASS -> EVAS_COMMON_INTERFACE as it is one

10 years agoeina_log: Update domain colouring when color_disable_set is called
Andy Williams [Wed, 26 Feb 2014 03:59:41 +0000 (03:59 +0000)]
eina_log: Update domain colouring when color_disable_set is called

After color_disable is set we should update the domain_str for each domain
as this cached the setting from when the domain was registered.
This required storing the colour within the domain for later use.
Fixes T1029

10 years agoeina_cxx: make sure it can build out of the source tree.
Cedric Bail [Wed, 26 Feb 2014 14:06:05 +0000 (11:06 -0300)]
eina_cxx: make sure it can build out of the source tree.

10 years agoEvas textblock: removed unused internal function.
Tom Hacohen [Wed, 26 Feb 2014 12:25:08 +0000 (12:25 +0000)]
Evas textblock: removed unused internal function.

10 years agobugfix: Fix Wayland Shm engine destination calculation typo
Chris Michael [Wed, 26 Feb 2014 11:36:27 +0000 (11:36 +0000)]
bugfix: Fix Wayland Shm engine destination calculation typo

When rotation is 0, we need to advance the destination pointer in the
X direction by a Multiple of Bits-Per-Pixel...not an addition.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
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.