Commit Graph

24596 Commits

Author SHA1 Message Date
Stefan Schmidt ad1d45ef10 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.
2014-02-21 15:03:55 +01:00
Carsten Haitzler f6ee3fc8b5 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.
2014-02-21 22:26:26 +09:00
Cedric Bail 868202349a autotools: add supported for deprecated option. 2014-02-21 22:13:00 +09:00
Tom Hacohen dae9eacb14 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 ec41f67be4.

This fixes T1006.
2014-02-21 09:47:30 +00:00
Cedric BAIL 12a0cc8342 autotools: make specifying binary look the same as Elementary. 2014-02-21 17:55:47 +09:00
Jean-Philippe Andre a2c3e73a87 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).
2014-02-21 17:30:49 +09:00
Cedric BAIL 58f424a199 eina: add more debug information when failing to open a file. 2014-02-21 17:13:09 +09:00
Cedric BAIL 5507a84028 evil: don't depend on the toolchain defined macro. 2014-02-21 16:48:45 +09:00
Cedric BAIL baf558a5c5 emotion: lower severity of a simple warning. 2014-02-21 15:08:26 +09:00
Jean-Philippe Andre 40b02730a3 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
2014-02-21 10:18:48 +09:00
Gustavo Sverzut Barbieri 9804bba503 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
2014-02-20 20:12:22 -03:00
Davide Andreoli 902307ccaf Emotion Generic: receiving the size on opening is correct.
Also: more comments to simplify command debugging.
2014-02-20 23:01:06 +01:00
Stefan Schmidt 451f5d9e59 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.
2014-02-20 17:10:40 +01:00
Yakov Goldberg 607510d2dc 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.
2014-02-20 16:57:46 +02:00
Cedric BAIL 5ea8c8cc4d autotools: detect cross compilation. 2014-02-20 20:23:24 +09:00
Cedric BAIL 6f85993602 doc: fix build on windows. 2014-02-20 20:23:24 +09:00
Carsten Haitzler 7e71c18380 update po line #'s 2014-02-20 14:44:42 +09:00
Jean-Philippe Andre bdb3ccd1dd Evas filters: Add a note to the transform doc
This is a special operation, with a simplistic implementation.
2014-02-20 13:27:43 +09:00
Jean-Philippe Andre c256bdc367 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.
2014-02-20 13:27:43 +09:00
Jean-Philippe Andre 2fe5656b63 Evas filters: Improve test coverage of the filters
LCOV reports > 80% of coverage in evas/filters.
2014-02-20 13:27:43 +09:00
Jean-Philippe Andre 18a7939f41 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 :)
2014-02-20 13:27:43 +09:00
Jean-Philippe Andre e797f7f4c4 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.
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre 78c7931575 Evas filters: Add test cases for the script parser
Basic syntax checks and instructions coverage.
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre 74d8403217 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.
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre 0d9ffc2624 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.
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre 538d078cf0 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...
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre 8a694314a4 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).
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre ddf267e506 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.
2014-02-20 13:27:42 +09:00
Jean-Philippe Andre 126cbbc7a9 Evas filters: Mark parser functions as EAPI for tests
The filter unit test case will directly call the parser functions.
2014-02-20 13:27:42 +09:00
Cedric BAIL 4b2708a502 edje: Edje_Edit - make sure we don't use an not initialized value.
Should close CID 1181885 and CID 1181888.
2014-02-20 12:21:55 +09:00
Tom Hacohen 0e5d3f9b98 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.
2014-02-19 14:38:06 +00:00
Tom Hacohen 00b2974a2c Evas textblock tests: Improved textblock word start/end tests.
Removed a wrong test and added some more tests.
2014-02-19 14:38:06 +00:00
Carsten Haitzler 227f1f985f configure - add warning for non /usr prefixes! 2014-02-19 22:45:30 +09:00
Carsten Haitzler 51cebf64e9 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
2014-02-19 22:13:09 +09:00
Daniel Kolesa dfb5c03ce0 edje: fix custom allocator with luajit 2014-02-19 13:05:10 +00:00
Tom Hacohen 27b1bebea5 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.
2014-02-19 12:08:56 +00:00
Tom Hacohen e0428e9cb0 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.
2014-02-19 12:08:56 +00:00
Youngbok Shin 2bff3d1c2e 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
2014-02-19 10:44:34 +00:00
Jean-Philippe Andre f1e1e70650 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).
2014-02-19 14:24:30 +09:00
perepelits.m f9fe869d23 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
2014-02-19 12:18:42 +09:00
Jean-Philippe Andre 6067c88b56 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.
2014-02-19 11:30:11 +09:00
Cedric BAIL ec18feddd7 Revert "autotools: try improving thread detection."
This reverts commit 14c6378fc4.

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.
2014-02-19 11:02:33 +09:00
Stefan Schmidt 4f2f71b3da release: Bump version to 1.9.0-beta1
Prepare tarballs for a first beta release.
2014-02-18 15:31:09 +01:00
Carsten Haitzler 199fb20fe4 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.
2014-02-18 17:52:16 +09:00
Cedric BAIL 14c6378fc4 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.
2014-02-18 12:24:19 +09:00
Jean-Philippe Andre 54129dfcaa 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?)
2014-02-18 10:22:50 +09:00
Jean-Philippe Andre ded097461d 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.
2014-02-18 10:22:50 +09:00
Jean-Philippe Andre 3819bc7abb 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.
2014-02-18 10:22:50 +09:00
Jean-Philippe Andre 7cf02ca75b Evas filters doc: Add link to "fillmode" 2014-02-18 10:22:50 +09:00
Jean-Philippe Andre d70b805e6d Evas filters: Fix crash in displace filter
Simplify and fix map traversal code
2014-02-18 10:22:49 +09:00