profile/ivi/evas.git
14 years agoAbility to disable NEON code in runtime
etrunko [Thu, 15 Jul 2010 17:58:38 +0000 (17:58 +0000)]
Ability to disable NEON code in runtime

Just set the EVAS_CPU_NO_NEON environment var if you want to disable Neon.
The same is done for other specific CPU codes, such as MMX, MMX2, SSE, etc.

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

14 years agoRemove unneeded code with notnull.cocci script
lucas [Wed, 14 Jul 2010 02:05:47 +0000 (02:05 +0000)]
Remove unneeded code with notnull.cocci script

The notnull.cocci script from Coccinelle finds places where you check if a
variable is NULL, but it's known not to be NULL. The check can be safely
removed. For example, this code would be caught by notnull:

if (!var) return;
if (var && var->fld) { ... }

It's needless to check again if var is not NULL because if it's in fact NULL,
it would have returned on the previous "if". This commit removes all the
trivial places where this pattern happens. Another patch will be generated for
the more complex cases.

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

14 years agobitrot-- > work again (minus map features etc. tho)
raster [Mon, 12 Jul 2010 02:47:02 +0000 (02:47 +0000)]
bitrot-- > work again (minus map features etc. tho)

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

14 years agoa more correct version of the dso fix.
raster [Sun, 11 Jul 2010 23:56:40 +0000 (23:56 +0000)]
a more correct version of the dso fix.

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

14 years agothe min size of the box is the sum of the items min size
watchwolf [Fri, 9 Jul 2010 11:17:35 +0000 (11:17 +0000)]
the min size of the box is the sum of the items min size

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

14 years agoMove Evas (and associated headers) to their own dir (ie: the 'eet.h'
devilhorns [Fri, 9 Jul 2010 06:10:55 +0000 (06:10 +0000)]
Move Evas (and associated headers) to their own dir (ie: the 'eet.h'
move).

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

14 years agoRemove NULL pointer dereference
lucas [Thu, 8 Jul 2010 03:21:33 +0000 (03:21 +0000)]
Remove NULL pointer dereference

Bug found by the "andand" semantic patch:

// The right argument of || or && is dereferencing something known to be NULL
//
// Confidence: High
// Copyright: (C) Gilles Muller, Julia Lawall, EMN, INRIA, DIKU.  GPLv2.
// URL: http://coccinelle.lip6.fr/rules/andand.html
// Options:

@ expression@
expression E;
identifier fld;
@@

- !E &&
+ !E ||
  <+...E->fld...+>

@ expression@
expression E;
identifier fld;
@@

- E ||
+ E &&
  <+...E->fld...+>

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

14 years agoAdd more control over word-cache size. Also really fix my leak on international...
nash [Mon, 5 Jul 2010 06:40:20 +0000 (06:40 +0000)]
Add more control over word-cache size.  Also really fix my leak on international text.

The new wordcache option is an environment variable called:
EVAS_WORD_CACHE_MAX_WORDS
set this to a number between 1-500 to change the cache size.

Larger values (40+) fix regressions in a few of the expedite tests.

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

14 years agoDon't check alloca, it's like checking the stack exists.
nash [Fri, 2 Jul 2010 08:31:12 +0000 (08:31 +0000)]
Don't check alloca, it's like checking the stack exists.

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

14 years agoSome fixes for internation support and word cache
nash [Fri, 2 Jul 2010 07:05:20 +0000 (07:05 +0000)]
Some fixes for internation support and word cache

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

14 years agoPut a FIXME where someone doesn't understand alloca.
nash [Fri, 2 Jul 2010 06:53:41 +0000 (06:53 +0000)]
Put a FIXME where someone doesn't understand alloca.

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

14 years agoOnly use work and metric cacheing on 3 character or longer strings.
nash [Fri, 2 Jul 2010 06:47:22 +0000 (06:47 +0000)]
Only use work and metric cacheing on 3 character or longer strings.

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

14 years agoRenable 'free' for word cache
nash [Fri, 2 Jul 2010 02:20:11 +0000 (02:20 +0000)]
Renable 'free' for word cache

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

14 years agoNot pure, don't need to care about results.
nash [Fri, 2 Jul 2010 00:44:03 +0000 (00:44 +0000)]
Not pure, don't need to care about results.

Code with side effects is NOT pure.  Cdoe where you can ignore the return
value because you care about the side effects should not have WARN_UNUSED...
Please only add such things when you've checked

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

14 years agono! include this!
raster [Thu, 1 Jul 2010 05:06:23 +0000 (05:06 +0000)]
no! include this!

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

14 years agook - i think this can double-check if neon code can be compiled at all.
raster [Thu, 1 Jul 2010 04:52:45 +0000 (04:52 +0000)]
ok - i think this can double-check if neon code can be compiled at all.

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

14 years agoUse macro to get container of inlist
lucas [Thu, 1 Jul 2010 03:12:14 +0000 (03:12 +0000)]
Use macro to get container of inlist
Revove warning.

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

14 years agoevas: Removed the obsolete Arabic shaping as it's now done in FrBiDi (starting from...
tasn [Wed, 30 Jun 2010 16:51:49 +0000 (16:51 +0000)]
evas: Removed the obsolete Arabic shaping as it's now done in FrBiDi (starting from version 0.19.2).
If you are having any problems with Arabic shaping please make sure you have FriBiDi version 0.19.2 installed at the time of compilation. If your distro doesn't have that version yet, make them upgrade, it's an year and a half old.

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

14 years ago * Evas: deprecating gradient API.
cedric [Wed, 30 Jun 2010 09:47:55 +0000 (09:47 +0000)]
* Evas: deprecating gradient API.

WARNING: I AM SORRY, BUT IF NO ONE IS PLANNING TO BECOME
THE EFFECTIVE MAINTAINER OF THAT PIECE OF CODE, I WILL
REMOVE IT NEXT WEEK.

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

14 years agoNeon fixes for text rendering
nash [Mon, 28 Jun 2010 05:21:34 +0000 (05:21 +0000)]
Neon fixes for text rendering

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

14 years agowhitespace --
nash [Mon, 28 Jun 2010 05:21:05 +0000 (05:21 +0000)]
whitespace --

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

14 years agoSuppress warnign about dropping const (AKA: C is stupid)
nash [Mon, 28 Jun 2010 05:14:36 +0000 (05:14 +0000)]
Suppress warnign about dropping const (AKA: C is stupid)

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

14 years agoand final post snap - next releasename
raster [Sun, 27 Jun 2010 14:06:10 +0000 (14:06 +0000)]
and final post snap - next releasename

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

14 years agosnap+release
raster [Sun, 27 Jun 2010 13:45:27 +0000 (13:45 +0000)]
snap+release

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

14 years agoSnapshot evas
raster [Sun, 27 Jun 2010 13:32:41 +0000 (13:32 +0000)]
Snapshot evas

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

14 years agoFic names of caching vars.
nash [Fri, 25 Jun 2010 08:52:37 +0000 (08:52 +0000)]
Fic names of caching vars.

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

14 years agofix linking with mingw
caro [Wed, 23 Jun 2010 15:51:20 +0000 (15:51 +0000)]
fix linking with mingw

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

14 years agoAdd 3 missing symbols to escape strings
bdilly [Tue, 22 Jun 2010 14:01:50 +0000 (14:01 +0000)]
Add 3 missing symbols to escape strings

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

14 years agotry no surf/context etc. on free in egl.
raster [Tue, 22 Jun 2010 00:06:40 +0000 (00:06 +0000)]
try no surf/context etc. on free in egl.

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

14 years agouse before freeing to make sure context is right
raster [Mon, 21 Jun 2010 07:59:46 +0000 (07:59 +0000)]
use before freeing to make sure context is right

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

14 years agowarnings--
raster [Sun, 20 Jun 2010 06:32:05 +0000 (06:32 +0000)]
warnings--

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

14 years ago * configure.ac: take inept translation a little bit into account.
cedric [Fri, 18 Jun 2010 14:45:42 +0000 (14:45 +0000)]
    * configure.ac: take inept translation a little bit into account.

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

14 years agoSome more Neon updates: 180 degress.
nash [Wed, 16 Jun 2010 09:02:09 +0000 (09:02 +0000)]
Some more Neon updates: 180 degress.

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

14 years agoDon't double declare len
nash [Mon, 14 Jun 2010 08:16:47 +0000 (08:16 +0000)]
Don't double declare len

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

14 years agoRemoive extra #endif
nash [Mon, 14 Jun 2010 08:07:12 +0000 (08:07 +0000)]
Remoive extra #endif

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

14 years agoAdd experimental word and metric caching.
nash [Mon, 14 Jun 2010 05:59:23 +0000 (05:59 +0000)]
Add experimental word and metric caching.

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

14 years agoAlthough evas_debug is flagged with "debug" in the name, messages are critical.
barbieri [Fri, 11 Jun 2010 18:35:40 +0000 (18:35 +0000)]
Although evas_debug is flagged with "debug" in the name, messages are critical.

The evas_debug functions are just called from MAGIC_DEBUG errors, that
are quite critical, so messages should come out by default, and do
that loud with a CRITICAL warning.

Raster, cedric and others: now that we have Eina as a common
dependency between Evas and Ecore, maybe it is worth to unify the
debug system on top of Eina logging? It already provides "abort on
critical", runtime configurable log levels. I'd say the same about the
magic and safety checks themselves (eina_magic and eina_safety).

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

14 years agoSVN_REPO_PATH envvar during autoconf to use svnversion in there.
barbieri [Wed, 9 Jun 2010 18:22:47 +0000 (18:22 +0000)]
SVN_REPO_PATH envvar during autoconf to use svnversion in there.

Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".

This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.

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

14 years agoit seems that gcc 4.5.0 on Windows does not like my function pointers
caro [Wed, 9 Jun 2010 14:43:40 +0000 (14:43 +0000)]
it seems that gcc 4.5.0 on Windows does not like my function pointers

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

14 years agouse function pointers
caro [Tue, 8 Jun 2010 06:08:17 +0000 (06:08 +0000)]
use function pointers

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

14 years agouse (A)RGB_JOIN macro
caro [Tue, 8 Jun 2010 05:39:46 +0000 (05:39 +0000)]
use (A)RGB_JOIN macro

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

14 years agorestore after snap/release
raster [Sun, 6 Jun 2010 17:43:03 +0000 (17:43 +0000)]
restore after snap/release

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

14 years agoSnapshot evas
raster [Sun, 6 Jun 2010 17:26:38 +0000 (17:26 +0000)]
Snapshot evas

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

14 years agoas we use fopen ourself, no need to use the wrapping for win ce
caro [Sun, 6 Jun 2010 17:18:10 +0000 (17:18 +0000)]
as we use fopen ourself, no need to use the wrapping for win ce

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

14 years agopost-snap anr release.. reset svn back.. this time for real.
raster [Sun, 6 Jun 2010 17:17:52 +0000 (17:17 +0000)]
post-snap anr release.. reset svn back.. this time for real.

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

14 years agoSnapshot evas
raster [Sun, 6 Jun 2010 16:42:31 +0000 (16:42 +0000)]
Snapshot evas

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

14 years agopost release - move relname to pre-svn again.
raster [Sun, 6 Jun 2010 16:23:16 +0000 (16:23 +0000)]
post release - move relname to pre-svn again.

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

14 years agoSnapshot evas
raster [Sun, 6 Jun 2010 16:07:58 +0000 (16:07 +0000)]
Snapshot evas

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

14 years agoNo reason to include the same header twice.
devilhorns [Fri, 4 Jun 2010 16:00:28 +0000 (16:00 +0000)]
No reason to include the same header twice.

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

14 years ago * evas: make it possible to call unload_all from surface_alloc.
cedric [Fri, 4 Jun 2010 15:21:12 +0000 (15:21 +0000)]
* evas: make it possible to call unload_all from surface_alloc.

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

14 years agoclean up smart cb descriptions on del.
raster [Fri, 4 Jun 2010 04:07:12 +0000 (04:07 +0000)]
clean up smart cb descriptions on del.

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

14 years agochange svnversion shell goop to nuke sed and just use tr to delete
raster [Fri, 4 Jun 2010 01:04:24 +0000 (01:04 +0000)]
change svnversion shell goop to nuke sed and just use tr to delete
unwanted goop.

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

14 years agofix valgrind complaint - indeed corner case.
raster [Thu, 3 Jun 2010 14:02:46 +0000 (14:02 +0000)]
fix valgrind complaint - indeed corner case.

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

14 years agoLet git-svn users get the right revision number to be used as version.
sachiel [Thu, 3 Jun 2010 07:40:54 +0000 (07:40 +0000)]
Let git-svn users get the right revision number to be used as version.

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

14 years agofix crash on null yuv.
raster [Wed, 2 Jun 2010 09:15:01 +0000 (09:15 +0000)]
fix crash on null yuv.

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

14 years agoSupport for new module loaders for BMP and TGA... if they should be enabled by defaul...
rui [Tue, 1 Jun 2010 20:01:23 +0000 (20:01 +0000)]
Support for new module loaders for BMP and TGA... if they should be enabled by default, please just move them to bcond_with instead of bcond_without

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

14 years agoooh and also lkd - just to be clean.
raster [Mon, 31 May 2010 03:40:48 +0000 (03:40 +0000)]
ooh and also lkd - just to be clean.

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

14 years agonow that header was a mess - and this wasnt using the same lock! bad
raster [Mon, 31 May 2010 03:31:49 +0000 (03:31 +0000)]
now that header was a mess - and this wasnt using the same lock! bad
bad!

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

14 years agonopw svn revision works again.
raster [Mon, 31 May 2010 03:12:45 +0000 (03:12 +0000)]
nopw svn revision works again.

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

14 years agofix - if no svn tree, then it will pretend to be a release.
raster [Mon, 31 May 2010 01:59:22 +0000 (01:59 +0000)]
fix - if no svn tree, then it will pretend to be a release.

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

14 years agodistcheck!
raster [Mon, 31 May 2010 01:34:43 +0000 (01:34 +0000)]
distcheck!

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

14 years agotrga loader - snarfed 80% from imlib2. missing paletted mode (just
raster [Sun, 30 May 2010 17:48:19 +0000 (17:48 +0000)]
trga loader - snarfed 80% from imlib2. missing paletted mode (just
like the imlib2 one) but.. handles alpha correctly- unlike imlib2 and
manyother loaders.

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

14 years agoon data load alloc surface only if dimensiosn match
raster [Sun, 30 May 2010 15:34:22 +0000 (15:34 +0000)]
on data load alloc surface only if dimensiosn match

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

14 years agooops - left over png thing.
raster [Sun, 30 May 2010 14:33:36 +0000 (14:33 +0000)]
oops - left over png thing.

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

14 years agofor shits and giggles... i wrote a bmp loader. i did look at the old
raster [Sun, 30 May 2010 13:04:34 +0000 (13:04 +0000)]
for shits and giggles... i wrote a bmp loader. i did look at the old
imlib2 bmp loader, but it was imcomplete compared to the bmp
standards, so i actually ended up reading the file format definitions
on line i could find and using lots of test images... wrote a new one.
you can at least view bmp files now. note - i found 1 bmp file that
claims to have an alpha channel (amask is non-empty) and then proceeds
to provide an image with pixels - all alpha 0. so its transparent when
it shouldnt be. beats me but looks like a broken bmp file to me when
it compes to specs.

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

14 years agooops - broke module dirs!
raster [Sat, 29 May 2010 07:24:43 +0000 (07:24 +0000)]
oops - broke module dirs!

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

14 years agomove evas version inside extern c.
raster [Sat, 29 May 2010 06:37:19 +0000 (06:37 +0000)]
move evas version inside extern c.

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

14 years agoremove semi-colon
raster [Sat, 29 May 2010 06:27:29 +0000 (06:27 +0000)]
remove semi-colon

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

14 years agoevas version too.
raster [Sat, 29 May 2010 05:42:21 +0000 (05:42 +0000)]
evas version too.

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

14 years agosmall fix in evas html escape table
bdilly [Thu, 27 May 2010 21:03:53 +0000 (21:03 +0000)]
small fix in evas html escape table

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

14 years agoFix buggy arm ldr instruction.
nash [Mon, 24 May 2010 02:16:14 +0000 (02:16 +0000)]
Fix buggy arm ldr instruction.

The size suffixes are apparetly allowed only on neon instructions.
Thanks to Ben Zores for the bug report + testing.

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

14 years agosegv there in frame queue code. fix.
raster [Fri, 21 May 2010 16:50:25 +0000 (16:50 +0000)]
segv there in frame queue code. fix.

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

14 years agomake it easier to debug if it was enabled, and how :-)
barbieri [Fri, 21 May 2010 14:14:54 +0000 (14:14 +0000)]
make it easier to debug if it was enabled, and how :-)

minor style fixes.

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

14 years agoaaah yes - the flush will ... possibly delete the image - in fract almost
raster [Fri, 21 May 2010 07:44:07 +0000 (07:44 +0000)]
aaah yes - the flush will ... possibly delete the image - in fract almost
definitely as it got to 0 fref. unlocking the image is bad as it was just
deleted. do the delete (cache fluch) after unlock.

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

14 years agounloading of loader module -> bad for sync preload it seems.
raster [Fri, 21 May 2010 07:31:03 +0000 (07:31 +0000)]
unloading of loader module -> bad for sync preload it seems.

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

14 years agobig patch from Samsung SAIT (Advanced research group) for async multi-frame
raster [Fri, 21 May 2010 07:10:45 +0000 (07:10 +0000)]
big patch from Samsung SAIT (Advanced research group) for async multi-frame
rendering. to turn on:

1.
configure with --enable-async-render
2.
export EVAS_RENDER_MODE=non-blocking

presto. necessitates some api swizzling (thus the expedite. ecore etc. changes)

the kind of results you get on a desktop:

http://www.rasterman.com/files/evas-async-vs-none.html

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

14 years agobe paranoid about gl context - reset it to "0" every frame.
raster [Thu, 20 May 2010 15:24:28 +0000 (15:24 +0000)]
be paranoid about gl context - reset it to "0" every frame.

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

14 years ago2 more symbosl not exported - there, but hidden if visibility hidde.
raster [Wed, 19 May 2010 13:00:08 +0000 (13:00 +0000)]
2 more symbosl not exported - there, but hidden if visibility hidde.

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

14 years agoBUILD_NEON, not BUILD_NEONx
nash [Wed, 19 May 2010 09:03:46 +0000 (09:03 +0000)]
BUILD_NEON, not BUILD_NEONx

/me kicks me for commiting debugging code.

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

14 years agoNeonized rotated 90 display for ARMs.
nash [Wed, 19 May 2010 08:52:29 +0000 (08:52 +0000)]
Neonized rotated 90 display for ARMs.

Share and enjoy.
See my previous neon related commit for more details.

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

14 years agofix symbols! oops.
raster [Tue, 18 May 2010 14:45:50 +0000 (14:45 +0000)]
fix symbols! oops.

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

14 years agohandle gl init fialure correctly and dont mess up font init.
raster [Tue, 18 May 2010 04:22:33 +0000 (04:22 +0000)]
handle gl init fialure correctly and dont mess up font init.

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

14 years agoif shader compile fails - peroclate error back up to engine info_set so we
raster [Tue, 18 May 2010 03:49:59 +0000 (03:49 +0000)]
if shader compile fails - peroclate error back up to engine info_set so we
know gl engine is useless.

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

14 years agoevas: Add return value
englebass [Thu, 13 May 2010 20:24:06 +0000 (20:24 +0000)]
evas: Add return value

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

14 years agoevas: remove unused variables
englebass [Thu, 13 May 2010 20:23:49 +0000 (20:23 +0000)]
evas: remove unused variables

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

14 years agohmmmm gl-es doesnt like that texture2d thing. disable again.
raster [Wed, 12 May 2010 03:27:34 +0000 (03:27 +0000)]
hmmmm gl-es doesnt like that texture2d thing. disable again.

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

14 years agoNeon improvements for ARM Cortex.
nash [Mon, 10 May 2010 09:24:11 +0000 (09:24 +0000)]
Neon improvements for ARM Cortex.

Samsung Electronics just allowed me to release the first set of ARM neon
patches under the Evas licence.  They are silently helping improve EFL and
this another product of their help.

These patches have been tested on a Cortex A8 and show consistent improvement
across the board.  For expedite some tests up to 100% improvements, and
practical real world examples show that rendering limited applications show
similar improvements.  For instance in one application from 17fps->30fps or
for another 40->63fps.

The patches are pure neon code (intrinsics tend to generate worse code).  To
build under GCC you will need a recent GCC and the following C flags:
-mfloat-abi=softfp -mfpu=neon
I also recommend -O2 and -ffast-math.

If you have any problems please let me know.

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

14 years agogl engine now does rotates (0, 90, 180, 270), like software engines
raster [Sun, 9 May 2010 05:15:20 +0000 (05:15 +0000)]
gl engine now does rotates (0, 90, 180, 270), like software engines

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

14 years agooops - call params in right order.
raster [Wed, 5 May 2010 16:17:23 +0000 (16:17 +0000)]
oops - call params in right order.

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

14 years ago * evas: bring back object cache.
cedric [Wed, 5 May 2010 11:36:21 +0000 (11:36 +0000)]
* evas: bring back object cache.

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

14 years agooooh you'd love to know why this is here.. won't you? :)
raster [Tue, 4 May 2010 15:58:10 +0000 (15:58 +0000)]
oooh you'd love to know why this is here.. won't you? :)

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

14 years ago * link pthread and spinlock code instead of just compiling
caro [Sun, 2 May 2010 05:19:47 +0000 (05:19 +0000)]
 * link pthread and spinlock code instead of just compiling
 * POSIX pthread spinlock may be unimplemented, so don't
   exit with an error if they are not available

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

14 years agoSome libc have a pthread that declares spinlock functions,
caro [Sat, 1 May 2010 20:38:28 +0000 (20:38 +0000)]
Some libc have a pthread that declares spinlock functions,
but does not define them. So the check now links the test code.

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

14 years agohmm - i don't know how this happened, but - metrics were not being done
raster [Sat, 1 May 2010 14:08:14 +0000 (14:08 +0000)]
hmm - i don't know how this happened, but - metrics were not being done
right. fixed now. i wonder why. this used to be right at some point.

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

14 years agofix map rendering of text objects.
raster [Sat, 1 May 2010 13:27:05 +0000 (13:27 +0000)]
fix map rendering of text objects.

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

14 years agofix map bug - overzealous optimising. missed case in opt.
raster [Fri, 30 Apr 2010 11:24:22 +0000 (11:24 +0000)]
fix map bug - overzealous optimising. missed case in opt.

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

14 years agofix map render bug.
raster [Fri, 30 Apr 2010 08:24:55 +0000 (08:24 +0000)]
fix map render bug.

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

14 years ago * evas: specify Evas canvas for Evas_Object.
cedric [Thu, 29 Apr 2010 17:35:47 +0000 (17:35 +0000)]
* evas: specify Evas canvas for Evas_Object.

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

14 years agoload ~/.Xdefaults less often, make it shared and free its resources.
barbieri [Thu, 29 Apr 2010 15:32:47 +0000 (15:32 +0000)]
load ~/.Xdefaults less often, make it shared and free its resources.

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

14 years agoLoad Xft.dpi from ~/.Xdefaults as well.
barbieri [Wed, 28 Apr 2010 20:26:04 +0000 (20:26 +0000)]
Load Xft.dpi from ~/.Xdefaults as well.

Do this for consistency with other applications, some people just set
.Xdefaults but do not have xrdb to load it to screen. This works with
most of the systems, like Gtk and Qt, but not in Evas, so we get
different font sizes as they calculate based on DPI.

HOWEVER, and this may be a big thing, so RASTERMAN take a look, this
might impose a performance hit on window creation... remember that
every E17 popup/tooltip will hit this process of reading the file (if
exists) and then query X server (round trip).
    I'd rather make this a global resource, loaded just once for all
created windows, we can store the mtime to know when it changed and
invalidate the pointer... but as Raster did not keep the
XrmGetDatabase() result as global, I'm not doing it here either.

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