framework/uifw/evas.git
16 years agomore textblock work/additions for entry support.
raster [Thu, 16 Oct 2008 09:17:37 +0000 (09:17 +0000)]
more textblock work/additions for entry support.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36708 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoSwitch evas internal use of evas_stringshare to eina_stringshare.
cedric [Wed, 15 Oct 2008 14:38:34 +0000 (14:38 +0000)]
Switch evas internal use of evas_stringshare to eina_stringshare.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36674 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix for CPU_* use with evas_pipe.c.
cedric [Wed, 15 Oct 2008 14:25:27 +0000 (14:25 +0000)]
Fix for CPU_* use with evas_pipe.c.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36673 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agomore fixed to textblock plus an addition - reverse the markup.
raster [Wed, 15 Oct 2008 09:58:17 +0000 (09:58 +0000)]
more fixed to textblock plus an addition - reverse the markup.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36664 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoRemove duplicated declaration.
cedric [Tue, 14 Oct 2008 12:43:45 +0000 (12:43 +0000)]
Remove duplicated declaration.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36654 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix some minor bugs in textblock with cursor pos's, text insertion etc.
raster [Tue, 14 Oct 2008 02:45:55 +0000 (02:45 +0000)]
fix some minor bugs in textblock with cursor pos's, text insertion etc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36645 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoMake evas depend on eina. No change in the code yet, so just fix your build system...
cedric [Mon, 13 Oct 2008 15:58:56 +0000 (15:58 +0000)]
Make evas depend on eina. No change in the code yet, so just fix your build system and no bug must show up.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36621 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoformatting
raster [Sun, 5 Oct 2008 03:47:52 +0000 (03:47 +0000)]
formatting

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36440 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix missed assignment
raster [Sat, 4 Oct 2008 17:28:43 +0000 (17:28 +0000)]
fix missed assignment

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36435 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix typo and dont call chnages if no change on size hints.
raster [Sat, 4 Oct 2008 17:10:44 +0000 (17:10 +0000)]
fix typo and dont call chnages if no change on size hints.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36434 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoand init size_hints struct with defaults on alloc.
raster [Sat, 4 Oct 2008 16:57:02 +0000 (16:57 +0000)]
and init size_hints struct with defaults on alloc.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36433 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoreturn a "default" max of -1 x -1 - 0x0 max isnt that sensible! (-1 ==
raster [Sat, 4 Oct 2008 16:53:47 +0000 (16:53 +0000)]
return a "default" max of -1 x -1 - 0x0 max isnt that sensible! (-1 ==
unlimited)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36432 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agook weight default 0
raster [Sat, 4 Oct 2008 16:42:04 +0000 (16:42 +0000)]
ok weight default 0

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36431 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoand have sane default values for weight and align.
raster [Sat, 4 Oct 2008 16:12:48 +0000 (16:12 +0000)]
and have sane default values for weight and align.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36430 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoadd align, weight and padding hints for evas objects.
raster [Sat, 4 Oct 2008 16:11:23 +0000 (16:11 +0000)]
add align, weight and padding hints for evas objects.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36429 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix compilation on Win32. Patch by Nicolas Aguirre
caro [Wed, 1 Oct 2008 15:42:48 +0000 (15:42 +0000)]
Fix compilation on Win32. Patch by Nicolas Aguirre

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36381 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoand now i added "line dither". what is this. it's only for non-rotated 16bpp
raster [Wed, 1 Oct 2008 06:37:31 +0000 (06:37 +0000)]
and now i added "line dither". what is this. it's only for non-rotated 16bpp
565. what it does is it's a half-way house between no dither and "small
dither mask". what is does is change the "rounding" between odd and even
lines. the resolt is not as nice as small (or large) dither mask - but its
almost "good". it gives a horizontal-blinds like look to dithering. it's
almost as fast as no-dither in my tests on a core2 (of course making lots of
use of branch prediction or conditional instructins - whihc arm nd x86 have).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36373 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago1. yuv fix for unused algorithm :)
raster [Wed, 1 Oct 2008 02:27:18 +0000 (02:27 +0000)]
1. yuv fix for unused algorithm :)
2. jose's 16bit speedup patches. quick summary:

speedups:
large dither 409 -> 518
small dither 451 -> 524
no dither    728 -> 757

(reference) 32bit gets: 853

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36369 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoconfigure.in -> configure.ac
pfritz [Tue, 30 Sep 2008 18:07:29 +0000 (18:07 +0000)]
configure.in -> configure.ac

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36364 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agospeedups in c yuv->rgb from joseg. :) 11% - but only if u dont have mmx/sse
raster [Thu, 25 Sep 2008 05:30:23 +0000 (05:30 +0000)]
speedups in c yuv->rgb from joseg. :) 11% - but only if u dont have mmx/sse
or altivec. this is c fallbacks only.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36243 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoasparagus!
raster [Thu, 25 Sep 2008 02:59:59 +0000 (02:59 +0000)]
asparagus!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36234 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agolink libevas against 16 bits lib when needed
caro [Mon, 22 Sep 2008 20:30:31 +0000 (20:30 +0000)]
link libevas against 16 bits lib when needed

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36177 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * remove trailing spaces in configure.in
caro [Mon, 22 Sep 2008 17:55:13 +0000 (17:55 +0000)]
 * remove trailing spaces in configure.in
 * compile src/lib/engines/common16 on if one of the 16 bits
   engines is requested

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36176 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoillogict patch for evas configure xcb checks.
raster [Sat, 20 Sep 2008 02:11:33 +0000 (02:11 +0000)]
illogict patch for evas configure xcb checks.
- evas-configure-xcb_image_version_requirement.patch: check for
xcb-image at least version 0.2.1

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36111 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agotim horton's quartz engine for evas.
raster [Sat, 20 Sep 2008 02:03:22 +0000 (02:03 +0000)]
tim horton's quartz engine for evas.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36107 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoand when deleting a hash item - if hash data != NULL delete EXACTLY that
raster [Fri, 19 Sep 2008 09:36:48 +0000 (09:36 +0000)]
and when deleting a hash item - if hash data != NULL delete EXACTLY that
entry (if there are duplicates... this will avoid removing the wrong one)

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36092 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoDo not assume fontconfig will find a font.
barbieri [Tue, 16 Sep 2008 22:59:59 +0000 (22:59 +0000)]
Do not assume fontconfig will find a font.

If you have no fonts in fontconfig, it returns NULL... believe me, it
does happen.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36029 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoMore svn:ignore
barbieri [Tue, 16 Sep 2008 19:44:20 +0000 (19:44 +0000)]
More svn:ignore

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36026 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd image preloading support.
cedric [Tue, 16 Sep 2008 14:52:57 +0000 (14:52 +0000)]
Add image preloading support.

This should work without performance impact for all engine.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@36018 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * fix compilation with c++ compilers
caro [Sat, 13 Sep 2008 07:45:47 +0000 (07:45 +0000)]
 * fix compilation with c++ compilers
 * remove trailing spaces

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35973 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoWhen you know what you do, it could make sense to remove all magic check
cedric [Fri, 12 Sep 2008 13:14:08 +0000 (13:14 +0000)]
When you know what you do, it could make sense to remove all magic check
from Evas and win some speed boost. Use really carefully.

Still turn MAGIC_DEBUG on by default.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35965 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoensure scaling multiplies are promoted to fp.
raster [Wed, 10 Sep 2008 06:40:54 +0000 (06:40 +0000)]
ensure scaling multiplies are promoted to fp.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35924 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agopromote scale to fp.
raster [Wed, 10 Sep 2008 05:43:25 +0000 (05:43 +0000)]
promote scale to fp.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35920 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoFix usage of DirectFB FillSpans().
barbieri [Wed, 10 Sep 2008 00:47:33 +0000 (00:47 +0000)]
Fix usage of DirectFB FillSpans().

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35909 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoBrand new DirectFB engine.
barbieri [Tue, 9 Sep 2008 20:27:58 +0000 (20:27 +0000)]
Brand new DirectFB engine.

ProFUSION funded the rework of DirectFB engine, it works quite well,
please report problems with it and be sure to try to uncomment the
following lines to see if it helps:

evas_engine.c: (uncomment if you notice problems)
    //#define DFB_USE_EVAS_IMAGE_DRAW 1
    //#define DFB_USE_EVAS_RECT_DRAW 1
    //#define DFB_USE_EVAS_POLYGON_DRAW 1
    //#define DFB_UPDATE_INDIVIDUAL_RECTS 1

polygon.c: (comment if you notice slowdowns, but may lead to visual problems)
    #define USE_SPAN_RECTS 1

You can also turn on debug by uncommenting in evas_engine.c:
    //#define DFB_DEBUG_IMAGE 1
    //#define DFB_DEBUG_FLAGS 1
    //#define DFB_DEBUG_ACCELERATION 1

Thanks to Denis Oliver Kropp (dok) for review and patches!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35904 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoand add a scale factor per object. right now text and textblock use it.
raster [Tue, 9 Sep 2008 14:14:26 +0000 (14:14 +0000)]
and add a scale factor per object. right now text and textblock use it.
that's about it. a bit hacky - but works and frankly.. the idea is that u'd
set a scale factor once really and not change it per obj... most likely.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35896 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agosome notes on kerning bugs in ft2.
raster [Mon, 8 Sep 2008 02:08:43 +0000 (02:08 +0000)]
some notes on kerning bugs in ft2.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35876 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoDocument the default behavior.
barbieri [Sun, 7 Sep 2008 02:11:46 +0000 (02:11 +0000)]
Document the default behavior.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35862 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd Evas Clipped Smart Object.
barbieri [Sun, 7 Sep 2008 02:10:17 +0000 (02:10 +0000)]
Add Evas Clipped Smart Object.

This class covers the most common cases, usually its sub-classes will
have to implement resize and override one or two methods at most,
making the smart object usage less error prone and easier.

Default behavior is:
 - add: creates a hidden clipper with "infinite" size;
 - del: delete all children objects;
 - move: move all objects relative relatively;
 - resize: not defined;
 - show: if there are children objects, show clipper;
 - hide: hides clipper;
 - color_set: set the color of clipper;
 - clip_set: set clipper of clipper;
 - clip_unset: unset the clipper of clipper;

Documentation explains an easy way to inherit from this class and
still be able to use overridden methods.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35861 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoAdd calculate callback to Evas_Smart_Class.
barbieri [Sun, 7 Sep 2008 01:25:49 +0000 (01:25 +0000)]
Add calculate callback to Evas_Smart_Class.

Some people is using it for some time now without problems, so I'm
adding it to SVN to get some broader use. Remember to recompile ALL
libraries that depend on Evas as it will change the
EVAS_SMART_CLASS_VERSION and old classes will fail to load.

This will also change Edje so it will postpone _edje_recalc() to
render time, calculate() callback, however some methods will force
early recalculation.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35860 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoupdated patches from jose!
raster [Sun, 31 Aug 2008 02:04:31 +0000 (02:04 +0000)]
updated patches from jose!

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35756 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix 16bit engine with new grad 2
raster [Fri, 29 Aug 2008 06:28:05 +0000 (06:28 +0000)]
fix 16bit engine with new grad 2

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35727 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agojose has some new gradient work - these are his patches. nice work joseg! yes
raster [Tue, 26 Aug 2008 05:45:04 +0000 (05:45 +0000)]
jose has some new gradient work - these are his patches. nice work joseg! yes
- some enignes break as they dont have the stubbed out functions, and
xrender/gl engines dont even implement the drawing and need to (but are
stubbed out).

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35677 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoconstness
pfritz [Thu, 21 Aug 2008 22:12:56 +0000 (22:12 +0000)]
constness

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35612 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoremove unused variables
pfritz [Thu, 21 Aug 2008 22:11:18 +0000 (22:11 +0000)]
remove unused variables

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35611 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoNeed to correctly initialize this value.
cedric [Wed, 20 Aug 2008 13:49:04 +0000 (13:49 +0000)]
Need to correctly initialize this value.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35581 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years ago * evas/src/lib/cache/evas_cache_image.c: Fix a typo that should have broken svg...
cedric [Wed, 20 Aug 2008 12:14:30 +0000 (12:14 +0000)]
* evas/src/lib/cache/evas_cache_image.c: Fix a typo that should have broken svg rendering in some case.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35580 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agoSet svn:mime-type to image/png on *.png
barbieri [Mon, 18 Aug 2008 16:42:08 +0000 (16:42 +0000)]
Set svn:mime-type to image/png on *.png

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35554 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agook. i think most binary files are now fixed.
raster [Mon, 18 Aug 2008 00:02:26 +0000 (00:02 +0000)]
ok. i think most binary files are now fixed.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35525 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agofix binaries
raster [Sun, 17 Aug 2008 14:29:25 +0000 (14:29 +0000)]
fix binaries

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

16 years agomove around - flatter.
raster [Sun, 17 Aug 2008 07:44:18 +0000 (07:44 +0000)]
move around - flatter.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@35497 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33