framework/uifw/evas.git
13 years agoEvas tests: Added textblock line_coord_set tests.
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

13 years agoEvas textblock: Fixed a bug in line_coord_set with y<0.
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

13 years agoEvas tests: Added a bit of line geometry tests.
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

13 years agoEvas tests: Added more textblock cursor tests.
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

13 years agoEvas textblock: Fixed a bug in cursor_char_coord_set with coords < 0.
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

13 years agoEvas tests: Added a missing fail_if to a textblock test.
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

13 years agoEvas tests: Added textblock tests, including ones to verify my last fixes.
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

13 years agoEvas textblock: Fixed a bug with scaling items.
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

13 years agoEvas tests: Make sure default bidi direction of empty texts is correct.
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

13 years agoEvas: Stopped using the typo enum EVAS_BIDI_DIRECTION_NATURAL.
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

13 years agoEvas tests: Added more bidi, script and other tests to text object.
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

13 years agoEvas: Moved font functions from object_text.c to font_dir.c
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

13 years agoEvas tests: Added last_up_to_pos tests to text object.
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

13 years ago[E-devel] [Patch] evas_gl_shader patch for get_program_binary extension
hermet [Wed, 13 Jul 2011 00:56:12 +0000 (00:56 +0000)]
[E-devel] [Patch] evas_gl_shader patch for get_program_binary extension
from gl77.lee@samsung.com

Dear all,

I attached a patch of evas_gl_shader.

I've removed a comment which is creating dummy shader when using GL_OES_get_program_binary extension.
Mr. Haegeun Park who is in charge of GPU driver fixed get_program_binary bug in the SGX driver.
There's no need to create dummy shaders any longer.

And I've added link status checking code to validate the binary object.

Please review this patch.

Thanks.

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

13 years ago[evas] Filling more gaps of image object docs.
glima [Tue, 12 Jul 2011 17:30:14 +0000 (17:30 +0000)]
[evas] Filling more gaps of image object docs.

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

13 years ago[evas] Text objects example tweaks.
glima [Tue, 12 Jul 2011 17:29:39 +0000 (17:29 +0000)]
[evas] Text objects example tweaks.

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

13 years agoEvas tests: Added text tests, including ones to verify my last fixes.
tasn [Tue, 12 Jul 2011 15:04:13 +0000 (15:04 +0000)]
Evas tests: Added text tests, including ones to verify my last fixes.

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

13 years agoEvas text: Fixed a bug with char_coords_get searching at the wrong x.
tasn [Tue, 12 Jul 2011 15:04:10 +0000 (15:04 +0000)]
Evas text: Fixed a bug with char_coords_get searching at the wrong x.

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

13 years agoEvas text: Fixed a bug in evas_object_text_char_pos_get - wrong X returned.
tasn [Tue, 12 Jul 2011 15:04:07 +0000 (15:04 +0000)]
Evas text: Fixed a bug in evas_object_text_char_pos_get - wrong X returned.

 Happens when using multiple scripts in the same text object.

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

13 years agoEvas text: Fixed mistake in comment.
tasn [Tue, 12 Jul 2011 15:04:03 +0000 (15:04 +0000)]
Evas text: Fixed mistake in comment.

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

13 years agoEvas tests: Added various text object tests.
tasn [Tue, 12 Jul 2011 11:40:28 +0000 (11:40 +0000)]
Evas tests: Added various text object tests.

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

13 years agoEvas bidi: Fixed typo DIRECTION_NATURAL -> DIRECTION_NEUTRAL.
tasn [Tue, 12 Jul 2011 11:40:25 +0000 (11:40 +0000)]
Evas bidi: Fixed typo DIRECTION_NATURAL -> DIRECTION_NEUTRAL.

Kept the old one just for not breaking ABI/API.
To all of you that are fast on the trigger, I set it to the same value,
so it doesn't matter that I inserted it at the start.

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

13 years agoEvas tests: Added textblock replacement char tests.
tasn [Tue, 12 Jul 2011 11:40:22 +0000 (11:40 +0000)]
Evas tests: Added textblock replacement char tests.

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

13 years agoEvas tests: Also test EVAS_TEXTBLOCK_CURSOR_BEFORE cursor mode.
tasn [Tue, 12 Jul 2011 09:12:20 +0000 (09:12 +0000)]
Evas tests: Also test EVAS_TEXTBLOCK_CURSOR_BEFORE cursor mode.

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

13 years agoEvas tests: Added hinting change coverage to textblock.
tasn [Tue, 12 Jul 2011 09:04:10 +0000 (09:04 +0000)]
Evas tests: Added hinting change coverage to textblock.

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

13 years agoEvas tests: Added various text wrapping + ellipsis tests.
tasn [Tue, 12 Jul 2011 09:04:07 +0000 (09:04 +0000)]
Evas tests: Added various text wrapping + ellipsis tests.

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

13 years agoEvas tests: More textblock style padding tests.
tasn [Tue, 12 Jul 2011 09:04:04 +0000 (09:04 +0000)]
Evas tests: More textblock style padding tests.

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

13 years agoEvas tests: Add more style tests to verify bug fixed in previous commit.
tasn [Mon, 11 Jul 2011 16:39:48 +0000 (16:39 +0000)]
Evas tests: Add more style tests to verify bug fixed in previous commit.

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

13 years agoEvas textblock: Fixed style padding calculation.
tasn [Mon, 11 Jul 2011 16:39:45 +0000 (16:39 +0000)]
Evas textblock: Fixed style padding calculation.

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

13 years agoEvas tests: Added a test to verify the last bug is fixed.
tasn [Mon, 11 Jul 2011 15:56:51 +0000 (15:56 +0000)]
Evas tests: Added a test to verify the last bug is fixed.

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

13 years agoEvas textblock: Fixed an issue with escaped-html-like chars.
tasn [Mon, 11 Jul 2011 15:56:47 +0000 (15:56 +0000)]
Evas textblock: Fixed an issue with escaped-html-like chars.

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

13 years agoEvas tests: More textblock tests.
tasn [Mon, 11 Jul 2011 15:27:53 +0000 (15:27 +0000)]
Evas tests: More textblock tests.

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

13 years agoEvas tests: Added tests for evas_textblock_cursor_range_geometry_get.
tasn [Mon, 11 Jul 2011 15:19:33 +0000 (15:19 +0000)]
Evas tests: Added tests for evas_textblock_cursor_range_geometry_get.

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

13 years agoEvas: Move the HAVE_TESTS define to the m4 macro.
tasn [Mon, 11 Jul 2011 14:39:53 +0000 (14:39 +0000)]
Evas: Move the HAVE_TESTS define to the m4 macro.

Thanks to vtorri for the spanking.

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

13 years agoEvas: Added HAVE_TESTS to config.h
tasn [Mon, 11 Jul 2011 14:08:13 +0000 (14:08 +0000)]
Evas: Added HAVE_TESTS to config.h

This is set to 1 if tests are enabled.

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

13 years agoEvas tests: Added a test for evas_textblock_node_format_list_get.
tasn [Mon, 11 Jul 2011 13:55:53 +0000 (13:55 +0000)]
Evas tests: Added a test for evas_textblock_node_format_list_get.

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

13 years agoEvas tests: Added tests to evas_textblock_node_format_remove_pair.
tasn [Mon, 11 Jul 2011 13:55:48 +0000 (13:55 +0000)]
Evas tests: Added tests to evas_textblock_node_format_remove_pair.

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

13 years agoEvas tests: Add another textblock test.
tasn [Mon, 11 Jul 2011 13:39:46 +0000 (13:39 +0000)]
Evas tests: Add another textblock test.

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

13 years agoEvas tests: Improved textblock tests.
tasn [Mon, 11 Jul 2011 12:30:18 +0000 (12:30 +0000)]
Evas tests: Improved textblock tests.

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

13 years agoEvas textblock: Removed useless function.
tasn [Mon, 11 Jul 2011 12:30:15 +0000 (12:30 +0000)]
Evas textblock: Removed useless function.

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

13 years agoEvas tests: Added various text and textblock tests.
tasn [Mon, 11 Jul 2011 12:30:09 +0000 (12:30 +0000)]
Evas tests: Added various text and textblock tests.

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

13 years agoEvas tests: Added more textblock tests, including one to verify my last fix.
tasn [Mon, 11 Jul 2011 11:20:45 +0000 (11:20 +0000)]
Evas tests: Added more textblock tests, including one to verify my last fix.

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

13 years agoEvas textblock: Fixed an issue with string_escaped_get.
tasn [Mon, 11 Jul 2011 11:20:42 +0000 (11:20 +0000)]
Evas textblock: Fixed an issue with string_escaped_get.

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

13 years agoEvas textblock: Fixed an error in docs.
tasn [Mon, 11 Jul 2011 11:20:37 +0000 (11:20 +0000)]
Evas textblock: Fixed an error in docs.

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

13 years agoEvas tests: Added more textblock tests, including one to verify my last fix.
tasn [Mon, 11 Jul 2011 08:56:19 +0000 (08:56 +0000)]
Evas tests: Added more textblock tests, including one to verify my last fix.

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

13 years agoEvas textblock: Fixed evas_textblock_cursor_format_prev.
tasn [Mon, 11 Jul 2011 08:56:17 +0000 (08:56 +0000)]
Evas textblock: Fixed evas_textblock_cursor_format_prev.

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

13 years agoEvas textblock: Deprecated evas_textblock_cursor_set_at_format.
tasn [Mon, 11 Jul 2011 08:56:13 +0000 (08:56 +0000)]
Evas textblock: Deprecated evas_textblock_cursor_set_at_format.

This was a duplicate of evas_textblock_cursor_at_format_set.
The only difference is the name, and this one doesn't conform to the naming
conventions.

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

13 years agoEvas textblock: Fixed a confusing parameter name.
tasn [Mon, 11 Jul 2011 08:56:10 +0000 (08:56 +0000)]
Evas textblock: Fixed a confusing parameter name.

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

13 years agoEvas tests: Added more textblock tests, including a test for the last fix.
tasn [Mon, 11 Jul 2011 07:23:18 +0000 (07:23 +0000)]
Evas tests: Added more textblock tests, including a test for the last fix.

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

13 years agoEvas textblock: Hopefully eliminate all issues with uninit cursors.
tasn [Mon, 11 Jul 2011 07:23:12 +0000 (07:23 +0000)]
Evas textblock: Hopefully eliminate all issues with uninit cursors.

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

13 years agoevas/evas_engine - patched by Seung-Soo Woo.
hermet [Mon, 11 Jul 2011 06:29:20 +0000 (06:29 +0000)]
evas/evas_engine - patched by Seung-Soo Woo.

Dear all,

There is a below issue.

Problem : Evas gl engine call eglWaitNative() and eglWaitGL() before/after eglSwapBuffers().
The sync APIs are not call only in case of SGX_DDK.
Resolution : It is necessary to check MALI string too.

So, I fixed it.
Please find enclosed file.

Thanks.

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

13 years agoevas: fix _evas_jpeg_membuf_src_skip bug
mike_m [Mon, 11 Jul 2011 02:29:16 +0000 (02:29 +0000)]
evas: fix _evas_jpeg_membuf_src_skip bug

If file was corrupted , the size value of app frame is bigger than real file
size.

For example, if somebody change file using editor, the file start with (FF
D8 FF E0 FF DB ..).

But real file size can be small than (FF DB).

In that case, _evas_jpeg_membuf_src_skip set src->pub.bytes_in_buffer to
negative value, it make crash later.

Signed-off-by: Jiyoun Park <jy0703.park@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@61222 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

13 years agoEvas tests: Added a bunch of text object tests.
tasn [Sun, 10 Jul 2011 14:58:37 +0000 (14:58 +0000)]
Evas tests: Added a bunch of text object tests.

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

13 years agoEvas: Updated .gitignore.
tasn [Sun, 10 Jul 2011 14:23:50 +0000 (14:23 +0000)]
Evas: Updated .gitignore.

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

13 years agoEvas tests: Added a basic evas_objet_text test.
tasn [Sun, 10 Jul 2011 14:23:47 +0000 (14:23 +0000)]
Evas tests: Added a basic evas_objet_text test.

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

13 years agoEvas tests: Added some more textblock tests.
tasn [Sun, 10 Jul 2011 14:23:43 +0000 (14:23 +0000)]
Evas tests: Added some more textblock tests.

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

13 years agoEvas tests: Added a lot more textblock tests.
tasn [Sun, 10 Jul 2011 13:22:45 +0000 (13:22 +0000)]
Evas tests: Added a lot more textblock tests.

Some verify the fixes I just committed, some are just general tests.

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

13 years agoEvas textblock: Fixed evas_textblock_cursor_eol_get.
tasn [Sun, 10 Jul 2011 13:22:42 +0000 (13:22 +0000)]
Evas textblock: Fixed evas_textblock_cursor_eol_get.

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

13 years agoEvas textblock: Fixed cursor_paragraph_text_length_get.
tasn [Sun, 10 Jul 2011 13:22:38 +0000 (13:22 +0000)]
Evas textblock: Fixed cursor_paragraph_text_length_get.

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

13 years agoEvas textblock: Fixed a bug in _paragraph_char_last with the last par.
tasn [Sun, 10 Jul 2011 13:22:33 +0000 (13:22 +0000)]
Evas textblock: Fixed a bug in _paragraph_char_last with the last par.

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

13 years agoEvas tests: Added a test to verify the last issue I fixed.
tasn [Sun, 10 Jul 2011 12:18:52 +0000 (12:18 +0000)]
Evas tests: Added a test to verify the last issue I fixed.

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

13 years agoEvas textblock: Fixed returned position of "clean" cursors.
tasn [Sun, 10 Jul 2011 12:18:48 +0000 (12:18 +0000)]
Evas textblock: Fixed returned position of "clean" cursors.

Issue reported by Shilpa.

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

13 years agoEvas tests: Added textblock tests.
tasn [Sun, 10 Jul 2011 12:18:45 +0000 (12:18 +0000)]
Evas tests: Added textblock tests.

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

13 years agoEvas textblock: textblock_cursor_get's return should not be const.
tasn [Sun, 10 Jul 2011 12:18:42 +0000 (12:18 +0000)]
Evas textblock: textblock_cursor_get's return should not be const.

This does not break API as it's more permissive and behavior doesn't change.

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

13 years agoEvas: Fix building xcb backend as static.
devilhorns [Sat, 9 Jul 2011 21:12:43 +0000 (21:12 +0000)]
Evas: Fix building xcb backend as static.

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

13 years agoEvas: Remove 'double =' signs from configure --help output.
devilhorns [Sat, 9 Jul 2011 20:34:32 +0000 (20:34 +0000)]
Evas: Remove 'double =' signs from configure --help output.

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

13 years agodon't build ecore-evas when statically building software-x11
sachiel [Sat, 9 Jul 2011 18:34:13 +0000 (18:34 +0000)]
don't build ecore-evas when statically building software-x11

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

13 years agoEvas: Add ability to detect if opengl is built w/ xlib or xcb backend.
devilhorns [Sat, 9 Jul 2011 14:26:46 +0000 (14:26 +0000)]
Evas: Add ability to detect if opengl is built w/ xlib or xcb backend.

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

13 years agoEvas: Remove dependency on xcb-aux and add code to find the visual
devilhorns [Sat, 9 Jul 2011 13:48:39 +0000 (13:48 +0000)]
Evas: Remove dependency on xcb-aux and add code to find the visual
based on id, as we were only using one function from there.

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

13 years agoFollow portability advice from Master vtorri.
sachiel [Sat, 9 Jul 2011 03:04:13 +0000 (03:04 +0000)]
Follow portability advice from Master vtorri.

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

13 years agoAdd unit tests + coverage support to evas, for Tasn.
caro [Sat, 9 Jul 2011 02:59:24 +0000 (02:59 +0000)]
Add unit tests + coverage support to evas, for Tasn.
unit tests : make check
coverage   : make coverage

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

13 years agofix maintainer-clean rule
caro [Sat, 9 Jul 2011 02:57:27 +0000 (02:57 +0000)]
fix maintainer-clean rule

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

13 years agoFix building gl_xlib as a static module
sachiel [Sat, 9 Jul 2011 01:47:01 +0000 (01:47 +0000)]
Fix building gl_xlib as a static module

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

13 years agoDon't try to build examples if dependencies are not met.
sachiel [Sat, 9 Jul 2011 01:20:18 +0000 (01:20 +0000)]
Don't try to build examples if dependencies are not met.

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

13 years ago[evas] Documenting/exemplifying the following:
glima [Fri, 8 Jul 2011 16:54:00 +0000 (16:54 +0000)]
[evas] Documenting/exemplifying the following:
 - evas_object_smart_callback_add
 - evas_object_smart_callback_call
 - evas_object_smart_callback_del
 - evas_object_smart_callback_description_find
 - evas_object_smart_callbacks_descriptions_get
 - evas_object_smart_callbacks_descriptions_set

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

13 years agoevas Evas.h/Evas_GL.h: Removed trailing whitespaces.
seoz [Fri, 8 Jul 2011 12:15:25 +0000 (12:15 +0000)]
evas Evas.h/Evas_GL.h: Removed trailing whitespaces.

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

13 years agoEvas: Commit new XCB engine code for Evas.
devilhorns [Fri, 8 Jul 2011 00:21:17 +0000 (00:21 +0000)]
Evas: Commit new XCB engine code for Evas.

NB: XCB Engine is currently disabled by default as it's not considered
'complete' yet and is of little use to users/devs at the moment
without the needed ecore_x & E changes.

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

13 years agoEvas: Fix building of gl engine w/ new autofoo stuffs.
devilhorns [Fri, 8 Jul 2011 00:19:06 +0000 (00:19 +0000)]
Evas: Fix building of gl engine w/ new autofoo stuffs.

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

13 years agoEvas: Fix up the check_engine macros for xcb engine & xlib changes.
devilhorns [Fri, 8 Jul 2011 00:18:22 +0000 (00:18 +0000)]
Evas: Fix up the check_engine macros for xcb engine & xlib changes.

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

13 years agoEvas: Fixup autofoo for compiling new xcb engine.
devilhorns [Fri, 8 Jul 2011 00:17:52 +0000 (00:17 +0000)]
Evas: Fixup autofoo for compiling new xcb engine.

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

13 years agoEvas: Add myself to authors.
devilhorns [Fri, 8 Jul 2011 00:16:47 +0000 (00:16 +0000)]
Evas: Add myself to authors.

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

13 years ago[evas] More love to image object's documentation group.
glima [Thu, 7 Jul 2011 19:35:17 +0000 (19:35 +0000)]
[evas] More love to image object's documentation group.
More diagrams also in.

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

13 years agoevas: update ChangeLog.
cedric [Thu, 7 Jul 2011 15:25:27 +0000 (15:25 +0000)]
evas: update ChangeLog.

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

13 years agoevas: prevent infinite insertion of object during recalc stage.
cedric [Thu, 7 Jul 2011 15:24:16 +0000 (15:24 +0000)]
evas: prevent infinite insertion of object during recalc stage.

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

13 years agoEvas events: Added evas_event_refeed_event.
tasn [Thu, 7 Jul 2011 13:59:50 +0000 (13:59 +0000)]
Evas events: Added evas_event_refeed_event.

Patch by Aharon Hillel.

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

13 years ago[evas] Just explaining more the main top function blocks the
glima [Wed, 6 Jul 2011 19:41:31 +0000 (19:41 +0000)]
[evas] Just explaining more the main top function blocks the
 main doc. page points to.
The rest is just a proof read check on the main section.

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

13 years ago[evas] Documenting/exemplifying the following:
glima [Wed, 6 Jul 2011 18:46:58 +0000 (18:46 +0000)]
[evas] Documenting/exemplifying the following:
 - evas_object_smart_type_check
 - evas_object_smart_type_check_ptr
 - evas_object_static_clip_get
 - evas_object_static_clip_set
 - evas_smart_class_get
 - evas_smart_class_new
 - evas_smart_data_get
 - evas_smart_free
 - evas_smart_objects_calculate

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

13 years ago[evas] typos
glima [Wed, 6 Jul 2011 13:53:19 +0000 (13:53 +0000)]
[evas] typos

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

13 years ago[evas] Documenting/exemplifying the following:
glima [Wed, 6 Jul 2011 13:52:47 +0000 (13:52 +0000)]
[evas] Documenting/exemplifying the following:
 - evas_object_smart_member_add
 - evas_object_smart_member_del
 - evas_object_smart_members_get
 - evas_object_smart_move_children_relative
 - evas_object_smart_need_recalculate_get
 - evas_object_smart_need_recalculate_set
 - evas_object_smart_parent_get
 - evas_object_smart_smart_get

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

13 years agoFix bug in in mouse grabs while frozen events are in place.
raster [Wed, 6 Jul 2011 08:43:18 +0000 (08:43 +0000)]
Fix bug in in mouse grabs while frozen events are in place.

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

13 years agoEvas textblock: Fixed _cursor_char_coord_set with coords after the eol.
tasn [Wed, 6 Jul 2011 07:32:23 +0000 (07:32 +0000)]
Evas textblock: Fixed _cursor_char_coord_set with coords after the eol.

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

13 years agoEvas textblock: Fixed weird cursor behavior with empty textblocks.
tasn [Wed, 6 Jul 2011 07:32:14 +0000 (07:32 +0000)]
Evas textblock: Fixed weird cursor behavior with empty textblocks.

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

13 years agoevas evas_map.c: Added warning messages to some codes. It has an
seoz [Wed, 6 Jul 2011 06:24:18 +0000 (06:24 +0000)]
evas evas_map.c: Added warning messages to some codes. It has an
infinite loop issue.

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

13 years ago[evas] Documenting and exemplifying the following:
glima [Tue, 5 Jul 2011 21:10:19 +0000 (21:10 +0000)]
[evas] Documenting and exemplifying the following:
 - evas_object_smart_add
 - evas_object_smart_calculate
 - evas_object_smart_changed
 - evas_object_smart_clipped_class_get
 - evas_object_smart_clipped_clipper_get
 - evas_object_smart_clipped_smart_set
 - evas_object_smart_data_get
 - evas_object_smart_data_set

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

13 years agoMaking evas doc work with IE8 and IE9(copied from ecore).
gastal [Tue, 5 Jul 2011 16:36:50 +0000 (16:36 +0000)]
Making evas doc work with IE8 and IE9(copied from ecore).

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

13 years agoactually handle -1 pointer return from shmat correctly. man. i cant
raster [Tue, 5 Jul 2011 09:54:57 +0000 (09:54 +0000)]
actually handle -1 pointer return from shmat correctly. man. i cant
believe the code has checked for NULL all these years rather than -1!!

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

13 years agoFrom: Hyoyoung Chang <hyoyoung.chang@samsung.com>
raster [Tue, 5 Jul 2011 01:33:59 +0000 (01:33 +0000)]
From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: [E-devel] [patch] evas - add checking event type

Dear developers.

I found a bug about evas event handling.
In some situation, evas blocks some events by checking _evas_event_counter.
So I made a patch that is checking event type also event counter.

Reproduce steps:
1. make a window
2. show window before adding a elementary/genlist widget

--- codes ---
void _gl_mousedown_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
{
  printf("_gl_mousedown_cb !! \n");
}

static Eina_Bool create_main_win(App *app)
{
  app->win = elm_win_add(NULL, "genlist-win", ELM_WIN_BASIC);
  evas_object_show(app->win);          <-- position 1

  Evas_Object *genlist = elm_genlist_add(app->win);
  elm_win_resize_object_add(app->win, genlist);
  evas_object_event_callback_add(genlist, EVAS_CALLBACK_MOUSE_DOWN, _gl_mousedown_cb, NULL);
  evas_object_show(genlist);

  evas_object_resize(app->win, 320, 240);
//evas_object_show(app->win);          <-- position 2

  return EINA_TRUE;
}
--- codes ---

In common use case, apps don't show main window at position 1.
However to reproduce, it can be at position 1. Then, focus is at just on main window.
In that situation, if a user clicks a genlist, its event is dropped by evas.
Because in mouse down callback, it give focus to genlist.

Then two events is made. First is mouse down, second is focus handling.
In event callback, evas processes mouse down after focus handling.
But evas found that mouse event is retarded event than focus handling.
So it ignores it.

This patch is introduce event handling type checking to
evas_object_event_callback_call.

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

13 years ago[evas] cedric, stop influencing me to break builds.
glima [Mon, 4 Jul 2011 20:37:16 +0000 (20:37 +0000)]
[evas] cedric, stop influencing me to break builds.

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

13 years ago[evas] Documenting and exemplifying the following:
glima [Mon, 4 Jul 2011 16:23:12 +0000 (16:23 +0000)]
[evas] Documenting and exemplifying the following:
 - evas_object_text_add
 - evas_object_text_font_get
 - evas_object_text_font_set
 - evas_object_text_font_source_get
 - evas_object_text_font_source_set
 - evas_object_text_glow2_color_get
 - evas_object_text_glow2_color_set
 - evas_object_text_glow_color_get
 - evas_object_text_glow_color_set
 - evas_object_text_outline_color_get
 - evas_object_text_outline_color_set
 - evas_object_text_shadow_color_get
 - evas_object_text_shadow_color_set
 - evas_object_text_style_get
 - evas_object_text_style_set
 - evas_object_text_text_get
 - evas_object_text_text_set

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

13 years ago[evas] Allowing one to build examples by hand.
glima [Mon, 4 Jul 2011 16:23:00 +0000 (16:23 +0000)]
[evas] Allowing one to build examples by hand.

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