profile/ivi/evas.git
13 years agoBox example uses eina, so link to it
sachiel [Fri, 5 Aug 2011 16:23:34 +0000 (16:23 +0000)]
Box example uses eina, so link to it

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62143 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agomake the internal options key much shorter - faster matches.
raster [Fri, 5 Aug 2011 11:54:13 +0000 (11:54 +0000)]
make the internal options key much shorter - faster matches.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62131 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: adding blank line before images so doxygen won't mess
gastal [Thu, 4 Aug 2011 21:28:32 +0000 (21:28 +0000)]
Evas: adding blank line before images so doxygen won't mess
 up pdf layout.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62111 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[evas] Examples on box object.
glima [Thu, 4 Aug 2011 20:19:45 +0000 (20:19 +0000)]
[evas] Examples on box object.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62102 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[evas] Documentation bump on the box smart object.
glima [Thu, 4 Aug 2011 20:19:36 +0000 (20:19 +0000)]
[evas] Documentation bump on the box smart object.
Example on it comes next.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62101 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: fix typo.
cedric [Thu, 4 Aug 2011 10:03:36 +0000 (10:03 +0000)]
evas: fix typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62090 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Add const to parameter as we don't change it.
tasn [Thu, 4 Aug 2011 06:15:46 +0000 (06:15 +0000)]
Evas textblock: Add const to parameter as we don't change it.

This does not break API/ABI.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62080 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: removing author list from main page.
gastal [Wed, 3 Aug 2011 20:59:06 +0000 (20:59 +0000)]
Evas: removing author list from main page.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62069 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoKill those pesky defines from the docs, they make everything look ugly.
sachiel [Wed, 3 Aug 2011 18:08:32 +0000 (18:08 +0000)]
Kill those pesky defines from the docs, they make everything look ugly.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62063 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas Evas.h: Fixed typo.
seoz [Wed, 3 Aug 2011 06:31:53 +0000 (06:31 +0000)]
evas Evas.h: Fixed typo.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62041 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed range_text_get with TEXT_PLAIN.
tasn [Tue, 2 Aug 2011 16:28:37 +0000 (16:28 +0000)]
Evas textblock: Fixed range_text_get with TEXT_PLAIN.

Until now, it only supported MARKUP, now it also supports plain.
Haven't tested it much, but it seems to be working. It can help a lot to
people who want to analyse the text, for example when implementing a spell
checker, or "search", as now the text maps exactly like the cursors map.
Still have to decide if that's the wanted API and set it in stone, or not
promise this and expose a different API for these kind of tasks.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@62011 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added intro to formats to docs.
tasn [Tue, 2 Aug 2011 13:22:35 +0000 (13:22 +0000)]
Evas textblock: Added intro to formats to docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61996 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed mistake in docs.
tasn [Tue, 2 Aug 2011 12:30:25 +0000 (12:30 +0000)]
Evas textblock: Fixed mistake in docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61994 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed format_append/prepend.
tasn [Tue, 2 Aug 2011 12:17:09 +0000 (12:17 +0000)]
Evas textblock: Fixed format_append/prepend.

It should only treat format passed as a tag if it was passed with <>.
Otherwise, it should be treated as a regular format.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61993 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Renamed newline_mode_set/get -> legacy_newline_set/get.
tasn [Tue, 2 Aug 2011 12:17:01 +0000 (12:17 +0000)]
Evas textblock: Renamed newline_mode_set/get -> legacy_newline_set/get.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61992 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix typo in Frame_Queuing check for xcb.
devilhorns [Tue, 2 Aug 2011 12:15:33 +0000 (12:15 +0000)]
Evas: Fix typo in Frame_Queuing check for xcb.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61991 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agothat's it - remove autom4te.cache dirs again... - keep having to many
raster [Tue, 2 Aug 2011 04:13:33 +0000 (04:13 +0000)]
that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61974 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: wipe out cache in the right order.
cedric [Mon, 1 Aug 2011 14:56:26 +0000 (14:56 +0000)]
evas: wipe out cache in the right order.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61956 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: removed _FcPattern decleration.
tasn [Mon, 1 Aug 2011 14:49:40 +0000 (14:49 +0000)]
Evas font: removed _FcPattern decleration.

No idea who put it there, but it definitely doesn't belong here.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61954 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Use the set language with liblinebreak if known.
tasn [Mon, 1 Aug 2011 10:45:42 +0000 (10:45 +0000)]
Evas textblock: Use the set language with liblinebreak if known.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61945 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug with <i> identified as <item>.
tasn [Mon, 1 Aug 2011 09:11:46 +0000 (09:11 +0000)]
Evas textblock: Fixed a bug with <i> identified as <item>.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61944 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Renamed FONT_REND_ITALIC/BOLD -> FONT_REND_SLANT/WEIGHT.
tasn [Mon, 1 Aug 2011 09:11:42 +0000 (09:11 +0000)]
Evas font: Renamed FONT_REND_ITALIC/BOLD -> FONT_REND_SLANT/WEIGHT.

This change is needed for future support of multiple level of runtime
weight creation.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61943 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added "lang" to markup to set the language.
tasn [Mon, 1 Aug 2011 08:21:15 +0000 (08:21 +0000)]
Evas textblock: Added "lang" to markup to set the language.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61942 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: added support for ':lang=' and fixed a possibly mem leak.
tasn [Mon, 1 Aug 2011 08:21:12 +0000 (08:21 +0000)]
Evas font: added support for ':lang=' and fixed a possibly mem leak.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61941 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock+font: Fixed the font fallbacks support.
tasn [Mon, 1 Aug 2011 08:21:09 +0000 (08:21 +0000)]
Evas textblock+font: Fixed the font fallbacks support.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61940 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed cond jump depends on uninit value.
tasn [Mon, 1 Aug 2011 08:21:05 +0000 (08:21 +0000)]
Evas textblock: Fixed cond jump depends on uninit value.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61939 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed if to be else if in format handling.
tasn [Mon, 1 Aug 2011 08:21:02 +0000 (08:21 +0000)]
Evas textblock: Fixed if to be else if in format handling.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61938 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added font_width to markup.
tasn [Mon, 1 Aug 2011 08:20:59 +0000 (08:20 +0000)]
Evas textblock: Added font_width to markup.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font+textblock: Stopped using FcNameParse, parse ourselves.
tasn [Mon, 1 Aug 2011 08:20:52 +0000 (08:20 +0000)]
Evas font+textblock: Stopped using FcNameParse, parse ourselves.

FcNameParse is pretty bad, not only that it's pretty bad, it doesn't
work well in some cases. Also this makes our lives a lot easier since
we want to allow overriding style/weight/width and etc from markup.
We now parse the "font" markup ourselves, populating a font description
structure that we created, and then override values in it as needed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61936 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agothanks jiyoun... for finding this... silly me... spank spank me.
raster [Mon, 1 Aug 2011 07:34:05 +0000 (07:34 +0000)]
thanks jiyoun... for finding this... silly me... spank spank me.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61935 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a memory leak.
tasn [Sun, 31 Jul 2011 08:09:02 +0000 (08:09 +0000)]
Evas textblock: Fixed a memory leak.

Thanks to discomfitor for the report.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61925 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoSOMEONE.... changed the evas jpeg loader to use a membuf src... like
raster [Sat, 30 Jul 2011 01:13:29 +0000 (01:13 +0000)]
SOMEONE.... changed the evas jpeg loader to use a membuf src... like
eina_file.... and that SOMEONE didnt check to see if libjpeg always
calls the term func... lkike when decoding headers... when it DOESNT.
force the term func to be called whenever destroying the compress
anyway (and if its already done it'll savely just return and not free
anything)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61914 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: evas_object_table documentation.
gastal [Fri, 29 Jul 2011 17:08:25 +0000 (17:08 +0000)]
Evas: evas_object_table documentation.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61906 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Remove rectangle free's (no, it's not a leak) ;)
devilhorns [Fri, 29 Jul 2011 14:41:18 +0000 (14:41 +0000)]
Evas: Remove rectangle free's (no, it's not a leak) ;)
Add missing Asyn Push code (tho it's disabled anyway).
Use shmget like xlib did and create with 0777 permissions.
Add a Sync call if try_shm == 2.
Add checks for frame_queuing & low libext version safety.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61895 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas_object_smart - just removed no useful MAGIC_CHECK
hermet [Fri, 29 Jul 2011 11:44:03 +0000 (11:44 +0000)]
evas_object_smart - just removed no useful MAGIC_CHECK

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61889 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_object_smart - trivial changes
hermet [Fri, 29 Jul 2011 06:49:25 +0000 (06:49 +0000)]
evas/evas_object_smart - trivial changes

1/0 -> EINA_TRUE/EINA_FALSE

identation

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61884 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_smart - 1/0w -> EINA_TRUE/FALSE
hermet [Fri, 29 Jul 2011 06:25:13 +0000 (06:25 +0000)]
evas/evas_smart - 1/0w -> EINA_TRUE/FALSE

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61881 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Changed 'heavy' weight to 'black'.
tasn [Thu, 28 Jul 2011 14:32:40 +0000 (14:32 +0000)]
Evas textblock: Changed 'heavy' weight to 'black'.

Apparently that's what FC likes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61859 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas font: Enabled run-time slanting for 'Oblique'.
tasn [Thu, 28 Jul 2011 14:01:35 +0000 (14:01 +0000)]
Evas font: Enabled run-time slanting for 'Oblique'.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61858 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug with font_weight and font_style.
tasn [Thu, 28 Jul 2011 12:59:36 +0000 (12:59 +0000)]
Evas textblock: Fixed a bug with font_weight and font_style.

Forgot to add a space when I add a new style when there wasn't one before.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61855 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Added font_weight and font_style formats.
tasn [Thu, 28 Jul 2011 12:43:41 +0000 (12:43 +0000)]
Evas textblock: Added font_weight and font_style formats.

These allow overriding the font style defined using "font=':style=Bold'".

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61854 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Updated changelog.
tasn [Thu, 28 Jul 2011 09:18:59 +0000 (09:18 +0000)]
Evas: Updated changelog.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61844 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Format tags now support quoting values.
tasn [Thu, 28 Jul 2011 09:18:55 +0000 (09:18 +0000)]
Evas textblock: Format tags now support quoting values.

For example: "<font='Sans:style=Bold Oblique'>bla</font>".

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61843 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Removed useless alloca.
tasn [Thu, 28 Jul 2011 09:18:50 +0000 (09:18 +0000)]
Evas textblock: Removed useless alloca.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61842 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix cleaning up tmpf (new feature in 1.1 anyway) for memfile load in
raster [Thu, 28 Jul 2011 05:28:32 +0000 (05:28 +0000)]
fix cleaning up tmpf (new feature in 1.1 anyway) for memfile load in
some other situations like setting image data/colorspace etc.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61836 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug with format invalidation.
tasn [Wed, 27 Jul 2011 11:27:25 +0000 (11:27 +0000)]
Evas textblock: Fixed a bug with format invalidation.

With the following example text: "aa<b>a <i>bbb</i> ccc", adding a </b>
at the end wouldn't cause an invalidation to happen as expected.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61805 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fix format_append's format parsing.
tasn [Wed, 27 Jul 2011 08:27:04 +0000 (08:27 +0000)]
Evas textblock: Fix format_append's format parsing.

It took the pre-translated (tags) format which caused some things not to
work correctly when using tags.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61798 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Updated docs.
tasn [Tue, 26 Jul 2011 12:48:54 +0000 (12:48 +0000)]
Evas textblock: Updated docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61759 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added numerous tests for latest bug fixes.
tasn [Tue, 26 Jul 2011 11:47:58 +0000 (11:47 +0000)]
Evas tests: Added numerous tests for latest bug fixes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61753 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug with item visibility check.
tasn [Tue, 26 Jul 2011 11:47:55 +0000 (11:47 +0000)]
Evas textblock: Fixed a bug with item visibility check.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61752 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed invalidate_text_nodes to work with <b><i></b></i>
tasn [Tue, 26 Jul 2011 11:47:51 +0000 (11:47 +0000)]
Evas textblock: Fixed invalidate_text_nodes to work with <b><i></b></i>

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61751 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed remove_pair and remove_matching.
tasn [Tue, 26 Jul 2011 11:47:48 +0000 (11:47 +0000)]
Evas textblock: Fixed remove_pair and remove_matching.

They now work with <b><i></b></i> mixes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61750 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Fixed textblock tests (formats).
tasn [Tue, 26 Jul 2011 11:47:44 +0000 (11:47 +0000)]
Evas tests: Fixed textblock tests (formats).

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61749 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Use orig_format instead of _style_match_replace.
tasn [Tue, 26 Jul 2011 11:47:41 +0000 (11:47 +0000)]
Evas textblock: Use orig_format instead of _style_match_replace.

It's more correct as you won't get unwanted translations you would have
in some cases, or even worse, breaking markup get when you have synonymous
tags.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61748 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed _format_append to parse tags + incomplete stuff.
tasn [Tue, 26 Jul 2011 11:47:19 +0000 (11:47 +0000)]
Evas textblock: Fixed _format_append to parse tags + incomplete stuff.

Added the first step to allow <b> </b> exact matching when handling formats.
I.e making "<b>a<i>b</b>c</i>d" behave like expected.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61746 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofixes a weird bug exposed somewhere by giant tooltips resulting in the following...
discomfitor [Tue, 26 Jul 2011 10:03:07 +0000 (10:03 +0000)]
fixes a weird bug exposed somewhere by giant tooltips resulting in the following crash:

#0  0xb7e92786 in evas_cache_image_flush (cache=0x0) at evas_cache_image.c:1353
#1  0xb7e9192e in evas_cache_image_drop (im=0xb6aa4d38) at evas_cache_image.c:913
#2  0xb7ee3d8b in eng_image_free (data=0xb6a020c0, image=0xb6aa4d38) at evas_engine.c:383
#3  0xb7e4b8e6 in evas_object_image_free (obj=0xb7517178) at evas_object_image.c:2478
#4  0xb7e4f403 in evas_object_free (obj=0xb7517178, clean_layer=0) at evas_object_main.c:45
#5  0xb7e41c95 in evas_layer_free_objects (lay=0xb6a5d8b0) at evas_layer.c:80
#6  0xb7e42656 in evas_free (e=0xb6a98cd8) at evas_main.c:204
#7  0xb7f27ad3 in _ecore_evas_free (ee=0xb6ab18e8) at ecore_evas.c:2822
#8  0xb7f24161 in ecore_evas_free (ee=0xb6ab18e8) at ecore_evas.c:839
#9  0xb7df2f7f in _deferred_ecore_evas_free (data=0xb6ab18e8) at elm_win.c:477
#10 0x4b0fd858 in _ecore_job_event_handler (data=0x0, type=14, ev=0xb6a99c58) at ecore_job.c:131
#11 0x4b0f907e in _ecore_event_call () at ecore_events.c:693
#12 0x4b0ff93e in _ecore_main_loop_iterate_internal (once_only=0) at ecore_main.c:1750
#13 0x4b0fe195 in ecore_main_loop_begin () at ecore_main.c:848

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61736 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: ecore_evas_buffer_new(bla, *very large number*) would crash on memset
acidx [Mon, 25 Jul 2011 22:42:54 +0000 (22:42 +0000)]
evas: ecore_evas_buffer_new(bla, *very large number*) would crash on memset

Instead of zeroing out each line of the buffer, zero out the whole buffer "at once".

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61714 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[evas] Fixing typos on diagram.
glima [Mon, 25 Jul 2011 18:22:28 +0000 (18:22 +0000)]
[evas] Fixing typos on diagram.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61701 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix 'variable undeclared': I assume we wanted the xr rectangle
devilhorns [Mon, 25 Jul 2011 10:37:43 +0000 (10:37 +0000)]
Evas: Fix 'variable undeclared': I assume we wanted the xr rectangle
there ? ;)

NB: Fixes building w/ xcb.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61685 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix latent onebuf code (was never used before)
raster [Mon, 25 Jul 2011 10:30:20 +0000 (10:30 +0000)]
fix latent onebuf code (was never used before)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61684 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas: Fix autofoo wrt building Opengl w/ xcb.
devilhorns [Mon, 25 Jul 2011 09:30:12 +0000 (09:30 +0000)]
Evas: Fix autofoo wrt building Opengl w/ xcb.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61677 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added a TODO test.
tasn [Mon, 25 Jul 2011 08:37:44 +0000 (08:37 +0000)]
Evas tests: Added a TODO test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61672 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Adedd a textblock test for the last bug fix.
tasn [Sun, 24 Jul 2011 08:50:46 +0000 (08:50 +0000)]
Evas tests: Adedd a textblock test for the last bug fix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61639 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed updating of formats position on char_delete.
tasn [Sun, 24 Jul 2011 08:50:42 +0000 (08:50 +0000)]
Evas textblock: Fixed updating of formats position on char_delete.

Format offsets got wrong when merging paragraphs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61638 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoGroup docs so textblock, line and polygon at least show their functions
sachiel [Fri, 22 Jul 2011 14:01:56 +0000 (14:01 +0000)]
Group docs so textblock, line and polygon at least show their functions

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61590 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_object_image.c - reverted to previous
hermet [Fri, 22 Jul 2011 06:08:04 +0000 (06:08 +0000)]
evas/evas_object_image.c - reverted to previous

Sorry. Need to look more because of the pageflip.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61579 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_object_image - modified to keep the uv consistency with normal evas_object.
hermet [Fri, 22 Jul 2011 05:24:16 +0000 (05:24 +0000)]
evas/evas_object_image - modified to keep the uv consistency with normal evas_object.

Although the uv range of normal object is be localized to the it's geometry,

but the uv range of the image object is be localized it's image size but not geometry size.

In that case, user should find out the objects type and set the uv value differently between normal and image

why they do that?

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61577 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Enabled the textblock relsize item native size test.
tasn [Thu, 21 Jul 2011 14:04:55 +0000 (14:04 +0000)]
Evas tests: Enabled the textblock relsize item native size test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61561 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed native size calculation with relative items.
tasn [Thu, 21 Jul 2011 14:04:52 +0000 (14:04 +0000)]
Evas textblock: Fixed native size calculation with relative items.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61560 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed some more line height calculations.
tasn [Thu, 21 Jul 2011 14:04:48 +0000 (14:04 +0000)]
Evas textblock: Fixed some more line height calculations.

Some issues were related to SIZE_REL items and some were not.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61559 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added textblock test for the last bugfix.
tasn [Thu, 21 Jul 2011 13:00:28 +0000 (13:00 +0000)]
Evas tests: Added textblock test for the last bugfix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61558 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed relative items size calculation.
tasn [Thu, 21 Jul 2011 12:53:39 +0000 (12:53 +0000)]
Evas textblock: Fixed relative items size calculation.

Now they are calculated according to real line height, and not just line
height before this point. Furthermore, this also fixes some issues with
wrapping not being correct.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61557 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: add software YUY2 colorspace converter.
cedric [Thu, 21 Jul 2011 10:36:05 +0000 (10:36 +0000)]
evas: add software YUY2 colorspace converter.

NOTE: will shortly learn how to write the corresponding shader and add it soon.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61548 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[evas] More love to a given example's text.
glima [Wed, 20 Jul 2011 17:58:56 +0000 (17:58 +0000)]
[evas] More love to a given example's text.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61536 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added a textblock test to verify the two last fixes.
tasn [Wed, 20 Jul 2011 15:45:25 +0000 (15:45 +0000)]
Evas tests: Added a textblock test to verify the two last fixes.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61531 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed removing of format pairs in a rare case (range).
tasn [Wed, 20 Jul 2011 15:45:21 +0000 (15:45 +0000)]
Evas textblock: Fixed removing of format pairs in a rare case (range).

Until now, removing the <ps> when <b><ps></b> would have left the
<b></b> intact instead of removing them when using a range delete.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61530 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed removing of format pairs in a rare case.
tasn [Wed, 20 Jul 2011 15:45:12 +0000 (15:45 +0000)]
Evas textblock: Fixed removing of format pairs in a rare case.

Until now, removing the <ps> when <b><ps></b> would have left the <b></b>
intact instead of removing them.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61529 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added a textblock test to verify last fix.
tasn [Wed, 20 Jul 2011 14:13:36 +0000 (14:13 +0000)]
Evas tests: Added a textblock test to verify last fix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61528 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed &nbsp; handling.
tasn [Wed, 20 Jul 2011 14:13:33 +0000 (14:13 +0000)]
Evas textblock: Fixed &nbsp; handling.

It now translates to a real nbsp, and not just a space.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61527 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Adedd more textblock visible formats tests.
tasn [Wed, 20 Jul 2011 12:37:08 +0000 (12:37 +0000)]
Evas tests: Adedd more textblock visible formats tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61524 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: fix bug when array was reallocated during walk.
cedric [Wed, 20 Jul 2011 11:22:01 +0000 (11:22 +0000)]
evas: fix bug when array was reallocated during walk.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61523 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: forgotten header.
cedric [Wed, 20 Jul 2011 09:23:47 +0000 (09:23 +0000)]
evas: forgotten header.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61522 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: forgotten revert.
cedric [Wed, 20 Jul 2011 09:20:53 +0000 (09:20 +0000)]
evas: forgotten revert.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61521 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas: better patch for preventing infinite loop.
cedric [Wed, 20 Jul 2011 09:14:41 +0000 (09:14 +0000)]
evas: better patch for preventing infinite loop.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61520 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added a test to verify last textblock bugfix.
tasn [Tue, 19 Jul 2011 15:14:40 +0000 (15:14 +0000)]
Evas tests: Added a test to verify last textblock bugfix.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61505 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug when the last paragraph is empty.
tasn [Tue, 19 Jul 2011 14:32:54 +0000 (14:32 +0000)]
Evas textblock: Fixed a bug when the last paragraph is empty.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61504 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added another textblock format removal test.
tasn [Tue, 19 Jul 2011 13:43:20 +0000 (13:43 +0000)]
Evas tests: Added another textblock format removal test.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61503 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added some format removal tests.
tasn [Tue, 19 Jul 2011 13:19:18 +0000 (13:19 +0000)]
Evas tests: Added some format removal tests.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61502 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agofix pack_set of evas table (fix to added feature already in changelog)
raster [Tue, 19 Jul 2011 11:24:34 +0000 (11:24 +0000)]
fix pack_set of evas table (fix to added feature already in changelog)

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61501 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoAdd missing images
sachiel [Mon, 18 Jul 2011 22:39:13 +0000 (22:39 +0000)]
Add missing images

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61490 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years ago[evas] Fixing oopsies on text/image object docs.
glima [Mon, 18 Jul 2011 21:45:14 +0000 (21:45 +0000)]
[evas] Fixing oopsies on text/image object docs.
Text needed an explanation and citation to the .c example and large
images explaining borders were prettyfied on html docs.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61488 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoImages and more Map stuff
sachiel [Mon, 18 Jul 2011 21:06:56 +0000 (21:06 +0000)]
Images and more Map stuff

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61486 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas text: Fixed text_props_index_find and added props_cluster_next/prev.
tasn [Mon, 18 Jul 2011 07:41:27 +0000 (07:41 +0000)]
Evas text: Fixed text_props_index_find and added props_cluster_next/prev.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61469 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas text: Made text_props_index_find faster.
tasn [Mon, 18 Jul 2011 07:41:21 +0000 (07:41 +0000)]
Evas text: Made text_props_index_find faster.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61468 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoevas/evas_engine - patched by Seung-Soo Woo <om101.woo@samsung.com>
hermet [Mon, 18 Jul 2011 05:32:06 +0000 (05:32 +0000)]
evas/evas_engine - patched by Seung-Soo Woo <om101.woo@samsung.com>

Dear all,

eng_image_stride_get() of gl backend get fault stride value.
In case of using dynamic image, it get from dyn.w*4.
But, dyn.stride was already got from secsym_eglGetImageAttribSEC() in _pool_tex_dynamic_new().
dyn.stride can be changed according to DDK.
So, the stride needs to get from dyn.stride.

Please find enclosed file.

Thanks.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61463 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Adjusted textblock_item_text struct fields.
tasn [Sun, 17 Jul 2011 13:42:55 +0000 (13:42 +0000)]
Evas textblock: Adjusted textblock_item_text struct fields.

Removed the unused per-item baseline and changed inset to Evas_Coord.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61443 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed inline valign.
tasn [Sun, 17 Jul 2011 13:42:51 +0000 (13:42 +0000)]
Evas textblock: Fixed inline valign.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61442 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Enabled mixed wrap tests now that it's fixed.
tasn [Sun, 17 Jul 2011 11:15:23 +0000 (11:15 +0000)]
Evas tests: Enabled mixed wrap tests now that it's fixed.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61441 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed a bug in mixed wrapping mode.
tasn [Sun, 17 Jul 2011 11:15:18 +0000 (11:15 +0000)]
Evas textblock: Fixed a bug in mixed wrapping mode.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61440 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas textblock: Fixed linegap.
tasn [Sun, 17 Jul 2011 10:48:05 +0000 (10:48 +0000)]
Evas textblock: Fixed linegap.

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@61438 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33