profile/ivi/evas.git
13 years agoemail address of Thierry El Borgi
yoz [Tue, 26 Apr 2011 12:36:57 +0000 (12:36 +0000)]
email address of Thierry El Borgi

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

13 years agoEvas font-engine: fix issue with using the wrong fi.
tasn [Tue, 26 Apr 2011 10:21:01 +0000 (10:21 +0000)]
Evas font-engine: fix issue with using the wrong fi.

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

13 years agomake generic loader 2 stage (head + data)
raster [Tue, 26 Apr 2011 09:41:07 +0000 (09:41 +0000)]
make generic loader 2 stage (head + data)

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

13 years agoEvas font-engine: use the cached fi instead of searching for it.
tasn [Tue, 26 Apr 2011 09:26:33 +0000 (09:26 +0000)]
Evas font-engine: use the cached fi instead of searching for it.

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

13 years agoEvas font-engine: Added a fixme.
tasn [Tue, 26 Apr 2011 09:14:23 +0000 (09:14 +0000)]
Evas font-engine: Added a fixme.

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

13 years agoEvas font-engine: Cache fi when using Harfbuzz.
tasn [Tue, 26 Apr 2011 09:14:02 +0000 (09:14 +0000)]
Evas font-engine: Cache fi when using Harfbuzz.

Soon I will also do it for all cases, but it's not possible at the
moment because we depend on harfbuzz for querying unicode properties.

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

13 years agofixme++
raster [Tue, 26 Apr 2011 08:45:21 +0000 (08:45 +0000)]
fixme++

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

13 years agouse correct hdr in shm open check.
raster [Tue, 26 Apr 2011 05:12:25 +0000 (05:12 +0000)]
use correct hdr in shm open check.

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

13 years agoadd generic image loader. allows for GPL loaders, unstable loaders and
raster [Tue, 26 Apr 2011 01:03:06 +0000 (01:03 +0000)]
add generic image loader. allows for GPL loaders, unstable loaders and
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).

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

13 years agoevas: don't forget to init eina_threads when using threads.
cedric [Mon, 25 Apr 2011 17:11:58 +0000 (17:11 +0000)]
evas: don't forget to init eina_threads when using threads.

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

13 years agooops - didnt mean to commit that. that was just an example.
raster [Mon, 25 Apr 2011 09:42:49 +0000 (09:42 +0000)]
oops - didnt mean to commit that. that was just an example.

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

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Mon, 25 Apr 2011 08:41:36 +0000 (08:41 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>
Subject: [E-devel] [Review] [Patch] Evas - OpenGL on Evas: surface
texture creation patch

I'm attaching a patch that addresses the awkward usage case. It's something
that didn't bother me initially but the more I look at it, i think
it's a little off. :-)

The initial version of the evas_gl that I've submitted had the
following use case.

   evasgl = evas_gl_new(e);
   sfc = evas_gl_surface_create(...);
   ctx = evas_gl_context_create(...);

// Make current triggers surface texture and FBO to be created
   evas_gl_make_current(evasgl, sfc, ctx);

// Then you can do a surface_get to retrieve the proper texture and set it
   evas_gl_native_surface_get(evasgl, sfc, &ns);
   evas_object_image_native_surface_set(img_obj, &ns);

   The unnatural thing about this use case is that you have to call the make_current
one time in order for evas_gl to generate a surface texture.  This is because
you need a context to create a texture.  Unfortunately, this makes the usage
case really awkward.

So, instead, I've decided to get rid of the need for calling the make_current
by generating a surface texture when evas_gl_surface_create() is called
by using the evas' gl context.  This works because the newly created context
shares resources with evas.  in fact, this is what i'm currently doing with surface
deletion anyway so I thought this solution was reasonable.

Here's how it looks after you get rid of the make_current:

   evasgl = evas_gl_new(e);
   sfc = evas_gl_surface_create(...);
   ctx = evas_gl_context_create(...);

   evas_gl_native_surface_get(evasgl, sfc, &ns);
   evas_object_image_native_surface_set(img_obj, &ns);

The patch is pretty small and straightforward.

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

13 years agowarnings--
raster [Mon, 25 Apr 2011 02:36:14 +0000 (02:36 +0000)]
warnings--

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

13 years agolets have a Makefile.am shall we?
raster [Mon, 25 Apr 2011 02:28:42 +0000 (02:28 +0000)]
lets have a Makefile.am shall we?

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

13 years agoevas: use eina_lock.
cedric [Sun, 24 Apr 2011 20:25:34 +0000 (20:25 +0000)]
evas: use eina_lock.

NOTE: now when preload and ecore_thread are not running all lock
are disabled inside evas.

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

13 years agoevas: remove a few shadow variable.
cedric [Sun, 24 Apr 2011 20:21:07 +0000 (20:21 +0000)]
evas: remove a few shadow variable.

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

13 years agoevas: add psd file format support.
cedric [Sun, 24 Apr 2011 19:45:43 +0000 (19:45 +0000)]
evas: add psd file format support.

Patch from Thierry el Borgi with some rework of myself.

NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.

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

13 years agohmmm actually this wasn't the cause. but someone definitely broke something here...
discomfitor [Sat, 23 Apr 2011 22:37:42 +0000 (22:37 +0000)]
hmmm actually this wasn't the cause. but someone definitely broke something here...

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

13 years agookay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid...
discomfitor [Sat, 23 Apr 2011 22:32:06 +0000 (22:32 +0000)]
okay who's the joker that broke evas build? freetype 9.3.0 is definitely not a valid dependency :/

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

13 years agonash -> i fixed your mask rendering. interesting you only mask *IF*
raster [Sat, 23 Apr 2011 02:02:45 +0000 (02:02 +0000)]
nash -> i fixed your mask rendering. interesting you only mask *IF*
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.

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

13 years agocomments for nash
raster [Sat, 23 Apr 2011 01:22:17 +0000 (01:22 +0000)]
comments for nash

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

13 years agowrn-- -> my bad.
raster [Sat, 23 Apr 2011 00:35:42 +0000 (00:35 +0000)]
wrn-- -> my bad.

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

13 years agoan initial test at trying pixman instead of evas software rendering.
raster [Fri, 22 Apr 2011 11:47:14 +0000 (11:47 +0000)]
an initial test at trying pixman instead of evas software rendering.
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.

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

13 years agoEvas textblock: Added a temp fix for repch until implemented nicely.
tasn [Thu, 21 Apr 2011 15:34:44 +0000 (15:34 +0000)]
Evas textblock: Added a temp fix for repch until implemented nicely.

This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).

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

13 years agoEvas: Fix typos from 'old mans' recent commit sot hings build again
devilhorns [Thu, 21 Apr 2011 15:21:40 +0000 (15:21 +0000)]
Evas: Fix typos from 'old mans' recent commit sot hings build again
wrt xcb.

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

13 years agoEvas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0
tasn [Thu, 21 Apr 2011 14:04:53 +0000 (14:04 +0000)]
Evas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0

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

13 years agoEvas textblock: Clean repch code a bit. No logic changes.
tasn [Thu, 21 Apr 2011 14:04:46 +0000 (14:04 +0000)]
Evas textblock: Clean repch code a bit. No logic changes.

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

13 years agoadd in lots of ptr checks to sw-x11 outbut code... this may only
raster [Thu, 21 Apr 2011 12:33:35 +0000 (12:33 +0000)]
add in lots of ptr checks to sw-x11 outbut code... this may only
happen if we ran out of mem and mallocs failed... but we can avoid a
crash.

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

13 years agoFrom: "Sung W. Park" <sungwoo@gmail.com>
raster [Thu, 21 Apr 2011 09:23:42 +0000 (09:23 +0000)]
From: "Sung W. Park" <sungwoo@gmail.com>

(part of the evas-gl work)

the patch basically checks to see if the current context is evas' gl context
and if it is, it'll call evas_gl_common_context_flush().  I think this
is the proper

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

13 years agoand tho the header has that func.. evas doesn't. remove it. seems this
raster [Thu, 21 Apr 2011 09:18:45 +0000 (09:18 +0000)]
and tho the header has that func.. evas doesn't. remove it. seems this
api wasnt removed from the public h before release. it can't have
worked anyway so not a break.

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

13 years agoEvas font-engine: Fixed kerning issue and a major rendering bug.
tasn [Thu, 21 Apr 2011 08:47:16 +0000 (08:47 +0000)]
Evas font-engine: Fixed kerning issue and a major rendering bug.

Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.

Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.

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

13 years agoneon asm is not working. even after some typo fixes.
raster [Thu, 21 Apr 2011 08:18:38 +0000 (08:18 +0000)]
neon asm is not working. even after some typo fixes.

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

13 years agoEvas: filter: Remove warning from evil type things.
nash [Thu, 21 Apr 2011 06:26:49 +0000 (06:26 +0000)]
Evas: filter: Remove warning from evil type things.

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

13 years agofix some nasty image cache issues i've found like double-frees, leaks
raster [Thu, 21 Apr 2011 06:24:27 +0000 (06:24 +0000)]
fix some nasty image cache issues i've found like double-frees, leaks
etc. etc. in corner-cases. it also re-factors the image cache code to
be much more manageable and understandable with cache/list management
doing the right thing in the internal calls.

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

13 years agoEvas: Mask: Add the part where evas actually uses the mask in GL.
nash [Thu, 21 Apr 2011 06:22:06 +0000 (06:22 +0000)]
Evas: Mask: Add the part where evas actually uses the mask in GL.

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

13 years agowarning--
raster [Thu, 21 Apr 2011 06:21:51 +0000 (06:21 +0000)]
warning--

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

13 years agoEvas: Filter: Avoid a double free.
nash [Thu, 21 Apr 2011 06:01:59 +0000 (06:01 +0000)]
Evas: Filter: Avoid a double free.

I just don't know why.

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

13 years agoEvas: Filter: Don't leak keys either.
nash [Thu, 21 Apr 2011 06:01:56 +0000 (06:01 +0000)]
Evas: Filter: Don't leak keys either.

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

13 years agoEvas: Filter: More aggresively avoid allocing filter data.
nash [Thu, 21 Apr 2011 06:01:53 +0000 (06:01 +0000)]
Evas: Filter: More aggresively avoid allocing filter data.

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

13 years agoEvas: Filter: No need to allocate on a getter.
nash [Thu, 21 Apr 2011 06:01:50 +0000 (06:01 +0000)]
Evas: Filter: No need to allocate on a getter.

Just return the default.

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

13 years agoEvas: Filter: Use some ARGB joins.
nash [Thu, 21 Apr 2011 06:01:48 +0000 (06:01 +0000)]
Evas: Filter: Use some ARGB joins.

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

13 years agoEvas: Fix broken [ARGB]_VAL macros.
nash [Thu, 21 Apr 2011 02:30:34 +0000 (02:30 +0000)]
Evas: Fix broken [ARGB]_VAL macros.

And no one ever noticed til now?

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

13 years agoEvas: Filter: Remove last vestiges of alpha/red/green/blue macros
nash [Thu, 21 Apr 2011 02:30:32 +0000 (02:30 +0000)]
Evas: Filter: Remove last vestiges of alpha/red/green/blue macros

Using the [ARGB]_VAL ones intead.  Also means need to change to use pointer
instead of array syntax to the all macro.

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

13 years agoEvas: Filter: Fix filter length assignment.
nash [Wed, 20 Apr 2011 14:44:32 +0000 (14:44 +0000)]
Evas: Filter: Fix filter length assignment.

Fun fact... this works on 64 bit systems... well mine anyway, but falls over
in a horrible mess on 32bit systems.

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

13 years agoEvas: Filter: Whitespace fixes
nash [Wed, 20 Apr 2011 14:44:29 +0000 (14:44 +0000)]
Evas: Filter: Whitespace fixes

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

13 years agoEvas: Filter: Handle memory alloc error a little more gracefully
nash [Wed, 20 Apr 2011 14:44:26 +0000 (14:44 +0000)]
Evas: Filter: Handle memory alloc error a little more gracefully

In this case, just set the filter type to none.

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

13 years agoEvas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
tasn [Wed, 20 Apr 2011 14:35:37 +0000 (14:35 +0000)]
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).

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

13 years agoEvas font: Removed a deprecated macro.
tasn [Wed, 20 Apr 2011 14:21:00 +0000 (14:21 +0000)]
Evas font: Removed a deprecated macro.

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

13 years agoEvas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.
tasn [Wed, 20 Apr 2011 14:20:57 +0000 (14:20 +0000)]
Evas font: Removed LOGICAL_WALK and updated last_up_to_pos accondingly.

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

13 years agoEvas text/textblock: Change item size calculation to use advance again.
tasn [Wed, 20 Apr 2011 14:20:54 +0000 (14:20 +0000)]
Evas text/textblock: Change item size calculation to use advance again.

We don't need to do any tricks anymore because size calculation is now
very fast, as fast as the tricks we did, so it's best to just do what
we really want to do.

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

13 years agoEvas font-engine: Cache pen position instead of advance.
tasn [Wed, 20 Apr 2011 14:20:51 +0000 (14:20 +0000)]
Evas font-engine: Cache pen position instead of advance.

We only really use adavnce for calculating the pen position, so it makes more
sense to just cache the pen_position instead and calculate advance from
that if ever needed.
This means size/advance calculations are now O(1) because we don't need to
walk the strings anymore.

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

13 years agoEvas font-engine: Fix drawing of replacement char when not using Harfbuzz.
tasn [Wed, 20 Apr 2011 14:20:48 +0000 (14:20 +0000)]
Evas font-engine: Fix drawing of replacement char when not using Harfbuzz.

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

13 years agofilter: handle malloc failers without crashing.
raster [Wed, 20 Apr 2011 08:28:40 +0000 (08:28 +0000)]
filter: handle malloc failers without crashing.

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

13 years agolets properly document filter calls and return sane values
raster [Wed, 20 Apr 2011 08:24:56 +0000 (08:24 +0000)]
lets properly document filter calls and return sane values

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

13 years agoand lets have getters for setters shall we - if we go implement 1 of
raster [Wed, 20 Apr 2011 08:20:36 +0000 (08:20 +0000)]
and lets have getters for setters shall we - if we go implement 1 of
them.. lets implement alll shall we?

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

13 years agoand fix filter api to be consistent with evas.. letalone all of efl.
raster [Wed, 20 Apr 2011 08:13:33 +0000 (08:13 +0000)]
and fix filter api to be consistent with evas.. letalone all of efl.
VERB AT END!!!! (get/set/whatever)

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

13 years agomore formatting fixes after filter commit.
raster [Wed, 20 Apr 2011 08:09:30 +0000 (08:09 +0000)]
more formatting fixes after filter commit.

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

13 years agoand fix more filter messups. o->fitler will be leaked on obj deletion
raster [Wed, 20 Apr 2011 08:06:59 +0000 (08:06 +0000)]
and fix more filter messups. o->fitler will be leaked on obj deletion
as there was no cleanup.. and the method of exposing
evas_filter_key_get() was so out of step with any other code i have
ever seen.. letalong evas... fix.

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

13 years agomore bad code - why pass in void * image and data? sero point.. and it
raster [Wed, 20 Apr 2011 08:05:23 +0000 (08:05 +0000)]
more bad code - why pass in void * image and data? sero point.. and it
totally is out of step with the rest of the api for gl_common.. that
alone would tell you "dont so that". ugh. more filter fixes.

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

13 years agooh god. more warning fixes...
raster [Wed, 20 Apr 2011 08:01:04 +0000 (08:01 +0000)]
oh god. more warning fixes...

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

13 years agomore fixme fixes of filter
raster [Wed, 20 Apr 2011 07:35:18 +0000 (07:35 +0000)]
more fixme fixes of filter

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

13 years agostart fixing shader mess. at least add mask compile to scripts. need
raster [Wed, 20 Apr 2011 07:12:51 +0000 (07:12 +0000)]
start fixing shader mess. at least add mask compile to scripts. need
to do filters.

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

13 years agofix filter code to move docs to Evas.h
raster [Wed, 20 Apr 2011 07:08:48 +0000 (07:08 +0000)]
fix filter code to move docs to Evas.h

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

13 years agooh dear... way too many warnings. added a whole bunch of fixme's too
raster [Wed, 20 Apr 2011 01:22:08 +0000 (01:22 +0000)]
oh dear... way too many warnings. added a whole bunch of fixme's too
for later.

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

13 years agoEvas: export evas_filter_software_get() (used in software_generic engine)
caro [Tue, 19 Apr 2011 21:37:32 +0000 (21:37 +0000)]
Evas: export evas_filter_software_get() (used in software_generic engine)

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

13 years agoEvas font-engine: fix a segfault with empty strings.
tasn [Tue, 19 Apr 2011 20:27:34 +0000 (20:27 +0000)]
Evas font-engine: fix a segfault with empty strings.

Thanks to Nicolas Aguirre (captainigloo) for the catch.

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

13 years agoEvas: Filter: Add evas_object_image filter changes.
nash [Tue, 19 Apr 2011 06:16:21 +0000 (06:16 +0000)]
Evas: Filter: Add evas_object_image filter changes.

This is where the actual filtering takes place.  Kinda important to make it
work.

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

13 years agoEvas: Filters:
nash [Tue, 19 Apr 2011 05:47:56 +0000 (05:47 +0000)]
Evas: Filters:

More work, proudly supported by Samsung.  Filters!

So now you can apply a whole host of cheesy visual effects to objects at
runtime.  This is the first commit, there are a couple of more to come as I
tweak the filters, and fix blur with GL[1].

Please direct bugs to me nash@nash.id.au.

[1] You'd think shaders would be good at this.. but no, generic blur and GL
are like trying to get an apple product to work with Linux.

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

13 years agoEvas: Filter: Add the shaders - nice and safe change here.
nash [Tue, 19 Apr 2011 05:47:51 +0000 (05:47 +0000)]
Evas: Filter: Add the shaders - nice and safe change here.

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

13 years agoEvas: Work around for mask issues
nash [Tue, 19 Apr 2011 05:47:47 +0000 (05:47 +0000)]
Evas: Work  around for mask issues

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

13 years agoEvas: Fix nasty blank space after return and before semicolon.
devilhorns [Mon, 18 Apr 2011 16:31:12 +0000 (16:31 +0000)]
Evas: Fix nasty blank space after return and before semicolon.

NB: Nothing functional, just formatting.

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

13 years agoEvas textblock: Fixed an invalid read.
tasn [Sun, 17 Apr 2011 08:38:29 +0000 (08:38 +0000)]
Evas textblock: Fixed an invalid read.

In some cases an invalid read would occur. This was because we didn't
handle node merging appropriately.

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

13 years agofailure case more efficient
raster [Fri, 15 Apr 2011 09:32:28 +0000 (09:32 +0000)]
failure case more efficient

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

13 years agofix image double-deref/free when not meant to happen
raster [Fri, 15 Apr 2011 07:49:25 +0000 (07:49 +0000)]
fix image double-deref/free when not meant to happen

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

13 years agofix binary ppm loading. that was odd.
raster [Fri, 15 Apr 2011 07:08:14 +0000 (07:08 +0000)]
fix binary ppm loading. that was odd.

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

13 years agoEvas text/textblock: Add setting bidi_delimiter API.
tasn [Thu, 14 Apr 2011 15:34:01 +0000 (15:34 +0000)]
Evas text/textblock: Add setting bidi_delimiter API.

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

13 years agoautogen: unobrk things.
cedric [Thu, 14 Apr 2011 14:51:36 +0000 (14:51 +0000)]
autogen: unobrk things.

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

13 years agoautogen: improve detection of parameter change.
cedric [Thu, 14 Apr 2011 14:03:46 +0000 (14:03 +0000)]
autogen: improve detection of parameter change.

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

13 years agoEvas textblock: Clean up a bit.
tasn [Thu, 14 Apr 2011 12:34:29 +0000 (12:34 +0000)]
Evas textblock: Clean up a bit.

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

13 years agoEvas textblock: Move bidi props to the layout paragraphs.
tasn [Thu, 14 Apr 2011 12:13:20 +0000 (12:13 +0000)]
Evas textblock: Move bidi props to the layout paragraphs.

This will let us do cool overrides more control via higher level protocol
when we'll want to.

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

13 years agoEvas textblock: Fixed invalid reads with ellipsis in some cases.
tasn [Thu, 14 Apr 2011 11:37:09 +0000 (11:37 +0000)]
Evas textblock: Fixed invalid reads with ellipsis in some cases.

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

13 years agoEvas textblock: Fixed ellipsis.
tasn [Thu, 14 Apr 2011 11:37:06 +0000 (11:37 +0000)]
Evas textblock: Fixed ellipsis.

It's actually just a workaround until we finally fix draw to not need
the text.

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

13 years agofix map update bug. :)
raster [Thu, 14 Apr 2011 10:47:40 +0000 (10:47 +0000)]
fix map update bug. :)

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

13 years agoEvas: Updated changelog.
tasn [Thu, 14 Apr 2011 07:40:45 +0000 (07:40 +0000)]
Evas: Updated changelog.

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

13 years agoEvas bidi: Added a way to ask for bidi segmentation indexes.
tasn [Thu, 14 Apr 2011 07:40:42 +0000 (07:40 +0000)]
Evas bidi: Added a way to ask for bidi segmentation indexes.

This lets you pass the bidi engine a list of indexes in the paragraph,
that will segment it bidi-wise. I.e the bidi algorithm will be applied to
each segment individually. This implements HL4 of the bidi algorithm.

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

13 years agoEvas textblock: Reformat if not valid in some cases we forgot.
tasn [Thu, 14 Apr 2011 07:34:06 +0000 (07:34 +0000)]
Evas textblock: Reformat if not valid in some cases we forgot.

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

13 years agoEvas textblock Fixed a "may be used uninit" compiler warning.
tasn [Wed, 13 Apr 2011 22:40:25 +0000 (22:40 +0000)]
Evas textblock Fixed a "may be used uninit" compiler warning.

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

13 years agoEvas textblock: Removed unneeded casting.
tasn [Wed, 13 Apr 2011 13:29:24 +0000 (13:29 +0000)]
Evas textblock: Removed unneeded casting.

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

13 years agoEvas textblock: Fix error messages about bad cutoff positions.
tasn [Wed, 13 Apr 2011 13:28:08 +0000 (13:28 +0000)]
Evas textblock: Fix error messages about bad cutoff positions.

This was caused because we failed to check text item's text boundaries
and we tried splitting beyond them.

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

13 years agoEvas textblock: Clean up getting bidi props (unify to a function).
tasn [Wed, 13 Apr 2011 12:21:58 +0000 (12:21 +0000)]
Evas textblock: Clean up getting bidi props (unify to a function).

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

13 years agoEvas bidi: Add len parameter to evas_bidi_paragraph_props_get
tasn [Wed, 13 Apr 2011 12:21:54 +0000 (12:21 +0000)]
Evas bidi: Add len parameter to evas_bidi_paragraph_props_get

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

13 years agoEvas font-engine: Move, rename and make *_text_font_style_match static.
tasn [Wed, 13 Apr 2011 10:55:59 +0000 (10:55 +0000)]
Evas font-engine: Move, rename and make *_text_font_style_match static.

It's only really used (and will ever be used) in a very specific place,
no need to put it in a place that's visible to all the lib.

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

13 years agoEvas textblock: Make sure we only test with positive indexes.
tasn [Wed, 13 Apr 2011 10:24:54 +0000 (10:24 +0000)]
Evas textblock: Make sure we only test with positive indexes.

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

13 years agoEvas textblock: Fixed a wrong test for end of string.
tasn [Wed, 13 Apr 2011 10:22:55 +0000 (10:22 +0000)]
Evas textblock: Fixed a wrong test for end of string.

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

13 years agofix slowdown - drew empty shadow when didnt need to.
raster [Wed, 13 Apr 2011 09:29:45 +0000 (09:29 +0000)]
fix slowdown - drew empty shadow when didnt need to.

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

13 years agoEvas font-engine: Fix the fallback fribidi shaper.
tasn [Wed, 13 Apr 2011 08:37:01 +0000 (08:37 +0000)]
Evas font-engine: Fix the fallback fribidi shaper.

Just keep the shaped string in the string object if fribidi is used
without harfbuzz.

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

13 years agoEvas textblock: Don't keep a copy of the string per text item.
tasn [Wed, 13 Apr 2011 08:36:57 +0000 (08:36 +0000)]
Evas textblock: Don't keep a copy of the string per text item.

We don't need to copy it around because we have string objects now. This
lets us remove a lot of unneeded allocations and unwanted strcpys.

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

13 years agoEvas font-engine: Fixed *props_info_create to accept a const string.
tasn [Wed, 13 Apr 2011 08:36:54 +0000 (08:36 +0000)]
Evas font-engine: Fixed *props_info_create to accept a const string.

We don't want to have to alloc just for the engine. We want to be able to
pass our own const copy.

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

13 years agoEvas font-engine: Use len in font_draw instead of \0
tasn [Wed, 13 Apr 2011 08:36:51 +0000 (08:36 +0000)]
Evas font-engine: Use len in font_draw instead of \0

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

13 years agoEvas font-engine: *text_props_script_set add parameter len.
tasn [Wed, 13 Apr 2011 08:36:46 +0000 (08:36 +0000)]
Evas font-engine: *text_props_script_set add parameter len.

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