profile/ivi/evas.git
14 years agoEvas: textblock - made _format_fill faster.
tasn [Thu, 12 Aug 2010 09:35:53 +0000 (09:35 +0000)]
Evas: textblock - made _format_fill faster.

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

14 years agoEvas: textblock - Made _format_param_parse sane and cleaner and fixed compilation...
tasn [Thu, 12 Aug 2010 09:31:43 +0000 (09:31 +0000)]
Evas: textblock - Made _format_param_parse sane and cleaner and fixed compilation warnings about unused functions.

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

14 years agoEvas: fixed textblock compiler warnings.
tasn [Thu, 12 Aug 2010 07:02:30 +0000 (07:02 +0000)]
Evas: fixed textblock compiler warnings.

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

14 years agomore glue/infra. glue evas api to engine together. gl engine gets stubs.
raster [Thu, 12 Aug 2010 06:11:13 +0000 (06:11 +0000)]
more glue/infra. glue evas api to engine together. gl engine gets stubs.

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

14 years agoworking on new gl engine feature. inactive right now.
raster [Thu, 12 Aug 2010 06:02:15 +0000 (06:02 +0000)]
working on new gl engine feature. inactive right now.

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

14 years agoi->0
raster [Wed, 11 Aug 2010 23:12:03 +0000 (23:12 +0000)]
i->0

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

14 years agoEvas: textblock - fixed arabic shaping and fixed an issue with persistant paragraph...
tasn [Wed, 11 Aug 2010 13:03:24 +0000 (13:03 +0000)]
Evas: textblock - fixed arabic shaping and fixed an issue with persistant paragraph direction (regarding RTL).

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

14 years agoEvas: Improved evas_textblock_cursor_range_text_get to return markup text instead...
tasn [Wed, 11 Aug 2010 12:29:20 +0000 (12:29 +0000)]
Evas: Improved evas_textblock_cursor_range_text_get to return markup text instead of plain text.

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

14 years agoEvas: Textblock - Sanitized format init and shutdown.
tasn [Wed, 11 Aug 2010 11:20:10 +0000 (11:20 +0000)]
Evas: Textblock - Sanitized format init and shutdown.

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

14 years agoEvas: Cursor updates is now done in one function and it's updated correctly everywhere.
tasn [Wed, 11 Aug 2010 10:27:44 +0000 (10:27 +0000)]
Evas: Cursor updates is now done in one function and it's updated correctly everywhere.

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

14 years agoEvas: fix range text get in textblock.
tasn [Wed, 11 Aug 2010 08:33:22 +0000 (08:33 +0000)]
Evas: fix range text get in textblock.

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

14 years agoEvas: Added align=auto format to textblock.
tasn [Wed, 11 Aug 2010 07:46:37 +0000 (07:46 +0000)]
Evas: Added align=auto format to textblock.
This is the default. This lets you make textblock (or parts affected by this tag) auto align according to the natural paragraph direction.

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

14 years agoEvas: Added auto lines alignment to textblock. RTL lines will automatically align...
tasn [Wed, 11 Aug 2010 07:23:48 +0000 (07:23 +0000)]
Evas: Added auto lines alignment to textblock. RTL lines will automatically align to the right and LTR lines to the left.
This is not done per line, but per paragraph so a line break will not force recalculation of auto-alignment, only a PS.

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

14 years agoChoose a style for comment
lucas [Tue, 10 Aug 2010 19:12:07 +0000 (19:12 +0000)]
Choose a style for comment

Be nice with simpler regex

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

14 years agoEvas: Updated Evas_BiDi docs.
tasn [Tue, 10 Aug 2010 15:12:05 +0000 (15:12 +0000)]
Evas: Updated Evas_BiDi docs.

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

14 years agoEvas: Update documentation of evas_object_textblock.
tasn [Tue, 10 Aug 2010 14:36:48 +0000 (14:36 +0000)]
Evas: Update documentation of evas_object_textblock.

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

14 years agoEvas: Fixed a bug when erasing the last paragraph of a textblock.
tasn [Tue, 10 Aug 2010 08:34:47 +0000 (08:34 +0000)]
Evas: Fixed a bug when erasing the last paragraph of a textblock.

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

14 years agoevas: Fixed compilation warnings in xrender_x11 engine.
tasn [Tue, 10 Aug 2010 08:17:06 +0000 (08:17 +0000)]
evas: Fixed compilation warnings in xrender_x11 engine.

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

14 years agoevas: Fixed compilation warnings in software_16 engine.
tasn [Tue, 10 Aug 2010 07:40:09 +0000 (07:40 +0000)]
evas: Fixed compilation warnings in software_16 engine.

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

14 years agoEvas: Fixed the compilation warning with sw8 engine. This is not just to beautify...
tasn [Tue, 10 Aug 2010 07:36:23 +0000 (07:36 +0000)]
Evas: Fixed the compilation warning with sw8 engine. This is not just to beautify the compilation output (which is a good enough cause on it's own behalf), right shift with negative values is not defined in the standard which means everything can happen.

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

14 years ago1. slightly optimise a get opaque call. (some tests get a 5-10% speedup)
raster [Tue, 10 Aug 2010 02:35:07 +0000 (02:35 +0000)]
1. slightly optimise a get opaque call. (some tests get a 5-10% speedup)
2. gl - be stricter on gl-es texture formats.

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

14 years agoEvas: Fixed compilation without BiDi support.
tasn [Mon, 9 Aug 2010 16:47:35 +0000 (16:47 +0000)]
Evas: Fixed compilation without BiDi support.

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

14 years agoEvas: Redesigned the textblock object.
tasn [Mon, 9 Aug 2010 16:24:17 +0000 (16:24 +0000)]
Evas: Redesigned the textblock object.
Sorry, but full documented code will be committed tomorrow, this commit is needed for the API stabilization.
Major changes in this commit:
1. Changed the textblock node system there is now a linked list for the format nodes and a linked list for the text nodes. Format and text nodes point to one anoter in a matter that will be explained in the source file (will be committed tomorrow). Each text node now represents a paragraph and each format node points to a specific location in a text node.
2. Text/Format nodes are now two distinct data types.
3. The concept of nodes is no longer exposed in the API except for the format nodes which are only slightly exposed just to enable users of the API to cycle all the formats in order to find stuff like anchors.
4. Every node has a PS (paragraph separator) format node pointing to it's end, except for the last one which has nothing. Nodes are only broken by PS's.
5. Changed the BiDi functions to work nicely with offsets in big chunks of text.

More is explained in the email with the subject 'Evas Textblock redesign + edje_entry adjustments' that will be sent tomorrow because of technical issues.
For full documentation about this object wait for the next commit.

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

14 years agomagic numbers. :)
raster [Mon, 9 Aug 2010 08:38:28 +0000 (08:38 +0000)]
magic numbers. :)

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

14 years agouseless repeats... remove.
raster [Mon, 9 Aug 2010 07:13:58 +0000 (07:13 +0000)]
useless repeats... remove.

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

14 years agofix yuv with gl pipe stuff.
raster [Mon, 9 Aug 2010 04:59:14 +0000 (04:59 +0000)]
fix yuv with gl pipe stuff.

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

14 years agoallow for debug checking of # of flushes per frame. checking to see if
raster [Mon, 9 Aug 2010 04:54:05 +0000 (04:54 +0000)]
allow for debug checking of # of flushes per frame. checking to see if
this all works

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

14 years agomake new pipes have an env var for tuning, remove old comment code,
raster [Mon, 9 Aug 2010 04:42:15 +0000 (04:42 +0000)]
make new pipes have an env var for tuning, remove old comment code,
fix up yuv and maps to use pipes too. yes lines just flush it all - so
be it. :) who uses lines anyway?

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

14 years agosome major re-jig to get multiple render pipes in gl at once... some
raster [Mon, 9 Aug 2010 03:27:59 +0000 (03:27 +0000)]
some major re-jig to get multiple render pipes in gl at once... some
chunky speedups to be had in real-life cases by avoiding more array
flushes.

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

14 years agowell well. i broke that. gles enignew builds again.
raster [Fri, 6 Aug 2010 04:37:06 +0000 (04:37 +0000)]
well well. i broke that. gles enignew builds again.

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

14 years agoFix wrong usages of malloc, calloc and E_NEW
lucas [Thu, 5 Aug 2010 00:50:43 +0000 (00:50 +0000)]
Fix wrong usages of malloc, calloc and E_NEW

Patch by bad-alloc.cocci

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

14 years agoFORMATTING
lucas [Wed, 4 Aug 2010 16:57:32 +0000 (16:57 +0000)]
FORMATTING

* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0

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

14 years agore-jig native surface stuff to share the same gl image between
raster [Tue, 3 Aug 2010 06:09:53 +0000 (06:09 +0000)]
re-jig native surface stuff to share the same gl image between
multiple instances of the same pixmap.

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

14 years agoallow max cutout rects to be tunable. and change3 default for gl?
raster [Mon, 2 Aug 2010 06:46:38 +0000 (06:46 +0000)]
allow max cutout rects to be tunable. and change3 default for gl?

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

14 years agodont sync if vsync not set...? (good?)
raster [Mon, 2 Aug 2010 06:44:23 +0000 (06:44 +0000)]
dont sync if vsync not set...? (good?)

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

14 years agoBuffer engine is desired/needed else livethumb previews do not work.
devilhorns [Sat, 31 Jul 2010 18:50:51 +0000 (18:50 +0000)]
Buffer engine is desired/needed else livethumb previews do not work.

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

14 years agoRemove some unused variables/dead assignments.
devilhorns [Sat, 31 Jul 2010 17:06:55 +0000 (17:06 +0000)]
Remove some unused variables/dead assignments.
Fix some formatting while I am here.

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

14 years agoRemove unused variable(s).
devilhorns [Sat, 31 Jul 2010 16:57:09 +0000 (16:57 +0000)]
Remove unused variable(s).

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

14 years agoComment out dead assignment(s).
devilhorns [Sat, 31 Jul 2010 07:13:21 +0000 (07:13 +0000)]
Comment out dead assignment(s).

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

14 years agoFix evas_module clean 'bug'. NB: Not really an issue as this code
devilhorns [Sat, 31 Jul 2010 06:15:00 +0000 (06:15 +0000)]
Fix evas_module clean 'bug'. NB: Not really an issue as this code
isn't used currently, but may be in the future, so fix the minor
bugger now, just in case :)

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

14 years agoCleanup some clang reports.
devilhorns [Sat, 31 Jul 2010 06:12:39 +0000 (06:12 +0000)]
Cleanup some clang reports.

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

14 years agoAdd missing break for case.
devilhorns [Sat, 31 Jul 2010 05:48:51 +0000 (05:48 +0000)]
Add missing break for case.

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

14 years agoAdd missing break for case statement.
devilhorns [Sat, 31 Jul 2010 05:46:16 +0000 (05:46 +0000)]
Add missing break for case statement.

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

14 years ago'cache' is unused here.
devilhorns [Sat, 31 Jul 2010 05:44:15 +0000 (05:44 +0000)]
'cache' is unused here.

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

14 years agoTwo fixes: Use the correct string for the stringshare and
nash [Fri, 30 Jul 2010 04:53:30 +0000 (04:53 +0000)]
Two fixes: Use the correct string for the stringshare and
if gl is on, but metric is compiled out, just bail out of all word/metric
cache

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

14 years agoUse strnlen... NFI if this works yet.
nash [Fri, 30 Jul 2010 03:51:48 +0000 (03:51 +0000)]
Use strnlen... NFI if this works yet.

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

14 years agoFix word/metric cache to use strlen
nash [Fri, 30 Jul 2010 03:20:40 +0000 (03:20 +0000)]
Fix word/metric cache to use strlen

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

14 years agoFix the compile error: Doesn't fix massive performance regression or rather
nash [Fri, 30 Jul 2010 03:04:43 +0000 (03:04 +0000)]
Fix the compile error: Doesn't fix massive performance regression or rather
obvious semantic change in the code.

ie: If you are changing code:
Read the comment on the LINE ABOVE the code you are changing.

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

14 years agoaaah yes. get the ref -1 as free will dec it.
raster [Thu, 29 Jul 2010 23:32:56 +0000 (23:32 +0000)]
aaah yes. get the ref -1 as free will dec it.

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

14 years ago * evas: remove generated file.
cedric [Thu, 29 Jul 2010 13:47:12 +0000 (13:47 +0000)]
* evas: remove generated file.

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

14 years agoneed to add null items for item format things (inserted external item
raster [Thu, 29 Jul 2010 07:42:30 +0000 (07:42 +0000)]
need to add null items for item format things (inserted external item
objects)

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

14 years agonow work?
raster [Thu, 29 Jul 2010 06:21:51 +0000 (06:21 +0000)]
now work?

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

14 years agoDocumentation for neon, word and metric caching in README.in
nash [Thu, 29 Jul 2010 03:52:31 +0000 (03:52 +0000)]
Documentation for neon, word and metric caching in README.in

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

14 years agoMinor fixes to font drawing with metric caching enabled.
nash [Thu, 29 Jul 2010 03:34:30 +0000 (03:34 +0000)]
Minor fixes to font drawing with metric caching enabled.

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

14 years agoMake evas build again (here at least).
devilhorns [Wed, 28 Jul 2010 17:57:18 +0000 (17:57 +0000)]
Make evas build again (here at least).
Added missing unicode & bidi opts to necessary places.
Fixes lots of compiler warnings.

NB - Not all engines tested. If you spot a problem wrt any specific
engine, please report it.

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

14 years agoEvas: Changing the font engine to work with Eina_Unicode instead of utf8.
tasn [Wed, 28 Jul 2010 12:00:41 +0000 (12:00 +0000)]
Evas: Changing the font engine to work with Eina_Unicode instead of utf8.
Changing textblock and text objects to work with Eina_Unicode instead of utf8 (internally, API remains intact).
Started relying on new fribidi 0.19.2 instead of the old fribidi.
A lot of fixes to the font engine.
Renaming of evas_common_font_utf8_* to evas_common_encoding_utf8_*
This relies on new Eina changes and types: Eina_Unicode, Eina_UStrbuf and Eina_UStringshare.

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

14 years agotry this one
raster [Wed, 28 Jul 2010 08:11:30 +0000 (08:11 +0000)]
try this one

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

14 years ago...but don't draw twice
nash [Wed, 28 Jul 2010 07:34:04 +0000 (07:34 +0000)]
...but don't draw twice

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

14 years agoFall through to slow path if no word and metric cache
nash [Wed, 28 Jul 2010 07:33:48 +0000 (07:33 +0000)]
Fall through to slow path if no word and metric cache

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

14 years agoDon't try and render wordcache if GL is on, and metric cache is enabled.
nash [Wed, 28 Jul 2010 07:33:23 +0000 (07:33 +0000)]
Don't try and render wordcache if GL is on, and metric cache is enabled.

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

14 years agoadd new win before deleting old.
raster [Wed, 28 Jul 2010 06:00:02 +0000 (06:00 +0000)]
add new win before deleting old.

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

14 years agoand add in the 8bpp gray stuff
raster [Wed, 28 Jul 2010 02:27:29 +0000 (02:27 +0000)]
and add in the 8bpp gray stuff

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

14 years agoFrom: Alexander Kerner <alexander.kerner@googlemail.com>
raster [Wed, 28 Jul 2010 00:16:06 +0000 (00:16 +0000)]
From: Alexander Kerner <alexander.kerner@googlemail.com>
Subject: [E-devel] 8bpp xcb evas engine

Hi all,

I've implemented the 8bpp grayscale evas engine. It is based on the 16bpp
engine. It would be nice if someone could review the code and maybe commit
into svn. The patches against evas and ecore are attached.

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

14 years agoBloody fenceposts. Draw the right stuff when rendering. neon fixes ++ ;-)
nash [Mon, 26 Jul 2010 05:37:36 +0000 (05:37 +0000)]
Bloody fenceposts.  Draw the right stuff when rendering.  neon fixes ++ ;-)

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

14 years agoUse memcmp instead of stringshare. Much faster.
nash [Mon, 26 Jul 2010 03:17:40 +0000 (03:17 +0000)]
Use memcmp instead of stringshare.  Much faster.

Everyones favourite arm benchmarks (a8 cortex)
Base                       stringshare   memcmp     Diff   Diff %
Widgets File Icons               32.48    36.78      4.3   13.24%
Widgets File Icons 2             73.65    74.93     1.28    1.74%
Widgets File Icons 3             44.87    46.89     2.02    4.50%
Widgets File Icons 4             65.66    66.45     0.79    1.20%
Text Basic                       88.67    91.21     2.54    2.86%
Text Styles                      10.71    10.95     0.24    2.24%
Text Styles Different St           8.3     8.45     0.15    1.81%
Text Change                       56.4    57.34     0.94    1.67%
Textblock Basic                  60.75     68.8     8.05   13.25%
Textblock Intl                  155.33   193.51    38.18   24.58%

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

14 years agoSome improvements to 90 degree rotated neon.
nash [Sat, 24 Jul 2010 04:52:13 +0000 (04:52 +0000)]
Some improvements to 90 degree rotated neon.

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

14 years agoBump the default buffer size. USeful for expedite ;-)
nash [Sat, 24 Jul 2010 02:38:36 +0000 (02:38 +0000)]
Bump the default buffer size.  USeful for expedite ;-)

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

14 years agoTweaks to neon text: Help with some bugs at least.
nash [Wed, 21 Jul 2010 08:09:41 +0000 (08:09 +0000)]
Tweaks to neon text: Help with some bugs at least.

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

14 years agoMinor fix: Don't render text if there is nothing to do
nash [Wed, 21 Jul 2010 06:43:47 +0000 (06:43 +0000)]
Minor fix: Don't render text if there is nothing to do

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

14 years agoGenerally speaking, dereffing uninited pointners is not so good.
nash [Wed, 21 Jul 2010 03:51:36 +0000 (03:51 +0000)]
Generally speaking, dereffing uninited pointners is not so good.

Squash one nasal daemon!

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

14 years ago * evas: make WORD/METRIC cache work with pipe rendering.
cedric [Tue, 20 Jul 2010 12:11:49 +0000 (12:11 +0000)]
* evas: make WORD/METRIC cache work with pipe rendering.

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

14 years ago * evas: fix fribidi lock.
cedric [Tue, 20 Jul 2010 12:10:40 +0000 (12:10 +0000)]
* evas: fix fribidi lock.

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

14 years ago * evas: font config access is not thread safe at all. Don't forget
cedric [Tue, 20 Jul 2010 12:09:46 +0000 (12:09 +0000)]
* evas: font config access is not thread safe at all. Don't forget
to call FTLOCK/FTUNLOCK around each FT_* call.

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

14 years ago * evas: METRIC and WORD cache require stringshare use in thread, so
cedric [Tue, 20 Jul 2010 12:07:51 +0000 (12:07 +0000)]
* evas: METRIC and WORD cache require stringshare use in thread, so
enable it.

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

14 years ago * evas: unbreak pipe rendering, that was a long break.
cedric [Tue, 20 Jul 2010 09:32:28 +0000 (09:32 +0000)]
* evas: unbreak pipe rendering, that was a long break.

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

14 years ago * evas: ignore build file.
cedric [Mon, 19 Jul 2010 10:55:07 +0000 (10:55 +0000)]
* evas: ignore build file.

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

14 years agoUse eina_stringshare_replace rather than several _del & _add calls
devilhorns [Sat, 17 Jul 2010 19:49:16 +0000 (19:49 +0000)]
Use eina_stringshare_replace rather than several _del & _add calls
(tested w/ no apparent adverse affects).

Fix some formatting.

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

14 years agoFix invalid access if using async-render
barbieri [Fri, 16 Jul 2010 22:52:04 +0000 (22:52 +0000)]
Fix invalid access if using async-render

Ouch, that was nasty! src/lib/cache/evas_cache_image.c was assuming
all Image_Entry were RGBA_Image (why?!?!?), thus doing the cast and
having mutexes and other to operate on garbage (possibly crashing due
segv). This happened to be the case with Soft16_Image used by
software_16 engines.

I'm not sure, but this may fix problems that people noticed with
async-render hanging their systems even if not explicitly enabled
during runtime.

I also found it quite strange the number of locks required by this
code! Clearly we could use macros to simplify and avoid bugs, but
maybe some atomic_inc/dec code should be used to remove half of the
mutexes in that code?

/me wonders what kinds of bug more we can expect from this code :-/

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

14 years agoFix soft16 preload by replicating Image_Entry::info.
barbieri [Fri, 16 Jul 2010 22:47:31 +0000 (22:47 +0000)]
Fix soft16 preload by replicating Image_Entry::info.

Software 16bpp variants were crashing if using preload as the
Image_Entry that was used by preload did not keep the loader and
module information, since these were only set in the
Soft16_Image::source.  Now we copy these members while the source is
live.

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

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