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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61925
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61914
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
gastal [Fri, 29 Jul 2011 17:08:25 +0000 (17:08 +0000)]
Evas: evas_object_table documentation.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61906
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61895
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Fri, 29 Jul 2011 11:44:03 +0000 (11:44 +0000)]
evas_object_smart - just removed no useful MAGIC_CHECK
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61889
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61884
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
hermet [Fri, 29 Jul 2011 06:25:13 +0000 (06:25 +0000)]
evas/evas_smart - 1/0w -> EINA_TRUE/FALSE
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61881
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61859
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Jul 2011 14:01:35 +0000 (14:01 +0000)]
Evas font: Enabled run-time slanting for 'Oblique'.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61858
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61855
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61854
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Jul 2011 09:18:59 +0000 (09:18 +0000)]
Evas: Updated changelog.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61844
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61843
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 28 Jul 2011 09:18:50 +0000 (09:18 +0000)]
Evas textblock: Removed useless alloca.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61842
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61836
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61805
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61798
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Jul 2011 12:48:54 +0000 (12:48 +0000)]
Evas textblock: Updated docs.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61759
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Jul 2011 11:47:58 +0000 (11:47 +0000)]
Evas tests: Added numerous tests for latest bug fixes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61753
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Jul 2011 11:47:55 +0000 (11:47 +0000)]
Evas textblock: Fixed a bug with item visibility check.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61752
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61751
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61750
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 26 Jul 2011 11:47:44 +0000 (11:47 +0000)]
Evas tests: Fixed textblock tests (formats).
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61749
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61748
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61746
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61736
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61714
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Mon, 25 Jul 2011 18:22:28 +0000 (18:22 +0000)]
[evas] Fixing typos on diagram.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61701
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61685
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
raster [Mon, 25 Jul 2011 10:30:20 +0000 (10:30 +0000)]
fix latent onebuf code (was never used before)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61684
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
devilhorns [Mon, 25 Jul 2011 09:30:12 +0000 (09:30 +0000)]
Evas: Fix autofoo wrt building Opengl w/ xcb.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61677
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 25 Jul 2011 08:37:44 +0000 (08:37 +0000)]
Evas tests: Added a TODO test.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61672
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61639
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61638
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61590
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61579
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61577
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61561
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 21 Jul 2011 14:04:52 +0000 (14:04 +0000)]
Evas textblock: Fixed native size calculation with relative items.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61560
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61559
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 21 Jul 2011 13:00:28 +0000 (13:00 +0000)]
Evas tests: Added textblock test for the last bugfix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61558
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61557
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61548
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Wed, 20 Jul 2011 17:58:56 +0000 (17:58 +0000)]
[evas] More love to a given example's text.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61536
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61531
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61530
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61529
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61528
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Jul 2011 14:13:33 +0000 (14:13 +0000)]
Evas textblock: Fixed handling.
It now translates to a real nbsp, and not just a space.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61527
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 20 Jul 2011 12:37:08 +0000 (12:37 +0000)]
Evas tests: Adedd more textblock visible formats tests.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61524
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 20 Jul 2011 11:22:01 +0000 (11:22 +0000)]
evas: fix bug when array was reallocated during walk.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61523
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 20 Jul 2011 09:23:47 +0000 (09:23 +0000)]
evas: forgotten header.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61522
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 20 Jul 2011 09:20:53 +0000 (09:20 +0000)]
evas: forgotten revert.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61521
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cedric [Wed, 20 Jul 2011 09:14:41 +0000 (09:14 +0000)]
evas: better patch for preventing infinite loop.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61520
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61505
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61504
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 19 Jul 2011 13:43:20 +0000 (13:43 +0000)]
Evas tests: Added another textblock format removal test.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61503
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Tue, 19 Jul 2011 13:19:18 +0000 (13:19 +0000)]
Evas tests: Added some format removal tests.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61502
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61501
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 18 Jul 2011 22:39:13 +0000 (22:39 +0000)]
Add missing images
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61490
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61488
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
sachiel [Mon, 18 Jul 2011 21:06:56 +0000 (21:06 +0000)]
Images and more Map stuff
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61486
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61469
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Mon, 18 Jul 2011 07:41:21 +0000 (07:41 +0000)]
Evas text: Made text_props_index_find faster.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61468
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61463
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61443
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 13:42:51 +0000 (13:42 +0000)]
Evas textblock: Fixed inline valign.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61442
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
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: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61441
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 11:15:18 +0000 (11:15 +0000)]
Evas textblock: Fixed a bug in mixed wrapping mode.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61440
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 10:48:05 +0000 (10:48 +0000)]
Evas textblock: Fixed linegap.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61438
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 10:48:01 +0000 (10:48 +0000)]
Evas tests: Added a textblock test that emulates edje's min size calc.
Currently mixed wrapping is disabled, because something is wrong there,
but word and char work. This also tests the bugs fixed in previous commits.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61437
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 10:47:58 +0000 (10:47 +0000)]
Evas textblock: Fixed a bug in RELSIZE items size calculation.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61436
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 10:47:54 +0000 (10:47 +0000)]
Evas text: Added _text_props_cluster_next.
Started using it in tb.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61435
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Sun, 17 Jul 2011 10:47:39 +0000 (10:47 +0000)]
Evas textblock: Fixed an issue with item formats.
They weren't pushed to the format stack which in turn meant </item> popped
unrelated formats causing a mess in the stack.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61434
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
lucas [Fri, 15 Jul 2011 14:37:49 +0000 (14:37 +0000)]
evas: fix common misppellings
Mispellings detected by codespell.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61408
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Thu, 14 Jul 2011 15:11:36 +0000 (15:11 +0000)]
[evas] More diagrams on docs.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61374
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
glima [Thu, 14 Jul 2011 15:11:20 +0000 (15:11 +0000)]
[evas] English corrections.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61373
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 14:38:41 +0000 (14:38 +0000)]
Evas tests: Fixed a textblock cursor test.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61372
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 14:25:46 +0000 (14:25 +0000)]
Evas textblock: Removed useless code. We should never get there.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61370
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 14:25:42 +0000 (14:25 +0000)]
Evas tests: Added more cursor tests, this time with bidi.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61369
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 14:25:39 +0000 (14:25 +0000)]
Evas textblock: Fixed cursor_coord_set with rtl/bidi in some cases.
Fix it when pressing beyond line boundaries.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61368
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 12:47:17 +0000 (12:47 +0000)]
Evas textblock: Added a small fix to valign.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61366
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 12:31:24 +0000 (12:31 +0000)]
Evas textblock: Fixed an issue with in-line valign.
Thanks to SeoZ for the report.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61365
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 08:00:27 +0000 (08:00 +0000)]
Evas tests: Added more textblock cursor tests.
Added a set of tests to verify my last fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61363
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 08:00:23 +0000 (08:00 +0000)]
Evas textblock: Fixed issue with char/line_coord_set with valign. #2.
After adding some tests, I found out that my previous fix was not enough.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61362
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 07:36:49 +0000 (07:36 +0000)]
Evas tests: Added more textblock cursor tests.
Also added tests to verify my previous fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61361
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Thu, 14 Jul 2011 07:36:45 +0000 (07:36 +0000)]
Evas textblock: Fixed issue with char/line_coord_set with valign.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61360
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 15:16:41 +0000 (15:16 +0000)]
Evas tests: Added textblock line_coord_set tests.
These also verifies the bug fix from my previous commit.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61345
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 15:16:38 +0000 (15:16 +0000)]
Evas textblock: Fixed a bug in line_coord_set with y<0.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61344
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 15:16:34 +0000 (15:16 +0000)]
Evas tests: Added a bit of line geometry tests.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61343
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 14:35:15 +0000 (14:35 +0000)]
Evas tests: Added more textblock cursor tests.
Also added tests to verify my previous fix.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61342
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 14:35:12 +0000 (14:35 +0000)]
Evas textblock: Fixed a bug in cursor_char_coord_set with coords < 0.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61341
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 13:56:40 +0000 (13:56 +0000)]
Evas tests: Added a missing fail_if to a textblock test.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61337
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 12:49:33 +0000 (12:49 +0000)]
Evas tests: Added textblock tests, including ones to verify my last fixes.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61335
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 12:49:29 +0000 (12:49 +0000)]
Evas textblock: Fixed a bug with scaling items.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61334
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 11:36:34 +0000 (11:36 +0000)]
Evas tests: Make sure default bidi direction of empty texts is correct.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61333
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 11:36:31 +0000 (11:36 +0000)]
Evas: Stopped using the typo enum EVAS_BIDI_DIRECTION_NATURAL.
s/EVAS_BIDI_DIRECTION_NATURAL/EVAS_BIDI_DIRECTION_NEUTRAL/
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61332
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 11:36:26 +0000 (11:36 +0000)]
Evas tests: Added more bidi, script and other tests to text object.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61331
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 08:54:49 +0000 (08:54 +0000)]
Evas: Moved font functions from object_text.c to font_dir.c
Not the best place, but at least better than putting them in object_text.c
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61327
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
tasn [Wed, 13 Jul 2011 08:54:17 +0000 (08:54 +0000)]
Evas tests: Added last_up_to_pos tests to text object.
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61326
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33