profile/ivi/evas.git
14 years agoevas: mega documentation improving commit.
barbieri [Thu, 18 Mar 2010 04:57:40 +0000 (04:57 +0000)]
evas: mega documentation improving commit.

This commit moves Evas.h contents a lot, but it should not change code
(some conts were added, some function attributes were changed).

The purpose of such is to define the order that doxygen show modules
in its documentation.

I also splitted documentation a bit more, and added a src/examples to
list useful example code. Right now it is just a pure-evas
draw-and-save using buffer engine.

NOTE: there is lots to document, and the @todo list is quite long but
      I guess lots of things there were done already. Raster, could
      you review this list?

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

14 years ago * evas: Make evas_object_move on Evas_Object_Polygon work.
cedric [Tue, 16 Mar 2010 13:23:37 +0000 (13:23 +0000)]
* evas: Make evas_object_move on Evas_Object_Polygon work.

TODO: Make evas_object_resize work also.

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

14 years agofix sync issue with override-redirect windows
raster [Tue, 16 Mar 2010 12:30:55 +0000 (12:30 +0000)]
fix sync issue with override-redirect windows

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

14 years agomore bug--
raster [Tue, 16 Mar 2010 04:09:00 +0000 (04:09 +0000)]
more bug--

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

14 years agocrash--
raster [Tue, 16 Mar 2010 01:35:05 +0000 (01:35 +0000)]
crash--

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

14 years agobug--
raster [Tue, 16 Mar 2010 00:56:11 +0000 (00:56 +0000)]
bug--

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

14 years agowow - killed 2 bugs with 1 stone!
raster [Mon, 15 Mar 2010 02:34:11 +0000 (02:34 +0000)]
wow - killed 2 bugs with 1 stone!
:)

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

14 years agosegv--
raster [Sun, 14 Mar 2010 14:41:50 +0000 (14:41 +0000)]
segv--

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

14 years agoanother bug--
raster [Sun, 14 Mar 2010 12:58:49 +0000 (12:58 +0000)]
another bug--

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

14 years agomore entry bug--
raster [Sun, 14 Mar 2010 12:24:42 +0000 (12:24 +0000)]
more entry bug--

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

14 years agoinf loop--
raster [Sun, 14 Mar 2010 08:04:49 +0000 (08:04 +0000)]
inf loop--

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

14 years agofix valgrind complaints within tb - fixes an entry bug too.
raster [Sun, 14 Mar 2010 06:38:58 +0000 (06:38 +0000)]
fix valgrind complaints within tb - fixes an entry bug too.

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

14 years agoif cur not pointing to node.
raster [Sun, 14 Mar 2010 03:52:33 +0000 (03:52 +0000)]
if cur not pointing to node.

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

14 years agoprintf--
raster [Sat, 13 Mar 2010 13:25:01 +0000 (13:25 +0000)]
printf--

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

14 years agoand fix cursor when entry is empty case. more cases to fix yet.
raster [Fri, 12 Mar 2010 11:15:19 +0000 (11:15 +0000)]
and fix cursor when entry is empty case. more cases to fix yet.

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

14 years agook segv not there.. but behavior not good. now i rememebr why the <br> was
raster [Fri, 12 Mar 2010 10:49:39 +0000 (10:49 +0000)]
ok segv not there.. but behavior not good. now i rememebr why the <br> was
there... :) time to fix this another way.

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

14 years agofix 1 entry insert issue - also printf debugging for now
raster [Thu, 11 Mar 2010 14:29:25 +0000 (14:29 +0000)]
fix 1 entry insert issue - also printf debugging for now

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

14 years agoremove Evas_Data.h
caro [Tue, 9 Mar 2010 11:30:57 +0000 (11:30 +0000)]
remove Evas_Data.h

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

14 years agoAdd macros (actually defines like hint_fill_set) for expand_set to
devilhorns [Mon, 8 Mar 2010 08:36:08 +0000 (08:36 +0000)]
Add macros (actually defines like hint_fill_set) for expand_set to
make it easier for people to know that weight_set handles expansion.

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

14 years agotypo
caro [Sun, 7 Mar 2010 12:14:01 +0000 (12:14 +0000)]
typo

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

14 years agowhen pthread is found, don't abort if spin lock is not found but not reqested
caro [Sun, 7 Mar 2010 12:06:32 +0000 (12:06 +0000)]
when pthread is found, don't abort if spin lock is not found but not reqested

Patch by Albin Tonnerre

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

14 years agoaccording to dottedmag - this breaks things... i dndt see them - but.. lets
raster [Sun, 7 Mar 2010 07:29:26 +0000 (07:29 +0000)]
according to dottedmag - this breaks things... i dndt see them - but.. lets
revert for now. i dont like breaks. :)

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

14 years agoalow linesiae to get smaller - from mikhal
raster [Sun, 7 Mar 2010 06:48:48 +0000 (06:48 +0000)]
alow linesiae to get smaller - from mikhal

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

14 years agoupdate text when secundary colors change.
barbieri [Sun, 7 Mar 2010 04:48:52 +0000 (04:48 +0000)]
update text when secundary colors change.

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

14 years agoapi for image content hint - nothing uses it yet, but... it will. and does
raster [Sun, 7 Mar 2010 04:19:17 +0000 (04:19 +0000)]
api for image content hint - nothing uses it yet, but... it will. and does
nothing right now... but that will be able to change. it opens up better
optimisation paths in future.

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

14 years agoFix Objective C compiler detection and Mac OS X header
caro [Fri, 5 Mar 2010 06:23:25 +0000 (06:23 +0000)]
Fix Objective C compiler detection and Mac OS X header
files detection. It should work with and without an
Objective C compiler. The problem is a bug in the
AC_PROG_OBJC macro.

Patch by Ralf Wildenhues

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

14 years agoREVERT!!!! you broke evas build.
raster [Thu, 4 Mar 2010 16:22:28 +0000 (16:22 +0000)]
REVERT!!!! you broke evas build.

evas_object_textblock.c: In function ‘_nodes_next_merge’:
evas_object_textblock.c:380: error: ‘Evas_Object_Textblock_Node’ has no member named ‘len’

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

14 years agoInsert more comments into _format and simplify if() logic as we go
dottedmag [Thu, 4 Mar 2010 15:51:30 +0000 (15:51 +0000)]
Insert more comments into _format and simplify if() logic as we go

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

14 years agoevas_textblock: Make maxascent/maxdescent variables local.
dottedmag [Thu, 4 Mar 2010 15:02:10 +0000 (15:02 +0000)]
evas_textblock: Make maxascent/maxdescent variables local.

They are used in single function, so don't keep them in structure.
As a side-effect rework _layout_line_advance for better readability.

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

14 years agoEvas_Textblock: store 'cursor' in the 'cursors' list to ease cursors handling
dottedmag [Thu, 4 Mar 2010 15:02:02 +0000 (15:02 +0000)]
Evas_Textblock: store 'cursor' in the 'cursors' list to ease cursors handling

Some copy-pasted code removed as a result.

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

14 years agoevas_textblock: Get rid of code duplication in _nodes_adjacent_merge
dottedmag [Thu, 4 Mar 2010 15:01:51 +0000 (15:01 +0000)]
evas_textblock: Get rid of code duplication in _nodes_adjacent_merge

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

14 years ago * evas: Now an object will only receive once the same event.
cedric [Thu, 4 Mar 2010 14:48:21 +0000 (14:48 +0000)]
* evas: Now an object will only receive once the same event.

Previously, due to propagation to parent, an event could have
been received more than once by an object. This triggered
strange behaviour in edje for example where you could receive
mouse,down,1 signal many time for one swallowed object.

This patch is a fix for that problem, I hope it doesn't break
anything (e17 and elementary_test run fine here, but report
any break related to events please).

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

14 years ago * evas: Fix update of textblock when style change.
cedric [Tue, 2 Mar 2010 14:53:27 +0000 (14:53 +0000)]
* evas: Fix update of textblock when style change.

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

14 years agoDocument evas_object_textblock_replace_char_{get,set}
dottedmag [Tue, 2 Mar 2010 14:00:45 +0000 (14:00 +0000)]
Document evas_object_textblock_replace_char_{get,set}

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

14 years agoalso dont need itt.
raster [Tue, 2 Mar 2010 03:20:17 +0000 (03:20 +0000)]
also dont need itt.

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

14 years agodont need itt here either. llvm shhh
raster [Tue, 2 Mar 2010 03:19:00 +0000 (03:19 +0000)]
dont need itt here either. llvm shhh

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

14 years agook - dont need itt at all - will make llvm quieter, but in this case it was
raster [Tue, 2 Mar 2010 03:15:33 +0000 (03:15 +0000)]
ok - dont need itt at all - will make llvm quieter, but in this case it was
wrong.

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

14 years agofix possiblre unaligned access issue - doesnt actually happen... but in
raster [Tue, 2 Mar 2010 02:48:56 +0000 (02:48 +0000)]
fix possiblre unaligned access issue - doesnt actually happen... but in
theory could.

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

14 years agoand complain if it fails. at least u will know :)
raster [Tue, 2 Mar 2010 02:31:16 +0000 (02:31 +0000)]
and complain if it fails. at least u will know :)

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

14 years agotheoretical bug (crash) if realloc fails - but if it fails, we will leak,
raster [Tue, 2 Mar 2010 02:30:03 +0000 (02:30 +0000)]
theoretical bug (crash) if realloc fails - but if it fails, we will leak,
so... it only moves to be another bug.

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

14 years agohmm llvm complaining -b ut again - i think its bogus. i just added an init of
raster [Tue, 2 Mar 2010 02:25:33 +0000 (02:25 +0000)]
hmm llvm complaining -b ut again - i think its bogus. i just added an init of
count to 0 just in case thats what was tripping it up (as it didnt accoutn
for the for loop)

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

14 years agotheoraticel bug - llvm report. wouldnt actually happen if api used right.
raster [Tue, 2 Mar 2010 02:14:39 +0000 (02:14 +0000)]
theoraticel bug - llvm report. wouldnt actually happen if api used right.

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

14 years agook use calloc - but.. i think llvm is wrong for:
raster [Tue, 2 Mar 2010 02:10:48 +0000 (02:10 +0000)]
ok use calloc - but.. i think llvm is wrong for:

http://people.profusion.mobi/~lfelipe/static_analysis/efl/efl-46715/evas/2010-03-01-1/report-wLmp95.html#EndPath

i can't see how that can be garbage.

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

14 years agosome internalling of symbols and formatting
raster [Mon, 1 Mar 2010 16:17:11 +0000 (16:17 +0000)]
some internalling of symbols and formatting

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

14 years agofix calloc with negative values - missing size set initially!
raster [Mon, 1 Mar 2010 15:51:22 +0000 (15:51 +0000)]
fix calloc with negative values - missing size set initially!

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

14 years agofix some more possible bad callocs
raster [Mon, 1 Mar 2010 15:03:13 +0000 (15:03 +0000)]
fix some more possible bad callocs

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

14 years agoleak--
raster [Mon, 1 Mar 2010 14:50:56 +0000 (14:50 +0000)]
leak--

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

14 years agofix ... negative calloc... hrrrm
raster [Mon, 1 Mar 2010 14:37:37 +0000 (14:37 +0000)]
fix ... negative calloc... hrrrm

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

14 years agofix links to include xrender link
raster [Mon, 1 Mar 2010 14:22:31 +0000 (14:22 +0000)]
fix links to include xrender link

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

14 years agook cant get this info until a context is made current. aaagh. tat means i
raster [Mon, 1 Mar 2010 13:08:07 +0000 (13:08 +0000)]
ok cant get this info until a context is made current. aaagh. tat means i
cant decide on the config attrs to pass based on vendor. :(

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

14 years agodisabel the rgb select for now until nokia fix their bugs.
raster [Mon, 1 Mar 2010 12:45:47 +0000 (12:45 +0000)]
disabel the rgb select for now until nokia fix their bugs.

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

14 years agoturn this off - definitely broken on n900! bug filing time!
raster [Mon, 1 Mar 2010 12:29:10 +0000 (12:29 +0000)]
turn this off - definitely broken on n900! bug filing time!

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

14 years agooooh oops. colormap etc. was wrong. fix fix fix. no debug... driver bugs tho...
raster [Mon, 1 Mar 2010 12:00:54 +0000 (12:00 +0000)]
oooh oops. colormap etc. was wrong. fix fix fix. no debug... driver bugs tho...

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

14 years agomake egl work again.. sgx egl broken tho :(
raster [Mon, 1 Mar 2010 06:49:46 +0000 (06:49 +0000)]
make egl work again.. sgx egl broken tho :(

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

14 years agooops - fix.
raster [Mon, 1 Mar 2010 05:19:00 +0000 (05:19 +0000)]
oops - fix.

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

14 years agobegin work on argb window support for gl - glx/gl doesnt work. i think egl/gles
raster [Mon, 1 Mar 2010 04:44:23 +0000 (04:44 +0000)]
begin work on argb window support for gl - glx/gl doesnt work. i think egl/gles
will tho.

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

14 years agoabort when pthread is requested but not found
caro [Sun, 28 Feb 2010 17:28:43 +0000 (17:28 +0000)]
abort when pthread is requested but not found
patch by Albin Tonnerre

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

14 years agoeek - map event adjus gone wrong. fix!
raster [Sat, 27 Feb 2010 15:12:54 +0000 (15:12 +0000)]
eek - map event adjus gone wrong. fix!

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

14 years agohmmmm oops. re-enable bgra support.
raster [Sat, 27 Feb 2010 10:34:19 +0000 (10:34 +0000)]
hmmmm oops. re-enable bgra support.

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

14 years agofound booboo on non-bgra extended gl-es.
raster [Sat, 27 Feb 2010 10:31:17 +0000 (10:31 +0000)]
found booboo on non-bgra extended gl-es.

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

14 years agoneon back - found the bug! expedite!
raster [Sat, 27 Feb 2010 07:50:11 +0000 (07:50 +0000)]
neon back - found the bug! expedite!

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

14 years agodisabel neon blend for now.. i smell some trouble somewhere.
raster [Sat, 27 Feb 2010 07:29:16 +0000 (07:29 +0000)]
disabel neon blend for now.. i smell some trouble somewhere.

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

14 years agosimplify and optimize parsing of percentage and float values.
barbieri [Fri, 26 Feb 2010 22:51:07 +0000 (22:51 +0000)]
simplify and optimize parsing of percentage and float values.

Use strtod() and avoid couple of walks. Of course the walks were quite
small and it will not bring noticeable improvements, but code is
smaller and easier to read, so why not?

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

14 years agominor but easy speedups for tag processing.
barbieri [Fri, 26 Feb 2010 22:32:07 +0000 (22:32 +0000)]
minor but easy speedups for tag processing.

keep tag and replacement size, compare it before doing strcmp() and
return the size so further calculations use it (eina_strbuf_append()
-> eina_strbuf_append_length())

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

14 years agouse eina_strbuf faster variants whenever possible.
barbieri [Fri, 26 Feb 2010 22:03:25 +0000 (22:03 +0000)]
use eina_strbuf faster variants whenever possible.

call me your bitch, call me your duplicated code, call me your complex code!

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

14 years ago * evas: Always redraw Textblock on style change.
cedric [Thu, 25 Feb 2010 16:31:00 +0000 (16:31 +0000)]
* evas: Always redraw Textblock on style change.

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

14 years ago * evas: Remove duplicated code.
cedric [Thu, 25 Feb 2010 15:10:05 +0000 (15:10 +0000)]
* evas: Remove duplicated code.

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

14 years agorevert
caro [Thu, 25 Feb 2010 05:59:44 +0000 (05:59 +0000)]
revert

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

14 years agochange option --enable-pthreads to --enable-threaded-rendering
caro [Thu, 25 Feb 2010 05:39:30 +0000 (05:39 +0000)]
change option --enable-pthreads to --enable-threaded-rendering

change your scripts if needed

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

14 years ago * evas: Bring back Font Kerning cache as it does improve performance
cedric [Tue, 23 Feb 2010 13:31:10 +0000 (13:31 +0000)]
* evas: Bring back Font Kerning cache as it does improve performance
by a good margin on my 4 targets (SGX-530, Tango2, NVidia G73).

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

14 years agoFrom: Marc Andre Tanner <mat@brain-dump.org>
raster [Mon, 22 Feb 2010 08:12:49 +0000 (08:12 +0000)]
From: Marc Andre Tanner <mat@brain-dump.org>
Subject: [E-devel] [PATCH] evas: compile out unused dither tables

Don't include the rather large dither tables if small dithering code
is enabled during ./configure stage.

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

14 years agofix alpha set/unset on image obj in gl engine.
raster [Sun, 21 Feb 2010 15:49:44 +0000 (15:49 +0000)]
fix alpha set/unset on image obj in gl engine.

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

14 years agoborder_scale ... possible++
raster [Sun, 21 Feb 2010 06:21:15 +0000 (06:21 +0000)]
border_scale ... possible++

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

14 years agostderr for that output! one day it will go - but for now, it stays.
raster [Sat, 20 Feb 2010 05:36:45 +0000 (05:36 +0000)]
stderr for that output! one day it will go - but for now, it stays.

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

14 years agoand merge some delcaration lines for compactness
raster [Sat, 20 Feb 2010 04:49:03 +0000 (04:49 +0000)]
and merge some delcaration lines for compactness

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

14 years agosimplify shaders to have fewer tmp vars. in case of dumb shader compilers.
raster [Sat, 20 Feb 2010 04:37:22 +0000 (04:37 +0000)]
simplify shaders to have fewer tmp vars. in case of dumb shader compilers.

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

14 years agocheck OpenGL version:
caro [Fri, 19 Feb 2010 14:33:49 +0000 (14:33 +0000)]
check OpenGL version:

 * OpenGL ES : 2.0
 * OpenGL desktop : >= 1.4

If OpenGL ES 3.* is out, this code must be fixed

If there are problems with the minimal version on desktop,
we will have to increase the minimal version.

Question: should we check GLSL version on desktop ?

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

14 years agodisable error gets - minor impact to keep getting errors - but stil an impact
raster [Thu, 18 Feb 2010 08:54:24 +0000 (08:54 +0000)]
disable error gets - minor impact to keep getting errors - but stil an impact
if we dont need to know what they are.

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

14 years agoand fix some over-zealous optimising.
raster [Thu, 18 Feb 2010 08:51:00 +0000 (08:51 +0000)]
and fix some over-zealous optimising.

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

14 years agomore shaders... for more speeeeeeds!
raster [Thu, 18 Feb 2010 08:36:07 +0000 (08:36 +0000)]
more shaders... for more speeeeeeds!

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

14 years agodont need these with shaders.
raster [Thu, 18 Feb 2010 07:21:17 +0000 (07:21 +0000)]
dont need these with shaders.

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

14 years agolots more shaders!
raster [Thu, 18 Feb 2010 07:10:28 +0000 (07:10 +0000)]
lots more shaders!

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

14 years agodo not access NULL image data for native surfaces.
barbieri [Thu, 18 Feb 2010 02:51:27 +0000 (02:51 +0000)]
do not access NULL image data for native surfaces.

This fixes another segv that happens when using composite manager.

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

14 years ago * evas: Sync DirectFB engine with last Evas engine API.
cedric [Wed, 17 Feb 2010 17:24:27 +0000 (17:24 +0000)]
* evas: Sync DirectFB engine with last Evas engine API.

Note: More test are needed, but basically, you have map running with DirectFB. Enjoy !

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

14 years ago * evas: Fix SDL map usage (raster edje map test is working :-) ).
cedric [Wed, 17 Feb 2010 15:22:58 +0000 (15:22 +0000)]
* evas: Fix SDL map usage (raster edje map test is working :-) ).

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

14 years agofix small potnential bug in map rendering.
raster [Wed, 17 Feb 2010 08:05:19 +0000 (08:05 +0000)]
fix small potnential bug in map rendering.

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

14 years agodone need egl errors there.
raster [Wed, 17 Feb 2010 07:34:22 +0000 (07:34 +0000)]
done need egl errors there.

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

14 years agoget ansio ext + max val.
raster [Wed, 17 Feb 2010 07:26:44 +0000 (07:26 +0000)]
get ansio ext + max val.

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

14 years agofix err output.
raster [Wed, 17 Feb 2010 06:27:22 +0000 (06:27 +0000)]
fix err output.

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

14 years agofix maps with alpha.. sorry about that!
raster [Wed, 17 Feb 2010 04:48:53 +0000 (04:48 +0000)]
fix maps with alpha.. sorry about that!

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

14 years agooops fix erro check.
raster [Wed, 17 Feb 2010 04:30:58 +0000 (04:30 +0000)]
oops fix erro check.

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

14 years agolots of gl error catching.. if gl errors happen.
raster [Wed, 17 Feb 2010 04:21:59 +0000 (04:21 +0000)]
lots of gl error catching.. if gl errors happen.
 it's a #defined macro so it can be removed.

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

14 years agobe less pedantic on fglrx.
raster [Wed, 17 Feb 2010 02:11:47 +0000 (02:11 +0000)]
be less pedantic on fglrx.

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

14 years agotypedefs in events, makes life easier for bindings and pointer references.
barbieri [Tue, 16 Feb 2010 15:37:53 +0000 (15:37 +0000)]
typedefs in events, makes life easier for bindings and pointer references.

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

14 years agoAPI break: proper Canvas events callback.
barbieri [Tue, 16 Feb 2010 12:59:37 +0000 (12:59 +0000)]
API break: proper Canvas events callback.

Canvas was (ab)using the same callback signature as Objects, so you
always got a confusing NULL parameter.

Just clean it up to be Evas_Object_Event_Cb and Evas_Event_Cb, each
with its own signature.

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

14 years agochange gl engine api a little - fixed in ecore-evas and expedite. expose
raster [Mon, 15 Feb 2010 05:05:05 +0000 (05:05 +0000)]
change gl engine api a little - fixed in ecore-evas and expedite. expose
indirect option in ecore-evas with a new opt param for gl engines - will add
more opts over time.

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

14 years agoadd checks for vendor etc. too
raster [Mon, 15 Feb 2010 04:12:50 +0000 (04:12 +0000)]
add checks for vendor etc. too

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

14 years agoand be paranoid if context createion fials - try again with other direct
raster [Sun, 14 Feb 2010 15:15:28 +0000 (15:15 +0000)]
and be paranoid if context createion fials - try again with other direct
options

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

14 years agoadd indirect engine option - and do glsym for glxcreatepixmap and friends.
raster [Sun, 14 Feb 2010 15:12:39 +0000 (15:12 +0000)]
add indirect engine option - and do glsym for glxcreatepixmap and friends.

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

14 years agoevas: help bindings.
barbieri [Sat, 13 Feb 2010 15:52:51 +0000 (15:52 +0000)]
evas: help bindings.

 * EVAS_CALLBACK_LAST as sentinel to detect number of events changed.

 * Evas_Event_Cb typedef.

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